Submit Registry Record For Approval
| bedrockagentcorecontrol_submit_registry_record_for_approval | R Documentation |
Submits a registry record for approval¶
Description¶
Submits a registry record for approval. This transitions the record from
DRAFT status to PENDING_APPROVAL status. If the registry has
auto-approval enabled, the record is automatically approved.
Usage¶
bedrockagentcorecontrol_submit_registry_record_for_approval(registryId,
recordId)
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 submit for approval. You can specify either the Amazon Resource Name (ARN) or the ID of the record. |
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",
updatedAt = as.POSIXct(
"2015-01-01"
)
)
Request syntax¶
svc$submit_registry_record_for_approval(
registryId = "string",
recordId = "string"
)