Skip to content

Updates a capacity provider

Description

Updates a capacity provider. Only the description can be changed. To change other configuration, such as instance types, networking, or storage, create a new capacity provider.

Usage

bedrockagentcorecontrol_update_capacity_provider(capacityProviderId,
  description, clientToken)

Arguments

  • capacityProviderId

    [required] The unique identifier of the capacity provider to update.

  • description

    The updated description of the capacity provider.

  • clientToken

    A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency.

Value

A list with the following syntax:

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

Request syntax

svc$update_capacity_provider(
  capacityProviderId = "string",
  description = list(
    optionalValue = "string"
  ),
  clientToken = "string"
)