aws_sdk_appsync/client/list_apis.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 [`ListApis`](crate::operation::list_apis::builders::ListApisFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_apis::builders::ListApisFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`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>
8 /// - [`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>
9 /// - On success, responds with [`ListApisOutput`](crate::operation::list_apis::ListApisOutput) with field(s):
10 /// - [`apis(Option<Vec::<Api>>)`](crate::operation::list_apis::ListApisOutput::apis): <p>The <code>Api</code> objects.</p>
11 /// - [`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>
12 /// - On failure, responds with [`SdkError<ListApisError>`](crate::operation::list_apis::ListApisError)
13 pub fn list_apis(&self) -> crate::operation::list_apis::builders::ListApisFluentBuilder {
14 crate::operation::list_apis::builders::ListApisFluentBuilder::new(self.handle.clone())
15 }
16}