| 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 |
Amazonka.Route53Resolver.ListFirewallDomains
Description
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_maxResults :: Lens' ListFirewallDomains (Maybe Natural)
- listFirewallDomains_nextToken :: Lens' ListFirewallDomains (Maybe Text)
- listFirewallDomains_firewallDomainListId :: Lens' ListFirewallDomains Text
- data ListFirewallDomainsResponse = ListFirewallDomainsResponse' {}
- newListFirewallDomainsResponse :: Int -> ListFirewallDomainsResponse
- listFirewallDomainsResponse_domains :: Lens' ListFirewallDomainsResponse (Maybe [Text])
- listFirewallDomainsResponse_nextToken :: Lens' ListFirewallDomainsResponse (Maybe Text)
- listFirewallDomainsResponse_httpStatus :: Lens' ListFirewallDomainsResponse Int
Creating a Request
data ListFirewallDomains Source #
See: newListFirewallDomains smart constructor.
Constructors
| ListFirewallDomains' | |
Fields
| |
Instances
newListFirewallDomains Source #
Arguments
| :: Text | |
| -> ListFirewallDomains |
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: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.
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.
ListFirewallDomains, listFirewallDomains_firewallDomainListId - The ID of the domain list whose domains you want to retrieve.
Request Lenses
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_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_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.
Constructors
| ListFirewallDomainsResponse' | |
Fields
| |
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: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.
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:httpStatus:ListFirewallDomainsResponse', listFirewallDomainsResponse_httpStatus - The response's http status code.
Response Lenses
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_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_httpStatus :: Lens' ListFirewallDomainsResponse Int Source #
The response's http status code.