Type annotations for boto3.IoTSiteWise 1.13.24 service, generated by mypy-boto3-buider 1.1.1
Project description
mypy-boto3-iotsitewise
Type annotations for boto3.IoTSiteWise 1.13.24 service compatible with mypy, VSCode, PyCharm and other tools.
Generated by mypy-boto3-buider 1.1.1.
More information can be found on boto3-stubs page.
How to use
Type checking
Make sure you have mypy installed and activated in your IDE.
Install boto3-stubs
for IoTSiteWise
service.
python -m pip install boto3-stubs[iotsitewise]
# update installed packages index
mypy_boto3
Use boto3
with mypy_boto3
in your project and enjoy type checking and auto-complete.
import boto3
from mypy_boto3 import iotsitewise
# alternative import if you do not want to install mypy_boto3 package
# import mypy_boto3_iotsitewise as iotsitewise
# Use this client as usual, now mypy can check if your code is valid.
# Check if your IDE supports function overloads,
# you probably do not need explicit type annotations
# client = boto3.client("iotsitewise")
client: iotsitewise.IoTSiteWiseClient = boto3.client("iotsitewise")
# works for session as well
session = boto3.session.Session(region="us-west-1")
session_client: iotsitewise.IoTSiteWiseClient = session.client("iotsitewise")
# Waiters need type annotation on creation
asset_active_waiter: iotsitewise.AssetActiveWaiter = client.get_waiter("asset_active")
asset_model_active_waiter: iotsitewise.AssetModelActiveWaiter = client.get_waiter("asset_model_active")
asset_model_not_exists_waiter: iotsitewise.AssetModelNotExistsWaiter = client.get_waiter("asset_model_not_exists")
asset_not_exists_waiter: iotsitewise.AssetNotExistsWaiter = client.get_waiter("asset_not_exists")
portal_active_waiter: iotsitewise.PortalActiveWaiter = client.get_waiter("portal_active")
portal_not_exists_waiter: iotsitewise.PortalNotExistsWaiter = client.get_waiter("portal_not_exists")
# Paginators need type annotation on creation
get_asset_property_aggregates_paginator: iotsitewise.GetAssetPropertyAggregatesPaginator = client.get_paginator("get_asset_property_aggregates")
get_asset_property_value_history_paginator: iotsitewise.GetAssetPropertyValueHistoryPaginator = client.get_paginator("get_asset_property_value_history")
list_access_policies_paginator: iotsitewise.ListAccessPoliciesPaginator = client.get_paginator("list_access_policies")
list_asset_models_paginator: iotsitewise.ListAssetModelsPaginator = client.get_paginator("list_asset_models")
list_assets_paginator: iotsitewise.ListAssetsPaginator = client.get_paginator("list_assets")
list_associated_assets_paginator: iotsitewise.ListAssociatedAssetsPaginator = client.get_paginator("list_associated_assets")
list_dashboards_paginator: iotsitewise.ListDashboardsPaginator = client.get_paginator("list_dashboards")
list_gateways_paginator: iotsitewise.ListGatewaysPaginator = client.get_paginator("list_gateways")
list_portals_paginator: iotsitewise.ListPortalsPaginator = client.get_paginator("list_portals")
list_project_assets_paginator: iotsitewise.ListProjectAssetsPaginator = client.get_paginator("list_project_assets")
list_projects_paginator: iotsitewise.ListProjectsPaginator = client.get_paginator("list_projects")
How it works
Fully automated builder carefully generates
type annotations for each service, patiently waiting for boto3
updates. It delivers
a drop-in type annotations for you and makes sure that:
- All available
boto3
services are covered. - Each public class and method of every
boto3
service gets valid type annotations extracted from the documentation (blamebotocore
docs if types are incorrect). - Type annotations include up-to-date documentation.
- Link to documentation is provided for every method.
- Code is processed by black for readability.
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
Hashes for mypy-boto3-iotsitewise-1.13.24.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a530961bec55426e96aa97bc764e4c92b682a00c6c135c27db0a1d8328d7a660 |
|
MD5 | 98cd0a1b2b72d66da93ce6cd91a735f3 |
|
BLAKE2b-256 | c9c41ee0d1b29381cebf996e61ba8abbebfaae540d8b4f27dc7e715d5b9ba2f8 |