@aws-sdk/client-fis 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 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-fis
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
 
@@ -15,24 +15,20 @@ const serializeAws_restJson1CreateExperimentTemplateCommand = async (input, cont
15
15
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/experimentTemplates";
16
16
  let body;
17
17
  body = JSON.stringify({
18
- ...(input.actions !== undefined &&
19
- input.actions !== null && {
18
+ ...(input.actions != null && {
20
19
  actions: serializeAws_restJson1CreateExperimentTemplateActionInputMap(input.actions, context),
21
20
  }),
22
21
  clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
23
- ...(input.description !== undefined && input.description !== null && { description: input.description }),
24
- ...(input.logConfiguration !== undefined &&
25
- input.logConfiguration !== null && {
22
+ ...(input.description != null && { description: input.description }),
23
+ ...(input.logConfiguration != null && {
26
24
  logConfiguration: serializeAws_restJson1CreateExperimentTemplateLogConfigurationInput(input.logConfiguration, context),
27
25
  }),
28
- ...(input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn }),
29
- ...(input.stopConditions !== undefined &&
30
- input.stopConditions !== null && {
26
+ ...(input.roleArn != null && { roleArn: input.roleArn }),
27
+ ...(input.stopConditions != null && {
31
28
  stopConditions: serializeAws_restJson1CreateExperimentTemplateStopConditionInputList(input.stopConditions, context),
32
29
  }),
33
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
34
- ...(input.targets !== undefined &&
35
- input.targets !== null && {
30
+ ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
31
+ ...(input.targets != null && {
36
32
  targets: serializeAws_restJson1CreateExperimentTemplateTargetInputMap(input.targets, context),
37
33
  }),
38
34
  });
@@ -297,9 +293,8 @@ const serializeAws_restJson1StartExperimentCommand = async (input, context) => {
297
293
  let body;
298
294
  body = JSON.stringify({
299
295
  clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
300
- ...(input.experimentTemplateId !== undefined &&
301
- input.experimentTemplateId !== null && { experimentTemplateId: input.experimentTemplateId }),
302
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
296
+ ...(input.experimentTemplateId != null && { experimentTemplateId: input.experimentTemplateId }),
297
+ ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
303
298
  });
304
299
  return new protocol_http_1.HttpRequest({
305
300
  protocol,
@@ -356,7 +351,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
356
351
  }
357
352
  let body;
358
353
  body = JSON.stringify({
359
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
354
+ ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
360
355
  });
361
356
  return new protocol_http_1.HttpRequest({
362
357
  protocol,
@@ -417,22 +412,18 @@ const serializeAws_restJson1UpdateExperimentTemplateCommand = async (input, cont
417
412
  }
418
413
  let body;
419
414
  body = JSON.stringify({
420
- ...(input.actions !== undefined &&
421
- input.actions !== null && {
415
+ ...(input.actions != null && {
422
416
  actions: serializeAws_restJson1UpdateExperimentTemplateActionInputMap(input.actions, context),
423
417
  }),
424
- ...(input.description !== undefined && input.description !== null && { description: input.description }),
425
- ...(input.logConfiguration !== undefined &&
426
- input.logConfiguration !== null && {
418
+ ...(input.description != null && { description: input.description }),
419
+ ...(input.logConfiguration != null && {
427
420
  logConfiguration: serializeAws_restJson1UpdateExperimentTemplateLogConfigurationInput(input.logConfiguration, context),
428
421
  }),
429
- ...(input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn }),
430
- ...(input.stopConditions !== undefined &&
431
- input.stopConditions !== null && {
422
+ ...(input.roleArn != null && { roleArn: input.roleArn }),
423
+ ...(input.stopConditions != null && {
432
424
  stopConditions: serializeAws_restJson1UpdateExperimentTemplateStopConditionInputList(input.stopConditions, context),
433
425
  }),
434
- ...(input.targets !== undefined &&
435
- input.targets !== null && {
426
+ ...(input.targets != null && {
436
427
  targets: serializeAws_restJson1UpdateExperimentTemplateTargetInputMap(input.targets, context),
437
428
  }),
438
429
  });
@@ -1146,18 +1137,15 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
1146
1137
  };
1147
1138
  const serializeAws_restJson1CreateExperimentTemplateActionInput = (input, context) => {
1148
1139
  return {
1149
- ...(input.actionId !== undefined && input.actionId !== null && { actionId: input.actionId }),
1150
- ...(input.description !== undefined && input.description !== null && { description: input.description }),
1151
- ...(input.parameters !== undefined &&
1152
- input.parameters !== null && {
1140
+ ...(input.actionId != null && { actionId: input.actionId }),
1141
+ ...(input.description != null && { description: input.description }),
1142
+ ...(input.parameters != null && {
1153
1143
  parameters: serializeAws_restJson1ExperimentTemplateActionParameterMap(input.parameters, context),
1154
1144
  }),
1155
- ...(input.startAfter !== undefined &&
1156
- input.startAfter !== null && {
1145
+ ...(input.startAfter != null && {
1157
1146
  startAfter: serializeAws_restJson1ExperimentTemplateActionStartAfterList(input.startAfter, context),
1158
1147
  }),
1159
- ...(input.targets !== undefined &&
1160
- input.targets !== null && {
1148
+ ...(input.targets != null && {
1161
1149
  targets: serializeAws_restJson1ExperimentTemplateActionTargetMap(input.targets, context),
1162
1150
  }),
1163
1151
  };
@@ -1175,22 +1163,19 @@ const serializeAws_restJson1CreateExperimentTemplateActionInputMap = (input, con
1175
1163
  };
1176
1164
  const serializeAws_restJson1CreateExperimentTemplateLogConfigurationInput = (input, context) => {
1177
1165
  return {
1178
- ...(input.cloudWatchLogsConfiguration !== undefined &&
1179
- input.cloudWatchLogsConfiguration !== null && {
1166
+ ...(input.cloudWatchLogsConfiguration != null && {
1180
1167
  cloudWatchLogsConfiguration: serializeAws_restJson1ExperimentTemplateCloudWatchLogsLogConfigurationInput(input.cloudWatchLogsConfiguration, context),
1181
1168
  }),
1182
- ...(input.logSchemaVersion !== undefined &&
1183
- input.logSchemaVersion !== null && { logSchemaVersion: input.logSchemaVersion }),
1184
- ...(input.s3Configuration !== undefined &&
1185
- input.s3Configuration !== null && {
1169
+ ...(input.logSchemaVersion != null && { logSchemaVersion: input.logSchemaVersion }),
1170
+ ...(input.s3Configuration != null && {
1186
1171
  s3Configuration: serializeAws_restJson1ExperimentTemplateS3LogConfigurationInput(input.s3Configuration, context),
1187
1172
  }),
1188
1173
  };
1189
1174
  };
1190
1175
  const serializeAws_restJson1CreateExperimentTemplateStopConditionInput = (input, context) => {
1191
1176
  return {
1192
- ...(input.source !== undefined && input.source !== null && { source: input.source }),
1193
- ...(input.value !== undefined && input.value !== null && { value: input.value }),
1177
+ ...(input.source != null && { source: input.source }),
1178
+ ...(input.value != null && { value: input.value }),
1194
1179
  };
1195
1180
  };
1196
1181
  const serializeAws_restJson1CreateExperimentTemplateStopConditionInputList = (input, context) => {
@@ -1205,22 +1190,18 @@ const serializeAws_restJson1CreateExperimentTemplateStopConditionInputList = (in
1205
1190
  };
1206
1191
  const serializeAws_restJson1CreateExperimentTemplateTargetInput = (input, context) => {
1207
1192
  return {
1208
- ...(input.filters !== undefined &&
1209
- input.filters !== null && {
1193
+ ...(input.filters != null && {
1210
1194
  filters: serializeAws_restJson1ExperimentTemplateTargetFilterInputList(input.filters, context),
1211
1195
  }),
1212
- ...(input.parameters !== undefined &&
1213
- input.parameters !== null && {
1196
+ ...(input.parameters != null && {
1214
1197
  parameters: serializeAws_restJson1ExperimentTemplateTargetParameterMap(input.parameters, context),
1215
1198
  }),
1216
- ...(input.resourceArns !== undefined &&
1217
- input.resourceArns !== null && {
1199
+ ...(input.resourceArns != null && {
1218
1200
  resourceArns: serializeAws_restJson1ResourceArnList(input.resourceArns, context),
1219
1201
  }),
1220
- ...(input.resourceTags !== undefined &&
1221
- input.resourceTags !== null && { resourceTags: serializeAws_restJson1TagMap(input.resourceTags, context) }),
1222
- ...(input.resourceType !== undefined && input.resourceType !== null && { resourceType: input.resourceType }),
1223
- ...(input.selectionMode !== undefined && input.selectionMode !== null && { selectionMode: input.selectionMode }),
1202
+ ...(input.resourceTags != null && { resourceTags: serializeAws_restJson1TagMap(input.resourceTags, context) }),
1203
+ ...(input.resourceType != null && { resourceType: input.resourceType }),
1204
+ ...(input.selectionMode != null && { selectionMode: input.selectionMode }),
1224
1205
  };
1225
1206
  };
1226
1207
  const serializeAws_restJson1CreateExperimentTemplateTargetInputMap = (input, context) => {
@@ -1268,13 +1249,13 @@ const serializeAws_restJson1ExperimentTemplateActionTargetMap = (input, context)
1268
1249
  };
1269
1250
  const serializeAws_restJson1ExperimentTemplateCloudWatchLogsLogConfigurationInput = (input, context) => {
1270
1251
  return {
1271
- ...(input.logGroupArn !== undefined && input.logGroupArn !== null && { logGroupArn: input.logGroupArn }),
1252
+ ...(input.logGroupArn != null && { logGroupArn: input.logGroupArn }),
1272
1253
  };
1273
1254
  };
1274
1255
  const serializeAws_restJson1ExperimentTemplateS3LogConfigurationInput = (input, context) => {
1275
1256
  return {
1276
- ...(input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName }),
1277
- ...(input.prefix !== undefined && input.prefix !== null && { prefix: input.prefix }),
1257
+ ...(input.bucketName != null && { bucketName: input.bucketName }),
1258
+ ...(input.prefix != null && { prefix: input.prefix }),
1278
1259
  };
1279
1260
  };
1280
1261
  const serializeAws_restJson1ExperimentTemplateTargetFilterInputList = (input, context) => {
@@ -1299,9 +1280,8 @@ const serializeAws_restJson1ExperimentTemplateTargetFilterValues = (input, conte
1299
1280
  };
1300
1281
  const serializeAws_restJson1ExperimentTemplateTargetInputFilter = (input, context) => {
1301
1282
  return {
1302
- ...(input.path !== undefined && input.path !== null && { path: input.path }),
1303
- ...(input.values !== undefined &&
1304
- input.values !== null && {
1283
+ ...(input.path != null && { path: input.path }),
1284
+ ...(input.values != null && {
1305
1285
  values: serializeAws_restJson1ExperimentTemplateTargetFilterValues(input.values, context),
1306
1286
  }),
1307
1287
  };
@@ -1340,18 +1320,15 @@ const serializeAws_restJson1TagMap = (input, context) => {
1340
1320
  };
1341
1321
  const serializeAws_restJson1UpdateExperimentTemplateActionInputItem = (input, context) => {
1342
1322
  return {
1343
- ...(input.actionId !== undefined && input.actionId !== null && { actionId: input.actionId }),
1344
- ...(input.description !== undefined && input.description !== null && { description: input.description }),
1345
- ...(input.parameters !== undefined &&
1346
- input.parameters !== null && {
1323
+ ...(input.actionId != null && { actionId: input.actionId }),
1324
+ ...(input.description != null && { description: input.description }),
1325
+ ...(input.parameters != null && {
1347
1326
  parameters: serializeAws_restJson1ExperimentTemplateActionParameterMap(input.parameters, context),
1348
1327
  }),
1349
- ...(input.startAfter !== undefined &&
1350
- input.startAfter !== null && {
1328
+ ...(input.startAfter != null && {
1351
1329
  startAfter: serializeAws_restJson1ExperimentTemplateActionStartAfterList(input.startAfter, context),
1352
1330
  }),
1353
- ...(input.targets !== undefined &&
1354
- input.targets !== null && {
1331
+ ...(input.targets != null && {
1355
1332
  targets: serializeAws_restJson1ExperimentTemplateActionTargetMap(input.targets, context),
1356
1333
  }),
1357
1334
  };
@@ -1369,22 +1346,19 @@ const serializeAws_restJson1UpdateExperimentTemplateActionInputMap = (input, con
1369
1346
  };
1370
1347
  const serializeAws_restJson1UpdateExperimentTemplateLogConfigurationInput = (input, context) => {
1371
1348
  return {
1372
- ...(input.cloudWatchLogsConfiguration !== undefined &&
1373
- input.cloudWatchLogsConfiguration !== null && {
1349
+ ...(input.cloudWatchLogsConfiguration != null && {
1374
1350
  cloudWatchLogsConfiguration: serializeAws_restJson1ExperimentTemplateCloudWatchLogsLogConfigurationInput(input.cloudWatchLogsConfiguration, context),
1375
1351
  }),
1376
- ...(input.logSchemaVersion !== undefined &&
1377
- input.logSchemaVersion !== null && { logSchemaVersion: input.logSchemaVersion }),
1378
- ...(input.s3Configuration !== undefined &&
1379
- input.s3Configuration !== null && {
1352
+ ...(input.logSchemaVersion != null && { logSchemaVersion: input.logSchemaVersion }),
1353
+ ...(input.s3Configuration != null && {
1380
1354
  s3Configuration: serializeAws_restJson1ExperimentTemplateS3LogConfigurationInput(input.s3Configuration, context),
1381
1355
  }),
1382
1356
  };
1383
1357
  };
1384
1358
  const serializeAws_restJson1UpdateExperimentTemplateStopConditionInput = (input, context) => {
1385
1359
  return {
1386
- ...(input.source !== undefined && input.source !== null && { source: input.source }),
1387
- ...(input.value !== undefined && input.value !== null && { value: input.value }),
1360
+ ...(input.source != null && { source: input.source }),
1361
+ ...(input.value != null && { value: input.value }),
1388
1362
  };
1389
1363
  };
1390
1364
  const serializeAws_restJson1UpdateExperimentTemplateStopConditionInputList = (input, context) => {
@@ -1399,22 +1373,18 @@ const serializeAws_restJson1UpdateExperimentTemplateStopConditionInputList = (in
1399
1373
  };
1400
1374
  const serializeAws_restJson1UpdateExperimentTemplateTargetInput = (input, context) => {
1401
1375
  return {
1402
- ...(input.filters !== undefined &&
1403
- input.filters !== null && {
1376
+ ...(input.filters != null && {
1404
1377
  filters: serializeAws_restJson1ExperimentTemplateTargetFilterInputList(input.filters, context),
1405
1378
  }),
1406
- ...(input.parameters !== undefined &&
1407
- input.parameters !== null && {
1379
+ ...(input.parameters != null && {
1408
1380
  parameters: serializeAws_restJson1ExperimentTemplateTargetParameterMap(input.parameters, context),
1409
1381
  }),
1410
- ...(input.resourceArns !== undefined &&
1411
- input.resourceArns !== null && {
1382
+ ...(input.resourceArns != null && {
1412
1383
  resourceArns: serializeAws_restJson1ResourceArnList(input.resourceArns, context),
1413
1384
  }),
1414
- ...(input.resourceTags !== undefined &&
1415
- input.resourceTags !== null && { resourceTags: serializeAws_restJson1TagMap(input.resourceTags, context) }),
1416
- ...(input.resourceType !== undefined && input.resourceType !== null && { resourceType: input.resourceType }),
1417
- ...(input.selectionMode !== undefined && input.selectionMode !== null && { selectionMode: input.selectionMode }),
1385
+ ...(input.resourceTags != null && { resourceTags: serializeAws_restJson1TagMap(input.resourceTags, context) }),
1386
+ ...(input.resourceType != null && { resourceType: input.resourceType }),
1387
+ ...(input.selectionMode != null && { selectionMode: input.selectionMode }),
1418
1388
  };
1419
1389
  };
1420
1390
  const serializeAws_restJson1UpdateExperimentTemplateTargetInputMap = (input, context) => {
@@ -1432,15 +1402,9 @@ const deserializeAws_restJson1Action = (output, context) => {
1432
1402
  return {
1433
1403
  description: (0, smithy_client_1.expectString)(output.description),
1434
1404
  id: (0, smithy_client_1.expectString)(output.id),
1435
- parameters: output.parameters !== undefined && output.parameters !== null
1436
- ? deserializeAws_restJson1ActionParameterMap(output.parameters, context)
1437
- : undefined,
1438
- tags: output.tags !== undefined && output.tags !== null
1439
- ? deserializeAws_restJson1TagMap(output.tags, context)
1440
- : undefined,
1441
- targets: output.targets !== undefined && output.targets !== null
1442
- ? deserializeAws_restJson1ActionTargetMap(output.targets, context)
1443
- : undefined,
1405
+ parameters: output.parameters != null ? deserializeAws_restJson1ActionParameterMap(output.parameters, context) : undefined,
1406
+ tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
1407
+ targets: output.targets != null ? deserializeAws_restJson1ActionTargetMap(output.targets, context) : undefined,
1444
1408
  };
1445
1409
  };
1446
1410
  const deserializeAws_restJson1ActionParameter = (output, context) => {
@@ -1464,12 +1428,8 @@ const deserializeAws_restJson1ActionSummary = (output, context) => {
1464
1428
  return {
1465
1429
  description: (0, smithy_client_1.expectString)(output.description),
1466
1430
  id: (0, smithy_client_1.expectString)(output.id),
1467
- tags: output.tags !== undefined && output.tags !== null
1468
- ? deserializeAws_restJson1TagMap(output.tags, context)
1469
- : undefined,
1470
- targets: output.targets !== undefined && output.targets !== null
1471
- ? deserializeAws_restJson1ActionTargetMap(output.targets, context)
1472
- : undefined,
1431
+ tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
1432
+ targets: output.targets != null ? deserializeAws_restJson1ActionTargetMap(output.targets, context) : undefined,
1473
1433
  };
1474
1434
  };
1475
1435
  const deserializeAws_restJson1ActionSummaryList = (output, context) => {
@@ -1501,60 +1461,40 @@ const deserializeAws_restJson1ActionTargetMap = (output, context) => {
1501
1461
  };
1502
1462
  const deserializeAws_restJson1Experiment = (output, context) => {
1503
1463
  return {
1504
- actions: output.actions !== undefined && output.actions !== null
1505
- ? deserializeAws_restJson1ExperimentActionMap(output.actions, context)
1506
- : undefined,
1507
- creationTime: output.creationTime !== undefined && output.creationTime !== null
1464
+ actions: output.actions != null ? deserializeAws_restJson1ExperimentActionMap(output.actions, context) : undefined,
1465
+ creationTime: output.creationTime != null
1508
1466
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
1509
1467
  : undefined,
1510
- endTime: output.endTime !== undefined && output.endTime !== null
1511
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime)))
1512
- : undefined,
1468
+ endTime: output.endTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime))) : undefined,
1513
1469
  experimentTemplateId: (0, smithy_client_1.expectString)(output.experimentTemplateId),
1514
1470
  id: (0, smithy_client_1.expectString)(output.id),
1515
- logConfiguration: output.logConfiguration !== undefined && output.logConfiguration !== null
1471
+ logConfiguration: output.logConfiguration != null
1516
1472
  ? deserializeAws_restJson1ExperimentLogConfiguration(output.logConfiguration, context)
1517
1473
  : undefined,
1518
1474
  roleArn: (0, smithy_client_1.expectString)(output.roleArn),
1519
- startTime: output.startTime !== undefined && output.startTime !== null
1520
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime)))
1521
- : undefined,
1522
- state: output.state !== undefined && output.state !== null
1523
- ? deserializeAws_restJson1ExperimentState(output.state, context)
1524
- : undefined,
1525
- stopConditions: output.stopConditions !== undefined && output.stopConditions !== null
1475
+ startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime))) : undefined,
1476
+ state: output.state != null ? deserializeAws_restJson1ExperimentState(output.state, context) : undefined,
1477
+ stopConditions: output.stopConditions != null
1526
1478
  ? deserializeAws_restJson1ExperimentStopConditionList(output.stopConditions, context)
1527
1479
  : undefined,
1528
- tags: output.tags !== undefined && output.tags !== null
1529
- ? deserializeAws_restJson1TagMap(output.tags, context)
1530
- : undefined,
1531
- targets: output.targets !== undefined && output.targets !== null
1532
- ? deserializeAws_restJson1ExperimentTargetMap(output.targets, context)
1533
- : undefined,
1480
+ tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
1481
+ targets: output.targets != null ? deserializeAws_restJson1ExperimentTargetMap(output.targets, context) : undefined,
1534
1482
  };
1535
1483
  };
1536
1484
  const deserializeAws_restJson1ExperimentAction = (output, context) => {
1537
1485
  return {
1538
1486
  actionId: (0, smithy_client_1.expectString)(output.actionId),
1539
1487
  description: (0, smithy_client_1.expectString)(output.description),
1540
- endTime: output.endTime !== undefined && output.endTime !== null
1541
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime)))
1542
- : undefined,
1543
- parameters: output.parameters !== undefined && output.parameters !== null
1488
+ endTime: output.endTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime))) : undefined,
1489
+ parameters: output.parameters != null
1544
1490
  ? deserializeAws_restJson1ExperimentActionParameterMap(output.parameters, context)
1545
1491
  : undefined,
1546
- startAfter: output.startAfter !== undefined && output.startAfter !== null
1492
+ startAfter: output.startAfter != null
1547
1493
  ? deserializeAws_restJson1ExperimentActionStartAfterList(output.startAfter, context)
1548
1494
  : undefined,
1549
- startTime: output.startTime !== undefined && output.startTime !== null
1550
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime)))
1551
- : undefined,
1552
- state: output.state !== undefined && output.state !== null
1553
- ? deserializeAws_restJson1ExperimentActionState(output.state, context)
1554
- : undefined,
1555
- targets: output.targets !== undefined && output.targets !== null
1556
- ? deserializeAws_restJson1ExperimentActionTargetMap(output.targets, context)
1557
- : undefined,
1495
+ startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime))) : undefined,
1496
+ state: output.state != null ? deserializeAws_restJson1ExperimentActionState(output.state, context) : undefined,
1497
+ targets: output.targets != null ? deserializeAws_restJson1ExperimentActionTargetMap(output.targets, context) : undefined,
1558
1498
  };
1559
1499
  };
1560
1500
  const deserializeAws_restJson1ExperimentActionMap = (output, context) => {
@@ -1614,11 +1554,11 @@ const deserializeAws_restJson1ExperimentCloudWatchLogsLogConfiguration = (output
1614
1554
  };
1615
1555
  const deserializeAws_restJson1ExperimentLogConfiguration = (output, context) => {
1616
1556
  return {
1617
- cloudWatchLogsConfiguration: output.cloudWatchLogsConfiguration !== undefined && output.cloudWatchLogsConfiguration !== null
1557
+ cloudWatchLogsConfiguration: output.cloudWatchLogsConfiguration != null
1618
1558
  ? deserializeAws_restJson1ExperimentCloudWatchLogsLogConfiguration(output.cloudWatchLogsConfiguration, context)
1619
1559
  : undefined,
1620
1560
  logSchemaVersion: (0, smithy_client_1.expectInt32)(output.logSchemaVersion),
1621
- s3Configuration: output.s3Configuration !== undefined && output.s3Configuration !== null
1561
+ s3Configuration: output.s3Configuration != null
1622
1562
  ? deserializeAws_restJson1ExperimentS3LogConfiguration(output.s3Configuration, context)
1623
1563
  : undefined,
1624
1564
  };
@@ -1654,17 +1594,13 @@ const deserializeAws_restJson1ExperimentStopConditionList = (output, context) =>
1654
1594
  };
1655
1595
  const deserializeAws_restJson1ExperimentSummary = (output, context) => {
1656
1596
  return {
1657
- creationTime: output.creationTime !== undefined && output.creationTime !== null
1597
+ creationTime: output.creationTime != null
1658
1598
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
1659
1599
  : undefined,
1660
1600
  experimentTemplateId: (0, smithy_client_1.expectString)(output.experimentTemplateId),
1661
1601
  id: (0, smithy_client_1.expectString)(output.id),
1662
- state: output.state !== undefined && output.state !== null
1663
- ? deserializeAws_restJson1ExperimentState(output.state, context)
1664
- : undefined,
1665
- tags: output.tags !== undefined && output.tags !== null
1666
- ? deserializeAws_restJson1TagMap(output.tags, context)
1667
- : undefined,
1602
+ state: output.state != null ? deserializeAws_restJson1ExperimentState(output.state, context) : undefined,
1603
+ tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
1668
1604
  };
1669
1605
  };
1670
1606
  const deserializeAws_restJson1ExperimentSummaryList = (output, context) => {
@@ -1680,18 +1616,12 @@ const deserializeAws_restJson1ExperimentSummaryList = (output, context) => {
1680
1616
  };
1681
1617
  const deserializeAws_restJson1ExperimentTarget = (output, context) => {
1682
1618
  return {
1683
- filters: output.filters !== undefined && output.filters !== null
1684
- ? deserializeAws_restJson1ExperimentTargetFilterList(output.filters, context)
1685
- : undefined,
1686
- parameters: output.parameters !== undefined && output.parameters !== null
1619
+ filters: output.filters != null ? deserializeAws_restJson1ExperimentTargetFilterList(output.filters, context) : undefined,
1620
+ parameters: output.parameters != null
1687
1621
  ? deserializeAws_restJson1ExperimentTargetParameterMap(output.parameters, context)
1688
1622
  : undefined,
1689
- resourceArns: output.resourceArns !== undefined && output.resourceArns !== null
1690
- ? deserializeAws_restJson1ResourceArnList(output.resourceArns, context)
1691
- : undefined,
1692
- resourceTags: output.resourceTags !== undefined && output.resourceTags !== null
1693
- ? deserializeAws_restJson1TagMap(output.resourceTags, context)
1694
- : undefined,
1623
+ resourceArns: output.resourceArns != null ? deserializeAws_restJson1ResourceArnList(output.resourceArns, context) : undefined,
1624
+ resourceTags: output.resourceTags != null ? deserializeAws_restJson1TagMap(output.resourceTags, context) : undefined,
1695
1625
  resourceType: (0, smithy_client_1.expectString)(output.resourceType),
1696
1626
  selectionMode: (0, smithy_client_1.expectString)(output.selectionMode),
1697
1627
  };
@@ -1699,9 +1629,7 @@ const deserializeAws_restJson1ExperimentTarget = (output, context) => {
1699
1629
  const deserializeAws_restJson1ExperimentTargetFilter = (output, context) => {
1700
1630
  return {
1701
1631
  path: (0, smithy_client_1.expectString)(output.path),
1702
- values: output.values !== undefined && output.values !== null
1703
- ? deserializeAws_restJson1ExperimentTargetFilterValues(output.values, context)
1704
- : undefined,
1632
+ values: output.values != null ? deserializeAws_restJson1ExperimentTargetFilterValues(output.values, context) : undefined,
1705
1633
  };
1706
1634
  };
1707
1635
  const deserializeAws_restJson1ExperimentTargetFilterList = (output, context) => {
@@ -1750,43 +1678,37 @@ const deserializeAws_restJson1ExperimentTargetParameterMap = (output, context) =
1750
1678
  };
1751
1679
  const deserializeAws_restJson1ExperimentTemplate = (output, context) => {
1752
1680
  return {
1753
- actions: output.actions !== undefined && output.actions !== null
1754
- ? deserializeAws_restJson1ExperimentTemplateActionMap(output.actions, context)
1755
- : undefined,
1756
- creationTime: output.creationTime !== undefined && output.creationTime !== null
1681
+ actions: output.actions != null ? deserializeAws_restJson1ExperimentTemplateActionMap(output.actions, context) : undefined,
1682
+ creationTime: output.creationTime != null
1757
1683
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
1758
1684
  : undefined,
1759
1685
  description: (0, smithy_client_1.expectString)(output.description),
1760
1686
  id: (0, smithy_client_1.expectString)(output.id),
1761
- lastUpdateTime: output.lastUpdateTime !== undefined && output.lastUpdateTime !== null
1687
+ lastUpdateTime: output.lastUpdateTime != null
1762
1688
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdateTime)))
1763
1689
  : undefined,
1764
- logConfiguration: output.logConfiguration !== undefined && output.logConfiguration !== null
1690
+ logConfiguration: output.logConfiguration != null
1765
1691
  ? deserializeAws_restJson1ExperimentTemplateLogConfiguration(output.logConfiguration, context)
1766
1692
  : undefined,
1767
1693
  roleArn: (0, smithy_client_1.expectString)(output.roleArn),
1768
- stopConditions: output.stopConditions !== undefined && output.stopConditions !== null
1694
+ stopConditions: output.stopConditions != null
1769
1695
  ? deserializeAws_restJson1ExperimentTemplateStopConditionList(output.stopConditions, context)
1770
1696
  : undefined,
1771
- tags: output.tags !== undefined && output.tags !== null
1772
- ? deserializeAws_restJson1TagMap(output.tags, context)
1773
- : undefined,
1774
- targets: output.targets !== undefined && output.targets !== null
1775
- ? deserializeAws_restJson1ExperimentTemplateTargetMap(output.targets, context)
1776
- : undefined,
1697
+ tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
1698
+ targets: output.targets != null ? deserializeAws_restJson1ExperimentTemplateTargetMap(output.targets, context) : undefined,
1777
1699
  };
1778
1700
  };
1779
1701
  const deserializeAws_restJson1ExperimentTemplateAction = (output, context) => {
1780
1702
  return {
1781
1703
  actionId: (0, smithy_client_1.expectString)(output.actionId),
1782
1704
  description: (0, smithy_client_1.expectString)(output.description),
1783
- parameters: output.parameters !== undefined && output.parameters !== null
1705
+ parameters: output.parameters != null
1784
1706
  ? deserializeAws_restJson1ExperimentTemplateActionParameterMap(output.parameters, context)
1785
1707
  : undefined,
1786
- startAfter: output.startAfter !== undefined && output.startAfter !== null
1708
+ startAfter: output.startAfter != null
1787
1709
  ? deserializeAws_restJson1ExperimentTemplateActionStartAfterList(output.startAfter, context)
1788
1710
  : undefined,
1789
- targets: output.targets !== undefined && output.targets !== null
1711
+ targets: output.targets != null
1790
1712
  ? deserializeAws_restJson1ExperimentTemplateActionTargetMap(output.targets, context)
1791
1713
  : undefined,
1792
1714
  };
@@ -1842,11 +1764,11 @@ const deserializeAws_restJson1ExperimentTemplateCloudWatchLogsLogConfiguration =
1842
1764
  };
1843
1765
  const deserializeAws_restJson1ExperimentTemplateLogConfiguration = (output, context) => {
1844
1766
  return {
1845
- cloudWatchLogsConfiguration: output.cloudWatchLogsConfiguration !== undefined && output.cloudWatchLogsConfiguration !== null
1767
+ cloudWatchLogsConfiguration: output.cloudWatchLogsConfiguration != null
1846
1768
  ? deserializeAws_restJson1ExperimentTemplateCloudWatchLogsLogConfiguration(output.cloudWatchLogsConfiguration, context)
1847
1769
  : undefined,
1848
1770
  logSchemaVersion: (0, smithy_client_1.expectInt32)(output.logSchemaVersion),
1849
- s3Configuration: output.s3Configuration !== undefined && output.s3Configuration !== null
1771
+ s3Configuration: output.s3Configuration != null
1850
1772
  ? deserializeAws_restJson1ExperimentTemplateS3LogConfiguration(output.s3Configuration, context)
1851
1773
  : undefined,
1852
1774
  };
@@ -1876,17 +1798,15 @@ const deserializeAws_restJson1ExperimentTemplateStopConditionList = (output, con
1876
1798
  };
1877
1799
  const deserializeAws_restJson1ExperimentTemplateSummary = (output, context) => {
1878
1800
  return {
1879
- creationTime: output.creationTime !== undefined && output.creationTime !== null
1801
+ creationTime: output.creationTime != null
1880
1802
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
1881
1803
  : undefined,
1882
1804
  description: (0, smithy_client_1.expectString)(output.description),
1883
1805
  id: (0, smithy_client_1.expectString)(output.id),
1884
- lastUpdateTime: output.lastUpdateTime !== undefined && output.lastUpdateTime !== null
1806
+ lastUpdateTime: output.lastUpdateTime != null
1885
1807
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdateTime)))
1886
1808
  : undefined,
1887
- tags: output.tags !== undefined && output.tags !== null
1888
- ? deserializeAws_restJson1TagMap(output.tags, context)
1889
- : undefined,
1809
+ tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
1890
1810
  };
1891
1811
  };
1892
1812
  const deserializeAws_restJson1ExperimentTemplateSummaryList = (output, context) => {
@@ -1902,18 +1822,14 @@ const deserializeAws_restJson1ExperimentTemplateSummaryList = (output, context)
1902
1822
  };
1903
1823
  const deserializeAws_restJson1ExperimentTemplateTarget = (output, context) => {
1904
1824
  return {
1905
- filters: output.filters !== undefined && output.filters !== null
1825
+ filters: output.filters != null
1906
1826
  ? deserializeAws_restJson1ExperimentTemplateTargetFilterList(output.filters, context)
1907
1827
  : undefined,
1908
- parameters: output.parameters !== undefined && output.parameters !== null
1828
+ parameters: output.parameters != null
1909
1829
  ? deserializeAws_restJson1ExperimentTemplateTargetParameterMap(output.parameters, context)
1910
1830
  : undefined,
1911
- resourceArns: output.resourceArns !== undefined && output.resourceArns !== null
1912
- ? deserializeAws_restJson1ResourceArnList(output.resourceArns, context)
1913
- : undefined,
1914
- resourceTags: output.resourceTags !== undefined && output.resourceTags !== null
1915
- ? deserializeAws_restJson1TagMap(output.resourceTags, context)
1916
- : undefined,
1831
+ resourceArns: output.resourceArns != null ? deserializeAws_restJson1ResourceArnList(output.resourceArns, context) : undefined,
1832
+ resourceTags: output.resourceTags != null ? deserializeAws_restJson1TagMap(output.resourceTags, context) : undefined,
1917
1833
  resourceType: (0, smithy_client_1.expectString)(output.resourceType),
1918
1834
  selectionMode: (0, smithy_client_1.expectString)(output.selectionMode),
1919
1835
  };
@@ -1921,7 +1837,7 @@ const deserializeAws_restJson1ExperimentTemplateTarget = (output, context) => {
1921
1837
  const deserializeAws_restJson1ExperimentTemplateTargetFilter = (output, context) => {
1922
1838
  return {
1923
1839
  path: (0, smithy_client_1.expectString)(output.path),
1924
- values: output.values !== undefined && output.values !== null
1840
+ values: output.values != null
1925
1841
  ? deserializeAws_restJson1ExperimentTemplateTargetFilterValues(output.values, context)
1926
1842
  : undefined,
1927
1843
  };
@@ -1995,7 +1911,7 @@ const deserializeAws_restJson1TagMap = (output, context) => {
1995
1911
  const deserializeAws_restJson1TargetResourceType = (output, context) => {
1996
1912
  return {
1997
1913
  description: (0, smithy_client_1.expectString)(output.description),
1998
- parameters: output.parameters !== undefined && output.parameters !== null
1914
+ parameters: output.parameters != null
1999
1915
  ? deserializeAws_restJson1TargetResourceTypeParameterMap(output.parameters, context)
2000
1916
  : undefined,
2001
1917
  resourceType: (0, smithy_client_1.expectString)(output.resourceType),
@@ -16,17 +16,13 @@ export var serializeAws_restJson1CreateExperimentTemplateCommand = function (inp
16
16
  "content-type": "application/json",
17
17
  };
18
18
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/experimentTemplates";
19
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.actions !== undefined &&
20
- input.actions !== null && {
19
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.actions != null && {
21
20
  actions: serializeAws_restJson1CreateExperimentTemplateActionInputMap(input.actions, context),
22
- })), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.description !== undefined && input.description !== null && { description: input.description })), (input.logConfiguration !== undefined &&
23
- input.logConfiguration !== null && {
21
+ })), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.description != null && { description: input.description })), (input.logConfiguration != null && {
24
22
  logConfiguration: serializeAws_restJson1CreateExperimentTemplateLogConfigurationInput(input.logConfiguration, context),
25
- })), (input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn })), (input.stopConditions !== undefined &&
26
- input.stopConditions !== null && {
23
+ })), (input.roleArn != null && { roleArn: input.roleArn })), (input.stopConditions != null && {
27
24
  stopConditions: serializeAws_restJson1CreateExperimentTemplateStopConditionInputList(input.stopConditions, context),
28
- })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) })), (input.targets !== undefined &&
29
- input.targets !== null && {
25
+ })), (input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) })), (input.targets != null && {
30
26
  targets: serializeAws_restJson1CreateExperimentTemplateTargetInputMap(input.targets, context),
31
27
  })));
32
28
  return [2, new __HttpRequest({
@@ -331,8 +327,7 @@ export var serializeAws_restJson1StartExperimentCommand = function (input, conte
331
327
  "content-type": "application/json",
332
328
  };
333
329
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/experiments";
334
- body = JSON.stringify(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.experimentTemplateId !== undefined &&
335
- input.experimentTemplateId !== null && { experimentTemplateId: input.experimentTemplateId })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) })));
330
+ body = JSON.stringify(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.experimentTemplateId != null && { experimentTemplateId: input.experimentTemplateId })), (input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) })));
336
331
  return [2, new __HttpRequest({
337
332
  protocol: protocol,
338
333
  hostname: hostname,
@@ -397,7 +392,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
397
392
  else {
398
393
  throw new Error("No value provided for input HTTP label: resourceArn.");
399
394
  }
400
- body = JSON.stringify(__assign({}, (input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) })));
395
+ body = JSON.stringify(__assign({}, (input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) })));
401
396
  return [2, new __HttpRequest({
402
397
  protocol: protocol,
403
398
  hostname: hostname,
@@ -464,17 +459,13 @@ export var serializeAws_restJson1UpdateExperimentTemplateCommand = function (inp
464
459
  else {
465
460
  throw new Error("No value provided for input HTTP label: id.");
466
461
  }
467
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.actions !== undefined &&
468
- input.actions !== null && {
462
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.actions != null && {
469
463
  actions: serializeAws_restJson1UpdateExperimentTemplateActionInputMap(input.actions, context),
470
- })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.logConfiguration !== undefined &&
471
- input.logConfiguration !== null && {
464
+ })), (input.description != null && { description: input.description })), (input.logConfiguration != null && {
472
465
  logConfiguration: serializeAws_restJson1UpdateExperimentTemplateLogConfigurationInput(input.logConfiguration, context),
473
- })), (input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn })), (input.stopConditions !== undefined &&
474
- input.stopConditions !== null && {
466
+ })), (input.roleArn != null && { roleArn: input.roleArn })), (input.stopConditions != null && {
475
467
  stopConditions: serializeAws_restJson1UpdateExperimentTemplateStopConditionInputList(input.stopConditions, context),
476
- })), (input.targets !== undefined &&
477
- input.targets !== null && {
468
+ })), (input.targets != null && {
478
469
  targets: serializeAws_restJson1UpdateExperimentTemplateTargetInputMap(input.targets, context),
479
470
  })));
480
471
  return [2, new __HttpRequest({
@@ -1495,14 +1486,11 @@ var deserializeAws_restJson1ValidationExceptionResponse = function (parsedOutput
1495
1486
  });
1496
1487
  }); };
1497
1488
  var serializeAws_restJson1CreateExperimentTemplateActionInput = function (input, context) {
1498
- return __assign(__assign(__assign(__assign(__assign({}, (input.actionId !== undefined && input.actionId !== null && { actionId: input.actionId })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.parameters !== undefined &&
1499
- input.parameters !== null && {
1489
+ return __assign(__assign(__assign(__assign(__assign({}, (input.actionId != null && { actionId: input.actionId })), (input.description != null && { description: input.description })), (input.parameters != null && {
1500
1490
  parameters: serializeAws_restJson1ExperimentTemplateActionParameterMap(input.parameters, context),
1501
- })), (input.startAfter !== undefined &&
1502
- input.startAfter !== null && {
1491
+ })), (input.startAfter != null && {
1503
1492
  startAfter: serializeAws_restJson1ExperimentTemplateActionStartAfterList(input.startAfter, context),
1504
- })), (input.targets !== undefined &&
1505
- input.targets !== null && {
1493
+ })), (input.targets != null && {
1506
1494
  targets: serializeAws_restJson1ExperimentTemplateActionTargetMap(input.targets, context),
1507
1495
  }));
1508
1496
  };
@@ -1517,17 +1505,14 @@ var serializeAws_restJson1CreateExperimentTemplateActionInputMap = function (inp
1517
1505
  }, {});
1518
1506
  };
1519
1507
  var serializeAws_restJson1CreateExperimentTemplateLogConfigurationInput = function (input, context) {
1520
- return __assign(__assign(__assign({}, (input.cloudWatchLogsConfiguration !== undefined &&
1521
- input.cloudWatchLogsConfiguration !== null && {
1508
+ return __assign(__assign(__assign({}, (input.cloudWatchLogsConfiguration != null && {
1522
1509
  cloudWatchLogsConfiguration: serializeAws_restJson1ExperimentTemplateCloudWatchLogsLogConfigurationInput(input.cloudWatchLogsConfiguration, context),
1523
- })), (input.logSchemaVersion !== undefined &&
1524
- input.logSchemaVersion !== null && { logSchemaVersion: input.logSchemaVersion })), (input.s3Configuration !== undefined &&
1525
- input.s3Configuration !== null && {
1510
+ })), (input.logSchemaVersion != null && { logSchemaVersion: input.logSchemaVersion })), (input.s3Configuration != null && {
1526
1511
  s3Configuration: serializeAws_restJson1ExperimentTemplateS3LogConfigurationInput(input.s3Configuration, context),
1527
1512
  }));
1528
1513
  };
1529
1514
  var serializeAws_restJson1CreateExperimentTemplateStopConditionInput = function (input, context) {
1530
- return __assign(__assign({}, (input.source !== undefined && input.source !== null && { source: input.source })), (input.value !== undefined && input.value !== null && { value: input.value }));
1515
+ return __assign(__assign({}, (input.source != null && { source: input.source })), (input.value != null && { value: input.value }));
1531
1516
  };
1532
1517
  var serializeAws_restJson1CreateExperimentTemplateStopConditionInputList = function (input, context) {
1533
1518
  return input
@@ -1540,17 +1525,13 @@ var serializeAws_restJson1CreateExperimentTemplateStopConditionInputList = funct
1540
1525
  });
1541
1526
  };
1542
1527
  var serializeAws_restJson1CreateExperimentTemplateTargetInput = function (input, context) {
1543
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.filters !== undefined &&
1544
- input.filters !== null && {
1528
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.filters != null && {
1545
1529
  filters: serializeAws_restJson1ExperimentTemplateTargetFilterInputList(input.filters, context),
1546
- })), (input.parameters !== undefined &&
1547
- input.parameters !== null && {
1530
+ })), (input.parameters != null && {
1548
1531
  parameters: serializeAws_restJson1ExperimentTemplateTargetParameterMap(input.parameters, context),
1549
- })), (input.resourceArns !== undefined &&
1550
- input.resourceArns !== null && {
1532
+ })), (input.resourceArns != null && {
1551
1533
  resourceArns: serializeAws_restJson1ResourceArnList(input.resourceArns, context),
1552
- })), (input.resourceTags !== undefined &&
1553
- input.resourceTags !== null && { resourceTags: serializeAws_restJson1TagMap(input.resourceTags, context) })), (input.resourceType !== undefined && input.resourceType !== null && { resourceType: input.resourceType })), (input.selectionMode !== undefined && input.selectionMode !== null && { selectionMode: input.selectionMode }));
1534
+ })), (input.resourceTags != null && { resourceTags: serializeAws_restJson1TagMap(input.resourceTags, context) })), (input.resourceType != null && { resourceType: input.resourceType })), (input.selectionMode != null && { selectionMode: input.selectionMode }));
1554
1535
  };
