选择您的 Cookie 首选项

我们使用必要 Cookie 和类似工具提供我们的网站和服务。我们使用性能 Cookie 收集匿名统计数据,以便我们可以了解客户如何使用我们的网站并进行改进。必要 Cookie 无法停用,但您可以单击“自定义”或“拒绝”来拒绝性能 Cookie。

如果您同意,AWS 和经批准的第三方还将使用 Cookie 提供有用的网站功能、记住您的首选项并显示相关内容,包括相关广告。要接受或拒绝所有非必要 Cookie,请单击“接受”或“拒绝”。要做出更详细的选择,请单击“自定义”。

DescribeDBClusterSnapshotAttributes - Amazon Relational Database Service
此页面尚未翻译为您的语言。 请求翻译

DescribeDBClusterSnapshotAttributes

Returns a list of DB cluster snapshot attribute names and values for a manual DB cluster snapshot.

When sharing snapshots with other AWS accounts, DescribeDBClusterSnapshotAttributes returns the restore attribute and a list of IDs for the AWS 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 AWS accounts.

To add or remove access for an AWS 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.

Request Parameters

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

DBClusterSnapshotIdentifier

The identifier for the DB cluster snapshot to describe the attributes for.

Type: String

Required: Yes

Response Elements

The following element is returned by the service.

DBClusterSnapshotAttributesResult

Contains the results of a successful call to the DescribeDBClusterSnapshotAttributes API action.

Manual DB cluster snapshot attributes are used to authorize other AWS accounts to copy or restore a manual DB cluster snapshot. For more information, see the ModifyDBClusterSnapshotAttribute API action.

Type: DBClusterSnapshotAttributesResult object

Errors

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

DBClusterSnapshotNotFoundFault

DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster snapshot.

HTTP Status Code: 404

Examples

Example

This example illustrates one usage of DescribeDBClusterSnapshotAttributes.

Sample Request

https://rds.us-west-2.amazonaws.com/ ?Action=DescribeDBClusterSnapshotAttributes &DBClusterSnapshotIdentifier=manual-cluster-snapshot1 &SignatureMethod=HmacSHA256 &SignatureVersion=4 &Version=2014-10-31 &X-Amz-Algorithm=AWS4-HMAC-SHA256 &X-Amz-Credential=AKIADQKE4SARGYLE/20230227/us-east-1/rds/aws4_request &X-Amz-Date=20230227T210706Z &X-Amz-SignedHeaders=content-type;host;user-agent;x-amz-content-sha256;x-amz-date &X-Amz-Signature=27413f450dfac3d68b2197453e52109bacd3863f9df1a02d6e40022165bb2e09

Sample Response

<DescribeDBClusterSnapshotAttributesResponse xmlns="http://rds.amazonaws.com/doc/2014-10-31/"> <DescribeDBClusterSnapshotAttributesResult> <DBClusterSnapshotAttributesResult> <DBClusterSnapshotAttributes> <DBClusterSnapshotAttribute> <AttributeName>restore</AttributeName> <AttributeValues> <AttributeValue>012345678901</AttributeValue> </AttributeValues> </DBClusterSnapshotAttribute> </DBClusterSnapshotAttributes> <DBSnapshotIdentifier>manual-cluster-snapshot1</DBSnapshotIdentifier> </DBClusterSnapshotAttributesResult> </DescribeDBClusterSnapshotAttributesResult> <ResponseMetadata> <RequestId>ae5be4a2-7cee-11e5-a056-f1c189649a47</RequestId> </ResponseMetadata> </DescribeDBClusterSnapshotAttributesResponse>

See Also

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

隐私网站条款Cookie 首选项
© 2024, Amazon Web Services, Inc. 或其附属公司。保留所有权利。