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

Description

This is AWS WAF Classic 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 GeoMatchSetSummary objects in the response.

Synopsis

Creating a Request

data ListGeoMatchSets Source #

See: newListGeoMatchSets smart constructor.

Constructors

ListGeoMatchSets' 

Fields

  • limit :: Maybe Natural

    Specifies the number of GeoMatchSet objects that you want AWS WAF to return for this request. If you have more GeoMatchSet objects than the number you specify for Limit, the response includes a NextMarker value that you can use to get another batch of GeoMatchSet objects.

  • nextMarker :: Maybe Text

    If you specify a value for Limit and you have more GeoMatchSets than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of GeoMatchSet objects. For the second and subsequent ListGeoMatchSets requests, specify the value of NextMarker from the previous response to get information about another batch of GeoMatchSet objects.

Instances

Instances details
ToJSON ListGeoMatchSets Source # 
Instance details

Defined in Amazonka.WAFRegional.ListGeoMatchSets

ToHeaders ListGeoMatchSets Source # 
Instance details

Defined in Amazonka.WAFRegional.ListGeoMatchSets

ToPath ListGeoMatchSets Source # 
Instance details

Defined in Amazonka.WAFRegional.ListGeoMatchSets

ToQuery ListGeoMatchSets Source # 
Instance details

Defined in Amazonka.WAFRegional.ListGeoMatchSets

AWSRequest ListGeoMatchSets Source # 
Instance details

Defined in Amazonka.WAFRegional.ListGeoMatchSets

Associated Types

type AWSResponse ListGeoMatchSets #

Generic ListGeoMatchSets Source # 
Instance details

Defined in Amazonka.WAFRegional.ListGeoMatchSets

Associated Types

type Rep ListGeoMatchSets :: Type -> Type #

Read ListGeoMatchSets Source # 
Instance details

Defined in Amazonka.WAFRegional.ListGeoMatchSets

Show ListGeoMatchSets Source # 
Instance details

Defined in Amazonka.WAFRegional.ListGeoMatchSets

NFData ListGeoMatchSets Source # 
Instance details

Defined in Amazonka.WAFRegional.ListGeoMatchSets

Methods

rnf :: ListGeoMatchSets -> () #

Eq ListGeoMatchSets Source # 
Instance details

Defined in Amazonka.WAFRegional.ListGeoMatchSets

Hashable ListGeoMatchSets Source # 
Instance details

Defined in Amazonka.WAFRegional.ListGeoMatchSets

type AWSResponse ListGeoMatchSets Source # 
Instance details

Defined in Amazonka.WAFRegional.ListGeoMatchSets

type Rep ListGeoMatchSets Source # 
Instance details

Defined in Amazonka.WAFRegional.ListGeoMatchSets

type Rep ListGeoMatchSets = D1 ('MetaData "ListGeoMatchSets" "Amazonka.WAFRegional.ListGeoMatchSets" "amazonka-waf-regional-2.0-83dY3vKOuQzAAW7M6EmzRI" 'False) (C1 ('MetaCons "ListGeoMatchSets'" 'PrefixI 'True) (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListGeoMatchSets :: ListGeoMatchSets Source #

Create a value of ListGeoMatchSets 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:limit:ListGeoMatchSets', listGeoMatchSets_limit - Specifies the number of GeoMatchSet objects that you want AWS WAF to return for this request. If you have more GeoMatchSet objects than the number you specify for Limit, the response includes a NextMarker value that you can use to get another batch of GeoMatchSet objects.

ListGeoMatchSets, listGeoMatchSets_nextMarker - If you specify a value for Limit and you have more GeoMatchSets than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of GeoMatchSet objects. For the second and subsequent ListGeoMatchSets requests, specify the value of NextMarker from the previous response to get information about another batch of GeoMatchSet objects.

Request Lenses

listGeoMatchSets_limit :: Lens' ListGeoMatchSets (Maybe Natural) Source #

Specifies the number of GeoMatchSet objects that you want AWS WAF to return for this request. If you have more GeoMatchSet objects than the number you specify for Limit, the response includes a NextMarker value that you can use to get another batch of GeoMatchSet objects.

listGeoMatchSets_nextMarker :: Lens' ListGeoMatchSets (Maybe Text) Source #

If you specify a value for Limit and you have more GeoMatchSets than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of GeoMatchSet objects. For the second and subsequent ListGeoMatchSets requests, specify the value of NextMarker from the previous response to get information about another batch of GeoMatchSet objects.

Destructuring the Response

data ListGeoMatchSetsResponse Source #

See: newListGeoMatchSetsResponse smart constructor.

Constructors

ListGeoMatchSetsResponse' 

Fields

  • geoMatchSets :: Maybe [GeoMatchSetSummary]

    An array of GeoMatchSetSummary objects.

  • nextMarker :: Maybe Text

    If you have more GeoMatchSet objects than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more GeoMatchSet objects, submit another ListGeoMatchSets request, and specify the NextMarker value from the response in the NextMarker value in the next request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListGeoMatchSetsResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListGeoMatchSets

Associated Types

type Rep ListGeoMatchSetsResponse :: Type -> Type #

Read ListGeoMatchSetsResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListGeoMatchSets

Show ListGeoMatchSetsResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListGeoMatchSets

NFData ListGeoMatchSetsResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListGeoMatchSets

Eq ListGeoMatchSetsResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListGeoMatchSets

type Rep ListGeoMatchSetsResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListGeoMatchSets

type Rep ListGeoMatchSetsResponse = D1 ('MetaData "ListGeoMatchSetsResponse" "Amazonka.WAFRegional.ListGeoMatchSets" "amazonka-waf-regional-2.0-83dY3vKOuQzAAW7M6EmzRI" 'False) (C1 ('MetaCons "ListGeoMatchSetsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "geoMatchSets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GeoMatchSetSummary])) :*: (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListGeoMatchSetsResponse Source #

Create a value of ListGeoMatchSetsResponse 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:geoMatchSets:ListGeoMatchSetsResponse', listGeoMatchSetsResponse_geoMatchSets - An array of GeoMatchSetSummary objects.

ListGeoMatchSets, listGeoMatchSetsResponse_nextMarker - If you have more GeoMatchSet objects than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more GeoMatchSet objects, submit another ListGeoMatchSets request, and specify the NextMarker value from the response in the NextMarker value in the next request.

$sel:httpStatus:ListGeoMatchSetsResponse', listGeoMatchSetsResponse_httpStatus - The response's http status code.

Response Lenses

listGeoMatchSetsResponse_nextMarker :: Lens' ListGeoMatchSetsResponse (Maybe Text) Source #

If you have more GeoMatchSet objects than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more GeoMatchSet objects, submit another ListGeoMatchSets request, and specify the NextMarker value from the response in the NextMarker value in the next request.