Menu
Amazon Relational Database Service
API Reference (API Version 2014-10-31)

DescribeDBClusterSnapshots

Returns information about DB cluster snapshots. This API action supports pagination.

For more information on Amazon Aurora, see Aurora on Amazon RDS in the Amazon RDS User Guide.

Request Parameters

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

DBClusterIdentifier

The ID of the DB cluster to retrieve the list of DB cluster snapshots for. This parameter cannot be used in conjunction with the DBClusterSnapshotIdentifier parameter. This parameter is not case-sensitive.

Constraints:

  • Must contain from 1 to 63 alphanumeric characters or hyphens

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

Type: String

Required: No

DBClusterSnapshotIdentifier

A specific DB cluster snapshot identifier to describe. This parameter cannot be used in conjunction with the DBClusterIdentifier parameter. This value is stored as a lowercase string.

Constraints:

  • Must be 1 to 255 alphanumeric characters

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

  • If this identifier is for an automated snapshot, the SnapshotType parameter must also be specified.

Type: String

Required: No

Filters.Filter.N

This parameter is not currently supported.

Type: array of Filter objects

Required: No

IncludePublic

Set this value to true to include manual DB cluster snapshots that are public and can be copied or restored by any AWS account, otherwise set this value to false. The default is false. The default is false.

You can share a manual DB cluster snapshot as public by using the ModifyDBClusterSnapshotAttribute API action.

Type: Boolean

Required: No

IncludeShared

Set this value to true to include shared manual DB cluster snapshots from other AWS accounts that this AWS account has been given permission to copy or restore, otherwise set this value to false. The default is false.

You can give an AWS account permission to restore a manual DB cluster snapshot from another AWS account by the ModifyDBClusterSnapshotAttribute API action.

Type: Boolean

Required: No

Marker

An optional pagination token provided by a previous DescribeDBClusterSnapshots request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Type: String

Required: No

MaxRecords

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Type: Integer

Required: No

SnapshotType

The type of DB cluster snapshots to be returned. You can specify one of the following values:

  • automated - Return all DB cluster snapshots that have been automatically taken by Amazon RDS for my AWS account.

  • manual - Return all DB cluster snapshots that have been taken by my AWS account.

  • shared - Return all manual DB cluster snapshots that have been shared to my AWS account.

  • public - Return all DB cluster snapshots that have been marked as public.

If you don't specify a SnapshotType value, then both automated and manual DB cluster snapshots are returned. You can include shared DB cluster snapshots with these results by setting the IncludeShared parameter to true. You can include public DB cluster snapshots with these results by setting the IncludePublic parameter to true.

The IncludeShared and IncludePublic parameters don't apply for SnapshotType values of manual or automated. The IncludePublic parameter doesn't apply when SnapshotType is set to shared. The IncludeShared parameter doesn't apply when SnapshotType is set to public.

Type: String

Required: No

Response Elements

The following elements are returned by the service.

DBClusterSnapshots.DBClusterSnapshot.N

Provides a list of DB cluster snapshots for the user.

Type: array of DBClusterSnapshot objects

Marker

An optional pagination token provided by a previous DescribeDBClusterSnapshots request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Type: String

Errors

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

DBClusterSnapshotNotFoundFault

DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot.

HTTP Status Code: 404

Example

Sample Request

Copy
https://rds.us-east-1.amazonaws.com/ ?Action=DescribeDBClusterSnapshots &IncludePublic=false &IncludeShared=true &MaxRecords=40 &SignatureMethod=HmacSHA256 &SignatureVersion=4 &Version=2014-10-31 &X-Amz-Algorithm=AWS4-HMAC-SHA256 &X-Amz-Credential=AKIADQKE4SARGYLE/20150318/us-east-1/rds/aws4_request &X-Amz-Date=20150318T204210Z &X-Amz-SignedHeaders=content-type;host;user-agent;x-amz-content-sha256;x-amz-date &X-Amz-Signature=913f0ec1dfc684ff9c6ef3eab5885258dbb22017c47b1bcd4fed4680e35aef4b

Sample Response

Copy
<DescribeDBClusterSnapshotsResponse xmlns="http://rds.amazonaws.com/doc/2014-10-31/"> <DescribeDBClusterSnapshotsResult> <DBClusterSnapshots> <DBClusterSnapshot> <Port>0</Port> <Status>available</Status> <Engine>aurora</Engine> <SnapshotType>manual</SnapshotType> <LicenseModel>aurora</LicenseModel> <DBClusterSnapshotIdentifier>sample-cluster-snapshot1</DBClusterSnapshotIdentifier> <SnapshotCreateTime>2015-03-12T17:42:48.271Z</SnapshotCreateTime> <DBClusterIdentifier>sample-cluster</DBClusterIdentifier> <VpcId>vpc-3fabee54</VpcId> <ClusterCreateTime>2015-03-06T22:11:13.826Z</ClusterCreateTime> <PercentProgress>100</PercentProgress> <AllocatedStorage>1</AllocatedStorage> <MasterUsername>awsuser</MasterUsername> </DBClusterSnapshot> <DBClusterSnapshot> <Port>0</Port> <Status>creating</Status> <Engine>aurora</Engine> <SnapshotType>automated</SnapshotType> <LicenseModel>aurora</LicenseModel> <DBClusterSnapshotIdentifier>rds:sample2-cluster-2014-10-22-03-12</DBClusterSnapshotIdentifier> <SnapshotCreateTime>2014-10-22T03:12:09.445Z</SnapshotCreateTime> <DBClusterIdentifier>sample2-cluster</DBClusterIdentifier> <VpcId>vpc-3fabee54</VpcId> <ClusterCreateTime>2014-10-16T18:44:13.633Z</ClusterCreateTime> <PercentProgress>0</PercentProgress> <AllocatedStorage>1</AllocatedStorage> <MasterUsername>awsuser</MasterUsername> </DBClusterSnapshot> <DBClusterSnapshot> <Port>0</Port> <Status>creating</Status> <Engine>aurora</Engine> <SnapshotType>automated</SnapshotType> <LicenseModel>aurora</LicenseModel> <DBClusterSnapshotIdentifier>rds:sample-cluster-2014-10-22-08-27</DBClusterSnapshotIdentifier> <SnapshotCreateTime>2014-10-22T08:27:08.435Z</SnapshotCreateTime> <DBClusterIdentifier>sample-cluster</DBClusterIdentifier> <VpcId>vpc-3fabee54</VpcId> <ClusterCreateTime>2014-10-16T20:11:04.016Z</ClusterCreateTime> <PercentProgress>0</PercentProgress> <AllocatedStorage>1</AllocatedStorage> <MasterUsername>awsuser</MasterUsername> </DBClusterSnapshot> </DBClusterSnapshots> </DescribeDBClusterSnapshotsResult> <ResponseMetadata> <RequestId>3ff63be1-ceef-11e4-840b-459216ffcb55</RequestId> </ResponseMetadata> </DescribeDBClusterSnapshotsResponse>

See Also

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