Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
This is AWS WAF Classic Regional documentation. For more information, see AWS WAF Classic in the developer guide.
For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
Removes a web ACL from the specified resource, either an application load balancer or Amazon API Gateway stage.
Synopsis
- data DisassociateWebACL = DisassociateWebACL' {
- resourceArn :: Text
- newDisassociateWebACL :: Text -> DisassociateWebACL
- disassociateWebACL_resourceArn :: Lens' DisassociateWebACL Text
- data DisassociateWebACLResponse = DisassociateWebACLResponse' {
- httpStatus :: Int
- newDisassociateWebACLResponse :: Int -> DisassociateWebACLResponse
- disassociateWebACLResponse_httpStatus :: Lens' DisassociateWebACLResponse Int
Creating a Request
data DisassociateWebACL Source #
See: newDisassociateWebACL
smart constructor.
DisassociateWebACL' | |
|
Instances
newDisassociateWebACL Source #
Create a value of DisassociateWebACL
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceArn:DisassociateWebACL'
, disassociateWebACL_resourceArn
- 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.
The ARN should be in one of the following formats:
- For an Application Load Balancer:
arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id
- For an Amazon API Gateway stage:
arn:aws:apigateway:region::/restapis/api-id/stages/stage-name
Request Lenses
disassociateWebACL_resourceArn :: Lens' DisassociateWebACL Text Source #
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.
The ARN should be in one of the following formats:
- For an Application Load Balancer:
arn:aws:elasticloadbalancing:region:account-id:loadbalancer/app/load-balancer-name/load-balancer-id
- For an Amazon API Gateway stage:
arn:aws:apigateway:region::/restapis/api-id/stages/stage-name
Destructuring the Response
data DisassociateWebACLResponse Source #
See: newDisassociateWebACLResponse
smart constructor.
DisassociateWebACLResponse' | |
|
Instances
newDisassociateWebACLResponse Source #
Create a value of DisassociateWebACLResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DisassociateWebACLResponse'
, disassociateWebACLResponse_httpStatus
- The response's http status code.
Response Lenses
disassociateWebACLResponse_httpStatus :: Lens' DisassociateWebACLResponse Int Source #
The response's http status code.