@aws-sdk/client-elastic-beanstalk 3.523.0 → 3.529.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.
Files changed (71) hide show
  1. package/dist-cjs/index.js +37 -70
  2. package/dist-es/protocols/Aws_query.js +2 -34
  3. package/package.json +17 -18
  4. package/dist-cjs/ElasticBeanstalk.js +0 -1
  5. package/dist-cjs/ElasticBeanstalkClient.js +0 -1
  6. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -1
  7. package/dist-cjs/commands/AbortEnvironmentUpdateCommand.js +0 -1
  8. package/dist-cjs/commands/ApplyEnvironmentManagedActionCommand.js +0 -1
  9. package/dist-cjs/commands/AssociateEnvironmentOperationsRoleCommand.js +0 -1
  10. package/dist-cjs/commands/CheckDNSAvailabilityCommand.js +0 -1
  11. package/dist-cjs/commands/ComposeEnvironmentsCommand.js +0 -1
  12. package/dist-cjs/commands/CreateApplicationCommand.js +0 -1
  13. package/dist-cjs/commands/CreateApplicationVersionCommand.js +0 -1
  14. package/dist-cjs/commands/CreateConfigurationTemplateCommand.js +0 -1
  15. package/dist-cjs/commands/CreateEnvironmentCommand.js +0 -1
  16. package/dist-cjs/commands/CreatePlatformVersionCommand.js +0 -1
  17. package/dist-cjs/commands/CreateStorageLocationCommand.js +0 -1
  18. package/dist-cjs/commands/DeleteApplicationCommand.js +0 -1
  19. package/dist-cjs/commands/DeleteApplicationVersionCommand.js +0 -1
  20. package/dist-cjs/commands/DeleteConfigurationTemplateCommand.js +0 -1
  21. package/dist-cjs/commands/DeleteEnvironmentConfigurationCommand.js +0 -1
  22. package/dist-cjs/commands/DeletePlatformVersionCommand.js +0 -1
  23. package/dist-cjs/commands/DescribeAccountAttributesCommand.js +0 -1
  24. package/dist-cjs/commands/DescribeApplicationVersionsCommand.js +0 -1
  25. package/dist-cjs/commands/DescribeApplicationsCommand.js +0 -1
  26. package/dist-cjs/commands/DescribeConfigurationOptionsCommand.js +0 -1
  27. package/dist-cjs/commands/DescribeConfigurationSettingsCommand.js +0 -1
  28. package/dist-cjs/commands/DescribeEnvironmentHealthCommand.js +0 -1
  29. package/dist-cjs/commands/DescribeEnvironmentManagedActionHistoryCommand.js +0 -1
  30. package/dist-cjs/commands/DescribeEnvironmentManagedActionsCommand.js +0 -1
  31. package/dist-cjs/commands/DescribeEnvironmentResourcesCommand.js +0 -1
  32. package/dist-cjs/commands/DescribeEnvironmentsCommand.js +0 -1
  33. package/dist-cjs/commands/DescribeEventsCommand.js +0 -1
  34. package/dist-cjs/commands/DescribeInstancesHealthCommand.js +0 -1
  35. package/dist-cjs/commands/DescribePlatformVersionCommand.js +0 -1
  36. package/dist-cjs/commands/DisassociateEnvironmentOperationsRoleCommand.js +0 -1
  37. package/dist-cjs/commands/ListAvailableSolutionStacksCommand.js +0 -1
  38. package/dist-cjs/commands/ListPlatformBranchesCommand.js +0 -1
  39. package/dist-cjs/commands/ListPlatformVersionsCommand.js +0 -1
  40. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
  41. package/dist-cjs/commands/RebuildEnvironmentCommand.js +0 -1
  42. package/dist-cjs/commands/RequestEnvironmentInfoCommand.js +0 -1
  43. package/dist-cjs/commands/RestartAppServerCommand.js +0 -1
  44. package/dist-cjs/commands/RetrieveEnvironmentInfoCommand.js +0 -1
  45. package/dist-cjs/commands/SwapEnvironmentCNAMEsCommand.js +0 -1
  46. package/dist-cjs/commands/TerminateEnvironmentCommand.js +0 -1
  47. package/dist-cjs/commands/UpdateApplicationCommand.js +0 -1
  48. package/dist-cjs/commands/UpdateApplicationResourceLifecycleCommand.js +0 -1
  49. package/dist-cjs/commands/UpdateApplicationVersionCommand.js +0 -1
  50. package/dist-cjs/commands/UpdateConfigurationTemplateCommand.js +0 -1
  51. package/dist-cjs/commands/UpdateEnvironmentCommand.js +0 -1
  52. package/dist-cjs/commands/UpdateTagsForResourceCommand.js +0 -1
  53. package/dist-cjs/commands/ValidateConfigurationSettingsCommand.js +0 -1
  54. package/dist-cjs/commands/index.js +0 -1
  55. package/dist-cjs/endpoint/EndpointParameters.js +0 -1
  56. package/dist-cjs/extensionConfiguration.js +0 -1
  57. package/dist-cjs/models/ElasticBeanstalkServiceException.js +0 -1
  58. package/dist-cjs/models/index.js +0 -1
  59. package/dist-cjs/models/models_0.js +0 -1
  60. package/dist-cjs/pagination/DescribeEnvironmentManagedActionHistoryPaginator.js +0 -1
  61. package/dist-cjs/pagination/DescribeEventsPaginator.js +0 -1
  62. package/dist-cjs/pagination/Interfaces.js +0 -1
  63. package/dist-cjs/pagination/ListPlatformBranchesPaginator.js +0 -1
  64. package/dist-cjs/pagination/ListPlatformVersionsPaginator.js +0 -1
  65. package/dist-cjs/pagination/index.js +0 -1
  66. package/dist-cjs/protocols/Aws_query.js +0 -1
  67. package/dist-cjs/runtimeExtensions.js +0 -1
  68. package/dist-cjs/waiters/index.js +0 -1
  69. package/dist-cjs/waiters/waitForEnvironmentExists.js +0 -1
  70. package/dist-cjs/waiters/waitForEnvironmentTerminated.js +0 -1
  71. package/dist-cjs/waiters/waitForEnvironmentUpdated.js +0 -1
