Redshift.Client.
batch_delete_cluster_snapshots
(**kwargs)¶Deletes a set of cluster snapshots.
See also: AWS API Documentation
Request Syntax
response = client.batch_delete_cluster_snapshots(
Identifiers=[
{
'SnapshotIdentifier': 'string',
'SnapshotClusterIdentifier': 'string'
},
]
)
[REQUIRED]
A list of identifiers for the snapshots that you want to delete.
The unique identifier of the manual snapshot to be deleted.
Constraints: Must be the name of an existing snapshot that is in the available
, failed
, or cancelled
state.
The unique identifier of the cluster the snapshot was created from. This parameter is required if your IAM user or role has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.
Constraints: Must be the name of valid cluster.
{
'Resources': [
'string',
],
'Errors': [
{
'SnapshotIdentifier': 'string',
'SnapshotClusterIdentifier': 'string',
'FailureCode': 'string',
'FailureReason': 'string'
},
]
}
Response Structure
A list of the snapshot identifiers that were deleted.
A list of any errors returned.
Describes the errors returned by a snapshot.
A unique identifier for the snapshot returning the error.
A unique identifier for the cluster.
The failure code for the error.
The text message describing the error.
Exceptions
Redshift.Client.exceptions.BatchDeleteRequestSizeExceededFault