Skip to content

WorkSpacesThinClient module#

Index > WorkSpacesThinClient

Auto-generated documentation for WorkSpacesThinClient type annotations stubs module mypy-boto3-workspaces-thin-client.

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

From PyPI with pip#

Install boto3-stubs for WorkSpacesThinClient service.

# install with boto3 type annotations
python -m pip install 'boto3-stubs[workspaces-thin-client]'


# 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[workspaces-thin-client]'


# standalone installation
python -m pip install mypy-boto3-workspaces-thin-client

How to uninstall#

python -m pip uninstall -y mypy-boto3-workspaces-thin-client

Usage#

Code samples can be found in Examples.

WorkSpacesThinClientClient#

Type annotations and code completion for boto3.client("workspaces-thin-client") as WorkSpacesThinClientClient boto3 documentation

# WorkSpacesThinClientClient usage example

from boto3.session import Session

from mypy_boto3_workspaces_thin_client.client import WorkSpacesThinClientClient

def get_client() -> WorkSpacesThinClientClient:
    return Session().client("workspaces-thin-client")

Paginators#

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

# ListDevicesPaginator usage example

from boto3.session import Session

from mypy_boto3_workspaces_thin_client.paginator import ListDevicesPaginator

def get_list_devices_paginator() -> ListDevicesPaginator:
    return Session().client("workspaces-thin-client").get_paginator("list_devices"))

Literals#

Type annotations for literals used in methods and schema.

# ApplyTimeOfType usage example

from mypy_boto3_workspaces_thin_client.literals import ApplyTimeOfType

def get_value() -> ApplyTimeOfType:
    return "DEVICE"

Type definitions#

Type annotations for type definitions used in methods and schema.