Skip to content

Lists the agent runtime versions that are associated with a capacity provider

Description

Lists the agent runtime versions that are associated with a capacity provider. Use this operation to identify the runtimes you must disassociate before you can delete the capacity provider. Results are paginated; use the nextToken parameter to retrieve additional results.

Usage

bedrockagentcorecontrol_list_agent_runtime_versions_by_capacity_provider(
  capacityProviderId, maxResults, nextToken)

Arguments

  • capacityProviderId

    [required] The unique identifier of the capacity provider.

  • 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(
  agentRuntimes = list(
    list(
      agentRuntimeArn = "string",
      agentRuntimeVersion = "string",
      status = "CREATING"|"CREATE_FAILED"|"UPDATING"|"UPDATE_FAILED"|"READY"|"DELETING"|"DELETE_FAILED"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_agent_runtime_versions_by_capacity_provider(
  capacityProviderId = "string",
  maxResults = 123,
  nextToken = "string"
)