libZSservicesZSamazonka-waf-regionalZSamazonka-waf-regional
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.WAFRegional.ListRuleGroups

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

Synopsis

Creating a Request

data ListRuleGroups Source #

See: newListRuleGroups smart constructor.

Constructors

ListRuleGroups' 

Fields

  • nextMarker :: Maybe Text

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

  • limit :: Maybe Natural

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

Instances

Instances details
Eq ListRuleGroups Source # 
Instance details

Defined in Amazonka.WAFRegional.ListRuleGroups

Read ListRuleGroups Source # 
Instance details

Defined in Amazonka.WAFRegional.ListRuleGroups

Show ListRuleGroups Source # 
Instance details

Defined in Amazonka.WAFRegional.ListRuleGroups

Generic ListRuleGroups Source # 
Instance details

Defined in Amazonka.WAFRegional.ListRuleGroups

Associated Types

type Rep ListRuleGroups :: Type -> Type #

NFData ListRuleGroups Source # 
Instance details

Defined in Amazonka.WAFRegional.ListRuleGroups

Methods

rnf :: ListRuleGroups -> () #

Hashable ListRuleGroups Source # 
Instance details

Defined in Amazonka.WAFRegional.ListRuleGroups

ToJSON ListRuleGroups Source # 
Instance details

Defined in Amazonka.WAFRegional.ListRuleGroups

AWSRequest ListRuleGroups Source # 
Instance details

Defined in Amazonka.WAFRegional.ListRuleGroups

Associated Types

type AWSResponse ListRuleGroups #

ToHeaders ListRuleGroups Source # 
Instance details

Defined in Amazonka.WAFRegional.ListRuleGroups

ToPath ListRuleGroups Source # 
Instance details

Defined in Amazonka.WAFRegional.ListRuleGroups

ToQuery ListRuleGroups Source # 
Instance details

Defined in Amazonka.WAFRegional.ListRuleGroups

type Rep ListRuleGroups Source # 
Instance details

Defined in Amazonka.WAFRegional.ListRuleGroups

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

Defined in Amazonka.WAFRegional.ListRuleGroups

newListRuleGroups :: ListRuleGroups Source #

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

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

Request Lenses

listRuleGroups_nextMarker :: Lens' ListRuleGroups (Maybe Text) Source #

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

listRuleGroups_limit :: Lens' ListRuleGroups (Maybe Natural) Source #

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

Destructuring the Response

data ListRuleGroupsResponse Source #

See: newListRuleGroupsResponse smart constructor.

Constructors

ListRuleGroupsResponse' 

Fields

  • ruleGroups :: Maybe [RuleGroupSummary]

    An array of RuleGroup objects.

  • nextMarker :: Maybe Text

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

Defined in Amazonka.WAFRegional.ListRuleGroups

Read ListRuleGroupsResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListRuleGroups

Show ListRuleGroupsResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListRuleGroups

Generic ListRuleGroupsResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListRuleGroups

Associated Types

type Rep ListRuleGroupsResponse :: Type -> Type #

NFData ListRuleGroupsResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListRuleGroups

Methods

rnf :: ListRuleGroupsResponse -> () #

type Rep ListRuleGroupsResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListRuleGroups

type Rep ListRuleGroupsResponse = D1 ('MetaData "ListRuleGroupsResponse" "Amazonka.WAFRegional.ListRuleGroups" "libZSservicesZSamazonka-waf-regionalZSamazonka-waf-regional" 'False) (C1 ('MetaCons "ListRuleGroupsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ruleGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RuleGroupSummary])) :*: (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListRuleGroupsResponse Source #

Create a value of ListRuleGroupsResponse 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:ruleGroups:ListRuleGroupsResponse', listRuleGroupsResponse_ruleGroups - An array of RuleGroup objects.

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

$sel:httpStatus:ListRuleGroupsResponse', listRuleGroupsResponse_httpStatus - The response's http status code.

Response Lenses

listRuleGroupsResponse_nextMarker :: Lens' ListRuleGroupsResponse (Maybe Text) Source #

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