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
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListManagedApis`](crate::operation::list_managed_apis::builders::ListManagedApisFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_managed_apis::builders::ListManagedApisFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`max_results(i32)`](crate::operation::list_managed_apis::builders::ListManagedApisFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_managed_apis::builders::ListManagedApisFluentBuilder::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_managed_apis::builders::ListManagedApisFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_managed_apis::builders::ListManagedApisFluentBuilder::set_next_token):<br>required: **false**<br>The pagination token returned by a previous call. Omit it to get the first page.<br>
    ///   - [`product_id(impl Into<String>)`](crate::operation::list_managed_apis::builders::ListManagedApisFluentBuilder::product_id) / [`set_product_id(Option<String>)`](crate::operation::list_managed_apis::builders::ListManagedApisFluentBuilder::set_product_id):<br>required: **false**<br>Optional filter: when supplied, only Managed APIs associated with this product are returned.<br>
    /// - On success, responds with [`ListManagedApisOutput`](crate::operation::list_managed_apis::ListManagedApisOutput) with field(s):
    ///   - [`next_token(Option<String>)`](crate::operation::list_managed_apis::ListManagedApisOutput::next_token): The token to pass in the next request to get the next page. Absent when there are no more results.
    ///   - [`items(Vec::<ManagedApiSummary>)`](crate::operation::list_managed_apis::ListManagedApisOutput::items): The Managed APIs in this page of results.
    /// - On failure, responds with [`SdkError<ListManagedApisError>`](crate::operation::list_managed_apis::ListManagedApisError)
    pub fn list_managed_apis(&self) -> crate::operation::list_managed_apis::builders::ListManagedApisFluentBuilder {
        crate::operation::list_managed_apis::builders::ListManagedApisFluentBuilder::new(self.handle.clone())
    }
}