@aws-sdk/client-auto-scaling 3.40.0 → 3.45.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 (72) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist-cjs/endpoints.js +9 -0
  3. package/dist-cjs/models/models_0.js +44 -8
  4. package/dist-cjs/protocols/Aws_query.js +247 -0
  5. package/dist-es/endpoints.js +9 -0
  6. package/dist-es/models/models_0.js +28 -4
  7. package/dist-es/protocols/Aws_query.js +355 -87
  8. package/dist-types/AutoScaling.d.ts +25 -20
  9. package/dist-types/commands/AttachInstancesCommand.d.ts +1 -1
  10. package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +3 -1
  11. package/dist-types/commands/AttachLoadBalancersCommand.d.ts +3 -1
  12. package/dist-types/commands/BatchDeleteScheduledActionCommand.d.ts +1 -1
  13. package/dist-types/commands/BatchPutScheduledUpdateGroupActionCommand.d.ts +1 -1
  14. package/dist-types/commands/CancelInstanceRefreshCommand.d.ts +1 -1
  15. package/dist-types/commands/CompleteLifecycleActionCommand.d.ts +7 -6
  16. package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +1 -1
  17. package/dist-types/commands/CreateLaunchConfigurationCommand.d.ts +1 -1
  18. package/dist-types/commands/CreateOrUpdateTagsCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteAutoScalingGroupCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteLaunchConfigurationCommand.d.ts +1 -1
  21. package/dist-types/commands/DeleteLifecycleHookCommand.d.ts +1 -1
  22. package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +1 -1
  23. package/dist-types/commands/DeletePolicyCommand.d.ts +1 -1
  24. package/dist-types/commands/DeleteScheduledActionCommand.d.ts +1 -1
  25. package/dist-types/commands/DeleteTagsCommand.d.ts +1 -1
  26. package/dist-types/commands/DeleteWarmPoolCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeAdjustmentTypesCommand.d.ts +1 -1
  29. package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +1 -1
  30. package/dist-types/commands/DescribeAutoScalingInstancesCommand.d.ts +1 -1
  31. package/dist-types/commands/DescribeAutoScalingNotificationTypesCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeInstanceRefreshesCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeLaunchConfigurationsCommand.d.ts +1 -1
  34. package/dist-types/commands/DescribeLifecycleHookTypesCommand.d.ts +1 -1
  35. package/dist-types/commands/DescribeLifecycleHooksCommand.d.ts +1 -1
  36. package/dist-types/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +1 -1
  37. package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeMetricCollectionTypesCommand.d.ts +1 -1
  39. package/dist-types/commands/DescribeNotificationConfigurationsCommand.d.ts +1 -1
  40. package/dist-types/commands/DescribePoliciesCommand.d.ts +1 -1
  41. package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +1 -1
  42. package/dist-types/commands/DescribeScalingProcessTypesCommand.d.ts +1 -1
  43. package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +1 -1
  44. package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribeTerminationPolicyTypesCommand.d.ts +1 -1
  46. package/dist-types/commands/DescribeWarmPoolCommand.d.ts +1 -1
  47. package/dist-types/commands/DetachInstancesCommand.d.ts +1 -1
  48. package/dist-types/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +1 -1
  49. package/dist-types/commands/DetachLoadBalancersCommand.d.ts +1 -1
  50. package/dist-types/commands/DisableMetricsCollectionCommand.d.ts +1 -1
  51. package/dist-types/commands/EnableMetricsCollectionCommand.d.ts +1 -1
  52. package/dist-types/commands/EnterStandbyCommand.d.ts +1 -1
  53. package/dist-types/commands/ExecutePolicyCommand.d.ts +1 -1
  54. package/dist-types/commands/ExitStandbyCommand.d.ts +1 -1
  55. package/dist-types/commands/GetPredictiveScalingForecastCommand.d.ts +1 -1
  56. package/dist-types/commands/PutLifecycleHookCommand.d.ts +9 -9
  57. package/dist-types/commands/PutNotificationConfigurationCommand.d.ts +1 -1
  58. package/dist-types/commands/PutScalingPolicyCommand.d.ts +1 -1
  59. package/dist-types/commands/PutScheduledUpdateGroupActionCommand.d.ts +1 -1
  60. package/dist-types/commands/PutWarmPoolCommand.d.ts +1 -1
  61. package/dist-types/commands/RecordLifecycleActionHeartbeatCommand.d.ts +6 -7
  62. package/dist-types/commands/ResumeProcessesCommand.d.ts +1 -1
  63. package/dist-types/commands/SetDesiredCapacityCommand.d.ts +1 -1
  64. package/dist-types/commands/SetInstanceHealthCommand.d.ts +1 -1
  65. package/dist-types/commands/SetInstanceProtectionCommand.d.ts +3 -2
  66. package/dist-types/commands/StartInstanceRefreshCommand.d.ts +1 -1
  67. package/dist-types/commands/SuspendProcessesCommand.d.ts +1 -1
  68. package/dist-types/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +1 -1
  69. package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +1 -1
  70. package/dist-types/models/models_0.d.ts +273 -100
  71. package/dist-types/ts3.4/models/models_0.d.ts +87 -11
  72. package/package.json +6 -6
