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.

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.InternalServerException

  • Route53GlobalResolver.Client.exceptions.ValidationException

  • Route53GlobalResolver.Client.exceptions.AccessDeniedException

  • Route53GlobalResolver.Client.exceptions.ThrottlingException

  • Route53GlobalResolver.Client.exceptions.ResourceNotFoundException