| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.WAF.ListSubscribedRuleGroups
Description
Returns an array of RuleGroup objects that you are subscribed to.
Synopsis
- listSubscribedRuleGroups :: ListSubscribedRuleGroups
- data ListSubscribedRuleGroups
- lsrgNextMarker :: Lens' ListSubscribedRuleGroups (Maybe Text)
- lsrgLimit :: Lens' ListSubscribedRuleGroups (Maybe Natural)
- listSubscribedRuleGroupsResponse :: Int -> ListSubscribedRuleGroupsResponse
- data ListSubscribedRuleGroupsResponse
- lsrgrsRuleGroups :: Lens' ListSubscribedRuleGroupsResponse [SubscribedRuleGroupSummary]
- lsrgrsNextMarker :: Lens' ListSubscribedRuleGroupsResponse (Maybe Text)
- lsrgrsResponseStatus :: Lens' ListSubscribedRuleGroupsResponse Int
Creating a Request
listSubscribedRuleGroups :: ListSubscribedRuleGroups Source #
Creates a value of ListSubscribedRuleGroups with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lsrgNextMarker- If you specify a value forLimitand you have moreByteMatchSetssubscribed rule groups than the value ofLimit, AWS WAF returns aNextMarkervalue in the response that allows you to list another group of subscribed rule groups. For the second and subsequentListSubscribedRuleGroupsRequestrequests, specify the value ofNextMarkerfrom the previous response to get information about another batch of subscribed rule groups.lsrgLimit- 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 forLimit, the response includes aNextMarkervalue that you can use to get another batch of objects.
data ListSubscribedRuleGroups Source #
See: listSubscribedRuleGroups smart constructor.
Instances
Request Lenses
lsrgNextMarker :: Lens' ListSubscribedRuleGroups (Maybe Text) Source #
If you specify a value for Limit and you have more ByteMatchSets subscribed 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.
lsrgLimit :: 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.
Destructuring the Response
listSubscribedRuleGroupsResponse Source #
Arguments
| :: Int | |
| -> ListSubscribedRuleGroupsResponse |
Creates a value of ListSubscribedRuleGroupsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lsrgrsRuleGroups- An array ofRuleGroupobjects.lsrgrsNextMarker- If you have more objects than the number that you specified forLimitin the request, the response includes aNextMarkervalue. To list more objects, submit anotherListSubscribedRuleGroupsrequest, and specify theNextMarkervalue from the response in theNextMarkervalue in the next request.lsrgrsResponseStatus- -- | The response status code.
data ListSubscribedRuleGroupsResponse Source #
See: listSubscribedRuleGroupsResponse smart constructor.
Instances
Response Lenses
lsrgrsRuleGroups :: Lens' ListSubscribedRuleGroupsResponse [SubscribedRuleGroupSummary] Source #
An array of RuleGroup objects.
lsrgrsNextMarker :: 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.
lsrgrsResponseStatus :: Lens' ListSubscribedRuleGroupsResponse Int Source #
- - | The response status code.