update_configuration_bundle
¶
update_configuration_bundle(
bundle_id: ConfigurationBundleId,
parent_version_ids: ConfigurationBundleVersionList,
commit_message: str,
*,
config_overrides: Optional[BedrockAgentCoreControlClientConfig] = 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/bedrock_agent_core_control.py
4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 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 | |