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 firewall domain lists that you have defined. For each firewall domain list, you can retrieve the domains that are defined for a list by calling ListFirewallDomains.
A single call to this list operation might return only a partial list of
the domain lists. For information, see MaxResults
.
This operation returns paginated results.
Synopsis
- data ListFirewallDomainLists = ListFirewallDomainLists' {}
- newListFirewallDomainLists :: ListFirewallDomainLists
- listFirewallDomainLists_nextToken :: Lens' ListFirewallDomainLists (Maybe Text)
- listFirewallDomainLists_maxResults :: Lens' ListFirewallDomainLists (Maybe Natural)
- data ListFirewallDomainListsResponse = ListFirewallDomainListsResponse' {}
- newListFirewallDomainListsResponse :: Int -> ListFirewallDomainListsResponse
- listFirewallDomainListsResponse_nextToken :: Lens' ListFirewallDomainListsResponse (Maybe Text)
- listFirewallDomainListsResponse_firewallDomainLists :: Lens' ListFirewallDomainListsResponse (Maybe [FirewallDomainListMetadata])
- listFirewallDomainListsResponse_httpStatus :: Lens' ListFirewallDomainListsResponse Int
Creating a Request
data ListFirewallDomainLists Source #
See: newListFirewallDomainLists
smart constructor.
ListFirewallDomainLists' | |
|
Instances
newListFirewallDomainLists :: ListFirewallDomainLists Source #
Create a value of ListFirewallDomainLists
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:ListFirewallDomainLists'
, listFirewallDomainLists_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:ListFirewallDomainLists'
, listFirewallDomainLists_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
listFirewallDomainLists_nextToken :: Lens' ListFirewallDomainLists (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.
listFirewallDomainLists_maxResults :: Lens' ListFirewallDomainLists (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 ListFirewallDomainListsResponse Source #
See: newListFirewallDomainListsResponse
smart constructor.
ListFirewallDomainListsResponse' | |
|
Instances
newListFirewallDomainListsResponse Source #
Create a value of ListFirewallDomainListsResponse
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:ListFirewallDomainLists'
, listFirewallDomainListsResponse_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:firewallDomainLists:ListFirewallDomainListsResponse'
, listFirewallDomainListsResponse_firewallDomainLists
- A list of the domain lists that you have defined.
This might be a partial list of the domain lists that you've defined.
For information, see MaxResults
.
$sel:httpStatus:ListFirewallDomainListsResponse'
, listFirewallDomainListsResponse_httpStatus
- The response's http status code.
Response Lenses
listFirewallDomainListsResponse_nextToken :: Lens' ListFirewallDomainListsResponse (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.
listFirewallDomainListsResponse_firewallDomainLists :: Lens' ListFirewallDomainListsResponse (Maybe [FirewallDomainListMetadata]) Source #
A list of the domain lists that you have defined.
This might be a partial list of the domain lists that you've defined.
For information, see MaxResults
.
listFirewallDomainListsResponse_httpStatus :: Lens' ListFirewallDomainListsResponse Int Source #
The response's http status code.