update_registry
¶
update_registry(
registry_id: RegistryIdentifier,
*,
config_overrides: Optional[BedrockAgentCoreControlClientConfig] = None,
name: Optional[RegistryName] = None,
description: Optional[UpdatedDescription] = None,
authorizer_configuration: Optional[UpdatedAuthorizerConfiguration] = None,
approval_configuration: Optional[UpdatedApprovalConfiguration] = None,
) -> UpdateRegistryResponse
Updates an existing registry. This operation uses PATCH semantics, so you only need to specify the fields you want to change.
Parameters:
-
registry_id(RegistryIdentifier) –The identifier of the registry to update. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.
-
name(Optional[RegistryName], default:None) –The updated name of the registry.
-
description(Optional[UpdatedDescription], default:None) –The updated description of the registry. To clear the description, include the
UpdatedDescriptionwrapper withoptionalValuenot specified. -
authorizer_configuration(Optional[UpdatedAuthorizerConfiguration], default:None) –The updated authorizer configuration for the registry. Changing the authorizer configuration can break existing consumers of the registry who are using the authorization type prior to the update.
-
approval_configuration(Optional[UpdatedApprovalConfiguration], default:None) –The updated approval configuration for registry records. The updated configuration only affects new records that move to
PENDING_APPROVALstatus after the change. Existing records already inPENDING_APPROVALstatus are not affected.
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
-
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/bedrock_agent_core_control.py
13486 13487 13488 13489 13490 13491 13492 13493 13494 13495 13496 13497 13498 13499 13500 13501 13502 13503 13504 13505 13506 13507 13508 13509 13510 13511 13512 13513 13514 13515 13516 13517 13518 13519 13520 13521 13522 13523 13524 13525 13526 13527 13528 13529 13530 13531 13532 13533 13534 13535 13536 13537 13538 13539 13540 13541 13542 13543 13544 13545 13546 13547 13548 13549 13550 13551 13552 13553 13554 13555 13556 13557 13558 13559 13560 13561 13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573 13574 13575 13576 13577 13578 13579 13580 13581 13582 | |