@aws-sdk/client-auto-scaling 3.186.0 → 3.188.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 (85) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-cjs/protocols/Aws_query.js +8 -4
  3. package/dist-es/AutoScaling.js +246 -253
  4. package/dist-es/AutoScalingClient.js +22 -28
  5. package/dist-es/commands/AttachInstancesCommand.js +22 -29
  6. package/dist-es/commands/AttachLoadBalancerTargetGroupsCommand.js +21 -28
  7. package/dist-es/commands/AttachLoadBalancersCommand.js +21 -28
  8. package/dist-es/commands/BatchDeleteScheduledActionCommand.js +21 -28
  9. package/dist-es/commands/BatchPutScheduledUpdateGroupActionCommand.js +21 -28
  10. package/dist-es/commands/CancelInstanceRefreshCommand.js +21 -28
  11. package/dist-es/commands/CompleteLifecycleActionCommand.js +21 -28
  12. package/dist-es/commands/CreateAutoScalingGroupCommand.js +22 -29
  13. package/dist-es/commands/CreateLaunchConfigurationCommand.js +22 -29
  14. package/dist-es/commands/CreateOrUpdateTagsCommand.js +22 -29
  15. package/dist-es/commands/DeleteAutoScalingGroupCommand.js +22 -29
  16. package/dist-es/commands/DeleteLaunchConfigurationCommand.js +22 -29
  17. package/dist-es/commands/DeleteLifecycleHookCommand.js +21 -28
  18. package/dist-es/commands/DeleteNotificationConfigurationCommand.js +22 -29
  19. package/dist-es/commands/DeletePolicyCommand.js +22 -29
  20. package/dist-es/commands/DeleteScheduledActionCommand.js +22 -29
  21. package/dist-es/commands/DeleteTagsCommand.js +22 -29
  22. package/dist-es/commands/DeleteWarmPoolCommand.js +21 -28
  23. package/dist-es/commands/DescribeAccountLimitsCommand.js +22 -29
  24. package/dist-es/commands/DescribeAdjustmentTypesCommand.js +22 -29
  25. package/dist-es/commands/DescribeAutoScalingGroupsCommand.js +21 -28
  26. package/dist-es/commands/DescribeAutoScalingInstancesCommand.js +21 -28
  27. package/dist-es/commands/DescribeAutoScalingNotificationTypesCommand.js +22 -29
  28. package/dist-es/commands/DescribeInstanceRefreshesCommand.js +21 -28
  29. package/dist-es/commands/DescribeLaunchConfigurationsCommand.js +21 -28
  30. package/dist-es/commands/DescribeLifecycleHookTypesCommand.js +22 -29
  31. package/dist-es/commands/DescribeLifecycleHooksCommand.js +21 -28
  32. package/dist-es/commands/DescribeLoadBalancerTargetGroupsCommand.js +21 -28
  33. package/dist-es/commands/DescribeLoadBalancersCommand.js +21 -28
  34. package/dist-es/commands/DescribeMetricCollectionTypesCommand.js +22 -29
  35. package/dist-es/commands/DescribeNotificationConfigurationsCommand.js +21 -28
  36. package/dist-es/commands/DescribePoliciesCommand.js +21 -28
  37. package/dist-es/commands/DescribeScalingActivitiesCommand.js +21 -28
  38. package/dist-es/commands/DescribeScalingProcessTypesCommand.js +22 -29
  39. package/dist-es/commands/DescribeScheduledActionsCommand.js +21 -28
  40. package/dist-es/commands/DescribeTagsCommand.js +21 -28
  41. package/dist-es/commands/DescribeTerminationPolicyTypesCommand.js +22 -29
  42. package/dist-es/commands/DescribeWarmPoolCommand.js +21 -28
  43. package/dist-es/commands/DetachInstancesCommand.js +21 -28
  44. package/dist-es/commands/DetachLoadBalancerTargetGroupsCommand.js +21 -28
  45. package/dist-es/commands/DetachLoadBalancersCommand.js +21 -28
  46. package/dist-es/commands/DisableMetricsCollectionCommand.js +22 -29
  47. package/dist-es/commands/EnableMetricsCollectionCommand.js +22 -29
  48. package/dist-es/commands/EnterStandbyCommand.js +21 -28
  49. package/dist-es/commands/ExecutePolicyCommand.js +22 -29
  50. package/dist-es/commands/ExitStandbyCommand.js +21 -28
  51. package/dist-es/commands/GetPredictiveScalingForecastCommand.js +21 -28
  52. package/dist-es/commands/PutLifecycleHookCommand.js +21 -28
  53. package/dist-es/commands/PutNotificationConfigurationCommand.js +22 -29
  54. package/dist-es/commands/PutScalingPolicyCommand.js +21 -28
  55. package/dist-es/commands/PutScheduledUpdateGroupActionCommand.js +22 -29
  56. package/dist-es/commands/PutWarmPoolCommand.js +21 -28
  57. package/dist-es/commands/RecordLifecycleActionHeartbeatCommand.js +21 -28
  58. package/dist-es/commands/ResumeProcessesCommand.js +22 -29
  59. package/dist-es/commands/SetDesiredCapacityCommand.js +22 -29
  60. package/dist-es/commands/SetInstanceHealthCommand.js +22 -29
  61. package/dist-es/commands/SetInstanceProtectionCommand.js +21 -28
  62. package/dist-es/commands/StartInstanceRefreshCommand.js +21 -28
  63. package/dist-es/commands/SuspendProcessesCommand.js +22 -29
  64. package/dist-es/commands/TerminateInstanceInAutoScalingGroupCommand.js +21 -28
  65. package/dist-es/commands/UpdateAutoScalingGroupCommand.js +22 -29
  66. package/dist-es/endpoints.js +8 -8
  67. package/dist-es/models/AutoScalingServiceException.js +5 -10
  68. package/dist-es/models/models_0.js +585 -262
  69. package/dist-es/pagination/DescribeAutoScalingGroupsPaginator.js +25 -68
  70. package/dist-es/pagination/DescribeAutoScalingInstancesPaginator.js +25 -68
  71. package/dist-es/pagination/DescribeLaunchConfigurationsPaginator.js +25 -68
  72. package/dist-es/pagination/DescribeNotificationConfigurationsPaginator.js +25 -68
  73. package/dist-es/pagination/DescribePoliciesPaginator.js +25 -68
  74. package/dist-es/pagination/DescribeScalingActivitiesPaginator.js +25 -68
  75. package/dist-es/pagination/DescribeScheduledActionsPaginator.js +25 -68
  76. package/dist-es/pagination/DescribeTagsPaginator.js +25 -68
  77. package/dist-es/protocols/Aws_query.js +4102 -5764
  78. package/dist-es/runtimeConfig.browser.js +26 -12
  79. package/dist-es/runtimeConfig.js +30 -12
  80. package/dist-es/runtimeConfig.native.js +8 -5
  81. package/dist-es/runtimeConfig.shared.js +8 -11
  82. package/dist-es/waiters/waitForGroupExists.js +36 -56
  83. package/dist-es/waiters/waitForGroupInService.js +58 -78
  84. package/dist-es/waiters/waitForGroupNotExists.js +36 -56
  85. package/package.json +35 -36
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.188.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.187.0...v3.188.0) (2022-10-13)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-auto-scaling
9
+
10
+
11
+
12
+
13
+
6
14
  # [3.186.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.185.0...v3.186.0) (2022-10-06)
