Skip to content

ResilienceHub module

Index > ResilienceHub

Auto-generated documentation for ResilienceHub type annotations stubs module types-aiobotocore-resiliencehub.

How to install

From PyPI with pip

Install types-aioboto3 for ResilienceHub service.

# install with aioboto3 type annotations
python -m pip install 'types-aioboto3[resiliencehub]'


# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-aioboto3-lite[resiliencehub]'


# standalone installation
python -m pip install types-aiobotocore-resiliencehub

How to uninstall

python -m pip uninstall -y types-aiobotocore-resiliencehub

Usage

Code samples can be found in Examples.

ResilienceHubClient

Type annotations and code completion for session.client("resiliencehub") as ResilienceHubClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_resiliencehub.client import ResilienceHubClient


session = Session()
async with session.client("resiliencehub") as client:
    client: ResilienceHubClient

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_resiliencehub.literals import AlarmTypeType

def get_value() -> AlarmTypeType:
    return "Canary"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_resiliencehub.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }