Skip to content

Route53Resolver module#

Index > Route53Resolver

Auto-generated documentation for Route53Resolver type annotations stubs module mypy-boto3-route53resolver.

How to install#

VSCode extension#

Add AWS Boto3 extension to your VSCode and run AWS boto3: Quick Start command.

Click Modify and select boto3 common and Route53Resolver.

From PyPI with pip#

Install boto3-stubs for Route53Resolver service.

# install with boto3 type annotations
python -m pip install 'boto3-stubs[route53resolver]'


# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[route53resolver]'


# standalone installation
python -m pip install mypy-boto3-route53resolver

How to uninstall#

python -m pip uninstall -y mypy-boto3-route53resolver

Usage#

Code samples can be found in Examples.

Route53ResolverClient#

Type annotations and code completion for boto3.client("route53resolver") as Route53ResolverClient boto3 documentation

# Route53ResolverClient usage example

from boto3.session import Session

from mypy_boto3_route53resolver.client import Route53ResolverClient

def get_client() -> Route53ResolverClient:
    return Session().client("route53resolver")

Paginators#

Type annotations and code completion for paginators from boto3.client("route53resolver").get_paginator("...").

# ListFirewallConfigsPaginator usage example

from boto3.session import Session

from mypy_boto3_route53resolver.paginator import ListFirewallConfigsPaginator

def get_list_firewall_configs_paginator() -> ListFirewallConfigsPaginator:
    return Session().client("route53resolver").get_paginator("list_firewall_configs"))

Literals#

Type annotations for literals used in methods and schema.

# ActionType usage example

from mypy_boto3_route53resolver.literals import ActionType

def get_value() -> ActionType:
    return "ALERT"

Type definitions#

Type annotations for type definitions used in methods and schema.