1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateResponseHeadersPolicy`](crate::operation::update_response_headers_policy::builders::UpdateResponseHeadersPolicyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`response_headers_policy_config(ResponseHeadersPolicyConfig)`](crate::operation::update_response_headers_policy::builders::UpdateResponseHeadersPolicyFluentBuilder::response_headers_policy_config) / [`set_response_headers_policy_config(Option<ResponseHeadersPolicyConfig>)`](crate::operation::update_response_headers_policy::builders::UpdateResponseHeadersPolicyFluentBuilder::set_response_headers_policy_config): <p>A response headers policy configuration.</p>
    ///   - [`id(impl Into<String>)`](crate::operation::update_response_headers_policy::builders::UpdateResponseHeadersPolicyFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::update_response_headers_policy::builders::UpdateResponseHeadersPolicyFluentBuilder::set_id): <p>The identifier for the response headers policy that you are updating.</p>
    ///   - [`if_match(impl Into<String>)`](crate::operation::update_response_headers_policy::builders::UpdateResponseHeadersPolicyFluentBuilder::if_match) / [`set_if_match(Option<String>)`](crate::operation::update_response_headers_policy::builders::UpdateResponseHeadersPolicyFluentBuilder::set_if_match): <p>The version of the response headers policy that you are updating.</p>  <p>The version is returned in the cache policy's <code>ETag</code> field in the response to <code>GetResponseHeadersPolicyConfig</code>.</p>
    /// - On success, responds with [`UpdateResponseHeadersPolicyOutput`](crate::operation::update_response_headers_policy::UpdateResponseHeadersPolicyOutput) with field(s):
    ///   - [`response_headers_policy(Option<ResponseHeadersPolicy>)`](crate::operation::update_response_headers_policy::UpdateResponseHeadersPolicyOutput::response_headers_policy): <p>A response headers policy.</p>
    ///   - [`e_tag(Option<String>)`](crate::operation::update_response_headers_policy::UpdateResponseHeadersPolicyOutput::e_tag): <p>The current version of the response headers policy.</p>
    /// - On failure, responds with [`SdkError<UpdateResponseHeadersPolicyError>`](crate::operation::update_response_headers_policy::UpdateResponseHeadersPolicyError)
    pub fn update_response_headers_policy(&self) -> crate::operation::update_response_headers_policy::builders::UpdateResponseHeadersPolicyFluentBuilder{
        crate::operation::update_response_headers_policy::builders::UpdateResponseHeadersPolicyFluentBuilder::new(self.handle.clone())
    }
}