aws_sdk_migrationhub/client/
list_progress_update_streams.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 [`ListProgressUpdateStreams`](crate::operation::list_progress_update_streams::builders::ListProgressUpdateStreamsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_progress_update_streams::builders::ListProgressUpdateStreamsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`next_token(impl Into<String>)`](crate::operation::list_progress_update_streams::builders::ListProgressUpdateStreamsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_progress_update_streams::builders::ListProgressUpdateStreamsFluentBuilder::set_next_token):<br>required: **false**<br><p>If a <code>NextToken</code> was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in <code>NextToken</code>.</p><br>
8    ///   - [`max_results(i32)`](crate::operation::list_progress_update_streams::builders::ListProgressUpdateStreamsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_progress_update_streams::builders::ListProgressUpdateStreamsFluentBuilder::set_max_results):<br>required: **false**<br><p>Filter to limit the maximum number of results to list per page.</p><br>
9    /// - On success, responds with [`ListProgressUpdateStreamsOutput`](crate::operation::list_progress_update_streams::ListProgressUpdateStreamsOutput) with field(s):
10    ///   - [`progress_update_stream_summary_list(Option<Vec::<ProgressUpdateStreamSummary>>)`](crate::operation::list_progress_update_streams::ListProgressUpdateStreamsOutput::progress_update_stream_summary_list): <p>List of progress update streams up to the max number of results passed in the input.</p>
11    ///   - [`next_token(Option<String>)`](crate::operation::list_progress_update_streams::ListProgressUpdateStreamsOutput::next_token): <p>If there are more streams created than the max result, return the next token to be passed to the next call as a bookmark of where to start from.</p>
12    /// - On failure, responds with [`SdkError<ListProgressUpdateStreamsError>`](crate::operation::list_progress_update_streams::ListProgressUpdateStreamsError)
13    pub fn list_progress_update_streams(&self) -> crate::operation::list_progress_update_streams::builders::ListProgressUpdateStreamsFluentBuilder {
14        crate::operation::list_progress_update_streams::builders::ListProgressUpdateStreamsFluentBuilder::new(self.handle.clone())
15    }
16}