Skip to content

List Invocations

bedrockagentruntime_list_invocations R Documentation

Lists all invocations associated with a specific session

Description

Lists all invocations associated with a specific session. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.

Usage

bedrockagentruntime_list_invocations(maxResults, nextToken,
  sessionIdentifier)

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 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 to list invocations for. You can specify either the session's sessionId or its Amazon Resource Name (ARN).

Value

A list with the following syntax:

list(
  invocationSummaries = list(
    list(
      createdAt = as.POSIXct(
        "2015-01-01"
      ),
      invocationId = "string",
      sessionId = "string"
    )
  ),
  nextToken = "string"
)

Request syntax

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