Registry / type-stubs / mypy-boto3-resiliencehub

mypy-boto3-resiliencehub

JSON →
library1.43.0pypypi✓ verified 22d ago

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.

pip install mypy-boto3-resiliencehub boto3
INSTALL
IMPORT
SIG · MYPY-BOTO3-RESILIE
M
mypy-boto3-resiliencehub
type-stubspythonv1.43.0
Install
3.8s avg
Import
620ms
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.656s · 52.1MB
glibc
py 3.103.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.
fix
Upgrade 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.
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`).
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.
fix
Ensure `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.
fix
Install 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.
Agent activity
17 hits · last 30 days
node
14
OpenAI (training)
1
Resources
mypy-boto3-resiliencehub — pip install mypy-boto3-resiliencehub · libregistry