Skip to content

Lists the capacity providers in your account and returns summary information for each one

Description

Lists the capacity providers in your account and returns summary information for each one. To retrieve the full configuration for a specific capacity provider, use get_capacity_provider. Results are paginated; use the nextToken parameter to retrieve additional results.

Usage

bedrockagentcorecontrol_list_capacity_providers(maxResults, nextToken)

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.

Value

A list with the following syntax:

list(
  capacityProviders = list(
    list(
      capacityProviderId = "string",
      capacityProviderArn = "string",
      name = "string",
      status = "CREATING"|"CREATE_FAILED"|"UPDATING"|"UPDATE_FAILED"|"READY"|"DELETING"|"DELETE_FAILED",
      lastUpdatedAt = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_capacity_providers(
  maxResults = 123,
  nextToken = "string"
)