@aws-sdk/client-auto-scaling 3.882.0 → 3.885.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/index.js CHANGED
@@ -2601,6 +2601,9 @@ var se_CancelInstanceRefreshType = /* @__PURE__ */ __name((input, context) => {
2601
2601
  if (input[_ASGN] != null) {
2602
2602
  entries[_ASGN] = input[_ASGN];
2603
2603
  }
2604
+ if (input[_WFTI] != null) {
2605
+ entries[_WFTI] = input[_WFTI];
2606
+ }
2604
2607
  return entries;
2605
2608
  }, "se_CancelInstanceRefreshType");
2606
2609
  var se_CapacityReservationIds = /* @__PURE__ */ __name((input, context) => {
@@ -7820,6 +7823,7 @@ var _VT = "VolumeType";
7820
7823
  var _Va = "Values";
7821
7824
  var _Val = "Value";
7822
7825
  var _WC = "WeightedCapacity";
7826
+ var _WFTI = "WaitForTransitioningInstances";
7823
7827
  var _WPC = "WarmPoolConfiguration";
7824
7828
  var _WPP = "WarmPoolProgress";
7825
7829
  var _WPS = "WarmPoolSize";
@@ -1918,6 +1918,9 @@ const se_CancelInstanceRefreshType = (input, context) => {
1918
1918
  if (input[_ASGN] != null) {
1919
1919
  entries[_ASGN] = input[_ASGN];
1920
1920
  }
1921
+ if (input[_WFTI] != null) {
1922
+ entries[_WFTI] = input[_WFTI];
1923
+ }
1921
1924
  return entries;
1922
1925
  };
1923
1926
  const se_CapacityReservationIds = (input, context) => {
@@ -7308,6 +7311,7 @@ const _VT = "VolumeType";
7308
7311
  const _Va = "Values";
7309
7312
  const _Val = "Value";
7310
7313
  const _WC = "WeightedCapacity";
7314
+ const _WFTI = "WaitForTransitioningInstances";
7311
7315
  const _WPC = "WarmPoolConfiguration";
7312
7316
  const _WPP = "WarmPoolProgress";
7313
7317
  const _WPS = "WarmPoolSize";
@@ -43,6 +43,7 @@ declare const CancelInstanceRefreshCommand_base: {
43
43
  * const client = new AutoScalingClient(config);
44
44
  * const input = { // CancelInstanceRefreshType
45
45
  * AutoScalingGroupName: "STRING_VALUE", // required
46
+ * WaitForTransitioningInstances: true || false,
46
47
  * };
47
48
  * const command = new CancelInstanceRefreshCommand(input);
48
49
  * const response = await client.send(command);
@@ -605,6 +605,14 @@ export interface CancelInstanceRefreshType {
605
605
  * @public
606
606
  */
607
607
  AutoScalingGroupName: string | undefined;
608
+ /**
609
+ * <p>When cancelling an instance refresh, this indicates whether to wait for in-flight launches
610
+ * and terminations to complete. The default is true.</p>
611
+ * <p>When set to false, Amazon EC2 Auto Scaling cancels the instance refresh
612
+ * without waiting for any pending launches or terminations to complete.</p>
613
+ * @public
614
+ */
615
+ WaitForTransitioningInstances?: boolean | undefined;
608
616
  }
609
617
  /**
610
618
  * @public
@@ -178,6 +178,7 @@ export interface CancelInstanceRefreshAnswer {
178
178
  }
179
179
  export interface CancelInstanceRefreshType {
180
180
  AutoScalingGroupName: string | undefined;
181
+ WaitForTransitioningInstances?: boolean | undefined;
181
182
  }
182
183
  export interface CompleteLifecycleActionAnswer {}
183
184
  export interface CompleteLifecycleActionType {
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.882.0",
4
+ "version": "3.885.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,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.882.0",
24
- "@aws-sdk/credential-provider-node": "3.882.0",
23
+ "@aws-sdk/core": "3.883.0",
24
+ "@aws-sdk/credential-provider-node": "3.883.0",
25
25
  "@aws-sdk/middleware-host-header": "3.873.0",
26
26
  "@aws-sdk/middleware-logger": "3.876.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.873.0",
28
- "@aws-sdk/middleware-user-agent": "3.882.0",
28
+ "@aws-sdk/middleware-user-agent": "3.883.0",
29
29
  "@aws-sdk/region-config-resolver": "3.873.0",
30
30
  "@aws-sdk/types": "3.862.0",
31
31
  "@aws-sdk/util-endpoints": "3.879.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.873.0",
33
- "@aws-sdk/util-user-agent-node": "3.882.0",
33
+ "@aws-sdk/util-user-agent-node": "3.883.0",
34
34
  "@smithy/config-resolver": "^4.1.5",
35
35
  "@smithy/core": "^3.9.2",
36
36
  "@smithy/fetch-http-handler": "^5.1.1",