Skip to content

Route53RecoveryControlConfig module

Index > Route53RecoveryControlConfig

Auto-generated documentation for Route53RecoveryControlConfig type annotations stubs module mypy-boto3-route53-recovery-control-config.

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

From PyPI with pip

Install boto3-stubs for Route53RecoveryControlConfig service.

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


# 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-recovery-control-config]'


# standalone installation
python -m pip install mypy-boto3-route53-recovery-control-config

How to uninstall

python -m pip uninstall -y mypy-boto3-route53-recovery-control-config

Usage

Code samples can be found in Examples.

Route53RecoveryControlConfigClient

Type annotations and code completion for boto3.client("route53-recovery-control-config") as Route53RecoveryControlConfigClient boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_route53_recovery_control_config.client import Route53RecoveryControlConfigClient

def get_client() -> Route53RecoveryControlConfigClient:
    return Session().client("route53-recovery-control-config")

Waiters

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

Usage example
from boto3.session import Session

from mypy_boto3_route53_recovery_control_config.waiter import ClusterCreatedWaiter

def get_cluster_created_waiter() -> ClusterCreatedWaiter:
    return Session().client("route53-recovery-control-config").get_waiter("cluster_created")

Literals

Type annotations for literals used in methods and schemas.

Usage example
from mypy_boto3_route53_recovery_control_config.literals import ClusterCreatedWaiterName

def get_value() -> ClusterCreatedWaiterName:
    return "cluster_created"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from mypy_boto3_route53_recovery_control_config.type_defs import RuleConfigTypeDef

def get_value() -> RuleConfigTypeDef:
    return {
        "Inverted": ...,
        "Threshold": ...,
        "Type": ...,
    }