AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Returns one or more snapshot objects, which contain metadata about your cluster snapshots. By default, this operation returns information about all snapshots of all clusters that are owned by your Amazon Web Services account. No information is returned for snapshots owned by inactive Amazon Web Services accounts.
If you specify both tag keys and tag values in the same request, Amazon Redshift returns
all snapshots that match any combination of the specified keys and values. For example,
if you have owner
and environment
for tag keys, and admin
and
test
for tag values, all snapshots that have any combination of those values
are returned. Only snapshots that you own are returned in the response; shared snapshots
are not returned with the tag key and tag value request parameters.
If both tag keys and values are omitted from the request, snapshots are returned regardless of whether they have tag keys or values associated with them.
This is an asynchronous operation using the standard naming convention for .NET 4.5 or higher. For .NET 3.5 the operation is implemented as a pair of methods using the standard naming convention of BeginDescribeClusterSnapshots and EndDescribeClusterSnapshots.
Namespace: Amazon.Redshift
Assembly: AWSSDK.Redshift.dll
Version: 3.x.y.z
public virtual Task<DescribeClusterSnapshotsResponse> DescribeClusterSnapshotsAsync( DescribeClusterSnapshotsRequest request, CancellationToken cancellationToken )
Container for the necessary parameters to execute the DescribeClusterSnapshots service method.
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Exception | Condition |
---|---|
ClusterNotFoundException | The ClusterIdentifier parameter does not refer to an existing cluster. |
ClusterSnapshotNotFoundException | The snapshot identifier does not refer to an existing cluster snapshot. |
InvalidTagException | The tag is invalid. |
UnsupportedOperationException | The requested operation isn't supported. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5