@aws-sdk/client-auto-scaling 3.693.0 → 3.696.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
@@ -83,6 +83,7 @@ __export(src_exports, {
83
83
  ExecutePolicyCommand: () => ExecutePolicyCommand,
84
84
  ExitStandbyCommand: () => ExitStandbyCommand,
85
85
  GetPredictiveScalingForecastCommand: () => GetPredictiveScalingForecastCommand,
86
+ ImpairedZoneHealthCheckBehavior: () => ImpairedZoneHealthCheckBehavior,
86
87
  InstanceGeneration: () => InstanceGeneration,
87
88
  InstanceMetadataEndpointState: () => InstanceMetadataEndpointState,
88
89
  InstanceMetadataHttpTokensState: () => InstanceMetadataHttpTokensState,
@@ -438,6 +439,10 @@ var CapacityDistributionStrategy = {
438
439
  BALANCED_BEST_EFFORT: "balanced-best-effort",
439
440
  BALANCED_ONLY: "balanced-only"
440
441
  };
442
+ var ImpairedZoneHealthCheckBehavior = {
443
+ IgnoreUnhealthy: "IgnoreUnhealthy",
444
+ ReplaceUnhealthy: "ReplaceUnhealthy"
445
+ };
441
446
  var BareMetal = {
442
447
  EXCLUDED: "excluded",
443
448
  INCLUDED: "included",
@@ -2392,6 +2397,9 @@ var se_AttachTrafficSourcesType = /* @__PURE__ */ __name((input, context) => {
2392
2397
  entries[loc] = value;
2393
2398
  });
2394
2399
  }
2400
+ if (input[_SZSV] != null) {
2401
+ entries[_SZSV] = input[_SZSV];
2402
+ }
2395
2403
  return entries;
2396
2404
  }, "se_AttachTrafficSourcesType");
2397
2405
  var se_AutoScalingGroupNames = /* @__PURE__ */ __name((input, context) => {
@@ -2456,6 +2464,16 @@ var se_AvailabilityZoneDistribution = /* @__PURE__ */ __name((input, context) =>
2456
2464
  }
2457
2465
  return entries;
2458
2466
  }, "se_AvailabilityZoneDistribution");
2467
+ var se_AvailabilityZoneImpairmentPolicy = /* @__PURE__ */ __name((input, context) => {
2468
+ const entries = {};
2469
+ if (input[_ZSE] != null) {
2470
+ entries[_ZSE] = input[_ZSE];
2471
+ }
2472
+ if (input[_IZHCB] != null) {
2473
+ entries[_IZHCB] = input[_IZHCB];
2474
+ }
2475
+ return entries;
2476
+ }, "se_AvailabilityZoneImpairmentPolicy");
2459
2477
  var se_AvailabilityZones = /* @__PURE__ */ __name((input, context) => {
2460
2478
  const entries = {};
2461
2479
  let counter = 1;
@@ -2766,6 +2784,16 @@ var se_CreateAutoScalingGroupType = /* @__PURE__ */ __name((input, context) => {
2766
2784
  entries[loc] = value;
2767
2785
  });
2768
2786
  }
2787
+ if (input[_AZIP] != null) {
2788
+ const memberEntries = se_AvailabilityZoneImpairmentPolicy(input[_AZIP], context);
2789
+ Object.entries(memberEntries).forEach(([key, value]) => {
2790
+ const loc = `AvailabilityZoneImpairmentPolicy.${key}`;
2791
+ entries[loc] = value;
2792
+ });
2793
+ }
2794
+ if (input[_SZSV] != null) {
2795
+ entries[_SZSV] = input[_SZSV];
2796
+ }
2769
2797
  return entries;
2770
2798
  }, "se_CreateAutoScalingGroupType");
