@aws-sdk/client-auto-scaling 3.696.0 → 3.699.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
@@ -39,6 +39,7 @@ __export(src_exports, {
39
39
  BurstablePerformance: () => BurstablePerformance,
40
40
  CancelInstanceRefreshCommand: () => CancelInstanceRefreshCommand,
41
41
  CapacityDistributionStrategy: () => CapacityDistributionStrategy,
42
+ CapacityReservationPreference: () => CapacityReservationPreference,
42
43
  CompleteLifecycleActionCommand: () => CompleteLifecycleActionCommand,
43
44
  CpuManufacturer: () => CpuManufacturer,
44
45
  CreateAutoScalingGroupCommand: () => CreateAutoScalingGroupCommand,
@@ -443,6 +444,12 @@ var ImpairedZoneHealthCheckBehavior = {
443
444
  IgnoreUnhealthy: "IgnoreUnhealthy",
444
445
  ReplaceUnhealthy: "ReplaceUnhealthy"
445
446
  };
447
+ var CapacityReservationPreference = {
448
+ CapacityReservationsFirst: "capacity-reservations-first",
449
+ CapacityReservationsOnly: "capacity-reservations-only",
450
+ Default: "default",
451
+ None: "none"
452
+ };
446
453
  var BareMetal = {
447
454
  EXCLUDED: "excluded",
448
455
  INCLUDED: "included",
@@ -2496,6 +2503,17 @@ var se_BaselineEbsBandwidthMbpsRequest = /* @__PURE__ */ __name((input, context)
2496
2503
  }
2497
2504
  return entries;
2498
2505
  }, "se_BaselineEbsBandwidthMbpsRequest");
2506
+ var se_BaselinePerformanceFactorsRequest = /* @__PURE__ */ __name((input, context) => {
2507
+ const entries = {};
2508
+ if (input[_C] != null) {
2509
+ const memberEntries = se_CpuPerformanceFactorRequest(input[_C], context);
2510
+ Object.entries(memberEntries).forEach(([key, value]) => {
2511
+ const loc = `Cpu.${key}`;
2512
+ entries[loc] = value;
2513
+ });
2514
+ }
2515
+ return entries;
2516
+ }, "se_BaselinePerformanceFactorsRequest");
2499
2517
  var se_BatchDeleteScheduledActionType = /* @__PURE__ */ __name((input, context) => {
2500
2518
  var _a;
2501
2519
  const entries = {};
@@ -2574,6 +2592,69 @@ var se_CancelInstanceRefreshType = /* @__PURE__ */ __name((input, context) => {
2574
2592
  }
2575
2593
  return entries;
2576
2594
  }, "se_CancelInstanceRefreshType");
2595
+ var se_CapacityReservationIds = /* @__PURE__ */ __name((input, context) => {
2596
+ const entries = {};
2597
+ let counter = 1;
2598
+ for (const entry of input) {
2599
+ if (entry === null) {
2600
+ continue;
2601
+ }
2602
+ entries[`member.${counter}`] = entry;
2603
+ counter++;
2604
+ }
2605
+ return entries;
2606
+ }, "se_CapacityReservationIds");
2607
+ var se_CapacityReservationResourceGroupArns = /* @__PURE__ */ __name((input, context) => {
2608
+ const entries = {};
2609
+ let counter = 1;
2610
+ for (const entry of input) {
2611
+ if (entry === null) {
2612
+ continue;
2613
+ }
2614
+ entries[`member.${counter}`] = entry;
2615
+ counter++;
2616
+ }
2617
+ return entries;
2618
+ }, "se_CapacityReservationResourceGroupArns");
2619
+ var se_CapacityReservationSpecification = /* @__PURE__ */ __name((input, context) => {
2620
+ const entries = {};
2621
+ if (input[_CRP] != null) {
2622
+ entries[_CRP] = input[_CRP];
2623
+ }
2624
+ if (input[_CRT] != null) {
2625
+ const memberEntries = se_CapacityReservationTarget(input[_CRT], context);
2626
+ Object.entries(memberEntries).forEach(([key, value]) => {
2627
+ const loc = `CapacityReservationTarget.${key}`;
2628
+ entries[loc] = value;
2629
+ });
2630
+ }
2631
+ return entries;
2632
+ }, "se_CapacityReservationSpecification");
2633
+ var se_CapacityReservationTarget = /* @__PURE__ */ __name((input, context) => {
2634
+ var _a, _b;
2635
+ const entries = {};
2636
+ if (input[_CRI] != null) {
2637
+ const memberEntries = se_CapacityReservationIds(input[_CRI], context);
2638
+ if (((_a = input[_CRI]) == null ? void 0 : _a.length) === 0) {
2639
+ entries.CapacityReservationIds = [];
2640
+ }
2641
+ Object.entries(memberEntries).forEach(([key, value]) => {
2642
+ const loc = `CapacityReservationIds.${key}`;
2643
+ entries[loc] = value;
2644
+ });
2645
+ }
2646
+ if (input[_CRRGA] != null) {
2647
+ const memberEntries = se_CapacityReservationResourceGroupArns(input[_CRRGA], context);
2648
+ if (((_b = input[_CRRGA]) == null ? void 0 : _b.length) === 0) {
2649
+ entries.CapacityReservationResourceGroupArns = [];
2650
+ }
2651
+ Object.entries(memberEntries).forEach(([key, value]) => {
2652
+ const loc = `CapacityReservationResourceGroupArns.${key}`;
2653
+ entries[loc] = value;
2654
+ });
2655
+ }
2656
+ return entries;
2657
+ }, "se_CapacityReservationTarget");
2577
2658
  var se_CheckpointPercentages = /* @__PURE__ */ __name((input, context) => {
2578
2659
  const entries = {};
2579
2660
  let counter = 1;
@@ -2629,6 +2710,21 @@ var se_CpuManufacturers = /* @__PURE__ */ __name((input, context) => {
2629
2710
  }
2630
2711
  return entries;
2631
2712
  }, "se_CpuManufacturers");
2713
+ var se_CpuPerformanceFactorRequest = /* @__PURE__ */ __name((input, context) => {
2714
+ var _a;
2715
+ const entries = {};
2716
+ if (input[_R] != null) {
2717
+ const memberEntries = se_PerformanceFactorReferenceSetRequest(input[_R], context);
2718
+ if (((_a = input[_R]) == null ? void 0 : _a.length) === 0) {
2719
+ entries.Reference = [];
2720
+ }
2721
+ Object.entries(memberEntries).forEach(([key, value]) => {
2722
+ const loc = `Reference.${key}`;
2723
+ entries[loc] = value;
2724
+ });
2725
+ }
2726
+ return entries;
2727
+ }, "se_CpuPerformanceFactorRequest");
2632
2728
  var se_CreateAutoScalingGroupType = /* @__PURE__ */ __name((input, context) => {
2633
2729
  var _a, _b, _c, _d, _e, _f, _g;
2634
2730
  const entries = {};
@@ -2751,8 +2847,8 @@ var se_CreateAutoScalingGroupType = /* @__PURE__ */ __name((input, context) => {
2751
2847
  if (input[_MIL] != null) {
2752
2848
  entries[_MIL] = input[_MIL];
2753
2849
  }
2754
- if (input[_C] != null) {
2755
- entries[_C] = input[_C];
2850
+ if (input[_Co] != null) {
2851
+ entries[_Co] = input[_Co];
2756
2852
  }
2757
2853
  if (input[_DCT] != null) {
2758
2854
  entries[_DCT] = input[_DCT];
@@ -2794,6 +2890,13 @@ var se_CreateAutoScalingGroupType = /* @__PURE__ */ __name((input, context) => {
2794
2890
  if (input[_SZSV] != null) {
2795
2891
  entries[_SZSV] = input[_SZSV];
2796
2892
  }
2893
+ if (input[_CRS] != null) {
2894
+ const memberEntries = se_CapacityReservationSpecification(input[_CRS], context);
2895
+ Object.entries(memberEntries).forEach(([key, value]) => {
2896
+ const loc = `CapacityReservationSpecification.${key}`;
2897
+ entries[loc] = value;
2898
+ });
2899
+ }
2797
2900
  return entries;
2798
2901
  }, "se_CreateAutoScalingGroupType");
2799
2902
  var se_CreateLaunchConfigurationType = /* @__PURE__ */ __name((input, context) => {
@@ -2927,6 +3030,9 @@ var se_CustomizedMetricSpecification = /* @__PURE__ */ __name((input, context) =
2927
3030
  if (input[_U] != null) {
2928
3031
  entries[_U] = input[_U];
2929
3032
  }
3033
+ if (input[_P] != null) {
3034
+ entries[_P] = input[_P];
3035
+ }
2930
3036
  if (input[_Me] != null) {
2931
3037
  const memberEntries = se_TargetTrackingMetricDataQueries(input[_Me], context);
2932
3038
  if (((_b = input[_Me]) == null ? void 0 : _b.length) === 0) {
@@ -3774,6 +3880,13 @@ var se_InstanceRequirements = /* @__PURE__ */ __name((input, context) => {
3774
3880
  entries[loc] = value;
3775
3881
  });
3776
3882
  }
3883
+ if (input[_BPF] != null) {
3884
+ const memberEntries = se_BaselinePerformanceFactorsRequest(input[_BPF], context);
3885
+ Object.entries(memberEntries).forEach(([key, value]) => {
3886
+ const loc = `BaselinePerformanceFactors.${key}`;
3887
+ entries[loc] = value;
3888
+ });
3889
+ }
3777
3890
  return entries;
3778
3891
  }, "se_InstanceRequirements");
3779
3892
  var se_InstanceReusePolicy = /* @__PURE__ */ __name((input, context) => {
@@ -4166,6 +4279,28 @@ var se_Overrides = /* @__PURE__ */ __name((input, context) => {
4166
4279
  }
4167
4280
  return entries;
4168
4281
  }, "se_Overrides");
4282
+ var se_PerformanceFactorReferenceRequest = /* @__PURE__ */ __name((input, context) => {
4283
+ const entries = {};
4284
+ if (input[_IF] != null) {
4285
+ entries[_IF] = input[_IF];
4286
+ }
4287
+ return entries;
4288
+ }, "se_PerformanceFactorReferenceRequest");
4289
+ var se_PerformanceFactorReferenceSetRequest = /* @__PURE__ */ __name((input, context) => {
4290
+ const entries = {};
4291
+ let counter = 1;
4292
+ for (const entry of input) {
4293
+ if (entry === null) {
4294
+ continue;
4295
+ }
4296
+ const memberEntries = se_PerformanceFactorReferenceRequest(entry, context);
4297
+ Object.entries(memberEntries).forEach(([key, value]) => {
4298
+ entries[`item.${counter}.${key}`] = value;
4299
+ });
4300
+ counter++;
4301
+ }
4302
+ return entries;
4303
+ }, "se_PerformanceFactorReferenceSetRequest");
4169
4304
  var se_PolicyNames = /* @__PURE__ */ __name((input, context) => {
4170
4305
  const entries = {};
4171
4306
  let counter = 1;
@@ -4451,8 +4586,8 @@ var se_PutScalingPolicyType = /* @__PURE__ */ __name((input, context) => {
4451
4586
  if (input[_SA] != null) {
4452
4587
  entries[_SA] = input[_SA];
4453
4588
  }
4454
- if (input[_Co] != null) {
4455
- entries[_Co] = input[_Co];
4589
+ if (input[_Coo] != null) {
4590
+ entries[_Coo] = input[_Coo];
4456
4591
  }
4457
4592
  if (input[_MAT] != null) {
4458
4593
  entries[_MAT] = input[_MAT];
@@ -4506,8 +4641,8 @@ var se_PutScheduledUpdateGroupActionType = /* @__PURE__ */ __name((input, contex
4506
4641
  if (input[_ET] != null) {
4507
4642
  entries[_ET] = (0, import_smithy_client.serializeDateTime)(input[_ET]);
4508
4643
  }
4509
- if (input[_R] != null) {
4510
- entries[_R] = input[_R];
4644
+ if (input[_Re] != null) {
4645
+ entries[_Re] = input[_Re];
4511
4646
  }
4512
4647
  if (input[_MS] != null) {
4513
4648
  entries[_MS] = input[_MS];
@@ -4659,8 +4794,8 @@ var se_ScheduledUpdateGroupActionRequest = /* @__PURE__ */ __name((input, contex
4659
4794
  if (input[_ET] != null) {
4660
4795
  entries[_ET] = (0, import_smithy_client.serializeDateTime)(input[_ET]);
4661
4796
  }
4662
- if (input[_R] != null) {
4663
- entries[_R] = input[_R];
4797
+ if (input[_Re] != null) {
4798
+ entries[_Re] = input[_Re];
4664
4799
  }
4665
4800
  if (input[_MS] != null) {
4666
4801
  entries[_MS] = input[_MS];
@@ -4765,8 +4900,8 @@ var se_StartInstanceRefreshType = /* @__PURE__ */ __name((input, context) => {
4765
4900
  entries[loc] = value;
4766
4901
  });
4767
4902
  }
4768
- if (input[_P] != null) {
4769
- const memberEntries = se_RefreshPreferences(input[_P], context);
4903
+ if (input[_Pr] != null) {
4904
+ const memberEntries = se_RefreshPreferences(input[_Pr], context);
4770
4905
  Object.entries(memberEntries).forEach(([key, value]) => {
4771
4906
  const loc = `Preferences.${key}`;
4772
4907
  entries[loc] = value;
@@ -4905,6 +5040,9 @@ var se_TargetTrackingMetricDataQuery = /* @__PURE__ */ __name((input, context) =
4905
5040
  if (input[_L] != null) {
4906
5041
  entries[_L] = input[_L];
4907
5042
  }
5043
+ if (input[_P] != null) {
5044
+ entries[_P] = input[_P];
5045
+ }
4908
5046
  if (input[_RD] != null) {
4909
5047
  entries[_RD] = input[_RD];
4910
5048
  }
@@ -4925,6 +5063,9 @@ var se_TargetTrackingMetricStat = /* @__PURE__ */ __name((input, context) => {
4925
5063
  if (input[_U] != null) {
4926
5064
  entries[_U] = input[_U];
4927
5065
  }
5066
+ if (input[_P] != null) {
5067
+ entries[_P] = input[_P];
5068
+ }
4928
5069
  return entries;
4929
5070
  }, "se_TargetTrackingMetricStat");
4930
5071
  var se_TerminateInstanceInAutoScalingGroupType = /* @__PURE__ */ __name((input, context) => {
@@ -5063,8 +5204,8 @@ var se_UpdateAutoScalingGroupType = /* @__PURE__ */ __name((input, context) => {
5063
5204
  if (input[_CR] != null) {
5064
5205
  entries[_CR] = input[_CR];
5065
5206
  }
5066
- if (input[_C] != null) {
5067
- entries[_C] = input[_C];
5207
+ if (input[_Co] != null) {
5208
+ entries[_Co] = input[_Co];
5068
5209
  }
5069
5210
  if (input[_DCT] != null) {
5070
5211
  entries[_DCT] = input[_DCT];
@@ -5096,6 +5237,13 @@ var se_UpdateAutoScalingGroupType = /* @__PURE__ */ __name((input, context) => {
5096
5237
  if (input[_SZSV] != null) {
5097
5238
  entries[_SZSV] = input[_SZSV];
5098
5239
  }
5240
+ if (input[_CRS] != null) {
5241
+ const memberEntries = se_CapacityReservationSpecification(input[_CRS], context);
5242
+ Object.entries(memberEntries).forEach(([key, value]) => {
5243
+ const loc = `CapacityReservationSpecification.${key}`;
5244
+ entries[loc] = value;
5245
+ });
5246
+ }
5099
5247
  return entries;
5100
5248
  }, "se_UpdateAutoScalingGroupType");
5101
5249
  var se_Values = /* @__PURE__ */ __name((input, context) => {
@@ -5205,8 +5353,8 @@ var de_Activity = /* @__PURE__ */ __name((output, context) => {
5205
5353
  if (output[_SMt] != null) {
5206
5354
  contents[_SMt] = (0, import_smithy_client.expectString)(output[_SMt]);
5207
5355
  }
5208
- if (output[_Pr] != null) {
5209
- contents[_Pr] = (0, import_smithy_client.strictParseInt32)(output[_Pr]);
5356
+ if (output[_Pro] != null) {
5357
+ contents[_Pro] = (0, import_smithy_client.strictParseInt32)(output[_Pro]);
5210
5358
  }
5211
5359
  if (output[_Det] != null) {
5212
5360
  contents[_Det] = (0, import_smithy_client.expectString)(output[_Det]);
@@ -5399,8 +5547,8 @@ var de_AutoScalingGroup = /* @__PURE__ */ __name((output, context) => {
5399
5547
  if (output[_WPS] != null) {
5400
5548
  contents[_WPS] = (0, import_smithy_client.strictParseInt32)(output[_WPS]);
5401
5549
  }
5402
- if (output[_C] != null) {
5403
- contents[_C] = (0, import_smithy_client.expectString)(output[_C]);
5550
+ if (output[_Co] != null) {
5551
+ contents[_Co] = (0, import_smithy_client.expectString)(output[_Co]);
5404
5552
  }
5405
5553
  if (output[_DCT] != null) {
5406
5554
  contents[_DCT] = (0, import_smithy_client.expectString)(output[_DCT]);
@@ -5422,6 +5570,9 @@ var de_AutoScalingGroup = /* @__PURE__ */ __name((output, context) => {
5422
5570
  if (output[_AZIP] != null) {
5423
5571
  contents[_AZIP] = de_AvailabilityZoneImpairmentPolicy(output[_AZIP], context);
5424
5572
  }
5573
+ if (output[_CRS] != null) {
5574
+ contents[_CRS] = de_CapacityReservationSpecification(output[_CRS], context);
5575
+ }
5425
5576
  return contents;
5426
5577
  }, "de_AutoScalingGroup");
5427
5578
  var de_AutoScalingGroups = /* @__PURE__ */ __name((output, context) => {
@@ -5529,6 +5680,13 @@ var de_BaselineEbsBandwidthMbpsRequest = /* @__PURE__ */ __name((output, context
5529
5680
  }
5530
5681
  return contents;
5531
5682
  }, "de_BaselineEbsBandwidthMbpsRequest");
5683
+ var de_BaselinePerformanceFactorsRequest = /* @__PURE__ */ __name((output, context) => {
5684
+ const contents = {};
5685
+ if (output[_C] != null) {
5686
+ contents[_C] = de_CpuPerformanceFactorRequest(output[_C], context);
5687
+ }
5688
+ return contents;
5689
+ }, "de_BaselinePerformanceFactorsRequest");
5532
5690
  var de_BatchDeleteScheduledActionAnswer = /* @__PURE__ */ __name((output, context) => {
5533
5691
  const contents = {};
5534
5692
  if (output.FailedScheduledActions === "") {
@@ -5592,6 +5750,40 @@ var de_CapacityForecast = /* @__PURE__ */ __name((output, context) => {
5592
5750
  }
5593
5751
  return contents;
5594
5752
  }, "de_CapacityForecast");
5753
+ var de_CapacityReservationIds = /* @__PURE__ */ __name((output, context) => {
5754
+ return (output || []).filter((e) => e != null).map((entry) => {
5755
+ return (0, import_smithy_client.expectString)(entry);
5756
+ });
5757
+ }, "de_CapacityReservationIds");
5758
+ var de_CapacityReservationResourceGroupArns = /* @__PURE__ */ __name((output, context) => {
5759
+ return (output || []).filter((e) => e != null).map((entry) => {
5760
+ return (0, import_smithy_client.expectString)(entry);
5761
+ });
5762
+ }, "de_CapacityReservationResourceGroupArns");
5763
+ var de_CapacityReservationSpecification = /* @__PURE__ */ __name((output, context) => {
5764
+ const contents = {};
5765
+ if (output[_CRP] != null) {
5766
+ contents[_CRP] = (0, import_smithy_client.expectString)(output[_CRP]);
5767
+ }
5768
+ if (output[_CRT] != null) {
5769
+ contents[_CRT] = de_CapacityReservationTarget(output[_CRT], context);
5770
+ }
5771
+ return contents;
5772
+ }, "de_CapacityReservationSpecification");
5773
+ var de_CapacityReservationTarget = /* @__PURE__ */ __name((output, context) => {
5774
+ const contents = {};
5775
+ if (output.CapacityReservationIds === "") {
5776
+ contents[_CRI] = [];
5777
+ } else if (output[_CRI] != null && output[_CRI][_me] != null) {
5778
+ contents[_CRI] = de_CapacityReservationIds((0, import_smithy_client.getArrayIfSingleItem)(output[_CRI][_me]), context);
5779
+ }
5780
+ if (output.CapacityReservationResourceGroupArns === "") {
5781
+ contents[_CRRGA] = [];
5782
+ } else if (output[_CRRGA] != null && output[_CRRGA][_me] != null) {
5783
+ contents[_CRRGA] = de_CapacityReservationResourceGroupArns((0, import_smithy_client.getArrayIfSingleItem)(output[_CRRGA][_me]), context);
5784
+ }
5785
+ return contents;
5786
+ }, "de_CapacityReservationTarget");
5595
5787
  var de_CheckpointPercentages = /* @__PURE__ */ __name((output, context) => {
5596
5788
  return (output || []).filter((e) => e != null).map((entry) => {
5597
5789
  return (0, import_smithy_client.strictParseInt32)(entry);
@@ -5611,6 +5803,15 @@ var de_CpuManufacturers = /* @__PURE__ */ __name((output, context) => {
5611
5803
  return (0, import_smithy_client.expectString)(entry);
5612
5804
  });
5613
5805
  }, "de_CpuManufacturers");
5806
+ var de_CpuPerformanceFactorRequest = /* @__PURE__ */ __name((output, context) => {
5807
+ const contents = {};
5808
+ if (output.Reference === "") {
5809
+ contents[_R] = [];
5810
+ } else if (output[_Ref] != null && output[_Ref][_i] != null) {
5811
+ contents[_R] = de_PerformanceFactorReferenceSetRequest((0, import_smithy_client.getArrayIfSingleItem)(output[_Ref][_i]), context);
5812
+ }
5813
+ return contents;
5814
+ }, "de_CpuPerformanceFactorRequest");
5614
5815
  var de_CustomizedMetricSpecification = /* @__PURE__ */ __name((output, context) => {
5615
5816
  const contents = {};
5616
5817
  if (output[_MN] != null) {
@@ -5630,6 +5831,9 @@ var de_CustomizedMetricSpecification = /* @__PURE__ */ __name((output, context)
5630
5831
  if (output[_U] != null) {
5631
5832
  contents[_U] = (0, import_smithy_client.expectString)(output[_U]);
5632
5833
  }
5834
+ if (output[_P] != null) {
5835
+ contents[_P] = (0, import_smithy_client.strictParseInt32)(output[_P]);
5836
+ }
5633
5837
  if (output.Metrics === "") {
5634
5838
  contents[_Me] = [];
5635
5839
  } else if (output[_Me] != null && output[_Me][_me] != null) {
@@ -6017,8 +6221,8 @@ var de_InstanceRefresh = /* @__PURE__ */ __name((output, context) => {
6017
6221
  if (output[_PD] != null) {
6018
6222
  contents[_PD] = de_InstanceRefreshProgressDetails(output[_PD], context);
6019
6223
  }
6020
- if (output[_P] != null) {
6021
- contents[_P] = de_RefreshPreferences(output[_P], context);
6224
+ if (output[_Pr] != null) {
6225
+ contents[_Pr] = de_RefreshPreferences(output[_Pr], context);
6022
6226
  }
6023
6227
  if (output[_DCes] != null) {
6024
6228
  contents[_DCes] = de_DesiredConfiguration(output[_DCes], context);
@@ -6160,6 +6364,9 @@ var de_InstanceRequirements = /* @__PURE__ */ __name((output, context) => {
6160
6364
  } else if (output[_AIT] != null && output[_AIT][_me] != null) {
6161
6365
  contents[_AIT] = de_AllowedInstanceTypes((0, import_smithy_client.getArrayIfSingleItem)(output[_AIT][_me]), context);
6162
6366
  }
6367
+ if (output[_BPF] != null) {
6368
+ contents[_BPF] = de_BaselinePerformanceFactorsRequest(output[_BPF], context);
6369
+ }
6163
6370
  return contents;
6164
6371
  }, "de_InstanceRequirements");
6165
6372
  var de_InstanceReusePolicy = /* @__PURE__ */ __name((output, context) => {
@@ -6607,6 +6814,18 @@ var de_Overrides = /* @__PURE__ */ __name((output, context) => {
6607
6814
  return de_LaunchTemplateOverrides(entry, context);
6608
6815
  });
6609
6816
  }, "de_Overrides");
6817
+ var de_PerformanceFactorReferenceRequest = /* @__PURE__ */ __name((output, context) => {
6818
+ const contents = {};
6819
+ if (output[_IF] != null) {
6820
+ contents[_IF] = (0, import_smithy_client.expectString)(output[_IF]);
6821
+ }
6822
+ return contents;
6823
+ }, "de_PerformanceFactorReferenceRequest");
6824
+ var de_PerformanceFactorReferenceSetRequest = /* @__PURE__ */ __name((output, context) => {
6825
+ return (output || []).filter((e) => e != null).map((entry) => {
6826
+ return de_PerformanceFactorReferenceRequest(entry, context);
6827
+ });
6828
+ }, "de_PerformanceFactorReferenceSetRequest");
6610
6829
  var de_PoliciesType = /* @__PURE__ */ __name((output, context) => {
6611
6830
  const contents = {};
6612
6831
  if (output.ScalingPolicies === "") {
@@ -6767,9 +6986,9 @@ var de_Processes = /* @__PURE__ */ __name((output, context) => {
6767
6986
  var de_ProcessesType = /* @__PURE__ */ __name((output, context) => {
6768
6987
  const contents = {};
6769
6988
  if (output.Processes === "") {
6770
- contents[_Pro] = [];
6771
- } else if (output[_Pro] != null && output[_Pro][_me] != null) {
6772
- contents[_Pro] = de_Processes((0, import_smithy_client.getArrayIfSingleItem)(output[_Pro][_me]), context);
6989
+ contents[_Proc] = [];
6990
+ } else if (output[_Proc] != null && output[_Proc][_me] != null) {
6991
+ contents[_Proc] = de_Processes((0, import_smithy_client.getArrayIfSingleItem)(output[_Proc][_me]), context);
6773
6992
  }
6774
6993
  return contents;
6775
6994
  }, "de_ProcessesType");
@@ -6909,8 +7128,8 @@ var de_ScalingPolicy = /* @__PURE__ */ __name((output, context) => {
6909
7128
  if (output[_SA] != null) {
6910
7129
  contents[_SA] = (0, import_smithy_client.strictParseInt32)(output[_SA]);
6911
7130
  }
6912
- if (output[_Co] != null) {
6913
- contents[_Co] = (0, import_smithy_client.strictParseInt32)(output[_Co]);
7131
+ if (output[_Coo] != null) {
7132
+ contents[_Coo] = (0, import_smithy_client.strictParseInt32)(output[_Coo]);
6914
7133
  }
6915
7134
  if (output.StepAdjustments === "") {
6916
7135
  contents[_SAt] = [];
@@ -6971,8 +7190,8 @@ var de_ScheduledUpdateGroupAction = /* @__PURE__ */ __name((output, context) =>
6971
7190
  if (output[_ET] != null) {
6972
7191
  contents[_ET] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_ET]));
6973
7192
  }
6974
- if (output[_R] != null) {
6975
- contents[_R] = (0, import_smithy_client.expectString)(output[_R]);
7193
+ if (output[_Re] != null) {
7194
+ contents[_Re] = (0, import_smithy_client.expectString)(output[_Re]);
6976
7195
  }
6977
7196
  if (output[_MS] != null) {
6978
7197
  contents[_MS] = (0, import_smithy_client.strictParseInt32)(output[_MS]);
@@ -7125,6 +7344,9 @@ var de_TargetTrackingMetricDataQuery = /* @__PURE__ */ __name((output, context)
7125
7344
  if (output[_L] != null) {
7126
7345
  contents[_L] = (0, import_smithy_client.expectString)(output[_L]);
7127
7346
  }
7347
+ if (output[_P] != null) {
7348
+ contents[_P] = (0, import_smithy_client.strictParseInt32)(output[_P]);
7349
+ }
7128
7350
  if (output[_RD] != null) {
7129
7351
  contents[_RD] = (0, import_smithy_client.parseBoolean)(output[_RD]);
7130
7352
  }
@@ -7141,6 +7363,9 @@ var de_TargetTrackingMetricStat = /* @__PURE__ */ __name((output, context) => {
7141
7363
  if (output[_U] != null) {
7142
7364
  contents[_U] = (0, import_smithy_client.expectString)(output[_U]);
7143
7365
  }
7366
+ if (output[_P] != null) {
7367
+ contents[_P] = (0, import_smithy_client.strictParseInt32)(output[_P]);
7368
+ }
7144
7369
  return contents;
7145
7370
  }, "de_TargetTrackingMetricStat");
7146
7371
  var de_TerminationPolicies = /* @__PURE__ */ __name((output, context) => {
@@ -7291,10 +7516,11 @@ var _BDSA = "BatchDeleteScheduledAction";
7291
7516
  var _BEBM = "BaselineEbsBandwidthMbps";
7292
7517
  var _BM = "BareMetal";
7293
7518
  var _BP = "BurstablePerformance";
7519
+ var _BPF = "BaselinePerformanceFactors";
7294
7520
  var _BPSUGA = "BatchPutScheduledUpdateGroupAction";
7295
7521
  var _BT = "BreachThreshold";
7296
7522
  var _BTa = "BakeTime";
7297
- var _C = "Context";
7523
+ var _C = "Cpu";
7298
7524
  var _CASG = "CreateAutoScalingGroup";
7299
7525
  var _CCMS = "CustomizedCapacityMetricSpecification";
7300
7526
  var _CD = "CheckpointDelay";
@@ -7311,10 +7537,16 @@ var _CMS = "CustomizedMetricSpecification";
7311
7537
  var _COUT = "CreateOrUpdateTags";
7312
7538
  var _CP = "CheckpointPercentages";
7313
7539
  var _CR = "CapacityRebalance";
7540
+ var _CRI = "CapacityReservationIds";
7541
+ var _CRP = "CapacityReservationPreference";
7542
+ var _CRRGA = "CapacityReservationResourceGroupArns";
7543
+ var _CRS = "CapacityReservationSpecification";
7544
+ var _CRT = "CapacityReservationTarget";
7314
7545
  var _CSMS = "CustomizedScalingMetricSpecification";
7315
7546
  var _CT = "CreatedTime";
7316
7547
  var _Ca = "Cause";
7317
- var _Co = "Cooldown";
7548
+ var _Co = "Context";
7549
+ var _Coo = "Cooldown";
7318
7550
  var _D = "Dimensions";
7319
7551
  var _DAL = "DescribeAccountLimits";
7320
7552
  var _DASG = "DeleteAutoScalingGroup";
@@ -7395,6 +7627,7 @@ var _HTe = "HeartbeatTimeout";
7395
7627
  var _I = "Iops";
7396
7628
  var _ID = "InstancesDistribution";
7397
7629
  var _IDG = "IncludeDeletedGroups";
7630
+ var _IF = "InstanceFamily";
7398
7631
  var _IG = "InstanceGenerations";
7399
7632
  var _II = "InstanceIds";
7400
7633
  var _IIP = "IamInstanceProfile";
@@ -7496,7 +7729,7 @@ var _ODAS = "OnDemandAllocationStrategy";
7496
7729
  var _ODBC = "OnDemandBaseCapacity";
7497
7730
  var _ODMPPOLP = "OnDemandMaxPricePercentageOverLowestPrice";
7498
7731
  var _ODPABC = "OnDemandPercentageAboveBaseCapacity";
7499
- var _P = "Preferences";
7732
+ var _P = "Period";
7500
7733
  var _PAL = "PropagateAtLaunch";
7501
7734
  var _PARN = "PolicyARN";
7502
7735
  var _PC = "PredictedCapacity";
@@ -7524,9 +7757,10 @@ var _PT = "PlacementTenancy";
7524
7757
  var _PTo = "PolicyTypes";
7525
7758
  var _PTol = "PolicyType";
7526
7759
  var _PWP = "PutWarmPool";
7527
- var _Pr = "Progress";
7528
- var _Pro = "Processes";
7529
- var _R = "Recurrence";
7760
+ var _Pr = "Preferences";
7761
+ var _Pro = "Progress";
7762
+ var _Proc = "Processes";
7763
+ var _R = "References";
7530
7764
  var _RARN = "RoleARN";
7531
7765
  var _RD = "ReturnData";
7532
7766
  var _RDo = "RollbackDetails";
@@ -7541,6 +7775,8 @@ var _RP = "ResumeProcesses";
7541
7775
  var _RR = "RollbackReason";
7542
7776
  var _RST = "RollbackStartTime";
7543
7777
  var _RT = "ResourceType";
7778
+ var _Re = "Recurrence";
7779
+ var _Ref = "Reference";
7544
7780
  var _S = "Statistic";
7545
7781
  var _SA = "ScalingAdjustment";
7546
7782
  var _SAARN = "ScheduledActionARN";
@@ -7614,6 +7850,7 @@ var _WPC = "WarmPoolConfiguration";
7614
7850
  var _WPP = "WarmPoolProgress";
7615
7851
  var _WPS = "WarmPoolSize";
7616
7852
  var _ZSE = "ZonalShiftEnabled";
7853
+ var _i = "item";
7617
7854
  var _m = "message";
7618
7855
  var _me = "member";
7619
7856
  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");
@@ -8904,6 +9141,7 @@ var waitUntilGroupNotExists = /* @__PURE__ */ __name(async (params, input) => {
8904
9141
  LimitExceededFault,
8905
9142
  CapacityDistributionStrategy,
8906
9143
  ImpairedZoneHealthCheckBehavior,
9144
+ CapacityReservationPreference,
8907
9145
  BareMetal,
8908
9146
  BurstablePerformance,
8909
9147
  CpuManufacturer,
@@ -102,6 +102,12 @@ export const ImpairedZoneHealthCheckBehavior = {
102
102
  IgnoreUnhealthy: "IgnoreUnhealthy",
103
103
  ReplaceUnhealthy: "ReplaceUnhealthy",
104
104
  };
105
+ export const CapacityReservationPreference = {
106
+ CapacityReservationsFirst: "capacity-reservations-first",
107
+ CapacityReservationsOnly: "capacity-reservations-only",
108
+ Default: "default",
109
+ None: "none",
110
+ };
105
111
  export const BareMetal = {
106
112
  EXCLUDED: "excluded",
107
113
  INCLUDED: "included",