{"library":"mypy-boto3-route53-recovery-cluster","title":"Type Annotations for boto3 Route53RecoveryCluster","description":"This library provides comprehensive type annotations for the `boto3` AWS SDK's Route53RecoveryCluster service (version 1.42.3), generated by `mypy-boto3-builder` 8.12.0. It enhances development with static type checking, autocompletion, and early error detection for `boto3` calls related to Route53RecoveryCluster. The project is actively maintained, with new versions frequently released, often in sync with `boto3` updates and `mypy-boto3-builder` enhancements.","language":"python","status":"active","last_verified":"Thu May 14","install":{"commands":["pip install mypy-boto3-route53-recovery-cluster"],"cli":null},"imports":["from mypy_boto3_route53_recovery_cluster.client import Route53RecoveryClusterClient","from mypy_boto3_route53_recovery_cluster.type_defs import DescribeRecoveryGroupResponseTypeDef","from mypy_boto3_route53_recovery_cluster.literals import Route53RecoveryClusterServiceName"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import boto3\nfrom typing import TYPE_CHECKING\n\nif TYPE_CHECKING:\n    from mypy_boto3_route53_recovery_cluster.client import Route53RecoveryClusterClient\n    from mypy_boto3_route53_recovery_cluster.type_defs import ListClustersResponseTypeDef\n\n\ndef get_recovery_cluster_info() -> ListClustersResponseTypeDef:\n    # It's recommended to explicitly type the client for best autocompletion and type checking.\n    client: Route53RecoveryClusterClient = boto3.client(\n        \"route53-recovery-cluster\",\n        region_name=\"us-east-1\", # Replace with your region\n        aws_access_key_id=\"AKIATEST\", # Use os.environ.get('AWS_ACCESS_KEY_ID', '') in real code\n        aws_secret_access_key=\"SECRETLONGKEY\", # Use os.environ.get('AWS_SECRET_ACCESS_KEY', '')\n        aws_session_token=\"SESSIONTOKEN\" # Use os.environ.get('AWS_SESSION_TOKEN', '') if applicable\n    )\n\n    response = client.list_clusters()\n    print(f\"Clusters: {response.get('Clusters')}\")\n    return response\n\nif __name__ == \"__main__\":\n    # This part would typically run in a properly configured AWS environment\n    # For this example, we'll just print a placeholder as credentials are not live\n    print(\"--- Mocking AWS client call for quickstart ---\")\n    if TYPE_CHECKING:\n        result = get_recovery_cluster_info()\n        print(f\"Mocked Cluster List (Type-checked): {result.get('Clusters')}\")\n    else:\n        print(\"Run mypy to check types. Actual execution requires AWS credentials.\")","lang":"python","description":"This quickstart demonstrates how to initialize a type-hinted `Route53RecoveryClusterClient` and call a basic operation like `list_clusters`. The `TYPE_CHECKING` block ensures that `mypy` can use the specific client type for robust static analysis, while allowing the code to run without `mypy-boto3` dependencies in production. Remember to replace placeholder credentials with actual AWS configuration or environment variables.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":{"tag":null,"tag_description":null,"last_tested":"2026-05-14","installed_version":"1.43.0","pypi_latest":"1.43.0","is_stale":false,"summary":{"python_range":"3.10–3.9","success_rate":50,"avg_install_s":1.6,"avg_import_s":null,"wheel_type":"wheel"},"results":[{"runtime":"python:3.10-alpine","python_version":"3.10","os_libc":"alpine (musl)","variant":"mypy-boto3-route53-recovery-cluster","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":"18.2M"},{"runtime":"python:3.10-alpine","python_version":"3.10","os_libc":"alpine (musl)","variant":"mypy-boto3-route53-recovery-cluster","exit_code":1,"wheel_type":null,"failure_reason":null,"import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.10-slim","python_version":"3.10","os_libc":"slim (glibc)","variant":"mypy-boto3-route53-recovery-cluster","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":1.6,"import_time_s":null,"mem_mb":null,"disk_size":"19M"},{"runtime":"python:3.10-slim","python_version":"3.10","os_libc":"slim (glibc)","variant":"mypy-boto3-route53-recovery-cluster","exit_code":1,"wheel_type":null,"failure_reason":null,"import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.11-alpine","python_version":"3.11","os_libc":"alpine (musl)","variant":"mypy-boto3-route53-recovery-cluster","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":"20.1M"},{"runtime":"python:3.11-alpine","python_version":"3.11","os_libc":"alpine (musl)","variant":"mypy-boto3-route53-recovery-cluster","exit_code":1,"wheel_type":null,"failure_reason":null,"import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.11-slim","python_version":"3.11","os_libc":"slim (glibc)","variant":"mypy-boto3-route53-recovery-cluster","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":1.7,"import_time_s":null,"mem_mb":null,"disk_size":"21M"},{"runtime":"python:3.11-slim","python_version":"3.11","os_libc":"slim (glibc)","variant":"mypy-boto3-route53-recovery-cluster","exit_code":1,"wheel_type":null,"failure_reason":null,"import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.12-alpine","python_version":"3.12","os_libc":"alpine (musl)","variant":"mypy-boto3-route53-recovery-cluster","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":"11.6M"},{"runtime":"python:3.12-alpine","python_version":"3.12","os_libc":"alpine (musl)","variant":"mypy-boto3-route53-recovery-cluster","exit_code":1,"wheel_type":null,"failure_reason":null,"import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.12-slim","python_version":"3.12","os_libc":"slim (glibc)","variant":"mypy-boto3-route53-recovery-cluster","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":1.4,"import_time_s":null,"mem_mb":null,"disk_size":"12M"},{"runtime":"python:3.12-slim","python_version":"3.12","os_libc":"slim (glibc)","variant":"mypy-boto3-route53-recovery-cluster","exit_code":1,"wheel_type":null,"failure_reason":null,"import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.13-alpine","python_version":"3.13","os_libc":"alpine (musl)","variant":"mypy-boto3-route53-recovery-cluster","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":"11.4M"},{"runtime":"python:3.13-alpine","python_version":"3.13","os_libc":"alpine (musl)","variant":"mypy-boto3-route53-recovery-cluster","exit_code":1,"wheel_type":null,"failure_reason":null,"import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.13-slim","python_version":"3.13","os_libc":"slim (glibc)","variant":"mypy-boto3-route53-recovery-cluster","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":1.5,"import_time_s":null,"mem_mb":null,"disk_size":"12M"},{"runtime":"python:3.13-slim","python_version":"3.13","os_libc":"slim (glibc)","variant":"mypy-boto3-route53-recovery-cluster","exit_code":1,"wheel_type":null,"failure_reason":null,"import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.9-alpine","python_version":"3.9","os_libc":"alpine (musl)","variant":"mypy-boto3-route53-recovery-cluster","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":"17.7M"},{"runtime":"python:3.9-alpine","python_version":"3.9","os_libc":"alpine (musl)","variant":"mypy-boto3-route53-recovery-cluster","exit_code":1,"wheel_type":null,"failure_reason":null,"import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.9-slim","python_version":"3.9","os_libc":"slim (glibc)","variant":"mypy-boto3-route53-recovery-cluster","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":1.8,"import_time_s":null,"mem_mb":null,"disk_size":"18M"},{"runtime":"python:3.9-slim","python_version":"3.9","os_libc":"slim (glibc)","variant":"mypy-boto3-route53-recovery-cluster","exit_code":1,"wheel_type":null,"failure_reason":null,"import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null}]}}