1555
1536
  var serializeAws_restJson1CreateExperimentTemplateTargetInputMap = function (input, context) {
1556
1537
  return Object.entries(input).reduce(function (acc, _a) {
@@ -1593,10 +1574,10 @@ var serializeAws_restJson1ExperimentTemplateActionTargetMap = function (input, c
1593
1574
  }, {});
1594
1575
  };
1595
1576
  var serializeAws_restJson1ExperimentTemplateCloudWatchLogsLogConfigurationInput = function (input, context) {
1596
- return __assign({}, (input.logGroupArn !== undefined && input.logGroupArn !== null && { logGroupArn: input.logGroupArn }));
1577
+ return __assign({}, (input.logGroupArn != null && { logGroupArn: input.logGroupArn }));
1597
1578
  };
1598
1579
  var serializeAws_restJson1ExperimentTemplateS3LogConfigurationInput = function (input, context) {
1599
- return __assign(__assign({}, (input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName })), (input.prefix !== undefined && input.prefix !== null && { prefix: input.prefix }));
1580
+ return __assign(__assign({}, (input.bucketName != null && { bucketName: input.bucketName })), (input.prefix != null && { prefix: input.prefix }));
1600
1581
  };
1601
1582
  var serializeAws_restJson1ExperimentTemplateTargetFilterInputList = function (input, context) {
1602
1583
  return input
@@ -1619,8 +1600,7 @@ var serializeAws_restJson1ExperimentTemplateTargetFilterValues = function (input
1619
1600
  });
