Update Session
bedrockagentruntime_update_session | R Documentation |
Updates the metadata or encryption settings of a session¶
Description¶
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.
Usage¶
bedrockagentruntime_update_session(sessionIdentifier, sessionMetadata)
Arguments¶
sessionIdentifier |
[required] The unique identifier of the session to modify. You
can specify either the session's |
sessionMetadata |
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. |
Value¶
A list with the following syntax:
list(
createdAt = as.POSIXct(
"2015-01-01"
),
lastUpdatedAt = as.POSIXct(
"2015-01-01"
),
sessionArn = "string",
sessionId = "string",
sessionStatus = "ACTIVE"|"EXPIRED"|"ENDED"
)
Request syntax¶
svc$update_session(
sessionIdentifier = "string",
sessionMetadata = list(
"string"
)
)