create_configuration_bundle¶
Operation¶
create_configuration_bundle
async
¶
create_configuration_bundle(input: CreateConfigurationBundleInput, plugins: list[Plugin] | None = None) -> CreateConfigurationBundleOutput
Creates a new configuration bundle resource. A configuration bundle stores versioned component configurations for agent evaluation workflows.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
CreateConfigurationBundleInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
CreateConfigurationBundleOutput
|
An instance of |
Input¶
CreateConfigurationBundleInput
dataclass
¶
Dataclass for CreateConfigurationBundleInput structure.
Attributes¶
branch_name
class-attribute
instance-attribute
¶
branch_name: str | None = None
The branch name for version tracking. Defaults to mainline if not
specified.
bundle_name
class-attribute
instance-attribute
¶
bundle_name: str | None = None
The name for the configuration bundle. Names must be unique within your account.
client_token
class-attribute
instance-attribute
¶
client_token: str | None = None
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.
commit_message
class-attribute
instance-attribute
¶
commit_message: str | None = None
A commit message describing the initial version of the configuration bundle.
components
class-attribute
instance-attribute
¶
components: dict[str, ComponentConfiguration] | None = None
A map of component identifiers to their configurations. Each component represents a configurable element within the bundle.
created_by
class-attribute
instance-attribute
¶
created_by: VersionCreatedBySource | None = None
The source that created this version, including the source name and optional ARN.
description
class-attribute
instance-attribute
¶
description: str | None = field(repr=False, default=None)
The description for the configuration bundle.
kms_key_arn
class-attribute
instance-attribute
¶
kms_key_arn: str | None = None
Optional KMS key ARN for encrypting component configurations.
tags
class-attribute
instance-attribute
¶
tags: dict[str, str] | None = None
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.
Output¶
CreateConfigurationBundleOutput
dataclass
¶
Dataclass for CreateConfigurationBundleOutput structure.
Attributes¶
bundle_arn
instance-attribute
¶
bundle_arn: str
The Amazon Resource Name (ARN) of the created configuration bundle.
bundle_id
instance-attribute
¶
bundle_id: str
The unique identifier of the created configuration bundle.
created_at
instance-attribute
¶
created_at: datetime
The timestamp when the configuration bundle was created.
version_id
instance-attribute
¶
version_id: str
The initial version identifier of the configuration bundle.