{"id":3688,"library":"mypy-boto3-route53-recovery-readiness","title":"mypy-boto3-route53-recovery-readiness","description":"mypy-boto3-route53-recovery-readiness provides type annotations for the `boto3` AWS Route53RecoveryReadiness service, allowing static type checkers like `mypy` to validate `boto3` usage. It's currently at version 1.42.3 and is part of the `mypy-boto3-builder` ecosystem, which generates packages for all `boto3` services and is frequently updated, often in sync with `boto3` releases.","status":"active","version":"1.42.3","language":"python","source_language":"en","source_url":"https://github.com/youtype/mypy_boto3_builder","tags":["aws","boto3","mypy","type-hints","route53recoveryreadiness","static-analysis"],"install":[{"cmd":"pip install mypy-boto3-route53-recovery-readiness","lang":"bash","label":"Install package"}],"dependencies":[{"reason":"Provides the runtime AWS SDK that these type stubs annotate.","package":"boto3","optional":false},{"reason":"The static type checker that utilizes these annotations.","package":"mypy","optional":true}],"imports":[{"wrong":"from mypy_boto3_route53_recovery_readiness import Route53RecoveryReadinessClient","symbol":"Route53RecoveryReadinessClient","correct":"from mypy_boto3_route53_recovery_readiness import Route53RecoveryReadinessClient"}],"quickstart":{"code":"import boto3\nfrom mypy_boto3_route53_recovery_readiness.client import Route53RecoveryReadinessClient\nfrom mypy_boto3_route53_recovery_readiness.type_defs import ListReadinessChecksOutputTypeDef\nimport os\n\ndef get_readiness_checks() -> ListReadinessChecksOutputTypeDef:\n    \"\"\"Fetches a list of Route53 Recovery Readiness checks and returns their typed response.\"\"\"\n    # mypy-boto3 provides type hints for the boto3 client object\n    client: Route53RecoveryReadinessClient = boto3.client(\n        \"route53-recovery-readiness\",\n        region_name=os.environ.get(\"AWS_REGION\", \"us-east-1\")\n    )\n    response = client.list_readiness_checks()\n    print(f\"Found {len(response.get('ReadinessChecks', []))} readiness checks.\")\n    return response\n\nif __name__ == \"__main__\":\n    # When mypy is run on this file, it will verify that\n    # `get_readiness_checks` returns a `ListReadinessChecksOutputTypeDef`\n    # and that subsequent access to 'result' follows that type definition.\n    result = get_readiness_checks()\n    # Example of type-safe access:\n    for check in result.get('ReadinessChecks', []):\n        print(f\"  - {check.get('ReadinessCheckName', 'N/A')}\")\n","lang":"python","description":"This quickstart demonstrates how to use the `mypy-boto3-route53-recovery-readiness` type stubs with a standard `boto3` client. When this code is run through `mypy`, it will ensure that the `client` object and the `response` adhere to the type definitions provided by the stub package, catching potential errors at compile time."},"warnings":[{"fix":"Upgrade your Python environment to 3.9 or higher.","message":"Python 3.8 support has been removed since `mypy-boto3-builder` version 8.12.0. Projects using this package must target Python 3.9 or newer.","severity":"breaking","affected_versions":">=8.12.0 (builder)"},{"fix":"Ensure your `mypy` configuration and project structure are compatible with PEP 561 stub packages. You might need to rebuild or reconfigure your environment.","message":"As of `mypy-boto3-builder` version 8.12.0, packages migrated to PEP 561 compliance. This change might affect how type checkers locate and process stubs in certain environments or older project setups.","severity":"breaking","affected_versions":">=8.12.0 (builder)"},{"fix":"Review your code for imports of specific `TypeDef` classes and adjust their names according to the new conventions. Refer to the documentation or generated stub files for the exact new names.","message":"Type definition (TypeDef) names for service requests and responses underwent renaming in `mypy-boto3-builder` version 8.9.0. Common patterns like `RequestRequestTypeDef` were shortened to `RequestTypeDef`, and `ExtraRequestTypeDef` became `RequestExtraTypeDef`.","severity":"breaking","affected_versions":">=8.9.0 (builder)"},{"fix":"Understand that `mypy-boto3-*` packages are developer tools for compile-time checking, not runtime dependencies that change program execution.","message":"This library provides type annotations *only*; it does not alter `boto3`'s runtime behavior or provide any runtime functionality itself. Its sole purpose is to enable static type checking.","severity":"gotcha","affected_versions":"all"},{"fix":"Always try to match the major.minor version of `mypy-boto3-*` with your `boto3` installation (e.g., `mypy-boto3-route53-recovery-readiness==1.x.y` for `boto3==1.x.y`). Update both simultaneously if possible.","message":"The `mypy-boto3` stub packages are tightly coupled to specific `boto3` versions. Using a `mypy-boto3-*` package version that doesn't align with your installed `boto3` version can lead to incorrect or missing type hints.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'1.42.3':37 'allow':22 'analysi':74 'annot':15 'aw':19,65 'boto3':3,9,18,30,45,53,63,66 'builder':46 'checker':25 'current':34 'ecosystem':47 'frequent':57 'generat':49 'hint':70 'like':26 'mypi':2,8,27,44,67 'mypy-boto3-builder':43 'mypy-boto3-route53-recovery-readiness':1,7 'often':59 'packag':50 'part':40 'provid':13 'readi':6,12 'recoveri':5,11 'releas':64 'route53':4,10 'route53recoveryreadiness':20,71 'servic':21,54 'static':23,73 'static-analysi':72 'sync':61 'type':14,24,69 'type-hint':68 'updat':58 'usag':31 'valid':29 'version':36","created_at":"2026-04-11T17:40:27.742466+00:00","updated_at":"2026-04-16T17:10:51.297955+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\n  File \"/tmp/tmpij_4vuif/venv/lib/python3.12/site-packages/mypy_boto3_route53_recovery_readiness/__init__.py\", line 43, in <module>\n    from .client import Route53RecoveryReadinessClient\n  File \"/tmp/tmpij_4vuif/venv/lib/pytho"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"1.43.0","cli_name":"","cli_version":null,"type":"library","homepage":"https://pypi.org/project/mypy-boto3-route53-recovery-readiness/","github":"https://github.com/youtype/mypy_boto3_builder","docs":"https://youtype.github.io/boto3_stubs_docs/mypy_boto3_route53_recovery_readiness/","changelog":null,"pypi":"https://pypi.org/project/mypy-boto3-route53-recovery-readiness/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["type-stubs","aws"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-07-03","last_verified":"2026-08-29","next_check":"2026-07-10","install_tag":null}}