mypy-boto3-workspaces-web 1.34.132__py3-none-any.whl → 1.35.23__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.
@@ -14,65 +14,125 @@ Usage::
14
14
  ```
15
15
  """
16
16
 
17
- from typing import Any, Dict, Mapping, Sequence, Type
17
+ import sys
18
+ from typing import Any, Dict, Mapping, Type
18
19
 
19
20
  from botocore.client import BaseClient, ClientMeta
20
21
 
21
- from .literals import (
22
- AuthenticationTypeType,
23
- EnabledTypeType,
24
- IdentityProviderTypeType,
25
- InstanceTypeType,
26
- )
22
+ from .paginator import ListSessionsPaginator
27
23
  from .type_defs import (
24
+ AssociateBrowserSettingsRequestRequestTypeDef,
28
25
  AssociateBrowserSettingsResponseTypeDef,
26
+ AssociateIpAccessSettingsRequestRequestTypeDef,
29
27
  AssociateIpAccessSettingsResponseTypeDef,
28
+ AssociateNetworkSettingsRequestRequestTypeDef,
30
29
  AssociateNetworkSettingsResponseTypeDef,
30
+ AssociateTrustStoreRequestRequestTypeDef,
31
31
  AssociateTrustStoreResponseTypeDef,
32
+ AssociateUserAccessLoggingSettingsRequestRequestTypeDef,
32
33
  AssociateUserAccessLoggingSettingsResponseTypeDef,
34
+ AssociateUserSettingsRequestRequestTypeDef,
33
35
  AssociateUserSettingsResponseTypeDef,
34
- BlobTypeDef,
35
- CookieSynchronizationConfigurationUnionTypeDef,
36
+ CreateBrowserSettingsRequestRequestTypeDef,
36
37
  CreateBrowserSettingsResponseTypeDef,
38
+ CreateIdentityProviderRequestRequestTypeDef,
37
39
  CreateIdentityProviderResponseTypeDef,
40
+ CreateIpAccessSettingsRequestRequestTypeDef,
38
41
  CreateIpAccessSettingsResponseTypeDef,
42
+ CreateNetworkSettingsRequestRequestTypeDef,
39
43
  CreateNetworkSettingsResponseTypeDef,
44
+ CreatePortalRequestRequestTypeDef,
40
45
  CreatePortalResponseTypeDef,
46
+ CreateTrustStoreRequestRequestTypeDef,
41
47
  CreateTrustStoreResponseTypeDef,
48
+ CreateUserAccessLoggingSettingsRequestRequestTypeDef,
42
49
  CreateUserAccessLoggingSettingsResponseTypeDef,
50
+ CreateUserSettingsRequestRequestTypeDef,
43
51
  CreateUserSettingsResponseTypeDef,
52
+ DeleteBrowserSettingsRequestRequestTypeDef,
53
+ DeleteIdentityProviderRequestRequestTypeDef,
54
+ DeleteIpAccessSettingsRequestRequestTypeDef,
55
+ DeleteNetworkSettingsRequestRequestTypeDef,
56
+ DeletePortalRequestRequestTypeDef,
57
+ DeleteTrustStoreRequestRequestTypeDef,
58
+ DeleteUserAccessLoggingSettingsRequestRequestTypeDef,
59
+ DeleteUserSettingsRequestRequestTypeDef,
60
+ DisassociateBrowserSettingsRequestRequestTypeDef,
61
+ DisassociateIpAccessSettingsRequestRequestTypeDef,
62
+ DisassociateNetworkSettingsRequestRequestTypeDef,
63
+ DisassociateTrustStoreRequestRequestTypeDef,
64
+ DisassociateUserAccessLoggingSettingsRequestRequestTypeDef,
65
+ DisassociateUserSettingsRequestRequestTypeDef,
66
+ ExpireSessionRequestRequestTypeDef,
67
+ GetBrowserSettingsRequestRequestTypeDef,
44
68
  GetBrowserSettingsResponseTypeDef,
69
+ GetIdentityProviderRequestRequestTypeDef,
45
70
  GetIdentityProviderResponseTypeDef,
71
+ GetIpAccessSettingsRequestRequestTypeDef,
46
72
  GetIpAccessSettingsResponseTypeDef,
73
+ GetNetworkSettingsRequestRequestTypeDef,
47
74
  GetNetworkSettingsResponseTypeDef,
75
+ GetPortalRequestRequestTypeDef,
48
76
  GetPortalResponseTypeDef,
77
+ GetPortalServiceProviderMetadataRequestRequestTypeDef,
49
78
  GetPortalServiceProviderMetadataResponseTypeDef,
79
+ GetSessionRequestRequestTypeDef,
80
+ GetSessionResponseTypeDef,
81
+ GetTrustStoreCertificateRequestRequestTypeDef,
50
82
  GetTrustStoreCertificateResponseTypeDef,
83
+ GetTrustStoreRequestRequestTypeDef,
51
84
  GetTrustStoreResponseTypeDef,
85
+ GetUserAccessLoggingSettingsRequestRequestTypeDef,
52
86
  GetUserAccessLoggingSettingsResponseTypeDef,
87
+ GetUserSettingsRequestRequestTypeDef,
53
88
  GetUserSettingsResponseTypeDef,
54
- IpRuleTypeDef,
89
+ ListBrowserSettingsRequestRequestTypeDef,
55
90
  ListBrowserSettingsResponseTypeDef,
91
+ ListIdentityProvidersRequestRequestTypeDef,
56
92
  ListIdentityProvidersResponseTypeDef,
93
+ ListIpAccessSettingsRequestRequestTypeDef,
57
94
  ListIpAccessSettingsResponseTypeDef,
95
+ ListNetworkSettingsRequestRequestTypeDef,
58
96
  ListNetworkSettingsResponseTypeDef,
97
+ ListPortalsRequestRequestTypeDef,
59
98
  ListPortalsResponseTypeDef,
99
+ ListSessionsRequestRequestTypeDef,
100
+ ListSessionsResponseTypeDef,
101
+ ListTagsForResourceRequestRequestTypeDef,
60
102
  ListTagsForResourceResponseTypeDef,
103
+ ListTrustStoreCertificatesRequestRequestTypeDef,
61
104
  ListTrustStoreCertificatesResponseTypeDef,
105
+ ListTrustStoresRequestRequestTypeDef,
62
106
  ListTrustStoresResponseTypeDef,
107
+ ListUserAccessLoggingSettingsRequestRequestTypeDef,
63
108
  ListUserAccessLoggingSettingsResponseTypeDef,
109
+ ListUserSettingsRequestRequestTypeDef,
64
110
  ListUserSettingsResponseTypeDef,
65
- TagTypeDef,
111
+ TagResourceRequestRequestTypeDef,
112
+ UntagResourceRequestRequestTypeDef,
113
+ UpdateBrowserSettingsRequestRequestTypeDef,
66
114
  UpdateBrowserSettingsResponseTypeDef,
115
+ UpdateIdentityProviderRequestRequestTypeDef,
67
116
  UpdateIdentityProviderResponseTypeDef,
117
+ UpdateIpAccessSettingsRequestRequestTypeDef,
68
118
  UpdateIpAccessSettingsResponseTypeDef,
119
+ UpdateNetworkSettingsRequestRequestTypeDef,
69
120
  UpdateNetworkSettingsResponseTypeDef,
121
+ UpdatePortalRequestRequestTypeDef,
70
122
  UpdatePortalResponseTypeDef,
123
+ UpdateTrustStoreRequestRequestTypeDef,
71
124
  UpdateTrustStoreResponseTypeDef,
125
+ UpdateUserAccessLoggingSettingsRequestRequestTypeDef,
72
126
  UpdateUserAccessLoggingSettingsResponseTypeDef,
127
+ UpdateUserSettingsRequestRequestTypeDef,
73
128
  UpdateUserSettingsResponseTypeDef,
74
129
  )
75
130
 
131
+ if sys.version_info >= (3, 12):
132
+ from typing import Literal, Unpack
133
+ else:
134
+ from typing_extensions import Literal, Unpack
135
+
76
136
  __all__ = ("WorkSpacesWebClient",)
77
137
 
78
138
  class BotocoreClientError(Exception):
@@ -111,7 +171,7 @@ class WorkSpacesWebClient(BaseClient):
111
171
  """
112
172
 
113
173
  def associate_browser_settings(
114
- self, *, browserSettingsArn: str, portalArn: str
174
+ self, **kwargs: Unpack[AssociateBrowserSettingsRequestRequestTypeDef]
115
175
  ) -> AssociateBrowserSettingsResponseTypeDef:
116
176
  """
117
177
  Associates a browser settings resource with a web portal.
@@ -121,7 +181,7 @@ class WorkSpacesWebClient(BaseClient):
121
181
  """
122
182
 
123
183
  def associate_ip_access_settings(
124
- self, *, ipAccessSettingsArn: str, portalArn: str
184
+ self, **kwargs: Unpack[AssociateIpAccessSettingsRequestRequestTypeDef]
125
185
  ) -> AssociateIpAccessSettingsResponseTypeDef:
126
186
  """
127
187
  Associates an IP access settings resource with a web portal.
@@ -131,7 +191,7 @@ class WorkSpacesWebClient(BaseClient):
131
191
  """
132
192
 
133
193
  def associate_network_settings(
134
- self, *, networkSettingsArn: str, portalArn: str
194
+ self, **kwargs: Unpack[AssociateNetworkSettingsRequestRequestTypeDef]
135
195
  ) -> AssociateNetworkSettingsResponseTypeDef:
136
196
  """
137
197
  Associates a network settings resource with a web portal.
@@ -141,7 +201,7 @@ class WorkSpacesWebClient(BaseClient):
141
201
  """
142
202
 
143
203
  def associate_trust_store(
144
- self, *, portalArn: str, trustStoreArn: str
204
+ self, **kwargs: Unpack[AssociateTrustStoreRequestRequestTypeDef]
145
205
  ) -> AssociateTrustStoreResponseTypeDef:
146
206
  """
147
207
  Associates a trust store with a web portal.
@@ -151,7 +211,7 @@ class WorkSpacesWebClient(BaseClient):
151
211
  """
152
212
 
153
213
  def associate_user_access_logging_settings(
154
- self, *, portalArn: str, userAccessLoggingSettingsArn: str
214
+ self, **kwargs: Unpack[AssociateUserAccessLoggingSettingsRequestRequestTypeDef]
155
215
  ) -> AssociateUserAccessLoggingSettingsResponseTypeDef:
156
216
  """
157
217
  Associates a user access logging settings resource with a web portal.
@@ -161,7 +221,7 @@ class WorkSpacesWebClient(BaseClient):
161
221
  """
162
222
 
163
223
  def associate_user_settings(
164
- self, *, portalArn: str, userSettingsArn: str
224
+ self, **kwargs: Unpack[AssociateUserSettingsRequestRequestTypeDef]
165
225
  ) -> AssociateUserSettingsResponseTypeDef:
166
226
  """
167
227
  Associates a user settings resource with a web portal.
@@ -187,13 +247,7 @@ class WorkSpacesWebClient(BaseClient):
187
247
  """
188
248
 
189
249
  def create_browser_settings(
190
- self,
191
- *,
192
- browserPolicy: str,
193
- additionalEncryptionContext: Mapping[str, str] = ...,
194
- clientToken: str = ...,
195
- customerManagedKey: str = ...,
196
- tags: Sequence[TagTypeDef] = ...,
250
+ self, **kwargs: Unpack[CreateBrowserSettingsRequestRequestTypeDef]
197
251
  ) -> CreateBrowserSettingsResponseTypeDef:
198
252
  """
199
253
  Creates a browser settings resource that can be associated with a web portal.
@@ -203,14 +257,7 @@ class WorkSpacesWebClient(BaseClient):
203
257
  """
204
258
 
205
259
  def create_identity_provider(
206
- self,
207
- *,
208
- identityProviderDetails: Mapping[str, str],
209
- identityProviderName: str,
210
- identityProviderType: IdentityProviderTypeType,
211
- portalArn: str,
212
- clientToken: str = ...,
213
- tags: Sequence[TagTypeDef] = ...,
260
+ self, **kwargs: Unpack[CreateIdentityProviderRequestRequestTypeDef]
214
261
  ) -> CreateIdentityProviderResponseTypeDef:
215
262
  """
216
263
  Creates an identity provider resource that is then associated with a web portal.
@@ -220,15 +267,7 @@ class WorkSpacesWebClient(BaseClient):
220
267
  """
221
268
 
222
269
  def create_ip_access_settings(
223
- self,
224
- *,
225
- ipRules: Sequence[IpRuleTypeDef],
226
- additionalEncryptionContext: Mapping[str, str] = ...,
227
- clientToken: str = ...,
228
- customerManagedKey: str = ...,
229
- description: str = ...,
230
- displayName: str = ...,
231
- tags: Sequence[TagTypeDef] = ...,
270
+ self, **kwargs: Unpack[CreateIpAccessSettingsRequestRequestTypeDef]
232
271
  ) -> CreateIpAccessSettingsResponseTypeDef:
233
272
  """
234
273
  Creates an IP access settings resource that can be associated with a web portal.
@@ -238,13 +277,7 @@ class WorkSpacesWebClient(BaseClient):
238
277
  """
239
278
 
240
279
  def create_network_settings(
241
- self,
242
- *,
243
- securityGroupIds: Sequence[str],
244
- subnetIds: Sequence[str],
245
- vpcId: str,
246
- clientToken: str = ...,
247
- tags: Sequence[TagTypeDef] = ...,
280
+ self, **kwargs: Unpack[CreateNetworkSettingsRequestRequestTypeDef]
248
281
  ) -> CreateNetworkSettingsResponseTypeDef:
249
282
  """
250
283
  Creates a network settings resource that can be associated with a web portal.
@@ -254,16 +287,7 @@ class WorkSpacesWebClient(BaseClient):
254
287
  """
255
288
 
256
289
  def create_portal(
257
- self,
258
- *,
259
- additionalEncryptionContext: Mapping[str, str] = ...,
260
- authenticationType: AuthenticationTypeType = ...,
261
- clientToken: str = ...,
262
- customerManagedKey: str = ...,
263
- displayName: str = ...,
264
- instanceType: InstanceTypeType = ...,
265
- maxConcurrentSessions: int = ...,
266
- tags: Sequence[TagTypeDef] = ...,
290
+ self, **kwargs: Unpack[CreatePortalRequestRequestTypeDef]
267
291
  ) -> CreatePortalResponseTypeDef:
268
292
  """
269
293
  Creates a web portal.
@@ -273,11 +297,7 @@ class WorkSpacesWebClient(BaseClient):
273
297
  """
274
298
 
275
299
  def create_trust_store(
276
- self,
277
- *,
278
- certificateList: Sequence[BlobTypeDef],
279
- clientToken: str = ...,
280
- tags: Sequence[TagTypeDef] = ...,
300
+ self, **kwargs: Unpack[CreateTrustStoreRequestRequestTypeDef]
281
301
  ) -> CreateTrustStoreResponseTypeDef:
282
302
  """
283
303
  Creates a trust store that can be associated with a web portal.
@@ -287,7 +307,7 @@ class WorkSpacesWebClient(BaseClient):
287
307
  """
288
308
 
289
309
  def create_user_access_logging_settings(
290
- self, *, kinesisStreamArn: str, clientToken: str = ..., tags: Sequence[TagTypeDef] = ...
310
+ self, **kwargs: Unpack[CreateUserAccessLoggingSettingsRequestRequestTypeDef]
291
311
  ) -> CreateUserAccessLoggingSettingsResponseTypeDef:
292
312
  """
293
313
  Creates a user access logging settings resource that can be associated with a
@@ -299,21 +319,7 @@ class WorkSpacesWebClient(BaseClient):
299
319
  """
300
320
 
301
321
  def create_user_settings(
302
- self,
303
- *,
304
- copyAllowed: EnabledTypeType,
305
- downloadAllowed: EnabledTypeType,
306
- pasteAllowed: EnabledTypeType,
307
- printAllowed: EnabledTypeType,
308
- uploadAllowed: EnabledTypeType,
309
- additionalEncryptionContext: Mapping[str, str] = ...,
310
- clientToken: str = ...,
311
- cookieSynchronizationConfiguration: CookieSynchronizationConfigurationUnionTypeDef = ...,
312
- customerManagedKey: str = ...,
313
- deepLinkAllowed: EnabledTypeType = ...,
314
- disconnectTimeoutInMinutes: int = ...,
315
- idleDisconnectTimeoutInMinutes: int = ...,
316
- tags: Sequence[TagTypeDef] = ...,
322
+ self, **kwargs: Unpack[CreateUserSettingsRequestRequestTypeDef]
317
323
  ) -> CreateUserSettingsResponseTypeDef:
318
324
  """
319
325
  Creates a user settings resource that can be associated with a web portal.
@@ -322,7 +328,9 @@ class WorkSpacesWebClient(BaseClient):
322
328
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#create_user_settings)
323
329
  """
324
330
 
325
- def delete_browser_settings(self, *, browserSettingsArn: str) -> Dict[str, Any]:
331
+ def delete_browser_settings(
332
+ self, **kwargs: Unpack[DeleteBrowserSettingsRequestRequestTypeDef]
333
+ ) -> Dict[str, Any]:
326
334
  """
327
335
  Deletes browser settings.
328
336
 
@@ -330,7 +338,9 @@ class WorkSpacesWebClient(BaseClient):
330
338
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#delete_browser_settings)
331
339
  """
332
340
 
333
- def delete_identity_provider(self, *, identityProviderArn: str) -> Dict[str, Any]:
341
+ def delete_identity_provider(
342
+ self, **kwargs: Unpack[DeleteIdentityProviderRequestRequestTypeDef]
343
+ ) -> Dict[str, Any]:
334
344
  """
335
345
  Deletes the identity provider.
336
346
 
@@ -338,7 +348,9 @@ class WorkSpacesWebClient(BaseClient):
338
348
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#delete_identity_provider)
339
349
  """
340
350
 
341
- def delete_ip_access_settings(self, *, ipAccessSettingsArn: str) -> Dict[str, Any]:
351
+ def delete_ip_access_settings(
352
+ self, **kwargs: Unpack[DeleteIpAccessSettingsRequestRequestTypeDef]
353
+ ) -> Dict[str, Any]:
342
354
  """
343
355
  Deletes IP access settings.
344
356
 
@@ -346,7 +358,9 @@ class WorkSpacesWebClient(BaseClient):
346
358
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#delete_ip_access_settings)
347
359
  """
348
360
 
349
- def delete_network_settings(self, *, networkSettingsArn: str) -> Dict[str, Any]:
361
+ def delete_network_settings(
362
+ self, **kwargs: Unpack[DeleteNetworkSettingsRequestRequestTypeDef]
363
+ ) -> Dict[str, Any]:
350
364
  """
351
365
  Deletes network settings.
352
366
 
@@ -354,7 +368,7 @@ class WorkSpacesWebClient(BaseClient):
354
368
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#delete_network_settings)
355
369
  """
356
370
 
357
- def delete_portal(self, *, portalArn: str) -> Dict[str, Any]:
371
+ def delete_portal(self, **kwargs: Unpack[DeletePortalRequestRequestTypeDef]) -> Dict[str, Any]:
358
372
  """
359
373
  Deletes a web portal.
360
374
 
@@ -362,7 +376,9 @@ class WorkSpacesWebClient(BaseClient):
362
376
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#delete_portal)
363
377
  """
364
378
 
365
- def delete_trust_store(self, *, trustStoreArn: str) -> Dict[str, Any]:
379
+ def delete_trust_store(
380
+ self, **kwargs: Unpack[DeleteTrustStoreRequestRequestTypeDef]
381
+ ) -> Dict[str, Any]:
366
382
  """
367
383
  Deletes the trust store.
368
384
 
@@ -371,7 +387,7 @@ class WorkSpacesWebClient(BaseClient):
371
387
  """
372
388
 
373
389
  def delete_user_access_logging_settings(
374
- self, *, userAccessLoggingSettingsArn: str
390
+ self, **kwargs: Unpack[DeleteUserAccessLoggingSettingsRequestRequestTypeDef]
375
391
  ) -> Dict[str, Any]:
376
392
  """
377
393
  Deletes user access logging settings.
@@ -380,7 +396,9 @@ class WorkSpacesWebClient(BaseClient):
380
396
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#delete_user_access_logging_settings)
381
397
  """
382
398
 
383
- def delete_user_settings(self, *, userSettingsArn: str) -> Dict[str, Any]:
399
+ def delete_user_settings(
400
+ self, **kwargs: Unpack[DeleteUserSettingsRequestRequestTypeDef]
401
+ ) -> Dict[str, Any]:
384
402
  """
385
403
  Deletes user settings.
386
404
 
@@ -388,7 +406,9 @@ class WorkSpacesWebClient(BaseClient):
388
406
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#delete_user_settings)
389
407
  """
390
408
 
391
- def disassociate_browser_settings(self, *, portalArn: str) -> Dict[str, Any]:
409
+ def disassociate_browser_settings(
410
+ self, **kwargs: Unpack[DisassociateBrowserSettingsRequestRequestTypeDef]
411
+ ) -> Dict[str, Any]:
392
412
  """
393
413
  Disassociates browser settings from a web portal.
394
414
 
@@ -396,7 +416,9 @@ class WorkSpacesWebClient(BaseClient):
396
416
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#disassociate_browser_settings)
397
417
  """
398
418
 
399
- def disassociate_ip_access_settings(self, *, portalArn: str) -> Dict[str, Any]:
419
+ def disassociate_ip_access_settings(
420
+ self, **kwargs: Unpack[DisassociateIpAccessSettingsRequestRequestTypeDef]
421
+ ) -> Dict[str, Any]:
400
422
  """
401
423
  Disassociates IP access settings from a web portal.
402
424
 
@@ -404,7 +426,9 @@ class WorkSpacesWebClient(BaseClient):
404
426
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#disassociate_ip_access_settings)
405
427
  """
406
428
 
407
- def disassociate_network_settings(self, *, portalArn: str) -> Dict[str, Any]:
429
+ def disassociate_network_settings(
430
+ self, **kwargs: Unpack[DisassociateNetworkSettingsRequestRequestTypeDef]
431
+ ) -> Dict[str, Any]:
408
432
  """
409
433
  Disassociates network settings from a web portal.
410
434
 
@@ -412,7 +436,9 @@ class WorkSpacesWebClient(BaseClient):
412
436
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#disassociate_network_settings)
413
437
  """
414
438
 
415
- def disassociate_trust_store(self, *, portalArn: str) -> Dict[str, Any]:
439
+ def disassociate_trust_store(
440
+ self, **kwargs: Unpack[DisassociateTrustStoreRequestRequestTypeDef]
441
+ ) -> Dict[str, Any]:
416
442
  """
417
443
  Disassociates a trust store from a web portal.
418
444
 
@@ -420,7 +446,9 @@ class WorkSpacesWebClient(BaseClient):
420
446
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#disassociate_trust_store)
421
447
  """
422
448
 
423
- def disassociate_user_access_logging_settings(self, *, portalArn: str) -> Dict[str, Any]:
449
+ def disassociate_user_access_logging_settings(
450
+ self, **kwargs: Unpack[DisassociateUserAccessLoggingSettingsRequestRequestTypeDef]
451
+ ) -> Dict[str, Any]:
424
452
  """
425
453
  Disassociates user access logging settings from a web portal.
426
454
 
@@ -428,7 +456,9 @@ class WorkSpacesWebClient(BaseClient):
428
456
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#disassociate_user_access_logging_settings)
429
457
  """
430
458
 
431
- def disassociate_user_settings(self, *, portalArn: str) -> Dict[str, Any]:
459
+ def disassociate_user_settings(
460
+ self, **kwargs: Unpack[DisassociateUserSettingsRequestRequestTypeDef]
461
+ ) -> Dict[str, Any]:
432
462
  """
433
463
  Disassociates user settings from a web portal.
434
464
 
@@ -436,6 +466,16 @@ class WorkSpacesWebClient(BaseClient):
436
466
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#disassociate_user_settings)
437
467
  """
438
468
 
469
+ def expire_session(
470
+ self, **kwargs: Unpack[ExpireSessionRequestRequestTypeDef]
471
+ ) -> Dict[str, Any]:
472
+ """
473
+ Expires an active secure browser session.
474
+
475
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web.html#WorkSpacesWeb.Client.expire_session)
476
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#expire_session)
477
+ """
478
+
439
479
  def generate_presigned_url(
440
480
  self,
441
481
  ClientMethod: str,
@@ -450,7 +490,9 @@ class WorkSpacesWebClient(BaseClient):
450
490
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#generate_presigned_url)
451
491
  """
452
492
 
453
- def get_browser_settings(self, *, browserSettingsArn: str) -> GetBrowserSettingsResponseTypeDef:
493
+ def get_browser_settings(
494
+ self, **kwargs: Unpack[GetBrowserSettingsRequestRequestTypeDef]
495
+ ) -> GetBrowserSettingsResponseTypeDef:
454
496
  """
455
497
  Gets browser settings.
456
498
 
@@ -459,7 +501,7 @@ class WorkSpacesWebClient(BaseClient):
459
501
  """
460
502
 
461
503
  def get_identity_provider(
462
- self, *, identityProviderArn: str
504
+ self, **kwargs: Unpack[GetIdentityProviderRequestRequestTypeDef]
463
505
  ) -> GetIdentityProviderResponseTypeDef:
464
506
  """
465
507
  Gets the identity provider.
@@ -469,7 +511,7 @@ class WorkSpacesWebClient(BaseClient):
469
511
  """
470
512
 
471
513
  def get_ip_access_settings(
472
- self, *, ipAccessSettingsArn: str
514
+ self, **kwargs: Unpack[GetIpAccessSettingsRequestRequestTypeDef]
473
515
  ) -> GetIpAccessSettingsResponseTypeDef:
474
516
  """
475
517
  Gets the IP access settings.
@@ -478,7 +520,9 @@ class WorkSpacesWebClient(BaseClient):
478
520
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#get_ip_access_settings)
479
521
  """
480
522
 
481
- def get_network_settings(self, *, networkSettingsArn: str) -> GetNetworkSettingsResponseTypeDef:
523
+ def get_network_settings(
524
+ self, **kwargs: Unpack[GetNetworkSettingsRequestRequestTypeDef]
525
+ ) -> GetNetworkSettingsResponseTypeDef:
482
526
  """
483
527
  Gets the network settings.
484
528
 
@@ -486,7 +530,9 @@ class WorkSpacesWebClient(BaseClient):
486
530
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#get_network_settings)
487
531
  """
488
532
 
489
- def get_portal(self, *, portalArn: str) -> GetPortalResponseTypeDef:
533
+ def get_portal(
534
+ self, **kwargs: Unpack[GetPortalRequestRequestTypeDef]
535
+ ) -> GetPortalResponseTypeDef:
490
536
  """
491
537
  Gets the web portal.
492
538
 
@@ -495,7 +541,7 @@ class WorkSpacesWebClient(BaseClient):
495
541
  """
496
542
 
497
543
  def get_portal_service_provider_metadata(
498
- self, *, portalArn: str
544
+ self, **kwargs: Unpack[GetPortalServiceProviderMetadataRequestRequestTypeDef]
499
545
  ) -> GetPortalServiceProviderMetadataResponseTypeDef:
500
546
  """
501
547
  Gets the service provider metadata.
@@ -504,7 +550,19 @@ class WorkSpacesWebClient(BaseClient):
504
550
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#get_portal_service_provider_metadata)
505
551
  """
506
552
 
507
- def get_trust_store(self, *, trustStoreArn: str) -> GetTrustStoreResponseTypeDef:
553
+ def get_session(
554
+ self, **kwargs: Unpack[GetSessionRequestRequestTypeDef]
555
+ ) -> GetSessionResponseTypeDef:
556
+ """
557
+ Gets information for a secure browser session.
558
+
559
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web.html#WorkSpacesWeb.Client.get_session)
560
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#get_session)
561
+ """
562
+
563
+ def get_trust_store(
564
+ self, **kwargs: Unpack[GetTrustStoreRequestRequestTypeDef]
565
+ ) -> GetTrustStoreResponseTypeDef:
508
566
  """
509
567
  Gets the trust store.
510
568
 
@@ -513,7 +571,7 @@ class WorkSpacesWebClient(BaseClient):
513
571
  """
514
572
 
515
573
  def get_trust_store_certificate(
516
- self, *, thumbprint: str, trustStoreArn: str
574
+ self, **kwargs: Unpack[GetTrustStoreCertificateRequestRequestTypeDef]
517
575
  ) -> GetTrustStoreCertificateResponseTypeDef:
518
576
  """
519
577
  Gets the trust store certificate.
@@ -523,7 +581,7 @@ class WorkSpacesWebClient(BaseClient):
523
581
  """
524
582
 
525
583
  def get_user_access_logging_settings(
526
- self, *, userAccessLoggingSettingsArn: str
584
+ self, **kwargs: Unpack[GetUserAccessLoggingSettingsRequestRequestTypeDef]
527
585
  ) -> GetUserAccessLoggingSettingsResponseTypeDef:
528
586
  """
529
587
  Gets user access logging settings.
@@ -532,7 +590,9 @@ class WorkSpacesWebClient(BaseClient):
532
590
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#get_user_access_logging_settings)
533
591
  """
534
592
 
535
- def get_user_settings(self, *, userSettingsArn: str) -> GetUserSettingsResponseTypeDef:
593
+ def get_user_settings(
594
+ self, **kwargs: Unpack[GetUserSettingsRequestRequestTypeDef]
595
+ ) -> GetUserSettingsResponseTypeDef:
536
596
  """
537
597
  Gets user settings.
538
598
 
@@ -541,7 +601,7 @@ class WorkSpacesWebClient(BaseClient):
541
601
  """
542
602
 
543
603
  def list_browser_settings(
544
- self, *, maxResults: int = ..., nextToken: str = ...
604
+ self, **kwargs: Unpack[ListBrowserSettingsRequestRequestTypeDef]
545
605
  ) -> ListBrowserSettingsResponseTypeDef:
546
606
  """
547
607
  Retrieves a list of browser settings.
@@ -551,7 +611,7 @@ class WorkSpacesWebClient(BaseClient):
551
611
  """
552
612
 
553
613
  def list_identity_providers(
554
- self, *, portalArn: str, maxResults: int = ..., nextToken: str = ...
614
+ self, **kwargs: Unpack[ListIdentityProvidersRequestRequestTypeDef]
555
615
  ) -> ListIdentityProvidersResponseTypeDef:
556
616
  """
557
617
  Retrieves a list of identity providers for a specific web portal.
@@ -561,7 +621,7 @@ class WorkSpacesWebClient(BaseClient):
561
621
  """
562
622
 
563
623
  def list_ip_access_settings(
564
- self, *, maxResults: int = ..., nextToken: str = ...
624
+ self, **kwargs: Unpack[ListIpAccessSettingsRequestRequestTypeDef]
565
625
  ) -> ListIpAccessSettingsResponseTypeDef:
566
626
  """
567
627
  Retrieves a list of IP access settings.
@@ -571,7 +631,7 @@ class WorkSpacesWebClient(BaseClient):
571
631
  """
572
632
 
573
633
  def list_network_settings(
574
- self, *, maxResults: int = ..., nextToken: str = ...
634
+ self, **kwargs: Unpack[ListNetworkSettingsRequestRequestTypeDef]
575
635
  ) -> ListNetworkSettingsResponseTypeDef:
576
636
  """
577
637
  Retrieves a list of network settings.
@@ -581,7 +641,7 @@ class WorkSpacesWebClient(BaseClient):
581
641
  """
582
642
 
583
643
  def list_portals(
584
- self, *, maxResults: int = ..., nextToken: str = ...
644
+ self, **kwargs: Unpack[ListPortalsRequestRequestTypeDef]
585
645
  ) -> ListPortalsResponseTypeDef:
586
646
  """
587
647
  Retrieves a list or web portals.
@@ -590,7 +650,19 @@ class WorkSpacesWebClient(BaseClient):
590
650
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#list_portals)
591
651
  """
592
652
 
593
- def list_tags_for_resource(self, *, resourceArn: str) -> ListTagsForResourceResponseTypeDef:
653
+ def list_sessions(
654
+ self, **kwargs: Unpack[ListSessionsRequestRequestTypeDef]
655
+ ) -> ListSessionsResponseTypeDef:
656
+ """
657
+ Lists information for multiple secure browser sessions from a specific portal.
658
+
659
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web.html#WorkSpacesWeb.Client.list_sessions)
660
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#list_sessions)
661
+ """
662
+
663
+ def list_tags_for_resource(
664
+ self, **kwargs: Unpack[ListTagsForResourceRequestRequestTypeDef]
665
+ ) -> ListTagsForResourceResponseTypeDef:
594
666
  """
595
667
  Retrieves a list of tags for a resource.
596
668
 
@@ -599,7 +671,7 @@ class WorkSpacesWebClient(BaseClient):
599
671
  """
600
672
 
601
673
  def list_trust_store_certificates(
602
- self, *, trustStoreArn: str, maxResults: int = ..., nextToken: str = ...
674
+ self, **kwargs: Unpack[ListTrustStoreCertificatesRequestRequestTypeDef]
603
675
  ) -> ListTrustStoreCertificatesResponseTypeDef:
604
676
  """
605
677
  Retrieves a list of trust store certificates.
@@ -609,7 +681,7 @@ class WorkSpacesWebClient(BaseClient):
609
681
  """
610
682
 
611
683
  def list_trust_stores(
612
- self, *, maxResults: int = ..., nextToken: str = ...
684
+ self, **kwargs: Unpack[ListTrustStoresRequestRequestTypeDef]
613
685
  ) -> ListTrustStoresResponseTypeDef:
614
686
  """
615
687
  Retrieves a list of trust stores.
@@ -619,7 +691,7 @@ class WorkSpacesWebClient(BaseClient):
619
691
  """
620
692
 
621
693
  def list_user_access_logging_settings(
622
- self, *, maxResults: int = ..., nextToken: str = ...
694
+ self, **kwargs: Unpack[ListUserAccessLoggingSettingsRequestRequestTypeDef]
623
695
  ) -> ListUserAccessLoggingSettingsResponseTypeDef:
624
696
  """
625
697
  Retrieves a list of user access logging settings.
@@ -629,7 +701,7 @@ class WorkSpacesWebClient(BaseClient):
629
701
  """
630
702
 
631
703
  def list_user_settings(
632
- self, *, maxResults: int = ..., nextToken: str = ...
704
+ self, **kwargs: Unpack[ListUserSettingsRequestRequestTypeDef]
633
705
  ) -> ListUserSettingsResponseTypeDef:
634
706
  """
635
707
  Retrieves a list of user settings.
@@ -638,9 +710,7 @@ class WorkSpacesWebClient(BaseClient):
638
710
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#list_user_settings)
639
711
  """
640
712
 
641
- def tag_resource(
642
- self, *, resourceArn: str, tags: Sequence[TagTypeDef], clientToken: str = ...
643
- ) -> Dict[str, Any]:
713
+ def tag_resource(self, **kwargs: Unpack[TagResourceRequestRequestTypeDef]) -> Dict[str, Any]:
644
714
  """
645
715
  Adds or overwrites one or more tags for the specified resource.
646
716
 
@@ -648,7 +718,9 @@ class WorkSpacesWebClient(BaseClient):
648
718
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#tag_resource)
649
719
  """
650
720
 
651
- def untag_resource(self, *, resourceArn: str, tagKeys: Sequence[str]) -> Dict[str, Any]:
721
+ def untag_resource(
722
+ self, **kwargs: Unpack[UntagResourceRequestRequestTypeDef]
723
+ ) -> Dict[str, Any]:
652
724
  """
653
725
  Removes one or more tags from the specified resource.
654
726
 
@@ -657,7 +729,7 @@ class WorkSpacesWebClient(BaseClient):
657
729
  """
658
730
 
659
731
  def update_browser_settings(
660
- self, *, browserSettingsArn: str, browserPolicy: str = ..., clientToken: str = ...
732
+ self, **kwargs: Unpack[UpdateBrowserSettingsRequestRequestTypeDef]
661
733
  ) -> UpdateBrowserSettingsResponseTypeDef:
662
734
  """
663
735
  Updates browser settings.
@@ -667,13 +739,7 @@ class WorkSpacesWebClient(BaseClient):
667
739
  """
668
740
 
669
741
  def update_identity_provider(
670
- self,
671
- *,
672
- identityProviderArn: str,
673
- clientToken: str = ...,
674
- identityProviderDetails: Mapping[str, str] = ...,
675
- identityProviderName: str = ...,
676
- identityProviderType: IdentityProviderTypeType = ...,
742
+ self, **kwargs: Unpack[UpdateIdentityProviderRequestRequestTypeDef]
677
743
  ) -> UpdateIdentityProviderResponseTypeDef:
678
744
  """
679
745
  Updates the identity provider.
@@ -683,13 +749,7 @@ class WorkSpacesWebClient(BaseClient):
683
749
  """
684
750
 
685
751
  def update_ip_access_settings(
686
- self,
687
- *,
688
- ipAccessSettingsArn: str,
689
- clientToken: str = ...,
690
- description: str = ...,
691
- displayName: str = ...,
692
- ipRules: Sequence[IpRuleTypeDef] = ...,
752
+ self, **kwargs: Unpack[UpdateIpAccessSettingsRequestRequestTypeDef]
693
753
  ) -> UpdateIpAccessSettingsResponseTypeDef:
694
754
  """
695
755
  Updates IP access settings.
@@ -699,13 +759,7 @@ class WorkSpacesWebClient(BaseClient):
699
759
  """
700
760
 
701
761
  def update_network_settings(
702
- self,
703
- *,
704
- networkSettingsArn: str,
705
- clientToken: str = ...,
706
- securityGroupIds: Sequence[str] = ...,
707
- subnetIds: Sequence[str] = ...,
708
- vpcId: str = ...,
762
+ self, **kwargs: Unpack[UpdateNetworkSettingsRequestRequestTypeDef]
709
763
  ) -> UpdateNetworkSettingsResponseTypeDef:
710
764
  """
711
765
  Updates network settings.
@@ -715,13 +769,7 @@ class WorkSpacesWebClient(BaseClient):
715
769
  """
716
770
 
717
771
  def update_portal(
718
- self,
719
- *,
720
- portalArn: str,
721
- authenticationType: AuthenticationTypeType = ...,
722
- displayName: str = ...,
723
- instanceType: InstanceTypeType = ...,
724
- maxConcurrentSessions: int = ...,
772
+ self, **kwargs: Unpack[UpdatePortalRequestRequestTypeDef]
725
773
  ) -> UpdatePortalResponseTypeDef:
726
774
  """
727
775
  Updates a web portal.
@@ -731,12 +779,7 @@ class WorkSpacesWebClient(BaseClient):
731
779
  """
732
780
 
733
781
  def update_trust_store(
734
- self,
735
- *,
736
- trustStoreArn: str,
737
- certificatesToAdd: Sequence[BlobTypeDef] = ...,
738
- certificatesToDelete: Sequence[str] = ...,
739
- clientToken: str = ...,
782
+ self, **kwargs: Unpack[UpdateTrustStoreRequestRequestTypeDef]
740
783
  ) -> UpdateTrustStoreResponseTypeDef:
741
784
  """
742
785
  Updates the trust store.
@@ -746,11 +789,7 @@ class WorkSpacesWebClient(BaseClient):
746
789
  """
747
790
 
748
791
  def update_user_access_logging_settings(
749
- self,
750
- *,
751
- userAccessLoggingSettingsArn: str,
752
- clientToken: str = ...,
753
- kinesisStreamArn: str = ...,
792
+ self, **kwargs: Unpack[UpdateUserAccessLoggingSettingsRequestRequestTypeDef]
754
793
  ) -> UpdateUserAccessLoggingSettingsResponseTypeDef:
755
794
  """
756
795
  Updates the user access logging settings.
@@ -760,19 +799,7 @@ class WorkSpacesWebClient(BaseClient):
760
799
  """
761
800
 
762
801
  def update_user_settings(
763
- self,
764
- *,
765
- userSettingsArn: str,
766
- clientToken: str = ...,
767
- cookieSynchronizationConfiguration: CookieSynchronizationConfigurationUnionTypeDef = ...,
768
- copyAllowed: EnabledTypeType = ...,
769
- deepLinkAllowed: EnabledTypeType = ...,
770
- disconnectTimeoutInMinutes: int = ...,
771
- downloadAllowed: EnabledTypeType = ...,
772
- idleDisconnectTimeoutInMinutes: int = ...,
773
- pasteAllowed: EnabledTypeType = ...,
774
- printAllowed: EnabledTypeType = ...,
775
- uploadAllowed: EnabledTypeType = ...,
802
+ self, **kwargs: Unpack[UpdateUserSettingsRequestRequestTypeDef]
776
803
  ) -> UpdateUserSettingsResponseTypeDef:
777
804
  """
778
805
  Updates the user settings.
@@ -780,3 +807,9 @@ class WorkSpacesWebClient(BaseClient):
780
807
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web.html#WorkSpacesWeb.Client.update_user_settings)
781
808
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#update_user_settings)
782
809
  """
810
+
811
+ def get_paginator(self, operation_name: Literal["list_sessions"]) -> ListSessionsPaginator:
812
+ """
813
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web.html#WorkSpacesWeb.Client.get_paginator)
814
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#get_paginator)
815
+ """