CmdID / aws / aws cloudcontrol
aws cloudcontrol list-resource-requests
Returns existing resource operation requests. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To list the active resource operation requests
The following list-resource-requests example lists the resource requests for CREATE and UPDATE operations that have failed in your AWS account.
aws cloudcontrol list-resource-requests --resource-request-status-filter Operations=CREATE,OperationStatuses=FAILEDIdentify--resource-request-status-filterThe filter criteria to apply to the requests returned.Its output
{
"ResourceRequestStatusSummaries": [
{
"TypeName": "AWS::Kinesis::Stream",
"Identifier": "Demo",
"RequestToken": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
"Operation": "CREATE",
"OperationStatus": "FAILED",
"EventTime": 1632950268.481,
"StatusMessage": "Resource of type 'AWS::Kinesis::Stream' with identifier 'Demo' already exists.",
"ErrorCode": "AlreadyExists"
}
]
}For more information, see Managing resource operation requests in the Cloud Control API User Guide.
Options
--max-resultsThe maximum number of results to be returned with a single call.--next-tokenIf the previous paginated request didn't return all of the remaining results, the response object's NextToken parameter value is set to a token.--resource-request-status-filterThe filter criteria to apply to the requests returned.