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

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 IPSetSummary objects in the response.

Synopsis

Creating a Request

data ListIPSets Source #

See: newListIPSets smart constructor.

Constructors

ListIPSets' 

Fields

  • limit :: Maybe Natural

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

  • nextMarker :: Maybe Text

    AWS WAF returns a NextMarker value in the response that allows you to list another group of IPSets. For the second and subsequent ListIPSets requests, specify the value of NextMarker from the previous response to get information about another batch of IPSets.

Instances

Instances details
ToJSON ListIPSets Source # 
Instance details

Defined in Amazonka.WAFRegional.ListIPSets

ToHeaders ListIPSets Source # 
Instance details

Defined in Amazonka.WAFRegional.ListIPSets

Methods

toHeaders :: ListIPSets -> [Header] #

ToPath ListIPSets Source # 
Instance details

Defined in Amazonka.WAFRegional.ListIPSets

ToQuery ListIPSets Source # 
Instance details

Defined in Amazonka.WAFRegional.ListIPSets

AWSRequest ListIPSets Source # 
Instance details

Defined in Amazonka.WAFRegional.ListIPSets

Associated Types

type AWSResponse ListIPSets #

Generic ListIPSets Source # 
Instance details

Defined in Amazonka.WAFRegional.ListIPSets

Associated Types

type Rep ListIPSets :: Type -> Type #

Read ListIPSets Source # 
Instance details

Defined in Amazonka.WAFRegional.ListIPSets

Show ListIPSets Source # 
Instance details

Defined in Amazonka.WAFRegional.ListIPSets

NFData ListIPSets Source # 
Instance details

Defined in Amazonka.WAFRegional.ListIPSets

Methods

rnf :: ListIPSets -> () #

Eq ListIPSets Source # 
Instance details

Defined in Amazonka.WAFRegional.ListIPSets

Hashable ListIPSets Source # 
Instance details

Defined in Amazonka.WAFRegional.ListIPSets

type AWSResponse ListIPSets Source # 
Instance details

Defined in Amazonka.WAFRegional.ListIPSets

type Rep ListIPSets Source # 
Instance details

Defined in Amazonka.WAFRegional.ListIPSets

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

newListIPSets :: ListIPSets Source #

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

ListIPSets, listIPSets_nextMarker - AWS WAF returns a NextMarker value in the response that allows you to list another group of IPSets. For the second and subsequent ListIPSets requests, specify the value of NextMarker from the previous response to get information about another batch of IPSets.

Request Lenses

listIPSets_limit :: Lens' ListIPSets (Maybe Natural) Source #

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

listIPSets_nextMarker :: Lens' ListIPSets (Maybe Text) Source #

AWS WAF returns a NextMarker value in the response that allows you to list another group of IPSets. For the second and subsequent ListIPSets requests, specify the value of NextMarker from the previous response to get information about another batch of IPSets.

Destructuring the Response

data ListIPSetsResponse Source #

See: newListIPSetsResponse smart constructor.

Constructors

ListIPSetsResponse' 

Fields

  • iPSets :: Maybe [IPSetSummary]

    An array of IPSetSummary objects.

  • nextMarker :: Maybe Text

    To list more IPSet objects, submit another ListIPSets request, and in the next request use the NextMarker response value as the NextMarker value.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListIPSetsResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListIPSets

Associated Types

type Rep ListIPSetsResponse :: Type -> Type #

Read ListIPSetsResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListIPSets

Show ListIPSetsResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListIPSets

NFData ListIPSetsResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListIPSets

Methods

rnf :: ListIPSetsResponse -> () #

Eq ListIPSetsResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListIPSets

type Rep ListIPSetsResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListIPSets

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

newListIPSetsResponse Source #

Create a value of ListIPSetsResponse 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:iPSets:ListIPSetsResponse', listIPSetsResponse_iPSets - An array of IPSetSummary objects.

ListIPSets, listIPSetsResponse_nextMarker - To list more IPSet objects, submit another ListIPSets request, and in the next request use the NextMarker response value as the NextMarker value.

$sel:httpStatus:ListIPSetsResponse', listIPSetsResponse_httpStatus - The response's http status code.

Response Lenses

listIPSetsResponse_nextMarker :: Lens' ListIPSetsResponse (Maybe Text) Source #

To list more IPSet objects, submit another ListIPSets request, and in the next request use the NextMarker response value as the NextMarker value.