mypy-boto3-workspaces-web 1.35.23__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 +11 -2
- mypy_boto3_workspaces_web/__init__.pyi +11 -2
- mypy_boto3_workspaces_web/__main__.py +11 -8
- mypy_boto3_workspaces_web/client.py +199 -109
- mypy_boto3_workspaces_web/client.pyi +199 -108
- mypy_boto3_workspaces_web/literals.py +32 -8
- mypy_boto3_workspaces_web/literals.pyi +32 -8
- mypy_boto3_workspaces_web/paginator.py +42 -14
- mypy_boto3_workspaces_web/paginator.pyi +40 -14
- mypy_boto3_workspaces_web/type_defs.py +1068 -1169
- mypy_boto3_workspaces_web/type_defs.pyi +912 -1169
- mypy_boto3_workspaces_web/version.py +3 -1
- {mypy_boto3_workspaces_web-1.35.23.dist-info → mypy_boto3_workspaces_web-1.35.93.dist-info}/LICENSE +1 -1
- {mypy_boto3_workspaces_web-1.35.23.dist-info → mypy_boto3_workspaces_web-1.35.93.dist-info}/METADATA +84 -22
- mypy_boto3_workspaces_web-1.35.93.dist-info/RECORD +18 -0
- {mypy_boto3_workspaces_web-1.35.23.dist-info → mypy_boto3_workspaces_web-1.35.93.dist-info}/WHEEL +1 -1
- mypy_boto3_workspaces_web-1.35.23.dist-info/RECORD +0 -18
- {mypy_boto3_workspaces_web-1.35.23.dist-info → mypy_boto3_workspaces_web-1.35.93.dist-info}/top_level.txt +0 -0
|
@@ -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
|
|
|
@@ -10,6 +10,8 @@ Usage::
|
|
|
10
10
|
|
|
11
11
|
data: AuthenticationTypeType = "IAM_Identity_Center"
|
|
12
12
|
```
|
|
13
|
+
|
|
14
|
+
Copyright 2025 Vlad Emelianov
|
|
13
15
|
"""
|
|
14
16
|
|
|
15
17
|
import sys
|
|
@@ -26,16 +28,18 @@ __all__ = (
|
|
|
26
28
|
"EnabledTypeType",
|
|
27
29
|
"IdentityProviderTypeType",
|
|
28
30
|
"InstanceTypeType",
|
|
31
|
+
"ListDataProtectionSettingsPaginatorName",
|
|
29
32
|
"ListSessionsPaginatorName",
|
|
33
|
+
"PaginatorName",
|
|
30
34
|
"PortalStatusType",
|
|
35
|
+
"RedactionPlaceHolderTypeType",
|
|
36
|
+
"RegionName",
|
|
31
37
|
"RendererTypeType",
|
|
38
|
+
"ResourceServiceName",
|
|
39
|
+
"ServiceName",
|
|
32
40
|
"SessionSortByType",
|
|
33
41
|
"SessionStatusType",
|
|
34
42
|
"WorkSpacesWebServiceName",
|
|
35
|
-
"ServiceName",
|
|
36
|
-
"ResourceServiceName",
|
|
37
|
-
"PaginatorName",
|
|
38
|
-
"RegionName",
|
|
39
43
|
)
|
|
40
44
|
|
|
41
45
|
|
|
@@ -46,8 +50,10 @@ IdentityProviderTypeType = Literal[
|
|
|
46
50
|
"Facebook", "Google", "LoginWithAmazon", "OIDC", "SAML", "SignInWithApple"
|
|
47
51
|
]
|
|
48
52
|
InstanceTypeType = Literal["standard.large", "standard.regular", "standard.xlarge"]
|
|
53
|
+
ListDataProtectionSettingsPaginatorName = Literal["list_data_protection_settings"]
|
|
49
54
|
ListSessionsPaginatorName = Literal["list_sessions"]
|
|
50
55
|
PortalStatusType = Literal["Active", "Incomplete", "Pending"]
|
|
56
|
+
RedactionPlaceHolderTypeType = Literal["CustomText"]
|
|
51
57
|
RendererTypeType = Literal["AppStream"]
|
|
52
58
|
SessionSortByType = Literal["StartTimeAscending", "StartTimeDescending"]
|
|
53
59
|
SessionStatusType = Literal["Active", "Terminated"]
|
|
@@ -87,12 +93,17 @@ ServiceName = Literal[
|
|
|
87
93
|
"b2bi",
|
|
88
94
|
"backup",
|
|
89
95
|
"backup-gateway",
|
|
96
|
+
"backupsearch",
|
|
90
97
|
"batch",
|
|
91
98
|
"bcm-data-exports",
|
|
99
|
+
"bcm-pricing-calculator",
|
|
92
100
|
"bedrock",
|
|
93
101
|
"bedrock-agent",
|
|
94
102
|
"bedrock-agent-runtime",
|
|
103
|
+
"bedrock-data-automation",
|
|
104
|
+
"bedrock-data-automation-runtime",
|
|
95
105
|
"bedrock-runtime",
|
|
106
|
+
"billing",
|
|
96
107
|
"billingconductor",
|
|
97
108
|
"braket",
|
|
98
109
|
"budgets",
|
|
@@ -141,6 +152,7 @@ ServiceName = Literal[
|
|
|
141
152
|
"connect",
|
|
142
153
|
"connect-contact-lens",
|
|
143
154
|
"connectcampaigns",
|
|
155
|
+
"connectcampaignsv2",
|
|
144
156
|
"connectcases",
|
|
145
157
|
"connectparticipant",
|
|
146
158
|
"controlcatalog",
|
|
@@ -167,6 +179,7 @@ ServiceName = Literal[
|
|
|
167
179
|
"drs",
|
|
168
180
|
"ds",
|
|
169
181
|
"ds-data",
|
|
182
|
+
"dsql",
|
|
170
183
|
"dynamodb",
|
|
171
184
|
"dynamodbstreams",
|
|
172
185
|
"ebs",
|
|
@@ -202,6 +215,9 @@ ServiceName = Literal[
|
|
|
202
215
|
"freetier",
|
|
203
216
|
"fsx",
|
|
204
217
|
"gamelift",
|
|
218
|
+
"geo-maps",
|
|
219
|
+
"geo-places",
|
|
220
|
+
"geo-routes",
|
|
205
221
|
"glacier",
|
|
206
222
|
"globalaccelerator",
|
|
207
223
|
"glue",
|
|
@@ -220,6 +236,7 @@ ServiceName = Literal[
|
|
|
220
236
|
"inspector-scan",
|
|
221
237
|
"inspector2",
|
|
222
238
|
"internetmonitor",
|
|
239
|
+
"invoicing",
|
|
223
240
|
"iot",
|
|
224
241
|
"iot-data",
|
|
225
242
|
"iot-jobs-data",
|
|
@@ -279,6 +296,7 @@ ServiceName = Literal[
|
|
|
279
296
|
"marketplace-catalog",
|
|
280
297
|
"marketplace-deployment",
|
|
281
298
|
"marketplace-entitlement",
|
|
299
|
+
"marketplace-reporting",
|
|
282
300
|
"marketplacecommerceanalytics",
|
|
283
301
|
"mediaconnect",
|
|
284
302
|
"mediaconvert",
|
|
@@ -305,10 +323,13 @@ ServiceName = Literal[
|
|
|
305
323
|
"neptune-graph",
|
|
306
324
|
"neptunedata",
|
|
307
325
|
"network-firewall",
|
|
326
|
+
"networkflowmonitor",
|
|
308
327
|
"networkmanager",
|
|
309
328
|
"networkmonitor",
|
|
310
|
-
"
|
|
329
|
+
"notifications",
|
|
330
|
+
"notificationscontacts",
|
|
311
331
|
"oam",
|
|
332
|
+
"observabilityadmin",
|
|
312
333
|
"omics",
|
|
313
334
|
"opensearch",
|
|
314
335
|
"opensearchserverless",
|
|
@@ -318,6 +339,7 @@ ServiceName = Literal[
|
|
|
318
339
|
"osis",
|
|
319
340
|
"outposts",
|
|
320
341
|
"panorama",
|
|
342
|
+
"partnercentral-selling",
|
|
321
343
|
"payment-cryptography",
|
|
322
344
|
"payment-cryptography-data",
|
|
323
345
|
"pca-connector-ad",
|
|
@@ -368,6 +390,7 @@ ServiceName = Literal[
|
|
|
368
390
|
"s3",
|
|
369
391
|
"s3control",
|
|
370
392
|
"s3outposts",
|
|
393
|
+
"s3tables",
|
|
371
394
|
"sagemaker",
|
|
372
395
|
"sagemaker-a2i-runtime",
|
|
373
396
|
"sagemaker-edge",
|
|
@@ -380,6 +403,7 @@ ServiceName = Literal[
|
|
|
380
403
|
"schemas",
|
|
381
404
|
"sdb",
|
|
382
405
|
"secretsmanager",
|
|
406
|
+
"security-ir",
|
|
383
407
|
"securityhub",
|
|
384
408
|
"securitylake",
|
|
385
409
|
"serverlessrepo",
|
|
@@ -397,6 +421,7 @@ ServiceName = Literal[
|
|
|
397
421
|
"snow-device-management",
|
|
398
422
|
"snowball",
|
|
399
423
|
"sns",
|
|
424
|
+
"socialmessaging",
|
|
400
425
|
"sqs",
|
|
401
426
|
"ssm",
|
|
402
427
|
"ssm-contacts",
|
|
@@ -433,7 +458,6 @@ ServiceName = Literal[
|
|
|
433
458
|
"wellarchitected",
|
|
434
459
|
"wisdom",
|
|
435
460
|
"workdocs",
|
|
436
|
-
"worklink",
|
|
437
461
|
"workmail",
|
|
438
462
|
"workmailmessageflow",
|
|
439
463
|
"workspaces",
|
|
@@ -453,7 +477,7 @@ ResourceServiceName = Literal[
|
|
|
453
477
|
"sns",
|
|
454
478
|
"sqs",
|
|
455
479
|
]
|
|
456
|
-
PaginatorName = Literal["list_sessions"]
|
|
480
|
+
PaginatorName = Literal["list_data_protection_settings", "list_sessions"]
|
|
457
481
|
RegionName = Literal[
|
|
458
482
|
"ap-northeast-1",
|
|
459
483
|
"ap-south-1",
|
|
@@ -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
|
|
|
@@ -10,6 +10,8 @@ Usage::
|
|
|
10
10
|
|
|
11
11
|
data: AuthenticationTypeType = "IAM_Identity_Center"
|
|
12
12
|
```
|
|
13
|
+
|
|
14
|
+
Copyright 2025 Vlad Emelianov
|
|
13
15
|
"""
|
|
14
16
|
|
|
15
17
|
import sys
|
|
@@ -25,16 +27,18 @@ __all__ = (
|
|
|
25
27
|
"EnabledTypeType",
|
|
26
28
|
"IdentityProviderTypeType",
|
|
27
29
|
"InstanceTypeType",
|
|
30
|
+
"ListDataProtectionSettingsPaginatorName",
|
|
28
31
|
"ListSessionsPaginatorName",
|
|
32
|
+
"PaginatorName",
|
|
29
33
|
"PortalStatusType",
|
|
34
|
+
"RedactionPlaceHolderTypeType",
|
|
35
|
+
"RegionName",
|
|
30
36
|
"RendererTypeType",
|
|
37
|
+
"ResourceServiceName",
|
|
38
|
+
"ServiceName",
|
|
31
39
|
"SessionSortByType",
|
|
32
40
|
"SessionStatusType",
|
|
33
41
|
"WorkSpacesWebServiceName",
|
|
34
|
-
"ServiceName",
|
|
35
|
-
"ResourceServiceName",
|
|
36
|
-
"PaginatorName",
|
|
37
|
-
"RegionName",
|
|
38
42
|
)
|
|
39
43
|
|
|
40
44
|
AuthenticationTypeType = Literal["IAM_Identity_Center", "Standard"]
|
|
@@ -44,8 +48,10 @@ IdentityProviderTypeType = Literal[
|
|
|
44
48
|
"Facebook", "Google", "LoginWithAmazon", "OIDC", "SAML", "SignInWithApple"
|
|
45
49
|
]
|
|
46
50
|
InstanceTypeType = Literal["standard.large", "standard.regular", "standard.xlarge"]
|
|
51
|
+
ListDataProtectionSettingsPaginatorName = Literal["list_data_protection_settings"]
|
|
47
52
|
ListSessionsPaginatorName = Literal["list_sessions"]
|
|
48
53
|
PortalStatusType = Literal["Active", "Incomplete", "Pending"]
|
|
54
|
+
RedactionPlaceHolderTypeType = Literal["CustomText"]
|
|
49
55
|
RendererTypeType = Literal["AppStream"]
|
|
50
56
|
SessionSortByType = Literal["StartTimeAscending", "StartTimeDescending"]
|
|
51
57
|
SessionStatusType = Literal["Active", "Terminated"]
|
|
@@ -85,12 +91,17 @@ ServiceName = Literal[
|
|
|
85
91
|
"b2bi",
|
|
86
92
|
"backup",
|
|
87
93
|
"backup-gateway",
|
|
94
|
+
"backupsearch",
|
|
88
95
|
"batch",
|
|
89
96
|
"bcm-data-exports",
|
|
97
|
+
"bcm-pricing-calculator",
|
|
90
98
|
"bedrock",
|
|
91
99
|
"bedrock-agent",
|
|
92
100
|
"bedrock-agent-runtime",
|
|
101
|
+
"bedrock-data-automation",
|
|
102
|
+
"bedrock-data-automation-runtime",
|
|
93
103
|
"bedrock-runtime",
|
|
104
|
+
"billing",
|
|
94
105
|
"billingconductor",
|
|
95
106
|
"braket",
|
|
96
107
|
"budgets",
|
|
@@ -139,6 +150,7 @@ ServiceName = Literal[
|
|
|
139
150
|
"connect",
|
|
140
151
|
"connect-contact-lens",
|
|
141
152
|
"connectcampaigns",
|
|
153
|
+
"connectcampaignsv2",
|
|
142
154
|
"connectcases",
|
|
143
155
|
"connectparticipant",
|
|
144
156
|
"controlcatalog",
|
|
@@ -165,6 +177,7 @@ ServiceName = Literal[
|
|
|
165
177
|
"drs",
|
|
166
178
|
"ds",
|
|
167
179
|
"ds-data",
|
|
180
|
+
"dsql",
|
|
168
181
|
"dynamodb",
|
|
169
182
|
"dynamodbstreams",
|
|
170
183
|
"ebs",
|
|
@@ -200,6 +213,9 @@ ServiceName = Literal[
|
|
|
200
213
|
"freetier",
|
|
201
214
|
"fsx",
|
|
202
215
|
"gamelift",
|
|
216
|
+
"geo-maps",
|
|
217
|
+
"geo-places",
|
|
218
|
+
"geo-routes",
|
|
203
219
|
"glacier",
|
|
204
220
|
"globalaccelerator",
|
|
205
221
|
"glue",
|
|
@@ -218,6 +234,7 @@ ServiceName = Literal[
|
|
|
218
234
|
"inspector-scan",
|
|
219
235
|
"inspector2",
|
|
220
236
|
"internetmonitor",
|
|
237
|
+
"invoicing",
|
|
221
238
|
"iot",
|
|
222
239
|
"iot-data",
|
|
223
240
|
"iot-jobs-data",
|
|
@@ -277,6 +294,7 @@ ServiceName = Literal[
|
|
|
277
294
|
"marketplace-catalog",
|
|
278
295
|
"marketplace-deployment",
|
|
279
296
|
"marketplace-entitlement",
|
|
297
|
+
"marketplace-reporting",
|
|
280
298
|
"marketplacecommerceanalytics",
|
|
281
299
|
"mediaconnect",
|
|
282
300
|
"mediaconvert",
|
|
@@ -303,10 +321,13 @@ ServiceName = Literal[
|
|
|
303
321
|
"neptune-graph",
|
|
304
322
|
"neptunedata",
|
|
305
323
|
"network-firewall",
|
|
324
|
+
"networkflowmonitor",
|
|
306
325
|
"networkmanager",
|
|
307
326
|
"networkmonitor",
|
|
308
|
-
"
|
|
327
|
+
"notifications",
|
|
328
|
+
"notificationscontacts",
|
|
309
329
|
"oam",
|
|
330
|
+
"observabilityadmin",
|
|
310
331
|
"omics",
|
|
311
332
|
"opensearch",
|
|
312
333
|
"opensearchserverless",
|
|
@@ -316,6 +337,7 @@ ServiceName = Literal[
|
|
|
316
337
|
"osis",
|
|
317
338
|
"outposts",
|
|
318
339
|
"panorama",
|
|
340
|
+
"partnercentral-selling",
|
|
319
341
|
"payment-cryptography",
|
|
320
342
|
"payment-cryptography-data",
|
|
321
343
|
"pca-connector-ad",
|
|
@@ -366,6 +388,7 @@ ServiceName = Literal[
|
|
|
366
388
|
"s3",
|
|
367
389
|
"s3control",
|
|
368
390
|
"s3outposts",
|
|
391
|
+
"s3tables",
|
|
369
392
|
"sagemaker",
|
|
370
393
|
"sagemaker-a2i-runtime",
|
|
371
394
|
"sagemaker-edge",
|
|
@@ -378,6 +401,7 @@ ServiceName = Literal[
|
|
|
378
401
|
"schemas",
|
|
379
402
|
"sdb",
|
|
380
403
|
"secretsmanager",
|
|
404
|
+
"security-ir",
|
|
381
405
|
"securityhub",
|
|
382
406
|
"securitylake",
|
|
383
407
|
"serverlessrepo",
|
|
@@ -395,6 +419,7 @@ ServiceName = Literal[
|
|
|
395
419
|
"snow-device-management",
|
|
396
420
|
"snowball",
|
|
397
421
|
"sns",
|
|
422
|
+
"socialmessaging",
|
|
398
423
|
"sqs",
|
|
399
424
|
"ssm",
|
|
400
425
|
"ssm-contacts",
|
|
@@ -431,7 +456,6 @@ ServiceName = Literal[
|
|
|
431
456
|
"wellarchitected",
|
|
432
457
|
"wisdom",
|
|
433
458
|
"workdocs",
|
|
434
|
-
"worklink",
|
|
435
459
|
"workmail",
|
|
436
460
|
"workmailmessageflow",
|
|
437
461
|
"workspaces",
|
|
@@ -451,7 +475,7 @@ ResourceServiceName = Literal[
|
|
|
451
475
|
"sns",
|
|
452
476
|
"sqs",
|
|
453
477
|
]
|
|
454
|
-
PaginatorName = Literal["list_sessions"]
|
|
478
|
+
PaginatorName = Literal["list_data_protection_settings", "list_sessions"]
|
|
455
479
|
RegionName = Literal[
|
|
456
480
|
"ap-northeast-1",
|
|
457
481
|
"ap-south-1",
|
|
@@ -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
|
|
|
@@ -10,22 +10,33 @@ Usage::
|
|
|
10
10
|
|
|
11
11
|
from mypy_boto3_workspaces_web.client import WorkSpacesWebClient
|
|
12
12
|
from mypy_boto3_workspaces_web.paginator import (
|
|
13
|
+
ListDataProtectionSettingsPaginator,
|
|
13
14
|
ListSessionsPaginator,
|
|
14
15
|
)
|
|
15
16
|
|
|
16
17
|
session = Session()
|
|
17
18
|
client: WorkSpacesWebClient = session.client("workspaces-web")
|
|
18
19
|
|
|
20
|
+
list_data_protection_settings_paginator: ListDataProtectionSettingsPaginator = client.get_paginator("list_data_protection_settings")
|
|
19
21
|
list_sessions_paginator: ListSessionsPaginator = client.get_paginator("list_sessions")
|
|
20
22
|
```
|
|
23
|
+
|
|
24
|
+
Copyright 2025 Vlad Emelianov
|
|
21
25
|
"""
|
|
22
26
|
|
|
27
|
+
from __future__ import annotations
|
|
28
|
+
|
|
23
29
|
import sys
|
|
24
|
-
from typing import
|
|
30
|
+
from typing import TYPE_CHECKING
|
|
25
31
|
|
|
26
32
|
from botocore.paginate import PageIterator, Paginator
|
|
27
33
|
|
|
28
|
-
from .type_defs import
|
|
34
|
+
from .type_defs import (
|
|
35
|
+
ListDataProtectionSettingsRequestPaginateTypeDef,
|
|
36
|
+
ListDataProtectionSettingsResponseTypeDef,
|
|
37
|
+
ListSessionsRequestPaginateTypeDef,
|
|
38
|
+
ListSessionsResponseTypeDef,
|
|
39
|
+
)
|
|
29
40
|
|
|
30
41
|
if sys.version_info >= (3, 12):
|
|
31
42
|
from typing import Unpack
|
|
@@ -33,29 +44,46 @@ else:
|
|
|
33
44
|
from typing_extensions import Unpack
|
|
34
45
|
|
|
35
46
|
|
|
36
|
-
__all__ = ("ListSessionsPaginator"
|
|
47
|
+
__all__ = ("ListDataProtectionSettingsPaginator", "ListSessionsPaginator")
|
|
37
48
|
|
|
38
49
|
|
|
39
|
-
|
|
50
|
+
if TYPE_CHECKING:
|
|
51
|
+
_ListDataProtectionSettingsPaginatorBase = Paginator[ListDataProtectionSettingsResponseTypeDef]
|
|
52
|
+
else:
|
|
53
|
+
_ListDataProtectionSettingsPaginatorBase = Paginator # type: ignore[assignment]
|
|
40
54
|
|
|
41
55
|
|
|
42
|
-
class
|
|
43
|
-
|
|
56
|
+
class ListDataProtectionSettingsPaginator(_ListDataProtectionSettingsPaginatorBase):
|
|
57
|
+
"""
|
|
58
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/paginator/ListDataProtectionSettings.html#WorkSpacesWeb.Paginator.ListDataProtectionSettings)
|
|
59
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/#listdataprotectionsettingspaginator)
|
|
60
|
+
"""
|
|
61
|
+
|
|
62
|
+
def paginate( # type: ignore[override]
|
|
63
|
+
self, **kwargs: Unpack[ListDataProtectionSettingsRequestPaginateTypeDef]
|
|
64
|
+
) -> PageIterator[ListDataProtectionSettingsResponseTypeDef]:
|
|
44
65
|
"""
|
|
45
|
-
|
|
66
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/paginator/ListDataProtectionSettings.html#WorkSpacesWeb.Paginator.ListDataProtectionSettings.paginate)
|
|
67
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/#listdataprotectionsettingspaginator)
|
|
46
68
|
"""
|
|
47
69
|
|
|
48
70
|
|
|
49
|
-
|
|
71
|
+
if TYPE_CHECKING:
|
|
72
|
+
_ListSessionsPaginatorBase = Paginator[ListSessionsResponseTypeDef]
|
|
73
|
+
else:
|
|
74
|
+
_ListSessionsPaginatorBase = Paginator # type: ignore[assignment]
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
class ListSessionsPaginator(_ListSessionsPaginatorBase):
|
|
50
78
|
"""
|
|
51
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web.html#WorkSpacesWeb.Paginator.ListSessions)
|
|
79
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/paginator/ListSessions.html#WorkSpacesWeb.Paginator.ListSessions)
|
|
52
80
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/#listsessionspaginator)
|
|
53
81
|
"""
|
|
54
82
|
|
|
55
|
-
def paginate(
|
|
56
|
-
self, **kwargs: Unpack[
|
|
57
|
-
) ->
|
|
83
|
+
def paginate( # type: ignore[override]
|
|
84
|
+
self, **kwargs: Unpack[ListSessionsRequestPaginateTypeDef]
|
|
85
|
+
) -> PageIterator[ListSessionsResponseTypeDef]:
|
|
58
86
|
"""
|
|
59
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web.html#WorkSpacesWeb.Paginator.ListSessions.paginate)
|
|
87
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/paginator/ListSessions.html#WorkSpacesWeb.Paginator.ListSessions.paginate)
|
|
60
88
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/#listsessionspaginator)
|
|
61
89
|
"""
|
|
@@ -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
|
|
|
@@ -10,47 +10,73 @@ Usage::
|
|
|
10
10
|
|
|
11
11
|
from mypy_boto3_workspaces_web.client import WorkSpacesWebClient
|
|
12
12
|
from mypy_boto3_workspaces_web.paginator import (
|
|
13
|
+
ListDataProtectionSettingsPaginator,
|
|
13
14
|
ListSessionsPaginator,
|
|
14
15
|
)
|
|
15
16
|
|
|
16
17
|
session = Session()
|
|
17
18
|
client: WorkSpacesWebClient = session.client("workspaces-web")
|
|
18
19
|
|
|
20
|
+
list_data_protection_settings_paginator: ListDataProtectionSettingsPaginator = client.get_paginator("list_data_protection_settings")
|
|
19
21
|
list_sessions_paginator: ListSessionsPaginator = client.get_paginator("list_sessions")
|
|
20
22
|
```
|
|
23
|
+
|
|
24
|
+
Copyright 2025 Vlad Emelianov
|
|
21
25
|
"""
|
|
22
26
|
|
|
27
|
+
from __future__ import annotations
|
|
28
|
+
|
|
23
29
|
import sys
|
|
24
|
-
from typing import
|
|
30
|
+
from typing import TYPE_CHECKING
|
|
25
31
|
|
|
26
32
|
from botocore.paginate import PageIterator, Paginator
|
|
27
33
|
|
|
28
|
-
from .type_defs import
|
|
34
|
+
from .type_defs import (
|
|
35
|
+
ListDataProtectionSettingsRequestPaginateTypeDef,
|
|
36
|
+
ListDataProtectionSettingsResponseTypeDef,
|
|
37
|
+
ListSessionsRequestPaginateTypeDef,
|
|
38
|
+
ListSessionsResponseTypeDef,
|
|
39
|
+
)
|
|
29
40
|
|
|
30
41
|
if sys.version_info >= (3, 12):
|
|
31
42
|
from typing import Unpack
|
|
32
43
|
else:
|
|
33
44
|
from typing_extensions import Unpack
|
|
34
45
|
|
|
35
|
-
__all__ = ("ListSessionsPaginator"
|
|
46
|
+
__all__ = ("ListDataProtectionSettingsPaginator", "ListSessionsPaginator")
|
|
36
47
|
|
|
37
|
-
|
|
48
|
+
if TYPE_CHECKING:
|
|
49
|
+
_ListDataProtectionSettingsPaginatorBase = Paginator[ListDataProtectionSettingsResponseTypeDef]
|
|
50
|
+
else:
|
|
51
|
+
_ListDataProtectionSettingsPaginatorBase = Paginator # type: ignore[assignment]
|
|
38
52
|
|
|
39
|
-
class
|
|
40
|
-
|
|
53
|
+
class ListDataProtectionSettingsPaginator(_ListDataProtectionSettingsPaginatorBase):
|
|
54
|
+
"""
|
|
55
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/paginator/ListDataProtectionSettings.html#WorkSpacesWeb.Paginator.ListDataProtectionSettings)
|
|
56
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/#listdataprotectionsettingspaginator)
|
|
57
|
+
"""
|
|
58
|
+
def paginate( # type: ignore[override]
|
|
59
|
+
self, **kwargs: Unpack[ListDataProtectionSettingsRequestPaginateTypeDef]
|
|
60
|
+
) -> PageIterator[ListDataProtectionSettingsResponseTypeDef]:
|
|
41
61
|
"""
|
|
42
|
-
|
|
62
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/paginator/ListDataProtectionSettings.html#WorkSpacesWeb.Paginator.ListDataProtectionSettings.paginate)
|
|
63
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/#listdataprotectionsettingspaginator)
|
|
43
64
|
"""
|
|
44
65
|
|
|
45
|
-
|
|
66
|
+
if TYPE_CHECKING:
|
|
67
|
+
_ListSessionsPaginatorBase = Paginator[ListSessionsResponseTypeDef]
|
|
68
|
+
else:
|
|
69
|
+
_ListSessionsPaginatorBase = Paginator # type: ignore[assignment]
|
|
70
|
+
|
|
71
|
+
class ListSessionsPaginator(_ListSessionsPaginatorBase):
|
|
46
72
|
"""
|
|
47
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web.html#WorkSpacesWeb.Paginator.ListSessions)
|
|
73
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/paginator/ListSessions.html#WorkSpacesWeb.Paginator.ListSessions)
|
|
48
74
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/#listsessionspaginator)
|
|
49
75
|
"""
|
|
50
|
-
def paginate(
|
|
51
|
-
self, **kwargs: Unpack[
|
|
52
|
-
) ->
|
|
76
|
+
def paginate( # type: ignore[override]
|
|
77
|
+
self, **kwargs: Unpack[ListSessionsRequestPaginateTypeDef]
|
|
78
|
+
) -> PageIterator[ListSessionsResponseTypeDef]:
|
|
53
79
|
"""
|
|
54
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web.html#WorkSpacesWeb.Paginator.ListSessions.paginate)
|
|
80
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/paginator/ListSessions.html#WorkSpacesWeb.Paginator.ListSessions.paginate)
|
|
55
81
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/#listsessionspaginator)
|
|
56
82
|
"""
|