update_registry_record_status
async
¶
update_registry_record_status(
registry_id: RegistryIdentifier,
record_id: RecordIdentifier,
status: RegistryRecordStatus,
status_reason: str,
*,
config_overrides: Optional[AsyncBedrockAgentCoreControlClientConfig] = None,
) -> UpdateRegistryRecordStatusResponse
Updates the status of a registry record. Use this operation to approve, reject, or deprecate a registry record.
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 the status for. You can specify either the Amazon Resource Name (ARN) or the ID of the record.
-
status(RegistryRecordStatus) –The target status for the registry record.
-
status_reason(str) –The reason for the status change, such as why the record was approved or rejected.
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
13433 13434 13435 13436 13437 13438 13439 13440 13441 13442 13443 13444 13445 13446 13447 13448 13449 13450 13451 13452 13453 13454 13455 13456 13457 13458 13459 13460 13461 13462 13463 13464 13465 13466 13467 13468 13469 13470 13471 13472 13473 13474 13475 13476 13477 13478 13479 13480 13481 13482 13483 13484 13485 13486 13487 13488 13489 13490 13491 | |