Registry / type-stubs / mypy-boto3-route53-recovery-control-config

mypy-boto3-route53-recovery-control-config

JSON →
library1.43.0pypypi✓ verified 22d ago

This library provides type annotations for the `boto3` AWS SDK's Route53RecoveryControlConfig service, compatible with static analysis tools like mypy, pyright, and various IDEs. Currently at version `1.42.3`, it helps improve code quality and error detection for `boto3` usage. The release cadence is tied to updates in `boto3` itself and the `mypy-boto3-builder` project, which generates these stubs.

pip install mypy-boto3-route53-recovery-control-config boto3
INSTALL
IMPORT
SIG · MYPY-BOTO3-ROUTE53
M
mypy-boto3-route53-recovery-control-config
type-stubspythonv1.43.0
Install
3.7s avg
Import
575ms
Disk
50MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.43.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.592s · 52MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 3.7s · import 0.558s · 52MB
50MB installed
● package 50MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Route53RecoveryControlConfigClient
from mypy_boto3_route53_recovery_control_config.client import Route53RecoveryControlConfigClient
This import is for type-hinting the boto3 client object. The actual client instance is created via `boto3.client('route53-recovery-control-config')`.
ListClustersOutputTypeDef
from mypy_boto3_route53_recovery_control_config.type_defs import ListClustersOutputTypeDef
This import provides a TypedDict for the return value of the `list_clusters` operation, enabling precise type checking of the response structure.

This quickstart demonstrates how to initialize a type-hinted `Route53RecoveryControlConfigClient` using `boto3` and perform a basic operation, `list_clusters`, with a type-hinted response. It requires `boto3` to be installed and AWS credentials configured in the environment.

import boto3 import os from mypy_boto3_route53_recovery_control_config.client import Route53RecoveryControlConfigClient from mypy_boto3_route53_recovery_control_config.type_defs import ListClustersOutputTypeDef def get_r53_recovery_control_config_client() -> Route53RecoveryControlConfigClient: """Returns a type-hinted Route53RecoveryControlConfig client.""" # Ensure AWS credentials and region are configured (e.g., via environment variables or ~/.aws/credentials) region_name = os.environ.get('AWS_REGION', 'us-east-1') return boto3.client('route53-recovery-control-config', region_name=region_name) def list_r53_recovery_clusters() -> ListClustersOutputTypeDef: """Lists Route53 Recovery Control Config clusters with type hints.""" client = get_r53_recovery_control_config_client() response: ListClustersOutputTypeDef = client.list_clusters() for cluster in response.get('Clusters', []): print(f"Cluster ARN: {cluster['ClusterArn']}, Name: {cluster['ClusterName']}") return response if __name__ == '__main__': try: print("Listing Route53 Recovery Control Config clusters...") result = list_r53_recovery_clusters() print(f"Successfully listed {len(result.get('Clusters', []))} clusters.") except Exception as e: print(f"An error occurred: {e}") print("Please ensure 'boto3' is installed and AWS credentials/region are configured.")
Debug
Known issues
breakingStarting with `mypy-boto3-builder` version 8.12.0 (which generated this package), support for Python 3.8 has been removed. Projects using this package must use Python 3.9 or newer.
fix
Upgrade your Python environment to 3.9 or a later version.
affects: >=1.42.0 (generated by mypy-boto3-builder 8.12.0)
breakingIn `mypy-boto3-builder` version 8.9.0, there were changes to `TypeDef` naming conventions to be more concise (e.g., `CreateDistributionRequestRequestTypeDef` became `CreateDistributionRequestTypeDef`). While this specific example might not apply directly to all services, be aware that `TypeDef` names for inputs/outputs across services might have changed in this or subsequent `mypy-boto3-builder` versions.
fix
Review your code for `TypedDict` imports and update names according to the latest generated stubs if you encounter `mypy` errors related to missing types.
affects: >=1.42.0 (generated by mypy-boto3-builder 8.9.0 and later)
gotchaThis package provides only type stubs and does not include any runtime code for the AWS SDK. You must separately install and use the `boto3` library for your application to function correctly.
fix
Ensure `boto3` is installed in your project (`pip install boto3`) alongside `mypy-boto3-route53-recovery-control-config`.
affects: all
gotchaThe `mypy-boto3` packages are PEP 561 compliant, meaning type checkers like `mypy` and `pyright` should automatically discover them. However, for optimal type checking and IDE integration, ensure your type checker is correctly configured (e.g., `mypy` with `strict=True` in `pyproject.toml` or `mypy.ini`).
fix
Consult your type checker's documentation for optimal configuration, especially regarding stub package discovery and strictness settings.
affects: all
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
boto3requiredThis is a type stub package for boto3; boto3 must be installed and used at runtime for these type hints to be relevant.
Agent activity
17 hits · last 30 days
node
14
OpenAI (training)
2
Resources
mypy-boto3-route53-recovery-control-config — pip install mypy-boto3-route53-recovery-control-config · libregistry