mypy-boto3-workspaces-web 1.35.66__py3-none-any.whl → 1.35.93__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.
- mypy_boto3_workspaces_web/__init__.py +1 -1
- mypy_boto3_workspaces_web/__init__.pyi +1 -1
- mypy_boto3_workspaces_web/__main__.py +9 -8
- mypy_boto3_workspaces_web/client.py +43 -47
- mypy_boto3_workspaces_web/client.pyi +43 -46
- mypy_boto3_workspaces_web/literals.py +14 -2
- mypy_boto3_workspaces_web/literals.pyi +14 -2
- mypy_boto3_workspaces_web/paginator.py +25 -24
- mypy_boto3_workspaces_web/paginator.pyi +24 -23
- mypy_boto3_workspaces_web/type_defs.py +15 -7
- mypy_boto3_workspaces_web/type_defs.pyi +15 -7
- mypy_boto3_workspaces_web/version.py +2 -2
- {mypy_boto3_workspaces_web-1.35.66.dist-info → mypy_boto3_workspaces_web-1.35.93.dist-info}/LICENSE +1 -1
- {mypy_boto3_workspaces_web-1.35.66.dist-info → mypy_boto3_workspaces_web-1.35.93.dist-info}/METADATA +50 -10
- mypy_boto3_workspaces_web-1.35.93.dist-info/RECORD +18 -0
- {mypy_boto3_workspaces_web-1.35.66.dist-info → mypy_boto3_workspaces_web-1.35.93.dist-info}/WHEEL +1 -1
- mypy_boto3_workspaces_web-1.35.66.dist-info/RECORD +0 -18
- {mypy_boto3_workspaces_web-1.35.66.dist-info → mypy_boto3_workspaces_web-1.35.93.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Main CLI entrypoint.
|
|
3
3
|
|
|
4
|
-
Copyright
|
|
4
|
+
Copyright 2025 Vlad Emelianov
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
7
|
import sys
|
|
@@ -11,14 +11,14 @@ def print_info() -> None:
|
|
|
11
11
|
"""
|
|
12
12
|
Print package info to stdout.
|
|
13
13
|
"""
|
|
14
|
-
|
|
15
|
-
"Type annotations for boto3 WorkSpacesWeb 1.35.
|
|
16
|
-
"Version: 1.35.
|
|
17
|
-
"Builder version: 8.
|
|
14
|
+
sys.stdout.write(
|
|
15
|
+
"Type annotations for boto3 WorkSpacesWeb 1.35.93\n"
|
|
16
|
+
"Version: 1.35.93\n"
|
|
17
|
+
"Builder version: 8.8.0\n"
|
|
18
18
|
"Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web//\n"
|
|
19
19
|
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web.html#workspacesweb\n"
|
|
20
20
|
"Other services: https://pypi.org/project/boto3-stubs/\n"
|
|
21
|
-
"Changelog: https://github.com/youtype/mypy_boto3_builder/releases"
|
|
21
|
+
"Changelog: https://github.com/youtype/mypy_boto3_builder/releases\n"
|
|
22
22
|
)
|
|
23
23
|
|
|
24
24
|
|
|
@@ -26,7 +26,7 @@ def print_version() -> None:
|
|
|
26
26
|
"""
|
|
27
27
|
Print package version to stdout.
|
|
28
28
|
"""
|
|
29
|
-
|
|
29
|
+
sys.stdout.write("1.35.93\n")
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def main() -> None:
|
|
@@ -34,7 +34,8 @@ def main() -> None:
|
|
|
34
34
|
Main CLI entrypoint.
|
|
35
35
|
"""
|
|
36
36
|
if "--version" in sys.argv:
|
|
37
|
-
|
|
37
|
+
print_version()
|
|
38
|
+
return
|
|
38
39
|
print_info()
|
|
39
40
|
|
|
40
41
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
|
-
Type annotations for workspaces-web service
|
|
2
|
+
Type annotations for workspaces-web service Client.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -13,13 +13,17 @@ Usage::
|
|
|
13
13
|
client: WorkSpacesWebClient = session.client("workspaces-web")
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
-
Copyright
|
|
16
|
+
Copyright 2025 Vlad Emelianov
|
|
17
17
|
"""
|
|
18
18
|
|
|
19
|
+
from __future__ import annotations
|
|
20
|
+
|
|
19
21
|
import sys
|
|
20
|
-
from typing import Any,
|
|
22
|
+
from typing import Any, overload
|
|
21
23
|
|
|
22
24
|
from botocore.client import BaseClient, ClientMeta
|
|
25
|
+
from botocore.errorfactory import BaseClientExceptions
|
|
26
|
+
from botocore.exceptions import ClientError as BotocoreClientError
|
|
23
27
|
|
|
24
28
|
from .paginator import ListDataProtectionSettingsPaginator, ListSessionsPaginator
|
|
25
29
|
from .type_defs import (
|
|
@@ -142,6 +146,12 @@ from .type_defs import (
|
|
|
142
146
|
UpdateUserSettingsResponseTypeDef,
|
|
143
147
|
)
|
|
144
148
|
|
|
149
|
+
if sys.version_info >= (3, 9):
|
|
150
|
+
from builtins import dict as Dict
|
|
151
|
+
from builtins import type as Type
|
|
152
|
+
from collections.abc import Mapping
|
|
153
|
+
else:
|
|
154
|
+
from typing import Dict, Mapping, Type
|
|
145
155
|
if sys.version_info >= (3, 12):
|
|
146
156
|
from typing import Literal, Unpack
|
|
147
157
|
else:
|
|
@@ -151,15 +161,7 @@ else:
|
|
|
151
161
|
__all__ = ("WorkSpacesWebClient",)
|
|
152
162
|
|
|
153
163
|
|
|
154
|
-
class
|
|
155
|
-
MSG_TEMPLATE: str
|
|
156
|
-
|
|
157
|
-
def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
|
|
158
|
-
self.response: Dict[str, Any]
|
|
159
|
-
self.operation_name: str
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
class Exceptions:
|
|
164
|
+
class Exceptions(BaseClientExceptions):
|
|
163
165
|
AccessDeniedException: Type[BotocoreClientError]
|
|
164
166
|
ClientError: Type[BotocoreClientError]
|
|
165
167
|
ConflictException: Type[BotocoreClientError]
|
|
@@ -188,6 +190,24 @@ class WorkSpacesWebClient(BaseClient):
|
|
|
188
190
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#exceptions)
|
|
189
191
|
"""
|
|
190
192
|
|
|
193
|
+
def can_paginate(self, operation_name: str) -> bool:
|
|
194
|
+
"""
|
|
195
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/client/can_paginate.html)
|
|
196
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#can_paginate)
|
|
197
|
+
"""
|
|
198
|
+
|
|
199
|
+
def generate_presigned_url(
|
|
200
|
+
self,
|
|
201
|
+
ClientMethod: str,
|
|
202
|
+
Params: Mapping[str, Any] = ...,
|
|
203
|
+
ExpiresIn: int = 3600,
|
|
204
|
+
HttpMethod: str = ...,
|
|
205
|
+
) -> str:
|
|
206
|
+
"""
|
|
207
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/client/generate_presigned_url.html)
|
|
208
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#generate_presigned_url)
|
|
209
|
+
"""
|
|
210
|
+
|
|
191
211
|
def associate_browser_settings(
|
|
192
212
|
self, **kwargs: Unpack[AssociateBrowserSettingsRequestRequestTypeDef]
|
|
193
213
|
) -> AssociateBrowserSettingsResponseTypeDef:
|
|
@@ -258,22 +278,6 @@ class WorkSpacesWebClient(BaseClient):
|
|
|
258
278
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#associate_user_settings)
|
|
259
279
|
"""
|
|
260
280
|
|
|
261
|
-
def can_paginate(self, operation_name: str) -> bool:
|
|
262
|
-
"""
|
|
263
|
-
Check if an operation can be paginated.
|
|
264
|
-
|
|
265
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/client/can_paginate.html)
|
|
266
|
-
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#can_paginate)
|
|
267
|
-
"""
|
|
268
|
-
|
|
269
|
-
def close(self) -> None:
|
|
270
|
-
"""
|
|
271
|
-
Closes underlying endpoint connections.
|
|
272
|
-
|
|
273
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/client/close.html)
|
|
274
|
-
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#close)
|
|
275
|
-
"""
|
|
276
|
-
|
|
277
281
|
def create_browser_settings(
|
|
278
282
|
self, **kwargs: Unpack[CreateBrowserSettingsRequestRequestTypeDef]
|
|
279
283
|
) -> CreateBrowserSettingsResponseTypeDef:
|
|
@@ -534,20 +538,6 @@ class WorkSpacesWebClient(BaseClient):
|
|
|
534
538
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#expire_session)
|
|
535
539
|
"""
|
|
536
540
|
|
|
537
|
-
def generate_presigned_url(
|
|
538
|
-
self,
|
|
539
|
-
ClientMethod: str,
|
|
540
|
-
Params: Mapping[str, Any] = ...,
|
|
541
|
-
ExpiresIn: int = 3600,
|
|
542
|
-
HttpMethod: str = ...,
|
|
543
|
-
) -> str:
|
|
544
|
-
"""
|
|
545
|
-
Generate a presigned url given a client, its method, and arguments.
|
|
546
|
-
|
|
547
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/client/generate_presigned_url.html)
|
|
548
|
-
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#generate_presigned_url)
|
|
549
|
-
"""
|
|
550
|
-
|
|
551
541
|
def get_browser_settings(
|
|
552
542
|
self, **kwargs: Unpack[GetBrowserSettingsRequestRequestTypeDef]
|
|
553
543
|
) -> GetBrowserSettingsResponseTypeDef:
|
|
@@ -896,18 +886,24 @@ class WorkSpacesWebClient(BaseClient):
|
|
|
896
886
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#update_user_settings)
|
|
897
887
|
"""
|
|
898
888
|
|
|
899
|
-
@overload
|
|
900
|
-
def get_paginator(
|
|
889
|
+
@overload # type: ignore[override]
|
|
890
|
+
def get_paginator( # type: ignore[override]
|
|
901
891
|
self, operation_name: Literal["list_data_protection_settings"]
|
|
902
892
|
) -> ListDataProtectionSettingsPaginator:
|
|
903
893
|
"""
|
|
894
|
+
Create a paginator for an operation.
|
|
895
|
+
|
|
904
896
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/client/get_paginator.html)
|
|
905
897
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#get_paginator)
|
|
906
898
|
"""
|
|
907
899
|
|
|
908
|
-
@overload
|
|
909
|
-
def get_paginator(
|
|
900
|
+
@overload # type: ignore[override]
|
|
901
|
+
def get_paginator( # type: ignore[override]
|
|
902
|
+
self, operation_name: Literal["list_sessions"]
|
|
903
|
+
) -> ListSessionsPaginator:
|
|
910
904
|
"""
|
|
905
|
+
Create a paginator for an operation.
|
|
906
|
+
|
|
911
907
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/client/get_paginator.html)
|
|
912
908
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#get_paginator)
|
|
913
909
|
"""
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
|
-
Type annotations for workspaces-web service
|
|
2
|
+
Type annotations for workspaces-web service Client.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -13,13 +13,17 @@ Usage::
|
|
|
13
13
|
client: WorkSpacesWebClient = session.client("workspaces-web")
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
-
Copyright
|
|
16
|
+
Copyright 2025 Vlad Emelianov
|
|
17
17
|
"""
|
|
18
18
|
|
|
19
|
+
from __future__ import annotations
|
|
20
|
+
|
|
19
21
|
import sys
|
|
20
|
-
from typing import Any,
|
|
22
|
+
from typing import Any, overload
|
|
21
23
|
|
|
22
24
|
from botocore.client import BaseClient, ClientMeta
|
|
25
|
+
from botocore.errorfactory import BaseClientExceptions
|
|
26
|
+
from botocore.exceptions import ClientError as BotocoreClientError
|
|
23
27
|
|
|
24
28
|
from .paginator import ListDataProtectionSettingsPaginator, ListSessionsPaginator
|
|
25
29
|
from .type_defs import (
|
|
@@ -142,6 +146,12 @@ from .type_defs import (
|
|
|
142
146
|
UpdateUserSettingsResponseTypeDef,
|
|
143
147
|
)
|
|
144
148
|
|
|
149
|
+
if sys.version_info >= (3, 9):
|
|
150
|
+
from builtins import dict as Dict
|
|
151
|
+
from builtins import type as Type
|
|
152
|
+
from collections.abc import Mapping
|
|
153
|
+
else:
|
|
154
|
+
from typing import Dict, Mapping, Type
|
|
145
155
|
if sys.version_info >= (3, 12):
|
|
146
156
|
from typing import Literal, Unpack
|
|
147
157
|
else:
|
|
@@ -149,14 +159,7 @@ else:
|
|
|
149
159
|
|
|
150
160
|
__all__ = ("WorkSpacesWebClient",)
|
|
151
161
|
|
|
152
|
-
class
|
|
153
|
-
MSG_TEMPLATE: str
|
|
154
|
-
|
|
155
|
-
def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
|
|
156
|
-
self.response: Dict[str, Any]
|
|
157
|
-
self.operation_name: str
|
|
158
|
-
|
|
159
|
-
class Exceptions:
|
|
162
|
+
class Exceptions(BaseClientExceptions):
|
|
160
163
|
AccessDeniedException: Type[BotocoreClientError]
|
|
161
164
|
ClientError: Type[BotocoreClientError]
|
|
162
165
|
ConflictException: Type[BotocoreClientError]
|
|
@@ -184,6 +187,24 @@ class WorkSpacesWebClient(BaseClient):
|
|
|
184
187
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#exceptions)
|
|
185
188
|
"""
|
|
186
189
|
|
|
190
|
+
def can_paginate(self, operation_name: str) -> bool:
|
|
191
|
+
"""
|
|
192
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/client/can_paginate.html)
|
|
193
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#can_paginate)
|
|
194
|
+
"""
|
|
195
|
+
|
|
196
|
+
def generate_presigned_url(
|
|
197
|
+
self,
|
|
198
|
+
ClientMethod: str,
|
|
199
|
+
Params: Mapping[str, Any] = ...,
|
|
200
|
+
ExpiresIn: int = 3600,
|
|
201
|
+
HttpMethod: str = ...,
|
|
202
|
+
) -> str:
|
|
203
|
+
"""
|
|
204
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/client/generate_presigned_url.html)
|
|
205
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#generate_presigned_url)
|
|
206
|
+
"""
|
|
207
|
+
|
|
187
208
|
def associate_browser_settings(
|
|
188
209
|
self, **kwargs: Unpack[AssociateBrowserSettingsRequestRequestTypeDef]
|
|
189
210
|
) -> AssociateBrowserSettingsResponseTypeDef:
|
|
@@ -254,22 +275,6 @@ class WorkSpacesWebClient(BaseClient):
|
|
|
254
275
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#associate_user_settings)
|
|
255
276
|
"""
|
|
256
277
|
|
|
257
|
-
def can_paginate(self, operation_name: str) -> bool:
|
|
258
|
-
"""
|
|
259
|
-
Check if an operation can be paginated.
|
|
260
|
-
|
|
261
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/client/can_paginate.html)
|
|
262
|
-
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#can_paginate)
|
|
263
|
-
"""
|
|
264
|
-
|
|
265
|
-
def close(self) -> None:
|
|
266
|
-
"""
|
|
267
|
-
Closes underlying endpoint connections.
|
|
268
|
-
|
|
269
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/client/close.html)
|
|
270
|
-
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#close)
|
|
271
|
-
"""
|
|
272
|
-
|
|
273
278
|
def create_browser_settings(
|
|
274
279
|
self, **kwargs: Unpack[CreateBrowserSettingsRequestRequestTypeDef]
|
|
275
280
|
) -> CreateBrowserSettingsResponseTypeDef:
|
|
@@ -530,20 +535,6 @@ class WorkSpacesWebClient(BaseClient):
|
|
|
530
535
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#expire_session)
|
|
531
536
|
"""
|
|
532
537
|
|
|
533
|
-
def generate_presigned_url(
|
|
534
|
-
self,
|
|
535
|
-
ClientMethod: str,
|
|
536
|
-
Params: Mapping[str, Any] = ...,
|
|
537
|
-
ExpiresIn: int = 3600,
|
|
538
|
-
HttpMethod: str = ...,
|
|
539
|
-
) -> str:
|
|
540
|
-
"""
|
|
541
|
-
Generate a presigned url given a client, its method, and arguments.
|
|
542
|
-
|
|
543
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/client/generate_presigned_url.html)
|
|
544
|
-
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#generate_presigned_url)
|
|
545
|
-
"""
|
|
546
|
-
|
|
547
538
|
def get_browser_settings(
|
|
548
539
|
self, **kwargs: Unpack[GetBrowserSettingsRequestRequestTypeDef]
|
|
549
540
|
) -> GetBrowserSettingsResponseTypeDef:
|
|
@@ -892,18 +883,24 @@ class WorkSpacesWebClient(BaseClient):
|
|
|
892
883
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#update_user_settings)
|
|
893
884
|
"""
|
|
894
885
|
|
|
895
|
-
@overload
|
|
896
|
-
def get_paginator(
|
|
886
|
+
@overload # type: ignore[override]
|
|
887
|
+
def get_paginator( # type: ignore[override]
|
|
897
888
|
self, operation_name: Literal["list_data_protection_settings"]
|
|
898
889
|
) -> ListDataProtectionSettingsPaginator:
|
|
899
890
|
"""
|
|
891
|
+
Create a paginator for an operation.
|
|
892
|
+
|
|
900
893
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/client/get_paginator.html)
|
|
901
894
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#get_paginator)
|
|
902
895
|
"""
|
|
903
896
|
|
|
904
|
-
@overload
|
|
905
|
-
def get_paginator(
|
|
897
|
+
@overload # type: ignore[override]
|
|
898
|
+
def get_paginator( # type: ignore[override]
|
|
899
|
+
self, operation_name: Literal["list_sessions"]
|
|
900
|
+
) -> ListSessionsPaginator:
|
|
906
901
|
"""
|
|
902
|
+
Create a paginator for an operation.
|
|
903
|
+
|
|
907
904
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/client/get_paginator.html)
|
|
908
905
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#get_paginator)
|
|
909
906
|
"""
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for workspaces-web service literal definitions.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/literals/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -11,7 +11,7 @@ Usage::
|
|
|
11
11
|
data: AuthenticationTypeType = "IAM_Identity_Center"
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
Copyright
|
|
14
|
+
Copyright 2025 Vlad Emelianov
|
|
15
15
|
"""
|
|
16
16
|
|
|
17
17
|
import sys
|
|
@@ -93,11 +93,15 @@ ServiceName = Literal[
|
|
|
93
93
|
"b2bi",
|
|
94
94
|
"backup",
|
|
95
95
|
"backup-gateway",
|
|
96
|
+
"backupsearch",
|
|
96
97
|
"batch",
|
|
97
98
|
"bcm-data-exports",
|
|
99
|
+
"bcm-pricing-calculator",
|
|
98
100
|
"bedrock",
|
|
99
101
|
"bedrock-agent",
|
|
100
102
|
"bedrock-agent-runtime",
|
|
103
|
+
"bedrock-data-automation",
|
|
104
|
+
"bedrock-data-automation-runtime",
|
|
101
105
|
"bedrock-runtime",
|
|
102
106
|
"billing",
|
|
103
107
|
"billingconductor",
|
|
@@ -175,6 +179,7 @@ ServiceName = Literal[
|
|
|
175
179
|
"drs",
|
|
176
180
|
"ds",
|
|
177
181
|
"ds-data",
|
|
182
|
+
"dsql",
|
|
178
183
|
"dynamodb",
|
|
179
184
|
"dynamodbstreams",
|
|
180
185
|
"ebs",
|
|
@@ -231,6 +236,7 @@ ServiceName = Literal[
|
|
|
231
236
|
"inspector-scan",
|
|
232
237
|
"inspector2",
|
|
233
238
|
"internetmonitor",
|
|
239
|
+
"invoicing",
|
|
234
240
|
"iot",
|
|
235
241
|
"iot-data",
|
|
236
242
|
"iot-jobs-data",
|
|
@@ -317,9 +323,13 @@ ServiceName = Literal[
|
|
|
317
323
|
"neptune-graph",
|
|
318
324
|
"neptunedata",
|
|
319
325
|
"network-firewall",
|
|
326
|
+
"networkflowmonitor",
|
|
320
327
|
"networkmanager",
|
|
321
328
|
"networkmonitor",
|
|
329
|
+
"notifications",
|
|
330
|
+
"notificationscontacts",
|
|
322
331
|
"oam",
|
|
332
|
+
"observabilityadmin",
|
|
323
333
|
"omics",
|
|
324
334
|
"opensearch",
|
|
325
335
|
"opensearchserverless",
|
|
@@ -380,6 +390,7 @@ ServiceName = Literal[
|
|
|
380
390
|
"s3",
|
|
381
391
|
"s3control",
|
|
382
392
|
"s3outposts",
|
|
393
|
+
"s3tables",
|
|
383
394
|
"sagemaker",
|
|
384
395
|
"sagemaker-a2i-runtime",
|
|
385
396
|
"sagemaker-edge",
|
|
@@ -392,6 +403,7 @@ ServiceName = Literal[
|
|
|
392
403
|
"schemas",
|
|
393
404
|
"sdb",
|
|
394
405
|
"secretsmanager",
|
|
406
|
+
"security-ir",
|
|
395
407
|
"securityhub",
|
|
396
408
|
"securitylake",
|
|
397
409
|
"serverlessrepo",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for workspaces-web service literal definitions.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/literals/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -11,7 +11,7 @@ Usage::
|
|
|
11
11
|
data: AuthenticationTypeType = "IAM_Identity_Center"
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
Copyright
|
|
14
|
+
Copyright 2025 Vlad Emelianov
|
|
15
15
|
"""
|
|
16
16
|
|
|
17
17
|
import sys
|
|
@@ -91,11 +91,15 @@ ServiceName = Literal[
|
|
|
91
91
|
"b2bi",
|
|
92
92
|
"backup",
|
|
93
93
|
"backup-gateway",
|
|
94
|
+
"backupsearch",
|
|
94
95
|
"batch",
|
|
95
96
|
"bcm-data-exports",
|
|
97
|
+
"bcm-pricing-calculator",
|
|
96
98
|
"bedrock",
|
|
97
99
|
"bedrock-agent",
|
|
98
100
|
"bedrock-agent-runtime",
|
|
101
|
+
"bedrock-data-automation",
|
|
102
|
+
"bedrock-data-automation-runtime",
|
|
99
103
|
"bedrock-runtime",
|
|
100
104
|
"billing",
|
|
101
105
|
"billingconductor",
|
|
@@ -173,6 +177,7 @@ ServiceName = Literal[
|
|
|
173
177
|
"drs",
|
|
174
178
|
"ds",
|
|
175
179
|
"ds-data",
|
|
180
|
+
"dsql",
|
|
176
181
|
"dynamodb",
|
|
177
182
|
"dynamodbstreams",
|
|
178
183
|
"ebs",
|
|
@@ -229,6 +234,7 @@ ServiceName = Literal[
|
|
|
229
234
|
"inspector-scan",
|
|
230
235
|
"inspector2",
|
|
231
236
|
"internetmonitor",
|
|
237
|
+
"invoicing",
|
|
232
238
|
"iot",
|
|
233
239
|
"iot-data",
|
|
234
240
|
"iot-jobs-data",
|
|
@@ -315,9 +321,13 @@ ServiceName = Literal[
|
|
|
315
321
|
"neptune-graph",
|
|
316
322
|
"neptunedata",
|
|
317
323
|
"network-firewall",
|
|
324
|
+
"networkflowmonitor",
|
|
318
325
|
"networkmanager",
|
|
319
326
|
"networkmonitor",
|
|
327
|
+
"notifications",
|
|
328
|
+
"notificationscontacts",
|
|
320
329
|
"oam",
|
|
330
|
+
"observabilityadmin",
|
|
321
331
|
"omics",
|
|
322
332
|
"opensearch",
|
|
323
333
|
"opensearchserverless",
|
|
@@ -378,6 +388,7 @@ ServiceName = Literal[
|
|
|
378
388
|
"s3",
|
|
379
389
|
"s3control",
|
|
380
390
|
"s3outposts",
|
|
391
|
+
"s3tables",
|
|
381
392
|
"sagemaker",
|
|
382
393
|
"sagemaker-a2i-runtime",
|
|
383
394
|
"sagemaker-edge",
|
|
@@ -390,6 +401,7 @@ ServiceName = Literal[
|
|
|
390
401
|
"schemas",
|
|
391
402
|
"sdb",
|
|
392
403
|
"secretsmanager",
|
|
404
|
+
"security-ir",
|
|
393
405
|
"securityhub",
|
|
394
406
|
"securitylake",
|
|
395
407
|
"serverlessrepo",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for workspaces-web service client paginators.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -21,18 +21,20 @@ Usage::
|
|
|
21
21
|
list_sessions_paginator: ListSessionsPaginator = client.get_paginator("list_sessions")
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
Copyright
|
|
24
|
+
Copyright 2025 Vlad Emelianov
|
|
25
25
|
"""
|
|
26
26
|
|
|
27
|
+
from __future__ import annotations
|
|
28
|
+
|
|
27
29
|
import sys
|
|
28
|
-
from typing import
|
|
30
|
+
from typing import TYPE_CHECKING
|
|
29
31
|
|
|
30
32
|
from botocore.paginate import PageIterator, Paginator
|
|
31
33
|
|
|
32
34
|
from .type_defs import (
|
|
33
|
-
|
|
35
|
+
ListDataProtectionSettingsRequestPaginateTypeDef,
|
|
34
36
|
ListDataProtectionSettingsResponseTypeDef,
|
|
35
|
-
|
|
37
|
+
ListSessionsRequestPaginateTypeDef,
|
|
36
38
|
ListSessionsResponseTypeDef,
|
|
37
39
|
)
|
|
38
40
|
|
|
@@ -45,43 +47,42 @@ else:
|
|
|
45
47
|
__all__ = ("ListDataProtectionSettingsPaginator", "ListSessionsPaginator")
|
|
46
48
|
|
|
47
49
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
def __iter__(self) -> Iterator[_ItemTypeDef]:
|
|
53
|
-
"""
|
|
54
|
-
Proxy method to specify iterator item type.
|
|
55
|
-
"""
|
|
50
|
+
if TYPE_CHECKING:
|
|
51
|
+
_ListDataProtectionSettingsPaginatorBase = Paginator[ListDataProtectionSettingsResponseTypeDef]
|
|
52
|
+
else:
|
|
53
|
+
_ListDataProtectionSettingsPaginatorBase = Paginator # type: ignore[assignment]
|
|
56
54
|
|
|
57
55
|
|
|
58
|
-
class ListDataProtectionSettingsPaginator(
|
|
56
|
+
class ListDataProtectionSettingsPaginator(_ListDataProtectionSettingsPaginatorBase):
|
|
59
57
|
"""
|
|
60
58
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/paginator/ListDataProtectionSettings.html#WorkSpacesWeb.Paginator.ListDataProtectionSettings)
|
|
61
59
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/#listdataprotectionsettingspaginator)
|
|
62
60
|
"""
|
|
63
61
|
|
|
64
|
-
def paginate(
|
|
65
|
-
self,
|
|
66
|
-
|
|
67
|
-
ListDataProtectionSettingsRequestListDataProtectionSettingsPaginateTypeDef
|
|
68
|
-
],
|
|
69
|
-
) -> _PageIterator[ListDataProtectionSettingsResponseTypeDef]:
|
|
62
|
+
def paginate( # type: ignore[override]
|
|
63
|
+
self, **kwargs: Unpack[ListDataProtectionSettingsRequestPaginateTypeDef]
|
|
64
|
+
) -> PageIterator[ListDataProtectionSettingsResponseTypeDef]:
|
|
70
65
|
"""
|
|
71
66
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/paginator/ListDataProtectionSettings.html#WorkSpacesWeb.Paginator.ListDataProtectionSettings.paginate)
|
|
72
67
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/#listdataprotectionsettingspaginator)
|
|
73
68
|
"""
|
|
74
69
|
|
|
75
70
|
|
|
76
|
-
|
|
71
|
+
if TYPE_CHECKING:
|
|
72
|
+
_ListSessionsPaginatorBase = Paginator[ListSessionsResponseTypeDef]
|
|
73
|
+
else:
|
|
74
|
+
_ListSessionsPaginatorBase = Paginator # type: ignore[assignment]
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
class ListSessionsPaginator(_ListSessionsPaginatorBase):
|
|
77
78
|
"""
|
|
78
79
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/paginator/ListSessions.html#WorkSpacesWeb.Paginator.ListSessions)
|
|
79
80
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/#listsessionspaginator)
|
|
80
81
|
"""
|
|
81
82
|
|
|
82
|
-
def paginate(
|
|
83
|
-
self, **kwargs: Unpack[
|
|
84
|
-
) ->
|
|
83
|
+
def paginate( # type: ignore[override]
|
|
84
|
+
self, **kwargs: Unpack[ListSessionsRequestPaginateTypeDef]
|
|
85
|
+
) -> PageIterator[ListSessionsResponseTypeDef]:
|
|
85
86
|
"""
|
|
86
87
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/paginator/ListSessions.html#WorkSpacesWeb.Paginator.ListSessions.paginate)
|
|
87
88
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/#listsessionspaginator)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for workspaces-web service client paginators.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -21,18 +21,20 @@ Usage::
|
|
|
21
21
|
list_sessions_paginator: ListSessionsPaginator = client.get_paginator("list_sessions")
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
Copyright
|
|
24
|
+
Copyright 2025 Vlad Emelianov
|
|
25
25
|
"""
|
|
26
26
|
|
|
27
|
+
from __future__ import annotations
|
|
28
|
+
|
|
27
29
|
import sys
|
|
28
|
-
from typing import
|
|
30
|
+
from typing import TYPE_CHECKING
|
|
29
31
|
|
|
30
32
|
from botocore.paginate import PageIterator, Paginator
|
|
31
33
|
|
|
32
34
|
from .type_defs import (
|
|
33
|
-
|
|
35
|
+
ListDataProtectionSettingsRequestPaginateTypeDef,
|
|
34
36
|
ListDataProtectionSettingsResponseTypeDef,
|
|
35
|
-
|
|
37
|
+
ListSessionsRequestPaginateTypeDef,
|
|
36
38
|
ListSessionsResponseTypeDef,
|
|
37
39
|
)
|
|
38
40
|
|
|
@@ -43,38 +45,37 @@ else:
|
|
|
43
45
|
|
|
44
46
|
__all__ = ("ListDataProtectionSettingsPaginator", "ListSessionsPaginator")
|
|
45
47
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"""
|
|
51
|
-
Proxy method to specify iterator item type.
|
|
52
|
-
"""
|
|
48
|
+
if TYPE_CHECKING:
|
|
49
|
+
_ListDataProtectionSettingsPaginatorBase = Paginator[ListDataProtectionSettingsResponseTypeDef]
|
|
50
|
+
else:
|
|
51
|
+
_ListDataProtectionSettingsPaginatorBase = Paginator # type: ignore[assignment]
|
|
53
52
|
|
|
54
|
-
class ListDataProtectionSettingsPaginator(
|
|
53
|
+
class ListDataProtectionSettingsPaginator(_ListDataProtectionSettingsPaginatorBase):
|
|
55
54
|
"""
|
|
56
55
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/paginator/ListDataProtectionSettings.html#WorkSpacesWeb.Paginator.ListDataProtectionSettings)
|
|
57
56
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/#listdataprotectionsettingspaginator)
|
|
58
57
|
"""
|
|
59
|
-
def paginate(
|
|
60
|
-
self,
|
|
61
|
-
|
|
62
|
-
ListDataProtectionSettingsRequestListDataProtectionSettingsPaginateTypeDef
|
|
63
|
-
],
|
|
64
|
-
) -> _PageIterator[ListDataProtectionSettingsResponseTypeDef]:
|
|
58
|
+
def paginate( # type: ignore[override]
|
|
59
|
+
self, **kwargs: Unpack[ListDataProtectionSettingsRequestPaginateTypeDef]
|
|
60
|
+
) -> PageIterator[ListDataProtectionSettingsResponseTypeDef]:
|
|
65
61
|
"""
|
|
66
62
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/paginator/ListDataProtectionSettings.html#WorkSpacesWeb.Paginator.ListDataProtectionSettings.paginate)
|
|
67
63
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/#listdataprotectionsettingspaginator)
|
|
68
64
|
"""
|
|
69
65
|
|
|
70
|
-
|
|
66
|
+
if TYPE_CHECKING:
|
|
67
|
+
_ListSessionsPaginatorBase = Paginator[ListSessionsResponseTypeDef]
|
|
68
|
+
else:
|
|
69
|
+
_ListSessionsPaginatorBase = Paginator # type: ignore[assignment]
|
|
70
|
+
|
|
71
|
+
class ListSessionsPaginator(_ListSessionsPaginatorBase):
|
|
71
72
|
"""
|
|
72
73
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/paginator/ListSessions.html#WorkSpacesWeb.Paginator.ListSessions)
|
|
73
74
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/#listsessionspaginator)
|
|
74
75
|
"""
|
|
75
|
-
def paginate(
|
|
76
|
-
self, **kwargs: Unpack[
|
|
77
|
-
) ->
|
|
76
|
+
def paginate( # type: ignore[override]
|
|
77
|
+
self, **kwargs: Unpack[ListSessionsRequestPaginateTypeDef]
|
|
78
|
+
) -> PageIterator[ListSessionsResponseTypeDef]:
|
|
78
79
|
"""
|
|
79
80
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/paginator/ListSessions.html#WorkSpacesWeb.Paginator.ListSessions.paginate)
|
|
80
81
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/#listsessionspaginator)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for workspaces-web service type definitions.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/type_defs/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -11,12 +11,14 @@ Usage::
|
|
|
11
11
|
data: AssociateBrowserSettingsRequestRequestTypeDef = ...
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
Copyright
|
|
14
|
+
Copyright 2025 Vlad Emelianov
|
|
15
15
|
"""
|
|
16
16
|
|
|
17
|
+
from __future__ import annotations
|
|
18
|
+
|
|
17
19
|
import sys
|
|
18
20
|
from datetime import datetime
|
|
19
|
-
from typing import IO, Any,
|
|
21
|
+
from typing import IO, Any, Union
|
|
20
22
|
|
|
21
23
|
from botocore.response import StreamingBody
|
|
22
24
|
|
|
@@ -30,6 +32,12 @@ from .literals import (
|
|
|
30
32
|
SessionStatusType,
|
|
31
33
|
)
|
|
32
34
|
|
|
35
|
+
if sys.version_info >= (3, 9):
|
|
36
|
+
from builtins import dict as Dict
|
|
37
|
+
from builtins import list as List
|
|
38
|
+
from collections.abc import Mapping, Sequence
|
|
39
|
+
else:
|
|
40
|
+
from typing import Dict, List, Mapping, Sequence
|
|
33
41
|
if sys.version_info >= (3, 12):
|
|
34
42
|
from typing import Literal, NotRequired, TypedDict
|
|
35
43
|
else:
|
|
@@ -133,7 +141,7 @@ __all__ = (
|
|
|
133
141
|
"IpRuleTypeDef",
|
|
134
142
|
"ListBrowserSettingsRequestRequestTypeDef",
|
|
135
143
|
"ListBrowserSettingsResponseTypeDef",
|
|
136
|
-
"
|
|
144
|
+
"ListDataProtectionSettingsRequestPaginateTypeDef",
|
|
137
145
|
"ListDataProtectionSettingsRequestRequestTypeDef",
|
|
138
146
|
"ListDataProtectionSettingsResponseTypeDef",
|
|
139
147
|
"ListIdentityProvidersRequestRequestTypeDef",
|
|
@@ -144,7 +152,7 @@ __all__ = (
|
|
|
144
152
|
"ListNetworkSettingsResponseTypeDef",
|
|
145
153
|
"ListPortalsRequestRequestTypeDef",
|
|
146
154
|
"ListPortalsResponseTypeDef",
|
|
147
|
-
"
|
|
155
|
+
"ListSessionsRequestPaginateTypeDef",
|
|
148
156
|
"ListSessionsRequestRequestTypeDef",
|
|
149
157
|
"ListSessionsResponseTypeDef",
|
|
150
158
|
"ListTagsForResourceRequestRequestTypeDef",
|
|
@@ -972,11 +980,11 @@ class ListIpAccessSettingsResponseTypeDef(TypedDict):
|
|
|
972
980
|
nextToken: NotRequired[str]
|
|
973
981
|
|
|
974
982
|
|
|
975
|
-
class
|
|
983
|
+
class ListDataProtectionSettingsRequestPaginateTypeDef(TypedDict):
|
|
976
984
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
977
985
|
|
|
978
986
|
|
|
979
|
-
class
|
|
987
|
+
class ListSessionsRequestPaginateTypeDef(TypedDict):
|
|
980
988
|
portalId: str
|
|
981
989
|
sessionId: NotRequired[str]
|
|
982
990
|
sortBy: NotRequired[SessionSortByType]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for workspaces-web service type definitions.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/type_defs/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -11,12 +11,14 @@ Usage::
|
|
|
11
11
|
data: AssociateBrowserSettingsRequestRequestTypeDef = ...
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
Copyright
|
|
14
|
+
Copyright 2025 Vlad Emelianov
|
|
15
15
|
"""
|
|
16
16
|
|
|
17
|
+
from __future__ import annotations
|
|
18
|
+
|
|
17
19
|
import sys
|
|
18
20
|
from datetime import datetime
|
|
19
|
-
from typing import IO, Any,
|
|
21
|
+
from typing import IO, Any, Union
|
|
20
22
|
|
|
21
23
|
from botocore.response import StreamingBody
|
|
22
24
|
|
|
@@ -30,6 +32,12 @@ from .literals import (
|
|
|
30
32
|
SessionStatusType,
|
|
31
33
|
)
|
|
32
34
|
|
|
35
|
+
if sys.version_info >= (3, 9):
|
|
36
|
+
from builtins import dict as Dict
|
|
37
|
+
from builtins import list as List
|
|
38
|
+
from collections.abc import Mapping, Sequence
|
|
39
|
+
else:
|
|
40
|
+
from typing import Dict, List, Mapping, Sequence
|
|
33
41
|
if sys.version_info >= (3, 12):
|
|
34
42
|
from typing import Literal, NotRequired, TypedDict
|
|
35
43
|
else:
|
|
@@ -132,7 +140,7 @@ __all__ = (
|
|
|
132
140
|
"IpRuleTypeDef",
|
|
133
141
|
"ListBrowserSettingsRequestRequestTypeDef",
|
|
134
142
|
"ListBrowserSettingsResponseTypeDef",
|
|
135
|
-
"
|
|
143
|
+
"ListDataProtectionSettingsRequestPaginateTypeDef",
|
|
136
144
|
"ListDataProtectionSettingsRequestRequestTypeDef",
|
|
137
145
|
"ListDataProtectionSettingsResponseTypeDef",
|
|
138
146
|
"ListIdentityProvidersRequestRequestTypeDef",
|
|
@@ -143,7 +151,7 @@ __all__ = (
|
|
|
143
151
|
"ListNetworkSettingsResponseTypeDef",
|
|
144
152
|
"ListPortalsRequestRequestTypeDef",
|
|
145
153
|
"ListPortalsResponseTypeDef",
|
|
146
|
-
"
|
|
154
|
+
"ListSessionsRequestPaginateTypeDef",
|
|
147
155
|
"ListSessionsRequestRequestTypeDef",
|
|
148
156
|
"ListSessionsResponseTypeDef",
|
|
149
157
|
"ListTagsForResourceRequestRequestTypeDef",
|
|
@@ -838,10 +846,10 @@ class ListIpAccessSettingsResponseTypeDef(TypedDict):
|
|
|
838
846
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
839
847
|
nextToken: NotRequired[str]
|
|
840
848
|
|
|
841
|
-
class
|
|
849
|
+
class ListDataProtectionSettingsRequestPaginateTypeDef(TypedDict):
|
|
842
850
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
843
851
|
|
|
844
|
-
class
|
|
852
|
+
class ListSessionsRequestPaginateTypeDef(TypedDict):
|
|
845
853
|
portalId: str
|
|
846
854
|
sessionId: NotRequired[str]
|
|
847
855
|
sortBy: NotRequired[SessionSortByType]
|
{mypy_boto3_workspaces_web-1.35.66.dist-info → mypy_boto3_workspaces_web-1.35.93.dist-info}/METADATA
RENAMED
|
@@ -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 WorkSpacesWeb 1.35.
|
|
3
|
+
Version: 1.35.93
|
|
4
|
+
Summary: Type annotations for boto3 WorkSpacesWeb 1.35.93 service generated with mypy-boto3-builder 8.8.0
|
|
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
|
|
@@ -9,7 +9,7 @@ License: MIT License
|
|
|
9
9
|
Project-URL: Documentation, https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/
|
|
10
10
|
Project-URL: Source, https://github.com/youtype/mypy_boto3_builder
|
|
11
11
|
Project-URL: Tracker, https://github.com/youtype/mypy_boto3_builder/issues
|
|
12
|
-
Keywords: boto3 workspaces-web type-annotations
|
|
12
|
+
Keywords: boto3 workspaces-web boto3-stubs type-annotations mypy typeshed autocomplete
|
|
13
13
|
Classifier: Development Status :: 5 - Production/Stable
|
|
14
14
|
Classifier: Intended Audience :: Developers
|
|
15
15
|
Classifier: Environment :: Console
|
|
@@ -30,7 +30,7 @@ Classifier: Typing :: Stubs Only
|
|
|
30
30
|
Requires-Python: >=3.8
|
|
31
31
|
Description-Content-Type: text/markdown
|
|
32
32
|
License-File: LICENSE
|
|
33
|
-
Requires-Dist: typing-extensions
|
|
33
|
+
Requires-Dist: typing-extensions; python_version < "3.12"
|
|
34
34
|
|
|
35
35
|
<a id="mypy-boto3-workspaces-web"></a>
|
|
36
36
|
|
|
@@ -44,7 +44,7 @@ Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
|
|
|
44
44
|

|
|
45
45
|
|
|
46
46
|
Type annotations for
|
|
47
|
-
[boto3 WorkSpacesWeb 1.35.
|
|
47
|
+
[boto3 WorkSpacesWeb 1.35.93](https://pypi.org/project/boto3/) compatible with
|
|
48
48
|
[VSCode](https://code.visualstudio.com/),
|
|
49
49
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
50
50
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -52,8 +52,8 @@ Type annotations for
|
|
|
52
52
|
[mypy](https://github.com/python/mypy),
|
|
53
53
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
54
54
|
|
|
55
|
-
Generated
|
|
56
|
-
[mypy-boto3-builder 8.
|
|
55
|
+
Generated with
|
|
56
|
+
[mypy-boto3-builder 8.8.0](https://github.com/youtype/mypy_boto3_builder).
|
|
57
57
|
|
|
58
58
|
More information can be found on
|
|
59
59
|
[boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
|
|
@@ -61,10 +61,11 @@ More information can be found on
|
|
|
61
61
|
|
|
62
62
|
See how it helps you find and fix potential bugs:
|
|
63
63
|
|
|
64
|
-

|
|
65
65
|
|
|
66
66
|
- [mypy-boto3-workspaces-web](#mypy-boto3-workspaces-web)
|
|
67
67
|
- [How to install](#how-to-install)
|
|
68
|
+
- [Generate locally (recommended)](<#generate-locally-(recommended)>)
|
|
68
69
|
- [VSCode extension](#vscode-extension)
|
|
69
70
|
- [From PyPI with pip](#from-pypi-with-pip)
|
|
70
71
|
- [How to uninstall](#how-to-uninstall)
|
|
@@ -76,6 +77,7 @@ See how it helps you find and fix potential bugs:
|
|
|
76
77
|
- [Other IDEs](#other-ides)
|
|
77
78
|
- [mypy](#mypy)
|
|
78
79
|
- [pyright](#pyright)
|
|
80
|
+
- [Pylint compatibility](#pylint-compatibility)
|
|
79
81
|
- [Explicit type annotations](#explicit-type-annotations)
|
|
80
82
|
- [Client annotations](#client-annotations)
|
|
81
83
|
- [Paginators annotations](#paginators-annotations)
|
|
@@ -94,6 +96,21 @@ See how it helps you find and fix potential bugs:
|
|
|
94
96
|
|
|
95
97
|
## How to install
|
|
96
98
|
|
|
99
|
+
<a id="generate-locally-(recommended)"></a>
|
|
100
|
+
|
|
101
|
+
### Generate locally (recommended)
|
|
102
|
+
|
|
103
|
+
You can generate type annotations for `boto3` package locally with
|
|
104
|
+
`mypy_boto3_builder`. Use
|
|
105
|
+
[uv](https://docs.astral.sh/uv/getting-started/installation/) for build
|
|
106
|
+
isolation.
|
|
107
|
+
|
|
108
|
+
1. Run mypy-boto3-builder in your package root directory:
|
|
109
|
+
`uvx --with 'boto3==1.35.93' mypy_boto3_builder`
|
|
110
|
+
2. Select `boto3-stubs` AWS SDK.
|
|
111
|
+
3. Add `WorkSpacesWeb` service.
|
|
112
|
+
4. Use provided commands to install generated packages.
|
|
113
|
+
|
|
97
114
|
<a id="vscode-extension"></a>
|
|
98
115
|
|
|
99
116
|
### VSCode extension
|
|
@@ -114,12 +131,10 @@ Install `boto3-stubs` for `WorkSpacesWeb` service.
|
|
|
114
131
|
# install with boto3 type annotations
|
|
115
132
|
python -m pip install 'boto3-stubs[workspaces-web]'
|
|
116
133
|
|
|
117
|
-
|
|
118
134
|
# Lite version does not provide session.client/resource overloads
|
|
119
135
|
# it is more RAM-friendly, but requires explicit type annotations
|
|
120
136
|
python -m pip install 'boto3-stubs-lite[workspaces-web]'
|
|
121
137
|
|
|
122
|
-
|
|
123
138
|
# standalone installation
|
|
124
139
|
python -m pip install mypy-boto3-workspaces-web
|
|
125
140
|
```
|
|
@@ -269,6 +284,31 @@ Optionally, you can install `boto3-stubs` to `typings` directory.
|
|
|
269
284
|
Type checking should now work. No explicit type annotations required, write
|
|
270
285
|
your `boto3` code as usual.
|
|
271
286
|
|
|
287
|
+
<a id="pylint-compatibility"></a>
|
|
288
|
+
|
|
289
|
+
### Pylint compatibility
|
|
290
|
+
|
|
291
|
+
It is totally safe to use `TYPE_CHECKING` flag in order to avoid
|
|
292
|
+
`mypy-boto3-workspaces-web` dependency in production. However, there is an
|
|
293
|
+
issue in `pylint` that it complains about undefined variables. To fix it, set
|
|
294
|
+
all types to `object` in non-`TYPE_CHECKING` mode.
|
|
295
|
+
|
|
296
|
+
```python
|
|
297
|
+
from typing import TYPE_CHECKING
|
|
298
|
+
|
|
299
|
+
if TYPE_CHECKING:
|
|
300
|
+
from mypy_boto3_ec2 import EC2Client, EC2ServiceResource
|
|
301
|
+
from mypy_boto3_ec2.waiters import BundleTaskCompleteWaiter
|
|
302
|
+
from mypy_boto3_ec2.paginators import DescribeVolumesPaginator
|
|
303
|
+
else:
|
|
304
|
+
EC2Client = object
|
|
305
|
+
EC2ServiceResource = object
|
|
306
|
+
BundleTaskCompleteWaiter = object
|
|
307
|
+
DescribeVolumesPaginator = object
|
|
308
|
+
|
|
309
|
+
...
|
|
310
|
+
```
|
|
311
|
+
|
|
272
312
|
<a id="explicit-type-annotations"></a>
|
|
273
313
|
|
|
274
314
|
## Explicit type annotations
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
mypy_boto3_workspaces_web/__init__.py,sha256=XQiUoB4xBb_zQzt7-g36QP5x8G33HsdqKwEbBMI_XoM,926
|
|
2
|
+
mypy_boto3_workspaces_web/__init__.pyi,sha256=6JzzAIAQAAbEjl9dP0TAQYSCogRPdFERVndNGNu5Rp4,925
|
|
3
|
+
mypy_boto3_workspaces_web/__main__.py,sha256=UdxXUz6F4HQcoRUJMa86roIdCQa1LqjDZKn1G4vby2o,1009
|
|
4
|
+
mypy_boto3_workspaces_web/client.py,sha256=jclqNI4YjHk9UpCoMSLX0JxpditCgcF06_aXWWc9Vok,46039
|
|
5
|
+
mypy_boto3_workspaces_web/client.pyi,sha256=hMIszOUfG8tOXBrt1G0A7ABCBoxvtT6QExN6IpCyrzA,46036
|
|
6
|
+
mypy_boto3_workspaces_web/literals.py,sha256=YIZtnb3rVimCgVmK7fB3h9NInxAHhYrPoNIXOc1aWWg,10287
|
|
7
|
+
mypy_boto3_workspaces_web/literals.pyi,sha256=adccgeRkgCnSPSd5-JMkVGqvaUd-rWyS0D5VOubwYyw,10285
|
|
8
|
+
mypy_boto3_workspaces_web/paginator.py,sha256=RVLuKDlvR1YLsEUiYnlzjCfWAuMGuZOej610W0IFMiU,3715
|
|
9
|
+
mypy_boto3_workspaces_web/paginator.pyi,sha256=Eh7ewtRasnMEKDydywpUiLzJuEq6uWb7vgQRXDtWfsY,3708
|
|
10
|
+
mypy_boto3_workspaces_web/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
+
mypy_boto3_workspaces_web/type_defs.py,sha256=5Q12RzQiQOfnIe-QAxQ0NJJB8OjhOFmFE7ouuaRAie0,36263
|
|
12
|
+
mypy_boto3_workspaces_web/type_defs.pyi,sha256=vftc_p3czImOuGqY2eyUdiEH2Y4d7NekppBU1VcGyUg,36106
|
|
13
|
+
mypy_boto3_workspaces_web/version.py,sha256=n6wyMBvI3Tp0INYol4fUJ84y0BqM9ti-SkLRGfsif5s,93
|
|
14
|
+
mypy_boto3_workspaces_web-1.35.93.dist-info/LICENSE,sha256=4jNgB8jJbXtUVJkeygwhUQi--6lAG8DIisfE-h_RiUU,1070
|
|
15
|
+
mypy_boto3_workspaces_web-1.35.93.dist-info/METADATA,sha256=y87biaiyuC32mpxU4PkRO__GAyX0qOzhSg-j_vWRiqE,15140
|
|
16
|
+
mypy_boto3_workspaces_web-1.35.93.dist-info/WHEEL,sha256=A3WOREP4zgxI0fKrHUG8DC8013e3dK3n7a6HDbcEIwE,91
|
|
17
|
+
mypy_boto3_workspaces_web-1.35.93.dist-info/top_level.txt,sha256=uVGqyFrLYAjBajviVBauQuxxcr6knw6ba2vzvsNkrGg,26
|
|
18
|
+
mypy_boto3_workspaces_web-1.35.93.dist-info/RECORD,,
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
mypy_boto3_workspaces_web/__init__.py,sha256=ypWGRagIgU3YdxYVqvkPmTPUz5hZDBAqwydbYIJnDTY,926
|
|
2
|
-
mypy_boto3_workspaces_web/__init__.pyi,sha256=k-fCZ9JEZ9iLDNTXFOGpYlo6FGkXy6Pc7f0fj76Zim8,925
|
|
3
|
-
mypy_boto3_workspaces_web/__main__.py,sha256=3RmnUVsIAP6_2cIdr-_zY6w7aUg5x_vOg3XX4ngAc_o,975
|
|
4
|
-
mypy_boto3_workspaces_web/client.py,sha256=iR9YYOnWWSLcjZrnsi3tpZdQtuxQNZCywMTupQGcZdY,46199
|
|
5
|
-
mypy_boto3_workspaces_web/client.pyi,sha256=vCWz6FYTa3s4qB8c8nslgHaqzRUlPHlHnaEoC16PDDw,46195
|
|
6
|
-
mypy_boto3_workspaces_web/literals.py,sha256=VUTKvwQC_iAilvQnRvVSWdacQn8l9eM7tNxVkHwDTsY,10006
|
|
7
|
-
mypy_boto3_workspaces_web/literals.pyi,sha256=gIeR5f5pMwg2_XL52Jw1QDo0boHdfHkMuCvtL9Kjl0M,10004
|
|
8
|
-
mypy_boto3_workspaces_web/paginator.py,sha256=W983SQygm3993LTg5H8qJ2bh1z4qMV44xRt9oYnP-Y4,3553
|
|
9
|
-
mypy_boto3_workspaces_web/paginator.pyi,sha256=kDN15CkEMltNax_yzYQ2Q4_Ait3vZ0JrezeE1kppVjE,3546
|
|
10
|
-
mypy_boto3_workspaces_web/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
-
mypy_boto3_workspaces_web/type_defs.py,sha256=azG6_Z1TKR1UVJ5Ey5sljP9HREIEvFCfWCVM0yyvSxs,36123
|
|
12
|
-
mypy_boto3_workspaces_web/type_defs.pyi,sha256=B7IxWJmCxPtLBxmowuGkhz1WnrjRQRcVqcdpf67OzLM,35966
|
|
13
|
-
mypy_boto3_workspaces_web/version.py,sha256=gXX489ynhaCMOxkZOSF9ZQSKOQWaCKoLllrmVfJZBCk,93
|
|
14
|
-
mypy_boto3_workspaces_web-1.35.66.dist-info/LICENSE,sha256=eQDadZQZ3vRCiNF510ZT4yJV2zgo4000AOBoDRZyvKg,1070
|
|
15
|
-
mypy_boto3_workspaces_web-1.35.66.dist-info/METADATA,sha256=Fi9HdCaLm9YWJ4UjaYxq_R2jcIadG_TQpuFHg_BOhnw,13796
|
|
16
|
-
mypy_boto3_workspaces_web-1.35.66.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
17
|
-
mypy_boto3_workspaces_web-1.35.66.dist-info/top_level.txt,sha256=uVGqyFrLYAjBajviVBauQuxxcr6knw6ba2vzvsNkrGg,26
|
|
18
|
-
mypy_boto3_workspaces_web-1.35.66.dist-info/RECORD,,
|
|
File without changes
|