Type annotations for boto3.PinpointEmail 1.13.26 service, generated by mypy-boto3-buider 2.0.3
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.3.
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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e375fb50e27f5407571217292294de64e0242fab746499cc0a1967492c80b5d5 |
|
MD5 | c52183bd2d7668b55797d64e637e424e |
|
BLAKE2b-256 | e1441955834033da639e8808306eaa08b2edf31347b637c139798067e351338a |
Hashes for mypy_boto3_pinpoint_email-1.13.26.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 934ad1f3c536fdb9f2c8d06a5b9fce4c08a46e67e041d2f43d04870ac0abfb4c |
|
MD5 | f52db77fa7ae516a9d6b939f0915a176 |
|
BLAKE2b-256 | 786c42e157a21e94334fae9483e80960e20939ee0b918531f5be49373469e9cf |