2771
2799
  var se_CreateLaunchConfigurationType = /* @__PURE__ */ __name((input, context) => {
@@ -5058,6 +5086,16 @@ var se_UpdateAutoScalingGroupType = /* @__PURE__ */ __name((input, context) => {
5058
5086
  entries[loc] = value;
5059
5087
  });
5060
5088
  }
5089
+ if (input[_AZIP] != null) {
5090
+ const memberEntries = se_AvailabilityZoneImpairmentPolicy(input[_AZIP], context);
5091
+ Object.entries(memberEntries).forEach(([key, value]) => {
5092
+ const loc = `AvailabilityZoneImpairmentPolicy.${key}`;
5093
+ entries[loc] = value;
5094
+ });
5095
+ }
5096
+ if (input[_SZSV] != null) {
5097
+ entries[_SZSV] = input[_SZSV];
5098
+ }
5061
5099
  return entries;
5062
5100
  }, "se_UpdateAutoScalingGroupType");
5063
5101
  var se_Values = /* @__PURE__ */ __name((input, context) => {
@@ -5381,6 +5419,9 @@ var de_AutoScalingGroup = /* @__PURE__ */ __name((output, context) => {
5381
5419
  if (output[_AZD] != null) {
5382
5420
  contents[_AZD] = de_AvailabilityZoneDistribution(output[_AZD], context);
5383
5421
  }
5422
+ if (output[_AZIP] != null) {
5423
+ contents[_AZIP] = de_AvailabilityZoneImpairmentPolicy(output[_AZIP], context);
5424
+ }
5384
5425
  return contents;
5385
5426
  }, "de_AutoScalingGroup");
5386
5427
  var de_AutoScalingGroups = /* @__PURE__ */ __name((output, context) => {
@@ -5463,6 +5504,16 @@ var de_AvailabilityZoneDistribution = /* @__PURE__ */ __name((output, context) =
5463
5504
  }
5464
5505
  return contents;
5465
5506
  }, "de_AvailabilityZoneDistribution");
5507
+ var de_AvailabilityZoneImpairmentPolicy = /* @__PURE__ */ __name((output, context) => {
5508
+ const contents = {};
5509
+ if (output[_ZSE] != null) {
5510
+ contents[_ZSE] = (0, import_smithy_client.parseBoolean)(output[_ZSE]);
5511
+ }
5512
+ if (output[_IZHCB] != null) {
5513
+ contents[_IZHCB] = (0, import_smithy_client.expectString)(output[_IZHCB]);
5514
+ }
5515
+ return contents;
5516
+ }, "de_AvailabilityZoneImpairmentPolicy");
5466
5517
  var de_AvailabilityZones = /* @__PURE__ */ __name((output, context) => {
5467
5518
  return (output || []).filter((e) => e != null).map((entry) => {
5468
5519
  return (0, import_smithy_client.expectString)(entry);
@@ -7230,6 +7281,7 @@ var _ATd = "AdjustmentType";
7230
7281
  var _ATdj = "AdjustmentTypes";
7231
7282
  var _AZ = "AvailabilityZones";
7232
7283
  var _AZD = "AvailabilityZoneDistribution";
7284
+ var _AZIP = "AvailabilityZoneImpairmentPolicy";
7233
7285
  var _AZv = "AvailabilityZone";
7234
7286
  var _Ac = "Activities";
7235
7287
  var _Act = "Activity";
@@ -7359,6 +7411,7 @@ var _IT = "InstanceType";
7359
7411
  var _ITU = "InstancesToUpdate";
7360
7412
  var _ITUOR = "InstancesToUpdateOnRollback";
7361
7413
  var _IW = "InstanceWarmup";
7414
+ var _IZHCB = "ImpairedZoneHealthCheckBehavior";
7362
7415
  var _Id = "Id";
7363
7416
  var _Ide = "Identifier";
7364
7417
  var _In = "Instances";
@@ -7522,6 +7575,7 @@ var _SRGP = "ShouldRespectGracePeriod";
7522
7575
  var _SRu = "SuspensionReason";
7523
7576
  var _ST = "StartTime";
7524
7577
  var _SUGA = "ScheduledUpdateGroupActions";
7578
+ var _SZSV = "SkipZonalShiftValidation";
7525
7579
  var _St = "Stat";
7526
7580
  var _Sta = "Status";
7527
7581
  var _Stat = "State";
@@ -7559,6 +7613,7 @@ var _WC = "WeightedCapacity";
7559
7613
  var _WPC = "WarmPoolConfiguration";
7560
7614
  var _WPP = "WarmPoolProgress";
7561
7615
  var _WPS = "WarmPoolSize";
7616
+ var _ZSE = "ZonalShiftEnabled";
7562
7617
  var _m = "message";
7563
7618
  var _me = "member";
7564
7619
  var buildFormUrlencodedString = /* @__PURE__ */ __name((formEntries) => Object.entries(formEntries).map(([key, value]) => (0, import_smithy_client.extendedEncodeURIComponent)(key) + "=" + (0, import_smithy_client.extendedEncodeURIComponent)(value)).join("&"), "buildFormUrlencodedString");
@@ -8848,6 +8903,7 @@ var waitUntilGroupNotExists = /* @__PURE__ */ __name(async (params, input) => {
8848
8903
  ServiceLinkedRoleFailure,
8849
8904
  LimitExceededFault,
8850
8905
  CapacityDistributionStrategy,
8906
+ ImpairedZoneHealthCheckBehavior,
8851
8907
  BareMetal,
8852
8908
  BurstablePerformance,
8853
8909
  CpuManufacturer,
@@ -98,6 +98,10 @@ export const CapacityDistributionStrategy = {
98
98
  BALANCED_BEST_EFFORT: "balanced-best-effort",
99
99
  BALANCED_ONLY: "balanced-only",
100
100
  };
101
+ export const ImpairedZoneHealthCheckBehavior = {
102
+ IgnoreUnhealthy: "IgnoreUnhealthy",
103
+ ReplaceUnhealthy: "ReplaceUnhealthy",
104
+ };
101
105
  export const BareMetal = {
102
106
  EXCLUDED: "excluded",
103
107
  INCLUDED: "included",
@@ -1732,6 +1732,9 @@ const se_AttachTrafficSourcesType = (input, context) => {
1732
1732
  entries[loc] = value;
1733
1733
  });
1734
1734
  }
1735
+ if (input[_SZSV] != null) {
1736
+ entries[_SZSV] = input[_SZSV];
1737
+ }
1735
1738
  return entries;
1736
1739
  };
1737
1740
  const se_AutoScalingGroupNames = (input, context) => {
@@ -1795,6 +1798,16 @@ const se_AvailabilityZoneDistribution = (input, context) => {
1795
1798
  }
1796
1799
  return entries;
1797
1800
  };
1801
+ const se_AvailabilityZoneImpairmentPolicy = (input, context) => {
1802
+ const entries = {};
1803
+ if (input[_ZSE] != null) {
1804
+ entries[_ZSE] = input[_ZSE];
1805
+ }
1806
+ if (input[_IZHCB] != null) {
1807
+ entries[_IZHCB] = input[_IZHCB];
1808
+ }
1809
+ return entries;
1810
+ };
1798
1811
  const se_AvailabilityZones = (input, context) => {
1799
1812
  const entries = {};
1800
1813
  let counter = 1;
@@ -2102,6 +2115,16 @@ const se_CreateAutoScalingGroupType = (input, context) => {
2102
2115
  entries[loc] = value;
2103
2116
  });
2104
2117
  }
2118
+ if (input[_AZIP] != null) {
2119
+ const memberEntries = se_AvailabilityZoneImpairmentPolicy(input[_AZIP], context);
2120
+ Object.entries(memberEntries).forEach(([key, value]) => {
2121
+ const loc = `AvailabilityZoneImpairmentPolicy.${key}`;
2122
+ entries[loc] = value;
2123
+ });
2124
+ }
2125
+ if (input[_SZSV] != null) {
2126
+ entries[_SZSV] = input[_SZSV];
2127
+ }
2105
2128
  return entries;
2106
2129
  };
2107
2130
  const se_CreateLaunchConfigurationType = (input, context) => {
@@ -4359,6 +4382,16 @@ const se_UpdateAutoScalingGroupType = (input, context) => {
4359
4382
  entries[loc] = value;
4360
4383
  });
4361
4384
  }
4385
+ if (input[_AZIP] != null) {
4386
+ const memberEntries = se_AvailabilityZoneImpairmentPolicy(input[_AZIP], context);
4387
+ Object.entries(memberEntries).forEach(([key, value]) => {
4388
+ const loc = `AvailabilityZoneImpairmentPolicy.${key}`;
4389
+ entries[loc] = value;
4390
+ });
4391
+ }
4392
+ if (input[_SZSV] != null) {
4393
+ entries[_SZSV] = input[_SZSV];
4394
+ }
4362
4395
  return entries;
4363
4396
  };
4364
4397
  const se_Values = (input, context) => {
@@ -4709,6 +4742,9 @@ const de_AutoScalingGroup = (output, context) => {
4709
4742
  if (output[_AZD] != null) {
4710
4743
  contents[_AZD] = de_AvailabilityZoneDistribution(output[_AZD], context);
4711
4744
  }
4745
+ if (output[_AZIP] != null) {
4746
+ contents[_AZIP] = de_AvailabilityZoneImpairmentPolicy(output[_AZIP], context);
4747
+ }
4712
4748
  return contents;
4713
4749
  };
4714
4750
  const de_AutoScalingGroups = (output, context) => {
@@ -4799,6 +4835,16 @@ const de_AvailabilityZoneDistribution = (output, context) => {
4799
4835
  }
4800
4836
  return contents;
4801
4837
  };
4838
+ const de_AvailabilityZoneImpairmentPolicy = (output, context) => {
4839
+ const contents = {};
4840
+ if (output[_ZSE] != null) {
4841
+ contents[_ZSE] = __parseBoolean(output[_ZSE]);
4842
+ }
4843
+ if (output[_IZHCB] != null) {
4844
+ contents[_IZHCB] = __expectString(output[_IZHCB]);
4845
+ }
4846
+ return contents;
4847
+ };
4802
4848
  const de_AvailabilityZones = (output, context) => {
4803
4849
  return (output || [])
4804
4850
  .filter((e) => e != null)
@@ -6693,6 +6739,7 @@ const _ATd = "AdjustmentType";
6693
6739
  const _ATdj = "AdjustmentTypes";
6694
6740
  const _AZ = "AvailabilityZones";
6695
6741
  const _AZD = "AvailabilityZoneDistribution";
6742
+ const _AZIP = "AvailabilityZoneImpairmentPolicy";
6696
6743
  const _AZv = "AvailabilityZone";
6697
6744
  const _Ac = "Activities";
6698
6745
  const _Act = "Activity";
@@ -6822,6 +6869,7 @@ const _IT = "InstanceType";
6822
6869
  const _ITU = "InstancesToUpdate";
6823
6870
  const _ITUOR = "InstancesToUpdateOnRollback";
6824
6871
  const _IW = "InstanceWarmup";
6872
+ const _IZHCB = "ImpairedZoneHealthCheckBehavior";
6825
6873
  const _Id = "Id";
6826
6874
  const _Ide = "Identifier";
6827
6875
  const _In = "Instances";
@@ -6985,6 +7033,7 @@ const _SRGP = "ShouldRespectGracePeriod";
6985
7033
  const _SRu = "SuspensionReason";
6986
7034
  const _ST = "StartTime";
6987
7035
  const _SUGA = "ScheduledUpdateGroupActions";
7036
+ const _SZSV = "SkipZonalShiftValidation";
6988
7037
  const _St = "Stat";
6989
7038
  const _Sta = "Status";
6990
7039
  const _Stat = "State";
@@ -7022,6 +7071,7 @@ const _WC = "WeightedCapacity";
7022
7071
  const _WPC = "WarmPoolConfiguration";
7023
7072
  const _WPP = "WarmPoolProgress";
7024
7073
  const _WPS = "WarmPoolSize";
7074
+ const _ZSE = "ZonalShiftEnabled";
7025
7075
  const _m = "message";
7026
7076
  const _me = "member";
7027
7077
  const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
@@ -66,6 +66,7 @@ declare const AttachTrafficSourcesCommand_base: {
66
66
  * Type: "STRING_VALUE",
67
67
  * },
68
68
  * ],
69
+ * SkipZonalShiftValidation: true || false,
69
70
  * };
70
71
  * const command = new AttachTrafficSourcesCommand(input);
71
72
  * const response = await client.send(command);
@@ -210,6 +210,11 @@ declare const CreateAutoScalingGroupCommand_base: {
210
210
  * AvailabilityZoneDistribution: { // AvailabilityZoneDistribution
211
211
  * CapacityDistributionStrategy: "balanced-only" || "balanced-best-effort",
212
212
  * },
213
+ * AvailabilityZoneImpairmentPolicy: { // AvailabilityZoneImpairmentPolicy
214
+ * ZonalShiftEnabled: true || false,
215
+ * ImpairedZoneHealthCheckBehavior: "ReplaceUnhealthy" || "IgnoreUnhealthy",
216
+ * },
217
+ * SkipZonalShiftValidation: true || false,
213
218
  * };
214
219
  * const command = new CreateAutoScalingGroupCommand(input);
215
220
  * const response = await client.send(command);
@@ -249,6 +249,10 @@ declare const DescribeAutoScalingGroupsCommand_base: {
249
249
  * // AvailabilityZoneDistribution: { // AvailabilityZoneDistribution
250
250
  * // CapacityDistributionStrategy: "balanced-only" || "balanced-best-effort",
251
251
  * // },
252
+ * // AvailabilityZoneImpairmentPolicy: { // AvailabilityZoneImpairmentPolicy
253
+ * // ZonalShiftEnabled: true || false,
254
+ * // ImpairedZoneHealthCheckBehavior: "ReplaceUnhealthy" || "IgnoreUnhealthy",
255
+ * // },
252
256
  * // },
253
257
  * // ],
254
258
  * // NextToken: "STRING_VALUE",
@@ -206,6 +206,11 @@ declare const UpdateAutoScalingGroupCommand_base: {
206
206
  * AvailabilityZoneDistribution: { // AvailabilityZoneDistribution
207
207
  * CapacityDistributionStrategy: "balanced-only" || "balanced-best-effort",
208
208
  * },
209
+ * AvailabilityZoneImpairmentPolicy: { // AvailabilityZoneImpairmentPolicy
210
+ * ZonalShiftEnabled: true || false,
211
+ * ImpairedZoneHealthCheckBehavior: "ReplaceUnhealthy" || "IgnoreUnhealthy",
212
+ * },
213
+ * SkipZonalShiftValidation: true || false,
209
214
  * };
210
215
  * const command = new UpdateAutoScalingGroupCommand(input);
211
216
  * const response = await client.send(command);
@@ -421,6 +421,14 @@ export interface AttachTrafficSourcesType {
421
421
  * @public
422
422
  */
423
423
  TrafficSources: TrafficSourceIdentifier[] | undefined;
424
+ /**
425
+ * <p>
426
+ * If you enable zonal shift with cross-zone disabled load balancers, capacity could become imbalanced across Availability Zones. To skip the validation, specify <code>true</code>. For more information, see
427
+ * <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html">Auto Scaling group zonal shift</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.
428
+ * </p>
429
+ * @public
430
+ */
431
+ SkipZonalShiftValidation?: boolean | undefined;
424
432
  }
425
433
  /**
426
434
  * <p>Describes a scheduled action that could not be created, updated, or deleted.</p>
@@ -672,6 +680,43 @@ export interface AvailabilityZoneDistribution {
672
680
  */
673
681
  CapacityDistributionStrategy?: CapacityDistributionStrategy | undefined;
674
682
  }
683
+ /**
684
+ * @public
685
+ * @enum
686
+ */
687
+ export declare const ImpairedZoneHealthCheckBehavior: {
688
+ readonly IgnoreUnhealthy: "IgnoreUnhealthy";
689
+ readonly ReplaceUnhealthy: "ReplaceUnhealthy";
690
+ };
691
+ /**
692
+ * @public
693
+ */
694
+ export type ImpairedZoneHealthCheckBehavior = (typeof ImpairedZoneHealthCheckBehavior)[keyof typeof ImpairedZoneHealthCheckBehavior];
695
+ /**
696
+ * <p>
697
+ * Describes an Availability Zone impairment policy.
698
+ * </p>
699
+ * @public
700
+ */
701
+ export interface AvailabilityZoneImpairmentPolicy {
702
+ /**
703
+ * <p>
704
+ * If <code>true</code>, enable zonal shift for your Auto Scaling group.
705
+ * </p>
706
+ * @public
707
+ */
708
+ ZonalShiftEnabled?: boolean | undefined;
709
+ /**
710
+ * <p>
711
+ * Specifies the health check behavior for the impaired Availability Zone in an active zonal shift. If you select <code>Replace unhealthy</code>, instances that appear unhealthy will be replaced in all Availability Zones.
712
+ * If you select <code>Ignore unhealthy</code>, instances will not be replaced in the Availability Zone with the active zonal shift. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html">Auto Scaling group zonal shift</a>
713
+ * in the <i>Amazon EC2 Auto Scaling User Guide</i>.
714
+ *
715
+ * </p>
716
+ * @public
717
+ */
718
+ ImpairedZoneHealthCheckBehavior?: ImpairedZoneHealthCheckBehavior | undefined;
719
+ }
675
720
  /**
676
721
  * <p>Describes an instance maintenance policy.</p>
677
722
  * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html">Set instance maintenance policy</a> in the
@@ -1928,6 +1973,21 @@ export interface CreateAutoScalingGroupType {
1928
1973
  * @public
1929
1974
  */
1930
1975
  AvailabilityZoneDistribution?: AvailabilityZoneDistribution | undefined;
1976
+ /**
1977
+ * <p>
1978
+ * The policy for Availability Zone impairment.
1979
+ * </p>
1980
+ * @public
1981
+ */
1982
+ AvailabilityZoneImpairmentPolicy?: AvailabilityZoneImpairmentPolicy | undefined;
1983
+ /**
1984
+ * <p>
1985
+ * If you enable zonal shift with cross-zone disabled load balancers, capacity could become imbalanced across Availability Zones. To skip the validation, specify <code>true</code>. For more information, see
1986
+ * <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html">Auto Scaling group zonal shift</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.
1987
+ * </p>
1988
+ * @public
1989
+ */
1990
+ SkipZonalShiftValidation?: boolean | undefined;
1931
1991
  }
1932
1992
  /**
1933
1993
  * <p>Describes information used to set up an Amazon EBS volume specified in a block device
@@ -3166,6 +3226,13 @@ export interface AutoScalingGroup {
3166
3226
  * @public
3167
3227
  */
3168
3228
  AvailabilityZoneDistribution?: AvailabilityZoneDistribution | undefined;
3229
+ /**
3230
+ * <p>
3231
+ * The Availability Zone impairment policy.
3232
+ * </p>
3233
+ * @public
3234
+ */
3235
+ AvailabilityZoneImpairmentPolicy?: AvailabilityZoneImpairmentPolicy | undefined;
3169
3236
  }
