Skip to content

Type definitions#

Index > WorkSpacesThinClient > Type definitions

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

MaintenanceWindowTypeDef#

# MaintenanceWindowTypeDef definition

class MaintenanceWindowTypeDef(TypedDict):
    type: NotRequired[MaintenanceWindowTypeType],  # (1)
    startTimeHour: NotRequired[int],
    startTimeMinute: NotRequired[int],
    endTimeHour: NotRequired[int],
    endTimeMinute: NotRequired[int],
    daysOfTheWeek: NotRequired[Sequence[DayOfWeekType]],  # (2)
    applyTimeOf: NotRequired[ApplyTimeOfType],  # (3)
  1. See MaintenanceWindowTypeType
  2. See DayOfWeekType
  3. See ApplyTimeOfType

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

DeleteDeviceRequestRequestTypeDef#

# DeleteDeviceRequestRequestTypeDef definition

class DeleteDeviceRequestRequestTypeDef(TypedDict):
    id: str,
    clientToken: NotRequired[str],

DeleteEnvironmentRequestRequestTypeDef#

# DeleteEnvironmentRequestRequestTypeDef definition

class DeleteEnvironmentRequestRequestTypeDef(TypedDict):
    id: str,
    clientToken: NotRequired[str],

DeregisterDeviceRequestRequestTypeDef#

# DeregisterDeviceRequestRequestTypeDef definition

class DeregisterDeviceRequestRequestTypeDef(TypedDict):
    id: str,
    targetDeviceStatus: NotRequired[TargetDeviceStatusType],  # (1)
    clientToken: NotRequired[str],
  1. See TargetDeviceStatusType

EmbeddedTagTypeDef#

# EmbeddedTagTypeDef definition

class EmbeddedTagTypeDef(TypedDict):
    resourceArn: NotRequired[str],
    internalId: NotRequired[str],

MaintenanceWindowPaginatorTypeDef#

# MaintenanceWindowPaginatorTypeDef definition

class MaintenanceWindowPaginatorTypeDef(TypedDict):
    type: NotRequired[MaintenanceWindowTypeType],  # (1)
    startTimeHour: NotRequired[int],
    startTimeMinute: NotRequired[int],
    endTimeHour: NotRequired[int],
    endTimeMinute: NotRequired[int],
    daysOfTheWeek: NotRequired[List[DayOfWeekType]],  # (2)
    applyTimeOf: NotRequired[ApplyTimeOfType],  # (3)
  1. See MaintenanceWindowTypeType
  2. See DayOfWeekType
  3. See ApplyTimeOfType

GetDeviceRequestRequestTypeDef#

# GetDeviceRequestRequestTypeDef definition

class GetDeviceRequestRequestTypeDef(TypedDict):
    id: str,

GetEnvironmentRequestRequestTypeDef#

# GetEnvironmentRequestRequestTypeDef definition

class GetEnvironmentRequestRequestTypeDef(TypedDict):
    id: str,

GetSoftwareSetRequestRequestTypeDef#

# GetSoftwareSetRequestRequestTypeDef definition

class GetSoftwareSetRequestRequestTypeDef(TypedDict):
    id: str,

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListDevicesRequestRequestTypeDef#

# ListDevicesRequestRequestTypeDef definition

class ListDevicesRequestRequestTypeDef(TypedDict):
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

ListEnvironmentsRequestRequestTypeDef#

# ListEnvironmentsRequestRequestTypeDef definition

class ListEnvironmentsRequestRequestTypeDef(TypedDict):
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

ListSoftwareSetsRequestRequestTypeDef#

# ListSoftwareSetsRequestRequestTypeDef definition

class ListSoftwareSetsRequestRequestTypeDef(TypedDict):
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

SoftwareSetSummaryTypeDef#

# SoftwareSetSummaryTypeDef definition

class SoftwareSetSummaryTypeDef(TypedDict):
    id: NotRequired[str],
    version: NotRequired[str],
    releasedAt: NotRequired[datetime],
    supportedUntil: NotRequired[datetime],
    validationStatus: NotRequired[SoftwareSetValidationStatusType],  # (1)
    arn: NotRequired[str],
  1. See SoftwareSetValidationStatusType

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,

SoftwareTypeDef#

# SoftwareTypeDef definition

class SoftwareTypeDef(TypedDict):
    name: NotRequired[str],
    version: NotRequired[str],

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tags: Mapping[str, str],

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tagKeys: Sequence[str],

