Skip to main content

Type annotations for boto3.IoTEvents 1.17.41 service, generated by mypy-boto3-buider 4.4.0

Project description

mypy-boto3-iotevents

PyPI - mypy-boto3-iotevents PyPI - Python Version Docs

boto3.typed

Type annotations for boto3.IoTEvents 1.17.41 service compatible with VSCode, PyCharm, Emacs, Sublime Text, mypy, pyright and other tools.

Generated by mypy-boto3-buider 4.4.0.

More information can be found on boto3-stubs page.

See how it helps to find and fix potential bugs:

boto3-stubs demo

How to install

Install boto3-stubs for IoTEvents service.

python -m pip install boto3-stubs[iotevents]

Usage

VSCode

  • Install Python extension
  • Install Pylance extension
  • Set Pylance as your Python Language Server
  • Install boto-stubs[iotevents] in your environment: python -m pip install 'boto3-stubs[iotevents]'

Both type checking and auto-complete should work for IoTEvents service. No explicit type annotations required, write your boto3 code as usual.

PyCharm

  • Install boto-stubs[iotevents] in your environment: python -m pip install 'boto3-stubs[iotevents]'

Both type checking and auto-complete should work for IoTEvents service. No explicit type annotations required, write your boto3 code as usual. Auto-complete can be slow on big projects or if you have a lot of installed boto3-stubs submodules.

Other IDEs

Not tested, but as long as your IDE support mypy or pyright, everything should work.

mypy

  • Install mypy: python -m pip install mypy
  • Install boto-stubs[iotevents] in your environment: python -m pip install 'boto3-stubs[iotevents]'
  • Run mypy as usual

Type checking should work for IoTEvents service. No explicit type annotations required, write your boto3 code as usual.

pyright

  • Install pyright: yarn global add pyright
  • Install boto-stubs[iotevents] in your environment: python -m pip install 'boto3-stubs[iotevents]'
  • Optionally, you can install boto3-stubs to typings folder.

Type checking should work for IoTEvents service. No explicit type annotations required, write your boto3 code as usual.

Explicit type annotations

Client annotations

IoTEventsClient provides annotations for boto3.client("iotevents").

import boto3

from mypy_boto3_iotevents import IoTEventsClient

client: IoTEventsClient = boto3.client("iotevents")

# 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: IoTEventsClient = session.client("iotevents")

Typed dictionations

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

from mypy_boto3_iotevents.type_defs import (
    ActionTypeDef,
    AnalysisResultLocationTypeDef,
    AnalysisResultTypeDef,
    AssetPropertyTimestampTypeDef,
    AssetPropertyValueTypeDef,
    AssetPropertyVariantTypeDef,
    AttributeTypeDef,
    ClearTimerActionTypeDef,
    DetectorDebugOptionTypeDef,
    DetectorModelConfigurationTypeDef,
    DetectorModelDefinitionTypeDef,
    DetectorModelSummaryTypeDef,
    DetectorModelTypeDef,
    DetectorModelVersionSummaryTypeDef,
    DynamoDBActionTypeDef,
    DynamoDBv2ActionTypeDef,
    EventTypeDef,
    FirehoseActionTypeDef,
    InputConfigurationTypeDef,
    InputDefinitionTypeDef,
    InputSummaryTypeDef,
    InputTypeDef,
    IotEventsActionTypeDef,
    IotSiteWiseActionTypeDef,
    IotTopicPublishActionTypeDef,
    LambdaActionTypeDef,
    LoggingOptionsTypeDef,
    OnEnterLifecycleTypeDef,
    OnExitLifecycleTypeDef,
    OnInputLifecycleTypeDef,
    PayloadTypeDef,
    ResetTimerActionTypeDef,
    SNSTopicPublishActionTypeDef,
    SetTimerActionTypeDef,
    SetVariableActionTypeDef,
    SqsActionTypeDef,
    StateTypeDef,
    TagTypeDef,
    TransitionEventTypeDef,
    CreateDetectorModelResponseTypeDef,
    CreateInputResponseTypeDef,
    DescribeDetectorModelAnalysisResponseTypeDef,
    DescribeDetectorModelResponseTypeDef,
    DescribeInputResponseTypeDef,
    DescribeLoggingOptionsResponseTypeDef,
    GetDetectorModelAnalysisResultsResponseTypeDef,
    ListDetectorModelVersionsResponseTypeDef,
    ListDetectorModelsResponseTypeDef,
    ListInputsResponseTypeDef,
    ListTagsForResourceResponseTypeDef,
    StartDetectorModelAnalysisResponseTypeDef,
    UpdateDetectorModelResponseTypeDef,
    UpdateInputResponseTypeDef,
)

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

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-iotevents-1.17.41.0.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mypy_boto3_iotevents-1.17.41.0-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file mypy-boto3-iotevents-1.17.41.0.tar.gz.

File metadata

  • Download URL: mypy-boto3-iotevents-1.17.41.0.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for mypy-boto3-iotevents-1.17.41.0.tar.gz
Algorithm Hash digest
SHA256 d9497a2557d152316eca96168e12726d2d26731a9b3049cbf8aa5c8247c108e7
MD5 66a74f3561d1a4c55e2a91b3f2aa3b59
BLAKE2b-256 96497299aab3b671dc05d04b86169a7985bfe97b3e25e270ccea2e35e05079ad

See more details on using hashes here.

File details

Details for the file mypy_boto3_iotevents-1.17.41.0-py3-none-any.whl.

File metadata

  • Download URL: mypy_boto3_iotevents-1.17.41.0-py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8

File hashes

Hashes for mypy_boto3_iotevents-1.17.41.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eb025507b0d6921931490738813cd63e2858377abae32a9c17fb0629e456c7a0
MD5 c8050185ca59452c19ca384f7840ecbc
BLAKE2b-256 13fa4fb6da7c14a1e312d4d42d937e132035239b8f50f86f8700835c2ad2c6d5

See more details on using hashes here.

Supported by

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