Skip to content

Updates a configuration bundle by creating a new version with the specified changes

Description

Updates a configuration bundle by creating a new version with the specified changes. Each update creates a new version in the version history.

Usage

bedrockagentcorecontrol_update_configuration_bundle(clientToken,
  bundleId, bundleName, description, components, parentVersionIds,
  branchName, commitMessage, createdBy, kmsKeyArn)

Arguments

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

  • bundleId

    [required] The unique identifier of the configuration bundle to update.

  • bundleName

    The updated name for the configuration bundle.

  • description

    The updated description for the configuration bundle.

  • components

    The updated component configurations. Creates a new version of the bundle.

  • parentVersionIds

    [required] A list of parent version identifiers for lineage tracking. Regular commits have a single parent. Merge commits have two parents: the target branch parent and the source branch parent. If the branch already exists, the first parent must be the latest version on that branch.

  • branchName

    The branch name for this version. If not specified, inherits the parent's branch or defaults to mainline.

  • commitMessage

    [required] A commit message describing the changes in this version.

  • createdBy

    The source that created this version, including the source name and optional ARN.

  • kmsKeyArn

    Optional KMS key ARN for encrypting component configurations. If provided, components will be encrypted with this key. If the bundle already has a KMS key, this rotates to the new key.

Value

A list with the following syntax:

list(
  bundleArn = "string",
  bundleId = "string",
  versionId = "string",
  updatedAt = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$update_configuration_bundle(
  clientToken = "string",
  bundleId = "string",
  bundleName = "string",
  description = "string",
  components = list(
    list(
      configuration = list()
    )
  ),
  parentVersionIds = list(
    "string"
  ),
  branchName = "string",
  commitMessage = "string",
  createdBy = list(
    name = "string",
    arn = "string"
  ),
  kmsKeyArn = "string"
)