UpdateDeviceRequestRequestTypeDef#

# UpdateDeviceRequestRequestTypeDef definition

class UpdateDeviceRequestRequestTypeDef(TypedDict):
    id: str,
    name: NotRequired[str],
    desiredSoftwareSetId: NotRequired[str],
    softwareSetUpdateSchedule: NotRequired[SoftwareSetUpdateScheduleType],  # (1)
    kmsKeyArn: NotRequired[str],
  1. See SoftwareSetUpdateScheduleType

UpdateSoftwareSetRequestRequestTypeDef#

# UpdateSoftwareSetRequestRequestTypeDef definition

class UpdateSoftwareSetRequestRequestTypeDef(TypedDict):
    id: str,
    validationStatus: SoftwareSetValidationStatusType,  # (1)
  1. See SoftwareSetValidationStatusType

CreateEnvironmentRequestRequestTypeDef#

# CreateEnvironmentRequestRequestTypeDef definition

class CreateEnvironmentRequestRequestTypeDef(TypedDict):
    desktopArn: str,
    name: NotRequired[str],
    desktopEndpoint: NotRequired[str],
    softwareSetUpdateSchedule: NotRequired[SoftwareSetUpdateScheduleType],  # (1)
    maintenanceWindow: NotRequired[MaintenanceWindowTypeDef],  # (2)
    softwareSetUpdateMode: NotRequired[SoftwareSetUpdateModeType],  # (3)
    desiredSoftwareSetId: NotRequired[str],
    kmsKeyArn: NotRequired[str],
    clientToken: NotRequired[str],
    tags: NotRequired[Mapping[str, str]],
  1. See SoftwareSetUpdateScheduleType
  2. See MaintenanceWindowTypeDef
  3. See SoftwareSetUpdateModeType

UpdateEnvironmentRequestRequestTypeDef#

# UpdateEnvironmentRequestRequestTypeDef definition

class UpdateEnvironmentRequestRequestTypeDef(TypedDict):
    id: str,
    name: NotRequired[str],
    desktopArn: NotRequired[str],
    desktopEndpoint: NotRequired[str],
    softwareSetUpdateSchedule: NotRequired[SoftwareSetUpdateScheduleType],  # (1)
    maintenanceWindow: NotRequired[MaintenanceWindowTypeDef],  # (2)
    softwareSetUpdateMode: NotRequired[SoftwareSetUpdateModeType],  # (3)
    desiredSoftwareSetId: NotRequired[str],
  1. See SoftwareSetUpdateScheduleType
  2. See MaintenanceWindowTypeDef
  3. See SoftwareSetUpdateModeType

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef definition

class ListTagsForResourceResponseTypeDef(TypedDict):
    tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeviceSummaryTypeDef#

# DeviceSummaryTypeDef definition

class DeviceSummaryTypeDef(TypedDict):
    id: NotRequired[str],
    serialNumber: NotRequired[str],
    name: NotRequired[str],
    model: NotRequired[str],
    environmentId: NotRequired[str],
    status: NotRequired[DeviceStatusType],  # (1)
    currentSoftwareSetId: NotRequired[str],
    desiredSoftwareSetId: NotRequired[str],
    pendingSoftwareSetId: NotRequired[str],
    softwareSetUpdateSchedule: NotRequired[SoftwareSetUpdateScheduleType],  # (2)
    lastConnectedAt: NotRequired[datetime],
    lastPostureAt: NotRequired[datetime],
    createdAt: NotRequired[datetime],
    updatedAt: NotRequired[datetime],
    arn: NotRequired[str],
    tags: NotRequired[EmbeddedTagTypeDef],  # (3)
  1. See DeviceStatusType
  2. See SoftwareSetUpdateScheduleType
  3. See EmbeddedTagTypeDef

DeviceTypeDef#

# DeviceTypeDef definition

