Registry /
type-stubs / mypy-boto3-resiliencehub
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
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.656s · 52.1MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 3.8s · import 0.584s · 53MB
50MB installed
● package 50MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
ResilienceHubClient
✓ from mypy_boto3_resiliencehub.client import ResilienceHubClient
ListAppsOutputTypeDef
✓ from mypy_boto3_resiliencehub.type_defs import ListAppsOutputTypeDef
✗ from mypy_boto3_resiliencehub.client import ListAppsOutputTypeDef
Type definition objects are found in `type_defs`, not directly in `client`.
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.
import os
import boto3
from mypy_boto3_resiliencehub.client import ResilienceHubClient
from mypy_boto3_resiliencehub.type_defs import ListAppsOutputTypeDef
# Ensure boto3 is configured, e.g., via AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION_NAME env vars
# Or AWS_PROFILE and AWS_REGION
region_name = os.environ.get('AWS_REGION_NAME', 'us-east-1')
client: ResilienceHubClient = boto3.client("resiliencehub", region_name=region_name)
try:
print(f"Attempting to list Resilience Hub applications in {region_name}...")
response: ListAppsOutputTypeDef = client.list_apps()
apps = response.get('apps', [])
print(f"Successfully listed {len(apps)} Resilience Hub applications.")
for app in apps:
print(f" - App Name: {app.get('name')}, Status: {app.get('status')}")
except Exception as e:
print(f"Error listing Resilience Hub applications: {e}")
print("Please ensure you have configured AWS credentials and the ResilienceHub service is available in your region.")
Debug
Known issues
breakingPython 3.8 support has been removed across all `mypy-boto3` packages. You must use Python 3.9 or higher.fixUpgrade your Python interpreter to version 3.9 or newer.
affects: mypy-boto3-builder >= 8.12.0 (affects all generated stubs, including this one)
breakingTypeDef names for packed method arguments were shortened and conflicting names moved postfix. This affects direct imports of specific `TypeDef` classes.fixReview your `from mypy_boto3_resiliencehub.type_defs import ...` statements and update TypeDef names as per the new naming conventions (e.g., `CreateDistributionRequestRequestTypeDef` became `CreateDistributionRequestTypeDef`).
affects: mypy-boto3-builder >= 8.9.0 (affects generated stubs)
gotchaThis 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.fixEnsure `boto3` is installed in your environment: `pip install boto3`.
affects: All versions
gotchaThis 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.fixInstall additional service-specific stub packages as needed, e.g., `pip install mypy-boto3-s3`.
affects: All versions
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
boto3requiredThis package provides type stubs for boto3's ResilienceHub client; boto3 itself is required for runtime functionality.