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 |
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_maxResults :: Lens' ListFirewallRuleGroups (Maybe Natural)
- listFirewallRuleGroups_nextToken :: Lens' ListFirewallRuleGroups (Maybe Text)
- data ListFirewallRuleGroupsResponse = ListFirewallRuleGroupsResponse' {}
- newListFirewallRuleGroupsResponse :: Int -> ListFirewallRuleGroupsResponse
- listFirewallRuleGroupsResponse_firewallRuleGroups :: Lens' ListFirewallRuleGroupsResponse (Maybe [FirewallRuleGroupMetadata])
- listFirewallRuleGroupsResponse_nextToken :: Lens' ListFirewallRuleGroupsResponse (Maybe Text)
- 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: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.
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.
Request Lenses
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.
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.
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: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
.
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:httpStatus:ListFirewallRuleGroupsResponse'
, listFirewallRuleGroupsResponse_httpStatus
- The response's http status code.
Response Lenses
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_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_httpStatus :: Lens' ListFirewallRuleGroupsResponse Int Source #
The response's http status code.