aws-sdk-apiportal 1.1.0

AWS SDK for APIPortal
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListPortals`](crate::operation::list_portals::builders::ListPortalsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_portals::builders::ListPortalsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`max_results(i32)`](crate::operation::list_portals::builders::ListPortalsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_portals::builders::ListPortalsFluentBuilder::set_max_results):<br>required: **false**<br>The maximum number of results to return in one page, from 1 to 100.<br>
    ///   - [`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>The pagination token returned by a previous call. Omit it to get the first page.<br>
    /// - On success, responds with [`ListPortalsOutput`](crate::operation::list_portals::ListPortalsOutput) with field(s):
    ///   - [`items(Option<Vec::<PortalSummary>>)`](crate::operation::list_portals::ListPortalsOutput::items): The portals in this page of results.
    ///   - [`next_token(Option<String>)`](crate::operation::list_portals::ListPortalsOutput::next_token): The token to pass in the next request to get the next page. Absent when there are no more results.
    /// - On failure, responds with [`SdkError<ListPortalsError>`](crate::operation::list_portals::ListPortalsError)
    pub fn list_portals(&self) -> crate::operation::list_portals::builders::ListPortalsFluentBuilder {
        crate::operation::list_portals::builders::ListPortalsFluentBuilder::new(self.handle.clone())
    }
}