Skip to content

Lists registry records within a registry

Description

Lists registry records within a registry. You can optionally filter results using the name, status, and descriptorType parameters. When multiple filters are specified, they are combined using AND logic.

Usage

bedrockagentcorecontrol_list_registry_records(registryId, maxResults,
  nextToken, name, status, descriptorType)

Arguments

  • registryId

    [required] The identifier of the registry to list records from. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.

  • 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.

  • name

    Filter registry records by name.

  • status

    Filter registry records by their current status. Possible values include CREATING, DRAFT, APPROVED, PENDING_APPROVAL, REJECTED, DEPRECATED, UPDATING, CREATE_FAILED, and UPDATE_FAILED.

  • descriptorType

    Filter registry records by their descriptor type. Possible values are MCP, A2A, CUSTOM, and AGENT_SKILLS.

Value

A list with the following syntax:

list(
  registryRecords = list(
    list(
      registryArn = "string",
      recordArn = "string",
      recordId = "string",
      name = "string",
      description = "string",
      descriptorType = "MCP"|"A2A"|"CUSTOM"|"AGENT_SKILLS",
      recordVersion = "string",
      status = "DRAFT"|"PENDING_APPROVAL"|"APPROVED"|"REJECTED"|"DEPRECATED"|"CREATING"|"UPDATING"|"CREATE_FAILED"|"UPDATE_FAILED",
      createdAt = as.POSIXct(
        "2015-01-01"
      ),
      updatedAt = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_registry_records(
  registryId = "string",
  maxResults = 123,
  nextToken = "string",
  name = "string",
  status = "DRAFT"|"PENDING_APPROVAL"|"APPROVED"|"REJECTED"|"DEPRECATED"|"CREATING"|"UPDATING"|"CREATE_FAILED"|"UPDATE_FAILED",
  descriptorType = "MCP"|"A2A"|"CUSTOM"|"AGENT_SKILLS"
)