Skip to content

AppMesh module

Index > AppMesh

Auto-generated documentation for AppMesh type annotations stubs module types-aiobotocore-appmesh.

How to install

From PyPI with pip

Install types-aioboto3 for AppMesh service.

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


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


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

How to uninstall

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

Usage

Code samples can be found in Examples.

AppMeshClient

Type annotations and code completion for session.client("appmesh") as AppMeshClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_appmesh.client import AppMeshClient


session = Session()
async with session.client("appmesh") as client:
    client: AppMeshClient

Paginators

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

Usage example
from types_aiobotocore_appmesh.paginator import ListGatewayRoutesPaginator

def get_list_gateway_routes_paginator() -> ListGatewayRoutesPaginator:
    return client.get_paginator("list_gateway_routes"))

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_appmesh.literals import DefaultGatewayRouteRewriteType

def get_value() -> DefaultGatewayRouteRewriteType:
    return "DISABLED"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_appmesh.type_defs import AwsCloudMapInstanceAttributeTypeDef

def get_value() -> AwsCloudMapInstanceAttributeTypeDef:
    return {
        "key": ...,
        "value": ...,
    }