| 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.ListSubscribedRuleGroups
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 that you are subscribed to.
Synopsis
- data ListSubscribedRuleGroups = ListSubscribedRuleGroups' {}
- newListSubscribedRuleGroups :: ListSubscribedRuleGroups
- listSubscribedRuleGroups_limit :: Lens' ListSubscribedRuleGroups (Maybe Natural)
- listSubscribedRuleGroups_nextMarker :: Lens' ListSubscribedRuleGroups (Maybe Text)
- data ListSubscribedRuleGroupsResponse = ListSubscribedRuleGroupsResponse' {}
- newListSubscribedRuleGroupsResponse :: Int -> ListSubscribedRuleGroupsResponse
- listSubscribedRuleGroupsResponse_nextMarker :: Lens' ListSubscribedRuleGroupsResponse (Maybe Text)
- listSubscribedRuleGroupsResponse_ruleGroups :: Lens' ListSubscribedRuleGroupsResponse (Maybe [SubscribedRuleGroupSummary])
- listSubscribedRuleGroupsResponse_httpStatus :: Lens' ListSubscribedRuleGroupsResponse Int
Creating a Request
data ListSubscribedRuleGroups Source #
See: newListSubscribedRuleGroups smart constructor.
Constructors
| ListSubscribedRuleGroups' | |
Fields
| |
Instances
newListSubscribedRuleGroups :: ListSubscribedRuleGroups Source #
Create a value of ListSubscribedRuleGroups 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:ListSubscribedRuleGroups', listSubscribedRuleGroups_limit - Specifies the number of subscribed rule groups that you want AWS WAF to
return for this request. If you have more objects than the number you
specify for Limit, the response includes a NextMarker value that you
can use to get another batch of objects.
ListSubscribedRuleGroups, listSubscribedRuleGroups_nextMarker - If you specify a value for Limit and you have more
ByteMatchSetssubscribed rule groups than the value of Limit, AWS WAF
returns a NextMarker value in the response that allows you to list
another group of subscribed rule groups. For the second and subsequent
ListSubscribedRuleGroupsRequest requests, specify the value of
NextMarker from the previous response to get information about another
batch of subscribed rule groups.
Request Lenses
listSubscribedRuleGroups_limit :: Lens' ListSubscribedRuleGroups (Maybe Natural) Source #
Specifies the number of subscribed rule groups that you want AWS WAF to
return for this request. If you have more objects than the number you
specify for Limit, the response includes a NextMarker value that you
can use to get another batch of objects.
listSubscribedRuleGroups_nextMarker :: Lens' ListSubscribedRuleGroups (Maybe Text) Source #
If you specify a value for Limit and you have more
ByteMatchSetssubscribed rule groups than the value of Limit, AWS WAF
returns a NextMarker value in the response that allows you to list
another group of subscribed rule groups. For the second and subsequent
ListSubscribedRuleGroupsRequest requests, specify the value of
NextMarker from the previous response to get information about another
batch of subscribed rule groups.
Destructuring the Response
data ListSubscribedRuleGroupsResponse Source #
See: newListSubscribedRuleGroupsResponse smart constructor.
Constructors
| ListSubscribedRuleGroupsResponse' | |
Fields
| |
Instances
newListSubscribedRuleGroupsResponse Source #
Create a value of ListSubscribedRuleGroupsResponse 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:
ListSubscribedRuleGroups, listSubscribedRuleGroupsResponse_nextMarker - If you have more objects than the number that you specified for Limit
in the request, the response includes a NextMarker value. To list more
objects, submit another ListSubscribedRuleGroups request, and specify
the NextMarker value from the response in the NextMarker value in
the next request.
$sel:ruleGroups:ListSubscribedRuleGroupsResponse', listSubscribedRuleGroupsResponse_ruleGroups - An array of RuleGroup objects.
$sel:httpStatus:ListSubscribedRuleGroupsResponse', listSubscribedRuleGroupsResponse_httpStatus - The response's http status code.
Response Lenses
listSubscribedRuleGroupsResponse_nextMarker :: Lens' ListSubscribedRuleGroupsResponse (Maybe Text) Source #
If you have more objects than the number that you specified for Limit
in the request, the response includes a NextMarker value. To list more
objects, submit another ListSubscribedRuleGroups request, and specify
the NextMarker value from the response in the NextMarker value in
the next request.
listSubscribedRuleGroupsResponse_ruleGroups :: Lens' ListSubscribedRuleGroupsResponse (Maybe [SubscribedRuleGroupSummary]) Source #
An array of RuleGroup objects.
listSubscribedRuleGroupsResponse_httpStatus :: Lens' ListSubscribedRuleGroupsResponse Int Source #
The response's http status code.