mypy-boto3-workspaces-web 1.35.0__tar.gz → 1.35.66__tar.gz
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.
- {mypy_boto3_workspaces_web-1.35.0 → mypy_boto3_workspaces_web-1.35.66}/PKG-INFO +61 -19
- {mypy_boto3_workspaces_web-1.35.0 → mypy_boto3_workspaces_web-1.35.66}/README.md +58 -17
- mypy_boto3_workspaces_web-1.35.66/mypy_boto3_workspaces_web/__init__.py +36 -0
- mypy_boto3_workspaces_web-1.35.66/mypy_boto3_workspaces_web/__init__.pyi +35 -0
- {mypy_boto3_workspaces_web-1.35.0 → mypy_boto3_workspaces_web-1.35.66}/mypy_boto3_workspaces_web/__main__.py +7 -5
- mypy_boto3_workspaces_web-1.35.0/mypy_boto3_workspaces_web/client.pyi → mypy_boto3_workspaces_web-1.35.66/mypy_boto3_workspaces_web/client.py +365 -234
- mypy_boto3_workspaces_web-1.35.0/mypy_boto3_workspaces_web/client.py → mypy_boto3_workspaces_web-1.35.66/mypy_boto3_workspaces_web/client.pyi +361 -237
- {mypy_boto3_workspaces_web-1.35.0 → mypy_boto3_workspaces_web-1.35.66}/mypy_boto3_workspaces_web/literals.py +29 -6
- {mypy_boto3_workspaces_web-1.35.0 → mypy_boto3_workspaces_web-1.35.66}/mypy_boto3_workspaces_web/literals.pyi +27 -6
- mypy_boto3_workspaces_web-1.35.66/mypy_boto3_workspaces_web/paginator.py +88 -0
- mypy_boto3_workspaces_web-1.35.66/mypy_boto3_workspaces_web/paginator.pyi +81 -0
- mypy_boto3_workspaces_web-1.35.66/mypy_boto3_workspaces_web/type_defs.py +1158 -0
- mypy_boto3_workspaces_web-1.35.66/mypy_boto3_workspaces_web/type_defs.pyi +1001 -0
- mypy_boto3_workspaces_web-1.35.66/mypy_boto3_workspaces_web/version.py +7 -0
- {mypy_boto3_workspaces_web-1.35.0 → mypy_boto3_workspaces_web-1.35.66}/mypy_boto3_workspaces_web.egg-info/PKG-INFO +61 -19
- {mypy_boto3_workspaces_web-1.35.0 → mypy_boto3_workspaces_web-1.35.66}/mypy_boto3_workspaces_web.egg-info/SOURCES.txt +2 -0
- {mypy_boto3_workspaces_web-1.35.0 → mypy_boto3_workspaces_web-1.35.66}/setup.py +5 -2
- mypy_boto3_workspaces_web-1.35.0/mypy_boto3_workspaces_web/__init__.py +0 -22
- mypy_boto3_workspaces_web-1.35.0/mypy_boto3_workspaces_web/__init__.pyi +0 -22
- mypy_boto3_workspaces_web-1.35.0/mypy_boto3_workspaces_web/type_defs.py +0 -1184
- mypy_boto3_workspaces_web-1.35.0/mypy_boto3_workspaces_web/type_defs.pyi +0 -1184
- mypy_boto3_workspaces_web-1.35.0/mypy_boto3_workspaces_web/version.py +0 -5
- {mypy_boto3_workspaces_web-1.35.0 → mypy_boto3_workspaces_web-1.35.66}/LICENSE +0 -0
- {mypy_boto3_workspaces_web-1.35.0 → mypy_boto3_workspaces_web-1.35.66}/mypy_boto3_workspaces_web/py.typed +0 -0
- {mypy_boto3_workspaces_web-1.35.0 → mypy_boto3_workspaces_web-1.35.66}/mypy_boto3_workspaces_web.egg-info/dependency_links.txt +0 -0
- {mypy_boto3_workspaces_web-1.35.0 → mypy_boto3_workspaces_web-1.35.66}/mypy_boto3_workspaces_web.egg-info/not-zip-safe +0 -0
- {mypy_boto3_workspaces_web-1.35.0 → mypy_boto3_workspaces_web-1.35.66}/mypy_boto3_workspaces_web.egg-info/requires.txt +0 -0
- {mypy_boto3_workspaces_web-1.35.0 → mypy_boto3_workspaces_web-1.35.66}/mypy_boto3_workspaces_web.egg-info/top_level.txt +0 -0
- {mypy_boto3_workspaces_web-1.35.0 → mypy_boto3_workspaces_web-1.35.66}/setup.cfg +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mypy-boto3-workspaces-web
|
|
3
|
-
Version: 1.35.
|
|
4
|
-
Summary: Type annotations for boto3
|
|
3
|
+
Version: 1.35.66
|
|
4
|
+
Summary: Type annotations for boto3 WorkSpacesWeb 1.35.66 service generated with mypy-boto3-builder 8.3.1
|
|
5
5
|
Home-page: https://github.com/youtype/mypy_boto3_builder
|
|
6
6
|
Author: Vlad Emelianov
|
|
7
7
|
Author-email: vlad.emelianov.nz@gmail.com
|
|
@@ -23,6 +23,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.11
|
|
24
24
|
Classifier: Programming Language :: Python :: 3.12
|
|
25
25
|
Classifier: Programming Language :: Python :: 3.13
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
26
27
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
27
28
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
29
|
Classifier: Typing :: Stubs Only
|
|
@@ -35,16 +36,16 @@ Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
|
|
|
35
36
|
|
|
36
37
|
# mypy-boto3-workspaces-web
|
|
37
38
|
|
|
38
|
-
[](https://pypi.org/project/mypy-boto3-workspaces-web)
|
|
39
|
-
[](https://pypi.org/project/mypy-boto3-workspaces-web)
|
|
40
|
-
[](https://youtype.github.io/boto3_stubs_docs/
|
|
41
|
-
[](https://
|
|
39
|
+
[](https://pypi.org/project/mypy-boto3-workspaces-web/)
|
|
40
|
+
[](https://pypi.org/project/mypy-boto3-workspaces-web/)
|
|
41
|
+
[](https://youtype.github.io/boto3_stubs_docs/)
|
|
42
|
+
[](https://pypistats.org/packages/mypy-boto3-workspaces-web)
|
|
42
43
|
|
|
43
44
|

|
|
44
45
|
|
|
45
46
|
Type annotations for
|
|
46
|
-
[boto3
|
|
47
|
-
|
|
47
|
+
[boto3 WorkSpacesWeb 1.35.66](https://pypi.org/project/boto3/) compatible with
|
|
48
|
+
[VSCode](https://code.visualstudio.com/),
|
|
48
49
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
49
50
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
50
51
|
[Sublime Text](https://www.sublimetext.com/),
|
|
@@ -52,13 +53,13 @@ service compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
52
53
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
53
54
|
|
|
54
55
|
Generated by
|
|
55
|
-
[mypy-boto3-builder
|
|
56
|
+
[mypy-boto3-builder 8.3.1](https://github.com/youtype/mypy_boto3_builder).
|
|
56
57
|
|
|
57
58
|
More information can be found on
|
|
58
59
|
[boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
|
|
59
60
|
[mypy-boto3-workspaces-web docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/).
|
|
60
61
|
|
|
61
|
-
See how it helps
|
|
62
|
+
See how it helps you find and fix potential bugs:
|
|
62
63
|
|
|
63
64
|

|
|
64
65
|
|
|
@@ -77,6 +78,7 @@ See how it helps to find and fix potential bugs:
|
|
|
77
78
|
- [pyright](#pyright)
|
|
78
79
|
- [Explicit type annotations](#explicit-type-annotations)
|
|
79
80
|
- [Client annotations](#client-annotations)
|
|
81
|
+
- [Paginators annotations](#paginators-annotations)
|
|
80
82
|
- [Literals](#literals)
|
|
81
83
|
- [Type definitions](#type-definitions)
|
|
82
84
|
- [How it works](#how-it-works)
|
|
@@ -156,16 +158,31 @@ annotations required, write your `boto3` code as usual.
|
|
|
156
158
|
|
|
157
159
|
### PyCharm
|
|
158
160
|
|
|
159
|
-
|
|
161
|
+
> ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
|
|
162
|
+
> [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
|
|
163
|
+
> to use [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/) until
|
|
164
|
+
> the issue is resolved.
|
|
165
|
+
|
|
166
|
+
> ⚠️ If you experience slow performance and high CPU usage, try to disable
|
|
167
|
+
> `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
|
|
168
|
+
> [pyright](https://github.com/microsoft/pyright) instead.
|
|
169
|
+
|
|
170
|
+
> ⚠️ To continue using `PyCharm` type checker, you can try to replace
|
|
171
|
+
> `boto3-stubs` with
|
|
172
|
+
> [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/):
|
|
160
173
|
|
|
161
174
|
```bash
|
|
162
|
-
|
|
175
|
+
pip uninstall boto3-stubs
|
|
176
|
+
pip install boto3-stubs-lite
|
|
163
177
|
```
|
|
164
178
|
|
|
165
|
-
|
|
166
|
-
|
|
179
|
+
Install `boto3-stubs[workspaces-web]` in your environment:
|
|
180
|
+
|
|
181
|
+
```bash
|
|
182
|
+
python -m pip install 'boto3-stubs[workspaces-web]'
|
|
183
|
+
```
|
|
167
184
|
|
|
168
|
-
|
|
185
|
+
Both type checking and code completion should now work.
|
|
169
186
|
|
|
170
187
|
<a id="emacs"></a>
|
|
171
188
|
|
|
@@ -230,7 +247,7 @@ should work.
|
|
|
230
247
|
- Install `boto3-stubs[workspaces-web]` in your environment:
|
|
231
248
|
|
|
232
249
|
```bash
|
|
233
|
-
python -m pip install 'boto3-stubs[workspaces-web]'
|
|
250
|
+
python -m pip install 'boto3-stubs[workspaces-web]'
|
|
234
251
|
```
|
|
235
252
|
|
|
236
253
|
Type checking should now work. No explicit type annotations required, write
|
|
@@ -247,7 +264,7 @@ your `boto3` code as usual.
|
|
|
247
264
|
python -m pip install 'boto3-stubs[workspaces-web]'
|
|
248
265
|
```
|
|
249
266
|
|
|
250
|
-
Optionally, you can install `boto3-stubs` to `typings`
|
|
267
|
+
Optionally, you can install `boto3-stubs` to `typings` directory.
|
|
251
268
|
|
|
252
269
|
Type checking should now work. No explicit type annotations required, write
|
|
253
270
|
your `boto3` code as usual.
|
|
@@ -273,6 +290,32 @@ client: WorkSpacesWebClient = Session().client("workspaces-web")
|
|
|
273
290
|
# now client usage is checked by mypy and IDE should provide code completion
|
|
274
291
|
```
|
|
275
292
|
|
|
293
|
+
<a id="paginators-annotations"></a>
|
|
294
|
+
|
|
295
|
+
### Paginators annotations
|
|
296
|
+
|
|
297
|
+
`mypy_boto3_workspaces_web.paginator` module contains type annotations for all
|
|
298
|
+
paginators.
|
|
299
|
+
|
|
300
|
+
```python
|
|
301
|
+
from boto3.session import Session
|
|
302
|
+
|
|
303
|
+
from mypy_boto3_workspaces_web import WorkSpacesWebClient
|
|
304
|
+
from mypy_boto3_workspaces_web.paginator import (
|
|
305
|
+
ListDataProtectionSettingsPaginator,
|
|
306
|
+
ListSessionsPaginator,
|
|
307
|
+
)
|
|
308
|
+
|
|
309
|
+
client: WorkSpacesWebClient = Session().client("workspaces-web")
|
|
310
|
+
|
|
311
|
+
# Explicit type annotations are optional here
|
|
312
|
+
# Types should be correctly discovered by mypy and IDEs
|
|
313
|
+
list_data_protection_settings_paginator: ListDataProtectionSettingsPaginator = client.get_paginator(
|
|
314
|
+
"list_data_protection_settings"
|
|
315
|
+
)
|
|
316
|
+
list_sessions_paginator: ListSessionsPaginator = client.get_paginator("list_sessions")
|
|
317
|
+
```
|
|
318
|
+
|
|
276
319
|
<a id="literals"></a>
|
|
277
320
|
|
|
278
321
|
### Literals
|
|
@@ -322,8 +365,7 @@ updates. It delivers drop-in type annotations for you and makes sure that:
|
|
|
322
365
|
annotations extracted from `botocore` schemas.
|
|
323
366
|
- Type annotations include up-to-date documentation.
|
|
324
367
|
- Link to documentation is provided for every method.
|
|
325
|
-
- Code is processed by [
|
|
326
|
-
[isort](https://github.com/PyCQA/isort) for readability.
|
|
368
|
+
- Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
|
|
327
369
|
|
|
328
370
|
<a id="what's-new"></a>
|
|
329
371
|
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
# mypy-boto3-workspaces-web
|
|
4
4
|
|
|
5
|
-
[](https://pypi.org/project/mypy-boto3-workspaces-web)
|
|
6
|
-
[](https://pypi.org/project/mypy-boto3-workspaces-web)
|
|
7
|
-
[](https://youtype.github.io/boto3_stubs_docs/
|
|
8
|
-
[](https://
|
|
5
|
+
[](https://pypi.org/project/mypy-boto3-workspaces-web/)
|
|
6
|
+
[](https://pypi.org/project/mypy-boto3-workspaces-web/)
|
|
7
|
+
[](https://youtype.github.io/boto3_stubs_docs/)
|
|
8
|
+
[](https://pypistats.org/packages/mypy-boto3-workspaces-web)
|
|
9
9
|
|
|
10
10
|

|
|
11
11
|
|
|
12
12
|
Type annotations for
|
|
13
|
-
[boto3
|
|
14
|
-
|
|
13
|
+
[boto3 WorkSpacesWeb 1.35.66](https://pypi.org/project/boto3/) compatible with
|
|
14
|
+
[VSCode](https://code.visualstudio.com/),
|
|
15
15
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
16
16
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
17
17
|
[Sublime Text](https://www.sublimetext.com/),
|
|
@@ -19,13 +19,13 @@ service compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
19
19
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
20
20
|
|
|
21
21
|
Generated by
|
|
22
|
-
[mypy-boto3-builder
|
|
22
|
+
[mypy-boto3-builder 8.3.1](https://github.com/youtype/mypy_boto3_builder).
|
|
23
23
|
|
|
24
24
|
More information can be found on
|
|
25
25
|
[boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
|
|
26
26
|
[mypy-boto3-workspaces-web docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/).
|
|
27
27
|
|
|
28
|
-
See how it helps
|
|
28
|
+
See how it helps you find and fix potential bugs:
|
|
29
29
|
|
|
30
30
|

|
|
31
31
|
|
|
@@ -44,6 +44,7 @@ See how it helps to find and fix potential bugs:
|
|
|
44
44
|
- [pyright](#pyright)
|
|
45
45
|
- [Explicit type annotations](#explicit-type-annotations)
|
|
46
46
|
- [Client annotations](#client-annotations)
|
|
47
|
+
- [Paginators annotations](#paginators-annotations)
|
|
47
48
|
- [Literals](#literals)
|
|
48
49
|
- [Type definitions](#type-definitions)
|
|
49
50
|
- [How it works](#how-it-works)
|
|
@@ -123,16 +124,31 @@ annotations required, write your `boto3` code as usual.
|
|
|
123
124
|
|
|
124
125
|
### PyCharm
|
|
125
126
|
|
|
126
|
-
|
|
127
|
+
> ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
|
|
128
|
+
> [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
|
|
129
|
+
> to use [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/) until
|
|
130
|
+
> the issue is resolved.
|
|
131
|
+
|
|
132
|
+
> ⚠️ If you experience slow performance and high CPU usage, try to disable
|
|
133
|
+
> `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
|
|
134
|
+
> [pyright](https://github.com/microsoft/pyright) instead.
|
|
135
|
+
|
|
136
|
+
> ⚠️ To continue using `PyCharm` type checker, you can try to replace
|
|
137
|
+
> `boto3-stubs` with
|
|
138
|
+
> [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/):
|
|
127
139
|
|
|
128
140
|
```bash
|
|
129
|
-
|
|
141
|
+
pip uninstall boto3-stubs
|
|
142
|
+
pip install boto3-stubs-lite
|
|
130
143
|
```
|
|
131
144
|
|
|
132
|
-
|
|
133
|
-
|
|
145
|
+
Install `boto3-stubs[workspaces-web]` in your environment:
|
|
146
|
+
|
|
147
|
+
```bash
|
|
148
|
+
python -m pip install 'boto3-stubs[workspaces-web]'
|
|
149
|
+
```
|
|
134
150
|
|
|
135
|
-
|
|
151
|
+
Both type checking and code completion should now work.
|
|
136
152
|
|
|
137
153
|
<a id="emacs"></a>
|
|
138
154
|
|
|
@@ -197,7 +213,7 @@ should work.
|
|
|
197
213
|
- Install `boto3-stubs[workspaces-web]` in your environment:
|
|
198
214
|
|
|
199
215
|
```bash
|
|
200
|
-
python -m pip install 'boto3-stubs[workspaces-web]'
|
|
216
|
+
python -m pip install 'boto3-stubs[workspaces-web]'
|
|
201
217
|
```
|
|
202
218
|
|
|
203
219
|
Type checking should now work. No explicit type annotations required, write
|
|
@@ -214,7 +230,7 @@ your `boto3` code as usual.
|
|
|
214
230
|
python -m pip install 'boto3-stubs[workspaces-web]'
|
|
215
231
|
```
|
|
216
232
|
|
|
217
|
-
Optionally, you can install `boto3-stubs` to `typings`
|
|
233
|
+
Optionally, you can install `boto3-stubs` to `typings` directory.
|
|
218
234
|
|
|
219
235
|
Type checking should now work. No explicit type annotations required, write
|
|
220
236
|
your `boto3` code as usual.
|
|
@@ -240,6 +256,32 @@ client: WorkSpacesWebClient = Session().client("workspaces-web")
|
|
|
240
256
|
# now client usage is checked by mypy and IDE should provide code completion
|
|
241
257
|
```
|
|
242
258
|
|
|
259
|
+
<a id="paginators-annotations"></a>
|
|
260
|
+
|
|
261
|
+
### Paginators annotations
|
|
262
|
+
|
|
263
|
+
`mypy_boto3_workspaces_web.paginator` module contains type annotations for all
|
|
264
|
+
paginators.
|
|
265
|
+
|
|
266
|
+
```python
|
|
267
|
+
from boto3.session import Session
|
|
268
|
+
|
|
269
|
+
from mypy_boto3_workspaces_web import WorkSpacesWebClient
|
|
270
|
+
from mypy_boto3_workspaces_web.paginator import (
|
|
271
|
+
ListDataProtectionSettingsPaginator,
|
|
272
|
+
ListSessionsPaginator,
|
|
273
|
+
)
|
|
274
|
+
|
|
275
|
+
client: WorkSpacesWebClient = Session().client("workspaces-web")
|
|
276
|
+
|
|
277
|
+
# Explicit type annotations are optional here
|
|
278
|
+
# Types should be correctly discovered by mypy and IDEs
|
|
279
|
+
list_data_protection_settings_paginator: ListDataProtectionSettingsPaginator = client.get_paginator(
|
|
280
|
+
"list_data_protection_settings"
|
|
281
|
+
)
|
|
282
|
+
list_sessions_paginator: ListSessionsPaginator = client.get_paginator("list_sessions")
|
|
283
|
+
```
|
|
284
|
+
|
|
243
285
|
<a id="literals"></a>
|
|
244
286
|
|
|
245
287
|
### Literals
|
|
@@ -289,8 +331,7 @@ updates. It delivers drop-in type annotations for you and makes sure that:
|
|
|
289
331
|
annotations extracted from `botocore` schemas.
|
|
290
332
|
- Type annotations include up-to-date documentation.
|
|
291
333
|
- Link to documentation is provided for every method.
|
|
292
|
-
- Code is processed by [
|
|
293
|
-
[isort](https://github.com/PyCQA/isort) for readability.
|
|
334
|
+
- Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
|
|
294
335
|
|
|
295
336
|
<a id="what's-new"></a>
|
|
296
337
|
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main interface for workspaces-web service.
|
|
3
|
+
|
|
4
|
+
Usage::
|
|
5
|
+
|
|
6
|
+
```python
|
|
7
|
+
from boto3.session import Session
|
|
8
|
+
from mypy_boto3_workspaces_web import (
|
|
9
|
+
Client,
|
|
10
|
+
ListDataProtectionSettingsPaginator,
|
|
11
|
+
ListSessionsPaginator,
|
|
12
|
+
WorkSpacesWebClient,
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
session = Session()
|
|
16
|
+
client: WorkSpacesWebClient = session.client("workspaces-web")
|
|
17
|
+
|
|
18
|
+
list_data_protection_settings_paginator: ListDataProtectionSettingsPaginator = client.get_paginator("list_data_protection_settings")
|
|
19
|
+
list_sessions_paginator: ListSessionsPaginator = client.get_paginator("list_sessions")
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Copyright 2024 Vlad Emelianov
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
from .client import WorkSpacesWebClient
|
|
26
|
+
from .paginator import ListDataProtectionSettingsPaginator, ListSessionsPaginator
|
|
27
|
+
|
|
28
|
+
Client = WorkSpacesWebClient
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
__all__ = (
|
|
32
|
+
"Client",
|
|
33
|
+
"ListDataProtectionSettingsPaginator",
|
|
34
|
+
"ListSessionsPaginator",
|
|
35
|
+
"WorkSpacesWebClient",
|
|
36
|
+
)
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main interface for workspaces-web service.
|
|
3
|
+
|
|
4
|
+
Usage::
|
|
5
|
+
|
|
6
|
+
```python
|
|
7
|
+
from boto3.session import Session
|
|
8
|
+
from mypy_boto3_workspaces_web import (
|
|
9
|
+
Client,
|
|
10
|
+
ListDataProtectionSettingsPaginator,
|
|
11
|
+
ListSessionsPaginator,
|
|
12
|
+
WorkSpacesWebClient,
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
session = Session()
|
|
16
|
+
client: WorkSpacesWebClient = session.client("workspaces-web")
|
|
17
|
+
|
|
18
|
+
list_data_protection_settings_paginator: ListDataProtectionSettingsPaginator = client.get_paginator("list_data_protection_settings")
|
|
19
|
+
list_sessions_paginator: ListSessionsPaginator = client.get_paginator("list_sessions")
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Copyright 2024 Vlad Emelianov
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
from .client import WorkSpacesWebClient
|
|
26
|
+
from .paginator import ListDataProtectionSettingsPaginator, ListSessionsPaginator
|
|
27
|
+
|
|
28
|
+
Client = WorkSpacesWebClient
|
|
29
|
+
|
|
30
|
+
__all__ = (
|
|
31
|
+
"Client",
|
|
32
|
+
"ListDataProtectionSettingsPaginator",
|
|
33
|
+
"ListSessionsPaginator",
|
|
34
|
+
"WorkSpacesWebClient",
|
|
35
|
+
)
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Main CLI entrypoint.
|
|
3
|
+
|
|
4
|
+
Copyright 2024 Vlad Emelianov
|
|
3
5
|
"""
|
|
4
6
|
|
|
5
7
|
import sys
|
|
@@ -10,11 +12,11 @@ def print_info() -> None:
|
|
|
10
12
|
Print package info to stdout.
|
|
11
13
|
"""
|
|
12
14
|
print(
|
|
13
|
-
"Type annotations for boto3
|
|
14
|
-
"Version: 1.35.
|
|
15
|
-
"Builder version:
|
|
15
|
+
"Type annotations for boto3 WorkSpacesWeb 1.35.66\n"
|
|
16
|
+
"Version: 1.35.66\n"
|
|
17
|
+
"Builder version: 8.3.1\n"
|
|
16
18
|
"Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web//\n"
|
|
17
|
-
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web.html#
|
|
19
|
+
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web.html#workspacesweb\n"
|
|
18
20
|
"Other services: https://pypi.org/project/boto3-stubs/\n"
|
|
19
21
|
"Changelog: https://github.com/youtype/mypy_boto3_builder/releases"
|
|
20
22
|
)
|
|
@@ -24,7 +26,7 @@ def print_version() -> None:
|
|
|
24
26
|
"""
|
|
25
27
|
Print package version to stdout.
|
|
26
28
|
"""
|
|
27
|
-
print("1.35.
|
|
29
|
+
print("1.35.66")
|
|
28
30
|
|
|
29
31
|
|
|
30
32
|
def main() -> None:
|