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

Description

Retrieves an array of RegexPatternSetSummary objects for the regex pattern sets that you manage.

Synopsis

Creating a Request

data ListRegexPatternSets Source #

See: newListRegexPatternSets smart constructor.

Constructors

ListRegexPatternSets' 

Fields

  • limit :: Maybe Natural

    The maximum number of objects that you want WAF to return for this request. If more objects are available, in the response, WAF provides a NextMarker value that you can use in a subsequent call to get the next batch of objects.

  • nextMarker :: Maybe Text

    When you request a list of objects with a Limit setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a NextMarker value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.

  • scope :: Scope

    Specifies whether this is for an Amazon CloudFront distribution or for a regional application. 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.

    To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

    • CLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
    • API and SDKs - For all calls, use the Region endpoint us-east-1.

Instances

Instances details
ToJSON ListRegexPatternSets Source # 
Instance details

Defined in Amazonka.WAFV2.ListRegexPatternSets

ToHeaders ListRegexPatternSets Source # 
Instance details

Defined in Amazonka.WAFV2.ListRegexPatternSets

ToPath ListRegexPatternSets Source # 
Instance details

Defined in Amazonka.WAFV2.ListRegexPatternSets

ToQuery ListRegexPatternSets Source # 
Instance details

Defined in Amazonka.WAFV2.ListRegexPatternSets

AWSRequest ListRegexPatternSets Source # 
Instance details

Defined in Amazonka.WAFV2.ListRegexPatternSets

Associated Types

type AWSResponse ListRegexPatternSets #

Generic ListRegexPatternSets Source # 
Instance details

Defined in Amazonka.WAFV2.ListRegexPatternSets

Associated Types

type Rep ListRegexPatternSets :: Type -> Type #

Read ListRegexPatternSets Source # 
Instance details

Defined in Amazonka.WAFV2.ListRegexPatternSets

Show ListRegexPatternSets Source # 
Instance details

Defined in Amazonka.WAFV2.ListRegexPatternSets

NFData ListRegexPatternSets Source # 
Instance details

Defined in Amazonka.WAFV2.ListRegexPatternSets

Methods

rnf :: ListRegexPatternSets -> () #

Eq ListRegexPatternSets Source # 
Instance details

Defined in Amazonka.WAFV2.ListRegexPatternSets

Hashable ListRegexPatternSets Source # 
Instance details

Defined in Amazonka.WAFV2.ListRegexPatternSets

type AWSResponse ListRegexPatternSets Source # 
Instance details

Defined in Amazonka.WAFV2.ListRegexPatternSets

type Rep ListRegexPatternSets Source # 
Instance details

Defined in Amazonka.WAFV2.ListRegexPatternSets

type Rep ListRegexPatternSets = D1 ('MetaData "ListRegexPatternSets" "Amazonka.WAFV2.ListRegexPatternSets" "amazonka-wafv2-2.0-3v3WgpYn7RT5hSd6MsT5dN" 'False) (C1 ('MetaCons "ListRegexPatternSets'" 'PrefixI 'True) (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "scope") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Scope))))

newListRegexPatternSets Source #

Create a value of ListRegexPatternSets 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:

ListRegexPatternSets, listRegexPatternSets_limit - The maximum number of objects that you want WAF to return for this request. If more objects are available, in the response, WAF provides a NextMarker value that you can use in a subsequent call to get the next batch of objects.

ListRegexPatternSets, listRegexPatternSets_nextMarker - When you request a list of objects with a Limit setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a NextMarker value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.

ListRegexPatternSets, listRegexPatternSets_scope - Specifies whether this is for an Amazon CloudFront distribution or for a regional application. 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.

To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

  • CLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
  • API and SDKs - For all calls, use the Region endpoint us-east-1.

Request Lenses

listRegexPatternSets_limit :: Lens' ListRegexPatternSets (Maybe Natural) Source #

The maximum number of objects that you want WAF to return for this request. If more objects are available, in the response, WAF provides a NextMarker value that you can use in a subsequent call to get the next batch of objects.

listRegexPatternSets_nextMarker :: Lens' ListRegexPatternSets (Maybe Text) Source #

When you request a list of objects with a Limit setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a NextMarker value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.

listRegexPatternSets_scope :: Lens' ListRegexPatternSets Scope Source #

Specifies whether this is for an Amazon CloudFront distribution or for a regional application. 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.

To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

  • CLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.
  • API and SDKs - For all calls, use the Region endpoint us-east-1.

Destructuring the Response

data ListRegexPatternSetsResponse Source #

See: newListRegexPatternSetsResponse smart constructor.

Constructors

ListRegexPatternSetsResponse' 

Fields

  • nextMarker :: Maybe Text

    When you request a list of objects with a Limit setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a NextMarker value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.

  • regexPatternSets :: Maybe [RegexPatternSetSummary]
     
  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListRegexPatternSetsResponse Source # 
Instance details

Defined in Amazonka.WAFV2.ListRegexPatternSets

Associated Types

type Rep ListRegexPatternSetsResponse :: Type -> Type #

Read ListRegexPatternSetsResponse Source # 
Instance details

Defined in Amazonka.WAFV2.ListRegexPatternSets

Show ListRegexPatternSetsResponse Source # 
Instance details

Defined in Amazonka.WAFV2.ListRegexPatternSets

NFData ListRegexPatternSetsResponse Source # 
Instance details

Defined in Amazonka.WAFV2.ListRegexPatternSets

Eq ListRegexPatternSetsResponse Source # 
Instance details

Defined in Amazonka.WAFV2.ListRegexPatternSets

type Rep ListRegexPatternSetsResponse Source # 
Instance details

Defined in Amazonka.WAFV2.ListRegexPatternSets

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

newListRegexPatternSetsResponse Source #

Create a value of ListRegexPatternSetsResponse 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:

ListRegexPatternSets, listRegexPatternSetsResponse_nextMarker - When you request a list of objects with a Limit setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a NextMarker value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.

$sel:regexPatternSets:ListRegexPatternSetsResponse', listRegexPatternSetsResponse_regexPatternSets -

$sel:httpStatus:ListRegexPatternSetsResponse', listRegexPatternSetsResponse_httpStatus - The response's http status code.

Response Lenses

listRegexPatternSetsResponse_nextMarker :: Lens' ListRegexPatternSetsResponse (Maybe Text) Source #

When you request a list of objects with a Limit setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a NextMarker value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.