@aws-sdk/client-emr-containers 3.121.0 → 3.128.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,33 @@
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.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-emr-containers
9
+
10
+
11
+
12
+
13
+
14
+ # [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-emr-containers
17
+
18
+
19
+
20
+
21
+
22
+ # [3.124.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.123.0...v3.124.0) (2022-07-06)
23
+
24
+
25
+ ### Features
26
+
27
+ * **emr-containers:** set timestampeFormat for Date ([#3758](https://github.com/aws/aws-sdk-js-v3/issues/3758)) ([61df0f9](https://github.com/aws/aws-sdk-js-v3/commit/61df0f94b7f5924cbf63bc7fc75cb9d1d966f29d))
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
7
34
 
8
35
 
@@ -63,19 +63,16 @@ const serializeAws_restJson1CreateManagedEndpointCommand = async (input, context
63
63
  }
64
64
  let body;
65
65
  body = JSON.stringify({
66
- ...(input.certificateArn !== undefined &&
67
- input.certificateArn !== null && { certificateArn: input.certificateArn }),
66
+ ...(input.certificateArn != null && { certificateArn: input.certificateArn }),
68
67
  clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
69
- ...(input.configurationOverrides !== undefined &&
70
- input.configurationOverrides !== null && {
68
+ ...(input.configurationOverrides != null && {
71
69
  configurationOverrides: serializeAws_restJson1ConfigurationOverrides(input.configurationOverrides, context),
72
70
  }),
73
- ...(input.executionRoleArn !== undefined &&
74
- input.executionRoleArn !== null && { executionRoleArn: input.executionRoleArn }),
75
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
76
- ...(input.releaseLabel !== undefined && input.releaseLabel !== null && { releaseLabel: input.releaseLabel }),
77
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
78
- ...(input.type !== undefined && input.type !== null && { type: input.type }),
71
+ ...(input.executionRoleArn != null && { executionRoleArn: input.executionRoleArn }),
72
+ ...(input.name != null && { name: input.name }),
73
+ ...(input.releaseLabel != null && { releaseLabel: input.releaseLabel }),
74
+ ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
75
+ ...(input.type != null && { type: input.type }),
79
76
  });
80
77
  return new protocol_http_1.HttpRequest({
81
78
  protocol,
@@ -98,12 +95,11 @@ const serializeAws_restJson1CreateVirtualClusterCommand = async (input, context)
98
95
  let body;
99
96
  body = JSON.stringify({
100
97
  clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
101
- ...(input.containerProvider !== undefined &&
102
- input.containerProvider !== null && {
98
+ ...(input.containerProvider != null && {
103
99
  containerProvider: serializeAws_restJson1ContainerProvider(input.containerProvider, context),
104
100
  }),
105
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
106
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
101
+ ...(input.name != null && { name: input.name }),
102
+ ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
107
103
  });
108
104
  return new protocol_http_1.HttpRequest({
109
105
  protocol,
@@ -436,17 +432,14 @@ const serializeAws_restJson1StartJobRunCommand = async (input, context) => {
436
432
  let body;
437
433
  body = JSON.stringify({
438
434
  clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
439
- ...(input.configurationOverrides !== undefined &&
440
- input.configurationOverrides !== null && {
435
+ ...(input.configurationOverrides != null && {
441
436
  configurationOverrides: serializeAws_restJson1ConfigurationOverrides(input.configurationOverrides, context),
442
437
  }),
443
- ...(input.executionRoleArn !== undefined &&
444
- input.executionRoleArn !== null && { executionRoleArn: input.executionRoleArn }),
445
- ...(input.jobDriver !== undefined &&
446
- input.jobDriver !== null && { jobDriver: serializeAws_restJson1JobDriver(input.jobDriver, context) }),
447
- ...(input.name !== undefined && input.name !== null && { name: input.name }),
448
- ...(input.releaseLabel !== undefined && input.releaseLabel !== null && { releaseLabel: input.releaseLabel }),
449
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
438
+ ...(input.executionRoleArn != null && { executionRoleArn: input.executionRoleArn }),
439
+ ...(input.jobDriver != null && { jobDriver: serializeAws_restJson1JobDriver(input.jobDriver, context) }),
440
+ ...(input.name != null && { name: input.name }),
441
+ ...(input.releaseLabel != null && { releaseLabel: input.releaseLabel }),
442
+ ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
450
443
  });
451
444
  return new protocol_http_1.HttpRequest({
452
445
  protocol,
@@ -477,7 +470,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
477
470
  }
478
471
  let body;
479
472
  body = JSON.stringify({
480
- ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
473
+ ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
481
474
  });
482
475
  return new protocol_http_1.HttpRequest({
483
476
  protocol,
@@ -1244,21 +1237,17 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
1244
1237
  };
1245
1238
  const serializeAws_restJson1CloudWatchMonitoringConfiguration = (input, context) => {
1246
1239
  return {
1247
- ...(input.logGroupName !== undefined && input.logGroupName !== null && { logGroupName: input.logGroupName }),
1248
- ...(input.logStreamNamePrefix !== undefined &&
1249
- input.logStreamNamePrefix !== null && { logStreamNamePrefix: input.logStreamNamePrefix }),
1240
+ ...(input.logGroupName != null && { logGroupName: input.logGroupName }),
1241
+ ...(input.logStreamNamePrefix != null && { logStreamNamePrefix: input.logStreamNamePrefix }),
1250
1242
  };
1251
1243
  };
1252
1244
  const serializeAws_restJson1Configuration = (input, context) => {
1253
1245
  return {
1254
- ...(input.classification !== undefined &&
1255
- input.classification !== null && { classification: input.classification }),
1256
- ...(input.configurations !== undefined &&
1257
- input.configurations !== null && {
1246
+ ...(input.classification != null && { classification: input.classification }),
1247
+ ...(input.configurations != null && {
1258
1248
  configurations: serializeAws_restJson1ConfigurationList(input.configurations, context),
1259
1249
  }),
1260
- ...(input.properties !== undefined &&
1261
- input.properties !== null && {
1250
+ ...(input.properties != null && {
1262
1251
  properties: serializeAws_restJson1SensitivePropertiesMap(input.properties, context),
1263
1252
  }),
1264
1253
  };
@@ -1275,12 +1264,10 @@ const serializeAws_restJson1ConfigurationList = (input, context) => {
1275
1264
  };
1276
1265
  const serializeAws_restJson1ConfigurationOverrides = (input, context) => {
1277
1266
  return {
1278
- ...(input.applicationConfiguration !== undefined &&
1279
- input.applicationConfiguration !== null && {
1267
+ ...(input.applicationConfiguration != null && {
1280
1268
  applicationConfiguration: serializeAws_restJson1ConfigurationList(input.applicationConfiguration, context),
1281
1269
  }),
1282
- ...(input.monitoringConfiguration !== undefined &&
1283
- input.monitoringConfiguration !== null && {
1270
+ ...(input.monitoringConfiguration != null && {
1284
1271
  monitoringConfiguration: serializeAws_restJson1MonitoringConfiguration(input.monitoringConfiguration, context),
1285
1272
  }),
1286
1273
  };
@@ -1293,15 +1280,14 @@ const serializeAws_restJson1ContainerInfo = (input, context) => {
1293
1280
  };
1294
1281
  const serializeAws_restJson1ContainerProvider = (input, context) => {
1295
1282
  return {
1296
- ...(input.id !== undefined && input.id !== null && { id: input.id }),
1297
- ...(input.info !== undefined &&
1298
- input.info !== null && { info: serializeAws_restJson1ContainerInfo(input.info, context) }),
1299
- ...(input.type !== undefined && input.type !== null && { type: input.type }),
1283
+ ...(input.id != null && { id: input.id }),
1284
+ ...(input.info != null && { info: serializeAws_restJson1ContainerInfo(input.info, context) }),
1285
+ ...(input.type != null && { type: input.type }),
1300
1286
  };
1301
1287
  };
1302
1288
  const serializeAws_restJson1EksInfo = (input, context) => {
1303
1289
  return {
1304
- ...(input.namespace !== undefined && input.namespace !== null && { namespace: input.namespace }),
1290
+ ...(input.namespace != null && { namespace: input.namespace }),
1305
1291
  };
1306
1292
  };
1307
1293
  const serializeAws_restJson1EntryPointArguments = (input, context) => {
@@ -1316,29 +1302,25 @@ const serializeAws_restJson1EntryPointArguments = (input, context) => {
1316
1302
  };
1317
1303
  const serializeAws_restJson1JobDriver = (input, context) => {
1318
1304
  return {
1319
- ...(input.sparkSubmitJobDriver !== undefined &&
1320
- input.sparkSubmitJobDriver !== null && {
1305
+ ...(input.sparkSubmitJobDriver != null && {
1321
1306
  sparkSubmitJobDriver: serializeAws_restJson1SparkSubmitJobDriver(input.sparkSubmitJobDriver, context),
1322
1307
  }),
1323
1308
  };
1324
1309
  };
1325
1310
  const serializeAws_restJson1MonitoringConfiguration = (input, context) => {
1326
1311
  return {
1327
- ...(input.cloudWatchMonitoringConfiguration !== undefined &&
1328
- input.cloudWatchMonitoringConfiguration !== null && {
1312
+ ...(input.cloudWatchMonitoringConfiguration != null && {
1329
1313
  cloudWatchMonitoringConfiguration: serializeAws_restJson1CloudWatchMonitoringConfiguration(input.cloudWatchMonitoringConfiguration, context),
1330
1314
  }),
1331
- ...(input.persistentAppUI !== undefined &&
1332
- input.persistentAppUI !== null && { persistentAppUI: input.persistentAppUI }),
1333
- ...(input.s3MonitoringConfiguration !== undefined &&
1334
- input.s3MonitoringConfiguration !== null && {
1315
+ ...(input.persistentAppUI != null && { persistentAppUI: input.persistentAppUI }),
1316
+ ...(input.s3MonitoringConfiguration != null && {
1335
1317
  s3MonitoringConfiguration: serializeAws_restJson1S3MonitoringConfiguration(input.s3MonitoringConfiguration, context),
1336
1318
  }),
1337
1319
  };
1338
1320
  };
1339
1321
  const serializeAws_restJson1S3MonitoringConfiguration = (input, context) => {
1340
1322
  return {
1341
- ...(input.logUri !== undefined && input.logUri !== null && { logUri: input.logUri }),
1323
+ ...(input.logUri != null && { logUri: input.logUri }),
1342
1324
  };
1343
1325
  };
1344
1326
  const serializeAws_restJson1SensitivePropertiesMap = (input, context) => {
@@ -1354,13 +1336,11 @@ const serializeAws_restJson1SensitivePropertiesMap = (input, context) => {
1354
1336
  };
1355
1337
  const serializeAws_restJson1SparkSubmitJobDriver = (input, context) => {
1356
1338
  return {
1357
- ...(input.entryPoint !== undefined && input.entryPoint !== null && { entryPoint: input.entryPoint }),
1358
- ...(input.entryPointArguments !== undefined &&
1359
- input.entryPointArguments !== null && {
1339
+ ...(input.entryPoint != null && { entryPoint: input.entryPoint }),
1340
+ ...(input.entryPointArguments != null && {
1360
1341
  entryPointArguments: serializeAws_restJson1EntryPointArguments(input.entryPointArguments, context),
1361
1342
  }),
1362
- ...(input.sparkSubmitParameters !== undefined &&
1363
- input.sparkSubmitParameters !== null && { sparkSubmitParameters: input.sparkSubmitParameters }),
1343
+ ...(input.sparkSubmitParameters != null && { sparkSubmitParameters: input.sparkSubmitParameters }),
1364
1344
  };
1365
1345
  };
1366
1346
  const serializeAws_restJson1TagMap = (input, context) => {
@@ -1389,10 +1369,10 @@ const deserializeAws_restJson1CloudWatchMonitoringConfiguration = (output, conte
1389
1369
  const deserializeAws_restJson1Configuration = (output, context) => {
1390
1370
  return {
1391
1371
  classification: (0, smithy_client_1.expectString)(output.classification),
1392
- configurations: output.configurations !== undefined && output.configurations !== null
1372
+ configurations: output.configurations != null
1393
1373
  ? deserializeAws_restJson1ConfigurationList(output.configurations, context)
1394
1374
  : undefined,
1395
- properties: output.properties !== undefined && output.properties !== null
1375
+ properties: output.properties != null
1396
1376
  ? deserializeAws_restJson1SensitivePropertiesMap(output.properties, context)
1397
1377
  : undefined,
1398
1378
  };
@@ -1410,10 +1390,10 @@ const deserializeAws_restJson1ConfigurationList = (output, context) => {
1410
1390
  };
1411
1391
  const deserializeAws_restJson1ConfigurationOverrides = (output, context) => {
1412
1392
  return {
1413
- applicationConfiguration: output.applicationConfiguration !== undefined && output.applicationConfiguration !== null
1393
+ applicationConfiguration: output.applicationConfiguration != null
1414
1394
  ? deserializeAws_restJson1ConfigurationList(output.applicationConfiguration, context)
1415
1395
  : undefined,
1416
- monitoringConfiguration: output.monitoringConfiguration !== undefined && output.monitoringConfiguration !== null
1396
+ monitoringConfiguration: output.monitoringConfiguration != null
1417
1397
  ? deserializeAws_restJson1MonitoringConfiguration(output.monitoringConfiguration, context)
1418
1398
  : undefined,
1419
1399
  };
@@ -1429,9 +1409,7 @@ const deserializeAws_restJson1ContainerInfo = (output, context) => {
1429
1409
  const deserializeAws_restJson1ContainerProvider = (output, context) => {
1430
1410
  return {
1431
1411
  id: (0, smithy_client_1.expectString)(output.id),
1432
- info: output.info !== undefined && output.info !== null
1433
- ? deserializeAws_restJson1ContainerInfo((0, smithy_client_1.expectUnion)(output.info), context)
1434
- : undefined,
1412
+ info: output.info != null ? deserializeAws_restJson1ContainerInfo((0, smithy_client_1.expectUnion)(output.info), context) : undefined,
1435
1413
  type: (0, smithy_client_1.expectString)(output.type),
1436
1414
  };
1437
1415
  };
@@ -1444,15 +1422,13 @@ const deserializeAws_restJson1Endpoint = (output, context) => {
1444
1422
  return {
1445
1423
  arn: (0, smithy_client_1.expectString)(output.arn),
1446
1424
  certificateArn: (0, smithy_client_1.expectString)(output.certificateArn),
1447
- certificateAuthority: output.certificateAuthority !== undefined && output.certificateAuthority !== null
1425
+ certificateAuthority: output.certificateAuthority != null
1448
1426
  ? deserializeAws_restJson1Certificate(output.certificateAuthority, context)
1449
1427
  : undefined,
1450
- configurationOverrides: output.configurationOverrides !== undefined && output.configurationOverrides !== null
1428
+ configurationOverrides: output.configurationOverrides != null
1451
1429
  ? deserializeAws_restJson1ConfigurationOverrides(output.configurationOverrides, context)
1452
1430
  : undefined,
1453
- createdAt: output.createdAt !== undefined && output.createdAt !== null
1454
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
1455
- : undefined,
1431
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdAt)) : undefined,
1456
1432
  executionRoleArn: (0, smithy_client_1.expectString)(output.executionRoleArn),
1457
1433
  failureReason: (0, smithy_client_1.expectString)(output.failureReason),
1458
1434
  id: (0, smithy_client_1.expectString)(output.id),
@@ -1462,12 +1438,8 @@ const deserializeAws_restJson1Endpoint = (output, context) => {
1462
1438
  serverUrl: (0, smithy_client_1.expectString)(output.serverUrl),
1463
1439
  state: (0, smithy_client_1.expectString)(output.state),
1464
1440
  stateDetails: (0, smithy_client_1.expectString)(output.stateDetails),
1465
- subnetIds: output.subnetIds !== undefined && output.subnetIds !== null
1466
- ? deserializeAws_restJson1SubnetIds(output.subnetIds, context)
1467
- : undefined,
1468
- tags: output.tags !== undefined && output.tags !== null
1469
- ? deserializeAws_restJson1TagMap(output.tags, context)
1470
- : undefined,
1441
+ subnetIds: output.subnetIds != null ? deserializeAws_restJson1SubnetIds(output.subnetIds, context) : undefined,
1442
+ tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
1471
1443
  type: (0, smithy_client_1.expectString)(output.type),
1472
1444
  virtualClusterId: (0, smithy_client_1.expectString)(output.virtualClusterId),
1473
1445
  };
@@ -1496,7 +1468,7 @@ const deserializeAws_restJson1EntryPointArguments = (output, context) => {
1496
1468
  };
1497
1469
  const deserializeAws_restJson1JobDriver = (output, context) => {
1498
1470
  return {
1499
- sparkSubmitJobDriver: output.sparkSubmitJobDriver !== undefined && output.sparkSubmitJobDriver !== null
1471
+ sparkSubmitJobDriver: output.sparkSubmitJobDriver != null
1500
1472
  ? deserializeAws_restJson1SparkSubmitJobDriver(output.sparkSubmitJobDriver, context)
1501
1473
  : undefined,
1502
1474
  };
@@ -1505,29 +1477,21 @@ const deserializeAws_restJson1JobRun = (output, context) => {
1505
1477
  return {
1506
1478
  arn: (0, smithy_client_1.expectString)(output.arn),
1507
1479
  clientToken: (0, smithy_client_1.expectString)(output.clientToken),
1508
- configurationOverrides: output.configurationOverrides !== undefined && output.configurationOverrides !== null
1480
+ configurationOverrides: output.configurationOverrides != null
1509
1481
  ? deserializeAws_restJson1ConfigurationOverrides(output.configurationOverrides, context)
1510
1482
  : undefined,
1511
- createdAt: output.createdAt !== undefined && output.createdAt !== null
1512
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
1513
- : undefined,
1483
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdAt)) : undefined,
1514
1484
  createdBy: (0, smithy_client_1.expectString)(output.createdBy),
1515
1485
  executionRoleArn: (0, smithy_client_1.expectString)(output.executionRoleArn),
1516
1486
  failureReason: (0, smithy_client_1.expectString)(output.failureReason),
1517
- finishedAt: output.finishedAt !== undefined && output.finishedAt !== null
1518
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.finishedAt)))
1519
- : undefined,
1487
+ finishedAt: output.finishedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.finishedAt)) : undefined,
1520
1488
  id: (0, smithy_client_1.expectString)(output.id),
1521
- jobDriver: output.jobDriver !== undefined && output.jobDriver !== null
1522
- ? deserializeAws_restJson1JobDriver(output.jobDriver, context)
1523
- : undefined,
1489
+ jobDriver: output.jobDriver != null ? deserializeAws_restJson1JobDriver(output.jobDriver, context) : undefined,
1524
1490
  name: (0, smithy_client_1.expectString)(output.name),
1525
1491
  releaseLabel: (0, smithy_client_1.expectString)(output.releaseLabel),
1526
1492
  state: (0, smithy_client_1.expectString)(output.state),
1527
1493
  stateDetails: (0, smithy_client_1.expectString)(output.stateDetails),
1528
- tags: output.tags !== undefined && output.tags !== null
1529
- ? deserializeAws_restJson1TagMap(output.tags, context)
1530
- : undefined,
1494
+ tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
1531
1495
  virtualClusterId: (0, smithy_client_1.expectString)(output.virtualClusterId),
1532
1496
  };
1533
1497
  };
@@ -1544,11 +1508,11 @@ const deserializeAws_restJson1JobRuns = (output, context) => {
1544
1508
  };
1545
1509
  const deserializeAws_restJson1MonitoringConfiguration = (output, context) => {
1546
1510
  return {
1547
- cloudWatchMonitoringConfiguration: output.cloudWatchMonitoringConfiguration !== undefined && output.cloudWatchMonitoringConfiguration !== null
1511
+ cloudWatchMonitoringConfiguration: output.cloudWatchMonitoringConfiguration != null
1548
1512
  ? deserializeAws_restJson1CloudWatchMonitoringConfiguration(output.cloudWatchMonitoringConfiguration, context)
1549
1513
  : undefined,
1550
1514
  persistentAppUI: (0, smithy_client_1.expectString)(output.persistentAppUI),
1551
- s3MonitoringConfiguration: output.s3MonitoringConfiguration !== undefined && output.s3MonitoringConfiguration !== null
1515
+ s3MonitoringConfiguration: output.s3MonitoringConfiguration != null
1552
1516
  ? deserializeAws_restJson1S3MonitoringConfiguration(output.s3MonitoringConfiguration, context)
1553
1517
  : undefined,
1554
1518
  };
@@ -1572,7 +1536,7 @@ const deserializeAws_restJson1SensitivePropertiesMap = (output, context) => {
1572
1536
  const deserializeAws_restJson1SparkSubmitJobDriver = (output, context) => {
1573
1537
  return {
1574
1538
  entryPoint: (0, smithy_client_1.expectString)(output.entryPoint),
1575
- entryPointArguments: output.entryPointArguments !== undefined && output.entryPointArguments !== null
1539
+ entryPointArguments: output.entryPointArguments != null
1576
1540
  ? deserializeAws_restJson1EntryPointArguments(output.entryPointArguments, context)
1577
1541
  : undefined,
1578
1542
  sparkSubmitParameters: (0, smithy_client_1.expectString)(output.sparkSubmitParameters),
@@ -1603,18 +1567,14 @@ const deserializeAws_restJson1TagMap = (output, context) => {
1603
1567
  const deserializeAws_restJson1VirtualCluster = (output, context) => {
1604
1568
  return {
1605
1569
  arn: (0, smithy_client_1.expectString)(output.arn),
1606
- containerProvider: output.containerProvider !== undefined && output.containerProvider !== null
1570
+ containerProvider: output.containerProvider != null
1607
1571
  ? deserializeAws_restJson1ContainerProvider(output.containerProvider, context)
1608
1572
  : undefined,
1609
- createdAt: output.createdAt !== undefined && output.createdAt !== null
1610
- ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
1611
- : undefined,
1573
+ createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdAt)) : undefined,
1612
1574
  id: (0, smithy_client_1.expectString)(output.id),
1613
1575
  name: (0, smithy_client_1.expectString)(output.name),
1614
1576
  state: (0, smithy_client_1.expectString)(output.state),
1615
- tags: output.tags !== undefined && output.tags !== null
1616
- ? deserializeAws_restJson1TagMap(output.tags, context)
1617
- : undefined,
1577
+ tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
1618
1578
  };
1619
1579
  };
1620
1580
  const deserializeAws_restJson1VirtualClusters = (output, context) => {
@@ -1,6 +1,6 @@
1
1
  import { __assign, __awaiter, __generator, __read } from "tslib";
2
2
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
3
- import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, extendedEncodeURIComponent as __extendedEncodeURIComponent, parseEpochTimestamp as __parseEpochTimestamp, } from "@aws-sdk/smithy-client";
3
+ import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, extendedEncodeURIComponent as __extendedEncodeURIComponent, parseRfc3339DateTime as __parseRfc3339DateTime, } from "@aws-sdk/smithy-client";
4
4
  import { v4 as generateIdempotencyToken } from "uuid";
5
5
  import { EMRContainersServiceException as __BaseException } from "../models/EMRContainersServiceException";
6
6
  import { ContainerInfo, InternalServerException, ResourceNotFoundException, ValidationException, } from "../models/models_0";
@@ -69,12 +69,9 @@ export var serializeAws_restJson1CreateManagedEndpointCommand = function (input,
69
69
  else {
70
70
  throw new Error("No value provided for input HTTP label: virtualClusterId.");
71
71
  }
72
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.certificateArn !== undefined &&
73
- input.certificateArn !== null && { certificateArn: input.certificateArn })), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.configurationOverrides !== undefined &&
74
- input.configurationOverrides !== null && {
72
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.certificateArn != null && { certificateArn: input.certificateArn })), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.configurationOverrides != null && {
75
73
  configurationOverrides: serializeAws_restJson1ConfigurationOverrides(input.configurationOverrides, context),
76
- })), (input.executionRoleArn !== undefined &&
77
- input.executionRoleArn !== null && { executionRoleArn: input.executionRoleArn })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.releaseLabel !== undefined && input.releaseLabel !== null && { releaseLabel: input.releaseLabel })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) })), (input.type !== undefined && input.type !== null && { type: input.type })));
74
+ })), (input.executionRoleArn != null && { executionRoleArn: input.executionRoleArn })), (input.name != null && { name: input.name })), (input.releaseLabel != null && { releaseLabel: input.releaseLabel })), (input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) })), (input.type != null && { type: input.type })));
78
75
  return [2, new __HttpRequest({
79
76
  protocol: protocol,
80
77
  hostname: hostname,
@@ -99,10 +96,9 @@ export var serializeAws_restJson1CreateVirtualClusterCommand = function (input,
99
96
  "content-type": "application/json",
100
97
  };
101
98
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/virtualclusters";
102
- body = JSON.stringify(__assign(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.containerProvider !== undefined &&
103
- input.containerProvider !== null && {
99
+ body = JSON.stringify(__assign(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.containerProvider != null && {
104
100
  containerProvider: serializeAws_restJson1ContainerProvider(input.containerProvider, context),
105
- })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) })));
101
+ })), (input.name != null && { name: input.name })), (input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) })));
106
102
  return [2, new __HttpRequest({
107
103
  protocol: protocol,
108
104
  hostname: hostname,
@@ -460,12 +456,9 @@ export var serializeAws_restJson1StartJobRunCommand = function (input, context)
460
456
  else {
461
457
  throw new Error("No value provided for input HTTP label: virtualClusterId.");
462
458
  }
463
- body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.configurationOverrides !== undefined &&
464
- input.configurationOverrides !== null && {
459
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({ clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }, (input.configurationOverrides != null && {
465
460
  configurationOverrides: serializeAws_restJson1ConfigurationOverrides(input.configurationOverrides, context),
466
- })), (input.executionRoleArn !== undefined &&
467
- input.executionRoleArn !== null && { executionRoleArn: input.executionRoleArn })), (input.jobDriver !== undefined &&
468
- input.jobDriver !== null && { jobDriver: serializeAws_restJson1JobDriver(input.jobDriver, context) })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.releaseLabel !== undefined && input.releaseLabel !== null && { releaseLabel: input.releaseLabel })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) })));
461
+ })), (input.executionRoleArn != null && { executionRoleArn: input.executionRoleArn })), (input.jobDriver != null && { jobDriver: serializeAws_restJson1JobDriver(input.jobDriver, context) })), (input.name != null && { name: input.name })), (input.releaseLabel != null && { releaseLabel: input.releaseLabel })), (input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) })));
469
462
  return [2, new __HttpRequest({
470
463
  protocol: protocol,
471
464
  hostname: hostname,
@@ -499,7 +492,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
499
492
  else {
500
493
  throw new Error("No value provided for input HTTP label: resourceArn.");
501
494
  }
502
- body = JSON.stringify(__assign({}, (input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) })));
495
+ body = JSON.stringify(__assign({}, (input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) })));
503
496
  return [2, new __HttpRequest({
504
497
  protocol: protocol,
505
498
  hostname: hostname,
@@ -1573,16 +1566,12 @@ var deserializeAws_restJson1ValidationExceptionResponse = function (parsedOutput
1573
1566
  });
1574
1567
  }); };
