{"id":3683,"library":"mypy-boto3-resiliencehub","title":"mypy-boto3-resiliencehub Type Stubs","description":"mypy-boto3-resiliencehub provides static type annotations for the `boto3` Resilience Hub service client. It is part of the `mypy-boto3` collection, generated by `mypy-boto3-builder`, aiming to improve developer experience by enabling type checking for AWS SDK for Python (boto3) code. The package version `1.42.3` corresponds to the `boto3` version it types. This project is actively maintained with frequent updates to align with new `boto3` releases and address issues.","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","stubs","resiliencehub","typing"],"install":[{"cmd":"pip install mypy-boto3-resiliencehub boto3","lang":"bash","label":"Install stubs and boto3"}],"dependencies":[{"reason":"This package provides type stubs for boto3's ResilienceHub client; boto3 itself is required for runtime functionality.","package":"boto3","optional":false}],"imports":[{"symbol":"ResilienceHubClient","correct":"from mypy_boto3_resiliencehub.client import ResilienceHubClient"},{"note":"Type definition objects are found in `type_defs`, not directly in `client`.","wrong":"from mypy_boto3_resiliencehub.client import ListAppsOutputTypeDef","symbol":"ListAppsOutputTypeDef","correct":"from mypy_boto3_resiliencehub.type_defs import ListAppsOutputTypeDef"}],"quickstart":{"code":"import os\nimport boto3\nfrom mypy_boto3_resiliencehub.client import ResilienceHubClient\nfrom mypy_boto3_resiliencehub.type_defs import ListAppsOutputTypeDef\n\n# Ensure boto3 is configured, e.g., via AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION_NAME env vars\n# Or AWS_PROFILE and AWS_REGION\n\nregion_name = os.environ.get('AWS_REGION_NAME', 'us-east-1')\nclient: ResilienceHubClient = boto3.client(\"resiliencehub\", region_name=region_name)\n\ntry:\n    print(f\"Attempting to list Resilience Hub applications in {region_name}...\")\n    response: ListAppsOutputTypeDef = client.list_apps()\n    apps = response.get('apps', [])\n    print(f\"Successfully listed {len(apps)} Resilience Hub applications.\")\n    for app in apps:\n        print(f\"  - App Name: {app.get('name')}, Status: {app.get('status')}\")\nexcept Exception as e:\n    print(f\"Error listing Resilience Hub applications: {e}\")\n    print(\"Please ensure you have configured AWS credentials and the ResilienceHub service is available in your region.\")","lang":"python","description":"This quickstart demonstrates how to initialize a typed Resilience Hub client and use it to list applications, benefiting from static type checking for method calls and response structures."},"warnings":[{"fix":"Upgrade your Python interpreter to version 3.9 or newer.","message":"Python 3.8 support has been removed across all `mypy-boto3` packages. You must use Python 3.9 or higher.","severity":"breaking","affected_versions":"mypy-boto3-builder >= 8.12.0 (affects all generated stubs, including this one)"},{"fix":"Review your `from mypy_boto3_resiliencehub.type_defs import ...` statements and update TypeDef names as per the new naming conventions (e.g., `CreateDistributionRequestRequestTypeDef` became `CreateDistributionRequestTypeDef`).","message":"TypeDef names for packed method arguments were shortened and conflicting names moved postfix. This affects direct imports of specific `TypeDef` classes.","severity":"breaking","affected_versions":"mypy-boto3-builder >= 8.9.0 (affects generated stubs)"},{"fix":"Ensure `boto3` is installed in your environment: `pip install boto3`.","message":"This package (`mypy-boto3-resiliencehub`) provides only type stubs. It does not include the runtime functionality of the `boto3` library. You must install `boto3` separately to use AWS services.","severity":"gotcha","affected_versions":"All versions"},{"fix":"Install additional service-specific stub packages as needed, e.g., `pip install mypy-boto3-s3`.","message":"This package provides type stubs for the Resilience Hub service specifically. If you need type annotations for other AWS services, you must install their respective `mypy-boto3-SERVICE_NAME` packages or the monolithic `mypy-boto3` package.","severity":"gotcha","affected_versions":"All versions"}],"env_vars":null,"search_vec":"'1.42.3':56 'activ':67 'address':79 'aim':37 'align':73 'annot':14 'aw':47,81 'boto3':3,9,17,29,35,51,60,76,82 'builder':36 'check':45 'client':21 'code':52 'collect':30 'correspond':57 'develop':40 'enabl':43 'experi':41 'frequent':70 'generat':31 'hint':86 'hub':19 'improv':39 'issu':80 'maintain':68 'mypi':2,8,28,34,83 'mypy-boto3':27 'mypy-boto3-builder':33 'mypy-boto3-resiliencehub':1,7 'new':75 'packag':54 'part':24 'project':65 'provid':11 'python':50 'releas':77 'resili':18 'resiliencehub':4,10,88 'sdk':48 'servic':20 'static':12 'stub':6,87 'type':5,13,44,63,85,89 'type-hint':84 'updat':71 'version':55,61","created_at":"2026-04-11T17:40:13.555050+00:00","updated_at":"2026-04-16T17:10:12.949177+00:00","problems":{"verify_error":"error: Failed to parse: `mypy-boto3-resiliencehub boto3`\n  Caused by: Expected one of `@`, `(`, `<`, `=`, `>`, `~`, `!`, `;`, found `b`\nmypy-boto3-resiliencehub boto3\n                         ^"},"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":null,"github":"https://github.com/youtype/mypy_boto3_builder","docs":"https://youtype.github.io/boto3_stubs_docs/mypy_boto3_resiliencehub/","changelog":null,"pypi":"https://pypi.org/project/mypy-boto3-resiliencehub/","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-06-28","last_verified":"2026-08-29","next_check":"2026-07-05","install_tag":null}}