update_registry_record
async
¶
update_registry_record(
registry_id: RegistryIdentifier,
record_id: RecordIdentifier,
*,
config_overrides: Optional[AsyncBedrockAgentCoreControlClientConfig] = 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/async_bedrock_agent_core_control.py
13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 | |