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,126 @@ 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
+
136
+
76
137
  __all__ = ("WorkSpacesWebClient",)
77
138
 
78
139
 
@@ -114,7 +175,7 @@ class WorkSpacesWebClient(BaseClient):
114
175
  """
115
176
 
116
177
  def associate_browser_settings(
117
- self, *, browserSettingsArn: str, portalArn: str
178
+ self, **kwargs: Unpack[AssociateBrowserSettingsRequestRequestTypeDef]
118
179
  ) -> AssociateBrowserSettingsResponseTypeDef:
119
180
  """
120
181
  Associates a browser settings resource with a web portal.
@@ -124,7 +185,7 @@ class WorkSpacesWebClient(BaseClient):
124
185
  """
125
186
 
126
187
  def associate_ip_access_settings(
127
- self, *, ipAccessSettingsArn: str, portalArn: str
188
+ self, **kwargs: Unpack[AssociateIpAccessSettingsRequestRequestTypeDef]
128
189
  ) -> AssociateIpAccessSettingsResponseTypeDef:
129
190
  """
130
191
  Associates an IP access settings resource with a web portal.
@@ -134,7 +195,7 @@ class WorkSpacesWebClient(BaseClient):
134
195
  """
135
196
 
136
197
  def associate_network_settings(
137
- self, *, networkSettingsArn: str, portalArn: str
198
+ self, **kwargs: Unpack[AssociateNetworkSettingsRequestRequestTypeDef]
138
199
  ) -> AssociateNetworkSettingsResponseTypeDef:
139
200
  """
140
201
  Associates a network settings resource with a web portal.
@@ -144,7 +205,7 @@ class WorkSpacesWebClient(BaseClient):
144
205
  """
145
206
 
146
207
  def associate_trust_store(
147
- self, *, portalArn: str, trustStoreArn: str
208
+ self, **kwargs: Unpack[AssociateTrustStoreRequestRequestTypeDef]
148
209
  ) -> AssociateTrustStoreResponseTypeDef:
149
210
  """
150
211
  Associates a trust store with a web portal.
@@ -154,7 +215,7 @@ class WorkSpacesWebClient(BaseClient):
154
215
  """
155
216
 
156
217
  def associate_user_access_logging_settings(
157
- self, *, portalArn: str, userAccessLoggingSettingsArn: str
218
+ self, **kwargs: Unpack[AssociateUserAccessLoggingSettingsRequestRequestTypeDef]
158
219
  ) -> AssociateUserAccessLoggingSettingsResponseTypeDef:
159
220
  """
160
221
  Associates a user access logging settings resource with a web portal.
@@ -164,7 +225,7 @@ class WorkSpacesWebClient(BaseClient):
164
225
  """
165
226
 
166
227
  def associate_user_settings(
167
- self, *, portalArn: str, userSettingsArn: str
228
+ self, **kwargs: Unpack[AssociateUserSettingsRequestRequestTypeDef]
168
229
  ) -> AssociateUserSettingsResponseTypeDef:
169
230
  """
170
231
  Associates a user settings resource with a web portal.
@@ -190,13 +251,7 @@ class WorkSpacesWebClient(BaseClient):
190
251
  """
191
252
 
192
253
  def create_browser_settings(
193
- self,
194
- *,
195
- browserPolicy: str,
196
- additionalEncryptionContext: Mapping[str, str] = ...,
197
- clientToken: str = ...,
198
- customerManagedKey: str = ...,
199
- tags: Sequence[TagTypeDef] = ...,
254
+ self, **kwargs: Unpack[CreateBrowserSettingsRequestRequestTypeDef]
200
255
  ) -> CreateBrowserSettingsResponseTypeDef:
201
256
  """
202
257
  Creates a browser settings resource that can be associated with a web portal.
@@ -206,14 +261,7 @@ class WorkSpacesWebClient(BaseClient):
206
261
  """
207
262
 
208
263
  def create_identity_provider(
209
- self,
210
- *,
211
- identityProviderDetails: Mapping[str, str],
212
- identityProviderName: str,
213
- identityProviderType: IdentityProviderTypeType,
214
- portalArn: str,
215
- clientToken: str = ...,
216
- tags: Sequence[TagTypeDef] = ...,
264
+ self, **kwargs: Unpack[CreateIdentityProviderRequestRequestTypeDef]
217
265
  ) -> CreateIdentityProviderResponseTypeDef:
218
266
  """
