Route53GlobalResolver / Client / delete_dns_view
delete_dns_view¶
- Route53GlobalResolver.Client.delete_dns_view(**kwargs)¶
Deletes a DNS view. This operation cannot be undone.
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.delete_dns_view( dnsViewId='string' )
- Parameters:
dnsViewId (string) –
[REQUIRED]
The unique identifier of the DNS view to delete.
- 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 deleted DNS view.
arn (string) –
The Amazon Resource Name (ARN) of the deleted DNS view.
clientToken (string) –
The unique string that identifies the request and ensures idempotency.
dnssecValidation (string) –
Whether DNSSEC validation was enabled for the deleted DNS view.
ednsClientSubnet (string) –
Whether EDNS Client Subnet injection was enabled for the deleted DNS view.
firewallRulesFailOpen (string) –
The firewall rules fail-open behavior that was configured for the deleted DNS view.
name (string) –
The name of the deleted DNS view.
description (string) –
The description of the deleted DNS view.
globalResolverId (string) –
The ID of the Route 53 Global Resolver that the deleted DNS view was 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 before deletion.
status (string) –
The final status of the deleted DNS view.
Exceptions
Route53GlobalResolver.Client.exceptions.InternalServerExceptionRoute53GlobalResolver.Client.exceptions.ValidationExceptionRoute53GlobalResolver.Client.exceptions.ConflictExceptionRoute53GlobalResolver.Client.exceptions.AccessDeniedExceptionRoute53GlobalResolver.Client.exceptions.ThrottlingExceptionRoute53GlobalResolver.Client.exceptions.ResourceNotFoundException