aws_sdk_kinesisanalyticsv2/client/list_application_snapshots.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 [`ListApplicationSnapshots`](crate::operation::list_application_snapshots::builders::ListApplicationSnapshotsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_application_snapshots::builders::ListApplicationSnapshotsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`application_name(impl Into<String>)`](crate::operation::list_application_snapshots::builders::ListApplicationSnapshotsFluentBuilder::application_name) / [`set_application_name(Option<String>)`](crate::operation::list_application_snapshots::builders::ListApplicationSnapshotsFluentBuilder::set_application_name):<br>required: **true**<br><p>The name of an existing application.</p><br>
8 /// - [`limit(i32)`](crate::operation::list_application_snapshots::builders::ListApplicationSnapshotsFluentBuilder::limit) / [`set_limit(Option<i32>)`](crate::operation::list_application_snapshots::builders::ListApplicationSnapshotsFluentBuilder::set_limit):<br>required: **false**<br><p>The maximum number of application snapshots to list.</p><br>
9 /// - [`next_token(impl Into<String>)`](crate::operation::list_application_snapshots::builders::ListApplicationSnapshotsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_application_snapshots::builders::ListApplicationSnapshotsFluentBuilder::set_next_token):<br>required: **false**<br><p>Use this parameter if you receive a <code>NextToken</code> response in a previous request that indicates that there is more output available. Set it to the value of the previous call's <code>NextToken</code> response to indicate where the output should continue from.</p><br>
10 /// - On success, responds with [`ListApplicationSnapshotsOutput`](crate::operation::list_application_snapshots::ListApplicationSnapshotsOutput) with field(s):
11 /// - [`snapshot_summaries(Option<Vec::<SnapshotDetails>>)`](crate::operation::list_application_snapshots::ListApplicationSnapshotsOutput::snapshot_summaries): <p>A collection of objects containing information about the application snapshots.</p>
12 /// - [`next_token(Option<String>)`](crate::operation::list_application_snapshots::ListApplicationSnapshotsOutput::next_token): <p>The token for the next set of results, or <code>null</code> if there are no additional results.</p>
13 /// - On failure, responds with [`SdkError<ListApplicationSnapshotsError>`](crate::operation::list_application_snapshots::ListApplicationSnapshotsError)
14 pub fn list_application_snapshots(&self) -> crate::operation::list_application_snapshots::builders::ListApplicationSnapshotsFluentBuilder {
15 crate::operation::list_application_snapshots::builders::ListApplicationSnapshotsFluentBuilder::new(self.handle.clone())
16 }
17}