aws_sdk_lambda/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 /// - [`master_region(impl Into<String>)`](crate::operation::list_functions::builders::ListFunctionsFluentBuilder::master_region) / [`set_master_region(Option<String>)`](crate::operation::list_functions::builders::ListFunctionsFluentBuilder::set_master_region):<br>required: **false**<br><p>For Lambda@Edge functions, the Amazon Web Services Region of the master function. For example, <code>us-east-1</code> filters the list of functions to include only Lambda@Edge functions replicated from a master function in US East (N. Virginia). If specified, you must set <code>FunctionVersion</code> to <code>ALL</code>.</p><br>
8 /// - [`function_version(FunctionVersion)`](crate::operation::list_functions::builders::ListFunctionsFluentBuilder::function_version) / [`set_function_version(Option<FunctionVersion>)`](crate::operation::list_functions::builders::ListFunctionsFluentBuilder::set_function_version):<br>required: **false**<br><p>Set to <code>ALL</code> to include entries for all published versions of each function.</p><br>
9 /// - [`marker(impl Into<String>)`](crate::operation::list_functions::builders::ListFunctionsFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::list_functions::builders::ListFunctionsFluentBuilder::set_marker):<br>required: **false**<br><p>Specify the pagination token that's returned by a previous request to retrieve the next page of results.</p><br>
10 /// - [`max_items(i32)`](crate::operation::list_functions::builders::ListFunctionsFluentBuilder::max_items) / [`set_max_items(Option<i32>)`](crate::operation::list_functions::builders::ListFunctionsFluentBuilder::set_max_items):<br>required: **false**<br><p>The maximum number of functions to return in the response. Note that <code>ListFunctions</code> returns a maximum of 50 items in each response, even if you set the number higher.</p><br>
11 /// - On success, responds with [`ListFunctionsOutput`](crate::operation::list_functions::ListFunctionsOutput) with field(s):
12 /// - [`next_marker(Option<String>)`](crate::operation::list_functions::ListFunctionsOutput::next_marker): <p>The pagination token that's included if more results are available.</p>
13 /// - [`functions(Option<Vec::<FunctionConfiguration>>)`](crate::operation::list_functions::ListFunctionsOutput::functions): <p>A list of Lambda functions.</p>
14 /// - On failure, responds with [`SdkError<ListFunctionsError>`](crate::operation::list_functions::ListFunctionsError)
15 pub fn list_functions(&self) -> crate::operation::list_functions::builders::ListFunctionsFluentBuilder {
16 crate::operation::list_functions::builders::ListFunctionsFluentBuilder::new(self.handle.clone())
17 }
18}