aws_sdk_appsync/client/list_functions.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 [`ListFunctions`](crate::operation::list_functions::builders::ListFunctionsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_functions::builders::ListFunctionsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`api_id(impl Into<String>)`](crate::operation::list_functions::builders::ListFunctionsFluentBuilder::api_id) / [`set_api_id(Option<String>)`](crate::operation::list_functions::builders::ListFunctionsFluentBuilder::set_api_id):<br>required: **true**<br><p>The GraphQL API ID.</p><br>
8 /// - [`next_token(impl Into<String>)`](crate::operation::list_functions::builders::ListFunctionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_functions::builders::ListFunctionsFluentBuilder::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>
9 /// - [`max_results(i32)`](crate::operation::list_functions::builders::ListFunctionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_functions::builders::ListFunctionsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results that you want the request to return.</p><br>
10 /// - On success, responds with [`ListFunctionsOutput`](crate::operation::list_functions::ListFunctionsOutput) with field(s):
11 /// - [`functions(Option<Vec::<FunctionConfiguration>>)`](crate::operation::list_functions::ListFunctionsOutput::functions): <p>A list of <code>Function</code> objects.</p>
12 /// - [`next_token(Option<String>)`](crate::operation::list_functions::ListFunctionsOutput::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>
13 /// - On failure, responds with [`SdkError<ListFunctionsError>`](crate::operation::list_functions::ListFunctionsError)
14 pub fn list_functions(&self) -> crate::operation::list_functions::builders::ListFunctionsFluentBuilder {
15 crate::operation::list_functions::builders::ListFunctionsFluentBuilder::new(self.handle.clone())
16 }
17}