| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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
- data ListActivatedRulesInRuleGroup = ListActivatedRulesInRuleGroup' {
- limit :: Maybe Natural
- nextMarker :: Maybe Text
- ruleGroupId :: Maybe Text
- newListActivatedRulesInRuleGroup :: ListActivatedRulesInRuleGroup
- listActivatedRulesInRuleGroup_limit :: Lens' ListActivatedRulesInRuleGroup (Maybe Natural)
- listActivatedRulesInRuleGroup_nextMarker :: Lens' ListActivatedRulesInRuleGroup (Maybe Text)
- listActivatedRulesInRuleGroup_ruleGroupId :: Lens' ListActivatedRulesInRuleGroup (Maybe Text)
- data ListActivatedRulesInRuleGroupResponse = ListActivatedRulesInRuleGroupResponse' {
- activatedRules :: Maybe [ActivatedRule]
- nextMarker :: Maybe Text
- httpStatus :: Int
- newListActivatedRulesInRuleGroupResponse :: Int -> ListActivatedRulesInRuleGroupResponse
- listActivatedRulesInRuleGroupResponse_activatedRules :: Lens' ListActivatedRulesInRuleGroupResponse (Maybe [ActivatedRule])
- listActivatedRulesInRuleGroupResponse_nextMarker :: Lens' ListActivatedRulesInRuleGroupResponse (Maybe Text)
- listActivatedRulesInRuleGroupResponse_httpStatus :: Lens' ListActivatedRulesInRuleGroupResponse Int
Creating a Request
data ListActivatedRulesInRuleGroup Source #
See: newListActivatedRulesInRuleGroup smart constructor.
Constructors
| ListActivatedRulesInRuleGroup' | |
Fields
| |
Instances
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 #
See: newListActivatedRulesInRuleGroupResponse smart constructor.
Constructors
| ListActivatedRulesInRuleGroupResponse' | |
Fields
| |
Instances
newListActivatedRulesInRuleGroupResponse Source #
Arguments
| :: Int | |
| -> ListActivatedRulesInRuleGroupResponse |
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_activatedRules :: Lens' ListActivatedRulesInRuleGroupResponse (Maybe [ActivatedRule]) Source #
An array of ActivatedRules objects.
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.
listActivatedRulesInRuleGroupResponse_httpStatus :: Lens' ListActivatedRulesInRuleGroupResponse Int Source #
The response's http status code.