@aws-sdk/client-elastic-beanstalk 3.186.0 → 3.190.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 (67) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-cjs/protocols/Aws_query.js +8 -4
  3. package/dist-es/ElasticBeanstalk.js +190 -197
  4. package/dist-es/ElasticBeanstalkClient.js +22 -28
  5. package/dist-es/commands/AbortEnvironmentUpdateCommand.js +22 -29
  6. package/dist-es/commands/ApplyEnvironmentManagedActionCommand.js +21 -28
  7. package/dist-es/commands/AssociateEnvironmentOperationsRoleCommand.js +22 -29
  8. package/dist-es/commands/CheckDNSAvailabilityCommand.js +21 -28
  9. package/dist-es/commands/ComposeEnvironmentsCommand.js +21 -28
  10. package/dist-es/commands/CreateApplicationCommand.js +21 -28
  11. package/dist-es/commands/CreateApplicationVersionCommand.js +21 -28
  12. package/dist-es/commands/CreateConfigurationTemplateCommand.js +21 -28
  13. package/dist-es/commands/CreateEnvironmentCommand.js +21 -28
  14. package/dist-es/commands/CreatePlatformVersionCommand.js +21 -28
  15. package/dist-es/commands/CreateStorageLocationCommand.js +22 -29
  16. package/dist-es/commands/DeleteApplicationCommand.js +22 -29
  17. package/dist-es/commands/DeleteApplicationVersionCommand.js +22 -29
  18. package/dist-es/commands/DeleteConfigurationTemplateCommand.js +22 -29
  19. package/dist-es/commands/DeleteEnvironmentConfigurationCommand.js +22 -29
  20. package/dist-es/commands/DeletePlatformVersionCommand.js +21 -28
  21. package/dist-es/commands/DescribeAccountAttributesCommand.js +22 -29
  22. package/dist-es/commands/DescribeApplicationVersionsCommand.js +21 -28
  23. package/dist-es/commands/DescribeApplicationsCommand.js +21 -28
  24. package/dist-es/commands/DescribeConfigurationOptionsCommand.js +21 -28
  25. package/dist-es/commands/DescribeConfigurationSettingsCommand.js +21 -28
  26. package/dist-es/commands/DescribeEnvironmentHealthCommand.js +21 -28
  27. package/dist-es/commands/DescribeEnvironmentManagedActionHistoryCommand.js +21 -28
  28. package/dist-es/commands/DescribeEnvironmentManagedActionsCommand.js +21 -28
  29. package/dist-es/commands/DescribeEnvironmentResourcesCommand.js +21 -28
  30. package/dist-es/commands/DescribeEnvironmentsCommand.js +21 -28
  31. package/dist-es/commands/DescribeEventsCommand.js +21 -28
  32. package/dist-es/commands/DescribeInstancesHealthCommand.js +21 -28
  33. package/dist-es/commands/DescribePlatformVersionCommand.js +21 -28
  34. package/dist-es/commands/DisassociateEnvironmentOperationsRoleCommand.js +22 -29
  35. package/dist-es/commands/ListAvailableSolutionStacksCommand.js +22 -29
  36. package/dist-es/commands/ListPlatformBranchesCommand.js +21 -28
  37. package/dist-es/commands/ListPlatformVersionsCommand.js +21 -28
  38. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  39. package/dist-es/commands/RebuildEnvironmentCommand.js +22 -29
  40. package/dist-es/commands/RequestEnvironmentInfoCommand.js +22 -29
  41. package/dist-es/commands/RestartAppServerCommand.js +22 -29
  42. package/dist-es/commands/RetrieveEnvironmentInfoCommand.js +21 -28
  43. package/dist-es/commands/SwapEnvironmentCNAMEsCommand.js +22 -29
  44. package/dist-es/commands/TerminateEnvironmentCommand.js +21 -28
  45. package/dist-es/commands/UpdateApplicationCommand.js +21 -28
  46. package/dist-es/commands/UpdateApplicationResourceLifecycleCommand.js +21 -28
  47. package/dist-es/commands/UpdateApplicationVersionCommand.js +21 -28
  48. package/dist-es/commands/UpdateConfigurationTemplateCommand.js +21 -28
  49. package/dist-es/commands/UpdateEnvironmentCommand.js +21 -28
  50. package/dist-es/commands/UpdateTagsForResourceCommand.js +22 -29
  51. package/dist-es/commands/ValidateConfigurationSettingsCommand.js +21 -28
  52. package/dist-es/endpoints.js +8 -8
  53. package/dist-es/models/ElasticBeanstalkServiceException.js +5 -10
  54. package/dist-es/models/models_0.js +587 -336
  55. package/dist-es/pagination/DescribeEnvironmentManagedActionHistoryPaginator.js +25 -68
  56. package/dist-es/pagination/DescribeEventsPaginator.js +25 -68
  57. package/dist-es/pagination/ListPlatformBranchesPaginator.js +25 -68
  58. package/dist-es/pagination/ListPlatformVersionsPaginator.js +25 -68
  59. package/dist-es/protocols/Aws_query.js +2957 -3983
  60. package/dist-es/runtimeConfig.browser.js +26 -12
  61. package/dist-es/runtimeConfig.js +30 -12
  62. package/dist-es/runtimeConfig.native.js +8 -5
  63. package/dist-es/runtimeConfig.shared.js +8 -11
  64. package/dist-es/waiters/waitForEnvironmentExists.js +52 -93
  65. package/dist-es/waiters/waitForEnvironmentTerminated.js +52 -93
  66. package/dist-es/waiters/waitForEnvironmentUpdated.js +52 -93
  67. package/package.json +35 -36
