aws_sdk_cloudfront/client/
disassociate_distribution_tenant_web_acl.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 [`DisassociateDistributionTenantWebACL`](crate::operation::disassociate_distribution_tenant_web_acl::builders::DisassociateDistributionTenantWebACLFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::disassociate_distribution_tenant_web_acl::builders::DisassociateDistributionTenantWebACLFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::disassociate_distribution_tenant_web_acl::builders::DisassociateDistributionTenantWebACLFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the distribution tenant.</p><br>
7    ///   - [`if_match(impl Into<String>)`](crate::operation::disassociate_distribution_tenant_web_acl::builders::DisassociateDistributionTenantWebACLFluentBuilder::if_match) / [`set_if_match(Option<String>)`](crate::operation::disassociate_distribution_tenant_web_acl::builders::DisassociateDistributionTenantWebACLFluentBuilder::set_if_match):<br>required: **false**<br><p>The current version of the distribution tenant that you're disassociating from the WAF web ACL. This is the <code>ETag</code> value returned in the response to the <code>GetDistributionTenant</code> API operation.</p><br>
8    /// - On success, responds with [`DisassociateDistributionTenantWebAclOutput`](crate::operation::disassociate_distribution_tenant_web_acl::DisassociateDistributionTenantWebAclOutput) with field(s):
9    ///   - [`id(Option<String>)`](crate::operation::disassociate_distribution_tenant_web_acl::DisassociateDistributionTenantWebAclOutput::id): <p>The ID of the distribution tenant.</p>
10    ///   - [`e_tag(Option<String>)`](crate::operation::disassociate_distribution_tenant_web_acl::DisassociateDistributionTenantWebAclOutput::e_tag): <p>The current version of the distribution tenant.</p>
11    /// - On failure, responds with [`SdkError<DisassociateDistributionTenantWebACLError>`](crate::operation::disassociate_distribution_tenant_web_acl::DisassociateDistributionTenantWebACLError)
12    pub fn disassociate_distribution_tenant_web_acl(
13        &self,
14    ) -> crate::operation::disassociate_distribution_tenant_web_acl::builders::DisassociateDistributionTenantWebACLFluentBuilder {
15        crate::operation::disassociate_distribution_tenant_web_acl::builders::DisassociateDistributionTenantWebACLFluentBuilder::new(
16            self.handle.clone(),
17        )
18    }
19}