@aws-sdk/client-auto-scaling 3.39.0 → 3.43.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 (84) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist-cjs/endpoints.js +74 -5
  3. package/dist-cjs/models/models_0.js +44 -8
  4. package/dist-cjs/protocols/Aws_query.js +247 -0
  5. package/dist-cjs/runtimeConfig.browser.js +6 -3
  6. package/dist-cjs/runtimeConfig.js +5 -3
  7. package/dist-es/endpoints.js +74 -5
  8. package/dist-es/models/models_0.js +28 -4
  9. package/dist-es/protocols/Aws_query.js +355 -87
  10. package/dist-es/runtimeConfig.browser.js +3 -2
  11. package/dist-es/runtimeConfig.js +3 -3
  12. package/dist-types/AutoScaling.d.ts +25 -20
  13. package/dist-types/AutoScalingClient.d.ts +8 -0
  14. package/dist-types/commands/AttachInstancesCommand.d.ts +1 -1
  15. package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +3 -1
  16. package/dist-types/commands/AttachLoadBalancersCommand.d.ts +3 -1
  17. package/dist-types/commands/BatchDeleteScheduledActionCommand.d.ts +1 -1
  18. package/dist-types/commands/BatchPutScheduledUpdateGroupActionCommand.d.ts +1 -1
  19. package/dist-types/commands/CancelInstanceRefreshCommand.d.ts +1 -1
  20. package/dist-types/commands/CompleteLifecycleActionCommand.d.ts +7 -6
  21. package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +1 -1
  22. package/dist-types/commands/CreateLaunchConfigurationCommand.d.ts +1 -1
  23. package/dist-types/commands/CreateOrUpdateTagsCommand.d.ts +1 -1
  24. package/dist-types/commands/DeleteAutoScalingGroupCommand.d.ts +1 -1
  25. package/dist-types/commands/DeleteLaunchConfigurationCommand.d.ts +1 -1
  26. package/dist-types/commands/DeleteLifecycleHookCommand.d.ts +1 -1
  27. package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +1 -1
  28. package/dist-types/commands/DeletePolicyCommand.d.ts +1 -1
  29. package/dist-types/commands/DeleteScheduledActionCommand.d.ts +1 -1
  30. package/dist-types/commands/DeleteTagsCommand.d.ts +1 -1
  31. package/dist-types/commands/DeleteWarmPoolCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeAdjustmentTypesCommand.d.ts +1 -1
  34. package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +1 -1
  35. package/dist-types/commands/DescribeAutoScalingInstancesCommand.d.ts +1 -1
  36. package/dist-types/commands/DescribeAutoScalingNotificationTypesCommand.d.ts +1 -1
  37. package/dist-types/commands/DescribeInstanceRefreshesCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeLaunchConfigurationsCommand.d.ts +1 -1
  39. package/dist-types/commands/DescribeLifecycleHookTypesCommand.d.ts +1 -1
  40. package/dist-types/commands/DescribeLifecycleHooksCommand.d.ts +1 -1
  41. package/dist-types/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +1 -1
  42. package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +1 -1
  43. package/dist-types/commands/DescribeMetricCollectionTypesCommand.d.ts +1 -1
  44. package/dist-types/commands/DescribeNotificationConfigurationsCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribePoliciesCommand.d.ts +1 -1
  46. package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +1 -1
  47. package/dist-types/commands/DescribeScalingProcessTypesCommand.d.ts +1 -1
  48. package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +1 -1
  49. package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  50. package/dist-types/commands/DescribeTerminationPolicyTypesCommand.d.ts +1 -1
  51. package/dist-types/commands/DescribeWarmPoolCommand.d.ts +1 -1
  52. package/dist-types/commands/DetachInstancesCommand.d.ts +1 -1
  53. package/dist-types/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +1 -1
  54. package/dist-types/commands/DetachLoadBalancersCommand.d.ts +1 -1
  55. package/dist-types/commands/DisableMetricsCollectionCommand.d.ts +1 -1
  56. package/dist-types/commands/EnableMetricsCollectionCommand.d.ts +1 -1
  57. package/dist-types/commands/EnterStandbyCommand.d.ts +1 -1
  58. package/dist-types/commands/ExecutePolicyCommand.d.ts +1 -1
  59. package/dist-types/commands/ExitStandbyCommand.d.ts +1 -1
  60. package/dist-types/commands/GetPredictiveScalingForecastCommand.d.ts +1 -1
  61. package/dist-types/commands/PutLifecycleHookCommand.d.ts +9 -9
  62. package/dist-types/commands/PutNotificationConfigurationCommand.d.ts +1 -1
  63. package/dist-types/commands/PutScalingPolicyCommand.d.ts +1 -1
  64. package/dist-types/commands/PutScheduledUpdateGroupActionCommand.d.ts +1 -1
  65. package/dist-types/commands/PutWarmPoolCommand.d.ts +1 -1
  66. package/dist-types/commands/RecordLifecycleActionHeartbeatCommand.d.ts +6 -7
  67. package/dist-types/commands/ResumeProcessesCommand.d.ts +1 -1
  68. package/dist-types/commands/SetDesiredCapacityCommand.d.ts +1 -1
  69. package/dist-types/commands/SetInstanceHealthCommand.d.ts +1 -1
  70. package/dist-types/commands/SetInstanceProtectionCommand.d.ts +3 -2
  71. package/dist-types/commands/StartInstanceRefreshCommand.d.ts +1 -1
  72. package/dist-types/commands/SuspendProcessesCommand.d.ts +1 -1
  73. package/dist-types/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +1 -1
  74. package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +1 -1
  75. package/dist-types/models/models_0.d.ts +273 -100
  76. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  77. package/dist-types/runtimeConfig.d.ts +2 -0
  78. package/dist-types/runtimeConfig.native.d.ts +2 -0
  79. package/dist-types/ts3.4/AutoScalingClient.d.ts +4 -0
  80. package/dist-types/ts3.4/models/models_0.d.ts +87 -11
  81. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  82. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  83. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  84. package/package.json +24 -24