219
267
  Creates an identity provider resource that is then associated with a web portal.
@@ -223,15 +271,7 @@ class WorkSpacesWebClient(BaseClient):
223
271
  """
224
272
 
225
273
  def create_ip_access_settings(
226
- self,
227
- *,
228
- ipRules: Sequence[IpRuleTypeDef],
229
- additionalEncryptionContext: Mapping[str, str] = ...,
230
- clientToken: str = ...,
231
- customerManagedKey: str = ...,
232
- description: str = ...,
233
- displayName: str = ...,
234
- tags: Sequence[TagTypeDef] = ...,
274
+ self, **kwargs: Unpack[CreateIpAccessSettingsRequestRequestTypeDef]
235
275
  ) -> CreateIpAccessSettingsResponseTypeDef:
236
276
  """
237
277
  Creates an IP access settings resource that can be associated with a web portal.
@@ -241,13 +281,7 @@ class WorkSpacesWebClient(BaseClient):
241
281
  """
242
282
 
243
283
  def create_network_settings(
244
- self,
245
- *,
246
- securityGroupIds: Sequence[str],
247
- subnetIds: Sequence[str],
248
- vpcId: str,
249
- clientToken: str = ...,
250
- tags: Sequence[TagTypeDef] = ...,
284
+ self, **kwargs: Unpack[CreateNetworkSettingsRequestRequestTypeDef]
251
285
  ) -> CreateNetworkSettingsResponseTypeDef:
252
286
  """
253
287
  Creates a network settings resource that can be associated with a web portal.
@@ -257,16 +291,7 @@ class WorkSpacesWebClient(BaseClient):
257
291
  """
258
292
 
259
293
  def create_portal(
260
- self,
261
- *,
262
- additionalEncryptionContext: Mapping[str, str] = ...,
263
- authenticationType: AuthenticationTypeType = ...,
264
- clientToken: str = ...,
265
- customerManagedKey: str = ...,
266
- displayName: str = ...,
267
- instanceType: InstanceTypeType = ...,
268
- maxConcurrentSessions: int = ...,
269
- tags: Sequence[TagTypeDef] = ...,
294
+ self, **kwargs: Unpack[CreatePortalRequestRequestTypeDef]
270
295
  ) -> CreatePortalResponseTypeDef:
271
296
  """
272
297
  Creates a web portal.
@@ -276,11 +301,7 @@ class WorkSpacesWebClient(BaseClient):
276
301
  """
277
302
 
278
303
  def create_trust_store(
279
- self,
280
- *,
281
- certificateList: Sequence[BlobTypeDef],
282
- clientToken: str = ...,
283
- tags: Sequence[TagTypeDef] = ...,
304
+ self, **kwargs: Unpack[CreateTrustStoreRequestRequestTypeDef]
284
305
  ) -> CreateTrustStoreResponseTypeDef:
285
306
  """
286
307
  Creates a trust store that can be associated with a web portal.
@@ -290,7 +311,7 @@ class WorkSpacesWebClient(BaseClient):
290
311
  """
291
312
 
292
313
  def create_user_access_logging_settings(
293
- self, *, kinesisStreamArn: str, clientToken: str = ..., tags: Sequence[TagTypeDef] = ...
314
+ self, **kwargs: Unpack[CreateUserAccessLoggingSettingsRequestRequestTypeDef]
294
315
  ) -> CreateUserAccessLoggingSettingsResponseTypeDef:
295
316
  """
296
317
  Creates a user access logging settings resource that can be associated with a
@@ -302,21 +323,7 @@ class WorkSpacesWebClient(BaseClient):
302
323
  """
303
324
 
304
325
  def create_user_settings(
305
- self,
306
- *,
307
- copyAllowed: EnabledTypeType,
308
- downloadAllowed: EnabledTypeType,
309
- pasteAllowed: EnabledTypeType,
310
- printAllowed: EnabledTypeType,
311
- uploadAllowed: EnabledTypeType,
312
- additionalEncryptionContext: Mapping[str, str] = ...,
313
- clientToken: str = ...,
314
- cookieSynchronizationConfiguration: CookieSynchronizationConfigurationUnionTypeDef = ...,
315
- customerManagedKey: str = ...,
316
- deepLinkAllowed: EnabledTypeType = ...,
317
- disconnectTimeoutInMinutes: int = ...,
318
- idleDisconnectTimeoutInMinutes: int = ...,
319
- tags: Sequence[TagTypeDef] = ...,
326
+ self, **kwargs: Unpack[CreateUserSettingsRequestRequestTypeDef]
320
327
  ) -> CreateUserSettingsResponseTypeDef:
321
328
  """
