pub struct DescribeDBClusterSnapshotAttributes { /* private fields */ }Expand description
Fluent builder constructing a request to DescribeDBClusterSnapshotAttributes.
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.
Implementations
sourceimpl DescribeDBClusterSnapshotAttributes
impl DescribeDBClusterSnapshotAttributes
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeDBClusterSnapshotAttributes, AwsResponseRetryClassifier>, SdkError<DescribeDBClusterSnapshotAttributesError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeDBClusterSnapshotAttributes, AwsResponseRetryClassifier>, SdkError<DescribeDBClusterSnapshotAttributesError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DescribeDbClusterSnapshotAttributesOutput, SdkError<DescribeDBClusterSnapshotAttributesError>>
pub async fn send(
self
) -> Result<DescribeDbClusterSnapshotAttributesOutput, SdkError<DescribeDBClusterSnapshotAttributesError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn db_cluster_snapshot_identifier(self, input: impl Into<String>) -> Self
pub fn db_cluster_snapshot_identifier(self, input: impl Into<String>) -> Self
The identifier for the DB cluster snapshot to describe the attributes for.
sourcepub fn set_db_cluster_snapshot_identifier(self, input: Option<String>) -> Self
pub fn set_db_cluster_snapshot_identifier(self, input: Option<String>) -> Self
The identifier for the DB cluster snapshot to describe the attributes for.
Trait Implementations
sourceimpl Clone for DescribeDBClusterSnapshotAttributes
impl Clone for DescribeDBClusterSnapshotAttributes
sourcefn clone(&self) -> DescribeDBClusterSnapshotAttributes
fn clone(&self) -> DescribeDBClusterSnapshotAttributes
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more