aws_sdk_cloudfront/client/
list_response_headers_policies.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 [`ListResponseHeadersPolicies`](crate::operation::list_response_headers_policies::builders::ListResponseHeadersPoliciesFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`r#type(ResponseHeadersPolicyType)`](crate::operation::list_response_headers_policies::builders::ListResponseHeadersPoliciesFluentBuilder::type) / [`set_type(Option<ResponseHeadersPolicyType>)`](crate::operation::list_response_headers_policies::builders::ListResponseHeadersPoliciesFluentBuilder::set_type):<br>required: **false**<br><p>A filter to get only the specified kind of response headers policies. Valid values are:</p> <ul>  <li>   <p><code>managed</code> – Gets only the managed policies created by Amazon Web Services.</p></li>  <li>   <p><code>custom</code> – Gets only the custom policies created in your Amazon Web Services account.</p></li> </ul><br>
7    ///   - [`marker(impl Into<String>)`](crate::operation::list_response_headers_policies::builders::ListResponseHeadersPoliciesFluentBuilder::marker) / [`set_marker(Option<String>)`](crate::operation::list_response_headers_policies::builders::ListResponseHeadersPoliciesFluentBuilder::set_marker):<br>required: **false**<br><p>Use this field when paginating results to indicate where to begin in your list of response headers policies. The response includes response headers policies 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>
8    ///   - [`max_items(i32)`](crate::operation::list_response_headers_policies::builders::ListResponseHeadersPoliciesFluentBuilder::max_items) / [`set_max_items(Option<i32>)`](crate::operation::list_response_headers_policies::builders::ListResponseHeadersPoliciesFluentBuilder::set_max_items):<br>required: **false**<br><p>The maximum number of response headers policies that you want to get in the response.</p><br>
9    /// - On success, responds with [`ListResponseHeadersPoliciesOutput`](crate::operation::list_response_headers_policies::ListResponseHeadersPoliciesOutput) with field(s):
10    ///   - [`response_headers_policy_list(Option<ResponseHeadersPolicyList>)`](crate::operation::list_response_headers_policies::ListResponseHeadersPoliciesOutput::response_headers_policy_list): <p>A list of response headers policies.</p>
11    /// - On failure, responds with [`SdkError<ListResponseHeadersPoliciesError>`](crate::operation::list_response_headers_policies::ListResponseHeadersPoliciesError)
12    pub fn list_response_headers_policies(
13        &self,
14    ) -> crate::operation::list_response_headers_policies::builders::ListResponseHeadersPoliciesFluentBuilder {
15        crate::operation::list_response_headers_policies::builders::ListResponseHeadersPoliciesFluentBuilder::new(self.handle.clone())
16    }
17}