BatchDeleteClusterSnapshots - Amazon Redshift
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).


Deletes a set of cluster snapshots.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.


A list of identifiers for the snapshots that you want to delete.

Type: Array of DeleteClusterSnapshotMessage objects

Required: Yes

Response Elements

The following elements are returned by the service.


A list of any errors returned.

Type: Array of SnapshotErrorMessage objects


A list of the snapshot identifiers that were deleted.

Type: Array of strings

Length Constraints: Maximum length of 2147483647.


For information about the errors that are common to all actions, see Common Errors.


The maximum number for a batch delete of snapshots has been reached. The limit is 100.

HTTP Status Code: 400



This example illustrates one usage of BatchDeleteClusterSnapshots.

Sample Request ?Action=BatchDeleteClusterSnapshots &Identifiers.DeleteClusterSnapshotMessage.1.SnapshotIdentifier=mysnapshotid1 &Identifiers.DeleteClusterSnapshotMessage.2.SnapshotIdentifier=mysnapshotid2 &SignatureMethod=HmacSHA256&SignatureVersion=4 &Version=2012-12-01 &X-Amz-Algorithm=AWS4-HMAC-SHA256 &X-Amz-Credential=AKIAIOSFODNN7EXAMPLE/20190817/us-east-2/redshift/aws4_request &X-Amz-Date=20190825T160000Z &X-Amz-SignedHeaders=content-type;host;user-agent;x-amz-content-sha256;x-amz-date &X-Amz-Signature=0aa1234bb5cc678ddddd901ee2ff3aa45678b90c12d345e6ff789012345a6b7b

Sample Response

<BatchDeleteClusterSnapshotsResponse xmlns=""> <BatchDeleteClusterSnapshotsResult> <Resources> <String>mysnapshotid1</String> <String>mysnapshotid2</String> </Resources> </BatchDeleteClusterSnapshotsResult> <ResponseMetadata> <RequestId>5b43fc38-282e-11ea-8cc9-43f1872b4b75</RequestId> </ResponseMetadata> </BatchDeleteClusterSnapshotsResponse>

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: