amazonka-wafv2-2.0: Amazon WAFV2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.WAFV2.DisassociateWebACL

Description

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

Creating a Request

data DisassociateWebACL Source #

See: newDisassociateWebACL smart constructor.

Constructors

DisassociateWebACL' 

Fields

  • resourceArn :: Text

    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

Instances

Instances details
ToJSON DisassociateWebACL Source # 
Instance details

Defined in Amazonka.WAFV2.DisassociateWebACL

ToHeaders DisassociateWebACL Source # 
Instance details

Defined in Amazonka.WAFV2.DisassociateWebACL

ToPath DisassociateWebACL Source # 
Instance details

Defined in Amazonka.WAFV2.DisassociateWebACL

ToQuery DisassociateWebACL Source # 
Instance details

Defined in Amazonka.WAFV2.DisassociateWebACL

AWSRequest DisassociateWebACL Source # 
Instance details

Defined in Amazonka.WAFV2.DisassociateWebACL

Associated Types

type AWSResponse DisassociateWebACL #

Generic DisassociateWebACL Source # 
Instance details

Defined in Amazonka.WAFV2.DisassociateWebACL

Associated Types

type Rep DisassociateWebACL :: Type -> Type #

Read DisassociateWebACL Source # 
Instance details

Defined in Amazonka.WAFV2.DisassociateWebACL

Show DisassociateWebACL Source # 
Instance details

Defined in Amazonka.WAFV2.DisassociateWebACL

NFData DisassociateWebACL Source # 
Instance details

Defined in Amazonka.WAFV2.DisassociateWebACL

Methods

rnf :: DisassociateWebACL -> () #

Eq DisassociateWebACL Source # 
Instance details

Defined in Amazonka.WAFV2.DisassociateWebACL

Hashable DisassociateWebACL Source # 
Instance details

Defined in Amazonka.WAFV2.DisassociateWebACL

type AWSResponse DisassociateWebACL Source # 
Instance details

Defined in Amazonka.WAFV2.DisassociateWebACL

type Rep DisassociateWebACL Source # 
Instance details

Defined in Amazonka.WAFV2.DisassociateWebACL

type Rep DisassociateWebACL = D1 ('MetaData "DisassociateWebACL" "Amazonka.WAFV2.DisassociateWebACL" "amazonka-wafv2-2.0-3v3WgpYn7RT5hSd6MsT5dN" 'False) (C1 ('MetaCons "DisassociateWebACL'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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.

Constructors

DisassociateWebACLResponse' 

Fields

Instances

Instances details
Generic DisassociateWebACLResponse Source # 
Instance details

Defined in Amazonka.WAFV2.DisassociateWebACL

Associated Types

type Rep DisassociateWebACLResponse :: Type -> Type #

Read DisassociateWebACLResponse Source # 
Instance details

Defined in Amazonka.WAFV2.DisassociateWebACL

Show DisassociateWebACLResponse Source # 
Instance details

Defined in Amazonka.WAFV2.DisassociateWebACL

NFData DisassociateWebACLResponse Source # 
Instance details

Defined in Amazonka.WAFV2.DisassociateWebACL

Eq DisassociateWebACLResponse Source # 
Instance details

Defined in Amazonka.WAFV2.DisassociateWebACL

type Rep DisassociateWebACLResponse Source # 
Instance details

Defined in Amazonka.WAFV2.DisassociateWebACL

type Rep DisassociateWebACLResponse = D1 ('MetaData "DisassociateWebACLResponse" "Amazonka.WAFV2.DisassociateWebACL" "amazonka-wafv2-2.0-3v3WgpYn7RT5hSd6MsT5dN" 'False) (C1 ('MetaCons "DisassociateWebACLResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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