1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateResponseHeadersPolicy`](crate::operation::create_response_headers_policy::builders::CreateResponseHeadersPolicyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`response_headers_policy_config(ResponseHeadersPolicyConfig)`](crate::operation::create_response_headers_policy::builders::CreateResponseHeadersPolicyFluentBuilder::response_headers_policy_config) / [`set_response_headers_policy_config(Option<ResponseHeadersPolicyConfig>)`](crate::operation::create_response_headers_policy::builders::CreateResponseHeadersPolicyFluentBuilder::set_response_headers_policy_config): <p>Contains metadata about the response headers policy, and a set of configurations that specify the HTTP headers.</p>
    /// - On success, responds with [`CreateResponseHeadersPolicyOutput`](crate::operation::create_response_headers_policy::CreateResponseHeadersPolicyOutput) with field(s):
    ///   - [`response_headers_policy(Option<ResponseHeadersPolicy>)`](crate::operation::create_response_headers_policy::CreateResponseHeadersPolicyOutput::response_headers_policy): <p>Contains a response headers policy.</p>
    ///   - [`location(Option<String>)`](crate::operation::create_response_headers_policy::CreateResponseHeadersPolicyOutput::location): <p>The URL of the response headers policy.</p>
    ///   - [`e_tag(Option<String>)`](crate::operation::create_response_headers_policy::CreateResponseHeadersPolicyOutput::e_tag): <p>The version identifier for the current version of the response headers policy.</p>
    /// - On failure, responds with [`SdkError<CreateResponseHeadersPolicyError>`](crate::operation::create_response_headers_policy::CreateResponseHeadersPolicyError)
    pub fn create_response_headers_policy(&self) -> crate::operation::create_response_headers_policy::builders::CreateResponseHeadersPolicyFluentBuilder{
        crate::operation::create_response_headers_policy::builders::CreateResponseHeadersPolicyFluentBuilder::new(self.handle.clone())
    }
}