aws_sdk_docdbelastic/client/get_cluster_snapshot.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 [`GetClusterSnapshot`](crate::operation::get_cluster_snapshot::builders::GetClusterSnapshotFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`snapshot_arn(impl Into<String>)`](crate::operation::get_cluster_snapshot::builders::GetClusterSnapshotFluentBuilder::snapshot_arn) / [`set_snapshot_arn(Option<String>)`](crate::operation::get_cluster_snapshot::builders::GetClusterSnapshotFluentBuilder::set_snapshot_arn):<br>required: **true**<br><p>The ARN identifier of the elastic cluster snapshot.</p><br>
7 /// - On success, responds with [`GetClusterSnapshotOutput`](crate::operation::get_cluster_snapshot::GetClusterSnapshotOutput) with field(s):
8 /// - [`snapshot(Option<ClusterSnapshot>)`](crate::operation::get_cluster_snapshot::GetClusterSnapshotOutput::snapshot): <p>Returns information about a specific elastic cluster snapshot.</p>
9 /// - On failure, responds with [`SdkError<GetClusterSnapshotError>`](crate::operation::get_cluster_snapshot::GetClusterSnapshotError)
10 pub fn get_cluster_snapshot(&self) -> crate::operation::get_cluster_snapshot::builders::GetClusterSnapshotFluentBuilder {
11 crate::operation::get_cluster_snapshot::builders::GetClusterSnapshotFluentBuilder::new(self.handle.clone())
12 }
13}