Type annotations for boto3.AlexaForBusiness 1.14.0 service, generated by mypy-boto3-buider 2.0.4
Project description
mypy-boto3-alexaforbusiness
Type annotations for boto3.AlexaForBusiness 1.14.0 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 AlexaForBusiness
service.
python -m pip install boto3-stubs[alexaforbusiness]
Use boto3
with mypy_boto3_alexaforbusiness
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3_alexaforbusiness import AlexaForBusinessClient
# Now mypy can check if your code is valid.
client: AlexaForBusinessClient = boto3.client("alexaforbusiness")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: AlexaForBusinessClient = session.client("alexaforbusiness")
# Annotated paginators are included as well
import mypy_boto3_alexaforbusiness.paginator as alexaforbusiness_paginators
list_business_report_schedules_paginator: alexaforbusiness_paginators.ListBusinessReportSchedulesPaginator = client.get_paginator("list_business_report_schedules")
list_conference_providers_paginator: alexaforbusiness_paginators.ListConferenceProvidersPaginator = client.get_paginator("list_conference_providers")
list_device_events_paginator: alexaforbusiness_paginators.ListDeviceEventsPaginator = client.get_paginator("list_device_events")
list_skills_paginator: alexaforbusiness_paginators.ListSkillsPaginator = client.get_paginator("list_skills")
list_skills_store_categories_paginator: alexaforbusiness_paginators.ListSkillsStoreCategoriesPaginator = client.get_paginator("list_skills_store_categories")
list_skills_store_skills_by_category_paginator: alexaforbusiness_paginators.ListSkillsStoreSkillsByCategoryPaginator = client.get_paginator("list_skills_store_skills_by_category")
list_smart_home_appliances_paginator: alexaforbusiness_paginators.ListSmartHomeAppliancesPaginator = client.get_paginator("list_smart_home_appliances")
list_tags_paginator: alexaforbusiness_paginators.ListTagsPaginator = client.get_paginator("list_tags")
search_devices_paginator: alexaforbusiness_paginators.SearchDevicesPaginator = client.get_paginator("search_devices")
search_profiles_paginator: alexaforbusiness_paginators.SearchProfilesPaginator = client.get_paginator("search_profiles")
search_rooms_paginator: alexaforbusiness_paginators.SearchRoomsPaginator = client.get_paginator("search_rooms")
search_skill_groups_paginator: alexaforbusiness_paginators.SearchSkillGroupsPaginator = client.get_paginator("search_skill_groups")
search_users_paginator: alexaforbusiness_paginators.SearchUsersPaginator = client.get_paginator("search_users")
Dynamic type annotations
mypy_boto3
command generates boto3.client/resource
type annotations for
mypy_boto3_alexaforbusiness
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("alexaforbusiness")
session_client = boto3.Session().client("alexaforbusiness")
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-alexaforbusiness-1.14.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bcc15ded0c564447799b1988692386903889e6af2b6275c8329a0ef2a1f0e4a |
|
MD5 | b3788e141a2d0dbefbda21785ef0ede2 |
|
BLAKE2b-256 | 3db886827c66ac6bc4b27a009c3e546989fc92609b23b7e1674051fa6c249201 |
Hashes for mypy_boto3_alexaforbusiness-1.14.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 183d9b0b8bc8452312fadebb9c07451c6e07cf4cadee02ed0c1763e802a87b69 |
|
MD5 | 31a1cdc0678933143bfab97bee6ad65b |
|
BLAKE2b-256 | 225bf2df533e5d302968311f7d95b57185d72d5ba502d26478eeac5ec9cf1cfb |