WorkMailMessageFlow module#
Index > WorkMailMessageFlow
Auto-generated documentation for WorkMailMessageFlow type annotations stubs module mypy-boto3-workmailmessageflow.
How to install#
Generate locally (recommended)#
You can generate type annotations for boto3
package locally with mypy_boto3_builder
.
Use uv for build isolation.
- Run mypy-boto3-builder in your package root directory:
uvx --with 'boto3==1.35.86' mypy_boto3_builder
- Select
boto3-stubs
AWS SDK. - Add
WorkMailMessageFlow
service. - Use provided commands to install generated packages.
VSCode extension#
Add AWS Boto3
extension to your VSCode and run AWS boto3: Quick Start
command.
Click Modify
and select boto3 common
and WorkMailMessageFlow
.
From PyPI with pip#
Install boto3-stubs
for WorkMailMessageFlow
service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[workmailmessageflow]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[workmailmessageflow]'
# standalone installation
python -m pip install mypy-boto3-workmailmessageflow
How to uninstall#
python -m pip uninstall -y mypy-boto3-workmailmessageflow
Usage#
Code samples can be found in Examples.
WorkMailMessageFlowClient#
Type annotations and code completion for boto3.client("workmailmessageflow")
as WorkMailMessageFlowClient
boto3 documentation
# WorkMailMessageFlowClient usage example
from boto3.session import Session
from mypy_boto3_workmailmessageflow.client import WorkMailMessageFlowClient
def get_client() -> WorkMailMessageFlowClient:
return Session().client("workmailmessageflow")
Literals#
Type annotations for literals used in methods and schema.
# WorkMailMessageFlowServiceName usage example
from mypy_boto3_workmailmessageflow.literals import WorkMailMessageFlowServiceName
def get_value() -> WorkMailMessageFlowServiceName:
return "workmailmessageflow"
Type definitions#
Type annotations for type definitions used in methods and schema.