Route53GlobalResolver / Client / update_dns_view
update_dns_view¶
- Route53GlobalResolver.Client.update_dns_view(**kwargs)¶
Updates the configuration of a DNS view.
See also: AWS API Documentation
Request Syntax
response = client.update_dns_view( dnsViewId='string', name='string', description='string', dnssecValidation='ENABLED'|'DISABLED', ednsClientSubnet='ENABLED'|'DISABLED', firewallRulesFailOpen='ENABLED'|'DISABLED' )
- Parameters:
dnsViewId (string) –
[REQUIRED]
The unique identifier of the DNS view to update.
name (string) – The name of the DNS view.
description (string) – A description of the DNS view.
dnssecValidation (string) – Whether to enable DNSSEC validation for the DNS view.
ednsClientSubnet (string) – Whether to enable EDNS Client Subnet injection for the DNS view.
firewallRulesFailOpen (string) – Whether firewall rules should fail open when they cannot be evaluated.
- 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 updated DNS view.
arn (string) –
The Amazon Resource Name (ARN) of the updated DNS view.
clientToken (string) –
The unique string that identifies the request and ensures idempotency.
dnssecValidation (string) –
Whether DNSSEC validation is enabled for the updated DNS view.
ednsClientSubnet (string) –
Whether EDNS Client Subnet injection is enabled for the updated DNS view.
firewallRulesFailOpen (string) –
Whether firewall rules fail open when they cannot be evaluated for the updated DNS view.
name (string) –
The name of the updated DNS view.
description (string) –
The description of the updated DNS view.
globalResolverId (string) –
The ID of the global resolver associated with the updated DNS view.
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 updated DNS view.
Exceptions
Route53GlobalResolver.Client.exceptions.InternalServerExceptionRoute53GlobalResolver.Client.exceptions.ValidationExceptionRoute53GlobalResolver.Client.exceptions.ConflictExceptionRoute53GlobalResolver.Client.exceptions.AccessDeniedExceptionRoute53GlobalResolver.Client.exceptions.ThrottlingExceptionRoute53GlobalResolver.Client.exceptions.ResourceNotFoundException