@@ -27,27 +27,96 @@ var partitionHash = {
27
27
  "us-west-2",
28
28
  ],
29
29
  regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
30
- hostname: "autoscaling.{region}.amazonaws.com",
30
+ variants: [
31
+ {
32
+ hostname: "autoscaling.{region}.amazonaws.com",
33
+ tags: [],
34
+ },
35
+ {
36
+ hostname: "autoscaling-fips.{region}.amazonaws.com",
37
+ tags: ["fips"],
38
+ },
39
+ {
40
+ hostname: "autoscaling-fips.{region}.api.aws",
41
+ tags: ["dualstack", "fips"],
42
+ },
43
+ {
44
+ hostname: "autoscaling.{region}.api.aws",
45
+ tags: ["dualstack"],
46
+ },
47
+ ],
31
48
  },
32
49
  "aws-cn": {
33
50
  regions: ["cn-north-1", "cn-northwest-1"],
34
51
  regionRegex: "^cn\\-\\w+\\-\\d+$",
35
- hostname: "autoscaling.{region}.amazonaws.com.cn",
52
+ variants: [
53
+ {
54
+ hostname: "autoscaling.{region}.amazonaws.com.cn",
55
+ tags: [],
56
+ },
57
+ {
58
+ hostname: "autoscaling-fips.{region}.amazonaws.com.cn",
59
+ tags: ["fips"],
60
+ },
61
+ {
62
+ hostname: "autoscaling-fips.{region}.api.amazonwebservices.com.cn",
63
+ tags: ["dualstack", "fips"],
64
+ },
65
+ {
66
+ hostname: "autoscaling.{region}.api.amazonwebservices.com.cn",
67
+ tags: ["dualstack"],
68
+ },
69
+ ],
36
70
  },
37
71
  "aws-iso": {
38
72
  regions: ["us-iso-east-1", "us-iso-west-1"],
39
73
  regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
40
- hostname: "autoscaling.{region}.c2s.ic.gov",
74
+ variants: [
75
+ {
76
+ hostname: "autoscaling.{region}.c2s.ic.gov",
77
+ tags: [],
78
+ },
79
+ {
80
+ hostname: "autoscaling-fips.{region}.c2s.ic.gov",
81
+ tags: ["fips"],
82
+ },
83
+ ],
41
84
  },
