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 |
Retrieves the minimal high-level information for the rule groups that you have defined.
A single call might return only a partial list of the rule groups. For
information, see MaxResults
.
This operation returns paginated results.
Synopsis
- data ListFirewallRuleGroups = ListFirewallRuleGroups' {}
- newListFirewallRuleGroups :: ListFirewallRuleGroups
- listFirewallRuleGroups_nextToken :: Lens' ListFirewallRuleGroups (Maybe Text)
- listFirewallRuleGroups_maxResults :: Lens' ListFirewallRuleGroups (Maybe Natural)
- data ListFirewallRuleGroupsResponse = ListFirewallRuleGroupsResponse' {}
- newListFirewallRuleGroupsResponse :: Int -> ListFirewallRuleGroupsResponse
- listFirewallRuleGroupsResponse_nextToken :: Lens' ListFirewallRuleGroupsResponse (Maybe Text)
- listFirewallRuleGroupsResponse_firewallRuleGroups :: Lens' ListFirewallRuleGroupsResponse (Maybe [FirewallRuleGroupMetadata])
- listFirewallRuleGroupsResponse_httpStatus :: Lens' ListFirewallRuleGroupsResponse Int
Creating a Request
data ListFirewallRuleGroups Source #
See: newListFirewallRuleGroups
smart constructor.
ListFirewallRuleGroups' | |
|
Instances
newListFirewallRuleGroups :: ListFirewallRuleGroups Source #
Create a value of ListFirewallRuleGroups
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:nextToken:ListFirewallRuleGroups'
, listFirewallRuleGroups_nextToken
- For the first call to this list request, omit this value.
When you request a list of objects, Resolver returns at most the number
of objects specified in MaxResults
. If more objects are available for
retrieval, Resolver returns a NextToken
value in the response. To
retrieve the next batch of objects, use the token that was returned for
the prior request in your next request.
$sel:maxResults:ListFirewallRuleGroups'
, listFirewallRuleGroups_maxResults
- The maximum number of objects that you want Resolver to return for this
request. If more objects are available, in the response, Resolver
provides a NextToken
value that you can use in a subsequent call to
get the next batch of objects.
If you don't specify a value for MaxResults
, Resolver returns up to
100 objects.
Request Lenses
listFirewallRuleGroups_nextToken :: Lens' ListFirewallRuleGroups (Maybe Text) Source #
For the first call to this list request, omit this value.
When you request a list of objects, Resolver returns at most the number
of objects specified in MaxResults
. If more objects are available for
retrieval, Resolver returns a NextToken
value in the response. To
retrieve the next batch of objects, use the token that was returned for
the prior request in your next request.
listFirewallRuleGroups_maxResults :: Lens' ListFirewallRuleGroups (Maybe Natural) Source #
The maximum number of objects that you want Resolver to return for this
request. If more objects are available, in the response, Resolver
provides a NextToken
value that you can use in a subsequent call to
get the next batch of objects.
If you don't specify a value for MaxResults
, Resolver returns up to
100 objects.
Destructuring the Response
data ListFirewallRuleGroupsResponse Source #
See: newListFirewallRuleGroupsResponse
smart constructor.
ListFirewallRuleGroupsResponse' | |
|
Instances
newListFirewallRuleGroupsResponse Source #
Create a value of ListFirewallRuleGroupsResponse
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:nextToken:ListFirewallRuleGroups'
, listFirewallRuleGroupsResponse_nextToken
- If objects are still available for retrieval, Resolver returns this
token in the response. To retrieve the next batch of objects, provide
this token in your next request.
$sel:firewallRuleGroups:ListFirewallRuleGroupsResponse'
, listFirewallRuleGroupsResponse_firewallRuleGroups
- A list of your firewall rule groups.
This might be a partial list of the rule groups that you have defined.
For information, see MaxResults
.
$sel:httpStatus:ListFirewallRuleGroupsResponse'
, listFirewallRuleGroupsResponse_httpStatus
- The response's http status code.
Response Lenses
listFirewallRuleGroupsResponse_nextToken :: Lens' ListFirewallRuleGroupsResponse (Maybe Text) Source #
If objects are still available for retrieval, Resolver returns this token in the response. To retrieve the next batch of objects, provide this token in your next request.
listFirewallRuleGroupsResponse_firewallRuleGroups :: Lens' ListFirewallRuleGroupsResponse (Maybe [FirewallRuleGroupMetadata]) Source #
A list of your firewall rule groups.
This might be a partial list of the rule groups that you have defined.
For information, see MaxResults
.
listFirewallRuleGroupsResponse_httpStatus :: Lens' ListFirewallRuleGroupsResponse Int Source #
The response's http status code.