update_configuration_bundle
async
¶
update_configuration_bundle(
bundle_id: ConfigurationBundleId,
parent_version_ids: ConfigurationBundleVersionList,
commit_message: str,
*,
config_overrides: Optional[AsyncBedrockAgentCoreControlClientConfig] = None,
client_token: Optional[ClientToken] = None,
bundle_name: Optional[ConfigurationBundleName] = None,
description: Optional[ConfigurationBundleDescription] = None,
components: Optional[ComponentConfigurationMap] = None,
branch_name: Optional[BranchName] = None,
created_by: Optional[VersionCreatedBySource] = None,
kms_key_arn: Optional[KmsKeyArn] = None,
) -> UpdateConfigurationBundleResponse
Updates a configuration bundle by creating a new version with the specified changes. Each update creates a new version in the version history.
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_id(ConfigurationBundleId) –The unique identifier of the configuration bundle to update.
-
bundle_name(Optional[ConfigurationBundleName], default:None) –The updated name for the configuration bundle.
-
description(Optional[ConfigurationBundleDescription], default:None) –The updated description for the configuration bundle.
-
components(Optional[ComponentConfigurationMap], default:None) –The updated component configurations. Creates a new version of the bundle.
-
parent_version_ids(ConfigurationBundleVersionList) –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.
-
branch_name(Optional[BranchName], default:None) –The branch name for this version. If not specified, inherits the parent's branch or defaults to
mainline. -
commit_message(str) –A commit message describing the changes in this version.
-
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. If provided, components will be encrypted with this key. If the bundle already has a KMS key, this rotates to the new key.
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
-
ResourceNotFoundException–This exception is thrown when a resource referenced by the operation does not exist
-
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
4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 | |