mypy-boto3-workspaces-web 1.35.0__py3-none-any.whl → 1.35.66__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 +15 -1
- mypy_boto3_workspaces_web/__init__.pyi +14 -1
- mypy_boto3_workspaces_web/__main__.py +7 -5
- mypy_boto3_workspaces_web/client.py +362 -234
- mypy_boto3_workspaces_web/client.pyi +361 -234
- mypy_boto3_workspaces_web/literals.py +29 -6
- mypy_boto3_workspaces_web/literals.pyi +27 -6
- mypy_boto3_workspaces_web/paginator.py +88 -0
- mypy_boto3_workspaces_web/paginator.pyi +81 -0
- mypy_boto3_workspaces_web/type_defs.py +1058 -1084
- mypy_boto3_workspaces_web/type_defs.pyi +901 -1084
- mypy_boto3_workspaces_web/version.py +3 -1
- {mypy_boto3_workspaces_web-1.35.0.dist-info → mypy_boto3_workspaces_web-1.35.66.dist-info}/METADATA +61 -19
- mypy_boto3_workspaces_web-1.35.66.dist-info/RECORD +18 -0
- {mypy_boto3_workspaces_web-1.35.0.dist-info → mypy_boto3_workspaces_web-1.35.66.dist-info}/WHEEL +1 -1
- mypy_boto3_workspaces_web-1.35.0.dist-info/RECORD +0 -16
- {mypy_boto3_workspaces_web-1.35.0.dist-info → mypy_boto3_workspaces_web-1.35.66.dist-info}/LICENSE +0 -0
- {mypy_boto3_workspaces_web-1.35.0.dist-info → mypy_boto3_workspaces_web-1.35.66.dist-info}/top_level.txt +0 -0
|
@@ -10,6 +10,8 @@ Usage::
|
|
|
10
10
|
|
|
11
11
|
data: AuthenticationTypeType = "IAM_Identity_Center"
|
|
12
12
|
```
|
|
13
|
+
|
|
14
|
+
Copyright 2024 Vlad Emelianov
|
|
13
15
|
"""
|
|
14
16
|
|
|
15
17
|
import sys
|
|
@@ -19,20 +21,28 @@ if sys.version_info >= (3, 12):
|
|
|
19
21
|
else:
|
|
20
22
|
from typing_extensions import Literal
|
|
21
23
|
|
|
24
|
+
|
|
22
25
|
__all__ = (
|
|
23
26
|
"AuthenticationTypeType",
|
|
24
27
|
"BrowserTypeType",
|
|
25
28
|
"EnabledTypeType",
|
|
26
29
|
"IdentityProviderTypeType",
|
|
27
30
|
"InstanceTypeType",
|
|
31
|
+
"ListDataProtectionSettingsPaginatorName",
|
|
32
|
+
"ListSessionsPaginatorName",
|
|
33
|
+
"PaginatorName",
|
|
28
34
|
"PortalStatusType",
|
|
35
|
+
"RedactionPlaceHolderTypeType",
|
|
36
|
+
"RegionName",
|
|
29
37
|
"RendererTypeType",
|
|
30
|
-
"WorkSpacesWebServiceName",
|
|
31
|
-
"ServiceName",
|
|
32
38
|
"ResourceServiceName",
|
|
33
|
-
"
|
|
39
|
+
"ServiceName",
|
|
40
|
+
"SessionSortByType",
|
|
41
|
+
"SessionStatusType",
|
|
42
|
+
"WorkSpacesWebServiceName",
|
|
34
43
|
)
|
|
35
44
|
|
|
45
|
+
|
|
36
46
|
AuthenticationTypeType = Literal["IAM_Identity_Center", "Standard"]
|
|
37
47
|
BrowserTypeType = Literal["Chrome"]
|
|
38
48
|
EnabledTypeType = Literal["Disabled", "Enabled"]
|
|
@@ -40,8 +50,13 @@ IdentityProviderTypeType = Literal[
|
|
|
40
50
|
"Facebook", "Google", "LoginWithAmazon", "OIDC", "SAML", "SignInWithApple"
|
|
41
51
|
]
|
|
42
52
|
InstanceTypeType = Literal["standard.large", "standard.regular", "standard.xlarge"]
|
|
53
|
+
ListDataProtectionSettingsPaginatorName = Literal["list_data_protection_settings"]
|
|
54
|
+
ListSessionsPaginatorName = Literal["list_sessions"]
|
|
43
55
|
PortalStatusType = Literal["Active", "Incomplete", "Pending"]
|
|
56
|
+
RedactionPlaceHolderTypeType = Literal["CustomText"]
|
|
44
57
|
RendererTypeType = Literal["AppStream"]
|
|
58
|
+
SessionSortByType = Literal["StartTimeAscending", "StartTimeDescending"]
|
|
59
|
+
SessionStatusType = Literal["Active", "Terminated"]
|
|
45
60
|
WorkSpacesWebServiceName = Literal["workspaces-web"]
|
|
46
61
|
ServiceName = Literal[
|
|
47
62
|
"accessanalyzer",
|
|
@@ -84,6 +99,7 @@ ServiceName = Literal[
|
|
|
84
99
|
"bedrock-agent",
|
|
85
100
|
"bedrock-agent-runtime",
|
|
86
101
|
"bedrock-runtime",
|
|
102
|
+
"billing",
|
|
87
103
|
"billingconductor",
|
|
88
104
|
"braket",
|
|
89
105
|
"budgets",
|
|
@@ -120,7 +136,6 @@ ServiceName = Literal[
|
|
|
120
136
|
"codeguru-security",
|
|
121
137
|
"codeguruprofiler",
|
|
122
138
|
"codepipeline",
|
|
123
|
-
"codestar",
|
|
124
139
|
"codestar-connections",
|
|
125
140
|
"codestar-notifications",
|
|
126
141
|
"cognito-identity",
|
|
@@ -133,6 +148,7 @@ ServiceName = Literal[
|
|
|
133
148
|
"connect",
|
|
134
149
|
"connect-contact-lens",
|
|
135
150
|
"connectcampaigns",
|
|
151
|
+
"connectcampaignsv2",
|
|
136
152
|
"connectcases",
|
|
137
153
|
"connectparticipant",
|
|
138
154
|
"controlcatalog",
|
|
@@ -158,6 +174,7 @@ ServiceName = Literal[
|
|
|
158
174
|
"docdb-elastic",
|
|
159
175
|
"drs",
|
|
160
176
|
"ds",
|
|
177
|
+
"ds-data",
|
|
161
178
|
"dynamodb",
|
|
162
179
|
"dynamodbstreams",
|
|
163
180
|
"ebs",
|
|
@@ -193,6 +210,9 @@ ServiceName = Literal[
|
|
|
193
210
|
"freetier",
|
|
194
211
|
"fsx",
|
|
195
212
|
"gamelift",
|
|
213
|
+
"geo-maps",
|
|
214
|
+
"geo-places",
|
|
215
|
+
"geo-routes",
|
|
196
216
|
"glacier",
|
|
197
217
|
"globalaccelerator",
|
|
198
218
|
"glue",
|
|
@@ -270,6 +290,7 @@ ServiceName = Literal[
|
|
|
270
290
|
"marketplace-catalog",
|
|
271
291
|
"marketplace-deployment",
|
|
272
292
|
"marketplace-entitlement",
|
|
293
|
+
"marketplace-reporting",
|
|
273
294
|
"marketplacecommerceanalytics",
|
|
274
295
|
"mediaconnect",
|
|
275
296
|
"mediaconvert",
|
|
@@ -298,7 +319,6 @@ ServiceName = Literal[
|
|
|
298
319
|
"network-firewall",
|
|
299
320
|
"networkmanager",
|
|
300
321
|
"networkmonitor",
|
|
301
|
-
"nimble",
|
|
302
322
|
"oam",
|
|
303
323
|
"omics",
|
|
304
324
|
"opensearch",
|
|
@@ -309,10 +329,12 @@ ServiceName = Literal[
|
|
|
309
329
|
"osis",
|
|
310
330
|
"outposts",
|
|
311
331
|
"panorama",
|
|
332
|
+
"partnercentral-selling",
|
|
312
333
|
"payment-cryptography",
|
|
313
334
|
"payment-cryptography-data",
|
|
314
335
|
"pca-connector-ad",
|
|
315
336
|
"pca-connector-scep",
|
|
337
|
+
"pcs",
|
|
316
338
|
"personalize",
|
|
317
339
|
"personalize-events",
|
|
318
340
|
"personalize-runtime",
|
|
@@ -387,6 +409,7 @@ ServiceName = Literal[
|
|
|
387
409
|
"snow-device-management",
|
|
388
410
|
"snowball",
|
|
389
411
|
"sns",
|
|
412
|
+
"socialmessaging",
|
|
390
413
|
"sqs",
|
|
391
414
|
"ssm",
|
|
392
415
|
"ssm-contacts",
|
|
@@ -423,7 +446,6 @@ ServiceName = Literal[
|
|
|
423
446
|
"wellarchitected",
|
|
424
447
|
"wisdom",
|
|
425
448
|
"workdocs",
|
|
426
|
-
"worklink",
|
|
427
449
|
"workmail",
|
|
428
450
|
"workmailmessageflow",
|
|
429
451
|
"workspaces",
|
|
@@ -443,6 +465,7 @@ ResourceServiceName = Literal[
|
|
|
443
465
|
"sns",
|
|
444
466
|
"sqs",
|
|
445
467
|
]
|
|
468
|
+
PaginatorName = Literal["list_data_protection_settings", "list_sessions"]
|
|
446
469
|
RegionName = Literal[
|
|
447
470
|
"ap-northeast-1",
|
|
448
471
|
"ap-south-1",
|
|
@@ -10,6 +10,8 @@ Usage::
|
|
|
10
10
|
|
|
11
11
|
data: AuthenticationTypeType = "IAM_Identity_Center"
|
|
12
12
|
```
|
|
13
|
+
|
|
14
|
+
Copyright 2024 Vlad Emelianov
|
|
13
15
|
"""
|
|
14
16
|
|
|
15
17
|
import sys
|
|
@@ -25,12 +27,18 @@ __all__ = (
|
|
|
25
27
|
"EnabledTypeType",
|
|
26
28
|
"IdentityProviderTypeType",
|
|
27
29
|
"InstanceTypeType",
|
|
30
|
+
"ListDataProtectionSettingsPaginatorName",
|
|
31
|
+
"ListSessionsPaginatorName",
|
|
32
|
+
"PaginatorName",
|
|
28
33
|
"PortalStatusType",
|
|
34
|
+
"RedactionPlaceHolderTypeType",
|
|
35
|
+
"RegionName",
|
|
29
36
|
"RendererTypeType",
|
|
30
|
-
"WorkSpacesWebServiceName",
|
|
31
|
-
"ServiceName",
|
|
32
37
|
"ResourceServiceName",
|
|
33
|
-
"
|
|
38
|
+
"ServiceName",
|
|
39
|
+
"SessionSortByType",
|
|
40
|
+
"SessionStatusType",
|
|
41
|
+
"WorkSpacesWebServiceName",
|
|
34
42
|
)
|
|
35
43
|
|
|
36
44
|
AuthenticationTypeType = Literal["IAM_Identity_Center", "Standard"]
|
|
@@ -40,8 +48,13 @@ IdentityProviderTypeType = Literal[
|
|
|
40
48
|
"Facebook", "Google", "LoginWithAmazon", "OIDC", "SAML", "SignInWithApple"
|
|
41
49
|
]
|
|
42
50
|
InstanceTypeType = Literal["standard.large", "standard.regular", "standard.xlarge"]
|
|
51
|
+
ListDataProtectionSettingsPaginatorName = Literal["list_data_protection_settings"]
|
|
52
|
+
ListSessionsPaginatorName = Literal["list_sessions"]
|
|
43
53
|
PortalStatusType = Literal["Active", "Incomplete", "Pending"]
|
|
54
|
+
RedactionPlaceHolderTypeType = Literal["CustomText"]
|
|
44
55
|
RendererTypeType = Literal["AppStream"]
|
|
56
|
+
SessionSortByType = Literal["StartTimeAscending", "StartTimeDescending"]
|
|
57
|
+
SessionStatusType = Literal["Active", "Terminated"]
|
|
45
58
|
WorkSpacesWebServiceName = Literal["workspaces-web"]
|
|
46
59
|
ServiceName = Literal[
|
|
47
60
|
"accessanalyzer",
|
|
@@ -84,6 +97,7 @@ ServiceName = Literal[
|
|
|
84
97
|
"bedrock-agent",
|
|
85
98
|
"bedrock-agent-runtime",
|
|
86
99
|
"bedrock-runtime",
|
|
100
|
+
"billing",
|
|
87
101
|
"billingconductor",
|
|
88
102
|
"braket",
|
|
89
103
|
"budgets",
|
|
@@ -120,7 +134,6 @@ ServiceName = Literal[
|
|
|
120
134
|
"codeguru-security",
|
|
121
135
|
"codeguruprofiler",
|
|
122
136
|
"codepipeline",
|
|
123
|
-
"codestar",
|
|
124
137
|
"codestar-connections",
|
|
125
138
|
"codestar-notifications",
|
|
126
139
|
"cognito-identity",
|
|
@@ -133,6 +146,7 @@ ServiceName = Literal[
|
|
|
133
146
|
"connect",
|
|
134
147
|
"connect-contact-lens",
|
|
135
148
|
"connectcampaigns",
|
|
149
|
+
"connectcampaignsv2",
|
|
136
150
|
"connectcases",
|
|
137
151
|
"connectparticipant",
|
|
138
152
|
"controlcatalog",
|
|
@@ -158,6 +172,7 @@ ServiceName = Literal[
|
|
|
158
172
|
"docdb-elastic",
|
|
159
173
|
"drs",
|
|
160
174
|
"ds",
|
|
175
|
+
"ds-data",
|
|
161
176
|
"dynamodb",
|
|
162
177
|
"dynamodbstreams",
|
|
163
178
|
"ebs",
|
|
@@ -193,6 +208,9 @@ ServiceName = Literal[
|
|
|
193
208
|
"freetier",
|
|
194
209
|
"fsx",
|
|
195
210
|
"gamelift",
|
|
211
|
+
"geo-maps",
|
|
212
|
+
"geo-places",
|
|
213
|
+
"geo-routes",
|
|
196
214
|
"glacier",
|
|
197
215
|
"globalaccelerator",
|
|
198
216
|
"glue",
|
|
@@ -270,6 +288,7 @@ ServiceName = Literal[
|
|
|
270
288
|
"marketplace-catalog",
|
|
271
289
|
"marketplace-deployment",
|
|
272
290
|
"marketplace-entitlement",
|
|
291
|
+
"marketplace-reporting",
|
|
273
292
|
"marketplacecommerceanalytics",
|
|
274
293
|
"mediaconnect",
|
|
275
294
|
"mediaconvert",
|
|
@@ -298,7 +317,6 @@ ServiceName = Literal[
|
|
|
298
317
|
"network-firewall",
|
|
299
318
|
"networkmanager",
|
|
300
319
|
"networkmonitor",
|
|
301
|
-
"nimble",
|
|
302
320
|
"oam",
|
|
303
321
|
"omics",
|
|
304
322
|
"opensearch",
|
|
@@ -309,10 +327,12 @@ ServiceName = Literal[
|
|
|
309
327
|
"osis",
|
|
310
328
|
"outposts",
|
|
311
329
|
"panorama",
|
|
330
|
+
"partnercentral-selling",
|
|
312
331
|
"payment-cryptography",
|
|
313
332
|
"payment-cryptography-data",
|
|
314
333
|
"pca-connector-ad",
|
|
315
334
|
"pca-connector-scep",
|
|
335
|
+
"pcs",
|
|
316
336
|
"personalize",
|
|
317
337
|
"personalize-events",
|
|
318
338
|
"personalize-runtime",
|
|
@@ -387,6 +407,7 @@ ServiceName = Literal[
|
|
|
387
407
|
"snow-device-management",
|
|
388
408
|
"snowball",
|
|
389
409
|
"sns",
|
|
410
|
+
"socialmessaging",
|
|
390
411
|
"sqs",
|
|
391
412
|
"ssm",
|
|
392
413
|
"ssm-contacts",
|
|
@@ -423,7 +444,6 @@ ServiceName = Literal[
|
|
|
423
444
|
"wellarchitected",
|
|
424
445
|
"wisdom",
|
|
425
446
|
"workdocs",
|
|
426
|
-
"worklink",
|
|
427
447
|
"workmail",
|
|
428
448
|
"workmailmessageflow",
|
|
429
449
|
"workspaces",
|
|
@@ -443,6 +463,7 @@ ResourceServiceName = Literal[
|
|
|
443
463
|
"sns",
|
|
444
464
|
"sqs",
|
|
445
465
|
]
|
|
466
|
+
PaginatorName = Literal["list_data_protection_settings", "list_sessions"]
|
|
446
467
|
RegionName = Literal[
|
|
447
468
|
"ap-northeast-1",
|
|
448
469
|
"ap-south-1",
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for workspaces-web service client paginators.
|
|
3
|
+
|
|
4
|
+
[Open documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/)
|
|
5
|
+
|
|
6
|
+
Usage::
|
|
7
|
+
|
|
8
|
+
```python
|
|
9
|
+
from boto3.session import Session
|
|
10
|
+
|
|
11
|
+
from mypy_boto3_workspaces_web.client import WorkSpacesWebClient
|
|
12
|
+
from mypy_boto3_workspaces_web.paginator import (
|
|
13
|
+
ListDataProtectionSettingsPaginator,
|
|
14
|
+
ListSessionsPaginator,
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
session = Session()
|
|
18
|
+
client: WorkSpacesWebClient = session.client("workspaces-web")
|
|
19
|
+
|
|
20
|
+
list_data_protection_settings_paginator: ListDataProtectionSettingsPaginator = client.get_paginator("list_data_protection_settings")
|
|
21
|
+
list_sessions_paginator: ListSessionsPaginator = client.get_paginator("list_sessions")
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Copyright 2024 Vlad Emelianov
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
import sys
|
|
28
|
+
from typing import Generic, Iterator, TypeVar
|
|
29
|
+
|
|
30
|
+
from botocore.paginate import PageIterator, Paginator
|
|
31
|
+
|
|
32
|
+
from .type_defs import (
|
|
33
|
+
ListDataProtectionSettingsRequestListDataProtectionSettingsPaginateTypeDef,
|
|
34
|
+
ListDataProtectionSettingsResponseTypeDef,
|
|
35
|
+
ListSessionsRequestListSessionsPaginateTypeDef,
|
|
36
|
+
ListSessionsResponseTypeDef,
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
if sys.version_info >= (3, 12):
|
|
40
|
+
from typing import Unpack
|
|
41
|
+
else:
|
|
42
|
+
from typing_extensions import Unpack
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
__all__ = ("ListDataProtectionSettingsPaginator", "ListSessionsPaginator")
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
_ItemTypeDef = TypeVar("_ItemTypeDef")
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
class _PageIterator(PageIterator, Generic[_ItemTypeDef]):
|
|
52
|
+
def __iter__(self) -> Iterator[_ItemTypeDef]:
|
|
53
|
+
"""
|
|
54
|
+
Proxy method to specify iterator item type.
|
|
55
|
+
"""
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
class ListDataProtectionSettingsPaginator(Paginator):
|
|
59
|
+
"""
|
|
60
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/paginator/ListDataProtectionSettings.html#WorkSpacesWeb.Paginator.ListDataProtectionSettings)
|
|
61
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/#listdataprotectionsettingspaginator)
|
|
62
|
+
"""
|
|
63
|
+
|
|
64
|
+
def paginate(
|
|
65
|
+
self,
|
|
66
|
+
**kwargs: Unpack[
|
|
67
|
+
ListDataProtectionSettingsRequestListDataProtectionSettingsPaginateTypeDef
|
|
68
|
+
],
|
|
69
|
+
) -> _PageIterator[ListDataProtectionSettingsResponseTypeDef]:
|
|
70
|
+
"""
|
|
71
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/paginator/ListDataProtectionSettings.html#WorkSpacesWeb.Paginator.ListDataProtectionSettings.paginate)
|
|
72
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/#listdataprotectionsettingspaginator)
|
|
73
|
+
"""
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
class ListSessionsPaginator(Paginator):
|
|
77
|
+
"""
|
|
78
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/paginator/ListSessions.html#WorkSpacesWeb.Paginator.ListSessions)
|
|
79
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/#listsessionspaginator)
|
|
80
|
+
"""
|
|
81
|
+
|
|
82
|
+
def paginate(
|
|
83
|
+
self, **kwargs: Unpack[ListSessionsRequestListSessionsPaginateTypeDef]
|
|
84
|
+
) -> _PageIterator[ListSessionsResponseTypeDef]:
|
|
85
|
+
"""
|
|
86
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/paginator/ListSessions.html#WorkSpacesWeb.Paginator.ListSessions.paginate)
|
|
87
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/#listsessionspaginator)
|
|
88
|
+
"""
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for workspaces-web service client paginators.
|
|
3
|
+
|
|
4
|
+
[Open documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/)
|
|
5
|
+
|
|
6
|
+
Usage::
|
|
7
|
+
|
|
8
|
+
```python
|
|
9
|
+
from boto3.session import Session
|
|
10
|
+
|
|
11
|
+
from mypy_boto3_workspaces_web.client import WorkSpacesWebClient
|
|
12
|
+
from mypy_boto3_workspaces_web.paginator import (
|
|
13
|
+
ListDataProtectionSettingsPaginator,
|
|
14
|
+
ListSessionsPaginator,
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
session = Session()
|
|
18
|
+
client: WorkSpacesWebClient = session.client("workspaces-web")
|
|
19
|
+
|
|
20
|
+
list_data_protection_settings_paginator: ListDataProtectionSettingsPaginator = client.get_paginator("list_data_protection_settings")
|
|
21
|
+
list_sessions_paginator: ListSessionsPaginator = client.get_paginator("list_sessions")
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Copyright 2024 Vlad Emelianov
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
import sys
|
|
28
|
+
from typing import Generic, Iterator, TypeVar
|
|
29
|
+
|
|
30
|
+
from botocore.paginate import PageIterator, Paginator
|
|
31
|
+
|
|
32
|
+
from .type_defs import (
|
|
33
|
+
ListDataProtectionSettingsRequestListDataProtectionSettingsPaginateTypeDef,
|
|
34
|
+
ListDataProtectionSettingsResponseTypeDef,
|
|
35
|
+
ListSessionsRequestListSessionsPaginateTypeDef,
|
|
36
|
+
ListSessionsResponseTypeDef,
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
if sys.version_info >= (3, 12):
|
|
40
|
+
from typing import Unpack
|
|
41
|
+
else:
|
|
42
|
+
from typing_extensions import Unpack
|
|
43
|
+
|
|
44
|
+
__all__ = ("ListDataProtectionSettingsPaginator", "ListSessionsPaginator")
|
|
45
|
+
|
|
46
|
+
_ItemTypeDef = TypeVar("_ItemTypeDef")
|
|
47
|
+
|
|
48
|
+
class _PageIterator(PageIterator, Generic[_ItemTypeDef]):
|
|
49
|
+
def __iter__(self) -> Iterator[_ItemTypeDef]:
|
|
50
|
+
"""
|
|
51
|
+
Proxy method to specify iterator item type.
|
|
52
|
+
"""
|
|
53
|
+
|
|
54
|
+
class ListDataProtectionSettingsPaginator(Paginator):
|
|
55
|
+
"""
|
|
56
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/paginator/ListDataProtectionSettings.html#WorkSpacesWeb.Paginator.ListDataProtectionSettings)
|
|
57
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/#listdataprotectionsettingspaginator)
|
|
58
|
+
"""
|
|
59
|
+
def paginate(
|
|
60
|
+
self,
|
|
61
|
+
**kwargs: Unpack[
|
|
62
|
+
ListDataProtectionSettingsRequestListDataProtectionSettingsPaginateTypeDef
|
|
63
|
+
],
|
|
64
|
+
) -> _PageIterator[ListDataProtectionSettingsResponseTypeDef]:
|
|
65
|
+
"""
|
|
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)
|
|
68
|
+
"""
|
|
69
|
+
|
|
70
|
+
class ListSessionsPaginator(Paginator):
|
|
71
|
+
"""
|
|
72
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/paginator/ListSessions.html#WorkSpacesWeb.Paginator.ListSessions)
|
|
73
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/#listsessionspaginator)
|
|
74
|
+
"""
|
|
75
|
+
def paginate(
|
|
76
|
+
self, **kwargs: Unpack[ListSessionsRequestListSessionsPaginateTypeDef]
|
|
77
|
+
) -> _PageIterator[ListSessionsResponseTypeDef]:
|
|
78
|
+
"""
|
|
79
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/paginator/ListSessions.html#WorkSpacesWeb.Paginator.ListSessions.paginate)
|
|
80
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/#listsessionspaginator)
|
|
81
|
+
"""
|