1620
1601
  };
1621
1602
  var serializeAws_restJson1ExperimentTemplateTargetInputFilter = function (input, context) {
1622
- return __assign(__assign({}, (input.path !== undefined && input.path !== null && { path: input.path })), (input.values !== undefined &&
1623
- input.values !== null && {
1603
+ return __assign(__assign({}, (input.path != null && { path: input.path })), (input.values != null && {
1624
1604
  values: serializeAws_restJson1ExperimentTemplateTargetFilterValues(input.values, context),
1625
1605
  }));
1626
1606
  };
@@ -1655,14 +1635,11 @@ var serializeAws_restJson1TagMap = function (input, context) {
1655
1635
  }, {});
1656
1636
  };
1657
1637
  var serializeAws_restJson1UpdateExperimentTemplateActionInputItem = function (input, context) {
1658
- return __assign(__assign(__assign(__assign(__assign({}, (input.actionId !== undefined && input.actionId !== null && { actionId: input.actionId })), (input.description !== undefined && input.description !== null && { description: input.description })), (input.parameters !== undefined &&
1659
- input.parameters !== null && {
1638
+ return __assign(__assign(__assign(__assign(__assign({}, (input.actionId != null && { actionId: input.actionId })), (input.description != null && { description: input.description })), (input.parameters != null && {
1660
1639
  parameters: serializeAws_restJson1ExperimentTemplateActionParameterMap(input.parameters, context),
1661
- })), (input.startAfter !== undefined &&
1662
- input.startAfter !== null && {
1640
+ })), (input.startAfter != null && {
1663
1641
  startAfter: serializeAws_restJson1ExperimentTemplateActionStartAfterList(input.startAfter, context),
1664
- })), (input.targets !== undefined &&
1665
- input.targets !== null && {
1642
+ })), (input.targets != null && {
1666
1643
  targets: serializeAws_restJson1ExperimentTemplateActionTargetMap(input.targets, context),
1667
1644
  }));
1668
1645
  };
@@ -1677,17 +1654,14 @@ var serializeAws_restJson1UpdateExperimentTemplateActionInputMap = function (inp
1677
1654
  }, {});
1678
1655
  };
1679
1656
  var serializeAws_restJson1UpdateExperimentTemplateLogConfigurationInput = function (input, context) {
1680
- return __assign(__assign(__assign({}, (input.cloudWatchLogsConfiguration !== undefined &&
1681
- input.cloudWatchLogsConfiguration !== null && {
1657
+ return __assign(__assign(__assign({}, (input.cloudWatchLogsConfiguration != null && {
1682
1658
  cloudWatchLogsConfiguration: serializeAws_restJson1ExperimentTemplateCloudWatchLogsLogConfigurationInput(input.cloudWatchLogsConfiguration, context),
1683
- })), (input.logSchemaVersion !== undefined &&
1684
- input.logSchemaVersion !== null && { logSchemaVersion: input.logSchemaVersion })), (input.s3Configuration !== undefined &&
1685
- input.s3Configuration !== null && {
1659
+ })), (input.logSchemaVersion != null && { logSchemaVersion: input.logSchemaVersion })), (input.s3Configuration != null && {
1686
1660
  s3Configuration: serializeAws_restJson1ExperimentTemplateS3LogConfigurationInput(input.s3Configuration, context),
1687
1661
  }));
1688
1662
  };
1689
1663
  var serializeAws_restJson1UpdateExperimentTemplateStopConditionInput = function (input, context) {
1690
- return __assign(__assign({}, (input.source !== undefined && input.source !== null && { source: input.source })), (input.value !== undefined && input.value !== null && { value: input.value }));
1664
+ return __assign(__assign({}, (input.source != null && { source: input.source })), (input.value != null && { value: input.value }));
1691
1665
  };
1692
1666
  var serializeAws_restJson1UpdateExperimentTemplateStopConditionInputList = function (input, context) {
1693
1667
  return input
@@ -1700,17 +1674,13 @@ var serializeAws_restJson1UpdateExperimentTemplateStopConditionInputList = funct
1700
1674
  });
1701
1675
  };
1702
1676
  var serializeAws_restJson1UpdateExperimentTemplateTargetInput = function (input, context) {
1703
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.filters !== undefined &&
1704
- input.filters !== null && {
1677
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.filters != null && {
1705
1678
  filters: serializeAws_restJson1ExperimentTemplateTargetFilterInputList(input.filters, context),
1706
- })), (input.parameters !== undefined &&
1707
- input.parameters !== null && {
1679
+ })), (input.parameters != null && {
1708
1680
  parameters: serializeAws_restJson1ExperimentTemplateTargetParameterMap(input.parameters, context),
1709
- })), (input.resourceArns !== undefined &&
1710
- input.resourceArns !== null && {
1681
+ })), (input.resourceArns != null && {
1711
1682
  resourceArns: serializeAws_restJson1ResourceArnList(input.resourceArns, context),
1712
- })), (input.resourceTags !== undefined &&
1713
- input.resourceTags !== null && { resourceTags: serializeAws_restJson1TagMap(input.resourceTags, context) })), (input.resourceType !== undefined && input.resourceType !== null && { resourceType: input.resourceType })), (input.selectionMode !== undefined && input.selectionMode !== null && { selectionMode: input.selectionMode }));
1683
+ })), (input.resourceTags != null && { resourceTags: serializeAws_restJson1TagMap(input.resourceTags, context) })), (input.resourceType != null && { resourceType: input.resourceType })), (input.selectionMode != null && { selectionMode: input.selectionMode }));
1714
1684
  };
