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

  • ruleGroupId :: Maybe Text

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

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

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

Instances

Instances details
Eq ListActivatedRulesInRuleGroup Source # 
Instance details

Defined in Amazonka.WAFRegional.ListActivatedRulesInRuleGroup

Read ListActivatedRulesInRuleGroup Source # 
Instance details

Defined in Amazonka.WAFRegional.ListActivatedRulesInRuleGroup

Show 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 #

NFData ListActivatedRulesInRuleGroup Source # 
Instance details

Defined in Amazonka.WAFRegional.ListActivatedRulesInRuleGroup

Hashable ListActivatedRulesInRuleGroup Source # 
Instance details

Defined in Amazonka.WAFRegional.ListActivatedRulesInRuleGroup

ToJSON ListActivatedRulesInRuleGroup Source # 
Instance details

Defined in Amazonka.WAFRegional.ListActivatedRulesInRuleGroup

AWSRequest 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

type Rep ListActivatedRulesInRuleGroup Source # 
Instance details

Defined in Amazonka.WAFRegional.ListActivatedRulesInRuleGroup

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

Defined in Amazonka.WAFRegional.ListActivatedRulesInRuleGroup

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:ruleGroupId:ListActivatedRulesInRuleGroup', listActivatedRulesInRuleGroup_ruleGroupId - The RuleGroupId of the RuleGroup for which you want to get a list of ActivatedRule objects.

$sel:nextMarker: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.

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

Request Lenses

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

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

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

Destructuring the Response

data ListActivatedRulesInRuleGroupResponse Source #

Constructors

ListActivatedRulesInRuleGroupResponse' 

Fields

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

  • activatedRules :: Maybe [ActivatedRule]

    An array of ActivatedRules objects.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq 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

Generic ListActivatedRulesInRuleGroupResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.ListActivatedRulesInRuleGroup

NFData 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" "libZSservicesZSamazonka-waf-regionalZSamazonka-waf-regional" 'False) (C1 ('MetaCons "ListActivatedRulesInRuleGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "activatedRules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ActivatedRule])) :*: 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:nextMarker: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:activatedRules:ListActivatedRulesInRuleGroupResponse', listActivatedRulesInRuleGroupResponse_activatedRules - An array of ActivatedRules objects.

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