// 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):<br>required: **true**<br><p>A response headers policy configuration.</p><br>
/// - [`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):<br>required: **true**<br><p>The identifier for the response headers policy that you are updating.</p><br>
/// - [`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):<br>required: **false**<br><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><br>
/// - 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())
}
}