7
15
 
8
16
  **Note:** Version bump only for package @aws-sdk/client-auto-scaling
@@ -5,7 +5,6 @@ exports.deserializeAws_queryDetachInstancesCommand = exports.deserializeAws_quer
5
5
  exports.deserializeAws_queryUpdateAutoScalingGroupCommand = exports.deserializeAws_queryTerminateInstanceInAutoScalingGroupCommand = exports.deserializeAws_querySuspendProcessesCommand = exports.deserializeAws_queryStartInstanceRefreshCommand = exports.deserializeAws_querySetInstanceProtectionCommand = exports.deserializeAws_querySetInstanceHealthCommand = exports.deserializeAws_querySetDesiredCapacityCommand = exports.deserializeAws_queryResumeProcessesCommand = exports.deserializeAws_queryRecordLifecycleActionHeartbeatCommand = exports.deserializeAws_queryPutWarmPoolCommand = exports.deserializeAws_queryPutScheduledUpdateGroupActionCommand = exports.deserializeAws_queryPutScalingPolicyCommand = exports.deserializeAws_queryPutNotificationConfigurationCommand = exports.deserializeAws_queryPutLifecycleHookCommand = exports.deserializeAws_queryGetPredictiveScalingForecastCommand = exports.deserializeAws_queryExitStandbyCommand = exports.deserializeAws_queryExecutePolicyCommand = exports.deserializeAws_queryEnterStandbyCommand = exports.deserializeAws_queryEnableMetricsCollectionCommand = exports.deserializeAws_queryDisableMetricsCollectionCommand = exports.deserializeAws_queryDetachLoadBalancerTargetGroupsCommand = exports.deserializeAws_queryDetachLoadBalancersCommand = void 0;
6
6
  const protocol_http_1 = require("@aws-sdk/protocol-http");
7
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
- const entities_1 = require("entities");
9
8
  const fast_xml_parser_1 = require("fast-xml-parser");
10
9
  const AutoScalingServiceException_1 = require("../models/AutoScalingServiceException");
11
10
  const models_0_1 = require("../models/models_0");
@@ -7928,13 +7927,18 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
7928
7927
  };
7929
7928
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
7930
7929
  if (encoded.length) {
7931
- const parsedObj = (0, fast_xml_parser_1.parse)(encoded, {
7930
+ const parser = new fast_xml_parser_1.XMLParser({
7932
7931
  attributeNamePrefix: "",
7932
+ htmlEntities: true,
7933
7933
  ignoreAttributes: false,
7934
- parseNodeValue: false,
7934
+ ignoreDeclaration: true,
7935
+ parseTagValue: false,
7935
7936
  trimValues: false,
7936
- tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : (0, entities_1.decodeHTML)(val)),
7937
+ tagValueProcessor: (_, val) => (val.trim() === "" && val.includes("\n") ? "" : undefined),
7937
7938
  });
7939
+ parser.addEntity("#xD", "\r");
7940
+ parser.addEntity("#10", "\n");
7941
+ const parsedObj = parser.parse(encoded);
7938
7942
  const textNodeName = "#text";
7939
7943
  const key = Object.keys(parsedObj)[0];
7940
7944
  const parsedObjToReturn = parsedObj[key];