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 |
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 forLimit
and you have moreByteMatchSets
subscribed rule groups than the value ofLimit
, AWS WAF returns aNextMarker
value in the response that allows you to list another group of subscribed rule groups. For the second and subsequentListSubscribedRuleGroupsRequest
requests, specify the value ofNextMarker
from 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 aNextMarker
value 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 #
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 ofRuleGroup
objects.lsrgrsNextMarker
- If you have more objects than the number that you specified forLimit
in the request, the response includes aNextMarker
value. To list more objects, submit anotherListSubscribedRuleGroups
request, and specify theNextMarker
value from the response in theNextMarker
value 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.