42
85
  "aws-iso-b": {
43
86
  regions: ["us-isob-east-1"],
44
87
  regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
45
- hostname: "autoscaling.{region}.sc2s.sgov.gov",
88
+ variants: [
89
+ {
90
+ hostname: "autoscaling.{region}.sc2s.sgov.gov",
91
+ tags: [],
92
+ },
93
+ {
94
+ hostname: "autoscaling-fips.{region}.sc2s.sgov.gov",
95
+ tags: ["fips"],
96
+ },
97
+ ],
46
98
  },
47
99
  "aws-us-gov": {
48
100
  regions: ["us-gov-east-1", "us-gov-west-1"],
49
101
  regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
50
- hostname: "autoscaling.{region}.amazonaws.com",
102
+ variants: [
103
+ {
104
+ hostname: "autoscaling.{region}.amazonaws.com",
105
+ tags: [],
106
+ },
107
+ {
108
+ hostname: "autoscaling-fips.{region}.amazonaws.com",
109
+ tags: ["fips"],
110
+ },
111
+ {
112
+ hostname: "autoscaling-fips.{region}.api.aws",
113
+ tags: ["dualstack", "fips"],
114
+ },
115
+ {
116
+ hostname: "autoscaling.{region}.api.aws",
117
+ tags: ["dualstack"],
118
+ },
119
+ ],
51
120
  },
52
121
  };
53
122
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
@@ -545,6 +545,34 @@ export var PredictiveScalingMaxCapacityBreachBehavior;
545
545
  PredictiveScalingMaxCapacityBreachBehavior["HonorMaxCapacity"] = "HonorMaxCapacity";
546
546
  PredictiveScalingMaxCapacityBreachBehavior["IncreaseMaxCapacity"] = "IncreaseMaxCapacity";
547
547
  })(PredictiveScalingMaxCapacityBreachBehavior || (PredictiveScalingMaxCapacityBreachBehavior = {}));
548
+ export var MetricDimension;
549
+ (function (MetricDimension) {
550
+ MetricDimension.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
551
+ })(MetricDimension || (MetricDimension = {}));
552
+ export var Metric;
553
+ (function (Metric) {
554
+ Metric.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
555
+ })(Metric || (Metric = {}));
556
+ export var MetricStat;
557
+ (function (MetricStat) {
558
+ MetricStat.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
559
+ })(MetricStat || (MetricStat = {}));
560
+ export var MetricDataQuery;
561
+ (function (MetricDataQuery) {
562
+ MetricDataQuery.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
563
+ })(MetricDataQuery || (MetricDataQuery = {}));
564
+ export var PredictiveScalingCustomizedCapacityMetric;
565
+ (function (PredictiveScalingCustomizedCapacityMetric) {
566
+ PredictiveScalingCustomizedCapacityMetric.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
567
+ })(PredictiveScalingCustomizedCapacityMetric || (PredictiveScalingCustomizedCapacityMetric = {}));
568
+ export var PredictiveScalingCustomizedLoadMetric;
569
+ (function (PredictiveScalingCustomizedLoadMetric) {
570
+ PredictiveScalingCustomizedLoadMetric.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
571
+ })(PredictiveScalingCustomizedLoadMetric || (PredictiveScalingCustomizedLoadMetric = {}));
572
+ export var PredictiveScalingCustomizedScalingMetric;
573
+ (function (PredictiveScalingCustomizedScalingMetric) {
574
+ PredictiveScalingCustomizedScalingMetric.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
575
+ })(PredictiveScalingCustomizedScalingMetric || (PredictiveScalingCustomizedScalingMetric = {}));
548
576
  export var PredefinedLoadMetricType;
549
577
  (function (PredefinedLoadMetricType) {
550
578
  PredefinedLoadMetricType["ALBTargetGroupRequestCount"] = "ALBTargetGroupRequestCount";
@@ -595,10 +623,6 @@ export var StepAdjustment;
595
623
  (function (StepAdjustment) {
596
624
  StepAdjustment.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
597
625
  })(StepAdjustment || (StepAdjustment = {}));
598
- export var MetricDimension;
599
- (function (MetricDimension) {
600
- MetricDimension.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
601
- })(MetricDimension || (MetricDimension = {}));
602
626
  export var MetricStatistic;
603
627
  (function (MetricStatistic) {
604
628
  MetricStatistic["Average"] = "Average";