Skip to content

IoTFleetWise module#

Index > IoTFleetWise

Auto-generated documentation for IoTFleetWise type annotations stubs module mypy-boto3-iotfleetwise.

How to install#

VSCode extension#

Add AWS Boto3 extension to your VSCode and run AWS boto3: Quick Start command.

Click Modify and select boto3 common and IoTFleetWise.

From PyPI with pip#

Install boto3-stubs for IoTFleetWise service.

# install with boto3 type annotations
python -m pip install 'boto3-stubs[iotfleetwise]'


# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[iotfleetwise]'


# standalone installation
python -m pip install mypy-boto3-iotfleetwise

How to uninstall#

python -m pip uninstall -y mypy-boto3-iotfleetwise

Usage#

Code samples can be found in Examples.

IoTFleetWiseClient#

Type annotations and code completion for boto3.client("iotfleetwise") as IoTFleetWiseClient boto3 documentation

# IoTFleetWiseClient usage example

from boto3.session import Session

from mypy_boto3_iotfleetwise.client import IoTFleetWiseClient

def get_client() -> IoTFleetWiseClient:
    return Session().client("iotfleetwise")

Paginators#

Type annotations and code completion for paginators from boto3.client("iotfleetwise").get_paginator("...").

# GetVehicleStatusPaginator usage example

from boto3.session import Session

from mypy_boto3_iotfleetwise.paginator import GetVehicleStatusPaginator

def get_get_vehicle_status_paginator() -> GetVehicleStatusPaginator:
    return Session().client("iotfleetwise").get_paginator("get_vehicle_status"))

Literals#

Type annotations for literals used in methods and schema.

# CampaignStatusType usage example

from mypy_boto3_iotfleetwise.literals import CampaignStatusType

def get_value() -> CampaignStatusType:
    return "CREATING"

Type definitions#

Type annotations for type definitions used in methods and schema.