Get Code Interpreter Session
| bedrockagentcore_get_code_interpreter_session | R Documentation |
Retrieves detailed information about a specific code interpreter session in Amazon Bedrock AgentCore¶
Description¶
Retrieves detailed information about a specific code interpreter session in Amazon Bedrock AgentCore. This operation returns the session's configuration, current status, and metadata.
To get a code interpreter session, you must specify both the code interpreter identifier and the session ID. The response includes information about the session's timeout settings and current status.
The following operations are related to get_code_interpreter_session:
-
start_code_interpreter_session -
list_code_interpreter_sessions -
stop_code_interpreter_session
Usage¶
bedrockagentcore_get_code_interpreter_session(codeInterpreterIdentifier,
sessionId)
Arguments¶
codeInterpreterIdentifier |
[required] The unique identifier of the code interpreter associated with the session. |
sessionId |
[required] The unique identifier of the code interpreter session to retrieve. |
Value¶
A list with the following syntax:
list(
codeInterpreterIdentifier = "string",
sessionId = "string",
name = "string",
createdAt = as.POSIXct(
"2015-01-01"
),
sessionTimeoutSeconds = 123,
status = "READY"|"TERMINATED",
certificates = list(
list(
location = list(
secretsManager = list(
secretArn = "string"
)
)
)
)
)
Request syntax¶
svc$get_code_interpreter_session(
codeInterpreterIdentifier = "string",
sessionId = "string"
)