CreateSessionRequest
¶
Source code in docs_src/capo_bedrock_agent_runtime/types/create_session_request.py
encryption_key_arn
instance-attribute
¶
encryption_key_arn: NotRequired[KmsKeyArn]
The Amazon Resource Name (ARN) of the KMS key to use to encrypt the session data. The user or role creating the session must have permission to use the key. For more information, see Amazon Bedrock session encryption.
session_metadata
instance-attribute
¶
session_metadata: NotRequired[SessionMetadataMap]
A map of key-value pairs containing attributes to be persisted across the session. For example, the user's ID, their language preference, and the type of device they are using.