CmdID / aws / aws cloudcontrol
aws cloudcontrol get-resource-request-status
Returns the current status of a resource operation request. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To get the status information of a resource request
The following get-resource-request-status example returns status information about the specified resource request.
aws cloudcontrol get-resource-request-status --request-token "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"Identify--request-tokenA unique token used to track the progress of the resource operation request.Its output
{
"ProgressEvent": {
"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
--request-tokenA unique token used to track the progress of the resource operation request.