BedrockAgentCoreControl / Client / create_configuration_bundle
create_configuration_bundle¶
- BedrockAgentCoreControl.Client.create_configuration_bundle(**kwargs)¶
Creates a new configuration bundle resource. A configuration bundle stores versioned component configurations for agent evaluation workflows.
See also: AWS API Documentation
Request Syntax
response = client.create_configuration_bundle( clientToken='string', bundleName='string', description='string', components={ 'string': { 'configuration': {...}|[...]|123|123.4|'string'|True|None } }, branchName='string', commitMessage='string', createdBy={ 'name': 'string', 'arn': 'string' }, tags={ 'string': 'string' } )
- Parameters:
clientToken (string) –
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.
This field is autopopulated if not provided.
bundleName (string) –
[REQUIRED]
The name for the configuration bundle. Names must be unique within your account.
description (string) – The description for the configuration bundle.
components (dict) –
[REQUIRED]
A map of component identifiers to their configurations. Each component represents a configurable element within the bundle.
(string) –
(dict) –
The configuration for a component within a configuration bundle. The component type is inferred from the component identifier ARN.
configuration (document) – [REQUIRED]
The configuration values as a flexible JSON document.
branchName (string) – The branch name for version tracking. Defaults to
mainlineif not specified.commitMessage (string) – A commit message describing the initial version of the configuration bundle.
createdBy (dict) –
The source that created this version, including the source name and optional ARN.
name (string) – [REQUIRED]
The name of the source (for example,
user,optimization-job, orsystem).arn (string) –
The Amazon Resource Name (ARN) of the source, if applicable (for example, a user ARN or optimization job ARN).
tags (dict) –
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.
(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'bundleArn': 'string', 'bundleId': 'string', 'versionId': 'string', 'createdAt': datetime(2015, 1, 1) }
Response Structure
(dict) –
bundleArn (string) –
The Amazon Resource Name (ARN) of the created configuration bundle.
bundleId (string) –
The unique identifier of the created configuration bundle.
versionId (string) –
The initial version identifier of the configuration bundle.
createdAt (datetime) –
The timestamp when the configuration bundle was created.
Exceptions
BedrockAgentCoreControl.Client.exceptions.ServiceQuotaExceededExceptionBedrockAgentCoreControl.Client.exceptions.ValidationExceptionBedrockAgentCoreControl.Client.exceptions.AccessDeniedExceptionBedrockAgentCoreControl.Client.exceptions.ConflictExceptionBedrockAgentCoreControl.Client.exceptions.ThrottlingExceptionBedrockAgentCoreControl.Client.exceptions.InternalServerException