aws-sdk-cloudfront 1.116.0

AWS SDK for Amazon CloudFront
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DisassociateDistributionWebACL`](crate::operation::disassociate_distribution_web_acl::builders::DisassociateDistributionWebACLFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`id(impl Into<String>)`](crate::operation::disassociate_distribution_web_acl::builders::DisassociateDistributionWebACLFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::disassociate_distribution_web_acl::builders::DisassociateDistributionWebACLFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the distribution.</p><br>
    ///   - [`if_match(impl Into<String>)`](crate::operation::disassociate_distribution_web_acl::builders::DisassociateDistributionWebACLFluentBuilder::if_match) / [`set_if_match(Option<String>)`](crate::operation::disassociate_distribution_web_acl::builders::DisassociateDistributionWebACLFluentBuilder::set_if_match):<br>required: **false**<br><p>The value of the <code>ETag</code> header that you received when retrieving the distribution that you're disassociating from the WAF web ACL.</p><br>
    /// - On success, responds with [`DisassociateDistributionWebAclOutput`](crate::operation::disassociate_distribution_web_acl::DisassociateDistributionWebAclOutput) with field(s):
    ///   - [`id(Option<String>)`](crate::operation::disassociate_distribution_web_acl::DisassociateDistributionWebAclOutput::id): <p>The ID of the distribution.</p>
    ///   - [`e_tag(Option<String>)`](crate::operation::disassociate_distribution_web_acl::DisassociateDistributionWebAclOutput::e_tag): <p>The current version of the distribution.</p>
    /// - On failure, responds with [`SdkError<DisassociateDistributionWebACLError>`](crate::operation::disassociate_distribution_web_acl::DisassociateDistributionWebACLError)
    pub fn disassociate_distribution_web_acl(
        &self,
    ) -> crate::operation::disassociate_distribution_web_acl::builders::DisassociateDistributionWebACLFluentBuilder {
        crate::operation::disassociate_distribution_web_acl::builders::DisassociateDistributionWebACLFluentBuilder::new(self.handle.clone())
    }
}