List Sessions
bedrockagentruntime_list_sessions | R Documentation |
Lists all sessions in your Amazon Web Services account¶
Description¶
Lists all sessions in your Amazon Web Services account. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.
Usage¶
bedrockagentruntime_list_sessions(maxResults, nextToken)
Arguments¶
maxResults |
The maximum number of results to return in the response. If the
total number of results is greater than this value, use the token
returned in the response in the |
nextToken |
If the total number of results is greater than the
|
Value¶
A list with the following syntax:
list(
nextToken = "string",
sessionSummaries = list(
list(
createdAt = as.POSIXct(
"2015-01-01"
),
lastUpdatedAt = as.POSIXct(
"2015-01-01"
),
sessionArn = "string",
sessionId = "string",
sessionStatus = "ACTIVE"|"EXPIRED"|"ENDED"
)
)
)
Request syntax¶
svc$list_sessions(
maxResults = 123,
nextToken = "string"
)