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

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

This operation returns paginated results.

Synopsis

Creating a Request

data ListRateBasedRules Source #

See: newListRateBasedRules smart constructor.

Constructors

ListRateBasedRules' 

Fields

  • nextMarker :: Maybe Text

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

  • limit :: Maybe Natural

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

Instances

Instances details
Eq ListRateBasedRules Source # 
Instance details

Defined in Amazonka.WAF.ListRateBasedRules

Read ListRateBasedRules Source # 
Instance details

Defined in Amazonka.WAF.ListRateBasedRules

Show ListRateBasedRules Source # 
Instance details

Defined in Amazonka.WAF.ListRateBasedRules

Generic ListRateBasedRules Source # 
Instance details

Defined in Amazonka.WAF.ListRateBasedRules

Associated Types

type Rep ListRateBasedRules :: Type -> Type #

NFData ListRateBasedRules Source # 
Instance details

Defined in Amazonka.WAF.ListRateBasedRules

Methods

rnf :: ListRateBasedRules -> () #

Hashable ListRateBasedRules Source # 
Instance details

Defined in Amazonka.WAF.ListRateBasedRules

ToJSON ListRateBasedRules Source # 
Instance details

Defined in Amazonka.WAF.ListRateBasedRules

AWSPager ListRateBasedRules Source # 
Instance details

Defined in Amazonka.WAF.ListRateBasedRules

AWSRequest ListRateBasedRules Source # 
Instance details

Defined in Amazonka.WAF.ListRateBasedRules

Associated Types

type AWSResponse ListRateBasedRules #

ToHeaders ListRateBasedRules Source # 
Instance details

Defined in Amazonka.WAF.ListRateBasedRules

ToPath ListRateBasedRules Source # 
Instance details

Defined in Amazonka.WAF.ListRateBasedRules

ToQuery ListRateBasedRules Source # 
Instance details

Defined in Amazonka.WAF.ListRateBasedRules

type Rep ListRateBasedRules Source # 
Instance details

Defined in Amazonka.WAF.ListRateBasedRules

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

Defined in Amazonka.WAF.ListRateBasedRules

newListRateBasedRules :: ListRateBasedRules Source #

Create a value of ListRateBasedRules 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:ListRateBasedRules', listRateBasedRules_nextMarker - If you specify a value for Limit and you have more Rules than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of Rules. For the second and subsequent ListRateBasedRules requests, specify the value of NextMarker from the previous response to get information about another batch of Rules.

$sel:limit:ListRateBasedRules', listRateBasedRules_limit - Specifies the number of Rules that you want AWS WAF to return for this request. If you have more Rules than the number that you specify for Limit, the response includes a NextMarker value that you can use to get another batch of Rules.

Request Lenses

listRateBasedRules_nextMarker :: Lens' ListRateBasedRules (Maybe Text) Source #

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

listRateBasedRules_limit :: Lens' ListRateBasedRules (Maybe Natural) Source #

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

Destructuring the Response

data ListRateBasedRulesResponse Source #

See: newListRateBasedRulesResponse smart constructor.

Constructors

ListRateBasedRulesResponse' 

Fields

  • rules :: Maybe [RuleSummary]

    An array of RuleSummary objects.

  • nextMarker :: Maybe Text

    If you have more Rules than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more Rules, submit another ListRateBasedRules 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
Eq ListRateBasedRulesResponse Source # 
Instance details

Defined in Amazonka.WAF.ListRateBasedRules

Read ListRateBasedRulesResponse Source # 
Instance details

Defined in Amazonka.WAF.ListRateBasedRules

Show ListRateBasedRulesResponse Source # 
Instance details

Defined in Amazonka.WAF.ListRateBasedRules

Generic ListRateBasedRulesResponse Source # 
Instance details

Defined in Amazonka.WAF.ListRateBasedRules

Associated Types

type Rep ListRateBasedRulesResponse :: Type -> Type #

NFData ListRateBasedRulesResponse Source # 
Instance details

Defined in Amazonka.WAF.ListRateBasedRules

type Rep ListRateBasedRulesResponse Source # 
Instance details

Defined in Amazonka.WAF.ListRateBasedRules

type Rep ListRateBasedRulesResponse = D1 ('MetaData "ListRateBasedRulesResponse" "Amazonka.WAF.ListRateBasedRules" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "ListRateBasedRulesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "rules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RuleSummary])) :*: (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListRateBasedRulesResponse Source #

Create a value of ListRateBasedRulesResponse 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:rules:ListRateBasedRulesResponse', listRateBasedRulesResponse_rules - An array of RuleSummary objects.

$sel:nextMarker:ListRateBasedRules', listRateBasedRulesResponse_nextMarker - If you have more Rules than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more Rules, submit another ListRateBasedRules request, and specify the NextMarker value from the response in the NextMarker value in the next request.

$sel:httpStatus:ListRateBasedRulesResponse', listRateBasedRulesResponse_httpStatus - The response's http status code.

Response Lenses

listRateBasedRulesResponse_nextMarker :: Lens' ListRateBasedRulesResponse (Maybe Text) Source #

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