Skip to content

describe_db_cluster_snapshot_attributes

Operation

describe_db_cluster_snapshot_attributes

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

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

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

Parameters:

Name Type Description Default
request DescribeDBClusterSnapshotAttributesInput | DescribeDBClusterSnapshotAttributesInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[DescribeDBClusterSnapshotAttributesInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
DescribeDBClusterSnapshotAttributesOutput

An instance of DescribeDBClusterSnapshotAttributesOutput.

describe_db_cluster_snapshot_attributes async

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

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

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

Parameters:

Name Type Description Default
request DescribeDBClusterSnapshotAttributesInput | DescribeDBClusterSnapshotAttributesInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None
**kwargs Unpack[DescribeDBClusterSnapshotAttributesInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
DescribeDBClusterSnapshotAttributesOutput

An instance of DescribeDBClusterSnapshotAttributesOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

DescribeDBClusterSnapshotAttributesInputDict

Bases: TypedDict

Dictionary form of DescribeDBClusterSnapshotAttributesInput.

Attributes

db_cluster_snapshot_identifier instance-attribute
db_cluster_snapshot_identifier: Required[str]

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

DescribeDBClusterSnapshotAttributesInput dataclass

Bases: _SerdeShape

Attributes

db_cluster_snapshot_identifier class-attribute instance-attribute
db_cluster_snapshot_identifier: str | None = ...

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

Output

DescribeDBClusterSnapshotAttributesOutput dataclass

Bases: _SerdeShape

Dataclass for DescribeDBClusterSnapshotAttributesOutput structure.

Attributes

db_cluster_snapshot_attributes_result class-attribute instance-attribute
db_cluster_snapshot_attributes_result: DBClusterSnapshotAttributesResult | None = ...

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

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

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.