Skip to main content
selectdraftawscclast verified 2026-07-29
Servicescloud_control
CredentialsAWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY

Cloud Control resource request by token

Gets the current progress event for a single Cloud Control resource request. The request token comes from the RETURNING clause of the originating asynchronous mutation; poll this query until the operation reaches a terminal status.

Query

SELECT Identifier, Operation, OperationStatus, StatusMessage, ErrorCode, RetryAfter, ResourceModel, TypeName, EventTime
FROM awscc.cloud_control.resource_request
WHERE RequestToken = '{{request_token}}'
AND region = '{{region}}';

Notes

Poll until OperationStatus is SUCCESS or FAILED; RetryAfter suggests how long to wait between polls. On failure, StatusMessage and ErrorCode carry the reason. On success, ResourceModel carries the resulting resource state, or re-read the resource directly. An unknown or expired token fails the request

  • completed requests age out of the service's history.

Related queries