Skip to content

Update Registry Record Status

bedrockagentcorecontrol_update_registry_record_status R Documentation

Updates the status of a registry record

Description

Updates the status of a registry record. Use this operation to approve, reject, or deprecate a registry record.

Usage

bedrockagentcorecontrol_update_registry_record_status(registryId,
  recordId, status, statusReason)

Arguments

registryId

[required] The identifier of the registry containing the record. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.

recordId

[required] 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

[required] The target status for the registry record.

statusReason

[required] The reason for the status change, such as why the record was approved or rejected.

Value

A list with the following syntax:

list(
  registryArn = "string",
  recordArn = "string",
  recordId = "string",
  status = "DRAFT"|"PENDING_APPROVAL"|"APPROVED"|"REJECTED"|"DEPRECATED"|"CREATING"|"UPDATING"|"CREATE_FAILED"|"UPDATE_FAILED",
  statusReason = "string",
  updatedAt = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$update_registry_record_status(
  registryId = "string",
  recordId = "string",
  status = "DRAFT"|"PENDING_APPROVAL"|"APPROVED"|"REJECTED"|"DEPRECATED"|"CREATING"|"UPDATING"|"CREATE_FAILED"|"UPDATE_FAILED",
  statusReason = "string"
)