BedrockAgentCoreControl / Client / update_configuration_bundle
update_configuration_bundle¶
- BedrockAgentCoreControl.Client.update_configuration_bundle(**kwargs)¶
Updates a configuration bundle by creating a new version with the specified changes. Each update creates a new version in the version history.
See also: AWS API Documentation
Request Syntax
response = client.update_configuration_bundle( clientToken='string', bundleId='string', bundleName='string', description='string', components={ 'string': { 'configuration': {...}|[...]|123|123.4|'string'|True|None } }, parentVersionIds=[ 'string', ], branchName='string', commitMessage='string', createdBy={ 'name': 'string', 'arn': '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.
bundleId (string) –
[REQUIRED]
The unique identifier of the configuration bundle to update.
bundleName (string) – The updated name for the configuration bundle.
description (string) – The updated description for the configuration bundle.
components (dict) –
The updated component configurations. Creates a new version of 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.
parentVersionIds (list) –
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.
(string) –
branchName (string) – The branch name for this version. If not specified, inherits the parent’s branch or defaults to
mainline.commitMessage (string) – A commit message describing the changes in this version.
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).
- Return type:
dict
- Returns:
Response Syntax
{ 'bundleArn': 'string', 'bundleId': 'string', 'versionId': 'string', 'updatedAt': datetime(2015, 1, 1) }
Response Structure
(dict) –
bundleArn (string) –
The Amazon Resource Name (ARN) of the updated configuration bundle.
bundleId (string) –
The unique identifier of the updated configuration bundle.
versionId (string) –
The new version identifier created by this update.
updatedAt (datetime) –
The timestamp when the configuration bundle was updated.
Exceptions
BedrockAgentCoreControl.Client.exceptions.ValidationExceptionBedrockAgentCoreControl.Client.exceptions.AccessDeniedExceptionBedrockAgentCoreControl.Client.exceptions.ConflictExceptionBedrockAgentCoreControl.Client.exceptions.ResourceNotFoundExceptionBedrockAgentCoreControl.Client.exceptions.ThrottlingExceptionBedrockAgentCoreControl.Client.exceptions.InternalServerException