@aws-sdk/client-auto-scaling 3.682.0 → 3.684.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 +1 -1
- package/dist-cjs/index.js +8 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/protocols/Aws_query.js +7 -0
- package/dist-types/commands/DescribeInstanceRefreshesCommand.d.ts +2 -1
- package/dist-types/commands/StartInstanceRefreshCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +15 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ based on user-defined scaling policies, scheduled actions, and health checks.</p
|
|
|
14
14
|
|
|
15
15
|
## Installing
|
|
16
16
|
|
|
17
|
-
To install
|
|
17
|
+
To install this package, simply type add or install @aws-sdk/client-auto-scaling
|
|
18
18
|
using your favorite package manager:
|
|
19
19
|
|
|
20
20
|
- `npm install @aws-sdk/client-auto-scaling`
|
package/dist-cjs/index.js
CHANGED
|
@@ -564,6 +564,7 @@ var StandbyInstances = {
|
|
|
564
564
|
Wait: "Wait"
|
|
565
565
|
};
|
|
566
566
|
var InstanceRefreshStatus = {
|
|
567
|
+
Baking: "Baking",
|
|
567
568
|
Cancelled: "Cancelled",
|
|
568
569
|
Cancelling: "Cancelling",
|
|
569
570
|
Failed: "Failed",
|
|
@@ -4558,6 +4559,9 @@ var se_RefreshPreferences = /* @__PURE__ */ __name((input, context) => {
|
|
|
4558
4559
|
if (input[_MHPa] != null) {
|
|
4559
4560
|
entries[_MHPa] = input[_MHPa];
|
|
4560
4561
|
}
|
|
4562
|
+
if (input[_BTa] != null) {
|
|
4563
|
+
entries[_BTa] = input[_BTa];
|
|
4564
|
+
}
|
|
4561
4565
|
return entries;
|
|
4562
4566
|
}, "se_RefreshPreferences");
|
|
4563
4567
|
var se_RollbackInstanceRefreshType = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -6735,6 +6739,9 @@ var de_RefreshPreferences = /* @__PURE__ */ __name((output, context) => {
|
|
|
6735
6739
|
if (output[_MHPa] != null) {
|
|
6736
6740
|
contents[_MHPa] = (0, import_smithy_client.strictParseInt32)(output[_MHPa]);
|
|
6737
6741
|
}
|
|
6742
|
+
if (output[_BTa] != null) {
|
|
6743
|
+
contents[_BTa] = (0, import_smithy_client.strictParseInt32)(output[_BTa]);
|
|
6744
|
+
}
|
|
6738
6745
|
return contents;
|
|
6739
6746
|
}, "de_RefreshPreferences");
|
|
6740
6747
|
var de_ResourceContentionFault = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -7197,6 +7204,7 @@ var _BM = "BareMetal";
|
|
|
7197
7204
|
var _BP = "BurstablePerformance";
|
|
7198
7205
|
var _BPSUGA = "BatchPutScheduledUpdateGroupAction";
|
|
7199
7206
|
var _BT = "BreachThreshold";
|
|
7207
|
+
var _BTa = "BakeTime";
|
|
7200
7208
|
var _C = "Context";
|
|
7201
7209
|
var _CASG = "CreateAutoScalingGroup";
|
|
7202
7210
|
var _CCMS = "CustomizedCapacityMetricSpecification";
|
|
@@ -3868,6 +3868,9 @@ const se_RefreshPreferences = (input, context) => {
|
|
|
3868
3868
|
if (input[_MHPa] != null) {
|
|
3869
3869
|
entries[_MHPa] = input[_MHPa];
|
|
3870
3870
|
}
|
|
3871
|
+
if (input[_BTa] != null) {
|
|
3872
|
+
entries[_BTa] = input[_BTa];
|
|
3873
|
+
}
|
|
3871
3874
|
return entries;
|
|
3872
3875
|
};
|
|
3873
3876
|
const se_RollbackInstanceRefreshType = (input, context) => {
|
|
@@ -6177,6 +6180,9 @@ const de_RefreshPreferences = (output, context) => {
|
|
|
6177
6180
|
if (output[_MHPa] != null) {
|
|
6178
6181
|
contents[_MHPa] = __strictParseInt32(output[_MHPa]);
|
|
6179
6182
|
}
|
|
6183
|
+
if (output[_BTa] != null) {
|
|
6184
|
+
contents[_BTa] = __strictParseInt32(output[_BTa]);
|
|
6185
|
+
}
|
|
6180
6186
|
return contents;
|
|
6181
6187
|
};
|
|
6182
6188
|
const de_ResourceContentionFault = (output, context) => {
|
|
@@ -6666,6 +6672,7 @@ const _BM = "BareMetal";
|
|
|
6666
6672
|
const _BP = "BurstablePerformance";
|
|
6667
6673
|
const _BPSUGA = "BatchPutScheduledUpdateGroupAction";
|
|
6668
6674
|
const _BT = "BreachThreshold";
|
|
6675
|
+
const _BTa = "BakeTime";
|
|
6669
6676
|
const _C = "Context";
|
|
6670
6677
|
const _CASG = "CreateAutoScalingGroup";
|
|
6671
6678
|
const _CCMS = "CustomizedCapacityMetricSpecification";
|
|
@@ -59,7 +59,7 @@ declare const DescribeInstanceRefreshesCommand_base: {
|
|
|
59
59
|
* // { // InstanceRefresh
|
|
60
60
|
* // InstanceRefreshId: "STRING_VALUE",
|
|
61
61
|
* // AutoScalingGroupName: "STRING_VALUE",
|
|
62
|
-
* // Status: "Pending" || "InProgress" || "Successful" || "Failed" || "Cancelling" || "Cancelled" || "RollbackInProgress" || "RollbackFailed" || "RollbackSuccessful",
|
|
62
|
+
* // Status: "Pending" || "InProgress" || "Successful" || "Failed" || "Cancelling" || "Cancelled" || "RollbackInProgress" || "RollbackFailed" || "RollbackSuccessful" || "Baking",
|
|
63
63
|
* // StatusReason: "STRING_VALUE",
|
|
64
64
|
* // StartTime: new Date("TIMESTAMP"),
|
|
65
65
|
* // EndTime: new Date("TIMESTAMP"),
|
|
@@ -92,6 +92,7 @@ declare const DescribeInstanceRefreshesCommand_base: {
|
|
|
92
92
|
* // ],
|
|
93
93
|
* // },
|
|
94
94
|
* // MaxHealthyPercentage: Number("int"),
|
|
95
|
+
* // BakeTime: Number("int"),
|
|
95
96
|
* // },
|
|
96
97
|
* // DesiredConfiguration: { // DesiredConfiguration
|
|
97
98
|
* // LaunchTemplate: { // LaunchTemplateSpecification
|
|
@@ -3475,6 +3475,13 @@ export interface RefreshPreferences {
|
|
|
3475
3475
|
* @public
|
|
3476
3476
|
*/
|
|
3477
3477
|
MaxHealthyPercentage?: number;
|
|
3478
|
+
/**
|
|
3479
|
+
* <p>
|
|
3480
|
+
* The amount of time, in seconds, to wait at the end of an instance refresh before the instance refresh is considered complete.
|
|
3481
|
+
* </p>
|
|
3482
|
+
* @public
|
|
3483
|
+
*/
|
|
3484
|
+
BakeTime?: number;
|
|
3478
3485
|
}
|
|
3479
3486
|
/**
|
|
3480
3487
|
* <p>Reports progress on replacing instances that are in the Auto Scaling group.</p>
|
|
@@ -3575,6 +3582,7 @@ export interface RollbackDetails {
|
|
|
3575
3582
|
* @enum
|
|
3576
3583
|
*/
|
|
3577
3584
|
export declare const InstanceRefreshStatus: {
|
|
3585
|
+
readonly Baking: "Baking";
|
|
3578
3586
|
readonly Cancelled: "Cancelled";
|
|
3579
3587
|
readonly Cancelling: "Cancelling";
|
|
3580
3588
|
readonly Failed: "Failed";
|
|
@@ -3648,6 +3656,10 @@ export interface InstanceRefresh {
|
|
|
3648
3656
|
* <p>
|
|
3649
3657
|
* <code>RollbackSuccessful</code> - The rollback completed successfully.</p>
|
|
3650
3658
|
* </li>
|
|
3659
|
+
* <li>
|
|
3660
|
+
* <p>
|
|
3661
|
+
* <code>Baking</code> - Waiting the specified bake time after an instance refresh has finished updating instances.</p>
|
|
3662
|
+
* </li>
|
|
3651
3663
|
* </ul>
|
|
3652
3664
|
* @public
|
|
3653
3665
|
*/
|
|
@@ -7212,6 +7224,9 @@ export interface StartInstanceRefreshType {
|
|
|
7212
7224
|
* <li>
|
|
7213
7225
|
* <p>Skip matching</p>
|
|
7214
7226
|
* </li>
|
|
7227
|
+
* <li>
|
|
7228
|
+
* <p>Bake time</p>
|
|
7229
|
+
* </li>
|
|
7215
7230
|
* </ul>
|
|
7216
7231
|
* @public
|
|
7217
7232
|
*/
|
|
@@ -646,6 +646,7 @@ export interface RefreshPreferences {
|
|
|
646
646
|
StandbyInstances?: StandbyInstances;
|
|
647
647
|
AlarmSpecification?: AlarmSpecification;
|
|
648
648
|
MaxHealthyPercentage?: number;
|
|
649
|
+
BakeTime?: number;
|
|
649
650
|
}
|
|
650
651
|
export interface InstanceRefreshLivePoolProgress {
|
|
651
652
|
PercentageComplete?: number;
|
|
@@ -667,6 +668,7 @@ export interface RollbackDetails {
|
|
|
667
668
|
ProgressDetailsOnRollback?: InstanceRefreshProgressDetails;
|
|
668
669
|
}
|
|
669
670
|
export declare const InstanceRefreshStatus: {
|
|
671
|
+
readonly Baking: "Baking";
|
|
670
672
|
readonly Cancelled: "Cancelled";
|
|
671
673
|
readonly Cancelling: "Cancelling";
|
|
672
674
|
readonly Failed: "Failed";
|
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.684.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",
|