class DeviceTypeDef(TypedDict):
    id: NotRequired[str],
    serialNumber: NotRequired[str],
    name: NotRequired[str],
    model: NotRequired[str],
    environmentId: NotRequired[str],
    status: NotRequired[DeviceStatusType],  # (1)
    currentSoftwareSetId: NotRequired[str],
    currentSoftwareSetVersion: NotRequired[str],
    desiredSoftwareSetId: NotRequired[str],
    pendingSoftwareSetId: NotRequired[str],
    pendingSoftwareSetVersion: NotRequired[str],
    softwareSetUpdateSchedule: NotRequired[SoftwareSetUpdateScheduleType],  # (2)
    softwareSetComplianceStatus: NotRequired[DeviceSoftwareSetComplianceStatusType],  # (3)
    softwareSetUpdateStatus: NotRequired[SoftwareSetUpdateStatusType],  # (4)
    lastConnectedAt: NotRequired[datetime],
    lastPostureAt: NotRequired[datetime],
    createdAt: NotRequired[datetime],
    updatedAt: NotRequired[datetime],
    arn: NotRequired[str],
    kmsKeyArn: NotRequired[str],
    tags: NotRequired[EmbeddedTagTypeDef],  # (5)
  1. See DeviceStatusType
  2. See SoftwareSetUpdateScheduleType
  3. See DeviceSoftwareSetComplianceStatusType
  4. See SoftwareSetUpdateStatusType
  5. See EmbeddedTagTypeDef

EnvironmentSummaryTypeDef#

# EnvironmentSummaryTypeDef definition

class EnvironmentSummaryTypeDef(TypedDict):
    id: NotRequired[str],
    name: NotRequired[str],
    desktopArn: NotRequired[str],
    desktopEndpoint: NotRequired[str],
    desktopType: NotRequired[DesktopTypeType],  # (1)
    activationCode: NotRequired[str],
    softwareSetUpdateSchedule: NotRequired[SoftwareSetUpdateScheduleType],  # (2)
    maintenanceWindow: NotRequired[MaintenanceWindowTypeDef],  # (3)
    softwareSetUpdateMode: NotRequired[SoftwareSetUpdateModeType],  # (4)
    desiredSoftwareSetId: NotRequired[str],
    pendingSoftwareSetId: NotRequired[str],
    createdAt: NotRequired[datetime],
    updatedAt: NotRequired[datetime],
    arn: NotRequired[str],
    tags: NotRequired[EmbeddedTagTypeDef],  # (5)
  1. See DesktopTypeType
  2. See SoftwareSetUpdateScheduleType
  3. See MaintenanceWindowTypeDef
  4. See SoftwareSetUpdateModeType
  5. See EmbeddedTagTypeDef

EnvironmentTypeDef#

# EnvironmentTypeDef definition

class EnvironmentTypeDef(TypedDict):
    id: NotRequired[str],
    name: NotRequired[str],
    desktopArn: NotRequired[str],
    desktopEndpoint: NotRequired[str],
    desktopType: NotRequired[DesktopTypeType],  # (1)
    activationCode: NotRequired[str],
    registeredDevicesCount: NotRequired[int],
    softwareSetUpdateSchedule: NotRequired[SoftwareSetUpdateScheduleType],  # (2)
    maintenanceWindow: NotRequired[MaintenanceWindowTypeDef],  # (3)
    softwareSetUpdateMode: NotRequired[SoftwareSetUpdateModeType],  # (4)
    desiredSoftwareSetId: NotRequired[str],
    pendingSoftwareSetId: NotRequired[str],
    pendingSoftwareSetVersion: NotRequired[str],
    softwareSetComplianceStatus: NotRequired[EnvironmentSoftwareSetComplianceStatusType],  # (5)
    createdAt: NotRequired[datetime],
    updatedAt: NotRequired[datetime],
    arn: NotRequired[str],
    kmsKeyArn: NotRequired[str],
    tags: NotRequired[EmbeddedTagTypeDef],  # (6)
  1. See DesktopTypeType
  2. See SoftwareSetUpdateScheduleType
  3. See MaintenanceWindowTypeDef
  4. See SoftwareSetUpdateModeType
  5. See EnvironmentSoftwareSetComplianceStatusType
  6. See EmbeddedTagTypeDef

EnvironmentSummaryPaginatorTypeDef#

# EnvironmentSummaryPaginatorTypeDef definition

class EnvironmentSummaryPaginatorTypeDef(TypedDict):
    id: NotRequired[str],
    name: NotRequired[str],
    desktopArn: NotRequired[str],
    desktopEndpoint: NotRequired[str],
    desktopType: NotRequired[DesktopTypeType],  # (1)
    activationCode: NotRequired[str],
    softwareSetUpdateSchedule: NotRequired[SoftwareSetUpdateScheduleType],  # (2)
    maintenanceWindow: NotRequired[MaintenanceWindowPaginatorTypeDef],  # (3)
    softwareSetUpdateMode: NotRequired[SoftwareSetUpdateModeType],  # (4)
    desiredSoftwareSetId: NotRequired[str],
    pendingSoftwareSetId: NotRequired[str],
    createdAt: NotRequired[datetime],
    updatedAt: NotRequired[datetime],
    arn: NotRequired[str],
    tags: NotRequired[EmbeddedTagTypeDef],  # (5)
  1. See DesktopTypeType
  2. See SoftwareSetUpdateScheduleType
  3. See MaintenanceWindowPaginatorTypeDef
  4. See SoftwareSetUpdateModeType
  5. See EmbeddedTagTypeDef

