Route53GlobalResolver / Client / update_firewall_domains

update_firewall_domains

Route53GlobalResolver.Client.update_firewall_domains(**kwargs)

Updates a DNS Firewall domain list from an array of specified domains.

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-2 on Amazon Web Services CLI commands.

See also: AWS API Documentation

Request Syntax

response = client.update_firewall_domains(
    domains=[
        'string',
    ],
    firewallDomainListId='string',
    operation='string'
)
Parameters:
  • domains (list) –

    [REQUIRED]

    A list of the domains. You can add up to 1000 domains per request.

    • (string) –

  • firewallDomainListId (string) –

    [REQUIRED]

    The ID of the DNS Firewall domain list to which you want to add the domains.

  • operation (string) –

    [REQUIRED]

    The operation for updating the domain list. The allowed values are ADD, REMOVE, and REPLACE.

Return type:

dict

Returns:

Response Syntax

{
    'id': 'string',
    'name': 'string',
    'status': 'CREATING'|'OPERATIONAL'|'UPDATING'|'DELETING'
}

Response Structure

  • (dict) –

    • id (string) –

      The ID of the DNS Firewall domain list.

    • name (string) –

      The name of the domain list.

    • status (string) –

      The operational status of the domain list.

Exceptions

  • Route53GlobalResolver.Client.exceptions.InternalServerException

  • Route53GlobalResolver.Client.exceptions.ValidationException

  • Route53GlobalResolver.Client.exceptions.ConflictException

  • Route53GlobalResolver.Client.exceptions.ServiceQuotaExceededException

  • Route53GlobalResolver.Client.exceptions.AccessDeniedException

  • Route53GlobalResolver.Client.exceptions.ThrottlingException

  • Route53GlobalResolver.Client.exceptions.ResourceNotFoundException