CmdID

CmdID / aws / aws ec2

aws ec2 delete-snapshot

Deletes the specified snapshot. AWS CLI reference

1 example 2 options 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

The following delete-snapshot example deletes a snapshot with the snapshot ID of snap-1234567890abcdef0.

aws ec2 delete-snapshot --snapshot-id snap-1234567890abcdef0Identify
--snapshot-idThe ID of the EBS snapshot.

This command produces no output.

For more information, see Delete an Amazon EBS snapshot in the Amazon EBS User Guide.

Options

2 in the AWS CLI reference
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.
--snapshot-idThe ID of the EBS snapshot.