322
329
  Creates a user settings resource that can be associated with a web portal.
@@ -325,7 +332,9 @@ class WorkSpacesWebClient(BaseClient):
325
332
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#create_user_settings)
326
333
  """
327
334
 
328
- def delete_browser_settings(self, *, browserSettingsArn: str) -> Dict[str, Any]:
335
+ def delete_browser_settings(
336
+ self, **kwargs: Unpack[DeleteBrowserSettingsRequestRequestTypeDef]
337
+ ) -> Dict[str, Any]:
329
338
  """
330
339
  Deletes browser settings.
331
340
 
@@ -333,7 +342,9 @@ class WorkSpacesWebClient(BaseClient):
333
342
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#delete_browser_settings)
334
343
  """
335
344
 
336
- def delete_identity_provider(self, *, identityProviderArn: str) -> Dict[str, Any]:
345
+ def delete_identity_provider(
346
+ self, **kwargs: Unpack[DeleteIdentityProviderRequestRequestTypeDef]
347
+ ) -> Dict[str, Any]:
337
348
  """
338
349
  Deletes the identity provider.
339
350
 
@@ -341,7 +352,9 @@ class WorkSpacesWebClient(BaseClient):
341
352
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#delete_identity_provider)
342
353
  """
343
354
 
344
- def delete_ip_access_settings(self, *, ipAccessSettingsArn: str) -> Dict[str, Any]:
355
+ def delete_ip_access_settings(
356
+ self, **kwargs: Unpack[DeleteIpAccessSettingsRequestRequestTypeDef]
357
+ ) -> Dict[str, Any]:
345
358
  """
346
359
  Deletes IP access settings.
347
360
 
@@ -349,7 +362,9 @@ class WorkSpacesWebClient(BaseClient):
349
362
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#delete_ip_access_settings)
350
363
  """
351
364
 
352
- def delete_network_settings(self, *, networkSettingsArn: str) -> Dict[str, Any]:
365
+ def delete_network_settings(
366
+ self, **kwargs: Unpack[DeleteNetworkSettingsRequestRequestTypeDef]
367
+ ) -> Dict[str, Any]:
353
368
  """
354
369
  Deletes network settings.
355
370
 
@@ -357,7 +372,7 @@ class WorkSpacesWebClient(BaseClient):
357
372
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#delete_network_settings)
358
373
  """
359
374
 
360
- def delete_portal(self, *, portalArn: str) -> Dict[str, Any]:
375
+ def delete_portal(self, **kwargs: Unpack[DeletePortalRequestRequestTypeDef]) -> Dict[str, Any]:
361
376
  """
362
377
  Deletes a web portal.
363
378
 
@@ -365,7 +380,9 @@ class WorkSpacesWebClient(BaseClient):
365
380
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#delete_portal)
366
381
  """
367
382
 
368
- def delete_trust_store(self, *, trustStoreArn: str) -> Dict[str, Any]:
383
+ def delete_trust_store(
384
+ self, **kwargs: Unpack[DeleteTrustStoreRequestRequestTypeDef]
385
+ ) -> Dict[str, Any]:
369
386
  """
370
387
  Deletes the trust store.
371
388
 
@@ -374,7 +391,7 @@ class WorkSpacesWebClient(BaseClient):
374
391
  """
375
392
 
376
393
  def delete_user_access_logging_settings(
377
- self, *, userAccessLoggingSettingsArn: str
394
+ self, **kwargs: Unpack[DeleteUserAccessLoggingSettingsRequestRequestTypeDef]
378
395
  ) -> Dict[str, Any]:
379
396
  """
380
397
  Deletes user access logging settings.
@@ -383,7 +400,9 @@ class WorkSpacesWebClient(BaseClient):
383
400
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#delete_user_access_logging_settings)
384
401
  """
385
402
 
386
- def delete_user_settings(self, *, userSettingsArn: str) -> Dict[str, Any]:
403
+ def delete_user_settings(
404
+ self, **kwargs: Unpack[DeleteUserSettingsRequestRequestTypeDef]
405
+ ) -> Dict[str, Any]:
387
406
  """
