Type annotations for boto3.PinpointEmail 1.13.26 service, generated by mypy-boto3-buider 2.0.2
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.2.
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]
# update installed packages index for automated type discovery
python -m mypy_boto3
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")
Automated type discovery
mypy_boto3
package can generate index for mypy_boto3_pinpoint_email
and other installed services.
# Run this command when you add or remove service packages
python -m mypy_boto3
Generated index provides overloads for boto3.client
and boto3.service
,
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 carefullyVSCode
does not currently support function overloads
Also, generated index allows you to import types from mypy_boto3
:
# you can replace imports
import mypy_boto3_pinpoint_email as pinpoint_email
from mypy_boto3_pinpoint_email import PinpointEmailClient
# with these
from mypy_boto3 import pinpoint_email
from mypy_boto3.pinpoint_email import PinpointEmailClient
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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3f7656b7e270d7b213d89b80d9132771e034d92762b8d86244651a624d88145 |
|
MD5 | 5b6d8d3f6b9a6ef17b544470d8e3a394 |
|
BLAKE2b-256 | 314f48b39603193c105db1c3b98e1f116c0ee8e1fd20a5ec86ea398ceeb3026f |
Hashes for mypy_boto3_pinpoint_email-1.13.26.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31e3761c1d112280ce6cbb90bab340818c5cc66640120172c5857a841268748c |
|
MD5 | 262885f197b04fadf7c16c98951015cd |
|
BLAKE2b-256 | f5538fccb2686325cf9d10113a36cc564279b72409dcd407478ff2e4f495dd9d |