1715
1685
  var serializeAws_restJson1UpdateExperimentTemplateTargetInputMap = function (input, context) {
1716
1686
  return Object.entries(input).reduce(function (acc, _a) {
@@ -1726,15 +1696,9 @@ var deserializeAws_restJson1Action = function (output, context) {
1726
1696
  return {
1727
1697
  description: __expectString(output.description),
1728
1698
  id: __expectString(output.id),
1729
- parameters: output.parameters !== undefined && output.parameters !== null
1730
- ? deserializeAws_restJson1ActionParameterMap(output.parameters, context)
1731
- : undefined,
1732
- tags: output.tags !== undefined && output.tags !== null
1733
- ? deserializeAws_restJson1TagMap(output.tags, context)
1734
- : undefined,
1735
- targets: output.targets !== undefined && output.targets !== null
1736
- ? deserializeAws_restJson1ActionTargetMap(output.targets, context)
1737
- : undefined,
1699
+ parameters: output.parameters != null ? deserializeAws_restJson1ActionParameterMap(output.parameters, context) : undefined,
1700
+ tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
1701
+ targets: output.targets != null ? deserializeAws_restJson1ActionTargetMap(output.targets, context) : undefined,
1738
1702
  };
1739
1703
  };
1740
1704
  var deserializeAws_restJson1ActionParameter = function (output, context) {
@@ -1757,12 +1721,8 @@ var deserializeAws_restJson1ActionSummary = function (output, context) {
1757
1721
  return {
1758
1722
  description: __expectString(output.description),
1759
1723
  id: __expectString(output.id),
1760
- tags: output.tags !== undefined && output.tags !== null
1761
- ? deserializeAws_restJson1TagMap(output.tags, context)
1762
- : undefined,
1763
- targets: output.targets !== undefined && output.targets !== null
1764
- ? deserializeAws_restJson1ActionTargetMap(output.targets, context)
1765
- : undefined,
1724
+ tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
1725
+ targets: output.targets != null ? deserializeAws_restJson1ActionTargetMap(output.targets, context) : undefined,
1766
1726
  };
1767
1727
  };
1768
1728
  var deserializeAws_restJson1ActionSummaryList = function (output, context) {
@@ -1793,60 +1753,40 @@ var deserializeAws_restJson1ActionTargetMap = function (output, context) {
1793
1753
  };
1794
1754
  var deserializeAws_restJson1Experiment = function (output, context) {
1795
1755
  return {
1796
- actions: output.actions !== undefined && output.actions !== null
1797
- ? deserializeAws_restJson1ExperimentActionMap(output.actions, context)
1798
- : undefined,
1799
- creationTime: output.creationTime !== undefined && output.creationTime !== null
1756
+ actions: output.actions != null ? deserializeAws_restJson1ExperimentActionMap(output.actions, context) : undefined,
1757
+ creationTime: output.creationTime != null
1800
1758
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationTime)))
1801
1759
  : undefined,
1802
- endTime: output.endTime !== undefined && output.endTime !== null
1803
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime)))
1804
- : undefined,
1760
+ endTime: output.endTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime))) : undefined,
1805
1761
  experimentTemplateId: __expectString(output.experimentTemplateId),
