aws_sdk_mgn/client/list_waves.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 [`ListWaves`](crate::operation::list_waves::builders::ListWavesFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_waves::builders::ListWavesFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`filters(ListWavesRequestFilters)`](crate::operation::list_waves::builders::ListWavesFluentBuilder::filters) / [`set_filters(Option<ListWavesRequestFilters>)`](crate::operation::list_waves::builders::ListWavesFluentBuilder::set_filters):<br>required: **false**<br><p>Waves list filters.</p><br>
8 /// - [`max_results(i32)`](crate::operation::list_waves::builders::ListWavesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_waves::builders::ListWavesFluentBuilder::set_max_results):<br>required: **false**<br><p>Maximum results to return when listing waves.</p><br>
9 /// - [`next_token(impl Into<String>)`](crate::operation::list_waves::builders::ListWavesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_waves::builders::ListWavesFluentBuilder::set_next_token):<br>required: **false**<br><p>Request next token.</p><br>
10 /// - [`account_id(impl Into<String>)`](crate::operation::list_waves::builders::ListWavesFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::list_waves::builders::ListWavesFluentBuilder::set_account_id):<br>required: **false**<br><p>Request account ID.</p><br>
11 /// - On success, responds with [`ListWavesOutput`](crate::operation::list_waves::ListWavesOutput) with field(s):
12 /// - [`items(Option<Vec::<Wave>>)`](crate::operation::list_waves::ListWavesOutput::items): <p>Waves list.</p>
13 /// - [`next_token(Option<String>)`](crate::operation::list_waves::ListWavesOutput::next_token): <p>Response next token.</p>
14 /// - On failure, responds with [`SdkError<ListWavesError>`](crate::operation::list_waves::ListWavesError)
15 pub fn list_waves(&self) -> crate::operation::list_waves::builders::ListWavesFluentBuilder {
16 crate::operation::list_waves::builders::ListWavesFluentBuilder::new(self.handle.clone())
17 }
18}