aws_sdk_wafv2/client/
disassociate_web_acl.rs

1
2
3
4
5
6
7
8
9
10
11
12
// 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 Amazon Resource Name (ARN) of the resource to disassociate from the web ACL.</p> <p>The ARN must be in one of the following formats:</p> <ul>  <li>   <p>For an Application Load Balancer: <code>arn:<i>partition</i>: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 REST API: <code>arn:<i>partition</i>:apigateway:<i>region</i>::/restapis/<i>api-id</i>/stages/<i>stage-name</i> </code></p></li>  <li>   <p>For an AppSync GraphQL API: <code>arn:<i>partition</i>:appsync:<i>region</i>:<i>account-id</i>:apis/<i>GraphQLApiId</i> </code></p></li>  <li>   <p>For an Amazon Cognito user pool: <code>arn:<i>partition</i>:cognito-idp:<i>region</i>:<i>account-id</i>:userpool/<i>user-pool-id</i> </code></p></li>  <li>   <p>For an App Runner service: <code>arn:<i>partition</i>:apprunner:<i>region</i>:<i>account-id</i>:service/<i>apprunner-service-name</i>/<i>apprunner-service-id</i> </code></p></li>  <li>   <p>For an Amazon Web Services Verified Access instance: <code>arn:<i>partition</i>:ec2:<i>region</i>:<i>account-id</i>:verified-access-instance/<i>instance-id</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())
    }
}