1806
1762
  id: __expectString(output.id),
1807
- logConfiguration: output.logConfiguration !== undefined && output.logConfiguration !== null
1763
+ logConfiguration: output.logConfiguration != null
1808
1764
  ? deserializeAws_restJson1ExperimentLogConfiguration(output.logConfiguration, context)
1809
1765
  : undefined,
1810
1766
  roleArn: __expectString(output.roleArn),
1811
- startTime: output.startTime !== undefined && output.startTime !== null
1812
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime)))
1813
- : undefined,
1814
- state: output.state !== undefined && output.state !== null
1815
- ? deserializeAws_restJson1ExperimentState(output.state, context)
1816
- : undefined,
1817
- stopConditions: output.stopConditions !== undefined && output.stopConditions !== null
1767
+ startTime: output.startTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) : undefined,
1768
+ state: output.state != null ? deserializeAws_restJson1ExperimentState(output.state, context) : undefined,
1769
+ stopConditions: output.stopConditions != null
1818
1770
  ? deserializeAws_restJson1ExperimentStopConditionList(output.stopConditions, context)
1819
1771
  : undefined,
1820
- tags: output.tags !== undefined && output.tags !== null
1821
- ? deserializeAws_restJson1TagMap(output.tags, context)
1822
- : undefined,
1823
- targets: output.targets !== undefined && output.targets !== null
1824
- ? deserializeAws_restJson1ExperimentTargetMap(output.targets, context)
1825
- : undefined,
1772
+ tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
1773
+ targets: output.targets != null ? deserializeAws_restJson1ExperimentTargetMap(output.targets, context) : undefined,
1826
1774
  };
