aws_sdk_apigatewayv2/client/list_portals.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 [`ListPortals`](crate::operation::list_portals::builders::ListPortalsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`max_results(impl Into<String>)`](crate::operation::list_portals::builders::ListPortalsFluentBuilder::max_results) / [`set_max_results(Option<String>)`](crate::operation::list_portals::builders::ListPortalsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of elements to be returned for this resource.</p><br>
7 /// - [`next_token(impl Into<String>)`](crate::operation::list_portals::builders::ListPortalsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_portals::builders::ListPortalsFluentBuilder::set_next_token):<br>required: **false**<br><p>The next page of elements from this collection. Not valid for the last element of the collection.</p><br>
8 /// - On success, responds with [`ListPortalsOutput`](crate::operation::list_portals::ListPortalsOutput) with field(s):
9 /// - [`items(Option<Vec::<PortalSummary>>)`](crate::operation::list_portals::ListPortalsOutput::items): <p>The elements from this collection.</p>
10 /// - [`next_token(Option<String>)`](crate::operation::list_portals::ListPortalsOutput::next_token): <p>The next page of elements from this collection. Not valid for the last element of the collection.</p>
11 /// - On failure, responds with [`SdkError<ListPortalsError>`](crate::operation::list_portals::ListPortalsError)
12 pub fn list_portals(&self) -> crate::operation::list_portals::builders::ListPortalsFluentBuilder {
13 crate::operation::list_portals::builders::ListPortalsFluentBuilder::new(self.handle.clone())
14 }
15}