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