package/dist-cjs/index.js CHANGED
@@ -275,9 +275,9 @@ var import_middleware_serde = require("@smithy/middleware-serde");
275
275
  var import_types = require("@smithy/types");
276
276
 
277
277
  // src/protocols/Aws_query.ts
278
+ var import_core2 = require("@aws-sdk/core");
278
279
 
279
280
 
280
- var import_fast_xml_parser = require("fast-xml-parser");
281
281
 
282
282
  // src/models/ElasticBeanstalkServiceException.ts
283
283
 
@@ -1224,7 +1224,7 @@ var de_ApplyEnvironmentManagedActionCommand = /* @__PURE__ */ __name(async (outp
1224
1224
  if (output.statusCode >= 300) {
1225
1225
  return de_CommandError(output, context);
1226
1226
  }
1227
- const data = await parseBody(output.body, context);
1227
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1228
1228
  let contents = {};
1229
1229
  contents = de_ApplyEnvironmentManagedActionResult(data.ApplyEnvironmentManagedActionResult, context);
1230
1230
  const response = {
@@ -1247,7 +1247,7 @@ var de_CheckDNSAvailabilityCommand = /* @__PURE__ */ __name(async (output, conte
1247
1247
  if (output.statusCode >= 300) {
1248
1248
  return de_CommandError(output, context);
1249
1249
  }
1250
- const data = await parseBody(output.body, context);
1250
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1251
1251
  let contents = {};
1252
1252
  contents = de_CheckDNSAvailabilityResultMessage(data.CheckDNSAvailabilityResult, context);
1253
1253
  const response = {
@@ -1260,7 +1260,7 @@ var de_ComposeEnvironmentsCommand = /* @__PURE__ */ __name(async (output, contex
1260
1260
  if (output.statusCode >= 300) {
1261
1261
  return de_CommandError(output, context);
1262
1262
  }
1263
- const data = await parseBody(output.body, context);
1263
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1264
1264
  let contents = {};
1265
1265
  contents = de_EnvironmentDescriptionsMessage(data.ComposeEnvironmentsResult, context);
1266
1266
  const response = {
@@ -1273,7 +1273,7 @@ var de_CreateApplicationCommand = /* @__PURE__ */ __name(async (output, context)
1273
1273
  if (output.statusCode >= 300) {
1274
1274
  return de_CommandError(output, context);
1275
1275
  }
1276
- const data = await parseBody(output.body, context);
1276
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1277
1277
  let contents = {};
1278
1278
  contents = de_ApplicationDescriptionMessage(data.CreateApplicationResult, context);
1279
1279
  const response = {
@@ -1286,7 +1286,7 @@ var de_CreateApplicationVersionCommand = /* @__PURE__ */ __name(async (output, c
1286
1286
  if (output.statusCode >= 300) {
1287
1287
  return de_CommandError(output, context);
1288
1288
  }
1289
- const data = await parseBody(output.body, context);
1289
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1290
1290
  let contents = {};
1291
1291
  contents = de_ApplicationVersionDescriptionMessage(data.CreateApplicationVersionResult, context);
1292
1292
  const response = {
@@ -1299,7 +1299,7 @@ var de_CreateConfigurationTemplateCommand = /* @__PURE__ */ __name(async (output
1299
1299
  if (output.statusCode >= 300) {
1300
1300
  return de_CommandError(output, context);
1301
1301
  }
1302
- const data = await parseBody(output.body, context);
1302
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1303
1303
  let contents = {};
1304
1304
  contents = de_ConfigurationSettingsDescription(data.CreateConfigurationTemplateResult, context);
1305
1305
  const response = {
@@ -1312,7 +1312,7 @@ var de_CreateEnvironmentCommand = /* @__PURE__ */ __name(async (output, context)
1312
1312
  if (output.statusCode >= 300) {
1313
1313
  return de_CommandError(output, context);
1314
1314
  }
1315
- const data = await parseBody(output.body, context);
1315
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1316
1316
  let contents = {};
1317
1317
  contents = de_EnvironmentDescription(data.CreateEnvironmentResult, context);
1318
1318
  const response = {
@@ -1325,7 +1325,7 @@ var de_CreatePlatformVersionCommand = /* @__PURE__ */ __name(async (output, cont
1325
1325
  if (output.statusCode >= 300) {
1326
1326
  return de_CommandError(output, context);
1327
1327
  }
1328
- const data = await parseBody(output.body, context);
1328
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1329
1329
  let contents = {};
1330
1330
  contents = de_CreatePlatformVersionResult(data.CreatePlatformVersionResult, context);
1331
1331
  const response = {
@@ -1338,7 +1338,7 @@ var de_CreateStorageLocationCommand = /* @__PURE__ */ __name(async (output, cont
1338
1338
  if (output.statusCode >= 300) {
1339
1339
  return de_CommandError(output, context);
1340
1340
  }
1341
- const data = await parseBody(output.body, context);
1341
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1342
1342
  let contents = {};
1343
1343
  contents = de_CreateStorageLocationResultMessage(data.CreateStorageLocationResult, context);
1344
1344
  const response = {
@@ -1391,7 +1391,7 @@ var de_DeletePlatformVersionCommand = /* @__PURE__ */ __name(async (output, cont
1391
1391
  if (output.statusCode >= 300) {
1392
1392
  return de_CommandError(output, context);
1393
1393
  }
1394
- const data = await parseBody(output.body, context);
1394
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1395
1395
  let contents = {};
1396
1396
  contents = de_DeletePlatformVersionResult(data.DeletePlatformVersionResult, context);
1397
1397
  const response = {
@@ -1404,7 +1404,7 @@ var de_DescribeAccountAttributesCommand = /* @__PURE__ */ __name(async (output,
1404
1404
  if (output.statusCode >= 300) {
1405
1405
  return de_CommandError(output, context);
1406
1406
  }
1407
- const data = await parseBody(output.body, context);
1407
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1408
1408
  let contents = {};
1409
1409
  contents = de_DescribeAccountAttributesResult(data.DescribeAccountAttributesResult, context);
1410
1410
  const response = {
@@ -1417,7 +1417,7 @@ var de_DescribeApplicationsCommand = /* @__PURE__ */ __name(async (output, conte
1417
1417
  if (output.statusCode >= 300) {
1418
1418
  return de_CommandError(output, context);
1419
1419
  }
1420
- const data = await parseBody(output.body, context);
1420
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1421
1421
  let contents = {};
1422
1422
  contents = de_ApplicationDescriptionsMessage(data.DescribeApplicationsResult, context);
1423
1423
  const response = {
@@ -1430,7 +1430,7 @@ var de_DescribeApplicationVersionsCommand = /* @__PURE__ */ __name(async (output
1430
1430
  if (output.statusCode >= 300) {
1431
1431
  return de_CommandError(output, context);
1432
1432
  }
1433
- const data = await parseBody(output.body, context);
1433
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1434
1434
  let contents = {};
1435
1435
  contents = de_ApplicationVersionDescriptionsMessage(data.DescribeApplicationVersionsResult, context);
1436
1436
  const response = {
@@ -1443,7 +1443,7 @@ var de_DescribeConfigurationOptionsCommand = /* @__PURE__ */ __name(async (outpu
1443
1443
  if (output.statusCode >= 300) {
1444
1444
  return de_CommandError(output, context);
1445
1445
  }
1446
- const data = await parseBody(output.body, context);
1446
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1447
1447
  let contents = {};
1448
1448
  contents = de_ConfigurationOptionsDescription(data.DescribeConfigurationOptionsResult, context);
1449
1449
  const response = {
@@ -1456,7 +1456,7 @@ var de_DescribeConfigurationSettingsCommand = /* @__PURE__ */ __name(async (outp
1456
1456
  if (output.statusCode >= 300) {
1457
1457
  return de_CommandError(output, context);
1458
1458
  }
1459
- const data = await parseBody(output.body, context);
1459
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1460
1460
  let contents = {};
1461
1461
  contents = de_ConfigurationSettingsDescriptions(data.DescribeConfigurationSettingsResult, context);
1462
1462
  const response = {
@@ -1469,7 +1469,7 @@ var de_DescribeEnvironmentHealthCommand = /* @__PURE__ */ __name(async (output,
1469
1469
  if (output.statusCode >= 300) {
1470
1470
  return de_CommandError(output, context);
1471
1471
  }
1472
- const data = await parseBody(output.body, context);
1472
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1473
1473
  let contents = {};
1474
1474
  contents = de_DescribeEnvironmentHealthResult(data.DescribeEnvironmentHealthResult, context);
1475
1475
  const response = {
@@ -1482,7 +1482,7 @@ var de_DescribeEnvironmentManagedActionHistoryCommand = /* @__PURE__ */ __name(a
1482
1482
  if (output.statusCode >= 300) {
1483
1483
  return de_CommandError(output, context);
1484
1484
  }
1485
- const data = await parseBody(output.body, context);
1485
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1486
1486
  let contents = {};
1487
1487
  contents = de_DescribeEnvironmentManagedActionHistoryResult(
1488
1488
  data.DescribeEnvironmentManagedActionHistoryResult,
@@ -1498,7 +1498,7 @@ var de_DescribeEnvironmentManagedActionsCommand = /* @__PURE__ */ __name(async (
1498
1498
  if (output.statusCode >= 300) {
1499
1499
  return de_CommandError(output, context);
1500
1500
  }
1501
- const data = await parseBody(output.body, context);
1501
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1502
1502
  let contents = {};
1503
1503
  contents = de_DescribeEnvironmentManagedActionsResult(data.DescribeEnvironmentManagedActionsResult, context);
1504
1504
  const response = {
@@ -1511,7 +1511,7 @@ var de_DescribeEnvironmentResourcesCommand = /* @__PURE__ */ __name(async (outpu
1511
1511
  if (output.statusCode >= 300) {
1512
1512
  return de_CommandError(output, context);
1513
1513
  }
1514
- const data = await parseBody(output.body, context);
1514
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1515
1515
  let contents = {};
1516
1516
  contents = de_EnvironmentResourceDescriptionsMessage(data.DescribeEnvironmentResourcesResult, context);
1517
1517
  const response = {
@@ -1524,7 +1524,7 @@ var de_DescribeEnvironmentsCommand = /* @__PURE__ */ __name(async (output, conte
1524
1524
  if (output.statusCode >= 300) {
1525
1525
  return de_CommandError(output, context);
1526
1526
  }
1527
- const data = await parseBody(output.body, context);
1527
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1528
1528
  let contents = {};
1529
1529
  contents = de_EnvironmentDescriptionsMessage(data.DescribeEnvironmentsResult, context);
1530
1530
  const response = {
@@ -1537,7 +1537,7 @@ var de_DescribeEventsCommand = /* @__PURE__ */ __name(async (output, context) =>
1537
1537
  if (output.statusCode >= 300) {
1538
1538
  return de_CommandError(output, context);
1539
1539
  }
1540
- const data = await parseBody(output.body, context);
1540
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1541
1541
  let contents = {};
1542
1542
  contents = de_EventDescriptionsMessage(data.DescribeEventsResult, context);
1543
1543
  const response = {
@@ -1550,7 +1550,7 @@ var de_DescribeInstancesHealthCommand = /* @__PURE__ */ __name(async (output, co
1550
1550
  if (output.statusCode >= 300) {
1551
1551
  return de_CommandError(output, context);
1552
1552
  }
1553
- const data = await parseBody(output.body, context);
1553
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1554
1554
  let contents = {};
1555
1555
  contents = de_DescribeInstancesHealthResult(data.DescribeInstancesHealthResult, context);
1556
1556
  const response = {
@@ -1563,7 +1563,7 @@ var de_DescribePlatformVersionCommand = /* @__PURE__ */ __name(async (output, co
1563
1563
  if (output.statusCode >= 300) {
1564
1564
  return de_CommandError(output, context);
1565
1565
  }
1566
- const data = await parseBody(output.body, context);
1566
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1567
1567
  let contents = {};
1568
1568
  contents = de_DescribePlatformVersionResult(data.DescribePlatformVersionResult, context);
1569
1569
  const response = {
@@ -1586,7 +1586,7 @@ var de_ListAvailableSolutionStacksCommand = /* @__PURE__ */ __name(async (output
1586
1586
  if (output.statusCode >= 300) {
1587
1587
  return de_CommandError(output, context);
1588
1588
  }
1589
- const data = await parseBody(output.body, context);
1589
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1590
1590
  let contents = {};
1591
1591
  contents = de_ListAvailableSolutionStacksResultMessage(data.ListAvailableSolutionStacksResult, context);
1592
1592
  const response = {
@@ -1599,7 +1599,7 @@ var de_ListPlatformBranchesCommand = /* @__PURE__ */ __name(async (output, conte
1599
1599
  if (output.statusCode >= 300) {
1600
1600
  return de_CommandError(output, context);
1601
1601
  }
1602
- const data = await parseBody(output.body, context);
1602
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1603
1603
  let contents = {};
1604
1604
  contents = de_ListPlatformBranchesResult(data.ListPlatformBranchesResult, context);
1605
1605
  const response = {
@@ -1612,7 +1612,7 @@ var de_ListPlatformVersionsCommand = /* @__PURE__ */ __name(async (output, conte
1612
1612
  if (output.statusCode >= 300) {
1613
1613
  return de_CommandError(output, context);
1614
1614
  }
1615
- const data = await parseBody(output.body, context);
1615
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1616
1616
  let contents = {};
1617
1617
  contents = de_ListPlatformVersionsResult(data.ListPlatformVersionsResult, context);
1618
1618
  const response = {
@@ -1625,7 +1625,7 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
1625
1625
  if (output.statusCode >= 300) {
1626
1626
  return de_CommandError(output, context);
1627
1627
  }
1628
- const data = await parseBody(output.body, context);
1628
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1629
1629
  let contents = {};
1630
1630
  contents = de_ResourceTagsDescriptionMessage(data.ListTagsForResourceResult, context);
1631
1631
  const response = {
@@ -1668,7 +1668,7 @@ var de_RetrieveEnvironmentInfoCommand = /* @__PURE__ */ __name(async (output, co
1668
1668
  if (output.statusCode >= 300) {
1669
1669
  return de_CommandError(output, context);
1670
1670
  }
1671
- const data = await parseBody(output.body, context);
1671
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1672
1672
  let contents = {};
1673
1673
  contents = de_RetrieveEnvironmentInfoResultMessage(data.RetrieveEnvironmentInfoResult, context);
1674
1674
  const response = {
@@ -1691,7 +1691,7 @@ var de_TerminateEnvironmentCommand = /* @__PURE__ */ __name(async (output, conte
1691
1691
  if (output.statusCode >= 300) {
1692
1692
  return de_CommandError(output, context);
1693
1693
  }
1694
- const data = await parseBody(output.body, context);
1694
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1695
1695
  let contents = {};
1696
1696
  contents = de_EnvironmentDescription(data.TerminateEnvironmentResult, context);
1697
1697
  const response = {
@@ -1704,7 +1704,7 @@ var de_UpdateApplicationCommand = /* @__PURE__ */ __name(async (output, context)
1704
1704
  if (output.statusCode >= 300) {
1705
1705
  return de_CommandError(output, context);
1706
1706
  }
1707
- const data = await parseBody(output.body, context);
1707
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1708
1708
  let contents = {};
1709
1709
  contents = de_ApplicationDescriptionMessage(data.UpdateApplicationResult, context);
1710
1710
  const response = {
@@ -1717,7 +1717,7 @@ var de_UpdateApplicationResourceLifecycleCommand = /* @__PURE__ */ __name(async
1717
1717
  if (output.statusCode >= 300) {
1718
1718
  return de_CommandError(output, context);
1719
1719
  }
1720
- const data = await parseBody(output.body, context);
1720
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1721
1721
  let contents = {};
1722
1722
  contents = de_ApplicationResourceLifecycleDescriptionMessage(data.UpdateApplicationResourceLifecycleResult, context);
1723
1723
  const response = {
@@ -1730,7 +1730,7 @@ var de_UpdateApplicationVersionCommand = /* @__PURE__ */ __name(async (output, c
1730
1730
  if (output.statusCode >= 300) {
1731
1731
  return de_CommandError(output, context);
1732
1732
  }
1733
- const data = await parseBody(output.body, context);
1733
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1734
1734
  let contents = {};
1735
1735
  contents = de_ApplicationVersionDescriptionMessage(data.UpdateApplicationVersionResult, context);
1736
1736
  const response = {
@@ -1743,7 +1743,7 @@ var de_UpdateConfigurationTemplateCommand = /* @__PURE__ */ __name(async (output
1743
1743
  if (output.statusCode >= 300) {
1744
1744
  return de_CommandError(output, context);
1745
1745
  }
1746
- const data = await parseBody(output.body, context);
1746
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1747
1747
  let contents = {};
1748
1748
  contents = de_ConfigurationSettingsDescription(data.UpdateConfigurationTemplateResult, context);
1749
1749
  const response = {
@@ -1756,7 +1756,7 @@ var de_UpdateEnvironmentCommand = /* @__PURE__ */ __name(async (output, context)
1756
1756
  if (output.statusCode >= 300) {
1757
1757
  return de_CommandError(output, context);
1758
1758
  }
1759
- const data = await parseBody(output.body, context);
1759
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1760
1760
  let contents = {};
1761
1761
  contents = de_EnvironmentDescription(data.UpdateEnvironmentResult, context);
1762
1762
  const response = {
@@ -1779,7 +1779,7 @@ var de_ValidateConfigurationSettingsCommand = /* @__PURE__ */ __name(async (outp
1779
1779
  if (output.statusCode >= 300) {
1780
1780
  return de_CommandError(output, context);
1781
1781
  }
1782
- const data = await parseBody(output.body, context);
1782
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1783
1783
  let contents = {};
1784
1784
  contents = de_ConfigurationSettingsValidationMessages(data.ValidateConfigurationSettingsResult, context);
1785
1785
  const response = {
@@ -1791,7 +1791,7 @@ var de_ValidateConfigurationSettingsCommand = /* @__PURE__ */ __name(async (outp
1791
1791
  var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1792
1792
  const parsedOutput = {
1793
1793
  ...output,
1794
- body: await parseErrorBody(output.body, context)
1794
+ body: await (0, import_core2.parseXmlErrorBody)(output.body, context)
1795
1795
  };
1796
1796
  const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1797
1797
  switch (errorCode) {
@@ -4964,7 +4964,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
4964
4964
  extendedRequestId: output.headers["x-amz-id-2"],
4965
4965
  cfId: output.headers["x-amz-cf-id"]
4966
4966
  }), "deserializeMetadata");
4967
- var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
4968
4967
  var throwDefaultError = (0, import_smithy_client.withBaseException)(ElasticBeanstalkServiceException);
4969
4968
  var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
4970
4969
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
@@ -5273,38 +5272,6 @@ var _W = "Warning";
5273
5272
  var _WST = "WindowStartTime";
5274
5273
  var _m = "member";
5275
5274
  var _me = "message";
5276
- var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
5277
- if (encoded.length) {
5278
- const parser = new import_fast_xml_parser.XMLParser({
5279
- attributeNamePrefix: "",
5280
- htmlEntities: true,
5281
- ignoreAttributes: false,
5282
- ignoreDeclaration: true,
5283
- parseTagValue: false,
5284
- trimValues: false,
5285
- tagValueProcessor: (_2, val) => val.trim() === "" && val.includes("\n") ? "" : void 0
5286
- });
5287
- parser.addEntity("#xD", "\r");
5288
- parser.addEntity("#10", "\n");
5289
- const parsedObj = parser.parse(encoded);
5290
- const textNodeName = "#text";
5291
- const key = Object.keys(parsedObj)[0];
5292
- const parsedObjToReturn = parsedObj[key];
5293
- if (parsedObjToReturn[textNodeName]) {
5294
- parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
5295
- delete parsedObjToReturn[textNodeName];
5296
- }
5297
- return (0, import_smithy_client.getValueFromTextNode)(parsedObjToReturn);
5298
- }
5299
- return {};
5300
- }), "parseBody");
5301
- var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
5302
- const value = await parseBody(errorBody, context);
5303
- if (value.Error) {
5304
- value.Error.message = value.Error.message ?? value.Error.Message;
5305
- }
5306
- return value;
5307
- }, "parseErrorBody");
5308
5275
  var buildFormUrlencodedString = /* @__PURE__ */ __name((formEntries) => Object.entries(formEntries).map(([key, value]) => (0, import_smithy_client.extendedEncodeURIComponent)(key) + "=" + (0, import_smithy_client.extendedEncodeURIComponent)(value)).join("&"), "buildFormUrlencodedString");
5309
5276
  var loadQueryErrorCode = /* @__PURE__ */ __name((output, data) => {
5310
5277
  var _a;
@@ -1,6 +1,6 @@
1
+ import { parseXmlBody as parseBody, parseXmlErrorBody as parseErrorBody } from "@aws-sdk/core";
1
2
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
2
- import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@smithy/smithy-client";
3
- import { XMLParser } from "fast-xml-parser";
3
+ import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@smithy/smithy-client";
4
4
  import { ElasticBeanstalkServiceException as __BaseException } from "../models/ElasticBeanstalkServiceException";
5
5
  import { CodeBuildNotInServiceRegionException, ElasticBeanstalkServiceException, InsufficientPrivilegesException, InvalidRequestException, ManagedActionInvalidStateException, OperationInProgressException, PlatformVersionStillReferencedException, ResourceNotFoundException, ResourceTypeNotSupportedException, S3LocationNotInServiceRegionException, S3SubscriptionRequiredException, SourceBundleDeletionException, TooManyApplicationsException, TooManyApplicationVersionsException, TooManyBucketsException, TooManyConfigurationTemplatesException, TooManyEnvironmentsException, TooManyPlatformsException, TooManyTagsException, } from "../models/models_0";
6
6
  export const se_AbortEnvironmentUpdateCommand = async (input, context) => {
@@ -4622,38 +4622,6 @@ const _W = "Warning";
4622
4622
  const _WST = "WindowStartTime";
4623
4623
  const _m = "member";
4624
4624
  const _me = "message";
4625
- const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
4626
- if (encoded.length) {
4627
- const parser = new XMLParser({
4628
- attributeNamePrefix: "",
4629
- htmlEntities: true,
4630
- ignoreAttributes: false,
4631
- ignoreDeclaration: true,
4632
- parseTagValue: false,
4633
- trimValues: false,
4634
- tagValueProcessor: (_, val) => (val.trim() === "" && val.includes("\n") ? "" : undefined),
4635
- });
4636
- parser.addEntity("#xD", "\r");
4637
- parser.addEntity("#10", "\n");
4638
- const parsedObj = parser.parse(encoded);
4639
- const textNodeName = "#text";
4640
- const key = Object.keys(parsedObj)[0];
4641
- const parsedObjToReturn = parsedObj[key];
4642
- if (parsedObjToReturn[textNodeName]) {
4643
- parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
4644
- delete parsedObjToReturn[textNodeName];
4645
- }
4646
- return __getValueFromTextNode(parsedObjToReturn);
4647
- }
4648
- return {};
4649
- });
4650
- const parseErrorBody = async (errorBody, context) => {
4651
- const value = await parseBody(errorBody, context);
4652
- if (value.Error) {
4653
- value.Error.message = value.Error.message ?? value.Error.Message;
4654
- }
4655
- return value;
4656
- };
4657
4625
  const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
4658
4626
  .map(([key, value]) => __extendedEncodeURIComponent(key) + "=" + __extendedEncodeURIComponent(value))
4659
4627
  .join("&");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-elastic-beanstalk",
3
3
  "description": "AWS SDK for JavaScript Elastic Beanstalk Client for Node.js, Browser and React Native",
4
- "version": "3.523.0",
4
+ "version": "3.529.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-elastic-beanstalk",
@@ -20,45 +20,44 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.523.0",
24
- "@aws-sdk/core": "3.523.0",
25
- "@aws-sdk/credential-provider-node": "3.523.0",
23
+ "@aws-sdk/client-sts": "3.529.0",
24
+ "@aws-sdk/core": "3.529.0",
25
+ "@aws-sdk/credential-provider-node": "3.529.0",
26
26
  "@aws-sdk/middleware-host-header": "3.523.0",
27
27
  "@aws-sdk/middleware-logger": "3.523.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.523.0",
29
- "@aws-sdk/middleware-user-agent": "3.523.0",
30
- "@aws-sdk/region-config-resolver": "3.523.0",
29
+ "@aws-sdk/middleware-user-agent": "3.525.0",
30
+ "@aws-sdk/region-config-resolver": "3.525.0",
31
31
  "@aws-sdk/types": "3.523.0",
32
- "@aws-sdk/util-endpoints": "3.523.0",
32
+ "@aws-sdk/util-endpoints": "3.525.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.523.0",
34
- "@aws-sdk/util-user-agent-node": "3.523.0",
35
- "@smithy/config-resolver": "^2.1.3",
36
- "@smithy/core": "^1.3.4",
34
+ "@aws-sdk/util-user-agent-node": "3.525.0",
35
+ "@smithy/config-resolver": "^2.1.4",
36
+ "@smithy/core": "^1.3.5",
37
37
  "@smithy/fetch-http-handler": "^2.4.3",
38
38
  "@smithy/hash-node": "^2.1.3",
39
39
  "@smithy/invalid-dependency": "^2.1.3",
40
40
  "@smithy/middleware-content-length": "^2.1.3",
41
- "@smithy/middleware-endpoint": "^2.4.3",
42
- "@smithy/middleware-retry": "^2.1.3",
41
+ "@smithy/middleware-endpoint": "^2.4.4",
42
+ "@smithy/middleware-retry": "^2.1.4",
43
43
  "@smithy/middleware-serde": "^2.1.3",
44
44
  "@smithy/middleware-stack": "^2.1.3",
45
- "@smithy/node-config-provider": "^2.2.3",
45
+ "@smithy/node-config-provider": "^2.2.4",
46
46
  "@smithy/node-http-handler": "^2.4.1",
47
47
  "@smithy/protocol-http": "^3.2.1",
48
- "@smithy/smithy-client": "^2.4.1",
48
+ "@smithy/smithy-client": "^2.4.2",
49
49
  "@smithy/types": "^2.10.1",
50
50
  "@smithy/url-parser": "^2.1.3",
51
51
  "@smithy/util-base64": "^2.1.1",
52
52
  "@smithy/util-body-length-browser": "^2.1.1",
53
53
  "@smithy/util-body-length-node": "^2.2.1",
54
- "@smithy/util-defaults-mode-browser": "^2.1.3",
55
- "@smithy/util-defaults-mode-node": "^2.2.2",
56
- "@smithy/util-endpoints": "^1.1.3",
54
+ "@smithy/util-defaults-mode-browser": "^2.1.4",
55
+ "@smithy/util-defaults-mode-node": "^2.2.3",
56
+ "@smithy/util-endpoints": "^1.1.4",
57
57
  "@smithy/util-middleware": "^2.1.3",
58
58
  "@smithy/util-retry": "^2.1.3",
59
59
  "@smithy/util-utf8": "^2.1.1",
60
60
  "@smithy/util-waiter": "^2.1.3",
61
- "fast-xml-parser": "4.2.5",
62
61
  "tslib": "^2.5.0"
63
62
  },
64
63
  "devDependencies": {
@@ -1 +0,0 @@
1
- module.exports = require("./index.js");
@@ -1 +0,0 @@
1
- module.exports = require("./index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("./index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("./index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");
@@ -1 +0,0 @@
1
- module.exports = require("../index.js");