Skip to content

Create Configuration Bundle

bedrockagentcorecontrol_create_configuration_bundle R Documentation

Creates a new configuration bundle resource

Description

Creates a new configuration bundle resource. A configuration bundle stores versioned component configurations for agent evaluation workflows.

Usage

bedrockagentcorecontrol_create_configuration_bundle(clientToken,
  bundleName, description, components, branchName, commitMessage,
  createdBy, tags)

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.

bundleName

[required] The name for the configuration bundle. Names must be unique within your account.

description

The description for the configuration bundle.

components

[required] A map of component identifiers to their configurations. Each component represents a configurable element within the bundle.

branchName

The branch name for version tracking. Defaults to mainline if not specified.

commitMessage

A commit message describing the initial version of the configuration bundle.

createdBy

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

tags

A map of tag keys and values to assign to the configuration bundle. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.

Value

A list with the following syntax:

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

Request syntax

svc$create_configuration_bundle(
  clientToken = "string",
  bundleName = "string",
  description = "string",
  components = list(
    list(
      configuration = list()
    )
  ),
  branchName = "string",
  commitMessage = "string",
  createdBy = list(
    name = "string",
    arn = "string"
  ),
  tags = list(
    "string"
  )
)