types-boto3-workspaces-thin-client 1.36.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,39 @@
1
+ """
2
+ Main interface for workspaces-thin-client service.
3
+
4
+ Usage::
5
+
6
+ ```python
7
+ from boto3.session import Session
8
+ from types_boto3_workspaces_thin_client import (
9
+ Client,
10
+ ListDevicesPaginator,
11
+ ListEnvironmentsPaginator,
12
+ ListSoftwareSetsPaginator,
13
+ WorkSpacesThinClientClient,
14
+ )
15
+
16
+ session = Session()
17
+ client: WorkSpacesThinClientClient = session.client("workspaces-thin-client")
18
+
19
+ list_devices_paginator: ListDevicesPaginator = client.get_paginator("list_devices")
20
+ list_environments_paginator: ListEnvironmentsPaginator = client.get_paginator("list_environments")
21
+ list_software_sets_paginator: ListSoftwareSetsPaginator = client.get_paginator("list_software_sets")
22
+ ```
23
+
24
+ Copyright 2025 Vlad Emelianov
25
+ """
26
+
27
+ from .client import WorkSpacesThinClientClient
28
+ from .paginator import ListDevicesPaginator, ListEnvironmentsPaginator, ListSoftwareSetsPaginator
29
+
30
+ Client = WorkSpacesThinClientClient
31
+
32
+
33
+ __all__ = (
34
+ "Client",
35
+ "ListDevicesPaginator",
36
+ "ListEnvironmentsPaginator",
37
+ "ListSoftwareSetsPaginator",
38
+ "WorkSpacesThinClientClient",
39
+ )
@@ -0,0 +1,38 @@
1
+ """
2
+ Main interface for workspaces-thin-client service.
3
+
4
+ Usage::
5
+
6
+ ```python
7
+ from boto3.session import Session
8
+ from types_boto3_workspaces_thin_client import (
9
+ Client,
10
+ ListDevicesPaginator,
11
+ ListEnvironmentsPaginator,
12
+ ListSoftwareSetsPaginator,
13
+ WorkSpacesThinClientClient,
14
+ )
15
+
16
+ session = Session()
17
+ client: WorkSpacesThinClientClient = session.client("workspaces-thin-client")
18
+
19
+ list_devices_paginator: ListDevicesPaginator = client.get_paginator("list_devices")
20
+ list_environments_paginator: ListEnvironmentsPaginator = client.get_paginator("list_environments")
21
+ list_software_sets_paginator: ListSoftwareSetsPaginator = client.get_paginator("list_software_sets")
22
+ ```
23
+
24
+ Copyright 2025 Vlad Emelianov
25
+ """
26
+
27
+ from .client import WorkSpacesThinClientClient
28
+ from .paginator import ListDevicesPaginator, ListEnvironmentsPaginator, ListSoftwareSetsPaginator
29
+
30
+ Client = WorkSpacesThinClientClient
31
+
32
+ __all__ = (
33
+ "Client",
34
+ "ListDevicesPaginator",
35
+ "ListEnvironmentsPaginator",
36
+ "ListSoftwareSetsPaginator",
37
+ "WorkSpacesThinClientClient",
38
+ )
@@ -0,0 +1,43 @@
1
+ """
2
+ Main CLI entrypoint.
3
+
4
+ Copyright 2025 Vlad Emelianov
5
+ """
6
+
7
+ import sys
8
+
9
+
10
+ def print_info() -> None:
11
+ """
12
+ Print package info to stdout.
13
+ """
14
+ sys.stdout.write(
15
+ "Type annotations for boto3 WorkSpacesThinClient 1.36.0\n"
16
+ "Version: 1.36.0\n"
17
+ "Builder version: 8.8.0\n"
18
+ "Docs: https://youtype.github.io/types_boto3_docs/types_boto3_workspaces_thin_client//\n"
19
+ "Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-thin-client.html#workspacesthinclient\n"
20
+ "Other services: https://pypi.org/project/boto3-stubs/\n"
21
+ "Changelog: https://github.com/youtype/mypy_boto3_builder/releases\n"
22
+ )
23
+
24
+
25
+ def print_version() -> None:
26
+ """
27
+ Print package version to stdout.
28
+ """
29
+ sys.stdout.write("1.36.0\n")
30
+
31
+
32
+ def main() -> None:
33
+ """
34
+ Main CLI entrypoint.
35
+ """
36
+ if "--version" in sys.argv:
37
+ print_version()
38
+ return
39
+ print_info()
40
+
41
+
42
+ if __name__ == "__main__":
43
+ main()
@@ -0,0 +1,306 @@
1
+ """
2
+ Type annotations for workspaces-thin-client service Client.
3
+
4
+ [Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workspaces_thin_client/client/)
5
+
6
+ Usage::
7
+
8
+ ```python
9
+ from boto3.session import Session
10
+ from types_boto3_workspaces_thin_client.client import WorkSpacesThinClientClient
11
+
12
+ session = Session()
13
+ client: WorkSpacesThinClientClient = session.client("workspaces-thin-client")
14
+ ```
15
+
16
+ Copyright 2025 Vlad Emelianov
17
+ """
18
+
19
+ from __future__ import annotations
20
+
21
+ import sys
22
+ from typing import Any, overload
23
+
24
+ from botocore.client import BaseClient, ClientMeta
25
+ from botocore.errorfactory import BaseClientExceptions
26
+ from botocore.exceptions import ClientError as BotocoreClientError
27
+
28
+ from .paginator import ListDevicesPaginator, ListEnvironmentsPaginator, ListSoftwareSetsPaginator
29
+ from .type_defs import (
30
+ CreateEnvironmentRequestRequestTypeDef,
31
+ CreateEnvironmentResponseTypeDef,
32
+ DeleteDeviceRequestRequestTypeDef,
33
+ DeleteEnvironmentRequestRequestTypeDef,
34
+ DeregisterDeviceRequestRequestTypeDef,
35
+ GetDeviceRequestRequestTypeDef,
36
+ GetDeviceResponseTypeDef,
37
+ GetEnvironmentRequestRequestTypeDef,
38
+ GetEnvironmentResponseTypeDef,
39
+ GetSoftwareSetRequestRequestTypeDef,
40
+ GetSoftwareSetResponseTypeDef,
41
+ ListDevicesRequestRequestTypeDef,
42
+ ListDevicesResponseTypeDef,
43
+ ListEnvironmentsRequestRequestTypeDef,
44
+ ListEnvironmentsResponseTypeDef,
45
+ ListSoftwareSetsRequestRequestTypeDef,
46
+ ListSoftwareSetsResponseTypeDef,
47
+ ListTagsForResourceRequestRequestTypeDef,
48
+ ListTagsForResourceResponseTypeDef,
49
+ TagResourceRequestRequestTypeDef,
50
+ UntagResourceRequestRequestTypeDef,
51
+ UpdateDeviceRequestRequestTypeDef,
52
+ UpdateDeviceResponseTypeDef,
53
+ UpdateEnvironmentRequestRequestTypeDef,
54
+ UpdateEnvironmentResponseTypeDef,
55
+ UpdateSoftwareSetRequestRequestTypeDef,
56
+ )
57
+
58
+ if sys.version_info >= (3, 9):
59
+ from builtins import dict as Dict
60
+ from builtins import type as Type
61
+ from collections.abc import Mapping
62
+ else:
63
+ from typing import Dict, Mapping, Type
64
+ if sys.version_info >= (3, 12):
65
+ from typing import Literal, Unpack
66
+ else:
67
+ from typing_extensions import Literal, Unpack
68
+
69
+
70
+ __all__ = ("WorkSpacesThinClientClient",)
71
+
72
+
73
+ class Exceptions(BaseClientExceptions):
74
+ AccessDeniedException: Type[BotocoreClientError]
75
+ ClientError: Type[BotocoreClientError]
76
+ ConflictException: Type[BotocoreClientError]
77
+ InternalServerException: Type[BotocoreClientError]
78
+ ResourceNotFoundException: Type[BotocoreClientError]
79
+ ServiceQuotaExceededException: Type[BotocoreClientError]
80
+ ThrottlingException: Type[BotocoreClientError]
81
+ ValidationException: Type[BotocoreClientError]
82
+
83
+
84
+ class WorkSpacesThinClientClient(BaseClient):
85
+ """
86
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-thin-client.html#WorkSpacesThinClient.Client)
87
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workspaces_thin_client/client/)
88
+ """
89
+
90
+ meta: ClientMeta
91
+
92
+ @property
93
+ def exceptions(self) -> Exceptions:
94
+ """
95
+ WorkSpacesThinClientClient exceptions.
96
+
97
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-thin-client.html#WorkSpacesThinClient.Client)
98
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workspaces_thin_client/client/#exceptions)
99
+ """
100
+
101
+ def can_paginate(self, operation_name: str) -> bool:
102
+ """
103
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-thin-client/client/can_paginate.html)
104
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workspaces_thin_client/client/#can_paginate)
105
+ """
106
+
107
+ def generate_presigned_url(
108
+ self,
109
+ ClientMethod: str,
110
+ Params: Mapping[str, Any] = ...,
111
+ ExpiresIn: int = 3600,
112
+ HttpMethod: str = ...,
113
+ ) -> str:
114
+ """
115
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-thin-client/client/generate_presigned_url.html)
116
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workspaces_thin_client/client/#generate_presigned_url)
117
+ """
118
+
119
+ def create_environment(
120
+ self, **kwargs: Unpack[CreateEnvironmentRequestRequestTypeDef]
121
+ ) -> CreateEnvironmentResponseTypeDef:
122
+ """
123
+ Creates an environment for your thin client devices.
124
+
125
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-thin-client/client/create_environment.html)
126
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workspaces_thin_client/client/#create_environment)
127
+ """
128
+
129
+ def delete_device(self, **kwargs: Unpack[DeleteDeviceRequestRequestTypeDef]) -> Dict[str, Any]:
130
+ """
131
+ Deletes a thin client device.
132
+
133
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-thin-client/client/delete_device.html)
134
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workspaces_thin_client/client/#delete_device)
135
+ """
136
+
137
+ def delete_environment(
138
+ self, **kwargs: Unpack[DeleteEnvironmentRequestRequestTypeDef]
139
+ ) -> Dict[str, Any]:
140
+ """
141
+ Deletes an environment.
142
+
143
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-thin-client/client/delete_environment.html)
144
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workspaces_thin_client/client/#delete_environment)
145
+ """
146
+
147
+ def deregister_device(
148
+ self, **kwargs: Unpack[DeregisterDeviceRequestRequestTypeDef]
149
+ ) -> Dict[str, Any]:
150
+ """
151
+ Deregisters a thin client device.
152
+
153
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-thin-client/client/deregister_device.html)
154
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workspaces_thin_client/client/#deregister_device)
155
+ """
156
+
157
+ def get_device(
158
+ self, **kwargs: Unpack[GetDeviceRequestRequestTypeDef]
159
+ ) -> GetDeviceResponseTypeDef:
160
+ """
161
+ Returns information for a thin client device.
162
+
163
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-thin-client/client/get_device.html)
164
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workspaces_thin_client/client/#get_device)
165
+ """
166
+
167
+ def get_environment(
168
+ self, **kwargs: Unpack[GetEnvironmentRequestRequestTypeDef]
169
+ ) -> GetEnvironmentResponseTypeDef:
170
+ """
171
+ Returns information for an environment.
172
+
173
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-thin-client/client/get_environment.html)
174
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workspaces_thin_client/client/#get_environment)
175
+ """
176
+
177
+ def get_software_set(
178
+ self, **kwargs: Unpack[GetSoftwareSetRequestRequestTypeDef]
179
+ ) -> GetSoftwareSetResponseTypeDef:
180
+ """
181
+ Returns information for a software set.
182
+
183
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-thin-client/client/get_software_set.html)
184
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workspaces_thin_client/client/#get_software_set)
185
+ """
186
+
187
+ def list_devices(
188
+ self, **kwargs: Unpack[ListDevicesRequestRequestTypeDef]
189
+ ) -> ListDevicesResponseTypeDef:
190
+ """
191
+ Returns a list of thin client devices.
192
+
193
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-thin-client/client/list_devices.html)
194
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workspaces_thin_client/client/#list_devices)
195
+ """
196
+
197
+ def list_environments(
198
+ self, **kwargs: Unpack[ListEnvironmentsRequestRequestTypeDef]
199
+ ) -> ListEnvironmentsResponseTypeDef:
200
+ """
201
+ Returns a list of environments.
202
+
203
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-thin-client/client/list_environments.html)
204
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workspaces_thin_client/client/#list_environments)
205
+ """
206
+
207
+ def list_software_sets(
208
+ self, **kwargs: Unpack[ListSoftwareSetsRequestRequestTypeDef]
209
+ ) -> ListSoftwareSetsResponseTypeDef:
210
+ """
211
+ Returns a list of software sets.
212
+
213
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-thin-client/client/list_software_sets.html)
214
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workspaces_thin_client/client/#list_software_sets)
215
+ """
216
+
217
+ def list_tags_for_resource(
218
+ self, **kwargs: Unpack[ListTagsForResourceRequestRequestTypeDef]
219
+ ) -> ListTagsForResourceResponseTypeDef:
220
+ """
221
+ Returns a list of tags for a resource.
222
+
223
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-thin-client/client/list_tags_for_resource.html)
224
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workspaces_thin_client/client/#list_tags_for_resource)
225
+ """
226
+
227
+ def tag_resource(self, **kwargs: Unpack[TagResourceRequestRequestTypeDef]) -> Dict[str, Any]:
228
+ """
229
+ Assigns one or more tags (key-value pairs) to the specified resource.
230
+
231
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-thin-client/client/tag_resource.html)
232
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workspaces_thin_client/client/#tag_resource)
233
+ """
234
+
235
+ def untag_resource(
236
+ self, **kwargs: Unpack[UntagResourceRequestRequestTypeDef]
237
+ ) -> Dict[str, Any]:
238
+ """
239
+ Removes a tag or tags from a resource.
240
+
241
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-thin-client/client/untag_resource.html)
242
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workspaces_thin_client/client/#untag_resource)
243
+ """
244
+
245
+ def update_device(
246
+ self, **kwargs: Unpack[UpdateDeviceRequestRequestTypeDef]
247
+ ) -> UpdateDeviceResponseTypeDef:
248
+ """
249
+ Updates a thin client device.
250
+
251
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-thin-client/client/update_device.html)
252
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workspaces_thin_client/client/#update_device)
253
+ """
254
+
255
+ def update_environment(
256
+ self, **kwargs: Unpack[UpdateEnvironmentRequestRequestTypeDef]
257
+ ) -> UpdateEnvironmentResponseTypeDef:
258
+ """
259
+ Updates an environment.
260
+
261
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-thin-client/client/update_environment.html)
262
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workspaces_thin_client/client/#update_environment)
263
+ """
264
+
265
+ def update_software_set(
266
+ self, **kwargs: Unpack[UpdateSoftwareSetRequestRequestTypeDef]
267
+ ) -> Dict[str, Any]:
268
+ """
269
+ Updates a software set.
270
+
271
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-thin-client/client/update_software_set.html)
272
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workspaces_thin_client/client/#update_software_set)
273
+ """
274
+
275
+ @overload # type: ignore[override]
276
+ def get_paginator( # type: ignore[override]
277
+ self, operation_name: Literal["list_devices"]
278
+ ) -> ListDevicesPaginator:
279
+ """
280
+ Create a paginator for an operation.
281
+
282
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-thin-client/client/get_paginator.html)
283
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workspaces_thin_client/client/#get_paginator)
284
+ """
285
+
286
+ @overload # type: ignore[override]
287
+ def get_paginator( # type: ignore[override]
288
+ self, operation_name: Literal["list_environments"]
289
+ ) -> ListEnvironmentsPaginator:
290
+ """
291
+ Create a paginator for an operation.
292
+
293
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-thin-client/client/get_paginator.html)
294
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workspaces_thin_client/client/#get_paginator)
295
+ """
296
+
297
+ @overload # type: ignore[override]
298
+ def get_paginator( # type: ignore[override]
299
+ self, operation_name: Literal["list_software_sets"]
300
+ ) -> ListSoftwareSetsPaginator:
301
+ """
302
+ Create a paginator for an operation.
303
+
304
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-thin-client/client/get_paginator.html)
305
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_workspaces_thin_client/client/#get_paginator)
306
+ """