Skip to content

Route53 module#

Index > Route53

Auto-generated documentation for Route53 type annotations stubs module mypy-boto3-route53.

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 Route53.

From PyPI with pip#

Install boto3-stubs for Route53 service.

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


# 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[route53]'


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

How to uninstall#

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

Usage#

Code samples can be found in Examples.

Route53Client#

Type annotations and code completion for boto3.client("route53") as Route53Client boto3 documentation

# Route53Client usage example

from boto3.session import Session

from mypy_boto3_route53.client import Route53Client

def get_client() -> Route53Client:
    return Session().client("route53")

Paginators#

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

# ListCidrBlocksPaginator usage example

from boto3.session import Session

from mypy_boto3_route53.paginator import ListCidrBlocksPaginator

def get_list_cidr_blocks_paginator() -> ListCidrBlocksPaginator:
    return Session().client("route53").get_paginator("list_cidr_blocks"))

Waiters#

Type annotations and code completion for waiters from boto3.client("route53").get_waiter("...").

# ResourceRecordSetsChangedWaiter usage example

from boto3.session import Session

from mypy_boto3_route53.waiter import ResourceRecordSetsChangedWaiter

def get_resource_record_sets_changed_waiter() -> ResourceRecordSetsChangedWaiter:
    return Session().client("route53").get_waiter("resource_record_sets_changed")

Literals#

Type annotations for literals used in methods and schema.

# AccountLimitTypeType usage example

from mypy_boto3_route53.literals import AccountLimitTypeType

def get_value() -> AccountLimitTypeType:
    return "MAX_HEALTH_CHECKS_BY_OWNER"

Type definitions#

Type annotations for type definitions used in methods and schema.