amazonka-waf-2.0: Amazon WAF 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.WAF.ListXssMatchSets

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 XssMatchSet objects.

This operation returns paginated results.

Synopsis

Creating a Request

data ListXssMatchSets Source #

A request to list the XssMatchSet objects created by the current AWS account.

See: newListXssMatchSets smart constructor.

Constructors

ListXssMatchSets' 

Fields

  • limit :: Maybe Natural

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

  • nextMarker :: Maybe Text

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

Instances

Instances details
ToJSON ListXssMatchSets Source # 
Instance details

Defined in Amazonka.WAF.ListXssMatchSets

ToHeaders ListXssMatchSets Source # 
Instance details

Defined in Amazonka.WAF.ListXssMatchSets

ToPath ListXssMatchSets Source # 
Instance details

Defined in Amazonka.WAF.ListXssMatchSets

ToQuery ListXssMatchSets Source # 
Instance details

Defined in Amazonka.WAF.ListXssMatchSets

AWSPager ListXssMatchSets Source # 
Instance details

Defined in Amazonka.WAF.ListXssMatchSets

AWSRequest ListXssMatchSets Source # 
Instance details

Defined in Amazonka.WAF.ListXssMatchSets

Associated Types

type AWSResponse ListXssMatchSets #

Generic ListXssMatchSets Source # 
Instance details

Defined in Amazonka.WAF.ListXssMatchSets

Associated Types

type Rep ListXssMatchSets :: Type -> Type #

Read ListXssMatchSets Source # 
Instance details

Defined in Amazonka.WAF.ListXssMatchSets

Show ListXssMatchSets Source # 
Instance details

Defined in Amazonka.WAF.ListXssMatchSets

NFData ListXssMatchSets Source # 
Instance details

Defined in Amazonka.WAF.ListXssMatchSets

Methods

rnf :: ListXssMatchSets -> () #

Eq ListXssMatchSets Source # 
Instance details

Defined in Amazonka.WAF.ListXssMatchSets

Hashable ListXssMatchSets Source # 
Instance details

Defined in Amazonka.WAF.ListXssMatchSets

type AWSResponse ListXssMatchSets Source # 
Instance details

Defined in Amazonka.WAF.ListXssMatchSets

type Rep ListXssMatchSets Source # 
Instance details

Defined in Amazonka.WAF.ListXssMatchSets

type Rep ListXssMatchSets = D1 ('MetaData "ListXssMatchSets" "Amazonka.WAF.ListXssMatchSets" "amazonka-waf-2.0-7D7QOxIEZeF1ayfX9AzEZC" 'False) (C1 ('MetaCons "ListXssMatchSets'" 'PrefixI 'True) (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListXssMatchSets :: ListXssMatchSets Source #

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

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

Request Lenses

listXssMatchSets_limit :: Lens' ListXssMatchSets (Maybe Natural) Source #

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

listXssMatchSets_nextMarker :: Lens' ListXssMatchSets (Maybe Text) Source #

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

Destructuring the Response

data ListXssMatchSetsResponse Source #

The response to a ListXssMatchSets request.

See: newListXssMatchSetsResponse smart constructor.

Constructors

ListXssMatchSetsResponse' 

Fields

  • nextMarker :: Maybe Text

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

  • xssMatchSets :: Maybe [XssMatchSetSummary]

    An array of XssMatchSetSummary objects.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListXssMatchSetsResponse Source # 
Instance details

Defined in Amazonka.WAF.ListXssMatchSets

Associated Types

type Rep ListXssMatchSetsResponse :: Type -> Type #

Read ListXssMatchSetsResponse Source # 
Instance details

Defined in Amazonka.WAF.ListXssMatchSets

Show ListXssMatchSetsResponse Source # 
Instance details

Defined in Amazonka.WAF.ListXssMatchSets

NFData ListXssMatchSetsResponse Source # 
Instance details

Defined in Amazonka.WAF.ListXssMatchSets

Eq ListXssMatchSetsResponse Source # 
Instance details

Defined in Amazonka.WAF.ListXssMatchSets

type Rep ListXssMatchSetsResponse Source # 
Instance details

Defined in Amazonka.WAF.ListXssMatchSets

type Rep ListXssMatchSetsResponse = D1 ('MetaData "ListXssMatchSetsResponse" "Amazonka.WAF.ListXssMatchSets" "amazonka-waf-2.0-7D7QOxIEZeF1ayfX9AzEZC" 'False) (C1 ('MetaCons "ListXssMatchSetsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "xssMatchSets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [XssMatchSetSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListXssMatchSetsResponse Source #

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

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

$sel:xssMatchSets:ListXssMatchSetsResponse', listXssMatchSetsResponse_xssMatchSets - An array of XssMatchSetSummary objects.

$sel:httpStatus:ListXssMatchSetsResponse', listXssMatchSetsResponse_httpStatus - The response's http status code.

Response Lenses

listXssMatchSetsResponse_nextMarker :: Lens' ListXssMatchSetsResponse (Maybe Text) Source #

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