package/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
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.190.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.189.0...v3.190.0) (2022-10-17)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-elastic-beanstalk
9
+
10
+
11
+
12
+
13
+
14
+ # [3.188.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.187.0...v3.188.0) (2022-10-13)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-elastic-beanstalk
17
+
18
+
19
+
20
+
21
+
6
22
  # [3.186.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.185.0...v3.186.0) (2022-10-06)
7
23
 
8
24
  **Note:** Version bump only for package @aws-sdk/client-elastic-beanstalk
@@ -4,7 +4,6 @@ exports.deserializeAws_queryAssociateEnvironmentOperationsRoleCommand = exports.
4
4
  exports.deserializeAws_queryValidateConfigurationSettingsCommand = exports.deserializeAws_queryUpdateTagsForResourceCommand = exports.deserializeAws_queryUpdateEnvironmentCommand = exports.deserializeAws_queryUpdateConfigurationTemplateCommand = exports.deserializeAws_queryUpdateApplicationVersionCommand = exports.deserializeAws_queryUpdateApplicationResourceLifecycleCommand = exports.deserializeAws_queryUpdateApplicationCommand = exports.deserializeAws_queryTerminateEnvironmentCommand = exports.deserializeAws_querySwapEnvironmentCNAMEsCommand = exports.deserializeAws_queryRetrieveEnvironmentInfoCommand = exports.deserializeAws_queryRestartAppServerCommand = exports.deserializeAws_queryRequestEnvironmentInfoCommand = exports.deserializeAws_queryRebuildEnvironmentCommand = exports.deserializeAws_queryListTagsForResourceCommand = exports.deserializeAws_queryListPlatformVersionsCommand = exports.deserializeAws_queryListPlatformBranchesCommand = exports.deserializeAws_queryListAvailableSolutionStacksCommand = exports.deserializeAws_queryDisassociateEnvironmentOperationsRoleCommand = exports.deserializeAws_queryDescribePlatformVersionCommand = exports.deserializeAws_queryDescribeInstancesHealthCommand = exports.deserializeAws_queryDescribeEventsCommand = exports.deserializeAws_queryDescribeEnvironmentsCommand = exports.deserializeAws_queryDescribeEnvironmentResourcesCommand = exports.deserializeAws_queryDescribeEnvironmentManagedActionsCommand = exports.deserializeAws_queryDescribeEnvironmentManagedActionHistoryCommand = exports.deserializeAws_queryDescribeEnvironmentHealthCommand = exports.deserializeAws_queryDescribeConfigurationSettingsCommand = exports.deserializeAws_queryDescribeConfigurationOptionsCommand = exports.deserializeAws_queryDescribeApplicationVersionsCommand = exports.deserializeAws_queryDescribeApplicationsCommand = exports.deserializeAws_queryDescribeAccountAttributesCommand = exports.deserializeAws_queryDeletePlatformVersionCommand = exports.deserializeAws_queryDeleteEnvironmentConfigurationCommand = exports.deserializeAws_queryDeleteConfigurationTemplateCommand = exports.deserializeAws_queryDeleteApplicationVersionCommand = exports.deserializeAws_queryDeleteApplicationCommand = exports.deserializeAws_queryCreateStorageLocationCommand = exports.deserializeAws_queryCreatePlatformVersionCommand = exports.deserializeAws_queryCreateEnvironmentCommand = exports.deserializeAws_queryCreateConfigurationTemplateCommand = exports.deserializeAws_queryCreateApplicationVersionCommand = exports.deserializeAws_queryCreateApplicationCommand = exports.deserializeAws_queryComposeEnvironmentsCommand = exports.deserializeAws_queryCheckDNSAvailabilityCommand = void 0;
5
5
  const protocol_http_1 = require("@aws-sdk/protocol-http");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const entities_1 = require("entities");
8
7
  const fast_xml_parser_1 = require("fast-xml-parser");
9
8
  const ElasticBeanstalkServiceException_1 = require("../models/ElasticBeanstalkServiceException");
10
9
  const models_0_1 = require("../models/models_0");
@@ -5742,13 +5741,18 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
5742
5741
  };
5743
5742
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
5744
5743
  if (encoded.length) {
5745
- const parsedObj = (0, fast_xml_parser_1.parse)(encoded, {
5744
+ const parser = new fast_xml_parser_1.XMLParser({
5746
5745
  attributeNamePrefix: "",
5746
+ htmlEntities: true,
5747
5747
  ignoreAttributes: false,
5748
- parseNodeValue: false,
5748
+ ignoreDeclaration: true,
5749
+ parseTagValue: false,
5749
5750
  trimValues: false,
5750
- tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : (0, entities_1.decodeHTML)(val)),
5751
+ tagValueProcessor: (_, val) => (val.trim() === "" && val.includes("\n") ? "" : undefined),
5751
5752
  });
5753
+ parser.addEntity("#xD", "\r");
5754
+ parser.addEntity("#10", "\n");
5755
+ const parsedObj = parser.parse(encoded);
5752
5756
  const textNodeName = "#text";
5753
5757
  const key = Object.keys(parsedObj)[0];
5754
5758
  const parsedObjToReturn = parsedObj[key];