1575
1568
  var serializeAws_restJson1CloudWatchMonitoringConfiguration = function (input, context) {
1576
- return __assign(__assign({}, (input.logGroupName !== undefined && input.logGroupName !== null && { logGroupName: input.logGroupName })), (input.logStreamNamePrefix !== undefined &&
1577
- input.logStreamNamePrefix !== null && { logStreamNamePrefix: input.logStreamNamePrefix }));
1569
+ return __assign(__assign({}, (input.logGroupName != null && { logGroupName: input.logGroupName })), (input.logStreamNamePrefix != null && { logStreamNamePrefix: input.logStreamNamePrefix }));
1578
1570
  };
1579
1571
  var serializeAws_restJson1Configuration = function (input, context) {
1580
- return __assign(__assign(__assign({}, (input.classification !== undefined &&
1581
- input.classification !== null && { classification: input.classification })), (input.configurations !== undefined &&
1582
- input.configurations !== null && {
1572
+ return __assign(__assign(__assign({}, (input.classification != null && { classification: input.classification })), (input.configurations != null && {
1583
1573
  configurations: serializeAws_restJson1ConfigurationList(input.configurations, context),
1584
- })), (input.properties !== undefined &&
1585
- input.properties !== null && {
1574
+ })), (input.properties != null && {
1586
1575
  properties: serializeAws_restJson1SensitivePropertiesMap(input.properties, context),
1587
1576
  }));
1588
1577
  };
@@ -1597,11 +1586,9 @@ var serializeAws_restJson1ConfigurationList = function (input, context) {
1597
1586
  });
1598
1587
  };
1599
1588
  var serializeAws_restJson1ConfigurationOverrides = function (input, context) {
1600
- return __assign(__assign({}, (input.applicationConfiguration !== undefined &&
1601
- input.applicationConfiguration !== null && {
1589
+ return __assign(__assign({}, (input.applicationConfiguration != null && {
1602
1590
  applicationConfiguration: serializeAws_restJson1ConfigurationList(input.applicationConfiguration, context),
1603
- })), (input.monitoringConfiguration !== undefined &&
1604
- input.monitoringConfiguration !== null && {
1591
+ })), (input.monitoringConfiguration != null && {
1605
1592
  monitoringConfiguration: serializeAws_restJson1MonitoringConfiguration(input.monitoringConfiguration, context),
1606
1593
  }));
1607
1594
  };
@@ -1612,11 +1599,10 @@ var serializeAws_restJson1ContainerInfo = function (input, context) {
1612
1599
  });
1613
1600
  };
1614
1601
  var serializeAws_restJson1ContainerProvider = function (input, context) {
1615
- return __assign(__assign(__assign({}, (input.id !== undefined && input.id !== null && { id: input.id })), (input.info !== undefined &&
1616
- input.info !== null && { info: serializeAws_restJson1ContainerInfo(input.info, context) })), (input.type !== undefined && input.type !== null && { type: input.type }));
1602
+ return __assign(__assign(__assign({}, (input.id != null && { id: input.id })), (input.info != null && { info: serializeAws_restJson1ContainerInfo(input.info, context) })), (input.type != null && { type: input.type }));
1617
1603
  };
1618
1604
  var serializeAws_restJson1EksInfo = function (input, context) {
1619
- return __assign({}, (input.namespace !== undefined && input.namespace !== null && { namespace: input.namespace }));
1605
+ return __assign({}, (input.namespace != null && { namespace: input.namespace }));
1620
1606
  };
1621
1607
  var serializeAws_restJson1EntryPointArguments = function (input, context) {
1622
1608
  return input
@@ -1629,23 +1615,19 @@ var serializeAws_restJson1EntryPointArguments = function (input, context) {
1629
1615
  });
1630
1616
  };
1631
1617
  var serializeAws_restJson1JobDriver = function (input, context) {
1632
- return __assign({}, (input.sparkSubmitJobDriver !== undefined &&
1633
- input.sparkSubmitJobDriver !== null && {
1618
+ return __assign({}, (input.sparkSubmitJobDriver != null && {
1634
1619
  sparkSubmitJobDriver: serializeAws_restJson1SparkSubmitJobDriver(input.sparkSubmitJobDriver, context),
1635
1620
  }));
1636
1621
  };
1637
1622
  var serializeAws_restJson1MonitoringConfiguration = function (input, context) {
1638
- return __assign(__assign(__assign({}, (input.cloudWatchMonitoringConfiguration !== undefined &&
1639
- input.cloudWatchMonitoringConfiguration !== null && {
1623
+ return __assign(__assign(__assign({}, (input.cloudWatchMonitoringConfiguration != null && {
1640
1624
  cloudWatchMonitoringConfiguration: serializeAws_restJson1CloudWatchMonitoringConfiguration(input.cloudWatchMonitoringConfiguration, context),
1641
- })), (input.persistentAppUI !== undefined &&
1642
- input.persistentAppUI !== null && { persistentAppUI: input.persistentAppUI })), (input.s3MonitoringConfiguration !== undefined &&
1643
- input.s3MonitoringConfiguration !== null && {
1625
+ })), (input.persistentAppUI != null && { persistentAppUI: input.persistentAppUI })), (input.s3MonitoringConfiguration != null && {
1644
1626
  s3MonitoringConfiguration: serializeAws_restJson1S3MonitoringConfiguration(input.s3MonitoringConfiguration, context),
1645
1627
  }));
1646
1628
  };
1647
1629
  var serializeAws_restJson1S3MonitoringConfiguration = function (input, context) {
1648
- return __assign({}, (input.logUri !== undefined && input.logUri !== null && { logUri: input.logUri }));
1630
+ return __assign({}, (input.logUri != null && { logUri: input.logUri }));
1649
1631
  };
1650
1632
  var serializeAws_restJson1SensitivePropertiesMap = function (input, context) {
1651
1633
  return Object.entries(input).reduce(function (acc, _a) {
@@ -1658,11 +1640,9 @@ var serializeAws_restJson1SensitivePropertiesMap = function (input, context) {
1658
1640
  }, {});
1659
1641
  };
1660
1642
  var serializeAws_restJson1SparkSubmitJobDriver = function (input, context) {
1661
- return __assign(__assign(__assign({}, (input.entryPoint !== undefined && input.entryPoint !== null && { entryPoint: input.entryPoint })), (input.entryPointArguments !== undefined &&
1662
- input.entryPointArguments !== null && {
1643
+ return __assign(__assign(__assign({}, (input.entryPoint != null && { entryPoint: input.entryPoint })), (input.entryPointArguments != null && {
1663
1644
  entryPointArguments: serializeAws_restJson1EntryPointArguments(input.entryPointArguments, context),
1664
- })), (input.sparkSubmitParameters !== undefined &&
1665
- input.sparkSubmitParameters !== null && { sparkSubmitParameters: input.sparkSubmitParameters }));
1645
+ })), (input.sparkSubmitParameters != null && { sparkSubmitParameters: input.sparkSubmitParameters }));
1666
1646
  };
1667
1647
  var serializeAws_restJson1TagMap = function (input, context) {
1668
1648
  return Object.entries(input).reduce(function (acc, _a) {
@@ -1689,10 +1669,10 @@ var deserializeAws_restJson1CloudWatchMonitoringConfiguration = function (output
1689
1669
  var deserializeAws_restJson1Configuration = function (output, context) {
1690
1670
  return {
1691
1671
  classification: __expectString(output.classification),
1692
- configurations: output.configurations !== undefined && output.configurations !== null
1672
+ configurations: output.configurations != null
1693
1673
  ? deserializeAws_restJson1ConfigurationList(output.configurations, context)
1694
1674
  : undefined,
1695
- properties: output.properties !== undefined && output.properties !== null
1675
+ properties: output.properties != null
1696
1676
  ? deserializeAws_restJson1SensitivePropertiesMap(output.properties, context)
1697
1677
  : undefined,
1698
1678
  };
@@ -1710,10 +1690,10 @@ var deserializeAws_restJson1ConfigurationList = function (output, context) {
1710
1690
  };
1711
1691
  var deserializeAws_restJson1ConfigurationOverrides = function (output, context) {
1712
1692
  return {
1713
- applicationConfiguration: output.applicationConfiguration !== undefined && output.applicationConfiguration !== null
1693
+ applicationConfiguration: output.applicationConfiguration != null
1714
1694
  ? deserializeAws_restJson1ConfigurationList(output.applicationConfiguration, context)
1715
1695
  : undefined,
1716
- monitoringConfiguration: output.monitoringConfiguration !== undefined && output.monitoringConfiguration !== null
1696
+ monitoringConfiguration: output.monitoringConfiguration != null
1717
1697
  ? deserializeAws_restJson1MonitoringConfiguration(output.monitoringConfiguration, context)
1718
1698
  : undefined,
1719
1699
  };
@@ -1729,9 +1709,7 @@ var deserializeAws_restJson1ContainerInfo = function (output, context) {
1729
1709
  var deserializeAws_restJson1ContainerProvider = function (output, context) {
1730
1710
  return {
1731
1711
  id: __expectString(output.id),
1732
- info: output.info !== undefined && output.info !== null
1733
- ? deserializeAws_restJson1ContainerInfo(__expectUnion(output.info), context)
1734
- : undefined,
1712
+ info: output.info != null ? deserializeAws_restJson1ContainerInfo(__expectUnion(output.info), context) : undefined,
1735
1713
  type: __expectString(output.type),
1736
1714
  };
1737
1715
  };
@@ -1744,15 +1722,13 @@ var deserializeAws_restJson1Endpoint = function (output, context) {
1744
1722
  return {
1745
1723
  arn: __expectString(output.arn),
1746
1724
  certificateArn: __expectString(output.certificateArn),
1747
- certificateAuthority: output.certificateAuthority !== undefined && output.certificateAuthority !== null
1725
+ certificateAuthority: output.certificateAuthority != null
1748
1726
  ? deserializeAws_restJson1Certificate(output.certificateAuthority, context)
1749
1727
  : undefined,
1750
- configurationOverrides: output.configurationOverrides !== undefined && output.configurationOverrides !== null
1728
+ configurationOverrides: output.configurationOverrides != null
1751
1729
  ? deserializeAws_restJson1ConfigurationOverrides(output.configurationOverrides, context)
1752
1730
  : undefined,
1753
- createdAt: output.createdAt !== undefined && output.createdAt !== null
1754
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
1755
- : undefined,
1731
+ createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTime(output.createdAt)) : undefined,
1756
1732
  executionRoleArn: __expectString(output.executionRoleArn),
1757
1733
  failureReason: __expectString(output.failureReason),
1758
1734
  id: __expectString(output.id),
@@ -1762,12 +1738,8 @@ var deserializeAws_restJson1Endpoint = function (output, context) {
1762
1738
  serverUrl: __expectString(output.serverUrl),
1763
1739
  state: __expectString(output.state),
1764
1740
  stateDetails: __expectString(output.stateDetails),
1765
- subnetIds: output.subnetIds !== undefined && output.subnetIds !== null
1766
- ? deserializeAws_restJson1SubnetIds(output.subnetIds, context)
1767
- : undefined,
1768
- tags: output.tags !== undefined && output.tags !== null
1769
- ? deserializeAws_restJson1TagMap(output.tags, context)
1770
- : undefined,
1741
+ subnetIds: output.subnetIds != null ? deserializeAws_restJson1SubnetIds(output.subnetIds, context) : undefined,
1742
+ tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
1771
1743
  type: __expectString(output.type),
1772
1744
  virtualClusterId: __expectString(output.virtualClusterId),
1773
1745
  };
@@ -1796,7 +1768,7 @@ var deserializeAws_restJson1EntryPointArguments = function (output, context) {
1796
1768
  };
1797
1769
  var deserializeAws_restJson1JobDriver = function (output, context) {
1798
1770
  return {
1799
- sparkSubmitJobDriver: output.sparkSubmitJobDriver !== undefined && output.sparkSubmitJobDriver !== null
1771
+ sparkSubmitJobDriver: output.sparkSubmitJobDriver != null
1800
1772
  ? deserializeAws_restJson1SparkSubmitJobDriver(output.sparkSubmitJobDriver, context)
1801
1773
  : undefined,
1802
1774
  };
@@ -1805,29 +1777,21 @@ var deserializeAws_restJson1JobRun = function (output, context) {
1805
1777
  return {
1806
1778
  arn: __expectString(output.arn),
1807
1779
  clientToken: __expectString(output.clientToken),
1808
- configurationOverrides: output.configurationOverrides !== undefined && output.configurationOverrides !== null
1780
+ configurationOverrides: output.configurationOverrides != null
1809
1781
  ? deserializeAws_restJson1ConfigurationOverrides(output.configurationOverrides, context)
1810
1782
  : undefined,
1811
- createdAt: output.createdAt !== undefined && output.createdAt !== null
1812
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
1813
- : undefined,
1783
+ createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTime(output.createdAt)) : undefined,
1814
1784
  createdBy: __expectString(output.createdBy),
1815
1785
  executionRoleArn: __expectString(output.executionRoleArn),
1816
1786
  failureReason: __expectString(output.failureReason),
1817
- finishedAt: output.finishedAt !== undefined && output.finishedAt !== null
1818
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.finishedAt)))
1819
- : undefined,
1787
+ finishedAt: output.finishedAt != null ? __expectNonNull(__parseRfc3339DateTime(output.finishedAt)) : undefined,
1820
1788
  id: __expectString(output.id),
1821
- jobDriver: output.jobDriver !== undefined && output.jobDriver !== null
1822
- ? deserializeAws_restJson1JobDriver(output.jobDriver, context)
1823
- : undefined,
1789
+ jobDriver: output.jobDriver != null ? deserializeAws_restJson1JobDriver(output.jobDriver, context) : undefined,
1824
1790
  name: __expectString(output.name),
1825
1791
  releaseLabel: __expectString(output.releaseLabel),
1826
1792
  state: __expectString(output.state),
1827
1793
  stateDetails: __expectString(output.stateDetails),
1828
- tags: output.tags !== undefined && output.tags !== null
1829
- ? deserializeAws_restJson1TagMap(output.tags, context)
1830
- : undefined,
1794
+ tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
1831
1795
  virtualClusterId: __expectString(output.virtualClusterId),
1832
1796
  };
1833
1797
  };
@@ -1844,11 +1808,11 @@ var deserializeAws_restJson1JobRuns = function (output, context) {
1844
1808
  };
1845
1809
  var deserializeAws_restJson1MonitoringConfiguration = function (output, context) {
1846
1810
  return {
1847
- cloudWatchMonitoringConfiguration: output.cloudWatchMonitoringConfiguration !== undefined && output.cloudWatchMonitoringConfiguration !== null
1811
+ cloudWatchMonitoringConfiguration: output.cloudWatchMonitoringConfiguration != null
1848
1812
  ? deserializeAws_restJson1CloudWatchMonitoringConfiguration(output.cloudWatchMonitoringConfiguration, context)
1849
1813
  : undefined,
1850
1814
  persistentAppUI: __expectString(output.persistentAppUI),
1851
- s3MonitoringConfiguration: output.s3MonitoringConfiguration !== undefined && output.s3MonitoringConfiguration !== null
1815
+ s3MonitoringConfiguration: output.s3MonitoringConfiguration != null
1852
1816
  ? deserializeAws_restJson1S3MonitoringConfiguration(output.s3MonitoringConfiguration, context)
1853
1817
  : undefined,
1854
1818
  };
@@ -1871,7 +1835,7 @@ var deserializeAws_restJson1SensitivePropertiesMap = function (output, context)
1871
1835
  var deserializeAws_restJson1SparkSubmitJobDriver = function (output, context) {
1872
1836
  return {
1873
1837
  entryPoint: __expectString(output.entryPoint),
1874
- entryPointArguments: output.entryPointArguments !== undefined && output.entryPointArguments !== null
1838
+ entryPointArguments: output.entryPointArguments != null
1875
1839
  ? deserializeAws_restJson1EntryPointArguments(output.entryPointArguments, context)
1876
1840
  : undefined,
1877
1841
  sparkSubmitParameters: __expectString(output.sparkSubmitParameters),
@@ -1901,18 +1865,14 @@ var deserializeAws_restJson1TagMap = function (output, context) {
1901
1865
  var deserializeAws_restJson1VirtualCluster = function (output, context) {
1902
1866
  return {
1903
1867
  arn: __expectString(output.arn),
1904
- containerProvider: output.containerProvider !== undefined && output.containerProvider !== null
1868
+ containerProvider: output.containerProvider != null
1905
1869
  ? deserializeAws_restJson1ContainerProvider(output.containerProvider, context)
1906
1870
  : undefined,
1907
- createdAt: output.createdAt !== undefined && output.createdAt !== null
1908
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
1909
- : undefined,
1871
+ createdAt: output.createdAt != null ? __expectNonNull(__parseRfc3339DateTime(output.createdAt)) : undefined,
1910
1872
  id: __expectString(output.id),
1911
1873
  name: __expectString(output.name),
1912
1874
  state: __expectString(output.state),
1913
- tags: output.tags !== undefined && output.tags !== null
1914
- ? deserializeAws_restJson1TagMap(output.tags, context)
1915
- : undefined,
1875
+ tags: output.tags != null ? deserializeAws_restJson1TagMap(output.tags, context) : undefined,
1916
1876
  };
1917
1877
  };
1918
1878
  var deserializeAws_restJson1VirtualClusters = function (output, context) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-emr-containers",
3
3
  "description": "AWS SDK for JavaScript Emr Containers Client for Node.js, Browser and React Native",
4
- "version": "3.121.0",
4
+ "version": "3.128.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.128.0",
22
+ "@aws-sdk/config-resolver": "3.128.0",
23
+ "@aws-sdk/credential-provider-node": "3.128.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.128.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.128.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",