Skip to content

List Actors

bedrockagentcore_list_actors R Documentation

Lists all actors in an AgentCore Memory resource

Description

Lists all actors in an AgentCore Memory resource. We recommend using pagination to ensure that the operation returns quickly and successfully.

To use this operation, you must have the bedrock-agentcore:ListActors permission.

Usage

bedrockagentcore_list_actors(memoryId, maxResults, nextToken)

Arguments

memoryId

[required] The identifier of the AgentCore Memory resource for which to list actors.

maxResults

The maximum number of results to return in a single call. The default value is 20.

nextToken

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

Value

A list with the following syntax:

list(
  actorSummaries = list(
    list(
      actorId = "string"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_actors(
  memoryId = "string",
  maxResults = 123,
  nextToken = "string"
)