@@ -1560,6 +1560,87 @@ export declare enum PredictiveScalingMaxCapacityBreachBehavior {
1560
1560
  HonorMaxCapacity = "HonorMaxCapacity",
1561
1561
  IncreaseMaxCapacity = "IncreaseMaxCapacity"
1562
1562
  }
1563
+
1564
+ export interface MetricDimension {
1565
+
1566
+ Name: string | undefined;
1567
+
1568
+ Value: string | undefined;
1569
+ }
1570
+ export declare namespace MetricDimension {
1571
+
1572
+ const filterSensitiveLog: (obj: MetricDimension) => any;
1573
+ }
1574
+
1575
+ export interface Metric {
1576
+
1577
+ Namespace: string | undefined;
1578
+
1579
+ MetricName: string | undefined;
1580
+
1581
+ Dimensions?: MetricDimension[];
1582
+ }
1583
+ export declare namespace Metric {
1584
+
1585
+ const filterSensitiveLog: (obj: Metric) => any;
1586
+ }
1587
+
1588
+ export interface MetricStat {
1589
+
1590
+ Metric: Metric | undefined;
1591
+
1592
+ Stat: string | undefined;
1593
+
1594
+ Unit?: string;
1595
+ }
1596
+ export declare namespace MetricStat {
1597
+
1598
+ const filterSensitiveLog: (obj: MetricStat) => any;
1599
+ }
1600
+
1601
+ export interface MetricDataQuery {
1602
+
1603
+ Id: string | undefined;
1604
+
1605
+ Expression?: string;
1606
+
1607
+ MetricStat?: MetricStat;
1608
+
1609
+ Label?: string;
1610
+
1611
+ ReturnData?: boolean;
1612
+ }
1613
+ export declare namespace MetricDataQuery {
1614
+
1615
+ const filterSensitiveLog: (obj: MetricDataQuery) => any;
1616
+ }
1617
+
1618
+ export interface PredictiveScalingCustomizedCapacityMetric {
1619
+
1620
+ MetricDataQueries: MetricDataQuery[] | undefined;
1621
+ }
1622
+ export declare namespace PredictiveScalingCustomizedCapacityMetric {
1623
+
1624
+ const filterSensitiveLog: (obj: PredictiveScalingCustomizedCapacityMetric) => any;
1625
+ }
1626
+
1627
+ export interface PredictiveScalingCustomizedLoadMetric {
1628
+
1629
+ MetricDataQueries: MetricDataQuery[] | undefined;
1630
+ }
1631
+ export declare namespace PredictiveScalingCustomizedLoadMetric {
1632
+
1633
+ const filterSensitiveLog: (obj: PredictiveScalingCustomizedLoadMetric) => any;
1634
+ }
1635
+
1636
+ export interface PredictiveScalingCustomizedScalingMetric {
1637
+
1638
+ MetricDataQueries: MetricDataQuery[] | undefined;
1639
+ }
1640
+ export declare namespace PredictiveScalingCustomizedScalingMetric {
1641
+
1642
+ const filterSensitiveLog: (obj: PredictiveScalingCustomizedScalingMetric) => any;
1643
+ }
1563
1644
  export declare enum PredefinedLoadMetricType {
1564
1645
  ALBTargetGroupRequestCount = "ALBTargetGroupRequestCount",
1565
1646
  ASGTotalCPUUtilization = "ASGTotalCPUUtilization",
@@ -1621,6 +1702,12 @@ export interface PredictiveScalingMetricSpecification {
1621
1702
  PredefinedScalingMetricSpecification?: PredictiveScalingPredefinedScalingMetric;
1622
1703
 
1623
1704
  PredefinedLoadMetricSpecification?: PredictiveScalingPredefinedLoadMetric;
1705
+
1706
+ CustomizedScalingMetricSpecification?: PredictiveScalingCustomizedScalingMetric;
1707
+
1708
+ CustomizedLoadMetricSpecification?: PredictiveScalingCustomizedLoadMetric;
1709
+
1710
+ CustomizedCapacityMetricSpecification?: PredictiveScalingCustomizedCapacityMetric;
1624
1711
  }
1625
1712
  export declare namespace PredictiveScalingMetricSpecification {
1626
1713
 
@@ -1660,17 +1747,6 @@ export declare namespace StepAdjustment {
1660
1747
 
1661
1748
  const filterSensitiveLog: (obj: StepAdjustment) => any;
1662
1749
  }
1663
-
1664
- export interface MetricDimension {
1665
-
1666
- Name: string | undefined;
1667
-
1668
- Value: string | undefined;
1669
- }
1670
- export declare namespace MetricDimension {
1671
-
1672
- const filterSensitiveLog: (obj: MetricDimension) => any;
1673
- }
1674
1750
  export declare enum MetricStatistic {
1675
1751
  Average = "Average",
1676
1752
  Maximum = "Maximum",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-auto-scaling",
3
3
  "description": "AWS SDK for JavaScript Auto Scaling Client for Node.js, Browser and React Native",
4
- "version": "3.40.0",
4
+ "version": "3.45.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "2.0.0",
23
23
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.40.0",
25
- "@aws-sdk/config-resolver": "3.40.0",
26
- "@aws-sdk/credential-provider-node": "3.40.0",
24
+ "@aws-sdk/client-sts": "3.45.0",
25
+ "@aws-sdk/config-resolver": "3.45.0",
26
+ "@aws-sdk/credential-provider-node": "3.45.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.40.0",
28
28
  "@aws-sdk/hash-node": "3.40.0",
29
29
  "@aws-sdk/invalid-dependency": "3.40.0",
@@ -32,13 +32,13 @@
32
32
  "@aws-sdk/middleware-logger": "3.40.0",
33
33
  "@aws-sdk/middleware-retry": "3.40.0",
34
34
  "@aws-sdk/middleware-serde": "3.40.0",
35
- "@aws-sdk/middleware-signing": "3.40.0",
35
+ "@aws-sdk/middleware-signing": "3.45.0",
36
36
  "@aws-sdk/middleware-stack": "3.40.0",
37
37
  "@aws-sdk/middleware-user-agent": "3.40.0",
38
38
  "@aws-sdk/node-config-provider": "3.40.0",
39
39
  "@aws-sdk/node-http-handler": "3.40.0",
40
40
  "@aws-sdk/protocol-http": "3.40.0",
41
- "@aws-sdk/smithy-client": "3.40.0",
41
+ "@aws-sdk/smithy-client": "3.41.0",
42
42
  "@aws-sdk/types": "3.40.0",
43
43
  "@aws-sdk/url-parser": "3.40.0",
44
44
  "@aws-sdk/util-base64-browser": "3.37.0",