Skip to content

Health module

Index > Health

Auto-generated documentation for Health type annotations stubs module types-aiobotocore-health.

How to install

From PyPI with pip

Install types-aioboto3 for Health service.

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


# 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[health]'


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

How to uninstall

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

Usage

Code samples can be found in Examples.

HealthClient

Type annotations and code completion for session.client("health") as HealthClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_health.client import HealthClient


session = Session()
async with session.client("health") as client:
    client: HealthClient

Paginators

Type annotations and code completion for paginators from session.client("health").get_paginator("...").

Usage example
from types_aiobotocore_health.paginator import DescribeAffectedAccountsForOrganizationPaginator

def get_describe_affected_accounts_for_organization_paginator() -> DescribeAffectedAccountsForOrganizationPaginator:
    return client.get_paginator("describe_affected_accounts_for_organization"))

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_health.literals import DescribeAffectedAccountsForOrganizationPaginatorName

def get_value() -> DescribeAffectedAccountsForOrganizationPaginatorName:
    return "describe_affected_accounts_for_organization"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_health.type_defs import AffectedEntityTypeDef

def get_value() -> AffectedEntityTypeDef:
    return {
        "entityArn": ...,
    }