MWAA module#
Index > MWAA
Auto-generated documentation for MWAA type annotations stubs module types-aiobotocore-mwaa.
How to install#
Generate locally (recommended)#
You can generate type annotations for aiobotocore package locally with mypy-boto3-builder.
Use uv for build isolation.
- Run mypy-boto3-builder in your package root directory:
uvx --with 'aiobotocore==2.25.0' mypy-boto3-builder - Select
aiobotocoreAWS SDK. - Add
MWAAservice. - Use provided commands to install generated packages.
From PyPI with pip#
Install types-aiobotocore for MWAA service.
# install with aiobotocore type annotations
python -m pip install 'types-aiobotocore[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-aiobotocore-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.create_client("mwaa") as MWAAClient
boto3 documentation
# MWAAClient usage example
from aiobotocore.session import get_session
from types_aiobotocore_mwaa.client import MWAAClient
session = get_session()
async with session.create_client("mwaa") as client:
client: MWAAClient
Paginators#
Type annotations and code completion for
paginators
from session.create_client("mwaa").get_paginator("...").
# ListEnvironmentsPaginator 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.
# EndpointManagementType usage example
from types_aiobotocore_mwaa.literals import EndpointManagementType
def get_value() -> EndpointManagementType:
return "CUSTOMER"
- EndpointManagementType
- EnvironmentStatusType
- ListEnvironmentsPaginatorName
- LoggingLevelType
- RestApiMethodType
- UnitType
- UpdateStatusType
- WebserverAccessModeType
- WorkerReplacementStrategyType
- MWAAServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.
- CreateCliTokenRequestTypeDef
- ResponseMetadataTypeDef
- CreateWebLoginTokenRequestTypeDef
- DeleteEnvironmentInputTypeDef
- DimensionTypeDef
- NetworkConfigurationOutputTypeDef
- GetEnvironmentInputTypeDef
- InvokeRestApiRequestTypeDef
- UpdateErrorTypeDef
- PaginatorConfigTypeDef
- ListEnvironmentsInputTypeDef
- ListTagsForResourceInputTypeDef
- ModuleLoggingConfigurationInputTypeDef
- ModuleLoggingConfigurationTypeDef
- StatisticSetTypeDef
- TimestampTypeDef
- NetworkConfigurationTypeDef
- TagResourceInputTypeDef
- UntagResourceInputTypeDef
- UpdateNetworkConfigurationInputTypeDef
- CreateCliTokenResponseTypeDef
- CreateEnvironmentOutputTypeDef
- CreateWebLoginTokenResponseTypeDef
- InvokeRestApiResponseTypeDef
- ListEnvironmentsOutputTypeDef
- ListTagsForResourceOutputTypeDef
- UpdateEnvironmentOutputTypeDef
- LastUpdateTypeDef
- ListEnvironmentsInputPaginateTypeDef
- LoggingConfigurationInputTypeDef
- LoggingConfigurationTypeDef
- MetricDatumTypeDef
- NetworkConfigurationUnionTypeDef
- UpdateEnvironmentInputTypeDef
- EnvironmentTypeDef
- PublishMetricsInputTypeDef
- CreateEnvironmentInputTypeDef
- GetEnvironmentOutputTypeDef