Route53GlobalResolver / Client / list_firewall_domains
list_firewall_domains¶
- Route53GlobalResolver.Client.list_firewall_domains(**kwargs)¶
Lists all the domains in DNS Firewall domain list you have created.
Warning
Route 53 Global Resolver is a global service that supports resolvers in multiple Amazon Web Services Regions but you must specify the US East (Ohio) Region to create, update, or otherwise work with Route 53 Global Resolver resources. That is, for example, specify
--region us-east-2on Amazon Web Services CLI commands.See also: AWS API Documentation
Request Syntax
response = client.list_firewall_domains( maxResults=123, nextToken='string', firewallDomainListId='string' )
- Parameters:
maxResults (integer) – The maximum number of results to retrieve in a single call.
nextToken (string) – A pagination token used for large sets of results that can’t be returned in a single response.
firewallDomainListId (string) –
[REQUIRED]
ID of the DNS Firewall domain list.
- Return type:
dict
- Returns:
Response Syntax
{ 'nextToken': 'string', 'domains': [ 'string', ] }
Response Structure
(dict) –
nextToken (string) –
A pagination token used for large sets of results that can’t be returned in a single response. Provide this token in the next call to get the results not returned in this call.
domains (list) –
List of domains in the specified domain list.
(string) –
Exceptions
Route53GlobalResolver.Client.exceptions.InternalServerExceptionRoute53GlobalResolver.Client.exceptions.ValidationExceptionRoute53GlobalResolver.Client.exceptions.AccessDeniedExceptionRoute53GlobalResolver.Client.exceptions.ThrottlingExceptionRoute53GlobalResolver.Client.exceptions.ResourceNotFoundException