1827
1775
  };
1828
1776
  var deserializeAws_restJson1ExperimentAction = function (output, context) {
1829
1777
  return {
1830
1778
  actionId: __expectString(output.actionId),
1831
1779
  description: __expectString(output.description),
1832
- endTime: output.endTime !== undefined && output.endTime !== null
1833
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime)))
1834
- : undefined,
1835
- parameters: output.parameters !== undefined && output.parameters !== null
1780
+ endTime: output.endTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime))) : undefined,
1781
+ parameters: output.parameters != null
1836
1782
  ? deserializeAws_restJson1ExperimentActionParameterMap(output.parameters, context)
1837
1783
  : undefined,
1838
- startAfter: output.startAfter !== undefined && output.startAfter !== null
1784
+ startAfter: output.startAfter != null
1839
1785
  ? deserializeAws_restJson1ExperimentActionStartAfterList(output.startAfter, context)
1840
1786
  : undefined,
1841
- startTime: output.startTime !== undefined && output.startTime !== null
1842
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime)))
1843
- : undefined,
1844
- state: output.state !== undefined && output.state !== null
1845
- ? deserializeAws_restJson1ExperimentActionState(output.state, context)
1846
- : undefined,
1847
- targets: output.targets !== undefined && output.targets !== null
1848
- ? deserializeAws_restJson1ExperimentActionTargetMap(output.targets, context)
1849
- : undefined,
1787
+ startTime: output.startTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) : undefined,
1788
+ state: output.state != null ? deserializeAws_restJson1ExperimentActionState(output.state, context) : undefined,
1789
+ targets: output.targets != null ? deserializeAws_restJson1ExperimentActionTargetMap(output.targets, context) : undefined,
1850
1790
  };
