@aws-sdk/client-auto-scaling 3.830.0 → 3.832.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/README.md +2 -0
- package/dist-cjs/index.js +21 -17
- package/dist-es/protocols/Aws_query.js +21 -17
- package/dist-types/AutoScaling.d.ts +2 -0
- package/dist-types/AutoScalingClient.d.ts +2 -0
- package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +1 -0
- package/dist-types/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,6 +8,8 @@ AWS SDK for JavaScript AutoScaling Client for Node.js, Browser and React Native.
|
|
|
8
8
|
|
|
9
9
|
<fullname>Amazon EC2 Auto Scaling</fullname>
|
|
10
10
|
|
|
11
|
+
<p>The <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAutoScalingGroups.html">DescribeAutoScalingGroups</a> API operation might be throttled when retrieving details for an Auto Scaling group that contains many instances. By default, this operation returns details for all instances in the group.
|
|
12
|
+
To help prevent throttling, you can set the <code>IncludeInstances</code> parameter to <code>false</code> to exclude instance details from the response.</p>
|
|
11
13
|
<p>Amazon EC2 Auto Scaling is designed to automatically launch and terminate EC2 instances
|
|
12
14
|
based on user-defined scaling policies, scheduled actions, and health checks.</p>
|
|
13
15
|
<p>For more information, see the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/what-is-amazon-ec2-auto-scaling.html">Amazon EC2 Auto Scaling User Guide</a> and the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/Welcome.html">Amazon EC2 Auto Scaling API Reference</a>.</p>
|
package/dist-cjs/index.js
CHANGED
|
@@ -2444,6 +2444,9 @@ var se_AutoScalingGroupNamesType = /* @__PURE__ */ __name((input, context) => {
|
|
|
2444
2444
|
entries[loc] = value;
|
|
2445
2445
|
});
|
|
2446
2446
|
}
|
|
2447
|
+
if (input[_IIn] != null) {
|
|
2448
|
+
entries[_IIn] = input[_IIn];
|
|
2449
|
+
}
|
|
2447
2450
|
if (input[_NT] != null) {
|
|
2448
2451
|
entries[_NT] = input[_NT];
|
|
2449
2452
|
}
|
|
@@ -2700,8 +2703,8 @@ var se_CompleteLifecycleActionType = /* @__PURE__ */ __name((input, context) =>
|
|
|
2700
2703
|
if (input[_LAR] != null) {
|
|
2701
2704
|
entries[_LAR] = input[_LAR];
|
|
2702
2705
|
}
|
|
2703
|
-
if (input[
|
|
2704
|
-
entries[
|
|
2706
|
+
if (input[_IIns] != null) {
|
|
2707
|
+
entries[_IIns] = input[_IIns];
|
|
2705
2708
|
}
|
|
2706
2709
|
return entries;
|
|
2707
2710
|
}, "se_CompleteLifecycleActionType");
|
|
@@ -2753,8 +2756,8 @@ var se_CreateAutoScalingGroupType = /* @__PURE__ */ __name((input, context) => {
|
|
|
2753
2756
|
entries[loc] = value;
|
|
2754
2757
|
});
|
|
2755
2758
|
}
|
|
2756
|
-
if (input[
|
|
2757
|
-
entries[
|
|
2759
|
+
if (input[_IIns] != null) {
|
|
2760
|
+
entries[_IIns] = input[_IIns];
|
|
2758
2761
|
}
|
|
2759
2762
|
if (input[_MS] != null) {
|
|
2760
2763
|
entries[_MS] = input[_MS];
|
|
@@ -2941,8 +2944,8 @@ var se_CreateLaunchConfigurationType = /* @__PURE__ */ __name((input, context) =
|
|
|
2941
2944
|
if (input[_UD] != null) {
|
|
2942
2945
|
entries[_UD] = input[_UD];
|
|
2943
2946
|
}
|
|
2944
|
-
if (input[
|
|
2945
|
-
entries[
|
|
2947
|
+
if (input[_IIns] != null) {
|
|
2948
|
+
entries[_IIns] = input[_IIns];
|
|
2946
2949
|
}
|
|
2947
2950
|
if (input[_IT] != null) {
|
|
2948
2951
|
entries[_IT] = input[_IT];
|
|
@@ -4666,8 +4669,8 @@ var se_RecordLifecycleActionHeartbeatType = /* @__PURE__ */ __name((input, conte
|
|
|
4666
4669
|
if (input[_LAT] != null) {
|
|
4667
4670
|
entries[_LAT] = input[_LAT];
|
|
4668
4671
|
}
|
|
4669
|
-
if (input[
|
|
4670
|
-
entries[
|
|
4672
|
+
if (input[_IIns] != null) {
|
|
4673
|
+
entries[_IIns] = input[_IIns];
|
|
4671
4674
|
}
|
|
4672
4675
|
return entries;
|
|
4673
4676
|
}, "se_RecordLifecycleActionHeartbeatType");
|
|
@@ -4825,8 +4828,8 @@ var se_SetDesiredCapacityType = /* @__PURE__ */ __name((input, context) => {
|
|
|
4825
4828
|
}, "se_SetDesiredCapacityType");
|
|
4826
4829
|
var se_SetInstanceHealthQuery = /* @__PURE__ */ __name((input, context) => {
|
|
4827
4830
|
const entries = {};
|
|
4828
|
-
if (input[
|
|
4829
|
-
entries[
|
|
4831
|
+
if (input[_IIns] != null) {
|
|
4832
|
+
entries[_IIns] = input[_IIns];
|
|
4830
4833
|
}
|
|
4831
4834
|
if (input[_HS] != null) {
|
|
4832
4835
|
entries[_HS] = input[_HS];
|
|
@@ -5041,8 +5044,8 @@ var se_TargetTrackingMetricStat = /* @__PURE__ */ __name((input, context) => {
|
|
|
5041
5044
|
}, "se_TargetTrackingMetricStat");
|
|
5042
5045
|
var se_TerminateInstanceInAutoScalingGroupType = /* @__PURE__ */ __name((input, context) => {
|
|
5043
5046
|
const entries = {};
|
|
5044
|
-
if (input[
|
|
5045
|
-
entries[
|
|
5047
|
+
if (input[_IIns] != null) {
|
|
5048
|
+
entries[_IIns] = input[_IIns];
|
|
5046
5049
|
}
|
|
5047
5050
|
if (input[_SDDC] != null) {
|
|
5048
5051
|
entries[_SDDC] = input[_SDDC];
|
|
@@ -5564,8 +5567,8 @@ var de_AutoScalingGroupsType = /* @__PURE__ */ __name((output, context) => {
|
|
|
5564
5567
|
}, "de_AutoScalingGroupsType");
|
|
5565
5568
|
var de_AutoScalingInstanceDetails = /* @__PURE__ */ __name((output, context) => {
|
|
5566
5569
|
const contents = {};
|
|
5567
|
-
if (output[
|
|
5568
|
-
contents[
|
|
5570
|
+
if (output[_IIns] != null) {
|
|
5571
|
+
contents[_IIns] = (0, import_smithy_client.expectString)(output[_IIns]);
|
|
5569
5572
|
}
|
|
5570
5573
|
if (output[_IT] != null) {
|
|
5571
5574
|
contents[_IT] = (0, import_smithy_client.expectString)(output[_IT]);
|
|
@@ -6098,8 +6101,8 @@ var de_GetPredictiveScalingForecastAnswer = /* @__PURE__ */ __name((output, cont
|
|
|
6098
6101
|
}, "de_GetPredictiveScalingForecastAnswer");
|
|
6099
6102
|
var de_Instance = /* @__PURE__ */ __name((output, context) => {
|
|
6100
6103
|
const contents = {};
|
|
6101
|
-
if (output[
|
|
6102
|
-
contents[
|
|
6104
|
+
if (output[_IIns] != null) {
|
|
6105
|
+
contents[_IIns] = (0, import_smithy_client.expectString)(output[_IIns]);
|
|
6103
6106
|
}
|
|
6104
6107
|
if (output[_IT] != null) {
|
|
6105
6108
|
contents[_IT] = (0, import_smithy_client.expectString)(output[_IT]);
|
|
@@ -7602,7 +7605,8 @@ var _IG = "InstanceGenerations";
|
|
|
7602
7605
|
var _II = "InstanceIds";
|
|
7603
7606
|
var _IIP = "IamInstanceProfile";
|
|
7604
7607
|
var _IIm = "ImageId";
|
|
7605
|
-
var _IIn = "
|
|
7608
|
+
var _IIn = "IncludeInstances";
|
|
7609
|
+
var _IIns = "InstanceId";
|
|
7606
7610
|
var _IM = "InstanceMonitoring";
|
|
7607
7611
|
var _IMP = "InstanceMaintenancePolicy";
|
|
7608
7612
|
var _IR = "InstanceRequirements";
|
|
@@ -1761,6 +1761,9 @@ const se_AutoScalingGroupNamesType = (input, context) => {
|
|
|
1761
1761
|
entries[loc] = value;
|
|
1762
1762
|
});
|
|
1763
1763
|
}
|
|
1764
|
+
if (input[_IIn] != null) {
|
|
1765
|
+
entries[_IIn] = input[_IIn];
|
|
1766
|
+
}
|
|
1764
1767
|
if (input[_NT] != null) {
|
|
1765
1768
|
entries[_NT] = input[_NT];
|
|
1766
1769
|
}
|
|
@@ -2017,8 +2020,8 @@ const se_CompleteLifecycleActionType = (input, context) => {
|
|
|
2017
2020
|
if (input[_LAR] != null) {
|
|
2018
2021
|
entries[_LAR] = input[_LAR];
|
|
2019
2022
|
}
|
|
2020
|
-
if (input[
|
|
2021
|
-
entries[
|
|
2023
|
+
if (input[_IIns] != null) {
|
|
2024
|
+
entries[_IIns] = input[_IIns];
|
|
2022
2025
|
}
|
|
2023
2026
|
return entries;
|
|
2024
2027
|
};
|
|
@@ -2070,8 +2073,8 @@ const se_CreateAutoScalingGroupType = (input, context) => {
|
|
|
2070
2073
|
entries[loc] = value;
|
|
2071
2074
|
});
|
|
2072
2075
|
}
|
|
2073
|
-
if (input[
|
|
2074
|
-
entries[
|
|
2076
|
+
if (input[_IIns] != null) {
|
|
2077
|
+
entries[_IIns] = input[_IIns];
|
|
2075
2078
|
}
|
|
2076
2079
|
if (input[_MS] != null) {
|
|
2077
2080
|
entries[_MS] = input[_MS];
|
|
@@ -2258,8 +2261,8 @@ const se_CreateLaunchConfigurationType = (input, context) => {
|
|
|
2258
2261
|
if (input[_UD] != null) {
|
|
2259
2262
|
entries[_UD] = input[_UD];
|
|
2260
2263
|
}
|
|
2261
|
-
if (input[
|
|
2262
|
-
entries[
|
|
2264
|
+
if (input[_IIns] != null) {
|
|
2265
|
+
entries[_IIns] = input[_IIns];
|
|
2263
2266
|
}
|
|
2264
2267
|
if (input[_IT] != null) {
|
|
2265
2268
|
entries[_IT] = input[_IT];
|
|
@@ -3983,8 +3986,8 @@ const se_RecordLifecycleActionHeartbeatType = (input, context) => {
|
|
|
3983
3986
|
if (input[_LAT] != null) {
|
|
3984
3987
|
entries[_LAT] = input[_LAT];
|
|
3985
3988
|
}
|
|
3986
|
-
if (input[
|
|
3987
|
-
entries[
|
|
3989
|
+
if (input[_IIns] != null) {
|
|
3990
|
+
entries[_IIns] = input[_IIns];
|
|
3988
3991
|
}
|
|
3989
3992
|
return entries;
|
|
3990
3993
|
};
|
|
@@ -4142,8 +4145,8 @@ const se_SetDesiredCapacityType = (input, context) => {
|
|
|
4142
4145
|
};
|
|
4143
4146
|
const se_SetInstanceHealthQuery = (input, context) => {
|
|
4144
4147
|
const entries = {};
|
|
4145
|
-
if (input[
|
|
4146
|
-
entries[
|
|
4148
|
+
if (input[_IIns] != null) {
|
|
4149
|
+
entries[_IIns] = input[_IIns];
|
|
4147
4150
|
}
|
|
4148
4151
|
if (input[_HS] != null) {
|
|
4149
4152
|
entries[_HS] = input[_HS];
|
|
@@ -4358,8 +4361,8 @@ const se_TargetTrackingMetricStat = (input, context) => {
|
|
|
4358
4361
|
};
|
|
4359
4362
|
const se_TerminateInstanceInAutoScalingGroupType = (input, context) => {
|
|
4360
4363
|
const entries = {};
|
|
4361
|
-
if (input[
|
|
4362
|
-
entries[
|
|
4364
|
+
if (input[_IIns] != null) {
|
|
4365
|
+
entries[_IIns] = input[_IIns];
|
|
4363
4366
|
}
|
|
4364
4367
|
if (input[_SDDC] != null) {
|
|
4365
4368
|
entries[_SDDC] = input[_SDDC];
|
|
@@ -4911,8 +4914,8 @@ const de_AutoScalingGroupsType = (output, context) => {
|
|
|
4911
4914
|
};
|
|
4912
4915
|
const de_AutoScalingInstanceDetails = (output, context) => {
|
|
4913
4916
|
const contents = {};
|
|
4914
|
-
if (output[
|
|
4915
|
-
contents[
|
|
4917
|
+
if (output[_IIns] != null) {
|
|
4918
|
+
contents[_IIns] = __expectString(output[_IIns]);
|
|
4916
4919
|
}
|
|
4917
4920
|
if (output[_IT] != null) {
|
|
4918
4921
|
contents[_IT] = __expectString(output[_IT]);
|
|
@@ -5493,8 +5496,8 @@ const de_GetPredictiveScalingForecastAnswer = (output, context) => {
|
|
|
5493
5496
|
};
|
|
5494
5497
|
const de_Instance = (output, context) => {
|
|
5495
5498
|
const contents = {};
|
|
5496
|
-
if (output[
|
|
5497
|
-
contents[
|
|
5499
|
+
if (output[_IIns] != null) {
|
|
5500
|
+
contents[_IIns] = __expectString(output[_IIns]);
|
|
5498
5501
|
}
|
|
5499
5502
|
if (output[_IT] != null) {
|
|
5500
5503
|
contents[_IT] = __expectString(output[_IT]);
|
|
@@ -7090,7 +7093,8 @@ const _IG = "InstanceGenerations";
|
|
|
7090
7093
|
const _II = "InstanceIds";
|
|
7091
7094
|
const _IIP = "IamInstanceProfile";
|
|
7092
7095
|
const _IIm = "ImageId";
|
|
7093
|
-
const _IIn = "
|
|
7096
|
+
const _IIn = "IncludeInstances";
|
|
7097
|
+
const _IIns = "InstanceId";
|
|
7094
7098
|
const _IM = "InstanceMonitoring";
|
|
7095
7099
|
const _IMP = "InstanceMaintenancePolicy";
|
|
7096
7100
|
const _IR = "InstanceRequirements";
|
|
@@ -474,6 +474,8 @@ export interface AutoScaling {
|
|
|
474
474
|
}
|
|
475
475
|
/**
|
|
476
476
|
* <fullname>Amazon EC2 Auto Scaling</fullname>
|
|
477
|
+
* <p>The <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAutoScalingGroups.html">DescribeAutoScalingGroups</a> API operation might be throttled when retrieving details for an Auto Scaling group that contains many instances. By default, this operation returns details for all instances in the group.
|
|
478
|
+
* To help prevent throttling, you can set the <code>IncludeInstances</code> parameter to <code>false</code> to exclude instance details from the response.</p>
|
|
477
479
|
* <p>Amazon EC2 Auto Scaling is designed to automatically launch and terminate EC2 instances
|
|
478
480
|
* based on user-defined scaling policies, scheduled actions, and health checks.</p>
|
|
479
481
|
* <p>For more information, see the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/what-is-amazon-ec2-auto-scaling.html">Amazon EC2 Auto Scaling User Guide</a> and the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/Welcome.html">Amazon EC2 Auto Scaling API Reference</a>.</p>
|
|
@@ -235,6 +235,8 @@ export interface AutoScalingClientResolvedConfig extends AutoScalingClientResolv
|
|
|
235
235
|
}
|
|
236
236
|
/**
|
|
237
237
|
* <fullname>Amazon EC2 Auto Scaling</fullname>
|
|
238
|
+
* <p>The <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAutoScalingGroups.html">DescribeAutoScalingGroups</a> API operation might be throttled when retrieving details for an Auto Scaling group that contains many instances. By default, this operation returns details for all instances in the group.
|
|
239
|
+
* To help prevent throttling, you can set the <code>IncludeInstances</code> parameter to <code>false</code> to exclude instance details from the response.</p>
|
|
238
240
|
* <p>Amazon EC2 Auto Scaling is designed to automatically launch and terminate EC2 instances
|
|
239
241
|
* based on user-defined scaling policies, scheduled actions, and health checks.</p>
|
|
240
242
|
* <p>For more information, see the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/what-is-amazon-ec2-auto-scaling.html">Amazon EC2 Auto Scaling User Guide</a> and the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/Welcome.html">Amazon EC2 Auto Scaling API Reference</a>.</p>
|
|
@@ -45,6 +45,7 @@ declare const DescribeAutoScalingGroupsCommand_base: {
|
|
|
45
45
|
* AutoScalingGroupNames: [ // AutoScalingGroupNames
|
|
46
46
|
* "STRING_VALUE",
|
|
47
47
|
* ],
|
|
48
|
+
* IncludeInstances: true || false,
|
|
48
49
|
* NextToken: "STRING_VALUE",
|
|
49
50
|
* MaxRecords: Number("int"),
|
|
50
51
|
* Filters: [ // Filters
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* <fullname>Amazon EC2 Auto Scaling</fullname>
|
|
3
|
+
* <p>The <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAutoScalingGroups.html">DescribeAutoScalingGroups</a> API operation might be throttled when retrieving details for an Auto Scaling group that contains many instances. By default, this operation returns details for all instances in the group.
|
|
4
|
+
* To help prevent throttling, you can set the <code>IncludeInstances</code> parameter to <code>false</code> to exclude instance details from the response.</p>
|
|
3
5
|
* <p>Amazon EC2 Auto Scaling is designed to automatically launch and terminate EC2 instances
|
|
4
6
|
* based on user-defined scaling policies, scheduled actions, and health checks.</p>
|
|
5
7
|
* <p>For more information, see the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/what-is-amazon-ec2-auto-scaling.html">Amazon EC2 Auto Scaling User Guide</a> and the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/Welcome.html">Amazon EC2 Auto Scaling API Reference</a>.</p>
|
|
@@ -2883,6 +2883,13 @@ export interface AutoScalingGroupNamesType {
|
|
|
2883
2883
|
* @public
|
|
2884
2884
|
*/
|
|
2885
2885
|
AutoScalingGroupNames?: string[] | undefined;
|
|
2886
|
+
/**
|
|
2887
|
+
* <p>
|
|
2888
|
+
* Specifies whether to include information about Amazon EC2 instances in the response. When set to <code>true</code> (default), the response includes instance details.
|
|
2889
|
+
* </p>
|
|
2890
|
+
* @public
|
|
2891
|
+
*/
|
|
2892
|
+
IncludeInstances?: boolean | undefined;
|
|
2886
2893
|
/**
|
|
2887
2894
|
* <p>The token for the next set of items to return. (You received this token from a
|
|
2888
2895
|
* previous call.)</p>
|
|
@@ -528,6 +528,7 @@ export interface Filter {
|
|
|
528
528
|
}
|
|
529
529
|
export interface AutoScalingGroupNamesType {
|
|
530
530
|
AutoScalingGroupNames?: string[] | undefined;
|
|
531
|
+
IncludeInstances?: boolean | undefined;
|
|
531
532
|
NextToken?: string | undefined;
|
|
532
533
|
MaxRecords?: number | undefined;
|
|
533
534
|
Filters?: Filter[] | undefined;
|
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.
|
|
4
|
+
"version": "3.832.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-auto-scaling",
|