WorkSpacesThinClient module#
Index > WorkSpacesThinClient
Auto-generated documentation for WorkSpacesThinClient type annotations stubs module mypy-boto3-workspaces-thin-client.
How to install#
Generate locally (recommended)#
You can generate type annotations for boto3
package locally with mypy_boto3_builder
.
Use uv for build isolation.
- Run mypy-boto3-builder in your package root directory:
uvx --with 'boto3==1.35.86' mypy_boto3_builder
- Select
boto3-stubs
AWS SDK. - Add
WorkSpacesThinClient
service. - Use provided commands to install generated packages.
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"
- ApplyTimeOfType
- DayOfWeekType
- DesktopTypeType
- DeviceSoftwareSetComplianceStatusType
- DeviceStatusType
- EnvironmentSoftwareSetComplianceStatusType
- ListDevicesPaginatorName
- ListEnvironmentsPaginatorName
- ListSoftwareSetsPaginatorName
- MaintenanceWindowTypeType
- SoftwareSetUpdateModeType
- SoftwareSetUpdateScheduleType
- SoftwareSetUpdateStatusType
- SoftwareSetValidationStatusType
- TargetDeviceStatusType
- WorkSpacesThinClientServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.
- MaintenanceWindowTypeDef
- ResponseMetadataTypeDef
- DeleteDeviceRequestRequestTypeDef
- DeleteEnvironmentRequestRequestTypeDef
- DeregisterDeviceRequestRequestTypeDef
- DeviceSummaryTypeDef
- DeviceTypeDef
- MaintenanceWindowOutputTypeDef
- GetDeviceRequestRequestTypeDef
- GetEnvironmentRequestRequestTypeDef
- GetSoftwareSetRequestRequestTypeDef
- PaginatorConfigTypeDef
- ListDevicesRequestRequestTypeDef
- ListEnvironmentsRequestRequestTypeDef
- ListSoftwareSetsRequestRequestTypeDef
- SoftwareSetSummaryTypeDef
- ListTagsForResourceRequestRequestTypeDef
- SoftwareTypeDef
- TagResourceRequestRequestTypeDef
- UntagResourceRequestRequestTypeDef
- UpdateDeviceRequestRequestTypeDef
- UpdateSoftwareSetRequestRequestTypeDef
- CreateEnvironmentRequestRequestTypeDef
- UpdateEnvironmentRequestRequestTypeDef
- ListTagsForResourceResponseTypeDef
- ListDevicesResponseTypeDef
- UpdateDeviceResponseTypeDef
- GetDeviceResponseTypeDef
- EnvironmentSummaryTypeDef
- EnvironmentTypeDef
- ListDevicesRequestPaginateTypeDef
- ListEnvironmentsRequestPaginateTypeDef
- ListSoftwareSetsRequestPaginateTypeDef
- ListSoftwareSetsResponseTypeDef
- SoftwareSetTypeDef
- CreateEnvironmentResponseTypeDef
- ListEnvironmentsResponseTypeDef
- UpdateEnvironmentResponseTypeDef
- GetEnvironmentResponseTypeDef
- GetSoftwareSetResponseTypeDef