update_registry_record
¶
update_registry_record(
registry_id: RegistryIdentifier,
record_id: RecordIdentifier,
*,
config_overrides: Optional[BedrockAgentCoreControlClientConfig] = None,
name: Optional[RegistryRecordName] = None,
description: Optional[UpdatedDescription] = None,
descriptor_type: Optional[DescriptorType] = None,
descriptors: Optional[UpdatedDescriptors] = None,
record_version: Optional[RegistryRecordVersion] = None,
synchronization_type: Optional[UpdatedSynchronizationType] = None,
synchronization_configuration: Optional[UpdatedSynchronizationConfiguration] = None,
trigger_synchronization: Optional[bool] = None,
) -> UpdateRegistryRecordResponse
Updates an existing registry record. This operation uses PATCH semantics, so you only need to specify the fields you want to change. The update is processed asynchronously and returns HTTP 202 Accepted.
Parameters:
-
registry_id(RegistryIdentifier) –The identifier of the registry containing the record. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.
-
record_id(RecordIdentifier) –The identifier of the registry record to update. You can specify either the Amazon Resource Name (ARN) or the ID of the record.
-
name(Optional[RegistryRecordName], default:None) –The updated name for the registry record.
-
description(Optional[UpdatedDescription], default:None) –The updated description for the registry record. To clear the description, include the
UpdatedDescriptionwrapper withoptionalValuenot specified. -
descriptor_type(Optional[DescriptorType], default:None) –The updated descriptor type for the registry record. Changing the descriptor type may require updating the
descriptorsfield to match the new type's schema requirements. -
descriptors(Optional[UpdatedDescriptors], default:None) –The updated descriptor-type-specific configuration containing the resource schema and metadata. Uses PATCH semantics where individual descriptor fields can be updated independently.
-
record_version(Optional[RegistryRecordVersion], default:None) –The version of the registry record for optimistic locking. If provided, it must match the current version of the record. The service automatically increments the version after a successful update.
-
synchronization_type(Optional[UpdatedSynchronizationType], default:None) –The updated synchronization type for the registry record.
-
synchronization_configuration(Optional[UpdatedSynchronizationConfiguration], default:None) –The updated synchronization configuration for the registry record.
-
trigger_synchronization(Optional[bool], default:None) –Whether to trigger synchronization using the stored or provided configuration. When set to
true, the service will synchronize the record metadata from the configured external source.
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
12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 12949 12950 12951 12952 12953 12954 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 12974 12975 12976 12977 12978 12979 12980 12981 12982 12983 12984 12985 12986 12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 13009 13010 13011 13012 13013 13014 13015 13016 13017 13018 13019 13020 13021 13022 13023 13024 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 13037 13038 | |