3170
3237
  /**
3171
3238
  * @public
@@ -7506,4 +7573,19 @@ export interface UpdateAutoScalingGroupType {
7506
7573
  * @public
7507
7574
  */
7508
7575
  AvailabilityZoneDistribution?: AvailabilityZoneDistribution | undefined;
7576
+ /**
7577
+ * <p>
7578
+ * The policy for Availability Zone impairment.
7579
+ * </p>
7580
+ * @public
7581
+ */
7582
+ AvailabilityZoneImpairmentPolicy?: AvailabilityZoneImpairmentPolicy | undefined;
7583
+ /**
7584
+ * <p>
7585
+ * If you enable zonal shift with cross-zone disabled load balancers, capacity could become imbalanced across Availability Zones. To skip the validation, specify <code>true</code>. For more information, see
7586
+ * <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html">Auto Scaling group zonal shift</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.
7587
+ * </p>
7588
+ * @public
7589
+ */
7590
+ SkipZonalShiftValidation?: boolean | undefined;
7509
7591
  }
@@ -133,6 +133,7 @@ export interface TrafficSourceIdentifier {
133
133
  export interface AttachTrafficSourcesType {
134
134
  AutoScalingGroupName: string | undefined;
135
135
  TrafficSources: TrafficSourceIdentifier[] | undefined;
136
+ SkipZonalShiftValidation?: boolean | undefined;
136
137
  }
137
138
  export interface FailedScheduledUpdateGroupActionRequest {
138
139
  ScheduledActionName: string | undefined;
@@ -195,6 +196,16 @@ export type CapacityDistributionStrategy =
195
196
  export interface AvailabilityZoneDistribution {
196
197
  CapacityDistributionStrategy?: CapacityDistributionStrategy | undefined;
197
198
  }
199
+ export declare const ImpairedZoneHealthCheckBehavior: {
200
+ readonly IgnoreUnhealthy: "IgnoreUnhealthy";
201
+ readonly ReplaceUnhealthy: "ReplaceUnhealthy";
202
+ };
203
+ export type ImpairedZoneHealthCheckBehavior =
204
+ (typeof ImpairedZoneHealthCheckBehavior)[keyof typeof ImpairedZoneHealthCheckBehavior];
205
+ export interface AvailabilityZoneImpairmentPolicy {
206
+ ZonalShiftEnabled?: boolean | undefined;
207
+ ImpairedZoneHealthCheckBehavior?: ImpairedZoneHealthCheckBehavior | undefined;
208
+ }
198
209
  export interface InstanceMaintenancePolicy {
199
210
  MinHealthyPercentage?: number | undefined;
200
211
  MaxHealthyPercentage?: number | undefined;
@@ -364,6 +375,10 @@ export interface CreateAutoScalingGroupType {
364
375
  TrafficSources?: TrafficSourceIdentifier[] | undefined;
365
376
  InstanceMaintenancePolicy?: InstanceMaintenancePolicy | undefined;
366
377
  AvailabilityZoneDistribution?: AvailabilityZoneDistribution | undefined;
378
+ AvailabilityZoneImpairmentPolicy?:
379
+ | AvailabilityZoneImpairmentPolicy
380
+ | undefined;
381
+ SkipZonalShiftValidation?: boolean | undefined;
367
382
  }
368
383
  export interface Ebs {
369
384
  SnapshotId?: string | undefined;
@@ -598,6 +613,9 @@ export interface AutoScalingGroup {
598
613
  TrafficSources?: TrafficSourceIdentifier[] | undefined;
599
614
  InstanceMaintenancePolicy?: InstanceMaintenancePolicy | undefined;
600
615
  AvailabilityZoneDistribution?: AvailabilityZoneDistribution | undefined;
616
+ AvailabilityZoneImpairmentPolicy?:
617
+ | AvailabilityZoneImpairmentPolicy
618
+ | undefined;
601
619
  }
602
620
  export interface AutoScalingGroupsType {
603
621
  AutoScalingGroups: AutoScalingGroup[] | undefined;
@@ -1308,4 +1326,8 @@ export interface UpdateAutoScalingGroupType {
1308
1326
  DefaultInstanceWarmup?: number | undefined;
1309
1327
  InstanceMaintenancePolicy?: InstanceMaintenancePolicy | undefined;
1310
1328
  AvailabilityZoneDistribution?: AvailabilityZoneDistribution | undefined;
1329
+ AvailabilityZoneImpairmentPolicy?:
1330
+ | AvailabilityZoneImpairmentPolicy
1331
+ | undefined;
1332
+ SkipZonalShiftValidation?: boolean | undefined;
1311
1333
  }
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.693.0",
4
+ "version": "3.696.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.693.0",
24
- "@aws-sdk/client-sts": "3.693.0",
25
- "@aws-sdk/core": "3.693.0",
26
- "@aws-sdk/credential-provider-node": "3.693.0",
27
- "@aws-sdk/middleware-host-header": "3.693.0",
28
- "@aws-sdk/middleware-logger": "3.693.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.693.0",
30
- "@aws-sdk/middleware-user-agent": "3.693.0",
31
- "@aws-sdk/region-config-resolver": "3.693.0",
32
- "@aws-sdk/types": "3.692.0",
33
- "@aws-sdk/util-endpoints": "3.693.0",
34
- "@aws-sdk/util-user-agent-browser": "3.693.0",
35
- "@aws-sdk/util-user-agent-node": "3.693.0",
36
- "@smithy/config-resolver": "^3.0.11",
37
- "@smithy/core": "^2.5.2",
38
- "@smithy/fetch-http-handler": "^4.1.0",
39
- "@smithy/hash-node": "^3.0.9",
40
- "@smithy/invalid-dependency": "^3.0.9",
41
- "@smithy/middleware-content-length": "^3.0.11",
42
- "@smithy/middleware-endpoint": "^3.2.2",
43
- "@smithy/middleware-retry": "^3.0.26",
44
- "@smithy/middleware-serde": "^3.0.9",
45
- "@smithy/middleware-stack": "^3.0.9",
46
- "@smithy/node-config-provider": "^3.1.10",
47
- "@smithy/node-http-handler": "^3.3.0",
48
- "@smithy/protocol-http": "^4.1.6",
49
- "@smithy/smithy-client": "^3.4.3",
50
- "@smithy/types": "^3.7.0",
51
- "@smithy/url-parser": "^3.0.9",
23
+ "@aws-sdk/client-sso-oidc": "3.696.0",
24
+ "@aws-sdk/client-sts": "3.696.0",
25
+ "@aws-sdk/core": "3.696.0",
26
+ "@aws-sdk/credential-provider-node": "3.696.0",
27
+ "@aws-sdk/middleware-host-header": "3.696.0",
28
+ "@aws-sdk/middleware-logger": "3.696.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.696.0",
30
+ "@aws-sdk/middleware-user-agent": "3.696.0",
31
+ "@aws-sdk/region-config-resolver": "3.696.0",
32
+ "@aws-sdk/types": "3.696.0",
33
+ "@aws-sdk/util-endpoints": "3.696.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.696.0",
35
+ "@aws-sdk/util-user-agent-node": "3.696.0",
36
+ "@smithy/config-resolver": "^3.0.12",
37
+ "@smithy/core": "^2.5.3",
38
+ "@smithy/fetch-http-handler": "^4.1.1",
39
+ "@smithy/hash-node": "^3.0.10",
40
+ "@smithy/invalid-dependency": "^3.0.10",
41
+ "@smithy/middleware-content-length": "^3.0.12",
42
+ "@smithy/middleware-endpoint": "^3.2.3",
43
+ "@smithy/middleware-retry": "^3.0.27",
44
+ "@smithy/middleware-serde": "^3.0.10",
45
+ "@smithy/middleware-stack": "^3.0.10",
46
+ "@smithy/node-config-provider": "^3.1.11",
47
+ "@smithy/node-http-handler": "^3.3.1",
48
+ "@smithy/protocol-http": "^4.1.7",
49
+ "@smithy/smithy-client": "^3.4.4",
50
+ "@smithy/types": "^3.7.1",
51
+ "@smithy/url-parser": "^3.0.10",
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.26",
56
- "@smithy/util-defaults-mode-node": "^3.0.26",
57
- "@smithy/util-endpoints": "^2.1.5",
58
- "@smithy/util-middleware": "^3.0.9",
59
- "@smithy/util-retry": "^3.0.9",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.27",
56
+ "@smithy/util-defaults-mode-node": "^3.0.27",
57
+ "@smithy/util-endpoints": "^2.1.6",
58
+ "@smithy/util-middleware": "^3.0.10",
59
+ "@smithy/util-retry": "^3.0.10",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
- "@smithy/util-waiter": "^3.1.8",
61
+ "@smithy/util-waiter": "^3.1.9",
62
62
  "tslib": "^2.6.2"
63
63
  },
64
64
  "devDependencies": {