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

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

Synopsis

Creating a Request

data ListActivatedRulesInRuleGroup Source #

See: newListActivatedRulesInRuleGroup smart constructor.

Constructors

ListActivatedRulesInRuleGroup' 

Fields

  • limit :: Maybe Natural

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

  • nextMarker :: Maybe Text

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

  • ruleGroupId :: Maybe Text

    The RuleGroupId of the RuleGroup for which you want to get a list of ActivatedRule objects.

Instances

Instances details
ToJSON ListActivatedRulesInRuleGroup Source # 
Instance details

Defined in Amazonka.WAFRegional.ListActivatedRulesInRuleGroup

ToHeaders ListActivatedRulesInRuleGroup Source # 
Instance details

Defined in Amazonka.WAFRegional.ListActivatedRulesInRuleGroup

ToPath ListActivatedRulesInRuleGroup Source # 
Instance details

Defined in Amazonka.WAFRegional.ListActivatedRulesInRuleGroup

ToQuery ListActivatedRulesInRuleGroup Source # 
Instance details

Defined in Amazonka.WAFRegional.ListActivatedRulesInRuleGroup

AWSRequest ListActivatedRulesInRuleGroup Source # 
Instance details

Defined in Amazonka.WAFRegional.ListActivatedRulesInRuleGroup

Generic ListActivatedRulesInRuleGroup Source # 
Instance details

Defined in Amazonka.WAFRegional.ListActivatedRulesInRuleGroup

Associated Types

type Rep ListActivatedRulesInRuleGroup :: Type -> Type #

Read ListActivatedRulesInRuleGroup Source # 
Instance details

Defined in Amazonka.WAFRegional.ListActivatedRulesInRuleGroup

Show ListActivatedRulesInRuleGroup Source # 
Instance details

Defined in Amazonka.WAFRegional.ListActivatedRulesInRuleGroup

NFData ListActivatedRulesInRuleGroup Source # 
Instance details

Defined in Amazonka.WAFRegional.ListActivatedRulesInRuleGroup

Eq ListActivatedRulesInRuleGroup Source # 
Instance details

Defined in Amazonka.WAFRegional.ListActivatedRulesInRuleGroup

Hashable ListActivatedRulesInRuleGroup Source # 
Instance details

Defined in Amazonka.WAFRegional.ListActivatedRulesInRuleGroup

type AWSResponse ListActivatedRulesInRuleGroup Source # 
Instance details

Defined in Amazonka.WAFRegional.ListActivatedRulesInRuleGroup

type Rep ListActivatedRulesInRuleGroup Source # 
Instance details

Defined in Amazonka.WAFRegional.ListActivatedRulesInRuleGroup

type Rep ListActivatedRulesInRuleGroup = D1 ('MetaData "ListActivatedRulesInRuleGroup" "Amazonka.WAFRegional.ListActivatedRulesInRuleGroup" "amazonka-waf-regional-2.0-83dY3vKOuQzAAW7M6EmzRI" 'False) (C1 ('MetaCons "ListActivatedRulesInRuleGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ruleGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newListActivatedRulesInRuleGroup :: ListActivatedRulesInRuleGroup Source #

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

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

ListActivatedRulesInRuleGroup, listActivatedRulesInRuleGroup_ruleGroupId - The RuleGroupId of the RuleGroup for which you want to get a list of ActivatedRule objects.

Request Lenses

listActivatedRulesInRuleGroup_limit :: Lens' ListActivatedRulesInRuleGroup (Maybe Natural) Source #

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

listActivatedRulesInRuleGroup_nextMarker :: Lens' ListActivatedRulesInRuleGroup (Maybe Text) Source #

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

listActivatedRulesInRuleGroup_ruleGroupId :: Lens' ListActivatedRulesInRuleGroup (Maybe Text) Source #

The RuleGroupId of the RuleGroup for which you want to get a list of ActivatedRule objects.

Destructuring the Response

data ListActivatedRulesInRuleGroupResponse Source #

Constructors

ListActivatedRulesInRuleGroupResponse' 

Fields

  • activatedRules :: Maybe [ActivatedRule]

    An array of ActivatedRules objects.

  • nextMarker :: Maybe Text

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

Defined in Amazonka.WAFRegional.ListActivatedRulesInRuleGroup

Read ListActivatedRulesInRuleGroupResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListActivatedRulesInRuleGroup

Show ListActivatedRulesInRuleGroupResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListActivatedRulesInRuleGroup

NFData ListActivatedRulesInRuleGroupResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListActivatedRulesInRuleGroup

Eq ListActivatedRulesInRuleGroupResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListActivatedRulesInRuleGroup

type Rep ListActivatedRulesInRuleGroupResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListActivatedRulesInRuleGroup

type Rep ListActivatedRulesInRuleGroupResponse = D1 ('MetaData "ListActivatedRulesInRuleGroupResponse" "Amazonka.WAFRegional.ListActivatedRulesInRuleGroup" "amazonka-waf-regional-2.0-83dY3vKOuQzAAW7M6EmzRI" 'False) (C1 ('MetaCons "ListActivatedRulesInRuleGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "activatedRules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ActivatedRule])) :*: (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListActivatedRulesInRuleGroupResponse Source #

Create a value of ListActivatedRulesInRuleGroupResponse 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:activatedRules:ListActivatedRulesInRuleGroupResponse', listActivatedRulesInRuleGroupResponse_activatedRules - An array of ActivatedRules objects.

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

$sel:httpStatus:ListActivatedRulesInRuleGroupResponse', listActivatedRulesInRuleGroupResponse_httpStatus - The response's http status code.

Response Lenses

listActivatedRulesInRuleGroupResponse_nextMarker :: Lens' ListActivatedRulesInRuleGroupResponse (Maybe Text) Source #

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