Route53GlobalResolver / Client / list_shared_dns_views
list_shared_dns_views¶
- Route53GlobalResolver.Client.list_shared_dns_views(**kwargs)¶
Lists the DNS views that have been shared with your Amazon Web Services account through Amazon Web Services Resource Access Manager (Amazon Web Services RAM), with pagination support.
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.list_shared_dns_views( maxResults=123, nextToken='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.
- Return type:
dict
- Returns:
Response Syntax
{ 'nextToken': 'string', 'dnsViews': [ { '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', 'ownerAccountId': '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.
dnsViews (list) –
An array of information about the DNS views shared with your Amazon Web Services account, including the Amazon Web Services account that owns each DNS view.
(dict) –
Summary information about a DNS view that has been shared with your Amazon Web Services account through Amazon Web Services RAM.
id (string) –
The unique identifier of the DNS view.
arn (string) –
The Amazon Resource Name (ARN) of the DNS view.
clientToken (string) –
The unique string that identifies the request and ensures idempotency.
dnssecValidation (string) –
Whether DNSSEC validation is enabled for the DNS view.
ednsClientSubnet (string) –
Whether EDNS Client Subnet injection is enabled for the DNS view.
firewallRulesFailOpen (string) –
Whether firewall rules fail open when they cannot be evaluated.
name (string) –
The name of the DNS view.
description (string) –
A description of the DNS view.
globalResolverId (string) –
The ID of the global resolver that the DNS view is associated with.
createdAt (datetime) –
The date and time when the DNS view was created.
updatedAt (datetime) –
The date and time when the DNS view was last updated.
status (string) –
The current status of the DNS view.
ownerAccountId (string) –
The ID of the Amazon Web Services account that owns the DNS view and shared it with your Amazon Web Services account.
Exceptions
Route53GlobalResolver.Client.exceptions.InternalServerExceptionRoute53GlobalResolver.Client.exceptions.ValidationExceptionRoute53GlobalResolver.Client.exceptions.AccessDeniedExceptionRoute53GlobalResolver.Client.exceptions.ThrottlingException