aws-sdk-docdbelastic 0.7.0

AWS SDK for Amazon DocumentDB Elastic Clusters
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListClusterSnapshots`](crate::operation::list_cluster_snapshots::builders::ListClusterSnapshotsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_cluster_snapshots::builders::ListClusterSnapshotsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`cluster_arn(impl ::std::convert::Into<String>)`](crate::operation::list_cluster_snapshots::builders::ListClusterSnapshotsFluentBuilder::cluster_arn) / [`set_cluster_arn(Option<String>)`](crate::operation::list_cluster_snapshots::builders::ListClusterSnapshotsFluentBuilder::set_cluster_arn): <p>The arn of the Elastic DocumentDB cluster.</p>
    ///   - [`next_token(impl ::std::convert::Into<String>)`](crate::operation::list_cluster_snapshots::builders::ListClusterSnapshotsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_cluster_snapshots::builders::ListClusterSnapshotsFluentBuilder::set_next_token): <p>The nextToken which is used the get the next page of data.</p>
    ///   - [`max_results(i32)`](crate::operation::list_cluster_snapshots::builders::ListClusterSnapshotsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_cluster_snapshots::builders::ListClusterSnapshotsFluentBuilder::set_max_results): <p>The maximum number of entries to recieve in the response.</p>
    /// - On success, responds with [`ListClusterSnapshotsOutput`](crate::operation::list_cluster_snapshots::ListClusterSnapshotsOutput) with field(s):
    ///   - [`snapshots(Option<Vec<ClusterSnapshotInList>>)`](crate::operation::list_cluster_snapshots::ListClusterSnapshotsOutput::snapshots): <p>A list of Elastic DocumentDB snapshots for a specified cluster.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_cluster_snapshots::ListClusterSnapshotsOutput::next_token): <p>The response will provide a nextToken if there is more data beyond the maxResults.</p>  <p>If there is no more data in the responce, the nextToken will not be returned.</p>
    /// - On failure, responds with [`SdkError<ListClusterSnapshotsError>`](crate::operation::list_cluster_snapshots::ListClusterSnapshotsError)
    pub fn list_cluster_snapshots(&self) -> crate::operation::list_cluster_snapshots::builders::ListClusterSnapshotsFluentBuilder {
        crate::operation::list_cluster_snapshots::builders::ListClusterSnapshotsFluentBuilder::new(self.handle.clone())
    }
}