Route53GlobalResolver / Client / enable_dns_view

enable_dns_view

Route53GlobalResolver.Client.enable_dns_view(**kwargs)

Enables a disabled DNS view, allowing it to serve DNS queries again.

See also: AWS API Documentation

Request Syntax

response = client.enable_dns_view(
    dnsViewId='string'
)
Parameters:

dnsViewId (string) –

[REQUIRED]

The unique identifier of the DNS view to enable.

Return type:

dict

Returns:

Response Syntax

{
    'id': 'string',
    'arn': 'string',
    'clientToken': 'string',
    'dnssecValidation': 'ENABLED'|'DISABLED',
    'ednsClientSubnet': 'ENABLED'|'DISABLED',
    'firewallRulesFailOpen': 'ENABLED'|'DISABLED',
    'name': 'string',
    'description': 'string',
    'globalResolverId': 'string',
    'createdAt': datetime(2015, 1, 1),
    'updatedAt': datetime(2015, 1, 1),
    'status': 'CREATING'|'OPERATIONAL'|'UPDATING'|'ENABLING'|'DISABLING'|'DISABLED'|'DELETING'
}

Response Structure

  • (dict) –

    • id (string) –

      The unique identifier of the enabled DNS view.

    • arn (string) –

      The Amazon Resource Name (ARN) of the enabled DNS view.

    • clientToken (string) –

      The unique string that identifies the request and ensures idempotency.

    • dnssecValidation (string) –

      Whether DNSSEC validation is enabled for the enabled DNS view.

    • ednsClientSubnet (string) –

      Whether EDNS Client Subnet injection is enabled for the enabled DNS view.

    • firewallRulesFailOpen (string) –

      The firewall rules fail-open behavior configured for the enabled DNS view.

    • name (string) –

      The name of the enabled DNS view.

    • description (string) –

      The description of the enabled DNS view.

    • globalResolverId (string) –

      The ID of the Route 53 Global Resolver that the enabled DNS view is associated with.

    • createdAt (datetime) –

      The date and time when the DNS view was originally created.

    • updatedAt (datetime) –

      The date and time when the DNS view was last updated.

    • status (string) –

      The current status of the enabled DNS view.

Exceptions

  • Route53GlobalResolver.Client.exceptions.InternalServerException

  • Route53GlobalResolver.Client.exceptions.ValidationException

  • Route53GlobalResolver.Client.exceptions.ConflictException

  • Route53GlobalResolver.Client.exceptions.AccessDeniedException

  • Route53GlobalResolver.Client.exceptions.ThrottlingException

  • Route53GlobalResolver.Client.exceptions.ResourceNotFoundException