update_session¶
Operation¶
update_session
async
¶
update_session(input: UpdateSessionInput, plugins: list[Plugin] | None = None) -> UpdateSessionOutput
Updates the metadata or encryption settings of a session. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
UpdateSessionInput
|
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 |
|---|---|
UpdateSessionOutput
|
An instance of |
Input¶
UpdateSessionInput
dataclass
¶
Output¶
UpdateSessionOutput
dataclass
¶
Dataclass for UpdateSessionOutput structure.
Attributes¶
created_at
instance-attribute
¶
created_at: datetime
The timestamp for when the session was created.
last_updated_at
instance-attribute
¶
last_updated_at: datetime
The timestamp for when the session was last modified.
session_arn
instance-attribute
¶
session_arn: str
The Amazon Resource Name (ARN) of the session that was updated.
session_status
instance-attribute
¶
session_status: SessionStatus
The status of the session you updated.