libZSservicesZSamazonka-wafZSamazonka-waf
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.WAF.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.

This operation returns paginated results.

Synopsis

Creating a Request

data ListIPSets Source #

See: newListIPSets smart constructor.

Constructors

ListIPSets' 

Fields

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

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

Instances

Instances details
Eq ListIPSets Source # 
Instance details

Defined in Amazonka.WAF.ListIPSets

Read ListIPSets Source # 
Instance details

Defined in Amazonka.WAF.ListIPSets

Show ListIPSets Source # 
Instance details

Defined in Amazonka.WAF.ListIPSets

Generic ListIPSets Source # 
Instance details

Defined in Amazonka.WAF.ListIPSets

Associated Types

type Rep ListIPSets :: Type -> Type #

NFData ListIPSets Source # 
Instance details

Defined in Amazonka.WAF.ListIPSets

Methods

rnf :: ListIPSets -> () #

Hashable ListIPSets Source # 
Instance details

Defined in Amazonka.WAF.ListIPSets

ToJSON ListIPSets Source # 
Instance details

Defined in Amazonka.WAF.ListIPSets

AWSPager ListIPSets Source # 
Instance details

Defined in Amazonka.WAF.ListIPSets

AWSRequest ListIPSets Source # 
Instance details

Defined in Amazonka.WAF.ListIPSets

Associated Types

type AWSResponse ListIPSets #

ToHeaders ListIPSets Source # 
Instance details

Defined in Amazonka.WAF.ListIPSets

Methods

toHeaders :: ListIPSets -> [Header] #

ToPath ListIPSets Source # 
Instance details

Defined in Amazonka.WAF.ListIPSets

ToQuery ListIPSets Source # 
Instance details

Defined in Amazonka.WAF.ListIPSets

type Rep ListIPSets Source # 
Instance details

Defined in Amazonka.WAF.ListIPSets

type Rep ListIPSets = D1 ('MetaData "ListIPSets" "Amazonka.WAF.ListIPSets" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "ListIPSets'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse ListIPSets Source # 
Instance details

Defined in Amazonka.WAF.ListIPSets

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:nextMarker: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.

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

Request Lenses

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.

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.

Destructuring the Response

data ListIPSetsResponse Source #

See: newListIPSetsResponse smart constructor.

Constructors

ListIPSetsResponse' 

Fields

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

  • iPSets :: Maybe [IPSetSummary]

    An array of IPSetSummary objects.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListIPSetsResponse Source # 
Instance details

Defined in Amazonka.WAF.ListIPSets

Read ListIPSetsResponse Source # 
Instance details

Defined in Amazonka.WAF.ListIPSets

Show ListIPSetsResponse Source # 
Instance details

Defined in Amazonka.WAF.ListIPSets

Generic ListIPSetsResponse Source # 
Instance details

Defined in Amazonka.WAF.ListIPSets

Associated Types

type Rep ListIPSetsResponse :: Type -> Type #

NFData ListIPSetsResponse Source # 
Instance details

Defined in Amazonka.WAF.ListIPSets

Methods

rnf :: ListIPSetsResponse -> () #

type Rep ListIPSetsResponse Source # 
Instance details

Defined in Amazonka.WAF.ListIPSets

type Rep ListIPSetsResponse = D1 ('MetaData "ListIPSetsResponse" "Amazonka.WAF.ListIPSets" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "ListIPSetsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "iPSets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [IPSetSummary])) :*: 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:nextMarker: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:iPSets:ListIPSetsResponse', listIPSetsResponse_iPSets - An array of IPSetSummary objects.

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