Skip to content

List Agent Versions

bedrockagent_list_agent_versions R Documentation

Lists the versions of an agent and information about each version

Description

Lists the versions of an agent and information about each version.

Usage

bedrockagent_list_agent_versions(agentId, maxResults, nextToken)

Arguments

agentId

[required] The unique identifier of the agent.

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.

Value

A list with the following syntax:

list(
  agentVersionSummaries = list(
    list(
      agentName = "string",
      agentStatus = "CREATING"|"PREPARING"|"PREPARED"|"NOT_PREPARED"|"DELETING"|"FAILED"|"VERSIONING"|"UPDATING",
      agentVersion = "string",
      createdAt = as.POSIXct(
        "2015-01-01"
      ),
      description = "string",
      guardrailConfiguration = list(
        guardrailIdentifier = "string",
        guardrailVersion = "string"
      ),
      updatedAt = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_agent_versions(
  agentId = "string",
  maxResults = 123,
  nextToken = "string"
)