aws_sdk_rds/client/
describe_db_snapshot_attributes.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeDBSnapshotAttributes`](crate::operation::describe_db_snapshot_attributes::builders::DescribeDBSnapshotAttributesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`db_snapshot_identifier(impl Into<String>)`](crate::operation::describe_db_snapshot_attributes::builders::DescribeDBSnapshotAttributesFluentBuilder::db_snapshot_identifier) / [`set_db_snapshot_identifier(Option<String>)`](crate::operation::describe_db_snapshot_attributes::builders::DescribeDBSnapshotAttributesFluentBuilder::set_db_snapshot_identifier):<br>required: **true**<br><p>The identifier for the DB snapshot to describe the attributes for.</p><br>
    /// - On success, responds with [`DescribeDbSnapshotAttributesOutput`](crate::operation::describe_db_snapshot_attributes::DescribeDbSnapshotAttributesOutput) with field(s):
    ///   - [`db_snapshot_attributes_result(Option<DbSnapshotAttributesResult>)`](crate::operation::describe_db_snapshot_attributes::DescribeDbSnapshotAttributesOutput::db_snapshot_attributes_result): <p>Contains the results of a successful call to the <code>DescribeDBSnapshotAttributes</code> API action.</p> <p>Manual DB snapshot attributes are used to authorize other Amazon Web Services accounts to copy or restore a manual DB snapshot. For more information, see the <code>ModifyDBSnapshotAttribute</code> API action.</p>
    /// - On failure, responds with [`SdkError<DescribeDBSnapshotAttributesError>`](crate::operation::describe_db_snapshot_attributes::DescribeDBSnapshotAttributesError)
    pub fn describe_db_snapshot_attributes(
        &self,
    ) -> crate::operation::describe_db_snapshot_attributes::builders::DescribeDBSnapshotAttributesFluentBuilder {
        crate::operation::describe_db_snapshot_attributes::builders::DescribeDBSnapshotAttributesFluentBuilder::new(self.handle.clone())
    }
}