create_configuration_bundle
async
¶
create_configuration_bundle(
bundle_name: ConfigurationBundleName,
components: ComponentConfigurationMap,
*,
config_overrides: Optional[AsyncBedrockAgentCoreControlClientConfig] = None,
client_token: Optional[ClientToken] = None,
description: Optional[ConfigurationBundleDescription] = None,
branch_name: Optional[BranchName] = None,
commit_message: Optional[str] = None,
created_by: Optional[VersionCreatedBySource] = None,
kms_key_arn: Optional[KmsKeyArn] = None,
tags: Optional[TagsMap] = None,
) -> CreateConfigurationBundleResponse
Creates a new configuration bundle resource. A configuration bundle stores versioned component configurations for agent evaluation workflows.
Parameters:
-
client_token(Optional[ClientToken], default: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.
-
bundle_name(ConfigurationBundleName) –The name for the configuration bundle. Names must be unique within your account.
-
description(Optional[ConfigurationBundleDescription], default:None) –The description for the configuration bundle.
-
components(ComponentConfigurationMap) –A map of component identifiers to their configurations. Each component represents a configurable element within the bundle.
-
branch_name(Optional[BranchName], default:None) –The branch name for version tracking. Defaults to
mainlineif not specified. -
commit_message(Optional[str], default:None) –A commit message describing the initial version of the configuration bundle.
-
created_by(Optional[VersionCreatedBySource], default:None) –The source that created this version, including the source name and optional ARN.
-
kms_key_arn(Optional[KmsKeyArn], default:None) –Optional KMS key ARN for encrypting component configurations.
-
tags(Optional[TagsMap], default: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.
Raises:
-
AccessDeniedException–This exception is thrown when a request is denied per access permissions
-
ConflictException–This exception is thrown when there is a conflict performing an operation
-
InternalServerException–This exception is thrown if there was an unexpected error during processing of request
-
ServiceQuotaExceededException–This exception is thrown when a request is made beyond the service quota
-
ThrottlingException–This exception is thrown when the number of requests exceeds the limit
-
ValidationException–The input fails to satisfy the constraints specified by the service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_bedrock_agentcore_control/_services/async_bedrock_agent_core_control.py
4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 | |