amazonka-waf-regional-2.0: Amazon WAF Regional 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.WAFRegional.ListResourcesForWebACL

Description

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.

Returns an array of resources associated with the specified web ACL.

Synopsis

Creating a Request

data ListResourcesForWebACL Source #

See: newListResourcesForWebACL smart constructor.

Constructors

ListResourcesForWebACL' 

Fields

  • resourceType :: Maybe ResourceType

    The type of resource to list, either an application load balancer or Amazon API Gateway.

  • webACLId :: Text

    The unique identifier (ID) of the web ACL for which to list the associated resources.

Instances

Instances details
ToJSON ListResourcesForWebACL Source # 
Instance details

Defined in Amazonka.WAFRegional.ListResourcesForWebACL

ToHeaders ListResourcesForWebACL Source # 
Instance details

Defined in Amazonka.WAFRegional.ListResourcesForWebACL

ToPath ListResourcesForWebACL Source # 
Instance details

Defined in Amazonka.WAFRegional.ListResourcesForWebACL

ToQuery ListResourcesForWebACL Source # 
Instance details

Defined in Amazonka.WAFRegional.ListResourcesForWebACL

AWSRequest ListResourcesForWebACL Source # 
Instance details

Defined in Amazonka.WAFRegional.ListResourcesForWebACL

Associated Types

type AWSResponse ListResourcesForWebACL #

Generic ListResourcesForWebACL Source # 
Instance details

Defined in Amazonka.WAFRegional.ListResourcesForWebACL

Associated Types

type Rep ListResourcesForWebACL :: Type -> Type #

Read ListResourcesForWebACL Source # 
Instance details

Defined in Amazonka.WAFRegional.ListResourcesForWebACL

Show ListResourcesForWebACL Source # 
Instance details

Defined in Amazonka.WAFRegional.ListResourcesForWebACL

NFData ListResourcesForWebACL Source # 
Instance details

Defined in Amazonka.WAFRegional.ListResourcesForWebACL

Methods

rnf :: ListResourcesForWebACL -> () #

Eq ListResourcesForWebACL Source # 
Instance details

Defined in Amazonka.WAFRegional.ListResourcesForWebACL

Hashable ListResourcesForWebACL Source # 
Instance details

Defined in Amazonka.WAFRegional.ListResourcesForWebACL

type AWSResponse ListResourcesForWebACL Source # 
Instance details

Defined in Amazonka.WAFRegional.ListResourcesForWebACL

type Rep ListResourcesForWebACL Source # 
Instance details

Defined in Amazonka.WAFRegional.ListResourcesForWebACL

type Rep ListResourcesForWebACL = D1 ('MetaData "ListResourcesForWebACL" "Amazonka.WAFRegional.ListResourcesForWebACL" "amazonka-waf-regional-2.0-83dY3vKOuQzAAW7M6EmzRI" 'False) (C1 ('MetaCons "ListResourcesForWebACL'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceType)) :*: S1 ('MetaSel ('Just "webACLId") '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 - The type of resource to list, either an application load balancer or Amazon API Gateway.

ListResourcesForWebACL, listResourcesForWebACL_webACLId - The unique identifier (ID) of the web ACL for which to list the associated resources.

Request Lenses

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

The type of resource to list, either an application load balancer or Amazon API Gateway.

listResourcesForWebACL_webACLId :: Lens' ListResourcesForWebACL Text Source #

The unique identifier (ID) of the web ACL for which to list the associated resources.

Destructuring the Response

data ListResourcesForWebACLResponse Source #

See: newListResourcesForWebACLResponse smart constructor.

Constructors

ListResourcesForWebACLResponse' 

Fields

  • resourceArns :: Maybe [Text]

    An array of ARNs (Amazon Resource Names) of the resources associated with the specified web ACL. An array with zero elements is returned if there are no resources associated with the web ACL.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListResourcesForWebACLResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListResourcesForWebACL

Associated Types

type Rep ListResourcesForWebACLResponse :: Type -> Type #

Read ListResourcesForWebACLResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListResourcesForWebACL

Show ListResourcesForWebACLResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListResourcesForWebACL

NFData ListResourcesForWebACLResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListResourcesForWebACL

Eq ListResourcesForWebACLResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListResourcesForWebACL

type Rep ListResourcesForWebACLResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListResourcesForWebACL

type Rep ListResourcesForWebACLResponse = D1 ('MetaData "ListResourcesForWebACLResponse" "Amazonka.WAFRegional.ListResourcesForWebACL" "amazonka-waf-regional-2.0-83dY3vKOuQzAAW7M6EmzRI" '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 - An array of ARNs (Amazon Resource Names) of the resources associated with the specified web ACL. An array with zero elements is returned if there are no resources associated with the web ACL.

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

Response Lenses

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

An array of ARNs (Amazon Resource Names) of the resources associated with the specified web ACL. An array with zero elements is returned if there are no resources associated with the web ACL.