388
407
  Deletes user settings.
389
408
 
@@ -391,7 +410,9 @@ class WorkSpacesWebClient(BaseClient):
391
410
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#delete_user_settings)
392
411
  """
393
412
 
394
- def disassociate_browser_settings(self, *, portalArn: str) -> Dict[str, Any]:
413
+ def disassociate_browser_settings(
414
+ self, **kwargs: Unpack[DisassociateBrowserSettingsRequestRequestTypeDef]
415
+ ) -> Dict[str, Any]:
395
416
  """
396
417
  Disassociates browser settings from a web portal.
397
418
 
@@ -399,7 +420,9 @@ class WorkSpacesWebClient(BaseClient):
399
420
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#disassociate_browser_settings)
400
421
  """
401
422
 
402
- def disassociate_ip_access_settings(self, *, portalArn: str) -> Dict[str, Any]:
423
+ def disassociate_ip_access_settings(
424
+ self, **kwargs: Unpack[DisassociateIpAccessSettingsRequestRequestTypeDef]
425
+ ) -> Dict[str, Any]:
403
426
  """
404
427
  Disassociates IP access settings from a web portal.
405
428
 
@@ -407,7 +430,9 @@ class WorkSpacesWebClient(BaseClient):
407
430
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#disassociate_ip_access_settings)
408
431
  """
409
432
 
410
- def disassociate_network_settings(self, *, portalArn: str) -> Dict[str, Any]:
433
+ def disassociate_network_settings(
434
+ self, **kwargs: Unpack[DisassociateNetworkSettingsRequestRequestTypeDef]
435
+ ) -> Dict[str, Any]:
411
436
  """
412
437
  Disassociates network settings from a web portal.
413
438
 
@@ -415,7 +440,9 @@ class WorkSpacesWebClient(BaseClient):
415
440
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#disassociate_network_settings)
416
441
  """
417
442
 
418
- def disassociate_trust_store(self, *, portalArn: str) -> Dict[str, Any]:
443
+ def disassociate_trust_store(
444
+ self, **kwargs: Unpack[DisassociateTrustStoreRequestRequestTypeDef]
445
+ ) -> Dict[str, Any]:
419
446
  """
420
447
  Disassociates a trust store from a web portal.
421
448
 
@@ -423,7 +450,9 @@ class WorkSpacesWebClient(BaseClient):
423
450
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#disassociate_trust_store)
424
451
  """
425
452
 
426
- def disassociate_user_access_logging_settings(self, *, portalArn: str) -> Dict[str, Any]:
453
+ def disassociate_user_access_logging_settings(
454
+ self, **kwargs: Unpack[DisassociateUserAccessLoggingSettingsRequestRequestTypeDef]
455
+ ) -> Dict[str, Any]:
427
456
  """
428
457
  Disassociates user access logging settings from a web portal.
429
458
 
@@ -431,7 +460,9 @@ class WorkSpacesWebClient(BaseClient):
431
460
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#disassociate_user_access_logging_settings)
432
461
  """
433
462
 
434
- def disassociate_user_settings(self, *, portalArn: str) -> Dict[str, Any]:
463
+ def disassociate_user_settings(
464
+ self, **kwargs: Unpack[DisassociateUserSettingsRequestRequestTypeDef]
465
+ ) -> Dict[str, Any]:
435
466
  """
436
467
  Disassociates user settings from a web portal.
437
468
 
@@ -439,6 +470,16 @@ class WorkSpacesWebClient(BaseClient):
439
470
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#disassociate_user_settings)
440
471
  """
441
472
 
473
+ def expire_session(
474
+ self, **kwargs: Unpack[ExpireSessionRequestRequestTypeDef]
475
+ ) -> Dict[str, Any]:
476
+ """
477
+ Expires an active secure browser session.
478
+
479
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web.html#WorkSpacesWeb.Client.expire_session)
480
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#expire_session)
481
+ """
482
+
442
483
  def generate_presigned_url(
443
484
  self,
444
485
  ClientMethod: str,
@@ -453,7 +494,9 @@ class WorkSpacesWebClient(BaseClient):
453
494
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#generate_presigned_url)
454
495
  """
455
496
 
