@aws-sdk/client-workspaces-web 3.121.0 → 3.127.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/CHANGELOG.md +8 -0
- package/dist-cjs/protocols/Aws_restJson1.js +60 -91
- package/dist-es/protocols/Aws_restJson1.js +38 -69
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-workspaces-web
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
|
|
7
15
|
|
|
8
16
|
|
|
@@ -148,16 +148,13 @@ const serializeAws_restJson1CreateBrowserSettingsCommand = async (input, context
|
|
|
148
148
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/browserSettings";
|
|
149
149
|
let body;
|
|
150
150
|
body = JSON.stringify({
|
|
151
|
-
...(input.additionalEncryptionContext
|
|
152
|
-
input.additionalEncryptionContext !== null && {
|
|
151
|
+
...(input.additionalEncryptionContext != null && {
|
|
153
152
|
additionalEncryptionContext: serializeAws_restJson1EncryptionContextMap(input.additionalEncryptionContext, context),
|
|
154
153
|
}),
|
|
155
|
-
...(input.browserPolicy
|
|
154
|
+
...(input.browserPolicy != null && { browserPolicy: input.browserPolicy }),
|
|
156
155
|
clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
157
|
-
...(input.customerManagedKey
|
|
158
|
-
|
|
159
|
-
...(input.tags !== undefined &&
|
|
160
|
-
input.tags !== null && { tags: serializeAws_restJson1TagList(input.tags, context) }),
|
|
156
|
+
...(input.customerManagedKey != null && { customerManagedKey: input.customerManagedKey }),
|
|
157
|
+
...(input.tags != null && { tags: serializeAws_restJson1TagList(input.tags, context) }),
|
|
161
158
|
});
|
|
162
159
|
return new protocol_http_1.HttpRequest({
|
|
163
160
|
protocol,
|
|
@@ -180,15 +177,12 @@ const serializeAws_restJson1CreateIdentityProviderCommand = async (input, contex
|
|
|
180
177
|
let body;
|
|
181
178
|
body = JSON.stringify({
|
|
182
179
|
clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
183
|
-
...(input.identityProviderDetails
|
|
184
|
-
input.identityProviderDetails !== null && {
|
|
180
|
+
...(input.identityProviderDetails != null && {
|
|
185
181
|
identityProviderDetails: serializeAws_restJson1IdentityProviderDetails(input.identityProviderDetails, context),
|
|
186
182
|
}),
|
|
187
|
-
...(input.identityProviderName
|
|
188
|
-
|
|
189
|
-
...(input.
|
|
190
|
-
input.identityProviderType !== null && { identityProviderType: input.identityProviderType }),
|
|
191
|
-
...(input.portalArn !== undefined && input.portalArn !== null && { portalArn: input.portalArn }),
|
|
183
|
+
...(input.identityProviderName != null && { identityProviderName: input.identityProviderName }),
|
|
184
|
+
...(input.identityProviderType != null && { identityProviderType: input.identityProviderType }),
|
|
185
|
+
...(input.portalArn != null && { portalArn: input.portalArn }),
|
|
192
186
|
});
|
|
193
187
|
return new protocol_http_1.HttpRequest({
|
|
194
188
|
protocol,
|
|
@@ -211,15 +205,12 @@ const serializeAws_restJson1CreateNetworkSettingsCommand = async (input, context
|
|
|
211
205
|
let body;
|
|
212
206
|
body = JSON.stringify({
|
|
213
207
|
clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
214
|
-
...(input.securityGroupIds
|
|
215
|
-
input.securityGroupIds !== null && {
|
|
208
|
+
...(input.securityGroupIds != null && {
|
|
216
209
|
securityGroupIds: serializeAws_restJson1SecurityGroupIdList(input.securityGroupIds, context),
|
|
217
210
|
}),
|
|
218
|
-
...(input.subnetIds
|
|
219
|
-
|
|
220
|
-
...(input.
|
|
221
|
-
input.tags !== null && { tags: serializeAws_restJson1TagList(input.tags, context) }),
|
|
222
|
-
...(input.vpcId !== undefined && input.vpcId !== null && { vpcId: input.vpcId }),
|
|
211
|
+
...(input.subnetIds != null && { subnetIds: serializeAws_restJson1SubnetIdList(input.subnetIds, context) }),
|
|
212
|
+
...(input.tags != null && { tags: serializeAws_restJson1TagList(input.tags, context) }),
|
|
213
|
+
...(input.vpcId != null && { vpcId: input.vpcId }),
|
|
223
214
|
});
|
|
224
215
|
return new protocol_http_1.HttpRequest({
|
|
225
216
|
protocol,
|
|
@@ -241,16 +232,13 @@ const serializeAws_restJson1CreatePortalCommand = async (input, context) => {
|
|
|
241
232
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/portals";
|
|
242
233
|
let body;
|
|
243
234
|
body = JSON.stringify({
|
|
244
|
-
...(input.additionalEncryptionContext
|
|
245
|
-
input.additionalEncryptionContext !== null && {
|
|
235
|
+
...(input.additionalEncryptionContext != null && {
|
|
246
236
|
additionalEncryptionContext: serializeAws_restJson1EncryptionContextMap(input.additionalEncryptionContext, context),
|
|
247
237
|
}),
|
|
248
238
|
clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
249
|
-
...(input.customerManagedKey
|
|
250
|
-
|
|
251
|
-
...(input.
|
|
252
|
-
...(input.tags !== undefined &&
|
|
253
|
-
input.tags !== null && { tags: serializeAws_restJson1TagList(input.tags, context) }),
|
|
239
|
+
...(input.customerManagedKey != null && { customerManagedKey: input.customerManagedKey }),
|
|
240
|
+
...(input.displayName != null && { displayName: input.displayName }),
|
|
241
|
+
...(input.tags != null && { tags: serializeAws_restJson1TagList(input.tags, context) }),
|
|
254
242
|
});
|
|
255
243
|
return new protocol_http_1.HttpRequest({
|
|
256
244
|
protocol,
|
|
@@ -272,13 +260,11 @@ const serializeAws_restJson1CreateTrustStoreCommand = async (input, context) =>
|
|
|
272
260
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/trustStores";
|
|
273
261
|
let body;
|
|
274
262
|
body = JSON.stringify({
|
|
275
|
-
...(input.certificateList
|
|
276
|
-
input.certificateList !== null && {
|
|
263
|
+
...(input.certificateList != null && {
|
|
277
264
|
certificateList: serializeAws_restJson1CertificateList(input.certificateList, context),
|
|
278
265
|
}),
|
|
279
266
|
clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
280
|
-
...(input.tags
|
|
281
|
-
input.tags !== null && { tags: serializeAws_restJson1TagList(input.tags, context) }),
|
|
267
|
+
...(input.tags != null && { tags: serializeAws_restJson1TagList(input.tags, context) }),
|
|
282
268
|
});
|
|
283
269
|
return new protocol_http_1.HttpRequest({
|
|
284
270
|
protocol,
|
|
@@ -301,20 +287,16 @@ const serializeAws_restJson1CreateUserSettingsCommand = async (input, context) =
|
|
|
301
287
|
let body;
|
|
302
288
|
body = JSON.stringify({
|
|
303
289
|
clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
304
|
-
...(input.copyAllowed
|
|
305
|
-
...(input.disconnectTimeoutInMinutes
|
|
306
|
-
|
|
307
|
-
...(input.
|
|
308
|
-
input.downloadAllowed !== null && { downloadAllowed: input.downloadAllowed }),
|
|
309
|
-
...(input.idleDisconnectTimeoutInMinutes !== undefined &&
|
|
310
|
-
input.idleDisconnectTimeoutInMinutes !== null && {
|
|
290
|
+
...(input.copyAllowed != null && { copyAllowed: input.copyAllowed }),
|
|
291
|
+
...(input.disconnectTimeoutInMinutes != null && { disconnectTimeoutInMinutes: input.disconnectTimeoutInMinutes }),
|
|
292
|
+
...(input.downloadAllowed != null && { downloadAllowed: input.downloadAllowed }),
|
|
293
|
+
...(input.idleDisconnectTimeoutInMinutes != null && {
|
|
311
294
|
idleDisconnectTimeoutInMinutes: input.idleDisconnectTimeoutInMinutes,
|
|
312
295
|
}),
|
|
313
|
-
...(input.pasteAllowed
|
|
314
|
-
...(input.printAllowed
|
|
315
|
-
...(input.tags
|
|
316
|
-
|
|
317
|
-
...(input.uploadAllowed !== undefined && input.uploadAllowed !== null && { uploadAllowed: input.uploadAllowed }),
|
|
296
|
+
...(input.pasteAllowed != null && { pasteAllowed: input.pasteAllowed }),
|
|
297
|
+
...(input.printAllowed != null && { printAllowed: input.printAllowed }),
|
|
298
|
+
...(input.tags != null && { tags: serializeAws_restJson1TagList(input.tags, context) }),
|
|
299
|
+
...(input.uploadAllowed != null && { uploadAllowed: input.uploadAllowed }),
|
|
318
300
|
});
|
|
319
301
|
return new protocol_http_1.HttpRequest({
|
|
320
302
|
protocol,
|
|
@@ -1079,8 +1061,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
1079
1061
|
let body;
|
|
1080
1062
|
body = JSON.stringify({
|
|
1081
1063
|
clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
1082
|
-
...(input.tags
|
|
1083
|
-
input.tags !== null && { tags: serializeAws_restJson1TagList(input.tags, context) }),
|
|
1064
|
+
...(input.tags != null && { tags: serializeAws_restJson1TagList(input.tags, context) }),
|
|
1084
1065
|
});
|
|
1085
1066
|
return new protocol_http_1.HttpRequest({
|
|
1086
1067
|
protocol,
|
|
@@ -1148,7 +1129,7 @@ const serializeAws_restJson1UpdateBrowserSettingsCommand = async (input, context
|
|
|
1148
1129
|
}
|
|
1149
1130
|
let body;
|
|
1150
1131
|
body = JSON.stringify({
|
|
1151
|
-
...(input.browserPolicy
|
|
1132
|
+
...(input.browserPolicy != null && { browserPolicy: input.browserPolicy }),
|
|
1152
1133
|
clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
1153
1134
|
});
|
|
1154
1135
|
return new protocol_http_1.HttpRequest({
|
|
@@ -1185,14 +1166,11 @@ const serializeAws_restJson1UpdateIdentityProviderCommand = async (input, contex
|
|
|
1185
1166
|
let body;
|
|
1186
1167
|
body = JSON.stringify({
|
|
1187
1168
|
clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
1188
|
-
...(input.identityProviderDetails
|
|
1189
|
-
input.identityProviderDetails !== null && {
|
|
1169
|
+
...(input.identityProviderDetails != null && {
|
|
1190
1170
|
identityProviderDetails: serializeAws_restJson1IdentityProviderDetails(input.identityProviderDetails, context),
|
|
1191
1171
|
}),
|
|
1192
|
-
...(input.identityProviderName
|
|
1193
|
-
|
|
1194
|
-
...(input.identityProviderType !== undefined &&
|
|
1195
|
-
input.identityProviderType !== null && { identityProviderType: input.identityProviderType }),
|
|
1172
|
+
...(input.identityProviderName != null && { identityProviderName: input.identityProviderName }),
|
|
1173
|
+
...(input.identityProviderType != null && { identityProviderType: input.identityProviderType }),
|
|
1196
1174
|
});
|
|
1197
1175
|
return new protocol_http_1.HttpRequest({
|
|
1198
1176
|
protocol,
|
|
@@ -1228,13 +1206,11 @@ const serializeAws_restJson1UpdateNetworkSettingsCommand = async (input, context
|
|
|
1228
1206
|
let body;
|
|
1229
1207
|
body = JSON.stringify({
|
|
1230
1208
|
clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
1231
|
-
...(input.securityGroupIds
|
|
1232
|
-
input.securityGroupIds !== null && {
|
|
1209
|
+
...(input.securityGroupIds != null && {
|
|
1233
1210
|
securityGroupIds: serializeAws_restJson1SecurityGroupIdList(input.securityGroupIds, context),
|
|
1234
1211
|
}),
|
|
1235
|
-
...(input.subnetIds
|
|
1236
|
-
|
|
1237
|
-
...(input.vpcId !== undefined && input.vpcId !== null && { vpcId: input.vpcId }),
|
|
1212
|
+
...(input.subnetIds != null && { subnetIds: serializeAws_restJson1SubnetIdList(input.subnetIds, context) }),
|
|
1213
|
+
...(input.vpcId != null && { vpcId: input.vpcId }),
|
|
1238
1214
|
});
|
|
1239
1215
|
return new protocol_http_1.HttpRequest({
|
|
1240
1216
|
protocol,
|
|
@@ -1268,7 +1244,7 @@ const serializeAws_restJson1UpdatePortalCommand = async (input, context) => {
|
|
|
1268
1244
|
}
|
|
1269
1245
|
let body;
|
|
1270
1246
|
body = JSON.stringify({
|
|
1271
|
-
...(input.displayName
|
|
1247
|
+
...(input.displayName != null && { displayName: input.displayName }),
|
|
1272
1248
|
});
|
|
1273
1249
|
return new protocol_http_1.HttpRequest({
|
|
1274
1250
|
protocol,
|
|
@@ -1303,12 +1279,10 @@ const serializeAws_restJson1UpdateTrustStoreCommand = async (input, context) =>
|
|
|
1303
1279
|
}
|
|
1304
1280
|
let body;
|
|
1305
1281
|
body = JSON.stringify({
|
|
1306
|
-
...(input.certificatesToAdd
|
|
1307
|
-
input.certificatesToAdd !== null && {
|
|
1282
|
+
...(input.certificatesToAdd != null && {
|
|
1308
1283
|
certificatesToAdd: serializeAws_restJson1CertificateList(input.certificatesToAdd, context),
|
|
1309
1284
|
}),
|
|
1310
|
-
...(input.certificatesToDelete
|
|
1311
|
-
input.certificatesToDelete !== null && {
|
|
1285
|
+
...(input.certificatesToDelete != null && {
|
|
1312
1286
|
certificatesToDelete: serializeAws_restJson1CertificateThumbprintList(input.certificatesToDelete, context),
|
|
1313
1287
|
}),
|
|
1314
1288
|
clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
@@ -1347,18 +1321,15 @@ const serializeAws_restJson1UpdateUserSettingsCommand = async (input, context) =
|
|
|
1347
1321
|
let body;
|
|
1348
1322
|
body = JSON.stringify({
|
|
1349
1323
|
clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
1350
|
-
...(input.copyAllowed
|
|
1351
|
-
...(input.disconnectTimeoutInMinutes
|
|
1352
|
-
|
|
1353
|
-
...(input.
|
|
1354
|
-
input.downloadAllowed !== null && { downloadAllowed: input.downloadAllowed }),
|
|
1355
|
-
...(input.idleDisconnectTimeoutInMinutes !== undefined &&
|
|
1356
|
-
input.idleDisconnectTimeoutInMinutes !== null && {
|
|
1324
|
+
...(input.copyAllowed != null && { copyAllowed: input.copyAllowed }),
|
|
1325
|
+
...(input.disconnectTimeoutInMinutes != null && { disconnectTimeoutInMinutes: input.disconnectTimeoutInMinutes }),
|
|
1326
|
+
...(input.downloadAllowed != null && { downloadAllowed: input.downloadAllowed }),
|
|
1327
|
+
...(input.idleDisconnectTimeoutInMinutes != null && {
|
|
1357
1328
|
idleDisconnectTimeoutInMinutes: input.idleDisconnectTimeoutInMinutes,
|
|
1358
1329
|
}),
|
|
1359
|
-
...(input.pasteAllowed
|
|
1360
|
-
...(input.printAllowed
|
|
1361
|
-
...(input.uploadAllowed
|
|
1330
|
+
...(input.pasteAllowed != null && { pasteAllowed: input.pasteAllowed }),
|
|
1331
|
+
...(input.printAllowed != null && { printAllowed: input.printAllowed }),
|
|
1332
|
+
...(input.uploadAllowed != null && { uploadAllowed: input.uploadAllowed }),
|
|
1362
1333
|
});
|
|
1363
1334
|
return new protocol_http_1.HttpRequest({
|
|
1364
1335
|
protocol,
|
|
@@ -3812,8 +3783,8 @@ const serializeAws_restJson1SubnetIdList = (input, context) => {
|
|
|
3812
3783
|
};
|
|
3813
3784
|
const serializeAws_restJson1Tag = (input, context) => {
|
|
3814
3785
|
return {
|
|
3815
|
-
...(input.Key
|
|
3816
|
-
...(input.Value
|
|
3786
|
+
...(input.Key != null && { Key: input.Key }),
|
|
3787
|
+
...(input.Value != null && { Value: input.Value }),
|
|
3817
3788
|
};
|
|
3818
3789
|
};
|
|
3819
3790
|
const serializeAws_restJson1TagList = (input, context) => {
|
|
@@ -3839,7 +3810,7 @@ const deserializeAws_restJson1ArnList = (output, context) => {
|
|
|
3839
3810
|
};
|
|
3840
3811
|
const deserializeAws_restJson1BrowserSettings = (output, context) => {
|
|
3841
3812
|
return {
|
|
3842
|
-
associatedPortalArns: output.associatedPortalArns
|
|
3813
|
+
associatedPortalArns: output.associatedPortalArns != null
|
|
3843
3814
|
? deserializeAws_restJson1ArnList(output.associatedPortalArns, context)
|
|
3844
3815
|
: undefined,
|
|
3845
3816
|
browserPolicy: (0, smithy_client_1.expectString)(output.browserPolicy),
|
|
@@ -3864,12 +3835,12 @@ const deserializeAws_restJson1BrowserSettingsSummary = (output, context) => {
|
|
|
3864
3835
|
};
|
|
3865
3836
|
const deserializeAws_restJson1Certificate = (output, context) => {
|
|
3866
3837
|
return {
|
|
3867
|
-
body: output.body
|
|
3838
|
+
body: output.body != null ? context.base64Decoder(output.body) : undefined,
|
|
3868
3839
|
issuer: (0, smithy_client_1.expectString)(output.issuer),
|
|
3869
|
-
notValidAfter: output.notValidAfter
|
|
3840
|
+
notValidAfter: output.notValidAfter != null
|
|
3870
3841
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.notValidAfter)))
|
|
3871
3842
|
: undefined,
|
|
3872
|
-
notValidBefore: output.notValidBefore
|
|
3843
|
+
notValidBefore: output.notValidBefore != null
|
|
3873
3844
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.notValidBefore)))
|
|
3874
3845
|
: undefined,
|
|
3875
3846
|
subject: (0, smithy_client_1.expectString)(output.subject),
|
|
@@ -3879,10 +3850,10 @@ const deserializeAws_restJson1Certificate = (output, context) => {
|
|
|
3879
3850
|
const deserializeAws_restJson1CertificateSummary = (output, context) => {
|
|
3880
3851
|
return {
|
|
3881
3852
|
issuer: (0, smithy_client_1.expectString)(output.issuer),
|
|
3882
|
-
notValidAfter: output.notValidAfter
|
|
3853
|
+
notValidAfter: output.notValidAfter != null
|
|
3883
3854
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.notValidAfter)))
|
|
3884
3855
|
: undefined,
|
|
3885
|
-
notValidBefore: output.notValidBefore
|
|
3856
|
+
notValidBefore: output.notValidBefore != null
|
|
3886
3857
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.notValidBefore)))
|
|
3887
3858
|
: undefined,
|
|
3888
3859
|
subject: (0, smithy_client_1.expectString)(output.subject),
|
|
@@ -3903,7 +3874,7 @@ const deserializeAws_restJson1CertificateSummaryList = (output, context) => {
|
|
|
3903
3874
|
const deserializeAws_restJson1IdentityProvider = (output, context) => {
|
|
3904
3875
|
return {
|
|
3905
3876
|
identityProviderArn: (0, smithy_client_1.expectString)(output.identityProviderArn),
|
|
3906
|
-
identityProviderDetails: output.identityProviderDetails
|
|
3877
|
+
identityProviderDetails: output.identityProviderDetails != null
|
|
3907
3878
|
? deserializeAws_restJson1IdentityProviderDetails(output.identityProviderDetails, context)
|
|
3908
3879
|
: undefined,
|
|
3909
3880
|
identityProviderName: (0, smithy_client_1.expectString)(output.identityProviderName),
|
|
@@ -3941,16 +3912,14 @@ const deserializeAws_restJson1IdentityProviderSummary = (output, context) => {
|
|
|
3941
3912
|
};
|
|
3942
3913
|
const deserializeAws_restJson1NetworkSettings = (output, context) => {
|
|
3943
3914
|
return {
|
|
3944
|
-
associatedPortalArns: output.associatedPortalArns
|
|
3915
|
+
associatedPortalArns: output.associatedPortalArns != null
|
|
3945
3916
|
? deserializeAws_restJson1ArnList(output.associatedPortalArns, context)
|
|
3946
3917
|
: undefined,
|
|
3947
3918
|
networkSettingsArn: (0, smithy_client_1.expectString)(output.networkSettingsArn),
|
|
3948
|
-
securityGroupIds: output.securityGroupIds
|
|
3919
|
+
securityGroupIds: output.securityGroupIds != null
|
|
3949
3920
|
? deserializeAws_restJson1SecurityGroupIdList(output.securityGroupIds, context)
|
|
3950
3921
|
: undefined,
|
|
3951
|
-
subnetIds: output.subnetIds
|
|
3952
|
-
? deserializeAws_restJson1SubnetIdList(output.subnetIds, context)
|
|
3953
|
-
: undefined,
|
|
3922
|
+
subnetIds: output.subnetIds != null ? deserializeAws_restJson1SubnetIdList(output.subnetIds, context) : undefined,
|
|
3954
3923
|
vpcId: (0, smithy_client_1.expectString)(output.vpcId),
|
|
3955
3924
|
};
|
|
3956
3925
|
};
|
|
@@ -3975,7 +3944,7 @@ const deserializeAws_restJson1Portal = (output, context) => {
|
|
|
3975
3944
|
return {
|
|
3976
3945
|
browserSettingsArn: (0, smithy_client_1.expectString)(output.browserSettingsArn),
|
|
3977
3946
|
browserType: (0, smithy_client_1.expectString)(output.browserType),
|
|
3978
|
-
creationDate: output.creationDate
|
|
3947
|
+
creationDate: output.creationDate != null
|
|
3979
3948
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationDate)))
|
|
3980
3949
|
: undefined,
|
|
3981
3950
|
displayName: (0, smithy_client_1.expectString)(output.displayName),
|
|
@@ -4004,7 +3973,7 @@ const deserializeAws_restJson1PortalSummary = (output, context) => {
|
|
|
4004
3973
|
return {
|
|
4005
3974
|
browserSettingsArn: (0, smithy_client_1.expectString)(output.browserSettingsArn),
|
|
4006
3975
|
browserType: (0, smithy_client_1.expectString)(output.browserType),
|
|
4007
|
-
creationDate: output.creationDate
|
|
3976
|
+
creationDate: output.creationDate != null
|
|
4008
3977
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationDate)))
|
|
4009
3978
|
: undefined,
|
|
4010
3979
|
displayName: (0, smithy_client_1.expectString)(output.displayName),
|
|
@@ -4058,7 +4027,7 @@ const deserializeAws_restJson1TagList = (output, context) => {
|
|
|
4058
4027
|
};
|
|
4059
4028
|
const deserializeAws_restJson1TrustStore = (output, context) => {
|
|
4060
4029
|
return {
|
|
4061
|
-
associatedPortalArns: output.associatedPortalArns
|
|
4030
|
+
associatedPortalArns: output.associatedPortalArns != null
|
|
4062
4031
|
? deserializeAws_restJson1ArnList(output.associatedPortalArns, context)
|
|
4063
4032
|
: undefined,
|
|
4064
4033
|
trustStoreArn: (0, smithy_client_1.expectString)(output.trustStoreArn),
|
|
@@ -4082,7 +4051,7 @@ const deserializeAws_restJson1TrustStoreSummaryList = (output, context) => {
|
|
|
4082
4051
|
};
|
|
4083
4052
|
const deserializeAws_restJson1UserSettings = (output, context) => {
|
|
4084
4053
|
return {
|
|
4085
|
-
associatedPortalArns: output.associatedPortalArns
|
|
4054
|
+
associatedPortalArns: output.associatedPortalArns != null
|
|
4086
4055
|
? deserializeAws_restJson1ArnList(output.associatedPortalArns, context)
|
|
4087
4056
|
: undefined,
|
|
4088
4057
|
copyAllowed: (0, smithy_client_1.expectString)(output.copyAllowed),
|
|
@@ -160,12 +160,9 @@ export var serializeAws_restJson1CreateBrowserSettingsCommand = function (input,
|
|
|
160
160
|
"content-type": "application/json",
|
|
161
161
|
};
|
|
162
162
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/browserSettings";
|
|
163
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.additionalEncryptionContext
|
|
164
|
-
input.additionalEncryptionContext !== null && {
|
|
163
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.additionalEncryptionContext != null && {
|
|
165
164
|
additionalEncryptionContext: serializeAws_restJson1EncryptionContextMap(input.additionalEncryptionContext, context),
|
|
166
|
-
})), (input.browserPolicy
|
|
167
|
-
input.customerManagedKey !== null && { customerManagedKey: input.customerManagedKey })), (input.tags !== undefined &&
|
|
168
|
-
input.tags !== null && { tags: serializeAws_restJson1TagList(input.tags, context) })));
|
|
165
|
+
})), (input.browserPolicy != null && { browserPolicy: input.browserPolicy })), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.customerManagedKey != null && { customerManagedKey: input.customerManagedKey })), (input.tags != null && { tags: serializeAws_restJson1TagList(input.tags, context) })));
|
|
169
166
|
return [2, new __HttpRequest({
|
|
170
167
|
protocol: protocol,
|
|
171
168
|
hostname: hostname,
|
|
@@ -190,12 +187,9 @@ export var serializeAws_restJson1CreateIdentityProviderCommand = function (input
|
|
|
190
187
|
"content-type": "application/json",
|
|
191
188
|
};
|
|
192
189
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/identityProviders";
|
|
193
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.identityProviderDetails
|
|
194
|
-
input.identityProviderDetails !== null && {
|
|
190
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.identityProviderDetails != null && {
|
|
195
191
|
identityProviderDetails: serializeAws_restJson1IdentityProviderDetails(input.identityProviderDetails, context),
|
|
196
|
-
})), (input.identityProviderName
|
|
197
|
-
input.identityProviderName !== null && { identityProviderName: input.identityProviderName })), (input.identityProviderType !== undefined &&
|
|
198
|
-
input.identityProviderType !== null && { identityProviderType: input.identityProviderType })), (input.portalArn !== undefined && input.portalArn !== null && { portalArn: input.portalArn })));
|
|
192
|
+
})), (input.identityProviderName != null && { identityProviderName: input.identityProviderName })), (input.identityProviderType != null && { identityProviderType: input.identityProviderType })), (input.portalArn != null && { portalArn: input.portalArn })));
|
|
199
193
|
return [2, new __HttpRequest({
|
|
200
194
|
protocol: protocol,
|
|
201
195
|
hostname: hostname,
|
|
@@ -220,12 +214,9 @@ export var serializeAws_restJson1CreateNetworkSettingsCommand = function (input,
|
|
|
220
214
|
"content-type": "application/json",
|
|
221
215
|
};
|
|
222
216
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/networkSettings";
|
|
223
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.securityGroupIds
|
|
224
|
-
input.securityGroupIds !== null && {
|
|
217
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.securityGroupIds != null && {
|
|
225
218
|
securityGroupIds: serializeAws_restJson1SecurityGroupIdList(input.securityGroupIds, context),
|
|
226
|
-
})), (input.subnetIds
|
|
227
|
-
input.subnetIds !== null && { subnetIds: serializeAws_restJson1SubnetIdList(input.subnetIds, context) })), (input.tags !== undefined &&
|
|
228
|
-
input.tags !== null && { tags: serializeAws_restJson1TagList(input.tags, context) })), (input.vpcId !== undefined && input.vpcId !== null && { vpcId: input.vpcId })));
|
|
219
|
+
})), (input.subnetIds != null && { subnetIds: serializeAws_restJson1SubnetIdList(input.subnetIds, context) })), (input.tags != null && { tags: serializeAws_restJson1TagList(input.tags, context) })), (input.vpcId != null && { vpcId: input.vpcId })));
|
|
229
220
|
return [2, new __HttpRequest({
|
|
230
221
|
protocol: protocol,
|
|
231
222
|
hostname: hostname,
|
|
@@ -250,12 +241,9 @@ export var serializeAws_restJson1CreatePortalCommand = function (input, context)
|
|
|
250
241
|
"content-type": "application/json",
|
|
251
242
|
};
|
|
252
243
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/portals";
|
|
253
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.additionalEncryptionContext
|
|
254
|
-
input.additionalEncryptionContext !== null && {
|
|
244
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.additionalEncryptionContext != null && {
|
|
255
245
|
additionalEncryptionContext: serializeAws_restJson1EncryptionContextMap(input.additionalEncryptionContext, context),
|
|
256
|
-
})), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.customerManagedKey
|
|
257
|
-
input.customerManagedKey !== null && { customerManagedKey: input.customerManagedKey })), (input.displayName !== undefined && input.displayName !== null && { displayName: input.displayName })), (input.tags !== undefined &&
|
|
258
|
-
input.tags !== null && { tags: serializeAws_restJson1TagList(input.tags, context) })));
|
|
246
|
+
})), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.customerManagedKey != null && { customerManagedKey: input.customerManagedKey })), (input.displayName != null && { displayName: input.displayName })), (input.tags != null && { tags: serializeAws_restJson1TagList(input.tags, context) })));
|
|
259
247
|
return [2, new __HttpRequest({
|
|
260
248
|
protocol: protocol,
|
|
261
249
|
hostname: hostname,
|
|
@@ -280,11 +268,9 @@ export var serializeAws_restJson1CreateTrustStoreCommand = function (input, cont
|
|
|
280
268
|
"content-type": "application/json",
|
|
281
269
|
};
|
|
282
270
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/trustStores";
|
|
283
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.certificateList
|
|
284
|
-
input.certificateList !== null && {
|
|
271
|
+
body = JSON.stringify(__assign(__assign(__assign({}, (input.certificateList != null && {
|
|
285
272
|
certificateList: serializeAws_restJson1CertificateList(input.certificateList, context),
|
|
286
|
-
})), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.tags
|
|
287
|
-
input.tags !== null && { tags: serializeAws_restJson1TagList(input.tags, context) })));
|
|
273
|
+
})), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.tags != null && { tags: serializeAws_restJson1TagList(input.tags, context) })));
|
|
288
274
|
return [2, new __HttpRequest({
|
|
289
275
|
protocol: protocol,
|
|
290
276
|
hostname: hostname,
|
|
@@ -309,13 +295,9 @@ export var serializeAws_restJson1CreateUserSettingsCommand = function (input, co
|
|
|
309
295
|
"content-type": "application/json",
|
|
310
296
|
};
|
|
311
297
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/userSettings";
|
|
312
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.copyAllowed
|
|
313
|
-
input.disconnectTimeoutInMinutes !== null && { disconnectTimeoutInMinutes: input.disconnectTimeoutInMinutes })), (input.downloadAllowed !== undefined &&
|
|
314
|
-
input.downloadAllowed !== null && { downloadAllowed: input.downloadAllowed })), (input.idleDisconnectTimeoutInMinutes !== undefined &&
|
|
315
|
-
input.idleDisconnectTimeoutInMinutes !== null && {
|
|
298
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.copyAllowed != null && { copyAllowed: input.copyAllowed })), (input.disconnectTimeoutInMinutes != null && { disconnectTimeoutInMinutes: input.disconnectTimeoutInMinutes })), (input.downloadAllowed != null && { downloadAllowed: input.downloadAllowed })), (input.idleDisconnectTimeoutInMinutes != null && {
|
|
316
299
|
idleDisconnectTimeoutInMinutes: input.idleDisconnectTimeoutInMinutes,
|
|
317
|
-
})), (input.pasteAllowed
|
|
318
|
-
input.tags !== null && { tags: serializeAws_restJson1TagList(input.tags, context) })), (input.uploadAllowed !== undefined && input.uploadAllowed !== null && { uploadAllowed: input.uploadAllowed })));
|
|
300
|
+
})), (input.pasteAllowed != null && { pasteAllowed: input.pasteAllowed })), (input.printAllowed != null && { printAllowed: input.printAllowed })), (input.tags != null && { tags: serializeAws_restJson1TagList(input.tags, context) })), (input.uploadAllowed != null && { uploadAllowed: input.uploadAllowed })));
|
|
319
301
|
return [2, new __HttpRequest({
|
|
320
302
|
protocol: protocol,
|
|
321
303
|
hostname: hostname,
|
|
@@ -1189,8 +1171,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
1189
1171
|
else {
|
|
1190
1172
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
1191
1173
|
}
|
|
1192
|
-
body = JSON.stringify(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.tags
|
|
1193
|
-
input.tags !== null && { tags: serializeAws_restJson1TagList(input.tags, context) })));
|
|
1174
|
+
body = JSON.stringify(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.tags != null && { tags: serializeAws_restJson1TagList(input.tags, context) })));
|
|
1194
1175
|
return [2, new __HttpRequest({
|
|
1195
1176
|
protocol: protocol,
|
|
1196
1177
|
hostname: hostname,
|
|
@@ -1264,7 +1245,7 @@ export var serializeAws_restJson1UpdateBrowserSettingsCommand = function (input,
|
|
|
1264
1245
|
else {
|
|
1265
1246
|
throw new Error("No value provided for input HTTP label: browserSettingsArn.");
|
|
1266
1247
|
}
|
|
1267
|
-
body = JSON.stringify(__assign(__assign({}, (input.browserPolicy
|
|
1248
|
+
body = JSON.stringify(__assign(__assign({}, (input.browserPolicy != null && { browserPolicy: input.browserPolicy })), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }));
|
|
1268
1249
|
return [2, new __HttpRequest({
|
|
1269
1250
|
protocol: protocol,
|
|
1270
1251
|
hostname: hostname,
|
|
@@ -1302,12 +1283,9 @@ export var serializeAws_restJson1UpdateIdentityProviderCommand = function (input
|
|
|
1302
1283
|
else {
|
|
1303
1284
|
throw new Error("No value provided for input HTTP label: identityProviderArn.");
|
|
1304
1285
|
}
|
|
1305
|
-
body = JSON.stringify(__assign(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.identityProviderDetails
|
|
1306
|
-
input.identityProviderDetails !== null && {
|
|
1286
|
+
body = JSON.stringify(__assign(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.identityProviderDetails != null && {
|
|
1307
1287
|
identityProviderDetails: serializeAws_restJson1IdentityProviderDetails(input.identityProviderDetails, context),
|
|
1308
|
-
})), (input.identityProviderName
|
|
1309
|
-
input.identityProviderName !== null && { identityProviderName: input.identityProviderName })), (input.identityProviderType !== undefined &&
|
|
1310
|
-
input.identityProviderType !== null && { identityProviderType: input.identityProviderType })));
|
|
1288
|
+
})), (input.identityProviderName != null && { identityProviderName: input.identityProviderName })), (input.identityProviderType != null && { identityProviderType: input.identityProviderType })));
|
|
1311
1289
|
return [2, new __HttpRequest({
|
|
1312
1290
|
protocol: protocol,
|
|
1313
1291
|
hostname: hostname,
|
|
@@ -1345,11 +1323,9 @@ export var serializeAws_restJson1UpdateNetworkSettingsCommand = function (input,
|
|
|
1345
1323
|
else {
|
|
1346
1324
|
throw new Error("No value provided for input HTTP label: networkSettingsArn.");
|
|
1347
1325
|
}
|
|
1348
|
-
body = JSON.stringify(__assign(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.securityGroupIds
|
|
1349
|
-
input.securityGroupIds !== null && {
|
|
1326
|
+
body = JSON.stringify(__assign(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.securityGroupIds != null && {
|
|
1350
1327
|
securityGroupIds: serializeAws_restJson1SecurityGroupIdList(input.securityGroupIds, context),
|
|
1351
|
-
})), (input.subnetIds
|
|
1352
|
-
input.subnetIds !== null && { subnetIds: serializeAws_restJson1SubnetIdList(input.subnetIds, context) })), (input.vpcId !== undefined && input.vpcId !== null && { vpcId: input.vpcId })));
|
|
1328
|
+
})), (input.subnetIds != null && { subnetIds: serializeAws_restJson1SubnetIdList(input.subnetIds, context) })), (input.vpcId != null && { vpcId: input.vpcId })));
|
|
1353
1329
|
return [2, new __HttpRequest({
|
|
1354
1330
|
protocol: protocol,
|
|
1355
1331
|
hostname: hostname,
|
|
@@ -1386,7 +1362,7 @@ export var serializeAws_restJson1UpdatePortalCommand = function (input, context)
|
|
|
1386
1362
|
else {
|
|
1387
1363
|
throw new Error("No value provided for input HTTP label: portalArn.");
|
|
1388
1364
|
}
|
|
1389
|
-
body = JSON.stringify(__assign({}, (input.displayName
|
|
1365
|
+
body = JSON.stringify(__assign({}, (input.displayName != null && { displayName: input.displayName })));
|
|
1390
1366
|
return [2, new __HttpRequest({
|
|
1391
1367
|
protocol: protocol,
|
|
1392
1368
|
hostname: hostname,
|
|
@@ -1424,11 +1400,9 @@ export var serializeAws_restJson1UpdateTrustStoreCommand = function (input, cont
|
|
|
1424
1400
|
else {
|
|
1425
1401
|
throw new Error("No value provided for input HTTP label: trustStoreArn.");
|
|
1426
1402
|
}
|
|
1427
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.certificatesToAdd
|
|
1428
|
-
input.certificatesToAdd !== null && {
|
|
1403
|
+
body = JSON.stringify(__assign(__assign(__assign({}, (input.certificatesToAdd != null && {
|
|
1429
1404
|
certificatesToAdd: serializeAws_restJson1CertificateList(input.certificatesToAdd, context),
|
|
1430
|
-
})), (input.certificatesToDelete
|
|
1431
|
-
input.certificatesToDelete !== null && {
|
|
1405
|
+
})), (input.certificatesToDelete != null && {
|
|
1432
1406
|
certificatesToDelete: serializeAws_restJson1CertificateThumbprintList(input.certificatesToDelete, context),
|
|
1433
1407
|
})), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }));
|
|
1434
1408
|
return [2, new __HttpRequest({
|
|
@@ -1468,12 +1442,9 @@ export var serializeAws_restJson1UpdateUserSettingsCommand = function (input, co
|
|
|
1468
1442
|
else {
|
|
1469
1443
|
throw new Error("No value provided for input HTTP label: userSettingsArn.");
|
|
1470
1444
|
}
|
|
1471
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.copyAllowed
|
|
1472
|
-
input.disconnectTimeoutInMinutes !== null && { disconnectTimeoutInMinutes: input.disconnectTimeoutInMinutes })), (input.downloadAllowed !== undefined &&
|
|
1473
|
-
input.downloadAllowed !== null && { downloadAllowed: input.downloadAllowed })), (input.idleDisconnectTimeoutInMinutes !== undefined &&
|
|
1474
|
-
input.idleDisconnectTimeoutInMinutes !== null && {
|
|
1445
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.copyAllowed != null && { copyAllowed: input.copyAllowed })), (input.disconnectTimeoutInMinutes != null && { disconnectTimeoutInMinutes: input.disconnectTimeoutInMinutes })), (input.downloadAllowed != null && { downloadAllowed: input.downloadAllowed })), (input.idleDisconnectTimeoutInMinutes != null && {
|
|
1475
1446
|
idleDisconnectTimeoutInMinutes: input.idleDisconnectTimeoutInMinutes,
|
|
1476
|
-
})), (input.pasteAllowed
|
|
1447
|
+
})), (input.pasteAllowed != null && { pasteAllowed: input.pasteAllowed })), (input.printAllowed != null && { printAllowed: input.printAllowed })), (input.uploadAllowed != null && { uploadAllowed: input.uploadAllowed })));
|
|
1477
1448
|
return [2, new __HttpRequest({
|
|
1478
1449
|
protocol: protocol,
|
|
1479
1450
|
hostname: hostname,
|
|
@@ -4920,7 +4891,7 @@ var serializeAws_restJson1SubnetIdList = function (input, context) {
|
|
|
4920
4891
|
});
|
|
4921
4892
|
};
|
|
4922
4893
|
var serializeAws_restJson1Tag = function (input, context) {
|
|
4923
|
-
return __assign(__assign({}, (input.Key
|
|
4894
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
4924
4895
|
};
|
|
4925
4896
|
var serializeAws_restJson1TagList = function (input, context) {
|
|
4926
4897
|
return input
|
|
@@ -4945,7 +4916,7 @@ var deserializeAws_restJson1ArnList = function (output, context) {
|
|
|
4945
4916
|
};
|
|
4946
4917
|
var deserializeAws_restJson1BrowserSettings = function (output, context) {
|
|
4947
4918
|
return {
|
|
4948
|
-
associatedPortalArns: output.associatedPortalArns
|
|
4919
|
+
associatedPortalArns: output.associatedPortalArns != null
|
|
4949
4920
|
? deserializeAws_restJson1ArnList(output.associatedPortalArns, context)
|
|
4950
4921
|
: undefined,
|
|
4951
4922
|
browserPolicy: __expectString(output.browserPolicy),
|
|
@@ -4970,12 +4941,12 @@ var deserializeAws_restJson1BrowserSettingsSummary = function (output, context)
|
|
|
4970
4941
|
};
|
|
4971
4942
|
var deserializeAws_restJson1Certificate = function (output, context) {
|
|
4972
4943
|
return {
|
|
4973
|
-
body: output.body
|
|
4944
|
+
body: output.body != null ? context.base64Decoder(output.body) : undefined,
|
|
4974
4945
|
issuer: __expectString(output.issuer),
|
|
4975
|
-
notValidAfter: output.notValidAfter
|
|
4946
|
+
notValidAfter: output.notValidAfter != null
|
|
4976
4947
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.notValidAfter)))
|
|
4977
4948
|
: undefined,
|
|
4978
|
-
notValidBefore: output.notValidBefore
|
|
4949
|
+
notValidBefore: output.notValidBefore != null
|
|
4979
4950
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.notValidBefore)))
|
|
4980
4951
|
: undefined,
|
|
4981
4952
|
subject: __expectString(output.subject),
|
|
@@ -4985,10 +4956,10 @@ var deserializeAws_restJson1Certificate = function (output, context) {
|
|
|
4985
4956
|
var deserializeAws_restJson1CertificateSummary = function (output, context) {
|
|
4986
4957
|
return {
|
|
4987
4958
|
issuer: __expectString(output.issuer),
|
|
4988
|
-
notValidAfter: output.notValidAfter
|
|
4959
|
+
notValidAfter: output.notValidAfter != null
|
|
4989
4960
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.notValidAfter)))
|
|
4990
4961
|
: undefined,
|
|
4991
|
-
notValidBefore: output.notValidBefore
|
|
4962
|
+
notValidBefore: output.notValidBefore != null
|
|
4992
4963
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.notValidBefore)))
|
|
4993
4964
|
: undefined,
|
|
4994
4965
|
subject: __expectString(output.subject),
|
|
@@ -5009,7 +4980,7 @@ var deserializeAws_restJson1CertificateSummaryList = function (output, context)
|
|
|
5009
4980
|
var deserializeAws_restJson1IdentityProvider = function (output, context) {
|
|
5010
4981
|
return {
|
|
5011
4982
|
identityProviderArn: __expectString(output.identityProviderArn),
|
|
5012
|
-
identityProviderDetails: output.identityProviderDetails
|
|
4983
|
+
identityProviderDetails: output.identityProviderDetails != null
|
|
5013
4984
|
? deserializeAws_restJson1IdentityProviderDetails(output.identityProviderDetails, context)
|
|
5014
4985
|
: undefined,
|
|
5015
4986
|
identityProviderName: __expectString(output.identityProviderName),
|
|
@@ -5046,16 +5017,14 @@ var deserializeAws_restJson1IdentityProviderSummary = function (output, context)
|
|
|
5046
5017
|
};
|
|
5047
5018
|
var deserializeAws_restJson1NetworkSettings = function (output, context) {
|
|
5048
5019
|
return {
|
|
5049
|
-
associatedPortalArns: output.associatedPortalArns
|
|
5020
|
+
associatedPortalArns: output.associatedPortalArns != null
|
|
5050
5021
|
? deserializeAws_restJson1ArnList(output.associatedPortalArns, context)
|
|
5051
5022
|
: undefined,
|
|
5052
5023
|
networkSettingsArn: __expectString(output.networkSettingsArn),
|
|
5053
|
-
securityGroupIds: output.securityGroupIds
|
|
5024
|
+
securityGroupIds: output.securityGroupIds != null
|
|
5054
5025
|
? deserializeAws_restJson1SecurityGroupIdList(output.securityGroupIds, context)
|
|
5055
5026
|
: undefined,
|
|
5056
|
-
subnetIds: output.subnetIds
|
|
5057
|
-
? deserializeAws_restJson1SubnetIdList(output.subnetIds, context)
|
|
5058
|
-
: undefined,
|
|
5027
|
+
subnetIds: output.subnetIds != null ? deserializeAws_restJson1SubnetIdList(output.subnetIds, context) : undefined,
|
|
5059
5028
|
vpcId: __expectString(output.vpcId),
|
|
5060
5029
|
};
|
|
5061
5030
|
};
|
|
@@ -5080,7 +5049,7 @@ var deserializeAws_restJson1Portal = function (output, context) {
|
|
|
5080
5049
|
return {
|
|
5081
5050
|
browserSettingsArn: __expectString(output.browserSettingsArn),
|
|
5082
5051
|
browserType: __expectString(output.browserType),
|
|
5083
|
-
creationDate: output.creationDate
|
|
5052
|
+
creationDate: output.creationDate != null
|
|
5084
5053
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
|
|
5085
5054
|
: undefined,
|
|
5086
5055
|
displayName: __expectString(output.displayName),
|
|
@@ -5109,7 +5078,7 @@ var deserializeAws_restJson1PortalSummary = function (output, context) {
|
|
|
5109
5078
|
return {
|
|
5110
5079
|
browserSettingsArn: __expectString(output.browserSettingsArn),
|
|
5111
5080
|
browserType: __expectString(output.browserType),
|
|
5112
|
-
creationDate: output.creationDate
|
|
5081
|
+
creationDate: output.creationDate != null
|
|
5113
5082
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
|
|
5114
5083
|
: undefined,
|
|
5115
5084
|
displayName: __expectString(output.displayName),
|
|
@@ -5163,7 +5132,7 @@ var deserializeAws_restJson1TagList = function (output, context) {
|
|
|
5163
5132
|
};
|
|
5164
5133
|
var deserializeAws_restJson1TrustStore = function (output, context) {
|
|
5165
5134
|
return {
|
|
5166
|
-
associatedPortalArns: output.associatedPortalArns
|
|
5135
|
+
associatedPortalArns: output.associatedPortalArns != null
|
|
5167
5136
|
? deserializeAws_restJson1ArnList(output.associatedPortalArns, context)
|
|
5168
5137
|
: undefined,
|
|
5169
5138
|
trustStoreArn: __expectString(output.trustStoreArn),
|
|
@@ -5187,7 +5156,7 @@ var deserializeAws_restJson1TrustStoreSummaryList = function (output, context) {
|
|
|
5187
5156
|
};
|
|
5188
5157
|
var deserializeAws_restJson1UserSettings = function (output, context) {
|
|
5189
5158
|
return {
|
|
5190
|
-
associatedPortalArns: output.associatedPortalArns
|
|
5159
|
+
associatedPortalArns: output.associatedPortalArns != null
|
|
5191
5160
|
? deserializeAws_restJson1ArnList(output.associatedPortalArns, context)
|
|
5192
5161
|
: undefined,
|
|
5193
5162
|
copyAllowed: __expectString(output.copyAllowed),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-workspaces-web",
|
|
3
3
|
"description": "AWS SDK for JavaScript Workspaces Web Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.127.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,35 +18,35 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-retry": "3.
|
|
32
|
-
"@aws-sdk/middleware-serde": "3.
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
34
|
-
"@aws-sdk/middleware-stack": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
-
"@aws-sdk/protocol-http": "3.
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.127.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.127.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.127.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.127.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.127.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.127.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.127.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.127.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.127.0",
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.127.0",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.127.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.127.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.127.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.127.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.127.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.127.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.127.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.127.0",
|
|
40
|
+
"@aws-sdk/types": "3.127.0",
|
|
41
|
+
"@aws-sdk/url-parser": "3.127.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.127.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.127.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
51
51
|
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
52
52
|
"tslib": "^2.3.1",
|