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

    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'
    }
}

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:

        Status of the rules generated by VPCs based on CIDR/Region for reverse DNS resolution. 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