456
- def get_browser_settings(self, *, browserSettingsArn: str) -> GetBrowserSettingsResponseTypeDef:
497
+ def get_browser_settings(
498
+ self, **kwargs: Unpack[GetBrowserSettingsRequestRequestTypeDef]
499
+ ) -> GetBrowserSettingsResponseTypeDef:
457
500
  """
458
501
  Gets browser settings.
459
502
 
@@ -462,7 +505,7 @@ class WorkSpacesWebClient(BaseClient):
462
505
  """
463
506
 
464
507
  def get_identity_provider(
465
- self, *, identityProviderArn: str
508
+ self, **kwargs: Unpack[GetIdentityProviderRequestRequestTypeDef]
466
509
  ) -> GetIdentityProviderResponseTypeDef:
467
510
  """
468
511
  Gets the identity provider.
@@ -472,7 +515,7 @@ class WorkSpacesWebClient(BaseClient):
472
515
  """
473
516
 
474
517
  def get_ip_access_settings(
475
- self, *, ipAccessSettingsArn: str
518
+ self, **kwargs: Unpack[GetIpAccessSettingsRequestRequestTypeDef]
476
519
  ) -> GetIpAccessSettingsResponseTypeDef:
477
520
  """
478
521
  Gets the IP access settings.
@@ -481,7 +524,9 @@ class WorkSpacesWebClient(BaseClient):
481
524
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#get_ip_access_settings)
482
525
  """
483
526
 
484
- def get_network_settings(self, *, networkSettingsArn: str) -> GetNetworkSettingsResponseTypeDef:
527
+ def get_network_settings(
528
+ self, **kwargs: Unpack[GetNetworkSettingsRequestRequestTypeDef]
529
+ ) -> GetNetworkSettingsResponseTypeDef:
485
530
  """
486
531
  Gets the network settings.
487
532
 
@@ -489,7 +534,9 @@ class WorkSpacesWebClient(BaseClient):
489
534
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#get_network_settings)
490
535
  """
491
536
 
492
- def get_portal(self, *, portalArn: str) -> GetPortalResponseTypeDef:
537
+ def get_portal(
538
+ self, **kwargs: Unpack[GetPortalRequestRequestTypeDef]
539
+ ) -> GetPortalResponseTypeDef:
493
540
  """
494
541
  Gets the web portal.
495
542
 
@@ -498,7 +545,7 @@ class WorkSpacesWebClient(BaseClient):
498
545
  """
499
546
 
500
547
  def get_portal_service_provider_metadata(
501
- self, *, portalArn: str
548
+ self, **kwargs: Unpack[GetPortalServiceProviderMetadataRequestRequestTypeDef]
502
549
  ) -> GetPortalServiceProviderMetadataResponseTypeDef:
503
550
  """
504
551
  Gets the service provider metadata.
@@ -507,7 +554,19 @@ class WorkSpacesWebClient(BaseClient):
507
554
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#get_portal_service_provider_metadata)
508
555
  """
509
556
 
510
- def get_trust_store(self, *, trustStoreArn: str) -> GetTrustStoreResponseTypeDef:
557
+ def get_session(
558
+ self, **kwargs: Unpack[GetSessionRequestRequestTypeDef]
559
+ ) -> GetSessionResponseTypeDef:
560
+ """
561
+ Gets information for a secure browser session.
562
+
563
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web.html#WorkSpacesWeb.Client.get_session)
564
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#get_session)
565
+ """
566
+
567
+ def get_trust_store(
568
+ self, **kwargs: Unpack[GetTrustStoreRequestRequestTypeDef]
569
+ ) -> GetTrustStoreResponseTypeDef:
511
570
  """
512
571
  Gets the trust store.
513
572
 
@@ -516,7 +575,7 @@ class WorkSpacesWebClient(BaseClient):
516
575
  """
517
576
 
518
577
  def get_trust_store_certificate(
519
- self, *, thumbprint: str, trustStoreArn: str
578
+ self, **kwargs: Unpack[GetTrustStoreCertificateRequestRequestTypeDef]
520
579
  ) -> GetTrustStoreCertificateResponseTypeDef:
521
580
  """
522
581
  Gets the trust store certificate.
@@ -526,7 +585,7 @@ class WorkSpacesWebClient(BaseClient):
526
585
  """
527
586
 
