@aws-sdk/client-auto-scaling 3.682.0 → 3.686.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 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 the this package, simply type add or install @aws-sdk/client-auto-scaling
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";
@@ -210,6 +210,7 @@ export const StandbyInstances = {
210
210
  Wait: "Wait",
211
211
  };
212
212
  export const InstanceRefreshStatus = {
213
+ Baking: "Baking",
213
214
  Cancelled: "Cancelled",
214
215
  Cancelling: "Cancelling",
215
216
  Failed: "Failed",
@@ -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
@@ -176,6 +176,7 @@ declare const StartInstanceRefreshCommand_base: {
176
176
  * ],
177
177
  * },
178
178
  * MaxHealthyPercentage: Number("int"),
179
+ * BakeTime: Number("int"),
179
180
  * },
180
181
  * };
181
182
  * const command = new StartInstanceRefreshCommand(input);
@@ -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.682.0",
4
+ "version": "3.686.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",
@@ -20,45 +20,45 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.682.0",
24
- "@aws-sdk/client-sts": "3.682.0",
25
- "@aws-sdk/core": "3.679.0",
26
- "@aws-sdk/credential-provider-node": "3.682.0",
27
- "@aws-sdk/middleware-host-header": "3.679.0",
28
- "@aws-sdk/middleware-logger": "3.679.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.679.0",
30
- "@aws-sdk/middleware-user-agent": "3.682.0",
31
- "@aws-sdk/region-config-resolver": "3.679.0",
32
- "@aws-sdk/types": "3.679.0",
33
- "@aws-sdk/util-endpoints": "3.679.0",
34
- "@aws-sdk/util-user-agent-browser": "3.679.0",
35
- "@aws-sdk/util-user-agent-node": "3.682.0",
36
- "@smithy/config-resolver": "^3.0.9",
37
- "@smithy/core": "^2.4.8",
38
- "@smithy/fetch-http-handler": "^3.2.9",
39
- "@smithy/hash-node": "^3.0.7",
40
- "@smithy/invalid-dependency": "^3.0.7",
41
- "@smithy/middleware-content-length": "^3.0.9",
42
- "@smithy/middleware-endpoint": "^3.1.4",
43
- "@smithy/middleware-retry": "^3.0.23",
44
- "@smithy/middleware-serde": "^3.0.7",
45
- "@smithy/middleware-stack": "^3.0.7",
46
- "@smithy/node-config-provider": "^3.1.8",
47
- "@smithy/node-http-handler": "^3.2.4",
48
- "@smithy/protocol-http": "^4.1.4",
49
- "@smithy/smithy-client": "^3.4.0",
50
- "@smithy/types": "^3.5.0",
51
- "@smithy/url-parser": "^3.0.7",
23
+ "@aws-sdk/client-sso-oidc": "3.686.0",
24
+ "@aws-sdk/client-sts": "3.686.0",
25
+ "@aws-sdk/core": "3.686.0",
26
+ "@aws-sdk/credential-provider-node": "3.686.0",
27
+ "@aws-sdk/middleware-host-header": "3.686.0",
28
+ "@aws-sdk/middleware-logger": "3.686.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
+ "@aws-sdk/middleware-user-agent": "3.686.0",
31
+ "@aws-sdk/region-config-resolver": "3.686.0",
32
+ "@aws-sdk/types": "3.686.0",
33
+ "@aws-sdk/util-endpoints": "3.686.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.686.0",
35
+ "@aws-sdk/util-user-agent-node": "3.686.0",
36
+ "@smithy/config-resolver": "^3.0.10",
37
+ "@smithy/core": "^2.5.1",
38
+ "@smithy/fetch-http-handler": "^4.0.0",
39
+ "@smithy/hash-node": "^3.0.8",
40
+ "@smithy/invalid-dependency": "^3.0.8",
41
+ "@smithy/middleware-content-length": "^3.0.10",
42
+ "@smithy/middleware-endpoint": "^3.2.1",
43
+ "@smithy/middleware-retry": "^3.0.25",
44
+ "@smithy/middleware-serde": "^3.0.8",
45
+ "@smithy/middleware-stack": "^3.0.8",
46
+ "@smithy/node-config-provider": "^3.1.9",
47
+ "@smithy/node-http-handler": "^3.2.5",
48
+ "@smithy/protocol-http": "^4.1.5",
49
+ "@smithy/smithy-client": "^3.4.2",
50
+ "@smithy/types": "^3.6.0",
51
+ "@smithy/url-parser": "^3.0.8",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.23",
56
- "@smithy/util-defaults-mode-node": "^3.0.23",
57
- "@smithy/util-endpoints": "^2.1.3",
58
- "@smithy/util-middleware": "^3.0.7",
59
- "@smithy/util-retry": "^3.0.7",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.25",
56
+ "@smithy/util-defaults-mode-node": "^3.0.25",
57
+ "@smithy/util-endpoints": "^2.1.4",
58
+ "@smithy/util-middleware": "^3.0.8",
59
+ "@smithy/util-retry": "^3.0.8",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
- "@smithy/util-waiter": "^3.1.6",
61
+ "@smithy/util-waiter": "^3.1.7",
62
62
  "tslib": "^2.6.2"
63
63
  },
64
64
  "devDependencies": {