@aws-sdk/client-auto-scaling 3.686.0 → 3.691.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 +39 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_query.js +33 -0
- package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +3 -0
- package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +3 -0
- package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +553 -498
- package/dist-types/ts3.4/models/models_0.d.ts +528 -498
- package/package.json +7 -7
package/dist-cjs/index.js
CHANGED
|
@@ -38,6 +38,7 @@ __export(src_exports, {
|
|
|
38
38
|
BatchPutScheduledUpdateGroupActionCommand: () => BatchPutScheduledUpdateGroupActionCommand,
|
|
39
39
|
BurstablePerformance: () => BurstablePerformance,
|
|
40
40
|
CancelInstanceRefreshCommand: () => CancelInstanceRefreshCommand,
|
|
41
|
+
CapacityDistributionStrategy: () => CapacityDistributionStrategy,
|
|
41
42
|
CompleteLifecycleActionCommand: () => CompleteLifecycleActionCommand,
|
|
42
43
|
CpuManufacturer: () => CpuManufacturer,
|
|
43
44
|
CreateAutoScalingGroupCommand: () => CreateAutoScalingGroupCommand,
|
|
@@ -433,6 +434,10 @@ var _LimitExceededFault = class _LimitExceededFault extends AutoScalingServiceEx
|
|
|
433
434
|
};
|
|
434
435
|
__name(_LimitExceededFault, "LimitExceededFault");
|
|
435
436
|
var LimitExceededFault = _LimitExceededFault;
|
|
437
|
+
var CapacityDistributionStrategy = {
|
|
438
|
+
BALANCED_BEST_EFFORT: "balanced-best-effort",
|
|
439
|
+
BALANCED_ONLY: "balanced-only"
|
|
440
|
+
};
|
|
436
441
|
var BareMetal = {
|
|
437
442
|
EXCLUDED: "excluded",
|
|
438
443
|
INCLUDED: "included",
|
|
@@ -2444,6 +2449,13 @@ var se_AutoScalingNotificationTypes = /* @__PURE__ */ __name((input, context) =>
|
|
|
2444
2449
|
}
|
|
2445
2450
|
return entries;
|
|
2446
2451
|
}, "se_AutoScalingNotificationTypes");
|
|
2452
|
+
var se_AvailabilityZoneDistribution = /* @__PURE__ */ __name((input, context) => {
|
|
2453
|
+
const entries = {};
|
|
2454
|
+
if (input[_CDS] != null) {
|
|
2455
|
+
entries[_CDS] = input[_CDS];
|
|
2456
|
+
}
|
|
2457
|
+
return entries;
|
|
2458
|
+
}, "se_AvailabilityZoneDistribution");
|
|
2447
2459
|
var se_AvailabilityZones = /* @__PURE__ */ __name((input, context) => {
|
|
2448
2460
|
const entries = {};
|
|
2449
2461
|
let counter = 1;
|
|
@@ -2747,6 +2759,13 @@ var se_CreateAutoScalingGroupType = /* @__PURE__ */ __name((input, context) => {
|
|
|
2747
2759
|
entries[loc] = value;
|
|
2748
2760
|
});
|
|
2749
2761
|
}
|
|
2762
|
+
if (input[_AZD] != null) {
|
|
2763
|
+
const memberEntries = se_AvailabilityZoneDistribution(input[_AZD], context);
|
|
2764
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2765
|
+
const loc = `AvailabilityZoneDistribution.${key}`;
|
|
2766
|
+
entries[loc] = value;
|
|
2767
|
+
});
|
|
2768
|
+
}
|
|
2750
2769
|
return entries;
|
|
2751
2770
|
}, "se_CreateAutoScalingGroupType");
|
|
2752
2771
|
var se_CreateLaunchConfigurationType = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -5032,6 +5051,13 @@ var se_UpdateAutoScalingGroupType = /* @__PURE__ */ __name((input, context) => {
|
|
|
5032
5051
|
entries[loc] = value;
|
|
5033
5052
|
});
|
|
5034
5053
|
}
|
|
5054
|
+
if (input[_AZD] != null) {
|
|
5055
|
+
const memberEntries = se_AvailabilityZoneDistribution(input[_AZD], context);
|
|
5056
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5057
|
+
const loc = `AvailabilityZoneDistribution.${key}`;
|
|
5058
|
+
entries[loc] = value;
|
|
5059
|
+
});
|
|
5060
|
+
}
|
|
5035
5061
|
return entries;
|
|
5036
5062
|
}, "se_UpdateAutoScalingGroupType");
|
|
5037
5063
|
var se_Values = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -5352,6 +5378,9 @@ var de_AutoScalingGroup = /* @__PURE__ */ __name((output, context) => {
|
|
|
5352
5378
|
if (output[_IMP] != null) {
|
|
5353
5379
|
contents[_IMP] = de_InstanceMaintenancePolicy(output[_IMP], context);
|
|
5354
5380
|
}
|
|
5381
|
+
if (output[_AZD] != null) {
|
|
5382
|
+
contents[_AZD] = de_AvailabilityZoneDistribution(output[_AZD], context);
|
|
5383
|
+
}
|
|
5355
5384
|
return contents;
|
|
5356
5385
|
}, "de_AutoScalingGroup");
|
|
5357
5386
|
var de_AutoScalingGroups = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -5427,6 +5456,13 @@ var de_AutoScalingNotificationTypes = /* @__PURE__ */ __name((output, context) =
|
|
|
5427
5456
|
return (0, import_smithy_client.expectString)(entry);
|
|
5428
5457
|
});
|
|
5429
5458
|
}, "de_AutoScalingNotificationTypes");
|
|
5459
|
+
var de_AvailabilityZoneDistribution = /* @__PURE__ */ __name((output, context) => {
|
|
5460
|
+
const contents = {};
|
|
5461
|
+
if (output[_CDS] != null) {
|
|
5462
|
+
contents[_CDS] = (0, import_smithy_client.expectString)(output[_CDS]);
|
|
5463
|
+
}
|
|
5464
|
+
return contents;
|
|
5465
|
+
}, "de_AvailabilityZoneDistribution");
|
|
5430
5466
|
var de_AvailabilityZones = /* @__PURE__ */ __name((output, context) => {
|
|
5431
5467
|
return (output || []).filter((e) => e != null).map((entry) => {
|
|
5432
5468
|
return (0, import_smithy_client.expectString)(entry);
|
|
@@ -7193,6 +7229,7 @@ var _ATS = "AttachTrafficSources";
|
|
|
7193
7229
|
var _ATd = "AdjustmentType";
|
|
7194
7230
|
var _ATdj = "AdjustmentTypes";
|
|
7195
7231
|
var _AZ = "AvailabilityZones";
|
|
7232
|
+
var _AZD = "AvailabilityZoneDistribution";
|
|
7196
7233
|
var _AZv = "AvailabilityZone";
|
|
7197
7234
|
var _Ac = "Activities";
|
|
7198
7235
|
var _Act = "Activity";
|
|
@@ -7209,6 +7246,7 @@ var _C = "Context";
|
|
|
7209
7246
|
var _CASG = "CreateAutoScalingGroup";
|
|
7210
7247
|
var _CCMS = "CustomizedCapacityMetricSpecification";
|
|
7211
7248
|
var _CD = "CheckpointDelay";
|
|
7249
|
+
var _CDS = "CapacityDistributionStrategy";
|
|
7212
7250
|
var _CF = "CapacityForecast";
|
|
7213
7251
|
var _CIR = "CancelInstanceRefresh";
|
|
7214
7252
|
var _CLA = "CompleteLifecycleAction";
|
|
@@ -8809,6 +8847,7 @@ var waitUntilGroupNotExists = /* @__PURE__ */ __name(async (params, input) => {
|
|
|
8809
8847
|
ResourceContentionFault,
|
|
8810
8848
|
ServiceLinkedRoleFailure,
|
|
8811
8849
|
LimitExceededFault,
|
|
8850
|
+
CapacityDistributionStrategy,
|
|
8812
8851
|
BareMetal,
|
|
8813
8852
|
BurstablePerformance,
|
|
8814
8853
|
CpuManufacturer,
|
|
@@ -94,6 +94,10 @@ export class LimitExceededFault extends __BaseException {
|
|
|
94
94
|
Object.setPrototypeOf(this, LimitExceededFault.prototype);
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
+
export const CapacityDistributionStrategy = {
|
|
98
|
+
BALANCED_BEST_EFFORT: "balanced-best-effort",
|
|
99
|
+
BALANCED_ONLY: "balanced-only",
|
|
100
|
+
};
|
|
97
101
|
export const BareMetal = {
|
|
98
102
|
EXCLUDED: "excluded",
|
|
99
103
|
INCLUDED: "included",
|
|
@@ -1788,6 +1788,13 @@ const se_AutoScalingNotificationTypes = (input, context) => {
|
|
|
1788
1788
|
}
|
|
1789
1789
|
return entries;
|
|
1790
1790
|
};
|
|
1791
|
+
const se_AvailabilityZoneDistribution = (input, context) => {
|
|
1792
|
+
const entries = {};
|
|
1793
|
+
if (input[_CDS] != null) {
|
|
1794
|
+
entries[_CDS] = input[_CDS];
|
|
1795
|
+
}
|
|
1796
|
+
return entries;
|
|
1797
|
+
};
|
|
1791
1798
|
const se_AvailabilityZones = (input, context) => {
|
|
1792
1799
|
const entries = {};
|
|
1793
1800
|
let counter = 1;
|
|
@@ -2088,6 +2095,13 @@ const se_CreateAutoScalingGroupType = (input, context) => {
|
|
|
2088
2095
|
entries[loc] = value;
|
|
2089
2096
|
});
|
|
2090
2097
|
}
|
|
2098
|
+
if (input[_AZD] != null) {
|
|
2099
|
+
const memberEntries = se_AvailabilityZoneDistribution(input[_AZD], context);
|
|
2100
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
2101
|
+
const loc = `AvailabilityZoneDistribution.${key}`;
|
|
2102
|
+
entries[loc] = value;
|
|
2103
|
+
});
|
|
2104
|
+
}
|
|
2091
2105
|
return entries;
|
|
2092
2106
|
};
|
|
2093
2107
|
const se_CreateLaunchConfigurationType = (input, context) => {
|
|
@@ -4338,6 +4352,13 @@ const se_UpdateAutoScalingGroupType = (input, context) => {
|
|
|
4338
4352
|
entries[loc] = value;
|
|
4339
4353
|
});
|
|
4340
4354
|
}
|
|
4355
|
+
if (input[_AZD] != null) {
|
|
4356
|
+
const memberEntries = se_AvailabilityZoneDistribution(input[_AZD], context);
|
|
4357
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4358
|
+
const loc = `AvailabilityZoneDistribution.${key}`;
|
|
4359
|
+
entries[loc] = value;
|
|
4360
|
+
});
|
|
4361
|
+
}
|
|
4341
4362
|
return entries;
|
|
4342
4363
|
};
|
|
4343
4364
|
const se_Values = (input, context) => {
|
|
@@ -4685,6 +4706,9 @@ const de_AutoScalingGroup = (output, context) => {
|
|
|
4685
4706
|
if (output[_IMP] != null) {
|
|
4686
4707
|
contents[_IMP] = de_InstanceMaintenancePolicy(output[_IMP], context);
|
|
4687
4708
|
}
|
|
4709
|
+
if (output[_AZD] != null) {
|
|
4710
|
+
contents[_AZD] = de_AvailabilityZoneDistribution(output[_AZD], context);
|
|
4711
|
+
}
|
|
4688
4712
|
return contents;
|
|
4689
4713
|
};
|
|
4690
4714
|
const de_AutoScalingGroups = (output, context) => {
|
|
@@ -4768,6 +4792,13 @@ const de_AutoScalingNotificationTypes = (output, context) => {
|
|
|
4768
4792
|
return __expectString(entry);
|
|
4769
4793
|
});
|
|
4770
4794
|
};
|
|
4795
|
+
const de_AvailabilityZoneDistribution = (output, context) => {
|
|
4796
|
+
const contents = {};
|
|
4797
|
+
if (output[_CDS] != null) {
|
|
4798
|
+
contents[_CDS] = __expectString(output[_CDS]);
|
|
4799
|
+
}
|
|
4800
|
+
return contents;
|
|
4801
|
+
};
|
|
4771
4802
|
const de_AvailabilityZones = (output, context) => {
|
|
4772
4803
|
return (output || [])
|
|
4773
4804
|
.filter((e) => e != null)
|
|
@@ -6661,6 +6692,7 @@ const _ATS = "AttachTrafficSources";
|
|
|
6661
6692
|
const _ATd = "AdjustmentType";
|
|
6662
6693
|
const _ATdj = "AdjustmentTypes";
|
|
6663
6694
|
const _AZ = "AvailabilityZones";
|
|
6695
|
+
const _AZD = "AvailabilityZoneDistribution";
|
|
6664
6696
|
const _AZv = "AvailabilityZone";
|
|
6665
6697
|
const _Ac = "Activities";
|
|
6666
6698
|
const _Act = "Activity";
|
|
@@ -6677,6 +6709,7 @@ const _C = "Context";
|
|
|
6677
6709
|
const _CASG = "CreateAutoScalingGroup";
|
|
6678
6710
|
const _CCMS = "CustomizedCapacityMetricSpecification";
|
|
6679
6711
|
const _CD = "CheckpointDelay";
|
|
6712
|
+
const _CDS = "CapacityDistributionStrategy";
|
|
6680
6713
|
const _CF = "CapacityForecast";
|
|
6681
6714
|
const _CIR = "CancelInstanceRefresh";
|
|
6682
6715
|
const _CLA = "CompleteLifecycleAction";
|
|
@@ -207,6 +207,9 @@ declare const CreateAutoScalingGroupCommand_base: {
|
|
|
207
207
|
* MinHealthyPercentage: Number("int"),
|
|
208
208
|
* MaxHealthyPercentage: Number("int"),
|
|
209
209
|
* },
|
|
210
|
+
* AvailabilityZoneDistribution: { // AvailabilityZoneDistribution
|
|
211
|
+
* CapacityDistributionStrategy: "balanced-only" || "balanced-best-effort",
|
|
212
|
+
* },
|
|
210
213
|
* };
|
|
211
214
|
* const command = new CreateAutoScalingGroupCommand(input);
|
|
212
215
|
* const response = await client.send(command);
|
|
@@ -246,6 +246,9 @@ declare const DescribeAutoScalingGroupsCommand_base: {
|
|
|
246
246
|
* // MinHealthyPercentage: Number("int"),
|
|
247
247
|
* // MaxHealthyPercentage: Number("int"),
|
|
248
248
|
* // },
|
|
249
|
+
* // AvailabilityZoneDistribution: { // AvailabilityZoneDistribution
|
|
250
|
+
* // CapacityDistributionStrategy: "balanced-only" || "balanced-best-effort",
|
|
251
|
+
* // },
|
|
249
252
|
* // },
|
|
250
253
|
* // ],
|
|
251
254
|
* // NextToken: "STRING_VALUE",
|
|
@@ -203,6 +203,9 @@ declare const UpdateAutoScalingGroupCommand_base: {
|
|
|
203
203
|
* MinHealthyPercentage: Number("int"),
|
|
204
204
|
* MaxHealthyPercentage: Number("int"),
|
|
205
205
|
* },
|
|
206
|
+
* AvailabilityZoneDistribution: { // AvailabilityZoneDistribution
|
|
207
|
+
* CapacityDistributionStrategy: "balanced-only" || "balanced-best-effort",
|
|
208
|
+
* },
|
|
206
209
|
* };
|
|
207
210
|
* const command = new UpdateAutoScalingGroupCommand(input);
|
|
208
211
|
* const response = await client.send(command);
|