528
587
  def get_user_access_logging_settings(
529
- self, *, userAccessLoggingSettingsArn: str
588
+ self, **kwargs: Unpack[GetUserAccessLoggingSettingsRequestRequestTypeDef]
530
589
  ) -> GetUserAccessLoggingSettingsResponseTypeDef:
531
590
  """
532
591
  Gets user access logging settings.
@@ -535,7 +594,9 @@ class WorkSpacesWebClient(BaseClient):
535
594
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#get_user_access_logging_settings)
536
595
  """
537
596
 
538
- def get_user_settings(self, *, userSettingsArn: str) -> GetUserSettingsResponseTypeDef:
597
+ def get_user_settings(
598
+ self, **kwargs: Unpack[GetUserSettingsRequestRequestTypeDef]
599
+ ) -> GetUserSettingsResponseTypeDef:
539
600
  """
540
601
  Gets user settings.
541
602
 
@@ -544,7 +605,7 @@ class WorkSpacesWebClient(BaseClient):
544
605
  """
545
606
 
546
607
  def list_browser_settings(
547
- self, *, maxResults: int = ..., nextToken: str = ...
608
+ self, **kwargs: Unpack[ListBrowserSettingsRequestRequestTypeDef]
548
609
  ) -> ListBrowserSettingsResponseTypeDef:
549
610
  """
550
611
  Retrieves a list of browser settings.
@@ -554,7 +615,7 @@ class WorkSpacesWebClient(BaseClient):
554
615
  """
555
616
 
556
617
  def list_identity_providers(
557
- self, *, portalArn: str, maxResults: int = ..., nextToken: str = ...
618
+ self, **kwargs: Unpack[ListIdentityProvidersRequestRequestTypeDef]
558
619
  ) -> ListIdentityProvidersResponseTypeDef:
559
620
  """
560
621
  Retrieves a list of identity providers for a specific web portal.
@@ -564,7 +625,7 @@ class WorkSpacesWebClient(BaseClient):
564
625
  """
565
626
 
566
627
  def list_ip_access_settings(
567
- self, *, maxResults: int = ..., nextToken: str = ...
628
+ self, **kwargs: Unpack[ListIpAccessSettingsRequestRequestTypeDef]
568
629
  ) -> ListIpAccessSettingsResponseTypeDef:
569
630
  """
570
631
  Retrieves a list of IP access settings.
@@ -574,7 +635,7 @@ class WorkSpacesWebClient(BaseClient):
574
635
  """
575
636
 
576
637
  def list_network_settings(
577
- self, *, maxResults: int = ..., nextToken: str = ...
638
+ self, **kwargs: Unpack[ListNetworkSettingsRequestRequestTypeDef]
578
639
  ) -> ListNetworkSettingsResponseTypeDef:
579
640
  """
580
641
  Retrieves a list of network settings.
@@ -584,7 +645,7 @@ class WorkSpacesWebClient(BaseClient):
584
645
  """
585
646
 
586
647
  def list_portals(
587
- self, *, maxResults: int = ..., nextToken: str = ...
648
+ self, **kwargs: Unpack[ListPortalsRequestRequestTypeDef]
588
649
  ) -> ListPortalsResponseTypeDef:
589
650
  """
590
651
  Retrieves a list or web portals.
@@ -593,7 +654,19 @@ class WorkSpacesWebClient(BaseClient):
593
654
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#list_portals)
594
655
  """
595
656
 
596
- def list_tags_for_resource(self, *, resourceArn: str) -> ListTagsForResourceResponseTypeDef:
657
+ def list_sessions(
658
+ self, **kwargs: Unpack[ListSessionsRequestRequestTypeDef]
659
+ ) -> ListSessionsResponseTypeDef:
660
+ """
661
+ Lists information for multiple secure browser sessions from a specific portal.
662
+
663
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web.html#WorkSpacesWeb.Client.list_sessions)
664
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#list_sessions)
665
+ """
666
+
667
+ def list_tags_for_resource(
668
+ self, **kwargs: Unpack[ListTagsForResourceRequestRequestTypeDef]
669
+ ) -> ListTagsForResourceResponseTypeDef:
597
670
  """
598
671
  Retrieves a list of tags for a resource.
599
672
 
@@ -602,7 +675,7 @@ class WorkSpacesWebClient(BaseClient):
602
675
  """
603
676
 
