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 a list of DB cluster snapshot attribute names and values for a manual DB cluster snapshot.
When sharing snapshots with other Amazon accounts, DescribeDBClusterSnapshotAttributes
returns the restore
attribute and a list of IDs for the Amazon accounts that
are authorized to copy or restore the manual DB cluster snapshot. If all
is
included in the list of values for the restore
attribute, then the manual DB
cluster snapshot is public and can be copied or restored by all Amazon accounts.
To add or remove access for an Amazon account to copy or restore a manual DB cluster snapshot, or to make the manual DB cluster snapshot public or private, use the ModifyDBClusterSnapshotAttribute API action.
For .NET Core this operation is only available in asynchronous form. Please refer to DescribeDBClusterSnapshotAttributesAsync.
Namespace: Amazon.Neptune
Assembly: AWSSDK.Neptune.dll
Version: 3.x.y.z
public virtual DescribeDBClusterSnapshotAttributesResponse DescribeDBClusterSnapshotAttributes( DescribeDBClusterSnapshotAttributesRequest request )
Container for the necessary parameters to execute the DescribeDBClusterSnapshotAttributes service method.
Exception | Condition |
---|---|
DBClusterSnapshotNotFoundException | DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot. |
This example lists attributes for the specified DB cluster snapshot.
var response = client.DescribeDBClusterSnapshotAttributes(new DescribeDBClusterSnapshotAttributesRequest { DBClusterSnapshotIdentifier = "mydbclustersnapshot" }); DBClusterSnapshotAttributesResult dbClusterSnapshotAttributesResult = response.DBClusterSnapshotAttributesResult;
.NET Framework:
Supported in: 4.5 and newer, 3.5