update_resolver_config

update_resolver_config(**kwargs)

Updates 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.update_resolver_config(
    ResourceId='string',
    AutodefinedReverseFlag='ENABLE'|'DISABLE'|'USE_LOCAL_RESOURCE_SETTING'
)
Parameters
  • ResourceId (string) --

    [REQUIRED]

    Resource ID of the Amazon VPC that you want to update the Resolver configuration for.

  • AutodefinedReverseFlag (string) --

    [REQUIRED]

    Indicates whether or not the Resolver will create autodefined rules for reverse DNS lookups. This is enabled by default. Disabling this option will also affect EC2-Classic instances using ClassicLink. For more information, see ClassicLink in the Amazon EC2 guide .

    Warning

    We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon EC2 guide and the blog EC2-Classic Networking is Retiring – Here’s How to Prepare.

    Note

    It can take some time for the status change to be completed.

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) --

      An array that contains settings for the specified Resolver configuration.

      • 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.InvalidRequestException
  • Route53Resolver.Client.exceptions.InvalidParameterException
  • Route53Resolver.Client.exceptions.ResourceNotFoundException
  • Route53Resolver.Client.exceptions.ResourceUnavailableException
  • Route53Resolver.Client.exceptions.LimitExceededException
  • Route53Resolver.Client.exceptions.InternalServiceErrorException
  • Route53Resolver.Client.exceptions.ThrottlingException
  • Route53Resolver.Client.exceptions.AccessDeniedException
  • Route53Resolver.Client.exceptions.ValidationException