Skip to main content

Type annotations for boto3.AlexaForBusiness 1.14.37 service, generated by mypy-boto3-buider 2.2.0

Project description

mypy-boto3-alexaforbusiness

PyPI - mypy-boto3-alexaforbusiness PyPI - Python Version Docs

Type annotations for boto3.AlexaForBusiness 1.14.37 service compatible with mypy, VSCode, PyCharm and other tools.

Generated by mypy-boto3-buider 2.2.0.

More information can be found on boto3-stubs page.

How to install

Make sure you have mypy installed and activated in your IDE.

Install boto3-stubs for AlexaForBusiness service.

python -m pip install boto3-stubs[alexaforbusiness]

How to use

Client annotations

AlexaForBusinessClient provides annotations for boto3.client("alexaforbusiness").

import boto3

from mypy_boto3_alexaforbusiness import AlexaForBusinessClient
from mypy_boto3_alexaforbusiness.paginator import (
    ListBusinessReportSchedulesPaginator,
    ListConferenceProvidersPaginator,
    ListDeviceEventsPaginator,
    ListSkillsPaginator,
    ListSkillsStoreCategoriesPaginator,
    ListSkillsStoreSkillsByCategoryPaginator,
    ListSmartHomeAppliancesPaginator,
    ListTagsPaginator,
    SearchDevicesPaginator,
    SearchProfilesPaginator,
    SearchRoomsPaginator,
    SearchSkillGroupsPaginator,
    SearchUsersPaginator,
)
from mypy_boto3_alexaforbusiness.type_defs import AddressBookDataTypeDef, ...

client: AlexaForBusinessClient = boto3.client("alexaforbusiness")

# now client usage is checked by mypy and IDE should provide code auto-complete

# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: AlexaForBusinessClient = session.client("alexaforbusiness")

Paginators annotations

mypy_boto3_alexaforbusiness.paginator module contains type annotations for all paginators.

client: AlexaForBusinessClient = boto3.client("alexaforbusiness")

# Explicit type annotations are optional here
# Type should be correctly discovered by mypy and IDEs
# VSCode requires explicit type annotations
list_business_report_schedules_paginator: ListBusinessReportSchedulesPaginator = client.get_paginator("list_business_report_schedules")
list_conference_providers_paginator: ListConferenceProvidersPaginator = client.get_paginator("list_conference_providers")
list_device_events_paginator: ListDeviceEventsPaginator = client.get_paginator("list_device_events")
list_skills_paginator: ListSkillsPaginator = client.get_paginator("list_skills")
list_skills_store_categories_paginator: ListSkillsStoreCategoriesPaginator = client.get_paginator("list_skills_store_categories")
list_skills_store_skills_by_category_paginator: ListSkillsStoreSkillsByCategoryPaginator = client.get_paginator("list_skills_store_skills_by_category")
list_smart_home_appliances_paginator: ListSmartHomeAppliancesPaginator = client.get_paginator("list_smart_home_appliances")
list_tags_paginator: ListTagsPaginator = client.get_paginator("list_tags")
search_devices_paginator: SearchDevicesPaginator = client.get_paginator("search_devices")
search_profiles_paginator: SearchProfilesPaginator = client.get_paginator("search_profiles")
search_rooms_paginator: SearchRoomsPaginator = client.get_paginator("search_rooms")
search_skill_groups_paginator: SearchSkillGroupsPaginator = client.get_paginator("search_skill_groups")
search_users_paginator: SearchUsersPaginator = client.get_paginator("search_users")

Typed dictionations

mypy_boto3_alexaforbusiness.type_defs module contains structures and shapes assembled to typed dictionaries for additional type checking.

def get_structure() -> AddressBookDataTypeDef:
    return {
      ...
    }

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 expected
  • PyCharm also supports function overloads, but consumes a lot of RAM, use carefully if you have many services installed
  • VSCode does not currently support function overloads, use explicit type annotations
# 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

mypy-boto3-alexaforbusiness-1.14.37.0.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file mypy-boto3-alexaforbusiness-1.14.37.0.tar.gz.

File metadata

  • Download URL: mypy-boto3-alexaforbusiness-1.14.37.0.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for mypy-boto3-alexaforbusiness-1.14.37.0.tar.gz
Algorithm Hash digest
SHA256 b749a675c43bfa2e873aa5f63c909479edce514c02abba2c0c1057b6997945f3
MD5 ba89be08082b362d70fae77b6f67ef0f
BLAKE2b-256 da2073aa26e26ea2c25e2fce112ec408453f6eff447dd2cd1e80daa0c0a24d8d

See more details on using hashes here.

File details

Details for the file mypy_boto3_alexaforbusiness-1.14.37.0-py3-none-any.whl.

File metadata

  • Download URL: mypy_boto3_alexaforbusiness-1.14.37.0-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for mypy_boto3_alexaforbusiness-1.14.37.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa57cb599e10ad0c7c0ac9d9ab2bc4e0bac78583c063b12e4f5e41e221e4b0b5
MD5 080a28b8564e02d4ff75ae67909e7e61
BLAKE2b-256 5827ad35c719f1e70d898b898f32d1662de0e4ed62a7a3dad0d3693d8175c940

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page