Skip to content

PinpointEmail module

Index > PinpointEmail

Auto-generated documentation for PinpointEmail type annotations stubs module types-aiobotocore-pinpoint-email.

How to install

From PyPI with pip

Install types-aiobotocore for PinpointEmail service.

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


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


# standalone installation
python -m pip install types-aiobotocore-pinpoint-email

How to uninstall

python -m pip uninstall -y types-aiobotocore-pinpoint-email

Usage

Code samples can be found in Examples.

PinpointEmailClient

Type annotations and code completion for session.create_client("pinpoint-email") as PinpointEmailClient boto3 documentation

Usage example
from aiobotocore.session import get_session

from types_aiobotocore_pinpoint_email.client import PinpointEmailClient


session = get_session()
async with session.create_client("pinpoint-email") as client:
    client: PinpointEmailClient

Paginators

Type annotations and code completion for paginators from session.create_client("pinpoint-email").get_paginator("...").

Usage example
from types_aiobotocore_pinpoint_email.paginator import GetDedicatedIpsPaginator

def get_get_dedicated_ips_paginator() -> GetDedicatedIpsPaginator:
    return client.get_paginator("get_dedicated_ips"))

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_pinpoint_email.literals import BehaviorOnMxFailureType

def get_value() -> BehaviorOnMxFailureType:
    return "REJECT_MESSAGE"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_pinpoint_email.type_defs import BlacklistEntryTypeDef

def get_value() -> BlacklistEntryTypeDef:
    return {
        "RblName": ...,
    }