aws_sdk_wafregional/client/disassociate_web_acl.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DisassociateWebACL`](crate::operation::disassociate_web_acl::builders::DisassociateWebACLFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`resource_arn(impl Into<String>)`](crate::operation::disassociate_web_acl::builders::DisassociateWebACLFluentBuilder::resource_arn) / [`set_resource_arn(Option<String>)`](crate::operation::disassociate_web_acl::builders::DisassociateWebACLFluentBuilder::set_resource_arn):<br>required: **true**<br><p>The ARN (Amazon Resource Name) of the resource from which the web ACL is being removed, either an application load balancer or Amazon API Gateway stage.</p> <p>The ARN should be in one of the following formats:</p> <ul> <li> <p>For an Application Load Balancer: <code>arn:aws:elasticloadbalancing:<i>region</i>:<i>account-id</i>:loadbalancer/app/<i>load-balancer-name</i>/<i>load-balancer-id</i> </code></p></li> <li> <p>For an Amazon API Gateway stage: <code>arn:aws:apigateway:<i>region</i>::/restapis/<i>api-id</i>/stages/<i>stage-name</i> </code></p></li> </ul><br>
/// - On success, responds with [`DisassociateWebAclOutput`](crate::operation::disassociate_web_acl::DisassociateWebAclOutput)
/// - On failure, responds with [`SdkError<DisassociateWebACLError>`](crate::operation::disassociate_web_acl::DisassociateWebACLError)
pub fn disassociate_web_acl(&self) -> crate::operation::disassociate_web_acl::builders::DisassociateWebACLFluentBuilder {
crate::operation::disassociate_web_acl::builders::DisassociateWebACLFluentBuilder::new(self.handle.clone())
}
}