@aws-sdk/client-workspaces-web 3.654.0 → 3.658.0
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.
- package/README.md +31 -6
- package/dist-cjs/index.js +207 -0
- package/dist-es/WorkSpacesWeb.js +6 -0
- package/dist-es/commands/ExpireSessionCommand.js +22 -0
- package/dist-es/commands/GetSessionCommand.js +23 -0
- package/dist-es/commands/ListSessionsCommand.js +23 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +29 -0
- package/dist-es/pagination/ListSessionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +109 -0
- package/dist-types/WorkSpacesWeb.d.ts +28 -6
- package/dist-types/WorkSpacesWebClient.d.ts +12 -8
- package/dist-types/commands/CreateUserAccessLoggingSettingsCommand.d.ts +2 -1
- package/dist-types/commands/ExpireSessionCommand.d.ts +85 -0
- package/dist-types/commands/GetSessionCommand.d.ts +97 -0
- package/dist-types/commands/ListSessionsCommand.d.ts +102 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +7 -6
- package/dist-types/models/models_0.d.ts +352 -75
- package/dist-types/pagination/ListSessionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/WorkSpacesWeb.d.ts +51 -0
- package/dist-types/ts3.4/WorkSpacesWebClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/ExpireSessionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +65 -0
- package/dist-types/ts3.4/pagination/ListSessionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -6,12 +6,13 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript WorkSpacesWeb Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<p>Amazon WorkSpaces Secure Browser is a low cost, fully managed WorkSpace built
|
|
10
|
-
secure, web-based workloads. WorkSpaces Secure Browser makes it
|
|
11
|
-
their employees with access to internal websites and
|
|
12
|
-
administrative burden of appliances or specialized client
|
|
13
|
-
simple policy tools tailored for user
|
|
14
|
-
capacity management, scaling, and
|
|
9
|
+
<p>Amazon WorkSpaces Secure Browser is a low cost, fully managed WorkSpace built
|
|
10
|
+
specifically to facilitate secure, web-based workloads. WorkSpaces Secure Browser makes it
|
|
11
|
+
easy for customers to safely provide their employees with access to internal websites and
|
|
12
|
+
SaaS web applications without the administrative burden of appliances or specialized client
|
|
13
|
+
software. WorkSpaces Secure Browser provides simple policy tools tailored for user
|
|
14
|
+
interactions, while offloading common tasks like capacity management, scaling, and
|
|
15
|
+
maintaining browser images.</p>
|
|
15
16
|
|
|
16
17
|
## Installing
|
|
17
18
|
|
|
@@ -431,6 +432,14 @@ DisassociateUserSettings
|
|
|
431
432
|
|
|
432
433
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/workspaces-web/command/DisassociateUserSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces-web/Interface/DisassociateUserSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces-web/Interface/DisassociateUserSettingsCommandOutput/)
|
|
433
434
|
|
|
435
|
+
</details>
|
|
436
|
+
<details>
|
|
437
|
+
<summary>
|
|
438
|
+
ExpireSession
|
|
439
|
+
</summary>
|
|
440
|
+
|
|
441
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/workspaces-web/command/ExpireSessionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces-web/Interface/ExpireSessionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces-web/Interface/ExpireSessionCommandOutput/)
|
|
442
|
+
|
|
434
443
|
</details>
|
|
435
444
|
<details>
|
|
436
445
|
<summary>
|
|
@@ -479,6 +488,14 @@ GetPortalServiceProviderMetadata
|
|
|
479
488
|
|
|
480
489
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/workspaces-web/command/GetPortalServiceProviderMetadataCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces-web/Interface/GetPortalServiceProviderMetadataCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces-web/Interface/GetPortalServiceProviderMetadataCommandOutput/)
|
|
481
490
|
|
|
491
|
+
</details>
|
|
492
|
+
<details>
|
|
493
|
+
<summary>
|
|
494
|
+
GetSession
|
|
495
|
+
</summary>
|
|
496
|
+
|
|
497
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/workspaces-web/command/GetSessionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces-web/Interface/GetSessionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces-web/Interface/GetSessionCommandOutput/)
|
|
498
|
+
|
|
482
499
|
</details>
|
|
483
500
|
<details>
|
|
484
501
|
<summary>
|
|
@@ -551,6 +568,14 @@ ListPortals
|
|
|
551
568
|
|
|
552
569
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/workspaces-web/command/ListPortalsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces-web/Interface/ListPortalsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces-web/Interface/ListPortalsCommandOutput/)
|
|
553
570
|
|
|
571
|
+
</details>
|
|
572
|
+
<details>
|
|
573
|
+
<summary>
|
|
574
|
+
ListSessions
|
|
575
|
+
</summary>
|
|
576
|
+
|
|
577
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/workspaces-web/command/ListSessionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces-web/Interface/ListSessionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-workspaces-web/Interface/ListSessionsCommandOutput/)
|
|
578
|
+
|
|
554
579
|
</details>
|
|
555
580
|
<details>
|
|
556
581
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -65,6 +65,7 @@ __export(src_exports, {
|
|
|
65
65
|
DisassociateUserAccessLoggingSettingsCommand: () => DisassociateUserAccessLoggingSettingsCommand,
|
|
66
66
|
DisassociateUserSettingsCommand: () => DisassociateUserSettingsCommand,
|
|
67
67
|
EnabledType: () => EnabledType,
|
|
68
|
+
ExpireSessionCommand: () => ExpireSessionCommand,
|
|
68
69
|
GetBrowserSettingsCommand: () => GetBrowserSettingsCommand,
|
|
69
70
|
GetBrowserSettingsResponseFilterSensitiveLog: () => GetBrowserSettingsResponseFilterSensitiveLog,
|
|
70
71
|
GetIdentityProviderCommand: () => GetIdentityProviderCommand,
|
|
@@ -75,6 +76,8 @@ __export(src_exports, {
|
|
|
75
76
|
GetPortalCommand: () => GetPortalCommand,
|
|
76
77
|
GetPortalResponseFilterSensitiveLog: () => GetPortalResponseFilterSensitiveLog,
|
|
77
78
|
GetPortalServiceProviderMetadataCommand: () => GetPortalServiceProviderMetadataCommand,
|
|
79
|
+
GetSessionCommand: () => GetSessionCommand,
|
|
80
|
+
GetSessionResponseFilterSensitiveLog: () => GetSessionResponseFilterSensitiveLog,
|
|
78
81
|
GetTrustStoreCertificateCommand: () => GetTrustStoreCertificateCommand,
|
|
79
82
|
GetTrustStoreCommand: () => GetTrustStoreCommand,
|
|
80
83
|
GetUserAccessLoggingSettingsCommand: () => GetUserAccessLoggingSettingsCommand,
|
|
@@ -95,6 +98,9 @@ __export(src_exports, {
|
|
|
95
98
|
ListNetworkSettingsCommand: () => ListNetworkSettingsCommand,
|
|
96
99
|
ListPortalsCommand: () => ListPortalsCommand,
|
|
97
100
|
ListPortalsResponseFilterSensitiveLog: () => ListPortalsResponseFilterSensitiveLog,
|
|
101
|
+
ListSessionsCommand: () => ListSessionsCommand,
|
|
102
|
+
ListSessionsRequestFilterSensitiveLog: () => ListSessionsRequestFilterSensitiveLog,
|
|
103
|
+
ListSessionsResponseFilterSensitiveLog: () => ListSessionsResponseFilterSensitiveLog,
|
|
98
104
|
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
99
105
|
ListTagsForResourceResponseFilterSensitiveLog: () => ListTagsForResourceResponseFilterSensitiveLog,
|
|
100
106
|
ListTrustStoreCertificatesCommand: () => ListTrustStoreCertificatesCommand,
|
|
@@ -108,6 +114,10 @@ __export(src_exports, {
|
|
|
108
114
|
RendererType: () => RendererType,
|
|
109
115
|
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
110
116
|
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
117
|
+
SessionFilterSensitiveLog: () => SessionFilterSensitiveLog,
|
|
118
|
+
SessionSortBy: () => SessionSortBy,
|
|
119
|
+
SessionStatus: () => SessionStatus,
|
|
120
|
+
SessionSummaryFilterSensitiveLog: () => SessionSummaryFilterSensitiveLog,
|
|
111
121
|
TagFilterSensitiveLog: () => TagFilterSensitiveLog,
|
|
112
122
|
TagResourceCommand: () => TagResourceCommand,
|
|
113
123
|
TagResourceRequestFilterSensitiveLog: () => TagResourceRequestFilterSensitiveLog,
|
|
@@ -147,6 +157,7 @@ __export(src_exports, {
|
|
|
147
157
|
paginateListIpAccessSettings: () => paginateListIpAccessSettings,
|
|
148
158
|
paginateListNetworkSettings: () => paginateListNetworkSettings,
|
|
149
159
|
paginateListPortals: () => paginateListPortals,
|
|
160
|
+
paginateListSessions: () => paginateListSessions,
|
|
150
161
|
paginateListTrustStoreCertificates: () => paginateListTrustStoreCertificates,
|
|
151
162
|
paginateListTrustStores: () => paginateListTrustStores,
|
|
152
163
|
paginateListUserAccessLoggingSettings: () => paginateListUserAccessLoggingSettings,
|
|
@@ -466,6 +477,10 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
|
|
|
466
477
|
};
|
|
467
478
|
__name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
|
|
468
479
|
var ServiceQuotaExceededException = _ServiceQuotaExceededException;
|
|
480
|
+
var SessionStatus = {
|
|
481
|
+
ACTIVE: "Active",
|
|
482
|
+
TERMINATED: "Terminated"
|
|
483
|
+
};
|
|
469
484
|
var IdentityProviderType = {
|
|
470
485
|
Facebook: "Facebook",
|
|
471
486
|
Google: "Google",
|
|
@@ -474,6 +489,10 @@ var IdentityProviderType = {
|
|
|
474
489
|
SAML: "SAML",
|
|
475
490
|
SignInWithApple: "SignInWithApple"
|
|
476
491
|
};
|
|
492
|
+
var SessionSortBy = {
|
|
493
|
+
START_TIME_ASCENDING: "StartTimeAscending",
|
|
494
|
+
START_TIME_DESCENDING: "StartTimeDescending"
|
|
495
|
+
};
|
|
477
496
|
var BrowserType = {
|
|
478
497
|
CHROME: "Chrome"
|
|
479
498
|
};
|
|
@@ -538,6 +557,15 @@ var UpdateBrowserSettingsResponseFilterSensitiveLog = /* @__PURE__ */ __name((ob
|
|
|
538
557
|
...obj,
|
|
539
558
|
...obj.browserSettings && { browserSettings: BrowserSettingsFilterSensitiveLog(obj.browserSettings) }
|
|
540
559
|
}), "UpdateBrowserSettingsResponseFilterSensitiveLog");
|
|
560
|
+
var SessionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
561
|
+
...obj,
|
|
562
|
+
...obj.username && { username: import_smithy_client.SENSITIVE_STRING },
|
|
563
|
+
...obj.clientIpAddresses && { clientIpAddresses: import_smithy_client.SENSITIVE_STRING }
|
|
564
|
+
}), "SessionFilterSensitiveLog");
|
|
565
|
+
var GetSessionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
566
|
+
...obj,
|
|
567
|
+
...obj.session && { session: SessionFilterSensitiveLog(obj.session) }
|
|
568
|
+
}), "GetSessionResponseFilterSensitiveLog");
|
|
541
569
|
var CreateIdentityProviderRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
542
570
|
...obj,
|
|
543
571
|
...obj.identityProviderName && { identityProviderName: import_smithy_client.SENSITIVE_STRING },
|
|
@@ -615,6 +643,18 @@ var UpdateIpAccessSettingsResponseFilterSensitiveLog = /* @__PURE__ */ __name((o
|
|
|
615
643
|
...obj,
|
|
616
644
|
...obj.ipAccessSettings && { ipAccessSettings: IpAccessSettingsFilterSensitiveLog(obj.ipAccessSettings) }
|
|
617
645
|
}), "UpdateIpAccessSettingsResponseFilterSensitiveLog");
|
|
646
|
+
var ListSessionsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
647
|
+
...obj,
|
|
648
|
+
...obj.username && { username: import_smithy_client.SENSITIVE_STRING }
|
|
649
|
+
}), "ListSessionsRequestFilterSensitiveLog");
|
|
650
|
+
var SessionSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
651
|
+
...obj,
|
|
652
|
+
...obj.username && { username: import_smithy_client.SENSITIVE_STRING }
|
|
653
|
+
}), "SessionSummaryFilterSensitiveLog");
|
|
654
|
+
var ListSessionsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
655
|
+
...obj,
|
|
656
|
+
...obj.sessions && { sessions: obj.sessions.map((item) => SessionSummaryFilterSensitiveLog(item)) }
|
|
657
|
+
}), "ListSessionsResponseFilterSensitiveLog");
|
|
618
658
|
var ListTagsForResourceResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
619
659
|
...obj,
|
|
620
660
|
...obj.tags && { tags: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -1077,6 +1117,16 @@ var se_DisassociateUserSettingsCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
1077
1117
|
b.m("DELETE").h(headers).b(body);
|
|
1078
1118
|
return b.build();
|
|
1079
1119
|
}, "se_DisassociateUserSettingsCommand");
|
|
1120
|
+
var se_ExpireSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1121
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1122
|
+
const headers = {};
|
|
1123
|
+
b.bp("/portals/{portalId}/sessions/{sessionId}");
|
|
1124
|
+
b.p("portalId", () => input.portalId, "{portalId}", false);
|
|
1125
|
+
b.p("sessionId", () => input.sessionId, "{sessionId}", false);
|
|
1126
|
+
let body;
|
|
1127
|
+
b.m("DELETE").h(headers).b(body);
|
|
1128
|
+
return b.build();
|
|
1129
|
+
}, "se_ExpireSessionCommand");
|
|
1080
1130
|
var se_GetBrowserSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1081
1131
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1082
1132
|
const headers = {};
|
|
@@ -1131,6 +1181,16 @@ var se_GetPortalServiceProviderMetadataCommand = /* @__PURE__ */ __name(async (i
|
|
|
1131
1181
|
b.m("GET").h(headers).b(body);
|
|
1132
1182
|
return b.build();
|
|
1133
1183
|
}, "se_GetPortalServiceProviderMetadataCommand");
|
|
1184
|
+
var se_GetSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1185
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1186
|
+
const headers = {};
|
|
1187
|
+
b.bp("/portals/{portalId}/sessions/{sessionId}");
|
|
1188
|
+
b.p("portalId", () => input.portalId, "{portalId}", false);
|
|
1189
|
+
b.p("sessionId", () => input.sessionId, "{sessionId}", false);
|
|
1190
|
+
let body;
|
|
1191
|
+
b.m("GET").h(headers).b(body);
|
|
1192
|
+
return b.build();
|
|
1193
|
+
}, "se_GetSessionCommand");
|
|
1134
1194
|
var se_GetTrustStoreCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1135
1195
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1136
1196
|
const headers = {};
|
|
@@ -1236,6 +1296,23 @@ var se_ListPortalsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1236
1296
|
b.m("GET").h(headers).q(query).b(body);
|
|
1237
1297
|
return b.build();
|
|
1238
1298
|
}, "se_ListPortalsCommand");
|
|
1299
|
+
var se_ListSessionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1300
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1301
|
+
const headers = {};
|
|
1302
|
+
b.bp("/portals/{portalId}/sessions");
|
|
1303
|
+
b.p("portalId", () => input.portalId, "{portalId}", false);
|
|
1304
|
+
const query = (0, import_smithy_client.map)({
|
|
1305
|
+
[_u]: [, input[_u]],
|
|
1306
|
+
[_sI]: [, input[_sI]],
|
|
1307
|
+
[_sB]: [, input[_sB]],
|
|
1308
|
+
[_s]: [, input[_s]],
|
|
1309
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1310
|
+
[_nT]: [, input[_nT]]
|
|
1311
|
+
});
|
|
1312
|
+
let body;
|
|
1313
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1314
|
+
return b.build();
|
|
1315
|
+
}, "se_ListSessionsCommand");
|
|
1239
1316
|
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1240
1317
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1241
1318
|
const headers = {};
|
|
@@ -1827,6 +1904,16 @@ var de_DisassociateUserSettingsCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
1827
1904
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1828
1905
|
return contents;
|
|
1829
1906
|
}, "de_DisassociateUserSettingsCommand");
|
|
1907
|
+
var de_ExpireSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1908
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1909
|
+
return de_CommandError(output, context);
|
|
1910
|
+
}
|
|
1911
|
+
const contents = (0, import_smithy_client.map)({
|
|
1912
|
+
$metadata: deserializeMetadata(output)
|
|
1913
|
+
});
|
|
1914
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1915
|
+
return contents;
|
|
1916
|
+
}, "de_ExpireSessionCommand");
|
|
1830
1917
|
var de_GetBrowserSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1831
1918
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1832
1919
|
return de_CommandError(output, context);
|
|
@@ -1912,6 +1999,20 @@ var de_GetPortalServiceProviderMetadataCommand = /* @__PURE__ */ __name(async (o
|
|
|
1912
1999
|
Object.assign(contents, doc);
|
|
1913
2000
|
return contents;
|
|
1914
2001
|
}, "de_GetPortalServiceProviderMetadataCommand");
|
|
2002
|
+
var de_GetSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2003
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2004
|
+
return de_CommandError(output, context);
|
|
2005
|
+
}
|
|
2006
|
+
const contents = (0, import_smithy_client.map)({
|
|
2007
|
+
$metadata: deserializeMetadata(output)
|
|
2008
|
+
});
|
|
2009
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2010
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2011
|
+
session: (_) => de_Session(_, context)
|
|
2012
|
+
});
|
|
2013
|
+
Object.assign(contents, doc);
|
|
2014
|
+
return contents;
|
|
2015
|
+
}, "de_GetSessionCommand");
|
|
1915
2016
|
var de_GetTrustStoreCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1916
2017
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1917
2018
|
return de_CommandError(output, context);
|
|
@@ -2044,6 +2145,21 @@ var de_ListPortalsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2044
2145
|
Object.assign(contents, doc);
|
|
2045
2146
|
return contents;
|
|
2046
2147
|
}, "de_ListPortalsCommand");
|
|
2148
|
+
var de_ListSessionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2149
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2150
|
+
return de_CommandError(output, context);
|
|
2151
|
+
}
|
|
2152
|
+
const contents = (0, import_smithy_client.map)({
|
|
2153
|
+
$metadata: deserializeMetadata(output)
|
|
2154
|
+
});
|
|
2155
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2156
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2157
|
+
nextToken: import_smithy_client.expectString,
|
|
2158
|
+
sessions: (_) => de_SessionSummaryList(_, context)
|
|
2159
|
+
});
|
|
2160
|
+
Object.assign(contents, doc);
|
|
2161
|
+
return contents;
|
|
2162
|
+
}, "de_ListSessionsCommand");
|
|
2047
2163
|
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2048
2164
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2049
2165
|
return de_CommandError(output, context);
|
|
@@ -2518,6 +2634,33 @@ var de_PortalSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
2518
2634
|
userSettingsArn: import_smithy_client.expectString
|
|
2519
2635
|
});
|
|
2520
2636
|
}, "de_PortalSummary");
|
|
2637
|
+
var de_Session = /* @__PURE__ */ __name((output, context) => {
|
|
2638
|
+
return (0, import_smithy_client.take)(output, {
|
|
2639
|
+
clientIpAddresses: import_smithy_client._json,
|
|
2640
|
+
endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2641
|
+
portalArn: import_smithy_client.expectString,
|
|
2642
|
+
sessionId: import_smithy_client.expectString,
|
|
2643
|
+
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2644
|
+
status: import_smithy_client.expectString,
|
|
2645
|
+
username: import_smithy_client.expectString
|
|
2646
|
+
});
|
|
2647
|
+
}, "de_Session");
|
|
2648
|
+
var de_SessionSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2649
|
+
return (0, import_smithy_client.take)(output, {
|
|
2650
|
+
endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2651
|
+
portalArn: import_smithy_client.expectString,
|
|
2652
|
+
sessionId: import_smithy_client.expectString,
|
|
2653
|
+
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2654
|
+
status: import_smithy_client.expectString,
|
|
2655
|
+
username: import_smithy_client.expectString
|
|
2656
|
+
});
|
|
2657
|
+
}, "de_SessionSummary");
|
|
2658
|
+
var de_SessionSummaryList = /* @__PURE__ */ __name((output, context) => {
|
|
2659
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2660
|
+
return de_SessionSummary(entry, context);
|
|
2661
|
+
});
|
|
2662
|
+
return retVal;
|
|
2663
|
+
}, "de_SessionSummaryList");
|
|
2521
2664
|
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
2522
2665
|
httpStatusCode: output.statusCode,
|
|
2523
2666
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -2531,9 +2674,13 @@ var _nSA = "networkSettingsArn";
|
|
|
2531
2674
|
var _nT = "nextToken";
|
|
2532
2675
|
var _rAS = "retryAfterSeconds";
|
|
2533
2676
|
var _ra = "retry-after";
|
|
2677
|
+
var _s = "status";
|
|
2678
|
+
var _sB = "sortBy";
|
|
2679
|
+
var _sI = "sessionId";
|
|
2534
2680
|
var _t = "thumbprint";
|
|
2535
2681
|
var _tK = "tagKeys";
|
|
2536
2682
|
var _tSA = "trustStoreArn";
|
|
2683
|
+
var _u = "username";
|
|
2537
2684
|
var _uALSA = "userAccessLoggingSettingsArn";
|
|
2538
2685
|
var _uSA = "userSettingsArn";
|
|
2539
2686
|
|
|
@@ -2926,6 +3073,20 @@ var _DisassociateUserSettingsCommand = class _DisassociateUserSettingsCommand ex
|
|
|
2926
3073
|
__name(_DisassociateUserSettingsCommand, "DisassociateUserSettingsCommand");
|
|
2927
3074
|
var DisassociateUserSettingsCommand = _DisassociateUserSettingsCommand;
|
|
2928
3075
|
|
|
3076
|
+
// src/commands/ExpireSessionCommand.ts
|
|
3077
|
+
|
|
3078
|
+
|
|
3079
|
+
|
|
3080
|
+
var _ExpireSessionCommand = class _ExpireSessionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3081
|
+
return [
|
|
3082
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3083
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3084
|
+
];
|
|
3085
|
+
}).s("AWSErmineControlPlaneService", "ExpireSession", {}).n("WorkSpacesWebClient", "ExpireSessionCommand").f(void 0, void 0).ser(se_ExpireSessionCommand).de(de_ExpireSessionCommand).build() {
|
|
3086
|
+
};
|
|
3087
|
+
__name(_ExpireSessionCommand, "ExpireSessionCommand");
|
|
3088
|
+
var ExpireSessionCommand = _ExpireSessionCommand;
|
|
3089
|
+
|
|
2929
3090
|
// src/commands/GetBrowserSettingsCommand.ts
|
|
2930
3091
|
|
|
2931
3092
|
|
|
@@ -3010,6 +3171,20 @@ var _GetPortalServiceProviderMetadataCommand = class _GetPortalServiceProviderMe
|
|
|
3010
3171
|
__name(_GetPortalServiceProviderMetadataCommand, "GetPortalServiceProviderMetadataCommand");
|
|
3011
3172
|
var GetPortalServiceProviderMetadataCommand = _GetPortalServiceProviderMetadataCommand;
|
|
3012
3173
|
|
|
3174
|
+
// src/commands/GetSessionCommand.ts
|
|
3175
|
+
|
|
3176
|
+
|
|
3177
|
+
|
|
3178
|
+
var _GetSessionCommand = class _GetSessionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3179
|
+
return [
|
|
3180
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3181
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3182
|
+
];
|
|
3183
|
+
}).s("AWSErmineControlPlaneService", "GetSession", {}).n("WorkSpacesWebClient", "GetSessionCommand").f(void 0, GetSessionResponseFilterSensitiveLog).ser(se_GetSessionCommand).de(de_GetSessionCommand).build() {
|
|
3184
|
+
};
|
|
3185
|
+
__name(_GetSessionCommand, "GetSessionCommand");
|
|
3186
|
+
var GetSessionCommand = _GetSessionCommand;
|
|
3187
|
+
|
|
3013
3188
|
// src/commands/GetTrustStoreCertificateCommand.ts
|
|
3014
3189
|
|
|
3015
3190
|
|
|
@@ -3136,6 +3311,20 @@ var _ListPortalsCommand = class _ListPortalsCommand extends import_smithy_client
|
|
|
3136
3311
|
__name(_ListPortalsCommand, "ListPortalsCommand");
|
|
3137
3312
|
var ListPortalsCommand = _ListPortalsCommand;
|
|
3138
3313
|
|
|
3314
|
+
// src/commands/ListSessionsCommand.ts
|
|
3315
|
+
|
|
3316
|
+
|
|
3317
|
+
|
|
3318
|
+
var _ListSessionsCommand = class _ListSessionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3319
|
+
return [
|
|
3320
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3321
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3322
|
+
];
|
|
3323
|
+
}).s("AWSErmineControlPlaneService", "ListSessions", {}).n("WorkSpacesWebClient", "ListSessionsCommand").f(ListSessionsRequestFilterSensitiveLog, ListSessionsResponseFilterSensitiveLog).ser(se_ListSessionsCommand).de(de_ListSessionsCommand).build() {
|
|
3324
|
+
};
|
|
3325
|
+
__name(_ListSessionsCommand, "ListSessionsCommand");
|
|
3326
|
+
var ListSessionsCommand = _ListSessionsCommand;
|
|
3327
|
+
|
|
3139
3328
|
// src/commands/ListTagsForResourceCommand.ts
|
|
3140
3329
|
|
|
3141
3330
|
|
|
@@ -3376,12 +3565,14 @@ var commands = {
|
|
|
3376
3565
|
DisassociateTrustStoreCommand,
|
|
3377
3566
|
DisassociateUserAccessLoggingSettingsCommand,
|
|
3378
3567
|
DisassociateUserSettingsCommand,
|
|
3568
|
+
ExpireSessionCommand,
|
|
3379
3569
|
GetBrowserSettingsCommand,
|
|
3380
3570
|
GetIdentityProviderCommand,
|
|
3381
3571
|
GetIpAccessSettingsCommand,
|
|
3382
3572
|
GetNetworkSettingsCommand,
|
|
3383
3573
|
GetPortalCommand,
|
|
3384
3574
|
GetPortalServiceProviderMetadataCommand,
|
|
3575
|
+
GetSessionCommand,
|
|
3385
3576
|
GetTrustStoreCommand,
|
|
3386
3577
|
GetTrustStoreCertificateCommand,
|
|
3387
3578
|
GetUserAccessLoggingSettingsCommand,
|
|
@@ -3391,6 +3582,7 @@ var commands = {
|
|
|
3391
3582
|
ListIpAccessSettingsCommand,
|
|
3392
3583
|
ListNetworkSettingsCommand,
|
|
3393
3584
|
ListPortalsCommand,
|
|
3585
|
+
ListSessionsCommand,
|
|
3394
3586
|
ListTagsForResourceCommand,
|
|
3395
3587
|
ListTrustStoreCertificatesCommand,
|
|
3396
3588
|
ListTrustStoresCommand,
|
|
@@ -3433,6 +3625,10 @@ var paginateListNetworkSettings = (0, import_core.createPaginator)(WorkSpacesWeb
|
|
|
3433
3625
|
|
|
3434
3626
|
var paginateListPortals = (0, import_core.createPaginator)(WorkSpacesWebClient, ListPortalsCommand, "nextToken", "nextToken", "maxResults");
|
|
3435
3627
|
|
|
3628
|
+
// src/pagination/ListSessionsPaginator.ts
|
|
3629
|
+
|
|
3630
|
+
var paginateListSessions = (0, import_core.createPaginator)(WorkSpacesWebClient, ListSessionsCommand, "nextToken", "nextToken", "maxResults");
|
|
3631
|
+
|
|
3436
3632
|
// src/pagination/ListTrustStoreCertificatesPaginator.ts
|
|
3437
3633
|
|
|
3438
3634
|
var paginateListTrustStoreCertificates = (0, import_core.createPaginator)(WorkSpacesWebClient, ListTrustStoreCertificatesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -3484,12 +3680,14 @@ var paginateListUserSettings = (0, import_core.createPaginator)(WorkSpacesWebCli
|
|
|
3484
3680
|
DisassociateTrustStoreCommand,
|
|
3485
3681
|
DisassociateUserAccessLoggingSettingsCommand,
|
|
3486
3682
|
DisassociateUserSettingsCommand,
|
|
3683
|
+
ExpireSessionCommand,
|
|
3487
3684
|
GetBrowserSettingsCommand,
|
|
3488
3685
|
GetIdentityProviderCommand,
|
|
3489
3686
|
GetIpAccessSettingsCommand,
|
|
3490
3687
|
GetNetworkSettingsCommand,
|
|
3491
3688
|
GetPortalCommand,
|
|
3492
3689
|
GetPortalServiceProviderMetadataCommand,
|
|
3690
|
+
GetSessionCommand,
|
|
3493
3691
|
GetTrustStoreCertificateCommand,
|
|
3494
3692
|
GetTrustStoreCommand,
|
|
3495
3693
|
GetUserAccessLoggingSettingsCommand,
|
|
@@ -3499,6 +3697,7 @@ var paginateListUserSettings = (0, import_core.createPaginator)(WorkSpacesWebCli
|
|
|
3499
3697
|
ListIpAccessSettingsCommand,
|
|
3500
3698
|
ListNetworkSettingsCommand,
|
|
3501
3699
|
ListPortalsCommand,
|
|
3700
|
+
ListSessionsCommand,
|
|
3502
3701
|
ListTagsForResourceCommand,
|
|
3503
3702
|
ListTrustStoreCertificatesCommand,
|
|
3504
3703
|
ListTrustStoresCommand,
|
|
@@ -3519,6 +3718,7 @@ var paginateListUserSettings = (0, import_core.createPaginator)(WorkSpacesWebCli
|
|
|
3519
3718
|
paginateListIpAccessSettings,
|
|
3520
3719
|
paginateListNetworkSettings,
|
|
3521
3720
|
paginateListPortals,
|
|
3721
|
+
paginateListSessions,
|
|
3522
3722
|
paginateListTrustStoreCertificates,
|
|
3523
3723
|
paginateListTrustStores,
|
|
3524
3724
|
paginateListUserAccessLoggingSettings,
|
|
@@ -3532,7 +3732,9 @@ var paginateListUserSettings = (0, import_core.createPaginator)(WorkSpacesWebCli
|
|
|
3532
3732
|
ValidationException,
|
|
3533
3733
|
AuthenticationType,
|
|
3534
3734
|
ServiceQuotaExceededException,
|
|
3735
|
+
SessionStatus,
|
|
3535
3736
|
IdentityProviderType,
|
|
3737
|
+
SessionSortBy,
|
|
3536
3738
|
BrowserType,
|
|
3537
3739
|
_InstanceType,
|
|
3538
3740
|
PortalStatus,
|
|
@@ -3545,6 +3747,8 @@ var paginateListUserSettings = (0, import_core.createPaginator)(WorkSpacesWebCli
|
|
|
3545
3747
|
GetBrowserSettingsResponseFilterSensitiveLog,
|
|
3546
3748
|
UpdateBrowserSettingsRequestFilterSensitiveLog,
|
|
3547
3749
|
UpdateBrowserSettingsResponseFilterSensitiveLog,
|
|
3750
|
+
SessionFilterSensitiveLog,
|
|
3751
|
+
GetSessionResponseFilterSensitiveLog,
|
|
3548
3752
|
CreateIdentityProviderRequestFilterSensitiveLog,
|
|
3549
3753
|
IdentityProviderFilterSensitiveLog,
|
|
3550
3754
|
GetIdentityProviderResponseFilterSensitiveLog,
|
|
@@ -3560,6 +3764,9 @@ var paginateListUserSettings = (0, import_core.createPaginator)(WorkSpacesWebCli
|
|
|
3560
3764
|
ListIpAccessSettingsResponseFilterSensitiveLog,
|
|
3561
3765
|
UpdateIpAccessSettingsRequestFilterSensitiveLog,
|
|
3562
3766
|
UpdateIpAccessSettingsResponseFilterSensitiveLog,
|
|
3767
|
+
ListSessionsRequestFilterSensitiveLog,
|
|
3768
|
+
SessionSummaryFilterSensitiveLog,
|
|
3769
|
+
ListSessionsResponseFilterSensitiveLog,
|
|
3563
3770
|
ListTagsForResourceResponseFilterSensitiveLog,
|
|
3564
3771
|
CreateNetworkSettingsRequestFilterSensitiveLog,
|
|
3565
3772
|
CreatePortalRequestFilterSensitiveLog,
|
package/dist-es/WorkSpacesWeb.js
CHANGED
|
@@ -27,12 +27,14 @@ import { DisassociateNetworkSettingsCommand, } from "./commands/DisassociateNetw
|
|
|
27
27
|
import { DisassociateTrustStoreCommand, } from "./commands/DisassociateTrustStoreCommand";
|
|
28
28
|
import { DisassociateUserAccessLoggingSettingsCommand, } from "./commands/DisassociateUserAccessLoggingSettingsCommand";
|
|
29
29
|
import { DisassociateUserSettingsCommand, } from "./commands/DisassociateUserSettingsCommand";
|
|
30
|
+
import { ExpireSessionCommand, } from "./commands/ExpireSessionCommand";
|
|
30
31
|
import { GetBrowserSettingsCommand, } from "./commands/GetBrowserSettingsCommand";
|
|
31
32
|
import { GetIdentityProviderCommand, } from "./commands/GetIdentityProviderCommand";
|
|
32
33
|
import { GetIpAccessSettingsCommand, } from "./commands/GetIpAccessSettingsCommand";
|
|
33
34
|
import { GetNetworkSettingsCommand, } from "./commands/GetNetworkSettingsCommand";
|
|
34
35
|
import { GetPortalCommand } from "./commands/GetPortalCommand";
|
|
35
36
|
import { GetPortalServiceProviderMetadataCommand, } from "./commands/GetPortalServiceProviderMetadataCommand";
|
|
37
|
+
import { GetSessionCommand } from "./commands/GetSessionCommand";
|
|
36
38
|
import { GetTrustStoreCertificateCommand, } from "./commands/GetTrustStoreCertificateCommand";
|
|
37
39
|
import { GetTrustStoreCommand, } from "./commands/GetTrustStoreCommand";
|
|
38
40
|
import { GetUserAccessLoggingSettingsCommand, } from "./commands/GetUserAccessLoggingSettingsCommand";
|
|
@@ -42,6 +44,7 @@ import { ListIdentityProvidersCommand, } from "./commands/ListIdentityProvidersC
|
|
|
42
44
|
import { ListIpAccessSettingsCommand, } from "./commands/ListIpAccessSettingsCommand";
|
|
43
45
|
import { ListNetworkSettingsCommand, } from "./commands/ListNetworkSettingsCommand";
|
|
44
46
|
import { ListPortalsCommand } from "./commands/ListPortalsCommand";
|
|
47
|
+
import { ListSessionsCommand, } from "./commands/ListSessionsCommand";
|
|
45
48
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
46
49
|
import { ListTrustStoreCertificatesCommand, } from "./commands/ListTrustStoreCertificatesCommand";
|
|
47
50
|
import { ListTrustStoresCommand, } from "./commands/ListTrustStoresCommand";
|
|
@@ -87,12 +90,14 @@ const commands = {
|
|
|
87
90
|
DisassociateTrustStoreCommand,
|
|
88
91
|
DisassociateUserAccessLoggingSettingsCommand,
|
|
89
92
|
DisassociateUserSettingsCommand,
|
|
93
|
+
ExpireSessionCommand,
|
|
90
94
|
GetBrowserSettingsCommand,
|
|
91
95
|
GetIdentityProviderCommand,
|
|
92
96
|
GetIpAccessSettingsCommand,
|
|
93
97
|
GetNetworkSettingsCommand,
|
|
94
98
|
GetPortalCommand,
|
|
95
99
|
GetPortalServiceProviderMetadataCommand,
|
|
100
|
+
GetSessionCommand,
|
|
96
101
|
GetTrustStoreCommand,
|
|
97
102
|
GetTrustStoreCertificateCommand,
|
|
98
103
|
GetUserAccessLoggingSettingsCommand,
|
|
@@ -102,6 +107,7 @@ const commands = {
|
|
|
102
107
|
ListIpAccessSettingsCommand,
|
|
103
108
|
ListNetworkSettingsCommand,
|
|
104
109
|
ListPortalsCommand,
|
|
110
|
+
ListSessionsCommand,
|
|
105
111
|
ListTagsForResourceCommand,
|
|
106
112
|
ListTrustStoreCertificatesCommand,
|
|
107
113
|
ListTrustStoresCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ExpireSessionCommand, se_ExpireSessionCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ExpireSessionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSErmineControlPlaneService", "ExpireSession", {})
|
|
17
|
+
.n("WorkSpacesWebClient", "ExpireSessionCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ExpireSessionCommand)
|
|
20
|
+
.de(de_ExpireSessionCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { GetSessionResponseFilterSensitiveLog } from "../models/models_0";
|
|
6
|
+
import { de_GetSessionCommand, se_GetSessionCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class GetSessionCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("AWSErmineControlPlaneService", "GetSession", {})
|
|
18
|
+
.n("WorkSpacesWebClient", "GetSessionCommand")
|
|
19
|
+
.f(void 0, GetSessionResponseFilterSensitiveLog)
|
|
20
|
+
.ser(se_GetSessionCommand)
|
|
21
|
+
.de(de_GetSessionCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { ListSessionsRequestFilterSensitiveLog, ListSessionsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_ListSessionsCommand, se_ListSessionsCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class ListSessionsCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("AWSErmineControlPlaneService", "ListSessions", {})
|
|
18
|
+
.n("WorkSpacesWebClient", "ListSessionsCommand")
|
|
19
|
+
.f(ListSessionsRequestFilterSensitiveLog, ListSessionsResponseFilterSensitiveLog)
|
|
20
|
+
.ser(se_ListSessionsCommand)
|
|
21
|
+
.de(de_ListSessionsCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -26,12 +26,14 @@ export * from "./DisassociateNetworkSettingsCommand";
|
|
|
26
26
|
export * from "./DisassociateTrustStoreCommand";
|
|
27
27
|
export * from "./DisassociateUserAccessLoggingSettingsCommand";
|
|
28
28
|
export * from "./DisassociateUserSettingsCommand";
|
|
29
|
+
export * from "./ExpireSessionCommand";
|
|
29
30
|
export * from "./GetBrowserSettingsCommand";
|
|
30
31
|
export * from "./GetIdentityProviderCommand";
|
|
31
32
|
export * from "./GetIpAccessSettingsCommand";
|
|
32
33
|
export * from "./GetNetworkSettingsCommand";
|
|
33
34
|
export * from "./GetPortalCommand";
|
|
34
35
|
export * from "./GetPortalServiceProviderMetadataCommand";
|
|
36
|
+
export * from "./GetSessionCommand";
|
|
35
37
|
export * from "./GetTrustStoreCertificateCommand";
|
|
36
38
|
export * from "./GetTrustStoreCommand";
|
|
37
39
|
export * from "./GetUserAccessLoggingSettingsCommand";
|
|
@@ -41,6 +43,7 @@ export * from "./ListIdentityProvidersCommand";
|
|
|
41
43
|
export * from "./ListIpAccessSettingsCommand";
|
|
42
44
|
export * from "./ListNetworkSettingsCommand";
|
|
43
45
|
export * from "./ListPortalsCommand";
|
|
46
|
+
export * from "./ListSessionsCommand";
|
|
44
47
|
export * from "./ListTagsForResourceCommand";
|
|
45
48
|
export * from "./ListTrustStoreCertificatesCommand";
|
|
46
49
|
export * from "./ListTrustStoresCommand";
|