Skip to content

MWAA module

Index > MWAA

Auto-generated documentation for MWAA type annotations stubs module types-aiobotocore-mwaa.

How to install

From PyPI with pip

Install types-aioboto3 for MWAA service.

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


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


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

How to uninstall

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

Usage

Code samples can be found in Examples.

MWAAClient

Type annotations and code completion for session.client("mwaa") as MWAAClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_mwaa.client import MWAAClient


session = Session()
async with session.client("mwaa") as client:
    client: MWAAClient

Paginators

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

Usage example
from types_aiobotocore_mwaa.paginator import ListEnvironmentsPaginator

def get_list_environments_paginator() -> ListEnvironmentsPaginator:
    return client.get_paginator("list_environments"))

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_mwaa.literals import EnvironmentStatusType

def get_value() -> EnvironmentStatusType:
    return "AVAILABLE"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_mwaa.type_defs import CreateCliTokenRequestRequestTypeDef

def get_value() -> CreateCliTokenRequestRequestTypeDef:
    return {
        "Name": ...,
    }