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 domains that you have defined for the specified firewall domain list.
A single call might return only a partial list of the domains. For
information, see MaxResults
.
This operation returns paginated results.
Synopsis
- data ListFirewallDomains = ListFirewallDomains' {}
- newListFirewallDomains :: Text -> ListFirewallDomains
- listFirewallDomains_nextToken :: Lens' ListFirewallDomains (Maybe Text)
- listFirewallDomains_maxResults :: Lens' ListFirewallDomains (Maybe Natural)
- listFirewallDomains_firewallDomainListId :: Lens' ListFirewallDomains Text
- data ListFirewallDomainsResponse = ListFirewallDomainsResponse' {}
- newListFirewallDomainsResponse :: Int -> ListFirewallDomainsResponse
- listFirewallDomainsResponse_nextToken :: Lens' ListFirewallDomainsResponse (Maybe Text)
- listFirewallDomainsResponse_domains :: Lens' ListFirewallDomainsResponse (Maybe [Text])
- listFirewallDomainsResponse_httpStatus :: Lens' ListFirewallDomainsResponse Int
Creating a Request
data ListFirewallDomains Source #
See: newListFirewallDomains
smart constructor.
ListFirewallDomains' | |
|
Instances
newListFirewallDomains Source #
Create a value of ListFirewallDomains
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:ListFirewallDomains'
, listFirewallDomains_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:ListFirewallDomains'
, listFirewallDomains_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.
$sel:firewallDomainListId:ListFirewallDomains'
, listFirewallDomains_firewallDomainListId
- The ID of the domain list whose domains you want to retrieve.
Request Lenses
listFirewallDomains_nextToken :: Lens' ListFirewallDomains (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.
listFirewallDomains_maxResults :: Lens' ListFirewallDomains (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.
listFirewallDomains_firewallDomainListId :: Lens' ListFirewallDomains Text Source #
The ID of the domain list whose domains you want to retrieve.
Destructuring the Response
data ListFirewallDomainsResponse Source #
See: newListFirewallDomainsResponse
smart constructor.
ListFirewallDomainsResponse' | |
|
Instances
newListFirewallDomainsResponse Source #
Create a value of ListFirewallDomainsResponse
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:ListFirewallDomains'
, listFirewallDomainsResponse_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:domains:ListFirewallDomainsResponse'
, listFirewallDomainsResponse_domains
- A list of the domains in the firewall domain list.
This might be a partial list of the domains that you've defined in the
domain list. For information, see MaxResults
.
$sel:httpStatus:ListFirewallDomainsResponse'
, listFirewallDomainsResponse_httpStatus
- The response's http status code.
Response Lenses
listFirewallDomainsResponse_nextToken :: Lens' ListFirewallDomainsResponse (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.
listFirewallDomainsResponse_domains :: Lens' ListFirewallDomainsResponse (Maybe [Text]) Source #
A list of the domains in the firewall domain list.
This might be a partial list of the domains that you've defined in the
domain list. For information, see MaxResults
.
listFirewallDomainsResponse_httpStatus :: Lens' ListFirewallDomainsResponse Int Source #
The response's http status code.