@aws-sdk/client-auto-scaling 3.300.0 → 3.303.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-cjs/models/models_0.js +167 -192
- package/dist-cjs/pagination/DescribeTrafficSourcesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_query.js +12 -0
- package/dist-es/models/models_0.js +167 -192
- package/dist-es/pagination/DescribeTrafficSourcesPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_query.js +12 -0
- package/dist-types/AutoScaling.d.ts +93 -28
- package/dist-types/commands/AttachInstancesCommand.d.ts +2 -2
- package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +12 -3
- package/dist-types/commands/AttachLoadBalancersCommand.d.ts +9 -3
- package/dist-types/commands/AttachTrafficSourcesCommand.d.ts +28 -12
- 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 +38 -41
- 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 +11 -2
- package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +12 -3
- 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 +7 -7
- 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 +12 -3
- package/dist-types/commands/DetachLoadBalancersCommand.d.ts +13 -4
- package/dist-types/commands/DetachTrafficSourcesCommand.d.ts +9 -9
- 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 +3 -3
- 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/dist-types/models/models_0.d.ts +432 -238
- package/dist-types/pagination/DescribeTrafficSourcesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +220 -168
- package/dist-types/ts3.4/pagination/DescribeTrafficSourcesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/package.json +35 -35
|
@@ -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
|
* };
|
|
@@ -32,8 +32,8 @@ export interface RollbackInstanceRefreshCommandOutput extends RollbackInstanceRe
|
|
|
32
32
|
* <p>There is no desired configuration specified for the instance refresh.</p>
|
|
33
33
|
* </li>
|
|
34
34
|
* <li>
|
|
35
|
-
* <p>The Auto Scaling group has a launch template that uses an Amazon Web Services Systems Manager
|
|
36
|
-
*
|
|
35
|
+
* <p>The Auto Scaling group has a launch template that uses an Amazon Web Services Systems Manager parameter instead
|
|
36
|
+
* of an AMI ID for the <code>ImageId</code> property.</p>
|
|
37
37
|
* </li>
|
|
38
38
|
* <li>
|
|
39
39
|
* <p>The Auto Scaling group uses the launch template's <code>$Latest</code> or
|
|
@@ -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
|
* };
|
|
@@ -69,50 +69,46 @@ export interface UpdateAutoScalingGroupCommandOutput extends __MetadataBearer {
|
|
|
69
69
|
* import { AutoScalingClient, UpdateAutoScalingGroupCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import
|
|
70
70
|
* // const { AutoScalingClient, UpdateAutoScalingGroupCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import
|
|
71
71
|
* const client = new AutoScalingClient(config);
|
|
72
|
-
* const input = {
|
|
72
|
+
* const input = { // UpdateAutoScalingGroupType
|
|
73
73
|
* AutoScalingGroupName: "STRING_VALUE", // required
|
|
74
74
|
* LaunchConfigurationName: "STRING_VALUE",
|
|
75
|
-
* LaunchTemplate: {
|
|
75
|
+
* LaunchTemplate: { // LaunchTemplateSpecification
|
|
76
76
|
* LaunchTemplateId: "STRING_VALUE",
|
|
77
77
|
* LaunchTemplateName: "STRING_VALUE",
|
|
78
78
|
* Version: "STRING_VALUE",
|
|
79
79
|
* },
|
|
80
|
-
* MixedInstancesPolicy: {
|
|
81
|
-
* LaunchTemplate: {
|
|
80
|
+
* MixedInstancesPolicy: { // MixedInstancesPolicy
|
|
81
|
+
* LaunchTemplate: { // LaunchTemplate
|
|
82
82
|
* LaunchTemplateSpecification: {
|
|
83
83
|
* LaunchTemplateId: "STRING_VALUE",
|
|
84
84
|
* LaunchTemplateName: "STRING_VALUE",
|
|
85
85
|
* Version: "STRING_VALUE",
|
|
86
86
|
* },
|
|
87
|
-
* Overrides: [
|
|
88
|
-
* {
|
|
87
|
+
* Overrides: [ // Overrides
|
|
88
|
+
* { // LaunchTemplateOverrides
|
|
89
89
|
* InstanceType: "STRING_VALUE",
|
|
90
90
|
* WeightedCapacity: "STRING_VALUE",
|
|
91
|
-
* LaunchTemplateSpecification:
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
* Version: "<LaunchTemplateSpecification>",
|
|
95
|
-
* },
|
|
96
|
-
* InstanceRequirements: {
|
|
97
|
-
* VCpuCount: {
|
|
91
|
+
* LaunchTemplateSpecification: "<LaunchTemplateSpecification>",
|
|
92
|
+
* InstanceRequirements: { // InstanceRequirements
|
|
93
|
+
* VCpuCount: { // VCpuCountRequest
|
|
98
94
|
* Min: Number("int"), // required
|
|
99
95
|
* Max: Number("int"),
|
|
100
96
|
* },
|
|
101
|
-
* MemoryMiB: {
|
|
97
|
+
* MemoryMiB: { // MemoryMiBRequest
|
|
102
98
|
* Min: Number("int"), // required
|
|
103
99
|
* Max: Number("int"),
|
|
104
100
|
* },
|
|
105
|
-
* CpuManufacturers: [
|
|
101
|
+
* CpuManufacturers: [ // CpuManufacturers
|
|
106
102
|
* "intel" || "amd" || "amazon-web-services",
|
|
107
103
|
* ],
|
|
108
|
-
* MemoryGiBPerVCpu: {
|
|
104
|
+
* MemoryGiBPerVCpu: { // MemoryGiBPerVCpuRequest
|
|
109
105
|
* Min: Number("double"),
|
|
110
106
|
* Max: Number("double"),
|
|
111
107
|
* },
|
|
112
|
-
* ExcludedInstanceTypes: [
|
|
108
|
+
* ExcludedInstanceTypes: [ // ExcludedInstanceTypes
|
|
113
109
|
* "STRING_VALUE",
|
|
114
110
|
* ],
|
|
115
|
-
* InstanceGenerations: [
|
|
111
|
+
* InstanceGenerations: [ // InstanceGenerations
|
|
116
112
|
* "current" || "previous",
|
|
117
113
|
* ],
|
|
118
114
|
* SpotMaxPricePercentageOverLowestPrice: Number("int"),
|
|
@@ -120,51 +116,51 @@ export interface UpdateAutoScalingGroupCommandOutput extends __MetadataBearer {
|
|
|
120
116
|
* BareMetal: "included" || "excluded" || "required",
|
|
121
117
|
* BurstablePerformance: "included" || "excluded" || "required",
|
|
122
118
|
* RequireHibernateSupport: true || false,
|
|
123
|
-
* NetworkInterfaceCount: {
|
|
119
|
+
* NetworkInterfaceCount: { // NetworkInterfaceCountRequest
|
|
124
120
|
* Min: Number("int"),
|
|
125
121
|
* Max: Number("int"),
|
|
126
122
|
* },
|
|
127
123
|
* LocalStorage: "included" || "excluded" || "required",
|
|
128
|
-
* LocalStorageTypes: [
|
|
124
|
+
* LocalStorageTypes: [ // LocalStorageTypes
|
|
129
125
|
* "hdd" || "ssd",
|
|
130
126
|
* ],
|
|
131
|
-
* TotalLocalStorageGB: {
|
|
127
|
+
* TotalLocalStorageGB: { // TotalLocalStorageGBRequest
|
|
132
128
|
* Min: Number("double"),
|
|
133
129
|
* Max: Number("double"),
|
|
134
130
|
* },
|
|
135
|
-
* BaselineEbsBandwidthMbps: {
|
|
131
|
+
* BaselineEbsBandwidthMbps: { // BaselineEbsBandwidthMbpsRequest
|
|
136
132
|
* Min: Number("int"),
|
|
137
133
|
* Max: Number("int"),
|
|
138
134
|
* },
|
|
139
|
-
* AcceleratorTypes: [
|
|
135
|
+
* AcceleratorTypes: [ // AcceleratorTypes
|
|
140
136
|
* "gpu" || "fpga" || "inference",
|
|
141
137
|
* ],
|
|
142
|
-
* AcceleratorCount: {
|
|
138
|
+
* AcceleratorCount: { // AcceleratorCountRequest
|
|
143
139
|
* Min: Number("int"),
|
|
144
140
|
* Max: Number("int"),
|
|
145
141
|
* },
|
|
146
|
-
* AcceleratorManufacturers: [
|
|
142
|
+
* AcceleratorManufacturers: [ // AcceleratorManufacturers
|
|
147
143
|
* "nvidia" || "amd" || "amazon-web-services" || "xilinx",
|
|
148
144
|
* ],
|
|
149
|
-
* AcceleratorNames: [
|
|
145
|
+
* AcceleratorNames: [ // AcceleratorNames
|
|
150
146
|
* "a100" || "v100" || "k80" || "t4" || "m60" || "radeon-pro-v520" || "vu9p",
|
|
151
147
|
* ],
|
|
152
|
-
* AcceleratorTotalMemoryMiB: {
|
|
148
|
+
* AcceleratorTotalMemoryMiB: { // AcceleratorTotalMemoryMiBRequest
|
|
153
149
|
* Min: Number("int"),
|
|
154
150
|
* Max: Number("int"),
|
|
155
151
|
* },
|
|
156
|
-
* NetworkBandwidthGbps: {
|
|
152
|
+
* NetworkBandwidthGbps: { // NetworkBandwidthGbpsRequest
|
|
157
153
|
* Min: Number("double"),
|
|
158
154
|
* Max: Number("double"),
|
|
159
155
|
* },
|
|
160
|
-
* AllowedInstanceTypes: [
|
|
156
|
+
* AllowedInstanceTypes: [ // AllowedInstanceTypes
|
|
161
157
|
* "STRING_VALUE",
|
|
162
158
|
* ],
|
|
163
159
|
* },
|
|
164
160
|
* },
|
|
165
161
|
* ],
|
|
166
162
|
* },
|
|
167
|
-
* InstancesDistribution: {
|
|
163
|
+
* InstancesDistribution: { // InstancesDistribution
|
|
168
164
|
* OnDemandAllocationStrategy: "STRING_VALUE",
|
|
169
165
|
* OnDemandBaseCapacity: Number("int"),
|
|
170
166
|
* OnDemandPercentageAboveBaseCapacity: Number("int"),
|
|
@@ -177,14 +173,14 @@ export interface UpdateAutoScalingGroupCommandOutput extends __MetadataBearer {
|
|
|
177
173
|
* MaxSize: Number("int"),
|
|
178
174
|
* DesiredCapacity: Number("int"),
|
|
179
175
|
* DefaultCooldown: Number("int"),
|
|
180
|
-
* AvailabilityZones: [
|
|
176
|
+
* AvailabilityZones: [ // AvailabilityZones
|
|
181
177
|
* "STRING_VALUE",
|
|
182
178
|
* ],
|
|
183
179
|
* HealthCheckType: "STRING_VALUE",
|
|
184
180
|
* HealthCheckGracePeriod: Number("int"),
|
|
185
181
|
* PlacementGroup: "STRING_VALUE",
|
|
186
182
|
* VPCZoneIdentifier: "STRING_VALUE",
|
|
187
|
-
* TerminationPolicies: [
|
|
183
|
+
* TerminationPolicies: [ // TerminationPolicies
|
|
188
184
|
* "STRING_VALUE",
|
|
189
185
|
* ],
|
|
190
186
|
* NewInstancesProtectedFromScaleIn: true || false,
|