list_resolver_configs
(**kwargs)¶Retrieves the Resolver configurations that you have defined. Route 53 Resolver uses the configurations to manage DNS resolution behavior for your VPCs.
See also: AWS API Documentation
Request Syntax
response = client.list_resolver_configs(
MaxResults=123,
NextToken='string'
)
ListResolverConfigs
request. If you don't specify a value for MaxResults
, up to 100 Resolver configurations are returned.(Optional) If the current Amazon Web Services account has more than MaxResults
Resolver configurations, use NextToken
to get the second and subsequent pages of results.
For the first ListResolverConfigs
request, omit this value.
For the second and subsequent requests, get the value of NextToken
from the previous response and specify that value for NextToken
in the request.
dict
Response Syntax
{
'NextToken': 'string',
'ResolverConfigs': [
{
'Id': 'string',
'ResourceId': 'string',
'OwnerId': 'string',
'AutodefinedReverse': 'ENABLING'|'ENABLED'|'DISABLING'|'DISABLED'
},
]
}
Response Structure
(dict) --
NextToken (string) --
If a response includes the last of the Resolver configurations that are associated with the current Amazon Web Services account, NextToken
doesn't appear in the response.
If a response doesn't include the last of the configurations, you can get more configurations by submitting another ListResolverConfigs
request. Get the value of NextToken
that Amazon Route 53 returned in the previous response and include it in NextToken
in the next request.
ResolverConfigs (list) --
An array that contains one ResolverConfigs
element for each Resolver configuration that is associated with the current Amazon Web Services account.
(dict) --
A complex type that contains information about a Resolver configuration for a VPC.
Id (string) --
ID for the Resolver configuration.
ResourceId (string) --
The ID of the Amazon Virtual Private Cloud VPC that you're configuring Resolver for.
OwnerId (string) --
The owner account ID of the Amazon Virtual Private Cloud VPC.
AutodefinedReverse (string) --
The status of whether or not the Resolver will create autodefined rules for reverse DNS lookups. This is enabled by default. The status can be one of following:
Status of the rules generated by VPCs based on CIDR/Region for reverse DNS resolution. The status can be one of following:
Exceptions
Route53Resolver.Client.exceptions.InvalidNextTokenException
Route53Resolver.Client.exceptions.InvalidRequestException
Route53Resolver.Client.exceptions.InvalidParameterException
Route53Resolver.Client.exceptions.InternalServiceErrorException
Route53Resolver.Client.exceptions.ThrottlingException
Route53Resolver.Client.exceptions.AccessDeniedException