Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Disassociates the specified regional application resource from any existing web ACL association. A resource can have at most one web ACL association. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, or an Amazon Cognito user pool.
For Amazon CloudFront, don't use this call. Instead, use your
CloudFront distribution configuration. To disassociate a web ACL,
provide an empty web ACL ID in the CloudFront call UpdateDistribution
.
For information, see
UpdateDistribution.
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:
DisassociateWebACL
, disassociateWebACL_resourceArn
- The Amazon Resource Name (ARN) of the resource to disassociate from the
web ACL.
The ARN must 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 REST API:
arn:aws:apigateway:
region
::/restapis/
api-id
/stages/
stage-name
- For an AppSync GraphQL API:
arn:aws:appsync:
region
:
account-id
:apis/
GraphQLApiId
- For an Amazon Cognito user pool:
arn:aws:cognito-idp:
region
:
account-id
:userpool/
user-pool-id
Request Lenses
disassociateWebACL_resourceArn :: Lens' DisassociateWebACL Text Source #
The Amazon Resource Name (ARN) of the resource to disassociate from the web ACL.
The ARN must 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 REST API:
arn:aws:apigateway:
region
::/restapis/
api-id
/stages/
stage-name
- For an AppSync GraphQL API:
arn:aws:appsync:
region
:
account-id
:apis/
GraphQLApiId
- For an Amazon Cognito user pool:
arn:aws:cognito-idp:
region
:
account-id
:userpool/
user-pool-id
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.