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

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

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

Instances

Instances details
ToJSON ListRuleGroups Source # 
Instance details

Defined in Amazonka.WAFRegional.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

AWSRequest ListRuleGroups Source # 
Instance details

Defined in Amazonka.WAFRegional.ListRuleGroups

Associated Types

type AWSResponse ListRuleGroups #

Generic ListRuleGroups Source # 
Instance details

Defined in Amazonka.WAFRegional.ListRuleGroups

Associated Types

type Rep ListRuleGroups :: Type -> Type #

Read ListRuleGroups Source # 
Instance details

Defined in Amazonka.WAFRegional.ListRuleGroups

Show ListRuleGroups Source # 
Instance details

Defined in Amazonka.WAFRegional.ListRuleGroups

NFData ListRuleGroups Source # 
Instance details

Defined in Amazonka.WAFRegional.ListRuleGroups

Methods

rnf :: ListRuleGroups -> () #

Eq ListRuleGroups Source # 
Instance details

Defined in Amazonka.WAFRegional.ListRuleGroups

Hashable ListRuleGroups Source # 
Instance details

Defined in Amazonka.WAFRegional.ListRuleGroups

type AWSResponse 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" "amazonka-waf-regional-2.0-83dY3vKOuQzAAW7M6EmzRI" 'False) (C1 ('MetaCons "ListRuleGroups'" 'PrefixI 'True) (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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

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.

Request Lenses

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.

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.

Destructuring the Response

data ListRuleGroupsResponse Source #

See: newListRuleGroupsResponse smart constructor.

Constructors

ListRuleGroupsResponse' 

Fields

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

  • ruleGroups :: Maybe [RuleGroupSummary]

    An array of RuleGroup objects.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListRuleGroupsResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListRuleGroups

Associated Types

type Rep ListRuleGroupsResponse :: Type -> Type #

Read ListRuleGroupsResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListRuleGroups

Show ListRuleGroupsResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListRuleGroups

NFData ListRuleGroupsResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListRuleGroups

Methods

rnf :: ListRuleGroupsResponse -> () #

Eq ListRuleGroupsResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListRuleGroups

type Rep ListRuleGroupsResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListRuleGroups

type Rep ListRuleGroupsResponse = D1 ('MetaData "ListRuleGroupsResponse" "Amazonka.WAFRegional.ListRuleGroups" "amazonka-waf-regional-2.0-83dY3vKOuQzAAW7M6EmzRI" 'False) (C1 ('MetaCons "ListRuleGroupsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "ruleGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RuleGroupSummary])) :*: 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:

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

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