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.
@@ -19,20 +19,26 @@ if sys.version_info >= (3, 12):
19
19
  else:
20
20
  from typing_extensions import Literal
21
21
 
22
+
22
23
  __all__ = (
23
24
  "AuthenticationTypeType",
24
25
  "BrowserTypeType",
25
26
  "EnabledTypeType",
26
27
  "IdentityProviderTypeType",
27
28
  "InstanceTypeType",
29
+ "ListSessionsPaginatorName",
28
30
  "PortalStatusType",
29
31
  "RendererTypeType",
32
+ "SessionSortByType",
33
+ "SessionStatusType",
30
34
  "WorkSpacesWebServiceName",
31
35
  "ServiceName",
32
36
  "ResourceServiceName",
37
+ "PaginatorName",
33
38
  "RegionName",
34
39
  )
35
40
 
41
+
36
42
  AuthenticationTypeType = Literal["IAM_Identity_Center", "Standard"]
37
43
  BrowserTypeType = Literal["Chrome"]
38
44
  EnabledTypeType = Literal["Disabled", "Enabled"]
@@ -40,8 +46,11 @@ IdentityProviderTypeType = Literal[
40
46
  "Facebook", "Google", "LoginWithAmazon", "OIDC", "SAML", "SignInWithApple"
41
47
  ]
42
48
  InstanceTypeType = Literal["standard.large", "standard.regular", "standard.xlarge"]
49
+ ListSessionsPaginatorName = Literal["list_sessions"]
43
50
  PortalStatusType = Literal["Active", "Incomplete", "Pending"]
44
51
  RendererTypeType = Literal["AppStream"]
52
+ SessionSortByType = Literal["StartTimeAscending", "StartTimeDescending"]
53
+ SessionStatusType = Literal["Active", "Terminated"]
45
54
  WorkSpacesWebServiceName = Literal["workspaces-web"]
