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.ListResourcesForWebACL

Description

Retrieves an array of the Amazon Resource Names (ARNs) for the regional resources that are associated with the specified web ACL. If you want the list of Amazon CloudFront resources, use the CloudFront call ListDistributionsByWebACLId.

Synopsis

Creating a Request

data ListResourcesForWebACL Source #

See: newListResourcesForWebACL smart constructor.

Constructors

ListResourcesForWebACL' 

Fields

  • resourceType :: Maybe ResourceType

    Used for web ACLs that are scoped for regional applications. 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.

    If you don't provide a resource type, the call uses the resource type APPLICATION_LOAD_BALANCER.

    Default: APPLICATION_LOAD_BALANCER

  • webACLArn :: Text

    The Amazon Resource Name (ARN) of the web ACL.

Instances

Instances details
ToJSON ListResourcesForWebACL Source # 
Instance details

Defined in Amazonka.WAFV2.ListResourcesForWebACL

ToHeaders ListResourcesForWebACL Source # 
Instance details

Defined in Amazonka.WAFV2.ListResourcesForWebACL

ToPath ListResourcesForWebACL Source # 
Instance details

Defined in Amazonka.WAFV2.ListResourcesForWebACL

ToQuery ListResourcesForWebACL Source # 
Instance details

Defined in Amazonka.WAFV2.ListResourcesForWebACL

AWSRequest ListResourcesForWebACL Source # 
Instance details

Defined in Amazonka.WAFV2.ListResourcesForWebACL

Associated Types

type AWSResponse ListResourcesForWebACL #

Generic ListResourcesForWebACL Source # 
Instance details

Defined in Amazonka.WAFV2.ListResourcesForWebACL

Associated Types

type Rep ListResourcesForWebACL :: Type -> Type #

Read ListResourcesForWebACL Source # 
Instance details

Defined in Amazonka.WAFV2.ListResourcesForWebACL

Show ListResourcesForWebACL Source # 
Instance details

Defined in Amazonka.WAFV2.ListResourcesForWebACL

NFData ListResourcesForWebACL Source # 
Instance details

Defined in Amazonka.WAFV2.ListResourcesForWebACL

Methods

rnf :: ListResourcesForWebACL -> () #

Eq ListResourcesForWebACL Source # 
Instance details

Defined in Amazonka.WAFV2.ListResourcesForWebACL

Hashable ListResourcesForWebACL Source # 
Instance details

Defined in Amazonka.WAFV2.ListResourcesForWebACL

type AWSResponse ListResourcesForWebACL Source # 
Instance details

Defined in Amazonka.WAFV2.ListResourcesForWebACL

type Rep ListResourcesForWebACL Source # 
Instance details

Defined in Amazonka.WAFV2.ListResourcesForWebACL

type Rep ListResourcesForWebACL = D1 ('MetaData "ListResourcesForWebACL" "Amazonka.WAFV2.ListResourcesForWebACL" "amazonka-wafv2-2.0-3v3WgpYn7RT5hSd6MsT5dN" 'False) (C1 ('MetaCons "ListResourcesForWebACL'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceType)) :*: S1 ('MetaSel ('Just "webACLArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newListResourcesForWebACL Source #

Create a value of ListResourcesForWebACL 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:resourceType:ListResourcesForWebACL', listResourcesForWebACL_resourceType - Used for web ACLs that are scoped for regional applications. 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.

If you don't provide a resource type, the call uses the resource type APPLICATION_LOAD_BALANCER.

Default: APPLICATION_LOAD_BALANCER

$sel:webACLArn:ListResourcesForWebACL', listResourcesForWebACL_webACLArn - The Amazon Resource Name (ARN) of the web ACL.

Request Lenses

listResourcesForWebACL_resourceType :: Lens' ListResourcesForWebACL (Maybe ResourceType) Source #

Used for web ACLs that are scoped for regional applications. 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.

If you don't provide a resource type, the call uses the resource type APPLICATION_LOAD_BALANCER.

Default: APPLICATION_LOAD_BALANCER

listResourcesForWebACL_webACLArn :: Lens' ListResourcesForWebACL Text Source #

The Amazon Resource Name (ARN) of the web ACL.

Destructuring the Response

data ListResourcesForWebACLResponse Source #

See: newListResourcesForWebACLResponse smart constructor.

Constructors

ListResourcesForWebACLResponse' 

Fields

Instances

Instances details
Generic ListResourcesForWebACLResponse Source # 
Instance details

Defined in Amazonka.WAFV2.ListResourcesForWebACL

Associated Types

type Rep ListResourcesForWebACLResponse :: Type -> Type #

Read ListResourcesForWebACLResponse Source # 
Instance details

Defined in Amazonka.WAFV2.ListResourcesForWebACL

Show ListResourcesForWebACLResponse Source # 
Instance details

Defined in Amazonka.WAFV2.ListResourcesForWebACL

NFData ListResourcesForWebACLResponse Source # 
Instance details

Defined in Amazonka.WAFV2.ListResourcesForWebACL

Eq ListResourcesForWebACLResponse Source # 
Instance details

Defined in Amazonka.WAFV2.ListResourcesForWebACL

type Rep ListResourcesForWebACLResponse Source # 
Instance details

Defined in Amazonka.WAFV2.ListResourcesForWebACL

type Rep ListResourcesForWebACLResponse = D1 ('MetaData "ListResourcesForWebACLResponse" "Amazonka.WAFV2.ListResourcesForWebACL" "amazonka-wafv2-2.0-3v3WgpYn7RT5hSd6MsT5dN" 'False) (C1 ('MetaCons "ListResourcesForWebACLResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newListResourcesForWebACLResponse Source #

Create a value of ListResourcesForWebACLResponse 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:resourceArns:ListResourcesForWebACLResponse', listResourcesForWebACLResponse_resourceArns - The array of Amazon Resource Names (ARNs) of the associated resources.

$sel:httpStatus:ListResourcesForWebACLResponse', listResourcesForWebACLResponse_httpStatus - The response's http status code.

Response Lenses

listResourcesForWebACLResponse_resourceArns :: Lens' ListResourcesForWebACLResponse (Maybe [Text]) Source #

The array of Amazon Resource Names (ARNs) of the associated resources.