aws_sdk_rds/client/describe_db_snapshot_attributes.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`DescribeDBSnapshotAttributes`](crate::operation::describe_db_snapshot_attributes::builders::DescribeDBSnapshotAttributesFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - On success, responds with [`DescribeDbSnapshotAttributesOutput`](crate::operation::describe_db_snapshot_attributes::DescribeDbSnapshotAttributesOutput) with field(s):
8 /// - [`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>
9 /// - On failure, responds with [`SdkError<DescribeDBSnapshotAttributesError>`](crate::operation::describe_db_snapshot_attributes::DescribeDBSnapshotAttributesError)
10 pub fn describe_db_snapshot_attributes(
11 &self,
12 ) -> crate::operation::describe_db_snapshot_attributes::builders::DescribeDBSnapshotAttributesFluentBuilder {
13 crate::operation::describe_db_snapshot_attributes::builders::DescribeDBSnapshotAttributesFluentBuilder::new(self.handle.clone())
14 }
15}