aws_sdk_appsync/client/
list_apis.rs

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 [`ListApis`](crate::operation::list_apis::builders::ListApisFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_apis::builders::ListApisFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_apis::builders::ListApisFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_apis::builders::ListApisFluentBuilder::set_next_token):<br>required: **false**<br><p>An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_apis::builders::ListApisFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_apis::builders::ListApisFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results that you want the request to return.</p><br>
    /// - On success, responds with [`ListApisOutput`](crate::operation::list_apis::ListApisOutput) with field(s):
    ///   - [`apis(Option<Vec::<Api>>)`](crate::operation::list_apis::ListApisOutput::apis): <p>The <code>Api</code> objects.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_apis::ListApisOutput::next_token): <p>An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.</p>
    /// - On failure, responds with [`SdkError<ListApisError>`](crate::operation::list_apis::ListApisError)
    pub fn list_apis(&self) -> crate::operation::list_apis::builders::ListApisFluentBuilder {
        crate::operation::list_apis::builders::ListApisFluentBuilder::new(self.handle.clone())
    }
}