Stop Browser Session
| bedrockagentcore_stop_browser_session | R Documentation |
Terminates an active browser session in Amazon Bedrock AgentCore¶
Description¶
Terminates an active browser session in Amazon Bedrock AgentCore. This operation stops the session, releases associated resources, and makes the session unavailable for further use.
To stop a browser session, you must specify both the browser identifier
and the session ID. Once stopped, a session cannot be restarted; you
must create a new session using start_browser_session.
The following operations are related to stop_browser_session:
-
start_browser_session -
get_browser_session
Usage¶
bedrockagentcore_stop_browser_session(traceId, traceParent,
browserIdentifier, sessionId, clientToken)
Arguments¶
traceId |
The trace identifier for request tracking. |
traceParent |
The parent trace information for distributed tracing. |
browserIdentifier |
[required] The unique identifier of the browser associated with the session. |
sessionId |
[required] The unique identifier of the browser session to stop. |
clientToken |
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock AgentCore ignores the request, but does not return an error. |
Value¶
A list with the following syntax:
list(
browserIdentifier = "string",
sessionId = "string",
lastUpdatedAt = as.POSIXct(
"2015-01-01"
)
)
Request syntax¶
svc$stop_browser_session(
traceId = "string",
traceParent = "string",
browserIdentifier = "string",
sessionId = "string",
clientToken = "string"
)