get_code_interpreter_session¶
Operation¶
get_code_interpreter_session
async
¶
get_code_interpreter_session(input: GetCodeInterpreterSessionInput, plugins: list[Plugin] | None = None) -> GetCodeInterpreterSessionOutput
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 GetCodeInterpreterSession:
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
GetCodeInterpreterSessionInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
GetCodeInterpreterSessionOutput
|
An instance of |
Input¶
GetCodeInterpreterSessionInput
dataclass
¶
Output¶
GetCodeInterpreterSessionOutput
dataclass
¶
Dataclass for GetCodeInterpreterSessionOutput structure.
Attributes¶
certificates
class-attribute
instance-attribute
¶
certificates: list[Certificate] | None = None
The list of certificates installed in the code interpreter session.
code_interpreter_identifier
instance-attribute
¶
code_interpreter_identifier: str
The identifier of the code interpreter.
created_at
instance-attribute
¶
created_at: datetime
The time at which the code interpreter session was created.
filesystem_configurations
class-attribute
instance-attribute
¶
filesystem_configurations: list[ToolsFileSystemConfiguration] | None = None
The file system configurations for the code interpreter session. Each entry describes an access point and its mount path.
name
class-attribute
instance-attribute
¶
name: str | None = None
The name of the code interpreter session.
response_metadata
class-attribute
instance-attribute
¶
response_metadata: ResponseMetadata = field(default=EMPTY_RESPONSE_METADATA, repr=False, compare=False)
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.