46
55
  ServiceName = Literal[
47
56
  "accessanalyzer",
@@ -120,7 +129,6 @@ ServiceName = Literal[
120
129
  "codeguru-security",
121
130
  "codeguruprofiler",
122
131
  "codepipeline",
123
- "codestar",
124
132
  "codestar-connections",
125
133
  "codestar-notifications",
126
134
  "cognito-identity",
@@ -158,6 +166,7 @@ ServiceName = Literal[
158
166
  "docdb-elastic",
159
167
  "drs",
160
168
  "ds",
169
+ "ds-data",
161
170
  "dynamodb",
162
171
  "dynamodbstreams",
163
172
  "ebs",
@@ -289,7 +298,6 @@ ServiceName = Literal[
289
298
  "migrationhub-config",
290
299
  "migrationhuborchestrator",
291
300
  "migrationhubstrategy",
292
- "mobile",
293
301
  "mq",
294
302
  "mturk",
295
303
  "mwaa",
@@ -314,6 +322,7 @@ ServiceName = Literal[
314
322
  "payment-cryptography-data",
315
323
  "pca-connector-ad",
316
324
  "pca-connector-scep",
325
+ "pcs",
317
326
  "personalize",
318
327
  "personalize-events",
319
328
  "personalize-runtime",
@@ -327,6 +336,7 @@ ServiceName = Literal[
327
336
  "pricing",
328
337
  "privatenetworks",
329
338
  "proton",
339
+ "qapps",
330
340
  "qbusiness",
331
341
  "qconnect",
332
342
  "qldb",
@@ -391,6 +401,7 @@ ServiceName = Literal[
391
401
  "ssm",
392
402
  "ssm-contacts",
393
403
  "ssm-incidents",
404
+ "ssm-quicksetup",
394
405
  "ssm-sap",
395
406
  "sso",
396
407
  "sso-admin",
@@ -442,6 +453,7 @@ ResourceServiceName = Literal[
442
453
  "sns",
443
454
  "sqs",
444
455
  ]
456
+ PaginatorName = Literal["list_sessions"]
445
457
  RegionName = Literal[
446
458
  "ap-northeast-1",
447
459
  "ap-south-1",
@@ -25,11 +25,15 @@ __all__ = (
25
25
  "EnabledTypeType",
26
26
  "IdentityProviderTypeType",
27
27
  "InstanceTypeType",
28
+ "ListSessionsPaginatorName",
28
29
  "PortalStatusType",
29
30
  "RendererTypeType",
31
+ "SessionSortByType",
32
+ "SessionStatusType",
30
33
  "WorkSpacesWebServiceName",
31
34
  "ServiceName",
32
35
  "ResourceServiceName",
36
+ "PaginatorName",
33
37
  "RegionName",
34
38
  )
35
39
 
@@ -40,8 +44,11 @@ IdentityProviderTypeType = Literal[
40
44
  "Facebook", "Google", "LoginWithAmazon", "OIDC", "SAML", "SignInWithApple"
41
45
  ]
42
46
  InstanceTypeType = Literal["standard.large", "standard.regular", "standard.xlarge"]
47
+ ListSessionsPaginatorName = Literal["list_sessions"]
43
48
  PortalStatusType = Literal["Active", "Incomplete", "Pending"]
44
49
  RendererTypeType = Literal["AppStream"]
50
+ SessionSortByType = Literal["StartTimeAscending", "StartTimeDescending"]
51
+ SessionStatusType = Literal["Active", "Terminated"]
45
52
  WorkSpacesWebServiceName = Literal["workspaces-web"]
46
53
  ServiceName = Literal[
47
54
  "accessanalyzer",
@@ -120,7 +127,6 @@ ServiceName = Literal[
120
127
  "codeguru-security",
121
128
  "codeguruprofiler",
122
129
  "codepipeline",
123
- "codestar",
124
130
  "codestar-connections",
125
131
  "codestar-notifications",
126
132
  "cognito-identity",
@@ -158,6 +164,7 @@ ServiceName = Literal[
158
164
  "docdb-elastic",
159
165
  "drs",
160
166
  "ds",
167
+ "ds-data",
161
168
  "dynamodb",
162
169
  "dynamodbstreams",
163
170
  "ebs",
@@ -289,7 +296,6 @@ ServiceName = Literal[
289
296
  "migrationhub-config",
290
297
  "migrationhuborchestrator",
291
298
  "migrationhubstrategy",
292
- "mobile",
293
299
  "mq",
294
300
  "mturk",
295
301
  "mwaa",
@@ -314,6 +320,7 @@ ServiceName = Literal[
314
320
  "payment-cryptography-data",
315
321
  "pca-connector-ad",
316
322
  "pca-connector-scep",
323
+ "pcs",
317
324
  "personalize",
318
325
  "personalize-events",
319
326
  "personalize-runtime",
@@ -327,6 +334,7 @@ ServiceName = Literal[
327
334
  "pricing",
328
335
  "privatenetworks",
329
336
  "proton",
337
+ "qapps",
330
338
  "qbusiness",
331
339
  "qconnect",
332
340
  "qldb",
@@ -391,6 +399,7 @@ ServiceName = Literal[
391
399
  "ssm",
392
400
  "ssm-contacts",
393
401
  "ssm-incidents",
402
+ "ssm-quicksetup",
394
403
  "ssm-sap",
395
404
  "sso",
396
405
  "sso-admin",
@@ -442,6 +451,7 @@ ResourceServiceName = Literal[
442
451
  "sns",
443
452
  "sqs",
444
453
  ]
454
+ PaginatorName = Literal["list_sessions"]
445
455
  RegionName = Literal[
446
456
  "ap-northeast-1",
447
457
  "ap-south-1",
@@ -0,0 +1,61 @@
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
+ ListSessionsPaginator,
14
+ )
15
+
16
+ session = Session()
17
+ client: WorkSpacesWebClient = session.client("workspaces-web")
18
+
19
+ list_sessions_paginator: ListSessionsPaginator = client.get_paginator("list_sessions")
20
+ ```
21
+ """
22
+
23
+ import sys
24
+ from typing import Generic, Iterator, TypeVar
25
+
26
+ from botocore.paginate import PageIterator, Paginator
27
+
28
+ from .type_defs import ListSessionsRequestListSessionsPaginateTypeDef, ListSessionsResponseTypeDef
29
+
30
+ if sys.version_info >= (3, 12):
31
+ from typing import Unpack
32
+ else:
33
+ from typing_extensions import Unpack
34
+
35
+
36
+ __all__ = ("ListSessionsPaginator",)
37
+
38
+
39
+ _ItemTypeDef = TypeVar("_ItemTypeDef")
40
+
41
+
42
+ class _PageIterator(Generic[_ItemTypeDef], PageIterator):
43
+ def __iter__(self) -> Iterator[_ItemTypeDef]:
44
+ """
45
+ Proxy method to specify iterator item type.
46
+ """
47
+
48
+
49
+ class ListSessionsPaginator(Paginator):
50
+ """
51
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web.html#WorkSpacesWeb.Paginator.ListSessions)
52
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/#listsessionspaginator)
53
+ """
54
+
55
+ def paginate(
56
+ self, **kwargs: Unpack[ListSessionsRequestListSessionsPaginateTypeDef]
57
+ ) -> _PageIterator[ListSessionsResponseTypeDef]:
58
+ """
59
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web.html#WorkSpacesWeb.Paginator.ListSessions.paginate)
60
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/#listsessionspaginator)
61
+ """
@@ -0,0 +1,56 @@
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
+ ListSessionsPaginator,
14
+ )
15
+
16
+ session = Session()
17
+ client: WorkSpacesWebClient = session.client("workspaces-web")
18
+
19
+ list_sessions_paginator: ListSessionsPaginator = client.get_paginator("list_sessions")
20
+ ```
21
+ """
22
+
23
+ import sys
24
+ from typing import Generic, Iterator, TypeVar
25
+
26
+ from botocore.paginate import PageIterator, Paginator
27
+
28
+ from .type_defs import ListSessionsRequestListSessionsPaginateTypeDef, ListSessionsResponseTypeDef
29
+
30
+ if sys.version_info >= (3, 12):
31
+ from typing import Unpack
32
+ else:
33
+ from typing_extensions import Unpack
34
+
35
+ __all__ = ("ListSessionsPaginator",)
36
+
37
+ _ItemTypeDef = TypeVar("_ItemTypeDef")
38
+
39
+ class _PageIterator(Generic[_ItemTypeDef], PageIterator):
40
+ def __iter__(self) -> Iterator[_ItemTypeDef]:
41
+ """
42
+ Proxy method to specify iterator item type.
43
+ """
44
+
45
+ class ListSessionsPaginator(Paginator):
46
+ """
47
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web.html#WorkSpacesWeb.Paginator.ListSessions)
48
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/#listsessionspaginator)
49
+ """
50
+ def paginate(
51
+ self, **kwargs: Unpack[ListSessionsRequestListSessionsPaginateTypeDef]
52
+ ) -> _PageIterator[ListSessionsResponseTypeDef]:
53
+ """
54
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web.html#WorkSpacesWeb.Paginator.ListSessions.paginate)
55
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/#listsessionspaginator)
56
+ """
@@ -24,20 +24,15 @@ from .literals import (
24
24
  IdentityProviderTypeType,
25
25
  InstanceTypeType,
26
26
  PortalStatusType,
27
+ SessionSortByType,
28
+ SessionStatusType,
27
29
  )
28
30
 
29
31
  if sys.version_info >= (3, 12):
30
- from typing import Literal
32
+ from typing import Literal, NotRequired, TypedDict
31
33
  else:
32
- from typing_extensions import Literal
33
- if sys.version_info >= (3, 12):
34
- from typing import NotRequired
35
- else:
36
- from typing_extensions import NotRequired
37
- if sys.version_info >= (3, 12):
38
- from typing import TypedDict
39
- else:
40
- from typing_extensions import TypedDict
34
+ from typing_extensions import Literal, NotRequired, TypedDict
35
+
41
36
 
42
37
  __all__ = (
43
38
  "AssociateBrowserSettingsRequestRequestTypeDef",
@@ -69,6 +64,7 @@ __all__ = (
69
64
  "DisassociateTrustStoreRequestRequestTypeDef",
70
65
  "DisassociateUserAccessLoggingSettingsRequestRequestTypeDef",
71
66
  "DisassociateUserSettingsRequestRequestTypeDef",
67
+ "ExpireSessionRequestRequestTypeDef",
72
68
  "GetBrowserSettingsRequestRequestTypeDef",
73
69
  "GetIdentityProviderRequestRequestTypeDef",
74
70
  "IdentityProviderTypeDef",
@@ -78,6 +74,8 @@ __all__ = (
78
74
  "GetPortalRequestRequestTypeDef",
79
75
  "PortalTypeDef",
80
76
  "GetPortalServiceProviderMetadataRequestRequestTypeDef",
77
+ "GetSessionRequestRequestTypeDef",
78
+ "SessionTypeDef",
81
79
  "GetTrustStoreCertificateRequestRequestTypeDef",
82
80
  "GetTrustStoreRequestRequestTypeDef",
83
81
  "TrustStoreTypeDef",
@@ -93,6 +91,9 @@ __all__ = (
93
91
  "NetworkSettingsSummaryTypeDef",
94
92
  "ListPortalsRequestRequestTypeDef",
95
93
  "PortalSummaryTypeDef",
94
+ "PaginatorConfigTypeDef",
95
+ "ListSessionsRequestRequestTypeDef",
96
+ "SessionSummaryTypeDef",
96
97
  "ListTagsForResourceRequestRequestTypeDef",
97
98
  "ListTrustStoreCertificatesRequestRequestTypeDef",
98
99
  "ListTrustStoresRequestRequestTypeDef",
@@ -147,6 +148,7 @@ __all__ = (
147
148
  "UpdateNetworkSettingsResponseTypeDef",
148
149
  "GetPortalResponseTypeDef",
149
150
  "UpdatePortalResponseTypeDef",
151
+ "GetSessionResponseTypeDef",
150
152
  "GetTrustStoreResponseTypeDef",
151
153
  "GetUserAccessLoggingSettingsResponseTypeDef",
152
154
  "UpdateUserAccessLoggingSettingsResponseTypeDef",
@@ -154,11 +156,12 @@ __all__ = (
154
156
  "ListIpAccessSettingsResponseTypeDef",
155
157
  "ListNetworkSettingsResponseTypeDef",
156
158
  "ListPortalsResponseTypeDef",
159
+ "ListSessionsRequestListSessionsPaginateTypeDef",
160
+ "ListSessionsResponseTypeDef",
157
161
  "ListTrustStoresResponseTypeDef",
158
162
  "ListUserAccessLoggingSettingsResponseTypeDef",
159
163
  "UserSettingsSummaryTypeDef",
160
164
  "UserSettingsTypeDef",
161
- "CookieSynchronizationConfigurationUnionTypeDef",
162
165
  "CreateUserSettingsRequestRequestTypeDef",
163
166
  "UpdateUserSettingsRequestRequestTypeDef",
164
167
  "GetIpAccessSettingsResponseTypeDef",
@@ -364,6 +367,13 @@ DisassociateUserSettingsRequestRequestTypeDef = TypedDict(
364
367
  "portalArn": str,
365
368
  },
366
369
  )
370
+ ExpireSessionRequestRequestTypeDef = TypedDict(
371
+ "ExpireSessionRequestRequestTypeDef",
372
+ {
373
+ "portalId": str,
374
+ "sessionId": str,
375
+ },
376
+ )
367
377
  GetBrowserSettingsRequestRequestTypeDef = TypedDict(
368
378
  "GetBrowserSettingsRequestRequestTypeDef",
369
379
  {
@@ -443,6 +453,25 @@ GetPortalServiceProviderMetadataRequestRequestTypeDef = TypedDict(
443
453
  "portalArn": str,
444
454
  },
445
455
  )
456
+ GetSessionRequestRequestTypeDef = TypedDict(
457
+ "GetSessionRequestRequestTypeDef",
458
+ {
459
+ "portalId": str,
460
+ "sessionId": str,
461
+ },
462
+ )
463
+ SessionTypeDef = TypedDict(
464
+ "SessionTypeDef",
465
+ {
466
+ "clientIpAddresses": NotRequired[List[str]],
467
+ "endTime": NotRequired[datetime],
468
+ "portalArn": NotRequired[str],
469
+ "sessionId": NotRequired[str],
470
+ "startTime": NotRequired[datetime],
471
+ "status": NotRequired[SessionStatusType],
472
+ "username": NotRequired[str],
473
+ },
474
+ )
446
475
  GetTrustStoreCertificateRequestRequestTypeDef = TypedDict(
447
476
  "GetTrustStoreCertificateRequestRequestTypeDef",
448
477
  {
@@ -564,6 +593,37 @@ PortalSummaryTypeDef = TypedDict(
564
593
  "userSettingsArn": NotRequired[str],
565
594
  },
566
595
  )
596
+ PaginatorConfigTypeDef = TypedDict(
597
+ "PaginatorConfigTypeDef",
598
+ {
599
+ "MaxItems": NotRequired[int],
600
+ "PageSize": NotRequired[int],
601
+ "StartingToken": NotRequired[str],
602
+ },
603
+ )
604
+ ListSessionsRequestRequestTypeDef = TypedDict(
605
+ "ListSessionsRequestRequestTypeDef",
606
+ {
607
+ "portalId": str,
608
+ "maxResults": NotRequired[int],
609
+ "nextToken": NotRequired[str],
610
+ "sessionId": NotRequired[str],
611
+ "sortBy": NotRequired[SessionSortByType],
612
+ "status": NotRequired[SessionStatusType],
613
+ "username": NotRequired[str],
614
+ },
615
+ )
616
+ SessionSummaryTypeDef = TypedDict(
617
+ "SessionSummaryTypeDef",
618
+ {
619
+ "endTime": NotRequired[datetime],
620
+ "portalArn": NotRequired[str],
621
+ "sessionId": NotRequired[str],
622
+ "startTime": NotRequired[datetime],
623
+ "status": NotRequired[SessionStatusType],
624
+ "username": NotRequired[str],
625
+ },
626
+ )
567
627
  ListTagsForResourceRequestRequestTypeDef = TypedDict(
568
628
  "ListTagsForResourceRequestRequestTypeDef",
569
629
  {
@@ -999,6 +1059,13 @@ UpdatePortalResponseTypeDef = TypedDict(
999
1059
  "ResponseMetadata": ResponseMetadataTypeDef,
1000
1060
  },
1001
1061
  )
1062
+ GetSessionResponseTypeDef = TypedDict(
1063
+ "GetSessionResponseTypeDef",
1064
+ {
1065
+ "session": SessionTypeDef,
1066
+ "ResponseMetadata": ResponseMetadataTypeDef,
1067
+ },
1068
+ )
1002
1069
  GetTrustStoreResponseTypeDef = TypedDict(
1003
1070
  "GetTrustStoreResponseTypeDef",
1004
1071
  {
@@ -1052,6 +1119,25 @@ ListPortalsResponseTypeDef = TypedDict(
1052
1119
  "ResponseMetadata": ResponseMetadataTypeDef,
1053
1120
  },
1054
1121
  )
1122
+ ListSessionsRequestListSessionsPaginateTypeDef = TypedDict(
1123
+ "ListSessionsRequestListSessionsPaginateTypeDef",
1124
+ {
1125
+ "portalId": str,
1126
+ "sessionId": NotRequired[str],
1127
+ "sortBy": NotRequired[SessionSortByType],
1128
+ "status": NotRequired[SessionStatusType],
1129
+ "username": NotRequired[str],
1130
+ "PaginationConfig": NotRequired[PaginatorConfigTypeDef],
1131
+ },
1132
+ )
1133
+ ListSessionsResponseTypeDef = TypedDict(
1134
+ "ListSessionsResponseTypeDef",
1135
+ {
1136
+ "nextToken": str,
1137
+ "sessions": List[SessionSummaryTypeDef],
1138
+ "ResponseMetadata": ResponseMetadataTypeDef,
1139
+ },
1140
+ )
1055
1141
  ListTrustStoresResponseTypeDef = TypedDict(
1056
1142
  "ListTrustStoresResponseTypeDef",
1057
1143
  {
@@ -1105,9 +1191,6 @@ UserSettingsTypeDef = TypedDict(
1105
1191
  "uploadAllowed": NotRequired[EnabledTypeType],
1106
1192
  },
1107
1193
  )
1108
- CookieSynchronizationConfigurationUnionTypeDef = Union[
1109
- CookieSynchronizationConfigurationTypeDef, CookieSynchronizationConfigurationOutputTypeDef
1110
- ]
1111
1194
  CreateUserSettingsRequestRequestTypeDef = TypedDict(
1112
1195
  "CreateUserSettingsRequestRequestTypeDef",
1113
1196
  {
@@ -24,20 +24,14 @@ from .literals import (
24
24
  IdentityProviderTypeType,
25
25
  InstanceTypeType,
26
26
  PortalStatusType,
27
+ SessionSortByType,
28
+ SessionStatusType,
27
29
  )
28
30
 
29
31
  if sys.version_info >= (3, 12):
30
- from typing import Literal
32
+ from typing import Literal, NotRequired, TypedDict
31
33
  else:
32
- from typing_extensions import Literal
33
- if sys.version_info >= (3, 12):
34
- from typing import NotRequired
35
- else:
36
- from typing_extensions import NotRequired
37
- if sys.version_info >= (3, 12):
38
- from typing import TypedDict
39
- else:
40
- from typing_extensions import TypedDict
34
+ from typing_extensions import Literal, NotRequired, TypedDict
41
35
 
42
36
  __all__ = (
43
37
  "AssociateBrowserSettingsRequestRequestTypeDef",
@@ -69,6 +63,7 @@ __all__ = (
69
63
  "DisassociateTrustStoreRequestRequestTypeDef",
70
64
  "DisassociateUserAccessLoggingSettingsRequestRequestTypeDef",
71
65
  "DisassociateUserSettingsRequestRequestTypeDef",
66
+ "ExpireSessionRequestRequestTypeDef",
72
67
  "GetBrowserSettingsRequestRequestTypeDef",
73
68
  "GetIdentityProviderRequestRequestTypeDef",
74
69
  "IdentityProviderTypeDef",
@@ -78,6 +73,8 @@ __all__ = (
78
73
  "GetPortalRequestRequestTypeDef",
79
74
  "PortalTypeDef",
80
75
  "GetPortalServiceProviderMetadataRequestRequestTypeDef",
76
+ "GetSessionRequestRequestTypeDef",
77
+ "SessionTypeDef",
81
78
  "GetTrustStoreCertificateRequestRequestTypeDef",
82
79
  "GetTrustStoreRequestRequestTypeDef",
83
80
  "TrustStoreTypeDef",
@@ -93,6 +90,9 @@ __all__ = (
93
90
  "NetworkSettingsSummaryTypeDef",
94
91
  "ListPortalsRequestRequestTypeDef",
95
92
  "PortalSummaryTypeDef",
93
+ "PaginatorConfigTypeDef",
94
+ "ListSessionsRequestRequestTypeDef",
95
+ "SessionSummaryTypeDef",
96
96
  "ListTagsForResourceRequestRequestTypeDef",
97
97
  "ListTrustStoreCertificatesRequestRequestTypeDef",
98
98
  "ListTrustStoresRequestRequestTypeDef",
@@ -147,6 +147,7 @@ __all__ = (
147
147
  "UpdateNetworkSettingsResponseTypeDef",
148
148
  "GetPortalResponseTypeDef",
149
149
  "UpdatePortalResponseTypeDef",
150
+ "GetSessionResponseTypeDef",
150
151
  "GetTrustStoreResponseTypeDef",
151
152
  "GetUserAccessLoggingSettingsResponseTypeDef",
152
153
  "UpdateUserAccessLoggingSettingsResponseTypeDef",
@@ -154,11 +155,12 @@ __all__ = (
154
155
  "ListIpAccessSettingsResponseTypeDef",
155
156
  "ListNetworkSettingsResponseTypeDef",
156
157
  "ListPortalsResponseTypeDef",
158
+ "ListSessionsRequestListSessionsPaginateTypeDef",
159
+ "ListSessionsResponseTypeDef",
157
160
  "ListTrustStoresResponseTypeDef",
158
161
  "ListUserAccessLoggingSettingsResponseTypeDef",
159
162
  "UserSettingsSummaryTypeDef",
160
163
  "UserSettingsTypeDef",
161
- "CookieSynchronizationConfigurationUnionTypeDef",
162
164
  "CreateUserSettingsRequestRequestTypeDef",
163
165
  "UpdateUserSettingsRequestRequestTypeDef",
164
166
  "GetIpAccessSettingsResponseTypeDef",
@@ -364,6 +366,13 @@ DisassociateUserSettingsRequestRequestTypeDef = TypedDict(
364
366
  "portalArn": str,
365
367
  },
366
368
  )
369
+ ExpireSessionRequestRequestTypeDef = TypedDict(
370
+ "ExpireSessionRequestRequestTypeDef",
371
+ {
372
+ "portalId": str,
373
+ "sessionId": str,
374
+ },
375
+ )
367
376
  GetBrowserSettingsRequestRequestTypeDef = TypedDict(
368
377
  "GetBrowserSettingsRequestRequestTypeDef",
369
378
  {
@@ -443,6 +452,25 @@ GetPortalServiceProviderMetadataRequestRequestTypeDef = TypedDict(
443
452
  "portalArn": str,
444
453
  },
445
454
  )
455
+ GetSessionRequestRequestTypeDef = TypedDict(
456
+ "GetSessionRequestRequestTypeDef",
457
+ {
458
+ "portalId": str,
459
+ "sessionId": str,
460
+ },
461
+ )
462
+ SessionTypeDef = TypedDict(
463
+ "SessionTypeDef",
464
+ {
465
+ "clientIpAddresses": NotRequired[List[str]],
466
+ "endTime": NotRequired[datetime],
467
+ "portalArn": NotRequired[str],
468
+ "sessionId": NotRequired[str],
469
+ "startTime": NotRequired[datetime],
470
+ "status": NotRequired[SessionStatusType],
471
+ "username": NotRequired[str],
472
+ },
473
+ )
446
474
  GetTrustStoreCertificateRequestRequestTypeDef = TypedDict(
447
475
  "GetTrustStoreCertificateRequestRequestTypeDef",
448
476
  {
@@ -564,6 +592,37 @@ PortalSummaryTypeDef = TypedDict(
564
592
  "userSettingsArn": NotRequired[str],
565
593
  },
566
594
  )
595
+ PaginatorConfigTypeDef = TypedDict(
596
+ "PaginatorConfigTypeDef",
597
+ {
598
+ "MaxItems": NotRequired[int],
599
+ "PageSize": NotRequired[int],
600
+ "StartingToken": NotRequired[str],
601
+ },
602
+ )
603
+ ListSessionsRequestRequestTypeDef = TypedDict(
604
+ "ListSessionsRequestRequestTypeDef",
605
+ {
606
+ "portalId": str,
607
+ "maxResults": NotRequired[int],
608
+ "nextToken": NotRequired[str],
609
+ "sessionId": NotRequired[str],
610
+ "sortBy": NotRequired[SessionSortByType],
611
+ "status": NotRequired[SessionStatusType],
612
+ "username": NotRequired[str],
613
+ },
614
+ )
615
+ SessionSummaryTypeDef = TypedDict(
616
+ "SessionSummaryTypeDef",
617
+ {
618
+ "endTime": NotRequired[datetime],
619
+ "portalArn": NotRequired[str],
620
+ "sessionId": NotRequired[str],
621
+ "startTime": NotRequired[datetime],
622
+ "status": NotRequired[SessionStatusType],
623
+ "username": NotRequired[str],
624
+ },
625
+ )
567
626
  ListTagsForResourceRequestRequestTypeDef = TypedDict(
568
627
  "ListTagsForResourceRequestRequestTypeDef",
569
628
  {
@@ -999,6 +1058,13 @@ UpdatePortalResponseTypeDef = TypedDict(
999
1058
  "ResponseMetadata": ResponseMetadataTypeDef,
1000
1059
  },
1001
1060
  )
1061
+ GetSessionResponseTypeDef = TypedDict(
1062
+ "GetSessionResponseTypeDef",
1063
+ {
1064
+ "session": SessionTypeDef,
1065
+ "ResponseMetadata": ResponseMetadataTypeDef,
1066
+ },
1067
+ )
1002
1068
  GetTrustStoreResponseTypeDef = TypedDict(
1003
1069
  "GetTrustStoreResponseTypeDef",
1004
1070
  {
@@ -1052,6 +1118,25 @@ ListPortalsResponseTypeDef = TypedDict(
1052
1118
  "ResponseMetadata": ResponseMetadataTypeDef,
1053
1119
  },
1054
1120
  )
1121
+ ListSessionsRequestListSessionsPaginateTypeDef = TypedDict(
1122
+ "ListSessionsRequestListSessionsPaginateTypeDef",
1123
+ {
1124
+ "portalId": str,
1125
+ "sessionId": NotRequired[str],
1126
+ "sortBy": NotRequired[SessionSortByType],
1127
+ "status": NotRequired[SessionStatusType],
1128
+ "username": NotRequired[str],
1129
+ "PaginationConfig": NotRequired[PaginatorConfigTypeDef],
1130
+ },
1131
+ )
1132
+ ListSessionsResponseTypeDef = TypedDict(
1133
+ "ListSessionsResponseTypeDef",
1134
+ {
1135
+ "nextToken": str,
1136
+ "sessions": List[SessionSummaryTypeDef],
1137
+ "ResponseMetadata": ResponseMetadataTypeDef,
1138
+ },
1139
+ )
1055
1140
  ListTrustStoresResponseTypeDef = TypedDict(
1056
1141
  "ListTrustStoresResponseTypeDef",
1057
1142
  {
@@ -1105,9 +1190,6 @@ UserSettingsTypeDef = TypedDict(
1105
1190
  "uploadAllowed": NotRequired[EnabledTypeType],
1106
1191
  },
1107
1192
  )
1108
- CookieSynchronizationConfigurationUnionTypeDef = Union[
1109
- CookieSynchronizationConfigurationTypeDef, CookieSynchronizationConfigurationOutputTypeDef
1110
- ]
1111
1193
  CreateUserSettingsRequestRequestTypeDef = TypedDict(
1112
1194
  "CreateUserSettingsRequestRequestTypeDef",
1113
1195
  {
@@ -2,4 +2,4 @@
2
2
  Source of truth for version.
3
3
  """
4
4
 
5
- __version__ = "1.34.132"
5
+ __version__ = "1.35.23"