604
677
  def list_trust_store_certificates(
605
- self, *, trustStoreArn: str, maxResults: int = ..., nextToken: str = ...
678
+ self, **kwargs: Unpack[ListTrustStoreCertificatesRequestRequestTypeDef]
606
679
  ) -> ListTrustStoreCertificatesResponseTypeDef:
607
680
  """
608
681
  Retrieves a list of trust store certificates.
@@ -612,7 +685,7 @@ class WorkSpacesWebClient(BaseClient):
612
685
  """
613
686
 
614
687
  def list_trust_stores(
615
- self, *, maxResults: int = ..., nextToken: str = ...
688
+ self, **kwargs: Unpack[ListTrustStoresRequestRequestTypeDef]
616
689
  ) -> ListTrustStoresResponseTypeDef:
617
690
  """
618
691
  Retrieves a list of trust stores.
@@ -622,7 +695,7 @@ class WorkSpacesWebClient(BaseClient):
622
695
  """
623
696
 
624
697
  def list_user_access_logging_settings(
625
- self, *, maxResults: int = ..., nextToken: str = ...
698
+ self, **kwargs: Unpack[ListUserAccessLoggingSettingsRequestRequestTypeDef]
626
699
  ) -> ListUserAccessLoggingSettingsResponseTypeDef:
627
700
  """
628
701
  Retrieves a list of user access logging settings.
@@ -632,7 +705,7 @@ class WorkSpacesWebClient(BaseClient):
632
705
  """
633
706
 
634
707
  def list_user_settings(
635
- self, *, maxResults: int = ..., nextToken: str = ...
708
+ self, **kwargs: Unpack[ListUserSettingsRequestRequestTypeDef]
636
709
  ) -> ListUserSettingsResponseTypeDef:
637
710
  """
638
711
  Retrieves a list of user settings.
@@ -641,9 +714,7 @@ class WorkSpacesWebClient(BaseClient):
641
714
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#list_user_settings)
642
715
  """
643
716
 
644
- def tag_resource(
645
- self, *, resourceArn: str, tags: Sequence[TagTypeDef], clientToken: str = ...
646
- ) -> Dict[str, Any]:
717
+ def tag_resource(self, **kwargs: Unpack[TagResourceRequestRequestTypeDef]) -> Dict[str, Any]:
647
718
  """
648
719
  Adds or overwrites one or more tags for the specified resource.
649
720
 
@@ -651,7 +722,9 @@ class WorkSpacesWebClient(BaseClient):
651
722
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#tag_resource)
652
723
  """
653
724
 
654
- def untag_resource(self, *, resourceArn: str, tagKeys: Sequence[str]) -> Dict[str, Any]:
725
+ def untag_resource(
726
+ self, **kwargs: Unpack[UntagResourceRequestRequestTypeDef]
727
+ ) -> Dict[str, Any]:
655
728
  """
656
729
  Removes one or more tags from the specified resource.
657
730
 
@@ -660,7 +733,7 @@ class WorkSpacesWebClient(BaseClient):
660
733
  """
661
734
 
662
735
  def update_browser_settings(
663
- self, *, browserSettingsArn: str, browserPolicy: str = ..., clientToken: str = ...
736
+ self, **kwargs: Unpack[UpdateBrowserSettingsRequestRequestTypeDef]
664
737
  ) -> UpdateBrowserSettingsResponseTypeDef:
665
738
  """
666
739
  Updates browser settings.
@@ -670,13 +743,7 @@ class WorkSpacesWebClient(BaseClient):
670
743
  """
671
744
 
672
745
  def update_identity_provider(
673
- self,
674
- *,
675
- identityProviderArn: str,
676
- clientToken: str = ...,
677
- identityProviderDetails: Mapping[str, str] = ...,
678
- identityProviderName: str = ...,
679
- identityProviderType: IdentityProviderTypeType = ...,
746
+ self, **kwargs: Unpack[UpdateIdentityProviderRequestRequestTypeDef]
680
747
  ) -> UpdateIdentityProviderResponseTypeDef:
681
748
  """
682
749
  Updates the identity provider.
@@ -686,13 +753,7 @@ class WorkSpacesWebClient(BaseClient):
686
753
  """
687
754
 
688
755
  def update_ip_access_settings(
689
- self,
690
- *,
691
- ipAccessSettingsArn: str,
692
- clientToken: str = ...,
693
- description: str = ...,
694
- displayName: str = ...,
695
- ipRules: Sequence[IpRuleTypeDef] = ...,
756
+ self, **kwargs: Unpack[UpdateIpAccessSettingsRequestRequestTypeDef]
696
757
  ) -> UpdateIpAccessSettingsResponseTypeDef:
