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