@aws-sdk/client-auto-scaling 3.300.0 → 3.301.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.
- package/dist-types/commands/AttachInstancesCommand.d.ts +2 -2
- package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +2 -2
- package/dist-types/commands/AttachLoadBalancersCommand.d.ts +2 -2
- package/dist-types/commands/AttachTrafficSourcesCommand.d.ts +3 -3
- package/dist-types/commands/BatchDeleteScheduledActionCommand.d.ts +2 -2
- package/dist-types/commands/BatchPutScheduledUpdateGroupActionCommand.d.ts +3 -3
- package/dist-types/commands/CancelInstanceRefreshCommand.d.ts +1 -1
- package/dist-types/commands/CompleteLifecycleActionCommand.d.ts +1 -1
- package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +36 -40
- package/dist-types/commands/CreateLaunchConfigurationCommand.d.ts +8 -8
- package/dist-types/commands/CreateOrUpdateTagsCommand.d.ts +3 -3
- package/dist-types/commands/DeleteAutoScalingGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLaunchConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLifecycleHookCommand.d.ts +1 -1
- package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeletePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteScheduledActionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTagsCommand.d.ts +3 -3
- package/dist-types/commands/DeleteWarmPoolCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +5 -5
- package/dist-types/commands/DescribeAutoScalingInstancesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeInstanceRefreshesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeLaunchConfigurationsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeLifecycleHooksCommand.d.ts +2 -2
- package/dist-types/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeNotificationConfigurationsCommand.d.ts +2 -2
- package/dist-types/commands/DescribePoliciesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeTagsCommand.d.ts +4 -4
- package/dist-types/commands/DescribeTrafficSourcesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeWarmPoolCommand.d.ts +1 -1
- package/dist-types/commands/DetachInstancesCommand.d.ts +2 -2
- package/dist-types/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +2 -2
- package/dist-types/commands/DetachLoadBalancersCommand.d.ts +2 -2
- package/dist-types/commands/DetachTrafficSourcesCommand.d.ts +3 -3
- package/dist-types/commands/DisableMetricsCollectionCommand.d.ts +2 -2
- package/dist-types/commands/EnableMetricsCollectionCommand.d.ts +2 -2
- package/dist-types/commands/EnterStandbyCommand.d.ts +2 -2
- package/dist-types/commands/ExecutePolicyCommand.d.ts +1 -1
- package/dist-types/commands/ExitStandbyCommand.d.ts +2 -2
- package/dist-types/commands/GetPredictiveScalingForecastCommand.d.ts +1 -1
- package/dist-types/commands/PutLifecycleHookCommand.d.ts +1 -1
- package/dist-types/commands/PutNotificationConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/PutScalingPolicyCommand.d.ts +27 -33
- package/dist-types/commands/PutScheduledUpdateGroupActionCommand.d.ts +1 -1
- package/dist-types/commands/PutWarmPoolCommand.d.ts +2 -2
- package/dist-types/commands/RecordLifecycleActionHeartbeatCommand.d.ts +1 -1
- package/dist-types/commands/ResumeProcessesCommand.d.ts +2 -2
- package/dist-types/commands/RollbackInstanceRefreshCommand.d.ts +1 -1
- package/dist-types/commands/SetDesiredCapacityCommand.d.ts +1 -1
- package/dist-types/commands/SetInstanceHealthCommand.d.ts +1 -1
- package/dist-types/commands/SetInstanceProtectionCommand.d.ts +2 -2
- package/dist-types/commands/StartInstanceRefreshCommand.d.ts +29 -33
- package/dist-types/commands/SuspendProcessesCommand.d.ts +2 -2
- package/dist-types/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +28 -32
- package/package.json +3 -3
|
@@ -35,8 +35,8 @@ export interface DetachInstancesCommandOutput extends DetachInstancesAnswer, __M
|
|
|
35
35
|
* import { AutoScalingClient, DetachInstancesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
36
36
|
* // const { AutoScalingClient, DetachInstancesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
37
37
|
* const client = new AutoScalingClient(config);
|
|
38
|
-
* const input = {
|
|
39
|
-
* InstanceIds: [
|
|
38
|
+
* const input = { // DetachInstancesQuery
|
|
39
|
+
* InstanceIds: [ // InstanceIds
|
|
40
40
|
* "STRING_VALUE",
|
|
41
41
|
* ],
|
|
42
42
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
@@ -35,9 +35,9 @@ export interface DetachLoadBalancerTargetGroupsCommandOutput extends DetachLoadB
|
|
|
35
35
|
* import { AutoScalingClient, DetachLoadBalancerTargetGroupsCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
36
36
|
* // const { AutoScalingClient, DetachLoadBalancerTargetGroupsCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
37
37
|
* const client = new AutoScalingClient(config);
|
|
38
|
-
* const input = {
|
|
38
|
+
* const input = { // DetachLoadBalancerTargetGroupsType
|
|
39
39
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
40
|
-
* TargetGroupARNs: [ // required
|
|
40
|
+
* TargetGroupARNs: [ // TargetGroupARNs // required
|
|
41
41
|
* "STRING_VALUE",
|
|
42
42
|
* ],
|
|
43
43
|
* };
|
|
@@ -31,9 +31,9 @@ export interface DetachLoadBalancersCommandOutput extends DetachLoadBalancersRes
|
|
|
31
31
|
* import { AutoScalingClient, DetachLoadBalancersCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
32
32
|
* // const { AutoScalingClient, DetachLoadBalancersCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
33
33
|
* const client = new AutoScalingClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // DetachLoadBalancersType
|
|
35
35
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
36
|
-
* LoadBalancerNames: [ // required
|
|
36
|
+
* LoadBalancerNames: [ // LoadBalancerNames // required
|
|
37
37
|
* "STRING_VALUE",
|
|
38
38
|
* ],
|
|
39
39
|
* };
|
|
@@ -30,10 +30,10 @@ export interface DetachTrafficSourcesCommandOutput extends DetachTrafficSourcesR
|
|
|
30
30
|
* import { AutoScalingClient, DetachTrafficSourcesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
31
31
|
* // const { AutoScalingClient, DetachTrafficSourcesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
32
32
|
* const client = new AutoScalingClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // DetachTrafficSourcesType
|
|
34
34
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
35
|
-
* TrafficSources: [ // required
|
|
36
|
-
* {
|
|
35
|
+
* TrafficSources: [ // TrafficSources // required
|
|
36
|
+
* { // TrafficSourceIdentifier
|
|
37
37
|
* Identifier: "STRING_VALUE",
|
|
38
38
|
* },
|
|
39
39
|
* ],
|
|
@@ -26,9 +26,9 @@ export interface DisableMetricsCollectionCommandOutput extends __MetadataBearer
|
|
|
26
26
|
* import { AutoScalingClient, DisableMetricsCollectionCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
27
27
|
* // const { AutoScalingClient, DisableMetricsCollectionCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
28
28
|
* const client = new AutoScalingClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DisableMetricsCollectionQuery
|
|
30
30
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
31
|
-
* Metrics: [
|
|
31
|
+
* Metrics: [ // Metrics
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -31,9 +31,9 @@ export interface EnableMetricsCollectionCommandOutput extends __MetadataBearer {
|
|
|
31
31
|
* import { AutoScalingClient, EnableMetricsCollectionCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
32
32
|
* // const { AutoScalingClient, EnableMetricsCollectionCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
33
33
|
* const client = new AutoScalingClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // EnableMetricsCollectionQuery
|
|
35
35
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
36
|
-
* Metrics: [
|
|
36
|
+
* Metrics: [ // Metrics
|
|
37
37
|
* "STRING_VALUE",
|
|
38
38
|
* ],
|
|
39
39
|
* Granularity: "STRING_VALUE", // required
|
|
@@ -35,8 +35,8 @@ export interface EnterStandbyCommandOutput extends EnterStandbyAnswer, __Metadat
|
|
|
35
35
|
* import { AutoScalingClient, EnterStandbyCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
36
36
|
* // const { AutoScalingClient, EnterStandbyCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
37
37
|
* const client = new AutoScalingClient(config);
|
|
38
|
-
* const input = {
|
|
39
|
-
* InstanceIds: [
|
|
38
|
+
* const input = { // EnterStandbyQuery
|
|
39
|
+
* InstanceIds: [ // InstanceIds
|
|
40
40
|
* "STRING_VALUE",
|
|
41
41
|
* ],
|
|
42
42
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
@@ -27,7 +27,7 @@ export interface ExecutePolicyCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { AutoScalingClient, ExecutePolicyCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
28
28
|
* // const { AutoScalingClient, ExecutePolicyCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
29
29
|
* const client = new AutoScalingClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // ExecutePolicyType
|
|
31
31
|
* AutoScalingGroupName: "STRING_VALUE",
|
|
32
32
|
* PolicyName: "STRING_VALUE", // required
|
|
33
33
|
* HonorCooldown: true || false,
|
|
@@ -31,8 +31,8 @@ export interface ExitStandbyCommandOutput extends ExitStandbyAnswer, __MetadataB
|
|
|
31
31
|
* import { AutoScalingClient, ExitStandbyCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
32
32
|
* // const { AutoScalingClient, ExitStandbyCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
33
33
|
* const client = new AutoScalingClient(config);
|
|
34
|
-
* const input = {
|
|
35
|
-
* InstanceIds: [
|
|
34
|
+
* const input = { // ExitStandbyQuery
|
|
35
|
+
* InstanceIds: [ // InstanceIds
|
|
36
36
|
* "STRING_VALUE",
|
|
37
37
|
* ],
|
|
38
38
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
@@ -34,7 +34,7 @@ export interface GetPredictiveScalingForecastCommandOutput extends GetPredictive
|
|
|
34
34
|
* import { AutoScalingClient, GetPredictiveScalingForecastCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
35
35
|
* // const { AutoScalingClient, GetPredictiveScalingForecastCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
36
36
|
* const client = new AutoScalingClient(config);
|
|
37
|
-
* const input = {
|
|
37
|
+
* const input = { // GetPredictiveScalingForecastType
|
|
38
38
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
39
39
|
* PolicyName: "STRING_VALUE", // required
|
|
40
40
|
* StartTime: new Date("TIMESTAMP"), // required
|
|
@@ -68,7 +68,7 @@ export interface PutLifecycleHookCommandOutput extends PutLifecycleHookAnswer, _
|
|
|
68
68
|
* import { AutoScalingClient, PutLifecycleHookCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
69
69
|
* // const { AutoScalingClient, PutLifecycleHookCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
70
70
|
* const client = new AutoScalingClient(config);
|
|
71
|
-
* const input = {
|
|
71
|
+
* const input = { // PutLifecycleHookType
|
|
72
72
|
* LifecycleHookName: "STRING_VALUE", // required
|
|
73
73
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
74
74
|
* LifecycleTransition: "STRING_VALUE",
|
|
@@ -34,10 +34,10 @@ export interface PutNotificationConfigurationCommandOutput extends __MetadataBea
|
|
|
34
34
|
* import { AutoScalingClient, PutNotificationConfigurationCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
35
35
|
* // const { AutoScalingClient, PutNotificationConfigurationCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
36
36
|
* const client = new AutoScalingClient(config);
|
|
37
|
-
* const input = {
|
|
37
|
+
* const input = { // PutNotificationConfigurationType
|
|
38
38
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
39
39
|
* TopicARN: "STRING_VALUE", // required
|
|
40
|
-
* NotificationTypes: [ // required
|
|
40
|
+
* NotificationTypes: [ // AutoScalingNotificationTypes // required
|
|
41
41
|
* "STRING_VALUE",
|
|
42
42
|
* ],
|
|
43
43
|
* };
|
|
@@ -35,7 +35,7 @@ export interface PutScalingPolicyCommandOutput extends PolicyARNType, __Metadata
|
|
|
35
35
|
* import { AutoScalingClient, PutScalingPolicyCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
36
36
|
* // const { AutoScalingClient, PutScalingPolicyCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
37
37
|
* const client = new AutoScalingClient(config);
|
|
38
|
-
* const input = {
|
|
38
|
+
* const input = { // PutScalingPolicyType
|
|
39
39
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
40
40
|
* PolicyName: "STRING_VALUE", // required
|
|
41
41
|
* PolicyType: "STRING_VALUE",
|
|
@@ -45,36 +45,36 @@ export interface PutScalingPolicyCommandOutput extends PolicyARNType, __Metadata
|
|
|
45
45
|
* ScalingAdjustment: Number("int"),
|
|
46
46
|
* Cooldown: Number("int"),
|
|
47
47
|
* MetricAggregationType: "STRING_VALUE",
|
|
48
|
-
* StepAdjustments: [
|
|
49
|
-
* {
|
|
48
|
+
* StepAdjustments: [ // StepAdjustments
|
|
49
|
+
* { // StepAdjustment
|
|
50
50
|
* MetricIntervalLowerBound: Number("double"),
|
|
51
51
|
* MetricIntervalUpperBound: Number("double"),
|
|
52
52
|
* ScalingAdjustment: Number("int"), // required
|
|
53
53
|
* },
|
|
54
54
|
* ],
|
|
55
55
|
* EstimatedInstanceWarmup: Number("int"),
|
|
56
|
-
* TargetTrackingConfiguration: {
|
|
57
|
-
* PredefinedMetricSpecification: {
|
|
56
|
+
* TargetTrackingConfiguration: { // TargetTrackingConfiguration
|
|
57
|
+
* PredefinedMetricSpecification: { // PredefinedMetricSpecification
|
|
58
58
|
* PredefinedMetricType: "ASGAverageCPUUtilization" || "ASGAverageNetworkIn" || "ASGAverageNetworkOut" || "ALBRequestCountPerTarget", // required
|
|
59
59
|
* ResourceLabel: "STRING_VALUE",
|
|
60
60
|
* },
|
|
61
|
-
* CustomizedMetricSpecification: {
|
|
61
|
+
* CustomizedMetricSpecification: { // CustomizedMetricSpecification
|
|
62
62
|
* MetricName: "STRING_VALUE",
|
|
63
63
|
* Namespace: "STRING_VALUE",
|
|
64
|
-
* Dimensions: [
|
|
65
|
-
* {
|
|
64
|
+
* Dimensions: [ // MetricDimensions
|
|
65
|
+
* { // MetricDimension
|
|
66
66
|
* Name: "STRING_VALUE", // required
|
|
67
67
|
* Value: "STRING_VALUE", // required
|
|
68
68
|
* },
|
|
69
69
|
* ],
|
|
70
70
|
* Statistic: "Average" || "Minimum" || "Maximum" || "SampleCount" || "Sum",
|
|
71
71
|
* Unit: "STRING_VALUE",
|
|
72
|
-
* Metrics: [
|
|
73
|
-
* {
|
|
72
|
+
* Metrics: [ // TargetTrackingMetricDataQueries
|
|
73
|
+
* { // TargetTrackingMetricDataQuery
|
|
74
74
|
* Id: "STRING_VALUE", // required
|
|
75
75
|
* Expression: "STRING_VALUE",
|
|
76
|
-
* MetricStat: {
|
|
77
|
-
* Metric: {
|
|
76
|
+
* MetricStat: { // TargetTrackingMetricStat
|
|
77
|
+
* Metric: { // Metric
|
|
78
78
|
* Namespace: "STRING_VALUE", // required
|
|
79
79
|
* MetricName: "STRING_VALUE", // required
|
|
80
80
|
* Dimensions: [
|
|
@@ -96,34 +96,32 @@ export interface PutScalingPolicyCommandOutput extends PolicyARNType, __Metadata
|
|
|
96
96
|
* DisableScaleIn: true || false,
|
|
97
97
|
* },
|
|
98
98
|
* Enabled: true || false,
|
|
99
|
-
* PredictiveScalingConfiguration: {
|
|
100
|
-
* MetricSpecifications: [ // required
|
|
101
|
-
* {
|
|
99
|
+
* PredictiveScalingConfiguration: { // PredictiveScalingConfiguration
|
|
100
|
+
* MetricSpecifications: [ // PredictiveScalingMetricSpecifications // required
|
|
101
|
+
* { // PredictiveScalingMetricSpecification
|
|
102
102
|
* TargetValue: Number("double"), // required
|
|
103
|
-
* PredefinedMetricPairSpecification: {
|
|
103
|
+
* PredefinedMetricPairSpecification: { // PredictiveScalingPredefinedMetricPair
|
|
104
104
|
* PredefinedMetricType: "ASGCPUUtilization" || "ASGNetworkIn" || "ASGNetworkOut" || "ALBRequestCount", // required
|
|
105
105
|
* ResourceLabel: "STRING_VALUE",
|
|
106
106
|
* },
|
|
107
|
-
* PredefinedScalingMetricSpecification: {
|
|
107
|
+
* PredefinedScalingMetricSpecification: { // PredictiveScalingPredefinedScalingMetric
|
|
108
108
|
* PredefinedMetricType: "ASGAverageCPUUtilization" || "ASGAverageNetworkIn" || "ASGAverageNetworkOut" || "ALBRequestCountPerTarget", // required
|
|
109
109
|
* ResourceLabel: "STRING_VALUE",
|
|
110
110
|
* },
|
|
111
|
-
* PredefinedLoadMetricSpecification: {
|
|
111
|
+
* PredefinedLoadMetricSpecification: { // PredictiveScalingPredefinedLoadMetric
|
|
112
112
|
* PredefinedMetricType: "ASGTotalCPUUtilization" || "ASGTotalNetworkIn" || "ASGTotalNetworkOut" || "ALBTargetGroupRequestCount", // required
|
|
113
113
|
* ResourceLabel: "STRING_VALUE",
|
|
114
114
|
* },
|
|
115
|
-
* CustomizedScalingMetricSpecification: {
|
|
116
|
-
* MetricDataQueries: [ // required
|
|
117
|
-
* {
|
|
115
|
+
* CustomizedScalingMetricSpecification: { // PredictiveScalingCustomizedScalingMetric
|
|
116
|
+
* MetricDataQueries: [ // MetricDataQueries // required
|
|
117
|
+
* { // MetricDataQuery
|
|
118
118
|
* Id: "STRING_VALUE", // required
|
|
119
119
|
* Expression: "STRING_VALUE",
|
|
120
|
-
* MetricStat: {
|
|
120
|
+
* MetricStat: { // MetricStat
|
|
121
121
|
* Metric: {
|
|
122
122
|
* Namespace: "STRING_VALUE", // required
|
|
123
123
|
* MetricName: "STRING_VALUE", // required
|
|
124
|
-
* Dimensions:
|
|
125
|
-
* "<MetricDimensions>",
|
|
126
|
-
* ],
|
|
124
|
+
* Dimensions: "<MetricDimensions>",
|
|
127
125
|
* },
|
|
128
126
|
* Stat: "STRING_VALUE", // required
|
|
129
127
|
* Unit: "STRING_VALUE",
|
|
@@ -133,7 +131,7 @@ export interface PutScalingPolicyCommandOutput extends PolicyARNType, __Metadata
|
|
|
133
131
|
* },
|
|
134
132
|
* ],
|
|
135
133
|
* },
|
|
136
|
-
* CustomizedLoadMetricSpecification: {
|
|
134
|
+
* CustomizedLoadMetricSpecification: { // PredictiveScalingCustomizedLoadMetric
|
|
137
135
|
* MetricDataQueries: [ // required
|
|
138
136
|
* {
|
|
139
137
|
* Id: "STRING_VALUE", // required
|
|
@@ -142,9 +140,7 @@ export interface PutScalingPolicyCommandOutput extends PolicyARNType, __Metadata
|
|
|
142
140
|
* Metric: {
|
|
143
141
|
* Namespace: "STRING_VALUE", // required
|
|
144
142
|
* MetricName: "STRING_VALUE", // required
|
|
145
|
-
* Dimensions:
|
|
146
|
-
* "<MetricDimensions>",
|
|
147
|
-
* ],
|
|
143
|
+
* Dimensions: "<MetricDimensions>",
|
|
148
144
|
* },
|
|
149
145
|
* Stat: "STRING_VALUE", // required
|
|
150
146
|
* Unit: "STRING_VALUE",
|
|
@@ -154,7 +150,7 @@ export interface PutScalingPolicyCommandOutput extends PolicyARNType, __Metadata
|
|
|
154
150
|
* },
|
|
155
151
|
* ],
|
|
156
152
|
* },
|
|
157
|
-
* CustomizedCapacityMetricSpecification: {
|
|
153
|
+
* CustomizedCapacityMetricSpecification: { // PredictiveScalingCustomizedCapacityMetric
|
|
158
154
|
* MetricDataQueries: [ // required
|
|
159
155
|
* {
|
|
160
156
|
* Id: "STRING_VALUE", // required
|
|
@@ -163,9 +159,7 @@ export interface PutScalingPolicyCommandOutput extends PolicyARNType, __Metadata
|
|
|
163
159
|
* Metric: {
|
|
164
160
|
* Namespace: "STRING_VALUE", // required
|
|
165
161
|
* MetricName: "STRING_VALUE", // required
|
|
166
|
-
* Dimensions:
|
|
167
|
-
* "<MetricDimensions>",
|
|
168
|
-
* ],
|
|
162
|
+
* Dimensions: "<MetricDimensions>",
|
|
169
163
|
* },
|
|
170
164
|
* Stat: "STRING_VALUE", // required
|
|
171
165
|
* Unit: "STRING_VALUE",
|
|
@@ -32,7 +32,7 @@ export interface PutScheduledUpdateGroupActionCommandOutput extends __MetadataBe
|
|
|
32
32
|
* import { AutoScalingClient, PutScheduledUpdateGroupActionCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
33
33
|
* // const { AutoScalingClient, PutScheduledUpdateGroupActionCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
34
34
|
* const client = new AutoScalingClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // PutScheduledUpdateGroupActionType
|
|
36
36
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
37
37
|
* ScheduledActionName: "STRING_VALUE", // required
|
|
38
38
|
* Time: new Date("TIMESTAMP"),
|
|
@@ -35,12 +35,12 @@ export interface PutWarmPoolCommandOutput extends PutWarmPoolAnswer, __MetadataB
|
|
|
35
35
|
* import { AutoScalingClient, PutWarmPoolCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
36
36
|
* // const { AutoScalingClient, PutWarmPoolCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
37
37
|
* const client = new AutoScalingClient(config);
|
|
38
|
-
* const input = {
|
|
38
|
+
* const input = { // PutWarmPoolType
|
|
39
39
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
40
40
|
* MaxGroupPreparedCapacity: Number("int"),
|
|
41
41
|
* MinSize: Number("int"),
|
|
42
42
|
* PoolState: "Stopped" || "Running" || "Hibernated",
|
|
43
|
-
* InstanceReusePolicy: {
|
|
43
|
+
* InstanceReusePolicy: { // InstanceReusePolicy
|
|
44
44
|
* ReuseOnScaleIn: true || false,
|
|
45
45
|
* },
|
|
46
46
|
* };
|
|
@@ -62,7 +62,7 @@ export interface RecordLifecycleActionHeartbeatCommandOutput extends RecordLifec
|
|
|
62
62
|
* import { AutoScalingClient, RecordLifecycleActionHeartbeatCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
63
63
|
* // const { AutoScalingClient, RecordLifecycleActionHeartbeatCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
64
64
|
* const client = new AutoScalingClient(config);
|
|
65
|
-
* const input = {
|
|
65
|
+
* const input = { // RecordLifecycleActionHeartbeatType
|
|
66
66
|
* LifecycleHookName: "STRING_VALUE", // required
|
|
67
67
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
68
68
|
* LifecycleActionToken: "STRING_VALUE",
|
|
@@ -29,9 +29,9 @@ export interface ResumeProcessesCommandOutput extends __MetadataBearer {
|
|
|
29
29
|
* import { AutoScalingClient, ResumeProcessesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
30
30
|
* // const { AutoScalingClient, ResumeProcessesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
31
31
|
* const client = new AutoScalingClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // ScalingProcessQuery
|
|
33
33
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
34
|
-
* ScalingProcesses: [
|
|
34
|
+
* ScalingProcesses: [ // ProcessNames
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
37
|
* };
|
|
@@ -48,7 +48,7 @@ export interface RollbackInstanceRefreshCommandOutput extends RollbackInstanceRe
|
|
|
48
48
|
* import { AutoScalingClient, RollbackInstanceRefreshCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
49
49
|
* // const { AutoScalingClient, RollbackInstanceRefreshCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
50
50
|
* const client = new AutoScalingClient(config);
|
|
51
|
-
* const input = {
|
|
51
|
+
* const input = { // RollbackInstanceRefreshType
|
|
52
52
|
* AutoScalingGroupName: "STRING_VALUE",
|
|
53
53
|
* };
|
|
54
54
|
* const command = new RollbackInstanceRefreshCommand(input);
|
|
@@ -31,7 +31,7 @@ export interface SetDesiredCapacityCommandOutput extends __MetadataBearer {
|
|
|
31
31
|
* import { AutoScalingClient, SetDesiredCapacityCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
32
32
|
* // const { AutoScalingClient, SetDesiredCapacityCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
33
33
|
* const client = new AutoScalingClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // SetDesiredCapacityType
|
|
35
35
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
36
36
|
* DesiredCapacity: Number("int"), // required
|
|
37
37
|
* HonorCooldown: true || false,
|
|
@@ -28,7 +28,7 @@ export interface SetInstanceHealthCommandOutput extends __MetadataBearer {
|
|
|
28
28
|
* import { AutoScalingClient, SetInstanceHealthCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
29
29
|
* // const { AutoScalingClient, SetInstanceHealthCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
30
30
|
* const client = new AutoScalingClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // SetInstanceHealthQuery
|
|
32
32
|
* InstanceId: "STRING_VALUE", // required
|
|
33
33
|
* HealthStatus: "STRING_VALUE", // required
|
|
34
34
|
* ShouldRespectGracePeriod: true || false,
|
|
@@ -33,8 +33,8 @@ export interface SetInstanceProtectionCommandOutput extends SetInstanceProtectio
|
|
|
33
33
|
* import { AutoScalingClient, SetInstanceProtectionCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
34
34
|
* // const { AutoScalingClient, SetInstanceProtectionCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
35
35
|
* const client = new AutoScalingClient(config);
|
|
36
|
-
* const input = {
|
|
37
|
-
* InstanceIds: [ // required
|
|
36
|
+
* const input = { // SetInstanceProtectionQuery
|
|
37
|
+
* InstanceIds: [ // InstanceIds // required
|
|
38
38
|
* "STRING_VALUE",
|
|
39
39
|
* ],
|
|
40
40
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
@@ -49,51 +49,47 @@ export interface StartInstanceRefreshCommandOutput extends StartInstanceRefreshA
|
|
|
49
49
|
* import { AutoScalingClient, StartInstanceRefreshCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
50
50
|
* // const { AutoScalingClient, StartInstanceRefreshCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
51
51
|
* const client = new AutoScalingClient(config);
|
|
52
|
-
* const input = {
|
|
52
|
+
* const input = { // StartInstanceRefreshType
|
|
53
53
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
54
54
|
* Strategy: "Rolling",
|
|
55
|
-
* DesiredConfiguration: {
|
|
56
|
-
* LaunchTemplate: {
|
|
55
|
+
* DesiredConfiguration: { // DesiredConfiguration
|
|
56
|
+
* LaunchTemplate: { // LaunchTemplateSpecification
|
|
57
57
|
* LaunchTemplateId: "STRING_VALUE",
|
|
58
58
|
* LaunchTemplateName: "STRING_VALUE",
|
|
59
59
|
* Version: "STRING_VALUE",
|
|
60
60
|
* },
|
|
61
|
-
* MixedInstancesPolicy: {
|
|
62
|
-
* LaunchTemplate: {
|
|
61
|
+
* MixedInstancesPolicy: { // MixedInstancesPolicy
|
|
62
|
+
* LaunchTemplate: { // LaunchTemplate
|
|
63
63
|
* LaunchTemplateSpecification: {
|
|
64
64
|
* LaunchTemplateId: "STRING_VALUE",
|
|
65
65
|
* LaunchTemplateName: "STRING_VALUE",
|
|
66
66
|
* Version: "STRING_VALUE",
|
|
67
67
|
* },
|
|
68
|
-
* Overrides: [
|
|
69
|
-
* {
|
|
68
|
+
* Overrides: [ // Overrides
|
|
69
|
+
* { // LaunchTemplateOverrides
|
|
70
70
|
* InstanceType: "STRING_VALUE",
|
|
71
71
|
* WeightedCapacity: "STRING_VALUE",
|
|
72
|
-
* LaunchTemplateSpecification:
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
* Version: "<LaunchTemplateSpecification>",
|
|
76
|
-
* },
|
|
77
|
-
* InstanceRequirements: {
|
|
78
|
-
* VCpuCount: {
|
|
72
|
+
* LaunchTemplateSpecification: "<LaunchTemplateSpecification>",
|
|
73
|
+
* InstanceRequirements: { // InstanceRequirements
|
|
74
|
+
* VCpuCount: { // VCpuCountRequest
|
|
79
75
|
* Min: Number("int"), // required
|
|
80
76
|
* Max: Number("int"),
|
|
81
77
|
* },
|
|
82
|
-
* MemoryMiB: {
|
|
78
|
+
* MemoryMiB: { // MemoryMiBRequest
|
|
83
79
|
* Min: Number("int"), // required
|
|
84
80
|
* Max: Number("int"),
|
|
85
81
|
* },
|
|
86
|
-
* CpuManufacturers: [
|
|
82
|
+
* CpuManufacturers: [ // CpuManufacturers
|
|
87
83
|
* "intel" || "amd" || "amazon-web-services",
|
|
88
84
|
* ],
|
|
89
|
-
* MemoryGiBPerVCpu: {
|
|
85
|
+
* MemoryGiBPerVCpu: { // MemoryGiBPerVCpuRequest
|
|
90
86
|
* Min: Number("double"),
|
|
91
87
|
* Max: Number("double"),
|
|
92
88
|
* },
|
|
93
|
-
* ExcludedInstanceTypes: [
|
|
89
|
+
* ExcludedInstanceTypes: [ // ExcludedInstanceTypes
|
|
94
90
|
* "STRING_VALUE",
|
|
95
91
|
* ],
|
|
96
|
-
* InstanceGenerations: [
|
|
92
|
+
* InstanceGenerations: [ // InstanceGenerations
|
|
97
93
|
* "current" || "previous",
|
|
98
94
|
* ],
|
|
99
95
|
* SpotMaxPricePercentageOverLowestPrice: Number("int"),
|
|
@@ -101,51 +97,51 @@ export interface StartInstanceRefreshCommandOutput extends StartInstanceRefreshA
|
|
|
101
97
|
* BareMetal: "included" || "excluded" || "required",
|
|
102
98
|
* BurstablePerformance: "included" || "excluded" || "required",
|
|
103
99
|
* RequireHibernateSupport: true || false,
|
|
104
|
-
* NetworkInterfaceCount: {
|
|
100
|
+
* NetworkInterfaceCount: { // NetworkInterfaceCountRequest
|
|
105
101
|
* Min: Number("int"),
|
|
106
102
|
* Max: Number("int"),
|
|
107
103
|
* },
|
|
108
104
|
* LocalStorage: "included" || "excluded" || "required",
|
|
109
|
-
* LocalStorageTypes: [
|
|
105
|
+
* LocalStorageTypes: [ // LocalStorageTypes
|
|
110
106
|
* "hdd" || "ssd",
|
|
111
107
|
* ],
|
|
112
|
-
* TotalLocalStorageGB: {
|
|
108
|
+
* TotalLocalStorageGB: { // TotalLocalStorageGBRequest
|
|
113
109
|
* Min: Number("double"),
|
|
114
110
|
* Max: Number("double"),
|
|
115
111
|
* },
|
|
116
|
-
* BaselineEbsBandwidthMbps: {
|
|
112
|
+
* BaselineEbsBandwidthMbps: { // BaselineEbsBandwidthMbpsRequest
|
|
117
113
|
* Min: Number("int"),
|
|
118
114
|
* Max: Number("int"),
|
|
119
115
|
* },
|
|
120
|
-
* AcceleratorTypes: [
|
|
116
|
+
* AcceleratorTypes: [ // AcceleratorTypes
|
|
121
117
|
* "gpu" || "fpga" || "inference",
|
|
122
118
|
* ],
|
|
123
|
-
* AcceleratorCount: {
|
|
119
|
+
* AcceleratorCount: { // AcceleratorCountRequest
|
|
124
120
|
* Min: Number("int"),
|
|
125
121
|
* Max: Number("int"),
|
|
126
122
|
* },
|
|
127
|
-
* AcceleratorManufacturers: [
|
|
123
|
+
* AcceleratorManufacturers: [ // AcceleratorManufacturers
|
|
128
124
|
* "nvidia" || "amd" || "amazon-web-services" || "xilinx",
|
|
129
125
|
* ],
|
|
130
|
-
* AcceleratorNames: [
|
|
126
|
+
* AcceleratorNames: [ // AcceleratorNames
|
|
131
127
|
* "a100" || "v100" || "k80" || "t4" || "m60" || "radeon-pro-v520" || "vu9p",
|
|
132
128
|
* ],
|
|
133
|
-
* AcceleratorTotalMemoryMiB: {
|
|
129
|
+
* AcceleratorTotalMemoryMiB: { // AcceleratorTotalMemoryMiBRequest
|
|
134
130
|
* Min: Number("int"),
|
|
135
131
|
* Max: Number("int"),
|
|
136
132
|
* },
|
|
137
|
-
* NetworkBandwidthGbps: {
|
|
133
|
+
* NetworkBandwidthGbps: { // NetworkBandwidthGbpsRequest
|
|
138
134
|
* Min: Number("double"),
|
|
139
135
|
* Max: Number("double"),
|
|
140
136
|
* },
|
|
141
|
-
* AllowedInstanceTypes: [
|
|
137
|
+
* AllowedInstanceTypes: [ // AllowedInstanceTypes
|
|
142
138
|
* "STRING_VALUE",
|
|
143
139
|
* ],
|
|
144
140
|
* },
|
|
145
141
|
* },
|
|
146
142
|
* ],
|
|
147
143
|
* },
|
|
148
|
-
* InstancesDistribution: {
|
|
144
|
+
* InstancesDistribution: { // InstancesDistribution
|
|
149
145
|
* OnDemandAllocationStrategy: "STRING_VALUE",
|
|
150
146
|
* OnDemandBaseCapacity: Number("int"),
|
|
151
147
|
* OnDemandPercentageAboveBaseCapacity: Number("int"),
|
|
@@ -155,10 +151,10 @@ export interface StartInstanceRefreshCommandOutput extends StartInstanceRefreshA
|
|
|
155
151
|
* },
|
|
156
152
|
* },
|
|
157
153
|
* },
|
|
158
|
-
* Preferences: {
|
|
154
|
+
* Preferences: { // RefreshPreferences
|
|
159
155
|
* MinHealthyPercentage: Number("int"),
|
|
160
156
|
* InstanceWarmup: Number("int"),
|
|
161
|
-
* CheckpointPercentages: [
|
|
157
|
+
* CheckpointPercentages: [ // CheckpointPercentages
|
|
162
158
|
* Number("int"),
|
|
163
159
|
* ],
|
|
164
160
|
* CheckpointDelay: Number("int"),
|
|
@@ -32,9 +32,9 @@ export interface SuspendProcessesCommandOutput extends __MetadataBearer {
|
|
|
32
32
|
* import { AutoScalingClient, SuspendProcessesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
33
33
|
* // const { AutoScalingClient, SuspendProcessesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
34
34
|
* const client = new AutoScalingClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // ScalingProcessQuery
|
|
36
36
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
37
|
-
* ScalingProcesses: [
|
|
37
|
+
* ScalingProcesses: [ // ProcessNames
|
|
38
38
|
* "STRING_VALUE",
|
|
39
39
|
* ],
|
|
40
40
|
* };
|
|
@@ -37,7 +37,7 @@ export interface TerminateInstanceInAutoScalingGroupCommandOutput extends Activi
|
|
|
37
37
|
* import { AutoScalingClient, TerminateInstanceInAutoScalingGroupCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
38
38
|
* // const { AutoScalingClient, TerminateInstanceInAutoScalingGroupCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
39
39
|
* const client = new AutoScalingClient(config);
|
|
40
|
-
* const input = {
|
|
40
|
+
* const input = { // TerminateInstanceInAutoScalingGroupType
|
|
41
41
|
* InstanceId: "STRING_VALUE", // required
|
|
42
42
|
* ShouldDecrementDesiredCapacity: true || false, // required
|
|
43
43
|
* };
|