update_registry
async
¶
update_registry(
registry_id: RegistryIdentifier,
*,
config_overrides: Optional[AsyncBedrockAgentCoreControlClientConfig] = 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/async_bedrock_agent_core_control.py
13647 13648 13649 13650 13651 13652 13653 13654 13655 13656 13657 13658 13659 13660 13661 13662 13663 13664 13665 13666 13667 13668 13669 13670 13671 13672 13673 13674 13675 13676 13677 13678 13679 13680 13681 13682 13683 13684 13685 13686 13687 13688 13689 13690 13691 13692 13693 13694 13695 13696 13697 13698 13699 13700 13701 13702 13703 13704 13705 13706 13707 13708 13709 13710 13711 13712 13713 13714 13715 13716 13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 | |