@aws-sdk/client-auto-scaling 3.696.0 → 3.697.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 +238 -19
- package/dist-es/models/models_0.js +6 -0
- package/dist-es/protocols/Aws_query.js +237 -19
- package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +20 -0
- package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +20 -0
- package/dist-types/commands/DescribeInstanceRefreshesCommand.d.ts +9 -0
- package/dist-types/commands/StartInstanceRefreshCommand.d.ts +9 -0
- package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +20 -0
- package/dist-types/models/models_0.d.ts +210 -0
- package/dist-types/ts3.4/models/models_0.d.ts +35 -0
- package/package.json +1 -1
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[
|
|
2755
|
-
entries[
|
|
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) => {
|
|
@@ -3774,6 +3877,13 @@ var se_InstanceRequirements = /* @__PURE__ */ __name((input, context) => {
|
|
|
3774
3877
|
entries[loc] = value;
|
|
3775
3878
|
});
|
|
3776
3879
|
}
|
|
3880
|
+
if (input[_BPF] != null) {
|
|
3881
|
+
const memberEntries = se_BaselinePerformanceFactorsRequest(input[_BPF], context);
|
|
3882
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3883
|
+
const loc = `BaselinePerformanceFactors.${key}`;
|
|
3884
|
+
entries[loc] = value;
|
|
3885
|
+
});
|
|
3886
|
+
}
|
|
3777
3887
|
return entries;
|
|
3778
3888
|
}, "se_InstanceRequirements");
|
|
3779
3889
|
var se_InstanceReusePolicy = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -4166,6 +4276,28 @@ var se_Overrides = /* @__PURE__ */ __name((input, context) => {
|
|
|
4166
4276
|
}
|
|
4167
4277
|
return entries;
|
|
4168
4278
|
}, "se_Overrides");
|
|
4279
|
+
var se_PerformanceFactorReferenceRequest = /* @__PURE__ */ __name((input, context) => {
|
|
4280
|
+
const entries = {};
|
|
4281
|
+
if (input[_IF] != null) {
|
|
4282
|
+
entries[_IF] = input[_IF];
|
|
4283
|
+
}
|
|
4284
|
+
return entries;
|
|
4285
|
+
}, "se_PerformanceFactorReferenceRequest");
|
|
4286
|
+
var se_PerformanceFactorReferenceSetRequest = /* @__PURE__ */ __name((input, context) => {
|
|
4287
|
+
const entries = {};
|
|
4288
|
+
let counter = 1;
|
|
4289
|
+
for (const entry of input) {
|
|
4290
|
+
if (entry === null) {
|
|
4291
|
+
continue;
|
|
4292
|
+
}
|
|
4293
|
+
const memberEntries = se_PerformanceFactorReferenceRequest(entry, context);
|
|
4294
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4295
|
+
entries[`item.${counter}.${key}`] = value;
|
|
4296
|
+
});
|
|
4297
|
+
counter++;
|
|
4298
|
+
}
|
|
4299
|
+
return entries;
|
|
4300
|
+
}, "se_PerformanceFactorReferenceSetRequest");
|
|
4169
4301
|
var se_PolicyNames = /* @__PURE__ */ __name((input, context) => {
|
|
4170
4302
|
const entries = {};
|
|
4171
4303
|
let counter = 1;
|
|
@@ -4451,8 +4583,8 @@ var se_PutScalingPolicyType = /* @__PURE__ */ __name((input, context) => {
|
|
|
4451
4583
|
if (input[_SA] != null) {
|
|
4452
4584
|
entries[_SA] = input[_SA];
|
|
4453
4585
|
}
|
|
4454
|
-
if (input[
|
|
4455
|
-
entries[
|
|
4586
|
+
if (input[_Coo] != null) {
|
|
4587
|
+
entries[_Coo] = input[_Coo];
|
|
4456
4588
|
}
|
|
4457
4589
|
if (input[_MAT] != null) {
|
|
4458
4590
|
entries[_MAT] = input[_MAT];
|
|
@@ -4506,8 +4638,8 @@ var se_PutScheduledUpdateGroupActionType = /* @__PURE__ */ __name((input, contex
|
|
|
4506
4638
|
if (input[_ET] != null) {
|
|
4507
4639
|
entries[_ET] = (0, import_smithy_client.serializeDateTime)(input[_ET]);
|
|
4508
4640
|
}
|
|
4509
|
-
if (input[
|
|
4510
|
-
entries[
|
|
4641
|
+
if (input[_Re] != null) {
|
|
4642
|
+
entries[_Re] = input[_Re];
|
|
4511
4643
|
}
|
|
4512
4644
|
if (input[_MS] != null) {
|
|
4513
4645
|
entries[_MS] = input[_MS];
|
|
@@ -4659,8 +4791,8 @@ var se_ScheduledUpdateGroupActionRequest = /* @__PURE__ */ __name((input, contex
|
|
|
4659
4791
|
if (input[_ET] != null) {
|
|
4660
4792
|
entries[_ET] = (0, import_smithy_client.serializeDateTime)(input[_ET]);
|
|
4661
4793
|
}
|
|
4662
|
-
if (input[
|
|
4663
|
-
entries[
|
|
4794
|
+
if (input[_Re] != null) {
|
|
4795
|
+
entries[_Re] = input[_Re];
|
|
4664
4796
|
}
|
|
4665
4797
|
if (input[_MS] != null) {
|
|
4666
4798
|
entries[_MS] = input[_MS];
|
|
@@ -5063,8 +5195,8 @@ var se_UpdateAutoScalingGroupType = /* @__PURE__ */ __name((input, context) => {
|
|
|
5063
5195
|
if (input[_CR] != null) {
|
|
5064
5196
|
entries[_CR] = input[_CR];
|
|
5065
5197
|
}
|
|
5066
|
-
if (input[
|
|
5067
|
-
entries[
|
|
5198
|
+
if (input[_Co] != null) {
|
|
5199
|
+
entries[_Co] = input[_Co];
|
|
5068
5200
|
}
|
|
5069
5201
|
if (input[_DCT] != null) {
|
|
5070
5202
|
entries[_DCT] = input[_DCT];
|
|
@@ -5096,6 +5228,13 @@ var se_UpdateAutoScalingGroupType = /* @__PURE__ */ __name((input, context) => {
|
|
|
5096
5228
|
if (input[_SZSV] != null) {
|
|
5097
5229
|
entries[_SZSV] = input[_SZSV];
|
|
5098
5230
|
}
|
|
5231
|
+
if (input[_CRS] != null) {
|
|
5232
|
+
const memberEntries = se_CapacityReservationSpecification(input[_CRS], context);
|
|
5233
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5234
|
+
const loc = `CapacityReservationSpecification.${key}`;
|
|
5235
|
+
entries[loc] = value;
|
|
5236
|
+
});
|
|
5237
|
+
}
|
|
5099
5238
|
return entries;
|
|
5100
5239
|
}, "se_UpdateAutoScalingGroupType");
|
|
5101
5240
|
var se_Values = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -5399,8 +5538,8 @@ var de_AutoScalingGroup = /* @__PURE__ */ __name((output, context) => {
|
|
|
5399
5538
|
if (output[_WPS] != null) {
|
|
5400
5539
|
contents[_WPS] = (0, import_smithy_client.strictParseInt32)(output[_WPS]);
|
|
5401
5540
|
}
|
|
5402
|
-
if (output[
|
|
5403
|
-
contents[
|
|
5541
|
+
if (output[_Co] != null) {
|
|
5542
|
+
contents[_Co] = (0, import_smithy_client.expectString)(output[_Co]);
|
|
5404
5543
|
}
|
|
5405
5544
|
if (output[_DCT] != null) {
|
|
5406
5545
|
contents[_DCT] = (0, import_smithy_client.expectString)(output[_DCT]);
|
|
@@ -5422,6 +5561,9 @@ var de_AutoScalingGroup = /* @__PURE__ */ __name((output, context) => {
|
|
|
5422
5561
|
if (output[_AZIP] != null) {
|
|
5423
5562
|
contents[_AZIP] = de_AvailabilityZoneImpairmentPolicy(output[_AZIP], context);
|
|
5424
5563
|
}
|
|
5564
|
+
if (output[_CRS] != null) {
|
|
5565
|
+
contents[_CRS] = de_CapacityReservationSpecification(output[_CRS], context);
|
|
5566
|
+
}
|
|
5425
5567
|
return contents;
|
|
5426
5568
|
}, "de_AutoScalingGroup");
|
|
5427
5569
|
var de_AutoScalingGroups = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -5529,6 +5671,13 @@ var de_BaselineEbsBandwidthMbpsRequest = /* @__PURE__ */ __name((output, context
|
|
|
5529
5671
|
}
|
|
5530
5672
|
return contents;
|
|
5531
5673
|
}, "de_BaselineEbsBandwidthMbpsRequest");
|
|
5674
|
+
var de_BaselinePerformanceFactorsRequest = /* @__PURE__ */ __name((output, context) => {
|
|
5675
|
+
const contents = {};
|
|
5676
|
+
if (output[_C] != null) {
|
|
5677
|
+
contents[_C] = de_CpuPerformanceFactorRequest(output[_C], context);
|
|
5678
|
+
}
|
|
5679
|
+
return contents;
|
|
5680
|
+
}, "de_BaselinePerformanceFactorsRequest");
|
|
5532
5681
|
var de_BatchDeleteScheduledActionAnswer = /* @__PURE__ */ __name((output, context) => {
|
|
5533
5682
|
const contents = {};
|
|
5534
5683
|
if (output.FailedScheduledActions === "") {
|
|
@@ -5592,6 +5741,40 @@ var de_CapacityForecast = /* @__PURE__ */ __name((output, context) => {
|
|
|
5592
5741
|
}
|
|
5593
5742
|
return contents;
|
|
5594
5743
|
}, "de_CapacityForecast");
|
|
5744
|
+
var de_CapacityReservationIds = /* @__PURE__ */ __name((output, context) => {
|
|
5745
|
+
return (output || []).filter((e) => e != null).map((entry) => {
|
|
5746
|
+
return (0, import_smithy_client.expectString)(entry);
|
|
5747
|
+
});
|
|
5748
|
+
}, "de_CapacityReservationIds");
|
|
5749
|
+
var de_CapacityReservationResourceGroupArns = /* @__PURE__ */ __name((output, context) => {
|
|
5750
|
+
return (output || []).filter((e) => e != null).map((entry) => {
|
|
5751
|
+
return (0, import_smithy_client.expectString)(entry);
|
|
5752
|
+
});
|
|
5753
|
+
}, "de_CapacityReservationResourceGroupArns");
|
|
5754
|
+
var de_CapacityReservationSpecification = /* @__PURE__ */ __name((output, context) => {
|
|
5755
|
+
const contents = {};
|
|
5756
|
+
if (output[_CRP] != null) {
|
|
5757
|
+
contents[_CRP] = (0, import_smithy_client.expectString)(output[_CRP]);
|
|
5758
|
+
}
|
|
5759
|
+
if (output[_CRT] != null) {
|
|
5760
|
+
contents[_CRT] = de_CapacityReservationTarget(output[_CRT], context);
|
|
5761
|
+
}
|
|
5762
|
+
return contents;
|
|
5763
|
+
}, "de_CapacityReservationSpecification");
|
|
5764
|
+
var de_CapacityReservationTarget = /* @__PURE__ */ __name((output, context) => {
|
|
5765
|
+
const contents = {};
|
|
5766
|
+
if (output.CapacityReservationIds === "") {
|
|
5767
|
+
contents[_CRI] = [];
|
|
5768
|
+
} else if (output[_CRI] != null && output[_CRI][_me] != null) {
|
|
5769
|
+
contents[_CRI] = de_CapacityReservationIds((0, import_smithy_client.getArrayIfSingleItem)(output[_CRI][_me]), context);
|
|
5770
|
+
}
|
|
5771
|
+
if (output.CapacityReservationResourceGroupArns === "") {
|
|
5772
|
+
contents[_CRRGA] = [];
|
|
5773
|
+
} else if (output[_CRRGA] != null && output[_CRRGA][_me] != null) {
|
|
5774
|
+
contents[_CRRGA] = de_CapacityReservationResourceGroupArns((0, import_smithy_client.getArrayIfSingleItem)(output[_CRRGA][_me]), context);
|
|
5775
|
+
}
|
|
5776
|
+
return contents;
|
|
5777
|
+
}, "de_CapacityReservationTarget");
|
|
5595
5778
|
var de_CheckpointPercentages = /* @__PURE__ */ __name((output, context) => {
|
|
5596
5779
|
return (output || []).filter((e) => e != null).map((entry) => {
|
|
5597
5780
|
return (0, import_smithy_client.strictParseInt32)(entry);
|
|
@@ -5611,6 +5794,15 @@ var de_CpuManufacturers = /* @__PURE__ */ __name((output, context) => {
|
|
|
5611
5794
|
return (0, import_smithy_client.expectString)(entry);
|
|
5612
5795
|
});
|
|
5613
5796
|
}, "de_CpuManufacturers");
|
|
5797
|
+
var de_CpuPerformanceFactorRequest = /* @__PURE__ */ __name((output, context) => {
|
|
5798
|
+
const contents = {};
|
|
5799
|
+
if (output.Reference === "") {
|
|
5800
|
+
contents[_R] = [];
|
|
5801
|
+
} else if (output[_Ref] != null && output[_Ref][_i] != null) {
|
|
5802
|
+
contents[_R] = de_PerformanceFactorReferenceSetRequest((0, import_smithy_client.getArrayIfSingleItem)(output[_Ref][_i]), context);
|
|
5803
|
+
}
|
|
5804
|
+
return contents;
|
|
5805
|
+
}, "de_CpuPerformanceFactorRequest");
|
|
5614
5806
|
var de_CustomizedMetricSpecification = /* @__PURE__ */ __name((output, context) => {
|
|
5615
5807
|
const contents = {};
|
|
5616
5808
|
if (output[_MN] != null) {
|
|
@@ -6160,6 +6352,9 @@ var de_InstanceRequirements = /* @__PURE__ */ __name((output, context) => {
|
|
|
6160
6352
|
} else if (output[_AIT] != null && output[_AIT][_me] != null) {
|
|
6161
6353
|
contents[_AIT] = de_AllowedInstanceTypes((0, import_smithy_client.getArrayIfSingleItem)(output[_AIT][_me]), context);
|
|
6162
6354
|
}
|
|
6355
|
+
if (output[_BPF] != null) {
|
|
6356
|
+
contents[_BPF] = de_BaselinePerformanceFactorsRequest(output[_BPF], context);
|
|
6357
|
+
}
|
|
6163
6358
|
return contents;
|
|
6164
6359
|
}, "de_InstanceRequirements");
|
|
6165
6360
|
var de_InstanceReusePolicy = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -6607,6 +6802,18 @@ var de_Overrides = /* @__PURE__ */ __name((output, context) => {
|
|
|
6607
6802
|
return de_LaunchTemplateOverrides(entry, context);
|
|
6608
6803
|
});
|
|
6609
6804
|
}, "de_Overrides");
|
|
6805
|
+
var de_PerformanceFactorReferenceRequest = /* @__PURE__ */ __name((output, context) => {
|
|
6806
|
+
const contents = {};
|
|
6807
|
+
if (output[_IF] != null) {
|
|
6808
|
+
contents[_IF] = (0, import_smithy_client.expectString)(output[_IF]);
|
|
6809
|
+
}
|
|
6810
|
+
return contents;
|
|
6811
|
+
}, "de_PerformanceFactorReferenceRequest");
|
|
6812
|
+
var de_PerformanceFactorReferenceSetRequest = /* @__PURE__ */ __name((output, context) => {
|
|
6813
|
+
return (output || []).filter((e) => e != null).map((entry) => {
|
|
6814
|
+
return de_PerformanceFactorReferenceRequest(entry, context);
|
|
6815
|
+
});
|
|
6816
|
+
}, "de_PerformanceFactorReferenceSetRequest");
|
|
6610
6817
|
var de_PoliciesType = /* @__PURE__ */ __name((output, context) => {
|
|
6611
6818
|
const contents = {};
|
|
6612
6819
|
if (output.ScalingPolicies === "") {
|
|
@@ -6909,8 +7116,8 @@ var de_ScalingPolicy = /* @__PURE__ */ __name((output, context) => {
|
|
|
6909
7116
|
if (output[_SA] != null) {
|
|
6910
7117
|
contents[_SA] = (0, import_smithy_client.strictParseInt32)(output[_SA]);
|
|
6911
7118
|
}
|
|
6912
|
-
if (output[
|
|
6913
|
-
contents[
|
|
7119
|
+
if (output[_Coo] != null) {
|
|
7120
|
+
contents[_Coo] = (0, import_smithy_client.strictParseInt32)(output[_Coo]);
|
|
6914
7121
|
}
|
|
6915
7122
|
if (output.StepAdjustments === "") {
|
|
6916
7123
|
contents[_SAt] = [];
|
|
@@ -6971,8 +7178,8 @@ var de_ScheduledUpdateGroupAction = /* @__PURE__ */ __name((output, context) =>
|
|
|
6971
7178
|
if (output[_ET] != null) {
|
|
6972
7179
|
contents[_ET] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_ET]));
|
|
6973
7180
|
}
|
|
6974
|
-
if (output[
|
|
6975
|
-
contents[
|
|
7181
|
+
if (output[_Re] != null) {
|
|
7182
|
+
contents[_Re] = (0, import_smithy_client.expectString)(output[_Re]);
|
|
6976
7183
|
}
|
|
6977
7184
|
if (output[_MS] != null) {
|
|
6978
7185
|
contents[_MS] = (0, import_smithy_client.strictParseInt32)(output[_MS]);
|
|
@@ -7291,10 +7498,11 @@ var _BDSA = "BatchDeleteScheduledAction";
|
|
|
7291
7498
|
var _BEBM = "BaselineEbsBandwidthMbps";
|
|
7292
7499
|
var _BM = "BareMetal";
|
|
7293
7500
|
var _BP = "BurstablePerformance";
|
|
7501
|
+
var _BPF = "BaselinePerformanceFactors";
|
|
7294
7502
|
var _BPSUGA = "BatchPutScheduledUpdateGroupAction";
|
|
7295
7503
|
var _BT = "BreachThreshold";
|
|
7296
7504
|
var _BTa = "BakeTime";
|
|
7297
|
-
var _C = "
|
|
7505
|
+
var _C = "Cpu";
|
|
7298
7506
|
var _CASG = "CreateAutoScalingGroup";
|
|
7299
7507
|
var _CCMS = "CustomizedCapacityMetricSpecification";
|
|
7300
7508
|
var _CD = "CheckpointDelay";
|
|
@@ -7311,10 +7519,16 @@ var _CMS = "CustomizedMetricSpecification";
|
|
|
7311
7519
|
var _COUT = "CreateOrUpdateTags";
|
|
7312
7520
|
var _CP = "CheckpointPercentages";
|
|
7313
7521
|
var _CR = "CapacityRebalance";
|
|
7522
|
+
var _CRI = "CapacityReservationIds";
|
|
7523
|
+
var _CRP = "CapacityReservationPreference";
|
|
7524
|
+
var _CRRGA = "CapacityReservationResourceGroupArns";
|
|
7525
|
+
var _CRS = "CapacityReservationSpecification";
|
|
7526
|
+
var _CRT = "CapacityReservationTarget";
|
|
7314
7527
|
var _CSMS = "CustomizedScalingMetricSpecification";
|
|
7315
7528
|
var _CT = "CreatedTime";
|
|
7316
7529
|
var _Ca = "Cause";
|
|
7317
|
-
var _Co = "
|
|
7530
|
+
var _Co = "Context";
|
|
7531
|
+
var _Coo = "Cooldown";
|
|
7318
7532
|
var _D = "Dimensions";
|
|
7319
7533
|
var _DAL = "DescribeAccountLimits";
|
|
7320
7534
|
var _DASG = "DeleteAutoScalingGroup";
|
|
@@ -7395,6 +7609,7 @@ var _HTe = "HeartbeatTimeout";
|
|
|
7395
7609
|
var _I = "Iops";
|
|
7396
7610
|
var _ID = "InstancesDistribution";
|
|
7397
7611
|
var _IDG = "IncludeDeletedGroups";
|
|
7612
|
+
var _IF = "InstanceFamily";
|
|
7398
7613
|
var _IG = "InstanceGenerations";
|
|
7399
7614
|
var _II = "InstanceIds";
|
|
7400
7615
|
var _IIP = "IamInstanceProfile";
|
|
@@ -7526,7 +7741,7 @@ var _PTol = "PolicyType";
|
|
|
7526
7741
|
var _PWP = "PutWarmPool";
|
|
7527
7742
|
var _Pr = "Progress";
|
|
7528
7743
|
var _Pro = "Processes";
|
|
7529
|
-
var _R = "
|
|
7744
|
+
var _R = "References";
|
|
7530
7745
|
var _RARN = "RoleARN";
|
|
7531
7746
|
var _RD = "ReturnData";
|
|
7532
7747
|
var _RDo = "RollbackDetails";
|
|
@@ -7541,6 +7756,8 @@ var _RP = "ResumeProcesses";
|
|
|
7541
7756
|
var _RR = "RollbackReason";
|
|
7542
7757
|
var _RST = "RollbackStartTime";
|
|
7543
7758
|
var _RT = "ResourceType";
|
|
7759
|
+
var _Re = "Recurrence";
|
|
7760
|
+
var _Ref = "Reference";
|
|
7544
7761
|
var _S = "Statistic";
|
|
7545
7762
|
var _SA = "ScalingAdjustment";
|
|
7546
7763
|
var _SAARN = "ScheduledActionARN";
|
|
@@ -7614,6 +7831,7 @@ var _WPC = "WarmPoolConfiguration";
|
|
|
7614
7831
|
var _WPP = "WarmPoolProgress";
|
|
7615
7832
|
var _WPS = "WarmPoolSize";
|
|
7616
7833
|
var _ZSE = "ZonalShiftEnabled";
|
|
7834
|
+
var _i = "item";
|
|
7617
7835
|
var _m = "message";
|
|
7618
7836
|
var _me = "member";
|
|
7619
7837
|
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 +9122,7 @@ var waitUntilGroupNotExists = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
8904
9122
|
LimitExceededFault,
|
|
8905
9123
|
CapacityDistributionStrategy,
|
|
8906
9124
|
ImpairedZoneHealthCheckBehavior,
|
|
9125
|
+
CapacityReservationPreference,
|
|
8907
9126
|
BareMetal,
|
|
8908
9127
|
BurstablePerformance,
|
|
8909
9128
|
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",
|