Route53GlobalResolver / Paginator / ListDNSViews
ListDNSViews¶
- class Route53GlobalResolver.Paginator.ListDNSViews¶
paginator = client.get_paginator('list_dns_views')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
Route53GlobalResolver.Client.list_dns_views().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( globalResolverId='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
globalResolverId (string) –
[REQUIRED]
The Global Resolver ID.
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextTokenwill be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextTokenfrom a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ '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' }, ], 'NextToken': 'string' }
Response Structure
(dict) –
dnsViews (list) –
An array of information about the DNS views, such as whether DNSSEC is enabled, creation time, etc.
(dict) –
Summary information about a DNS view.
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.
NextToken (string) –
A token to resume pagination.