1851
1791
  };
1852
1792
  var deserializeAws_restJson1ExperimentActionMap = function (output, context) {
@@ -1903,11 +1843,11 @@ var deserializeAws_restJson1ExperimentCloudWatchLogsLogConfiguration = function
1903
1843
  };
1904
1844
  var deserializeAws_restJson1ExperimentLogConfiguration = function (output, context) {
1905
1845
  return {
1906
- cloudWatchLogsConfiguration: output.cloudWatchLogsConfiguration !== undefined && output.cloudWatchLogsConfiguration !== null
1846
+ cloudWatchLogsConfiguration: output.cloudWatchLogsConfiguration != null
1907
1847
  ? deserializeAws_restJson1ExperimentCloudWatchLogsLogConfiguration(output.cloudWatchLogsConfiguration, context)
1908
1848
  : undefined,
1909
1849
  logSchemaVersion: __expectInt32(output.logSchemaVersion),
1910
- s3Configuration: output.s3Configuration !== undefined && output.s3Configuration !== null
1850
+ s3Configuration: output.s3Configuration != null
1911
1851
  ? deserializeAws_restJson1ExperimentS3LogConfiguration(output.s3Configuration, context)
1912
1852
  : undefined,
1913
1853
  };
@@ -1943,17 +1883,13 @@ var deserializeAws_restJson1ExperimentStopConditionList = function (output, cont
1943
1883
  };
1944
1884
  var deserializeAws_restJson1ExperimentSummary = function (output, context) {
1945
1885
  return {
1946
- creationTime: output.creationTime !== undefined && output.creationTime !== null
1886
+ creationTime: output.creationTime != null
1947
1887
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationTime)))
1948
1888
  : undefined,
1949
1889
  experimentTemplateId: __expectString(output.experimentTemplateId),
1950
1890
  id: __expectString(output.id),
1951
- state: output.state !== undefined && output.state !== null
1952
- ? deserializeAws_restJson1ExperimentState(output.state, context)
1953
- : undefined,
1954
- tags: output.tags !== undefined && output.tags !== null
1955
- ? deserializeAws_restJson1TagMap(output.tags, context)
1956
- : undefined,
1891
+ state: output.state != null ? deserializeAws_restJson1ExperimentState(output.state, context) : undefined,
1892
+ tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
1957
1893
  };
1958
1894
  };
1959
1895
  var deserializeAws_restJson1ExperimentSummaryList = function (output, context) {
@@ -1969,18 +1905,12 @@ var deserializeAws_restJson1ExperimentSummaryList = function (output, context) {
1969
1905
  };
1970
1906
  var deserializeAws_restJson1ExperimentTarget = function (output, context) {
1971
1907
  return {
1972
- filters: output.filters !== undefined && output.filters !== null
1973
- ? deserializeAws_restJson1ExperimentTargetFilterList(output.filters, context)
1974
- : undefined,
1975
- parameters: output.parameters !== undefined && output.parameters !== null
1908
+ filters: output.filters != null ? deserializeAws_restJson1ExperimentTargetFilterList(output.filters, context) : undefined,
1909
+ parameters: output.parameters != null
1976
1910
  ? deserializeAws_restJson1ExperimentTargetParameterMap(output.parameters, context)
1977
1911
  : undefined,
1978
- resourceArns: output.resourceArns !== undefined && output.resourceArns !== null
1979
- ? deserializeAws_restJson1ResourceArnList(output.resourceArns, context)
1980
- : undefined,
1981
- resourceTags: output.resourceTags !== undefined && output.resourceTags !== null
1982
- ? deserializeAws_restJson1TagMap(output.resourceTags, context)
1983
- : undefined,
1912
+ resourceArns: output.resourceArns != null ? deserializeAws_restJson1ResourceArnList(output.resourceArns, context) : undefined,
1913
+ resourceTags: output.resourceTags != null ? deserializeAws_restJson1TagMap(output.resourceTags, context) : undefined,
1984
1914
  resourceType: __expectString(output.resourceType),
1985
1915
  selectionMode: __expectString(output.selectionMode),
1986
1916
  };
@@ -1988,9 +1918,7 @@ var deserializeAws_restJson1ExperimentTarget = function (output, context) {
1988
1918
  var deserializeAws_restJson1ExperimentTargetFilter = function (output, context) {
1989
1919
  return {
1990
1920
  path: __expectString(output.path),
1991
- values: output.values !== undefined && output.values !== null
1992
- ? deserializeAws_restJson1ExperimentTargetFilterValues(output.values, context)
1993
- : undefined,
1921
+ values: output.values != null ? deserializeAws_restJson1ExperimentTargetFilterValues(output.values, context) : undefined,
1994
1922
  };
1995
1923
  };
1996
1924
  var deserializeAws_restJson1ExperimentTargetFilterList = function (output, context) {
@@ -2037,43 +1965,37 @@ var deserializeAws_restJson1ExperimentTargetParameterMap = function (output, con
2037
1965
  };
2038
1966
  var deserializeAws_restJson1ExperimentTemplate = function (output, context) {
2039
1967
  return {
2040
- actions: output.actions !== undefined && output.actions !== null
2041
- ? deserializeAws_restJson1ExperimentTemplateActionMap(output.actions, context)
2042
- : undefined,
2043
- creationTime: output.creationTime !== undefined && output.creationTime !== null
1968
+ actions: output.actions != null ? deserializeAws_restJson1ExperimentTemplateActionMap(output.actions, context) : undefined,
1969
+ creationTime: output.creationTime != null
2044
1970
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationTime)))
2045
1971
  : undefined,
2046
1972
  description: __expectString(output.description),
2047
1973
  id: __expectString(output.id),
2048
- lastUpdateTime: output.lastUpdateTime !== undefined && output.lastUpdateTime !== null
1974
+ lastUpdateTime: output.lastUpdateTime != null
2049
1975
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdateTime)))
2050
1976
  : undefined,
