CmdID / aws / aws lightsail
aws lightsail get-operations
Returns information about all operations. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To get information about all operations
The following get-operations example displays details about all of the operations in the configured AWS Region.
aws lightsail get-operationsIdentifyIts output, shortened
{
"operations": [
{
"id": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
"resourceName": "Instance-1",
"resourceType": "Instance",
"createdAt": 1571679872.404,
"location": {
"availabilityZone": "us-west-2a",
"regionName": "us-west-2"
},
"isTerminal": true,
"operationType": "CreateInstance",
"status": "Succeeded",
"statusChangedAt": 1571679890.304
},
{
"id": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
"resourceName": "WordPress-1",
"resourceType": "Instance",
"createdAt": 1571678786.072,
"location": {
"availabilityZone": "all",
"regionName": "us-west-2"
},
"isTerminal": true,
"operationDetails": "LoadBalancer-1",
"operationType": "DetachInstancesFromLoadBalancer",
"status": "Succeeded",
"statusChangedAt": 1571679086.399
… 18 more linesFor more information, see Virtual private server instances in Lightsail in the Amazon Lightsail User Guide.
Options
--page-tokenThe token to advance to the next page of results from your request.