Route53Resolver / Client / get_resolver_config

get_resolver_config#

Route53Resolver.Client.get_resolver_config(**kwargs)#

Retrieves the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.

See also: AWS API Documentation

Request Syntax

response = client.get_resolver_config(
    ResourceId='string'
)
Parameters:

ResourceId (string) –

[REQUIRED]

Resource ID of the Amazon VPC that you want to get information about.

Return type:

dict

Returns:

Response Syntax

{
    'ResolverConfig': {
        'Id': 'string',
        'ResourceId': 'string',
        'OwnerId': 'string',
        'AutodefinedReverse': 'ENABLING'|'ENABLED'|'DISABLING'|'DISABLED'|'UPDATING_TO_USE_LOCAL_RESOURCE_SETTING'|'USE_LOCAL_RESOURCE_SETTING'
    }
}

Response Structure

  • (dict) –

    • ResolverConfig (dict) –

      Information about the behavior configuration of Route 53 Resolver behavior for the VPC you specified in the GetResolverConfig request.

      • 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:

        • ENABLING: Autodefined rules for reverse DNS lookups are being enabled but are not complete.

        • ENABLED: Autodefined rules for reverse DNS lookups are enabled.

        • DISABLING: Autodefined rules for reverse DNS lookups are being disabled but are not complete.

        • DISABLED: Autodefined rules for reverse DNS lookups are disabled.

Exceptions

  • Route53Resolver.Client.exceptions.ResourceNotFoundException

  • Route53Resolver.Client.exceptions.InvalidParameterException

  • Route53Resolver.Client.exceptions.InternalServiceErrorException

  • Route53Resolver.Client.exceptions.ThrottlingException

  • Route53Resolver.Client.exceptions.AccessDeniedException

  • Route53Resolver.Client.exceptions.ValidationException