ListDevicesRequestListDevicesPaginateTypeDef#

# ListDevicesRequestListDevicesPaginateTypeDef definition

class ListDevicesRequestListDevicesPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListEnvironmentsRequestListEnvironmentsPaginateTypeDef#

# ListEnvironmentsRequestListEnvironmentsPaginateTypeDef definition

class ListEnvironmentsRequestListEnvironmentsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListSoftwareSetsRequestListSoftwareSetsPaginateTypeDef#

# ListSoftwareSetsRequestListSoftwareSetsPaginateTypeDef definition

class ListSoftwareSetsRequestListSoftwareSetsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListSoftwareSetsResponseTypeDef#

# ListSoftwareSetsResponseTypeDef definition

class ListSoftwareSetsResponseTypeDef(TypedDict):
    softwareSets: List[SoftwareSetSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SoftwareSetSummaryTypeDef
  2. See ResponseMetadataTypeDef

SoftwareSetTypeDef#

# SoftwareSetTypeDef definition

class SoftwareSetTypeDef(TypedDict):
    id: NotRequired[str],
    version: NotRequired[str],
    releasedAt: NotRequired[datetime],
    supportedUntil: NotRequired[datetime],
    validationStatus: NotRequired[SoftwareSetValidationStatusType],  # (1)
    software: NotRequired[List[SoftwareTypeDef]],  # (2)
    arn: NotRequired[str],
  1. See SoftwareSetValidationStatusType
  2. See SoftwareTypeDef

ListDevicesResponseTypeDef#

# ListDevicesResponseTypeDef definition

class ListDevicesResponseTypeDef(TypedDict):
    devices: List[DeviceSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DeviceSummaryTypeDef
  2. See ResponseMetadataTypeDef

UpdateDeviceResponseTypeDef#

# UpdateDeviceResponseTypeDef definition

class UpdateDeviceResponseTypeDef(TypedDict):
    device: DeviceSummaryTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DeviceSummaryTypeDef
  2. See ResponseMetadataTypeDef

GetDeviceResponseTypeDef#

# GetDeviceResponseTypeDef definition

class GetDeviceResponseTypeDef(TypedDict):
    device: DeviceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DeviceTypeDef
  2. See ResponseMetadataTypeDef

CreateEnvironmentResponseTypeDef#

# CreateEnvironmentResponseTypeDef definition

class CreateEnvironmentResponseTypeDef(TypedDict):
    environment: EnvironmentSummaryTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EnvironmentSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListEnvironmentsResponseTypeDef#

# ListEnvironmentsResponseTypeDef definition

class ListEnvironmentsResponseTypeDef(TypedDict):
    environments: List[EnvironmentSummaryTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EnvironmentSummaryTypeDef
  2. See ResponseMetadataTypeDef

UpdateEnvironmentResponseTypeDef#

# UpdateEnvironmentResponseTypeDef definition

class UpdateEnvironmentResponseTypeDef(TypedDict):
    environment: EnvironmentSummaryTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EnvironmentSummaryTypeDef
  2. See ResponseMetadataTypeDef

GetEnvironmentResponseTypeDef#

# GetEnvironmentResponseTypeDef definition

class GetEnvironmentResponseTypeDef(TypedDict):
    environment: EnvironmentTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EnvironmentTypeDef
  2. See ResponseMetadataTypeDef

ListEnvironmentsResponsePaginatorTypeDef#

# ListEnvironmentsResponsePaginatorTypeDef definition

class ListEnvironmentsResponsePaginatorTypeDef(TypedDict):
    environments: List[EnvironmentSummaryPaginatorTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See EnvironmentSummaryPaginatorTypeDef
  2. See ResponseMetadataTypeDef

GetSoftwareSetResponseTypeDef#

# GetSoftwareSetResponseTypeDef definition

class GetSoftwareSetResponseTypeDef(TypedDict):
    softwareSet: SoftwareSetTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SoftwareSetTypeDef
  2. See ResponseMetadataTypeDef