Lists all invocation steps associated with a session and optionally, an invocation within the session¶
Description¶
Lists all invocation steps associated with a session and optionally, an invocation within the session. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.
Usage¶
bedrockagentruntime_list_invocation_steps(invocationIdentifier,
maxResults, nextToken, sessionIdentifier)
Arguments¶
-
invocationIdentifierThe unique identifier (in UUID format) for the invocation to list invocation steps for.
-
maxResultsThe 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
nextTokenfield when making another request to return the next batch of results. -
nextTokenIf the total number of results is greater than the
maxResultsvalue provided in the request, enter the token returned in thenextTokenfield in the response in this field to return the next batch of results. -
sessionIdentifier[required] The unique identifier for the session associated with the invocation steps. You can specify either the session's
sessionIdor its Amazon Resource Name (ARN).
Value¶
A list with the following syntax:
list(
invocationStepSummaries = list(
list(
invocationId = "string",
invocationStepId = "string",
invocationStepTime = as.POSIXct(
"2015-01-01"
),
sessionId = "string"
)
),
nextToken = "string"
)