Download data/lib/python3.10/site-packages/awscli/examples/lightsail/stop-instance.rst from ZTWHHH/envs_1: direct link, hf CLI and curl.
- Browser
- Download file 770 Bytes
-
https://huggingface.co/datasets/ZTWHHH/envs_1/resolve/main/data/lib/python3.10/site-packages/awscli/examples/lightsail/stop-instance.rst
- Command line
-
hf download hf://datasets/ZTWHHH/envs_1/data/lib/python3.10/site-packages/awscli/examples/lightsail/stop-instance.rst
-
curl -L -o stop-instance.rst https://huggingface.co/datasets/ZTWHHH/envs_1/resolve/main/data/lib/python3.10/site-packages/awscli/examples/lightsail/stop-instance.rst
770 Bytes
| **To stop an instance** | |
| The following ``stop-instance`` example stops the specified instance. :: | |
| aws lightsail stop-instance \ | |
| --instance-name WordPress-1 | |
| Output:: | |
| { | |
| "operations": [ | |
| { | |
| "id": "265357e2-2943-4d51-888a-1EXAMPLE7585", | |
| "resourceName": "WordPress-1", | |
| "resourceType": "Instance", | |
| "createdAt": 1571695471.134, | |
| "location": { | |
| "availabilityZone": "us-west-2a", | |
| "regionName": "us-west-2" | |
| }, | |
| "isTerminal": false, | |
| "operationType": "StopInstance", | |
| "status": "Started", | |
| "statusChangedAt": 1571695471.134 | |
| } | |
| ] | |
| } | |