2051
- logConfiguration: output.logConfiguration !== undefined && output.logConfiguration !== null
1977
+ logConfiguration: output.logConfiguration != null
2052
1978
  ? deserializeAws_restJson1ExperimentTemplateLogConfiguration(output.logConfiguration, context)
2053
1979
  : undefined,
2054
1980
  roleArn: __expectString(output.roleArn),
2055
- stopConditions: output.stopConditions !== undefined && output.stopConditions !== null
1981
+ stopConditions: output.stopConditions != null
2056
1982
  ? deserializeAws_restJson1ExperimentTemplateStopConditionList(output.stopConditions, context)
2057
1983
  : undefined,
2058
- tags: output.tags !== undefined && output.tags !== null
2059
- ? deserializeAws_restJson1TagMap(output.tags, context)
2060
- : undefined,
2061
- targets: output.targets !== undefined && output.targets !== null
2062
- ? deserializeAws_restJson1ExperimentTemplateTargetMap(output.targets, context)
2063
- : undefined,
1984
+ tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
1985
+ targets: output.targets != null ? deserializeAws_restJson1ExperimentTemplateTargetMap(output.targets, context) : undefined,
2064
1986
  };
2065
1987
  };
2066
1988
  var deserializeAws_restJson1ExperimentTemplateAction = function (output, context) {
2067
1989
  return {
2068
1990
  actionId: __expectString(output.actionId),
2069
1991
  description: __expectString(output.description),
2070
- parameters: output.parameters !== undefined && output.parameters !== null
1992
+ parameters: output.parameters != null
2071
1993
  ? deserializeAws_restJson1ExperimentTemplateActionParameterMap(output.parameters, context)
2072
1994
  : undefined,
2073
- startAfter: output.startAfter !== undefined && output.startAfter !== null
1995
+ startAfter: output.startAfter != null
2074
1996
  ? deserializeAws_restJson1ExperimentTemplateActionStartAfterList(output.startAfter, context)
2075
1997
  : undefined,
2076
- targets: output.targets !== undefined && output.targets !== null
1998
+ targets: output.targets != null
2077
1999
  ? deserializeAws_restJson1ExperimentTemplateActionTargetMap(output.targets, context)
2078
2000
  : undefined,
2079
2001
  };
@@ -2126,11 +2048,11 @@ var deserializeAws_restJson1ExperimentTemplateCloudWatchLogsLogConfiguration = f
2126
2048
  };
2127
2049
  var deserializeAws_restJson1ExperimentTemplateLogConfiguration = function (output, context) {
2128
2050
  return {
2129
- cloudWatchLogsConfiguration: output.cloudWatchLogsConfiguration !== undefined && output.cloudWatchLogsConfiguration !== null
2051
+ cloudWatchLogsConfiguration: output.cloudWatchLogsConfiguration != null
2130
2052
  ? deserializeAws_restJson1ExperimentTemplateCloudWatchLogsLogConfiguration(output.cloudWatchLogsConfiguration, context)
2131
2053
  : undefined,
2132
2054
  logSchemaVersion: __expectInt32(output.logSchemaVersion),
2133
- s3Configuration: output.s3Configuration !== undefined && output.s3Configuration !== null
2055
+ s3Configuration: output.s3Configuration != null
2134
2056
  ? deserializeAws_restJson1ExperimentTemplateS3LogConfiguration(output.s3Configuration, context)
2135
2057
  : undefined,
2136
2058
  };
@@ -2160,17 +2082,15 @@ var deserializeAws_restJson1ExperimentTemplateStopConditionList = function (outp
2160
2082
  };
2161
2083
  var deserializeAws_restJson1ExperimentTemplateSummary = function (output, context) {
2162
2084
  return {
2163
- creationTime: output.creationTime !== undefined && output.creationTime !== null
2085
+ creationTime: output.creationTime != null
2164
2086
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationTime)))
2165
2087
  : undefined,
2166
2088
  description: __expectString(output.description),
2167
2089
  id: __expectString(output.id),
2168
- lastUpdateTime: output.lastUpdateTime !== undefined && output.lastUpdateTime !== null
2090
+ lastUpdateTime: output.lastUpdateTime != null
2169
2091
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdateTime)))
2170
2092
  : undefined,
2171
- tags: output.tags !== undefined && output.tags !== null
2172
- ? deserializeAws_restJson1TagMap(output.tags, context)
2173
- : undefined,
2093
+ tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
2174
2094
  };
2175
2095
  };
2176
2096
  var deserializeAws_restJson1ExperimentTemplateSummaryList = function (output, context) {
@@ -2186,18 +2106,14 @@ var deserializeAws_restJson1ExperimentTemplateSummaryList = function (output, co
2186
2106
  };
2187
2107
  var deserializeAws_restJson1ExperimentTemplateTarget = function (output, context) {
2188
2108
  return {
2189
- filters: output.filters !== undefined && output.filters !== null
2109
+ filters: output.filters != null
2190
2110
  ? deserializeAws_restJson1ExperimentTemplateTargetFilterList(output.filters, context)
2191
2111
  : undefined,
2192
- parameters: output.parameters !== undefined && output.parameters !== null
2112
+ parameters: output.parameters != null
2193
2113
  ? deserializeAws_restJson1ExperimentTemplateTargetParameterMap(output.parameters, context)
2194
2114
  : undefined,
2195
- resourceArns: output.resourceArns !== undefined && output.resourceArns !== null
2196
- ? deserializeAws_restJson1ResourceArnList(output.resourceArns, context)
2197
- : undefined,
2198
- resourceTags: output.resourceTags !== undefined && output.resourceTags !== null
2199
- ? deserializeAws_restJson1TagMap(output.resourceTags, context)
2200
- : undefined,
2115
+ resourceArns: output.resourceArns != null ? deserializeAws_restJson1ResourceArnList(output.resourceArns, context) : undefined,
2116
+ resourceTags: output.resourceTags != null ? deserializeAws_restJson1TagMap(output.resourceTags, context) : undefined,
2201
2117
  resourceType: __expectString(output.resourceType),
2202
2118
  selectionMode: __expectString(output.selectionMode),
2203
2119
  };
@@ -2205,7 +2121,7 @@ var deserializeAws_restJson1ExperimentTemplateTarget = function (output, context
2205
2121
  var deserializeAws_restJson1ExperimentTemplateTargetFilter = function (output, context) {
2206
2122
  return {
2207
2123
  path: __expectString(output.path),
2208
- values: output.values !== undefined && output.values !== null
2124
+ values: output.values != null
2209
2125
  ? deserializeAws_restJson1ExperimentTemplateTargetFilterValues(output.values, context)
2210
2126
  : undefined,
2211
2127
  };
@@ -2276,7 +2192,7 @@ var deserializeAws_restJson1TagMap = function (output, context) {
2276
2192
  var deserializeAws_restJson1TargetResourceType = function (output, context) {
2277
2193
  return {
2278
2194
  description: __expectString(output.description),
2279
- parameters: output.parameters !== undefined && output.parameters !== null
2195
+ parameters: output.parameters != null
2280
2196
  ? deserializeAws_restJson1TargetResourceTypeParameterMap(output.parameters, context)
2281
2197
  : undefined,
2282
2198
  resourceType: __expectString(output.resourceType),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-fis",
3
3
  "description": "AWS SDK for JavaScript Fis Client for Node.js, Browser and React Native",
4
- "version": "3.121.0",
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.121.0",
22
- "@aws-sdk/config-resolver": "3.110.0",
23
- "@aws-sdk/credential-provider-node": "3.121.0",
24
- "@aws-sdk/fetch-http-handler": "3.110.0",
25
- "@aws-sdk/hash-node": "3.110.0",
26
- "@aws-sdk/invalid-dependency": "3.110.0",
27
- "@aws-sdk/middleware-content-length": "3.110.0",
28
- "@aws-sdk/middleware-host-header": "3.110.0",
29
- "@aws-sdk/middleware-logger": "3.110.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.110.0",
31
- "@aws-sdk/middleware-retry": "3.118.1",
32
- "@aws-sdk/middleware-serde": "3.110.0",
33
- "@aws-sdk/middleware-signing": "3.110.0",
34
- "@aws-sdk/middleware-stack": "3.110.0",
35
- "@aws-sdk/middleware-user-agent": "3.110.0",
36
- "@aws-sdk/node-config-provider": "3.110.0",
37
- "@aws-sdk/node-http-handler": "3.118.1",
38
- "@aws-sdk/protocol-http": "3.110.0",
39
- "@aws-sdk/smithy-client": "3.110.0",
40
- "@aws-sdk/types": "3.110.0",
41
- "@aws-sdk/url-parser": "3.110.0",
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.110.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.110.0",
48
- "@aws-sdk/util-user-agent-browser": "3.110.0",
49
- "@aws-sdk/util-user-agent-node": "3.118.0",
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",