Skip to content

Account module#

Index > Account

Auto-generated documentation for Account type annotations stubs module types-aiobotocore-account.

How to install#

From PyPI with pip#

Install types-aiobotocore for Account service.

# install with aiobotocore type annotations
python -m pip install 'types-aiobotocore[account]'


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


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

How to uninstall#

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

Usage#

Code samples can be found in Examples.

AccountClient#

Type annotations and code completion for session.create_client("account") as AccountClient boto3 documentation

# AccountClient usage example

from aiobotocore.session import get_session

from types_aiobotocore_account.client import AccountClient


session = get_session()
async with session.create_client("account") as client:
    client: AccountClient

Paginators#

Type annotations and code completion for paginators from session.create_client("account").get_paginator("...").

# ListRegionsPaginator usage example

from types_aiobotocore_account.paginator import ListRegionsPaginator

def get_list_regions_paginator() -> ListRegionsPaginator:
    return client.get_paginator("list_regions"))

Literals#

Type annotations for literals used in methods and schema.

# AlternateContactTypeType usage example

from types_aiobotocore_account.literals import AlternateContactTypeType

def get_value() -> AlternateContactTypeType:
    return "BILLING"

Type definitions#

Type annotations for type definitions used in methods and schema.