aws_sdk_cloudfront/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 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>Use this field when paginating results to indicate where to begin in your list of functions. The response includes functions in the list that occur after the marker. To get the next page of the list, set this field's value to the value of <code>NextMarker</code> from the current page's response.</p><br>
7 /// - [`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 that you want in the response.</p><br>
8 /// - [`stage(FunctionStage)`](crate::operation::list_functions::builders::ListFunctionsFluentBuilder::stage) / [`set_stage(Option<FunctionStage>)`](crate::operation::list_functions::builders::ListFunctionsFluentBuilder::set_stage):<br>required: **false**<br><p>An optional filter to return only the functions that are in the specified stage, either <code>DEVELOPMENT</code> or <code>LIVE</code>.</p><br>
9 /// - On success, responds with [`ListFunctionsOutput`](crate::operation::list_functions::ListFunctionsOutput) with field(s):
10 /// - [`function_list(Option<FunctionList>)`](crate::operation::list_functions::ListFunctionsOutput::function_list): <p>A list of CloudFront functions.</p>
11 /// - On failure, responds with [`SdkError<ListFunctionsError>`](crate::operation::list_functions::ListFunctionsError)
12 pub fn list_functions(&self) -> crate::operation::list_functions::builders::ListFunctionsFluentBuilder {
13 crate::operation::list_functions::builders::ListFunctionsFluentBuilder::new(self.handle.clone())
14 }
15}