Copyright | (c) 2013-2021 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 |
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.
This operation returns paginated results.
Synopsis
- data ListSubscribedRuleGroups = ListSubscribedRuleGroups' {}
- newListSubscribedRuleGroups :: ListSubscribedRuleGroups
- listSubscribedRuleGroups_nextMarker :: Lens' ListSubscribedRuleGroups (Maybe Text)
- listSubscribedRuleGroups_limit :: Lens' ListSubscribedRuleGroups (Maybe Natural)
- data ListSubscribedRuleGroupsResponse = ListSubscribedRuleGroupsResponse' {}
- newListSubscribedRuleGroupsResponse :: Int -> ListSubscribedRuleGroupsResponse
- listSubscribedRuleGroupsResponse_ruleGroups :: Lens' ListSubscribedRuleGroupsResponse (Maybe [SubscribedRuleGroupSummary])
- listSubscribedRuleGroupsResponse_nextMarker :: Lens' ListSubscribedRuleGroupsResponse (Maybe Text)
- listSubscribedRuleGroupsResponse_httpStatus :: Lens' ListSubscribedRuleGroupsResponse Int
Creating a Request
data ListSubscribedRuleGroups Source #
See: newListSubscribedRuleGroups
smart constructor.
ListSubscribedRuleGroups' | |
|
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:nextMarker:ListSubscribedRuleGroups'
, listSubscribedRuleGroups_nextMarker
- 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.
$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.
Request Lenses
listSubscribedRuleGroups_nextMarker :: 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.
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.
Destructuring the Response
data ListSubscribedRuleGroupsResponse Source #
See: newListSubscribedRuleGroupsResponse
smart constructor.
ListSubscribedRuleGroupsResponse' | |
|
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:
$sel:ruleGroups:ListSubscribedRuleGroupsResponse'
, listSubscribedRuleGroupsResponse_ruleGroups
- An array of RuleGroup objects.
$sel:nextMarker: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:httpStatus:ListSubscribedRuleGroupsResponse'
, listSubscribedRuleGroupsResponse_httpStatus
- The response's http status code.
Response Lenses
listSubscribedRuleGroupsResponse_ruleGroups :: Lens' ListSubscribedRuleGroupsResponse (Maybe [SubscribedRuleGroupSummary]) Source #
An array of RuleGroup objects.
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_httpStatus :: Lens' ListSubscribedRuleGroupsResponse Int Source #
The response's http status code.