Skip to content

List Invocation Steps

bedrockagentruntime_list_invocation_steps R Documentation

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

invocationIdentifier

The unique identifier (in UUID format) for the invocation to list invocation steps for.

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 field when making another request to return the next batch of results.

nextToken

If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field 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 sessionId or 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"
)

Request syntax

svc$list_invocation_steps(
  invocationIdentifier = "string",
  maxResults = 123,
  nextToken = "string",
  sessionIdentifier = "string"
)