resource_requests
Creates, updates, deletes, gets or lists a resource_requests resource.
Overview
| Name | resource_requests |
| Type | Resource |
| Id | aws.cloudcontrol.resource_requests |
Fields
The following fields are returned by SELECT queries:
- list_resource_requests
| Name | Datatype | Description |
|---|---|---|
error_code | string | For 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_time | string (date-time) | When the resource operation request was initiated. |
hooks_request_token | string | The unique token representing the Hooks operation for the request. (pattern: <code>[-A-Za-z0-9+/=]+</code>) |
identifier | string | The 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>) |
operation | string | The resource operation type. (CREATE, DELETE, UPDATE) |
operation_status | string | The 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_token | string | The 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_model | string | A JSON string containing the resource model, consisting of each resource property and its current value. (pattern: <code>[\s\S]*</code>) |
retry_after | string (date-time) | When to next request the status of this resource operation request. |
status_message | string | Any message explaining the current status. (pattern: <code>[\s\S]*</code>) |
type_name | string | The 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_resource_requests | select | region | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_resource_requests
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
;