CmdID

CmdID / aws / aws lightsail

aws lightsail delete-disk-snapshot

Deletes the specified disk snapshot. AWS CLI reference

1 example 1 option Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To delete a snapshot of a block storage disk

The following delete-disk-snapshot example deletes the specified snapshot of a block storage disk.

aws lightsail delete-disk-snapshot --disk-snapshot-name DiskSnapshot-1Identify
--disk-snapshot-nameThe name of the disk snapshot you want to delete (my-disk-snapshot).
Its output
{
    "operations": [
        {
            "id": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
            "resourceName": "DiskSnapshot-1",
            "resourceType": "DiskSnapshot",
            "createdAt": 1569873552.79,
            "location": {
                "availabilityZone": "all",
                "regionName": "us-west-2"
            },
            "isTerminal": true,
            "operationType": "DeleteDiskSnapshot",
            "status": "Succeeded",
            "statusChangedAt": 1569873552.79
        }
    ]
}

For more information, see Delete unused Lightsail snapshots to avoid monthly charges in the Amazon Lightsail User Guide.

Options

1 in the AWS CLI reference
--disk-snapshot-nameThe name of the disk snapshot you want to delete (my-disk-snapshot).