697
758
  """
698
759
  Updates IP access settings.
@@ -702,13 +763,7 @@ class WorkSpacesWebClient(BaseClient):
702
763
  """
703
764
 
704
765
  def update_network_settings(
705
- self,
706
- *,
707
- networkSettingsArn: str,
708
- clientToken: str = ...,
709
- securityGroupIds: Sequence[str] = ...,
710
- subnetIds: Sequence[str] = ...,
711
- vpcId: str = ...,
766
+ self, **kwargs: Unpack[UpdateNetworkSettingsRequestRequestTypeDef]
712
767
  ) -> UpdateNetworkSettingsResponseTypeDef:
713
768
  """
714
769
  Updates network settings.
@@ -718,13 +773,7 @@ class WorkSpacesWebClient(BaseClient):
718
773
  """
719
774
 
720
775
  def update_portal(
721
- self,
722
- *,
723
- portalArn: str,
724
- authenticationType: AuthenticationTypeType = ...,
725
- displayName: str = ...,
726
- instanceType: InstanceTypeType = ...,
727
- maxConcurrentSessions: int = ...,
776
+ self, **kwargs: Unpack[UpdatePortalRequestRequestTypeDef]
728
777
  ) -> UpdatePortalResponseTypeDef:
729
778
  """
730
779
  Updates a web portal.
@@ -734,12 +783,7 @@ class WorkSpacesWebClient(BaseClient):
734
783
  """
735
784
 
736
785
  def update_trust_store(
737
- self,
738
- *,
739
- trustStoreArn: str,
740
- certificatesToAdd: Sequence[BlobTypeDef] = ...,
741
- certificatesToDelete: Sequence[str] = ...,
742
- clientToken: str = ...,
786
+ self, **kwargs: Unpack[UpdateTrustStoreRequestRequestTypeDef]
743
787
  ) -> UpdateTrustStoreResponseTypeDef:
744
788
  """
745
789
  Updates the trust store.
@@ -749,11 +793,7 @@ class WorkSpacesWebClient(BaseClient):
749
793
  """
750
794
 
751
795
  def update_user_access_logging_settings(
752
- self,
753
- *,
754
- userAccessLoggingSettingsArn: str,
755
- clientToken: str = ...,
756
- kinesisStreamArn: str = ...,
796
+ self, **kwargs: Unpack[UpdateUserAccessLoggingSettingsRequestRequestTypeDef]
757
797
  ) -> UpdateUserAccessLoggingSettingsResponseTypeDef:
758
798
  """
759
799
  Updates the user access logging settings.
@@ -763,19 +803,7 @@ class WorkSpacesWebClient(BaseClient):
763
803
  """
764
804
 
765
805
  def update_user_settings(
766
- self,
767
- *,
768
- userSettingsArn: str,
769
- clientToken: str = ...,
770
- cookieSynchronizationConfiguration: CookieSynchronizationConfigurationUnionTypeDef = ...,
771
- copyAllowed: EnabledTypeType = ...,
772
- deepLinkAllowed: EnabledTypeType = ...,
773
- disconnectTimeoutInMinutes: int = ...,
774
- downloadAllowed: EnabledTypeType = ...,
775
- idleDisconnectTimeoutInMinutes: int = ...,
776
- pasteAllowed: EnabledTypeType = ...,
777
- printAllowed: EnabledTypeType = ...,
778
- uploadAllowed: EnabledTypeType = ...,
806
+ self, **kwargs: Unpack[UpdateUserSettingsRequestRequestTypeDef]
779
807
  ) -> UpdateUserSettingsResponseTypeDef:
780
808
  """
781
809
  Updates the user settings.
@@ -783,3 +811,9 @@ class WorkSpacesWebClient(BaseClient):
783
811
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web.html#WorkSpacesWeb.Client.update_user_settings)
784
812
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#update_user_settings)
785
813
  """
814
+
815
+ def get_paginator(self, operation_name: Literal["list_sessions"]) -> ListSessionsPaginator:
816
+ """
817
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web.html#WorkSpacesWeb.Client.get_paginator)
818
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/client/#get_paginator)
819
+ """