Type annotations for boto3.PinpointEmail 1.13.26 service, generated by mypy-boto3-buider 2.0.4
Project description
mypy-boto3-pinpoint-email
Type annotations for boto3.PinpointEmail 1.13.26 service compatible with mypy, VSCode, PyCharm and other tools.
Generated by mypy-boto3-buider 2.0.4.
More information can be found on boto3-stubs page.
How to use
Make sure you have mypy installed and activated in your IDE.
Install boto3-stubs
for PinpointEmail
service.
python -m pip install boto3-stubs[pinpoint-email]
Use boto3
with mypy_boto3_pinpoint_email
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3_pinpoint_email import PinpointEmailClient
# Now mypy can check if your code is valid.
client: PinpointEmailClient = boto3.client("pinpoint-email")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: PinpointEmailClient = session.client("pinpoint-email")
# Annotated paginators are included as well
import mypy_boto3_pinpoint_email.paginator as pinpoint_email_paginators
get_dedicated_ips_paginator: pinpoint_email_paginators.GetDedicatedIpsPaginator = client.get_paginator("get_dedicated_ips")
list_configuration_sets_paginator: pinpoint_email_paginators.ListConfigurationSetsPaginator = client.get_paginator("list_configuration_sets")
list_dedicated_ip_pools_paginator: pinpoint_email_paginators.ListDedicatedIpPoolsPaginator = client.get_paginator("list_dedicated_ip_pools")
list_deliverability_test_reports_paginator: pinpoint_email_paginators.ListDeliverabilityTestReportsPaginator = client.get_paginator("list_deliverability_test_reports")
list_email_identities_paginator: pinpoint_email_paginators.ListEmailIdentitiesPaginator = client.get_paginator("list_email_identities")
Dynamic type annotations
mypy_boto3
command generates boto3.client/resource
type annotations for
mypy_boto3_pinpoint_email
and other installed services.
# Run this command after you add or remove service packages
python -m mypy_boto3
Generated type annotations provide overloads for boto3.client
and boto3.resource
,
boto3.Session.client
and boto3.Session.resource
functions,
so explicit type annotations are not needed.
mypy
supports function overloads as expectedPyCharm
also supports function overloads, but consumes a lot of RAM, use carefully if you have many services installedVSCode
does not currently support function overloads, use explicit type annotations
import boto3
# Type is discovered correctly by mypy and PyCharm
# VSCode still needs explicit type annotations
client = boto3.client("pinpoint-email")
session_client = boto3.Session().client("pinpoint-email")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for mypy-boto3-pinpoint-email-1.13.26.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd585e6e76817e39feb6783007ee883ff27b2777d634763ce2414a8dc05c8afc |
|
MD5 | 949af6dd8285953794b1b68755de34c8 |
|
BLAKE2b-256 | 597d3a377254da54eb02e0d6706b4f6f80a09524d52b4e43600af9ff40576558 |
Hashes for mypy_boto3_pinpoint_email-1.13.26.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9112555d6d0fc52e84ccbb90382d85062a09c5a5e2d0a194242234ca3bf7df9 |
|
MD5 | 9a54447da5e1986ba011267c416230f3 |
|
BLAKE2b-256 | 211437015464b25385236be236cb0c99f8a1beaaed519d2c5d367afd7986c3a3 |