Skip to main content

resource_requests

Creates, updates, deletes, gets or lists a resource_requests resource.

Overview

Nameresource_requests
TypeResource
Idaws.cloudcontrol.resource_requests

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
error_codestringFor requests with a status of FAILED, the associated error code. For error code definitions, see Handler error codes in the CloudFormation Command Line Interface User Guide for Extension Development. (NotUpdatable, InvalidRequest, AccessDenied, UnauthorizedTaggingOperation, InvalidCredentials, AlreadyExists, NotFound, ResourceConflict, Throttling, ServiceLimitExceeded, NotStabilized, GeneralServiceException, ServiceInternalError, ServiceTimeout, NetworkFailure, InternalFailure)
event_timestring (date-time)When the resource operation request was initiated.
hooks_request_tokenstringThe unique token representing the Hooks operation for the request. (pattern: <code>[-A-Za-z0-9+/=]+</code>)
identifierstringThe primary identifier for the resource. In some cases, the resource identifier may be available before the resource operation has reached a status of SUCCESS. (pattern: <code>.+</code>)
operationstringThe resource operation type. (CREATE, DELETE, UPDATE)
operation_statusstringThe current status of the resource operation request. PENDING: The resource operation hasn't yet started. IN_PROGRESS: The resource operation is currently in progress. SUCCESS: The resource operation has successfully completed. FAILED: The resource operation has failed. Refer to the error code and status message for more information. CANCEL_IN_PROGRESS: The resource operation is in the process of being canceled. CANCEL_COMPLETE: The resource operation has been canceled. (PENDING, IN_PROGRESS, SUCCESS, FAILED, CANCEL_IN_PROGRESS, CANCEL_COMPLETE)
request_tokenstringThe unique token representing this resource operation request. Use the RequestToken with GetResourceRequestStatus to return the current status of a resource operation request. (pattern: <code>[-A-Za-z0-9+/=]+</code>)
resource_modelstringA JSON string containing the resource model, consisting of each resource property and its current value. (pattern: <code>[\s\S]*</code>)
retry_afterstring (date-time)When to next request the status of this resource operation request.
status_messagestringAny message explaining the current status. (pattern: <code>[\s\S]*</code>)
type_namestringThe name of the resource type used in the operation. (pattern: <code>[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_resource_requestsselectregionReturns existing resource operation requests. This includes requests of all status types. For more information, see Listing active resource operation requests in the Amazon Web Services Cloud Control API User Guide. Resource operation requests expire after 7 days.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns existing resource operation requests. This includes requests of all status types. For more information, see Listing active resource operation requests in the Amazon Web Services Cloud Control API User Guide. Resource operation requests expire after 7 days.

SELECT
error_code,
event_time,
hooks_request_token,
identifier,
operation,
operation_status,
request_token,
resource_model,
retry_after,
status_message,
type_name
FROM aws.cloudcontrol.resource_requests
WHERE region = '{{ region }}' -- required
;