CmdID

CmdID / aws / aws redshift

aws redshift delete-cluster-snapshot

Deletes the specified manual 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 cluster snapshot

The following delete-cluster-snapshot example deletes a cluster snapshot.

aws redshift delete-cluster-snapshot --snapshot-identifier my-snapshot-idIdentify
--snapshot-identifierThe unique identifier of the manual snapshot to be deleted.
Its output
{
    "Snapshot": {
        "SnapshotIdentifier": "my-snapshot-id",
        "ClusterIdentifier": "mycluster",
        "SnapshotCreateTime": "2013-01-22T22:20:33.548Z",
        "Status": "deleted",
        "Port": 5439,
        "AvailabilityZone": "us-west-2a",
        "ClusterCreateTime": "2013-01-22T21:59:29.559Z",
        "MasterUsername": "adminuser",
        "ClusterVersion": "1.0",
        "SnapshotType": "manual",
        "NodeType": "dc2.large",
        "NumberOfNodes": 2,
        "DBName": "dev",
        "Encrypted": false,
        "EncryptedWithHSM": false,
        "OwnerAccount": "123456789012",
        "TotalBackupSizeInMegaBytes": 20.0,
        "ActualIncrementalBackupSizeInMegaBytes": 20.0,
        "BackupProgressInMegaBytes": 20.0,
        "CurrentBackupRateInMegaBytesPerSecond": 0.0,
        "EstimatedSecondsToCompletion": -1,
        "ElapsedTimeInSeconds": 0,
        "Tags": [],
        "EnhancedVpcRouting": false,
        "MaintenanceTrackName": "current",
        "ManualSnapshotRetentionPeriod": -1
    }
}

For more information, see Deleting a manual snapshot in the Amazon Redshift Management Guide.

Options

2 in the AWS CLI reference
--snapshot-cluster-identifierThe unique identifier of the cluster the snapshot was created from.
--snapshot-identifierThe unique identifier of the manual snapshot to be deleted.