Skip to content

IoT1ClickProjects module

Index > IoT1ClickProjects

Auto-generated documentation for IoT1ClickProjects type annotations stubs module mypy-boto3-iot1click-projects.

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 IoT1ClickProjects.

From PyPI with pip

Install boto3-stubs for IoT1ClickProjects service.

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


# 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[iot1click-projects]'


# standalone installation
python -m pip install mypy-boto3-iot1click-projects

How to uninstall

python -m pip uninstall -y mypy-boto3-iot1click-projects

Usage

Code samples can be found in Examples.

IoT1ClickProjectsClient

Type annotations and code completion for boto3.client("iot1click-projects") as IoT1ClickProjectsClient boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_iot1click_projects.client import IoT1ClickProjectsClient

def get_client() -> IoT1ClickProjectsClient:
    return Session().client("iot1click-projects")

Paginators

Type annotations and code completion for paginators from boto3.client("iot1click-projects").get_paginator("...").

Usage example
from boto3.session import Session

from mypy_boto3_iot1click_projects.paginator import ListPlacementsPaginator

def get_list_placements_paginator() -> ListPlacementsPaginator:
    return Session().client("iot1click-projects").get_paginator("list_placements"))

Literals

Type annotations for literals used in methods and schemas.

Usage example
from mypy_boto3_iot1click_projects.literals import ListPlacementsPaginatorName

def get_value() -> ListPlacementsPaginatorName:
    return "list_placements"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from mypy_boto3_iot1click_projects.type_defs import AssociateDeviceWithPlacementRequestRequestTypeDef

def get_value() -> AssociateDeviceWithPlacementRequestRequestTypeDef:
    return {
        "projectName": ...,
        "placementName": ...,
        "deviceId": ...,
        "deviceTemplateName": ...,
    }