@aws-sdk/client-auto-scaling 3.36.1 → 3.40.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/CHANGELOG.md +45 -0
- package/dist-cjs/commands/index.js +64 -0
- package/dist-cjs/endpoints.js +72 -6
- package/dist-cjs/index.js +5 -75
- package/dist-cjs/models/models_0.js +121 -10
- package/dist-cjs/pagination/index.js +12 -0
- package/dist-cjs/protocols/Aws_query.js +621 -0
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-cjs/waiters/index.js +6 -0
- package/dist-es/commands/index.js +61 -0
- package/dist-es/endpoints.js +72 -6
- package/dist-es/index.js +5 -75
- package/dist-es/models/models_0.js +97 -4
- package/dist-es/pagination/index.js +9 -0
- package/dist-es/protocols/Aws_query.js +922 -207
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-es/waiters/index.js +3 -0
- package/dist-types/AutoScaling.d.ts +8 -2
- package/dist-types/AutoScalingClient.d.ts +10 -0
- package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +5 -1
- package/dist-types/commands/index.d.ts +61 -0
- package/dist-types/index.d.ts +5 -75
- package/dist-types/models/models_0.d.ts +672 -125
- package/dist-types/pagination/index.d.ts +9 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/AutoScalingClient.d.ts +4 -0
- package/dist-types/ts3.4/commands/index.d.ts +61 -0
- package/dist-types/ts3.4/index.d.ts +5 -75
- package/dist-types/ts3.4/models/models_0.d.ts +206 -11
- package/dist-types/ts3.4/pagination/index.d.ts +9 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/waiters/index.d.ts +3 -0
- package/dist-types/waiters/index.d.ts +3 -0
- package/package.json +33 -33
|
@@ -2264,6 +2264,14 @@ const deserializeAws_queryDescribeLoadBalancersCommandError = async (output, con
|
|
|
2264
2264
|
let errorCode = "UnknownError";
|
|
2265
2265
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2266
2266
|
switch (errorCode) {
|
|
2267
|
+
case "InvalidNextToken":
|
|
2268
|
+
case "com.amazonaws.autoscaling#InvalidNextToken":
|
|
2269
|
+
response = {
|
|
2270
|
+
...(await deserializeAws_queryInvalidNextTokenResponse(parsedOutput, context)),
|
|
2271
|
+
name: errorCode,
|
|
2272
|
+
$metadata: deserializeMetadata(output),
|
|
2273
|
+
};
|
|
2274
|
+
break;
|
|
2267
2275
|
case "ResourceContentionFault":
|
|
2268
2276
|
case "com.amazonaws.autoscaling#ResourceContentionFault":
|
|
2269
2277
|
response = {
|
|
@@ -2311,6 +2319,14 @@ const deserializeAws_queryDescribeLoadBalancerTargetGroupsCommandError = async (
|
|
|
2311
2319
|
let errorCode = "UnknownError";
|
|
2312
2320
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2313
2321
|
switch (errorCode) {
|
|
2322
|
+
case "InvalidNextToken":
|
|
2323
|
+
case "com.amazonaws.autoscaling#InvalidNextToken":
|
|
2324
|
+
response = {
|
|
2325
|
+
...(await deserializeAws_queryInvalidNextTokenResponse(parsedOutput, context)),
|
|
2326
|
+
name: errorCode,
|
|
2327
|
+
$metadata: deserializeMetadata(output),
|
|
2328
|
+
};
|
|
2329
|
+
break;
|
|
2314
2330
|
case "ResourceContentionFault":
|
|
2315
2331
|
case "com.amazonaws.autoscaling#ResourceContentionFault":
|
|
2316
2332
|
response = {
|
|
@@ -4116,6 +4132,62 @@ const deserializeAws_queryServiceLinkedRoleFailureResponse = async (parsedOutput
|
|
|
4116
4132
|
};
|
|
4117
4133
|
return contents;
|
|
4118
4134
|
};
|
|
4135
|
+
const serializeAws_queryAcceleratorCountRequest = (input, context) => {
|
|
4136
|
+
const entries = {};
|
|
4137
|
+
if (input.Min !== undefined && input.Min !== null) {
|
|
4138
|
+
entries["Min"] = input.Min;
|
|
4139
|
+
}
|
|
4140
|
+
if (input.Max !== undefined && input.Max !== null) {
|
|
4141
|
+
entries["Max"] = input.Max;
|
|
4142
|
+
}
|
|
4143
|
+
return entries;
|
|
4144
|
+
};
|
|
4145
|
+
const serializeAws_queryAcceleratorManufacturers = (input, context) => {
|
|
4146
|
+
const entries = {};
|
|
4147
|
+
let counter = 1;
|
|
4148
|
+
for (const entry of input) {
|
|
4149
|
+
if (entry === null) {
|
|
4150
|
+
continue;
|
|
4151
|
+
}
|
|
4152
|
+
entries[`member.${counter}`] = entry;
|
|
4153
|
+
counter++;
|
|
4154
|
+
}
|
|
4155
|
+
return entries;
|
|
4156
|
+
};
|
|
4157
|
+
const serializeAws_queryAcceleratorNames = (input, context) => {
|
|
4158
|
+
const entries = {};
|
|
4159
|
+
let counter = 1;
|
|
4160
|
+
for (const entry of input) {
|
|
4161
|
+
if (entry === null) {
|
|
4162
|
+
continue;
|
|
4163
|
+
}
|
|
4164
|
+
entries[`member.${counter}`] = entry;
|
|
4165
|
+
counter++;
|
|
4166
|
+
}
|
|
4167
|
+
return entries;
|
|
4168
|
+
};
|
|
4169
|
+
const serializeAws_queryAcceleratorTotalMemoryMiBRequest = (input, context) => {
|
|
4170
|
+
const entries = {};
|
|
4171
|
+
if (input.Min !== undefined && input.Min !== null) {
|
|
4172
|
+
entries["Min"] = input.Min;
|
|
4173
|
+
}
|
|
4174
|
+
if (input.Max !== undefined && input.Max !== null) {
|
|
4175
|
+
entries["Max"] = input.Max;
|
|
4176
|
+
}
|
|
4177
|
+
return entries;
|
|
4178
|
+
};
|
|
4179
|
+
const serializeAws_queryAcceleratorTypes = (input, context) => {
|
|
4180
|
+
const entries = {};
|
|
4181
|
+
let counter = 1;
|
|
4182
|
+
for (const entry of input) {
|
|
4183
|
+
if (entry === null) {
|
|
4184
|
+
continue;
|
|
4185
|
+
}
|
|
4186
|
+
entries[`member.${counter}`] = entry;
|
|
4187
|
+
counter++;
|
|
4188
|
+
}
|
|
4189
|
+
return entries;
|
|
4190
|
+
};
|
|
4119
4191
|
const serializeAws_queryActivityIds = (input, context) => {
|
|
4120
4192
|
const entries = {};
|
|
4121
4193
|
let counter = 1;
|
|
@@ -4197,6 +4269,13 @@ const serializeAws_queryAutoScalingGroupNamesType = (input, context) => {
|
|
|
4197
4269
|
if (input.MaxRecords !== undefined && input.MaxRecords !== null) {
|
|
4198
4270
|
entries["MaxRecords"] = input.MaxRecords;
|
|
4199
4271
|
}
|
|
4272
|
+
if (input.Filters !== undefined && input.Filters !== null) {
|
|
4273
|
+
const memberEntries = serializeAws_queryFilters(input.Filters, context);
|
|
4274
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
4275
|
+
const loc = `Filters.${key}`;
|
|
4276
|
+
entries[loc] = value;
|
|
4277
|
+
});
|
|
4278
|
+
}
|
|
4200
4279
|
return entries;
|
|
4201
4280
|
};
|
|
4202
4281
|
const serializeAws_queryAutoScalingNotificationTypes = (input, context) => {
|
|
@@ -4223,6 +4302,16 @@ const serializeAws_queryAvailabilityZones = (input, context) => {
|
|
|
4223
4302
|
}
|
|
4224
4303
|
return entries;
|
|
4225
4304
|
};
|
|
4305
|
+
const serializeAws_queryBaselineEbsBandwidthMbpsRequest = (input, context) => {
|
|
4306
|
+
const entries = {};
|
|
4307
|
+
if (input.Min !== undefined && input.Min !== null) {
|
|
4308
|
+
entries["Min"] = input.Min;
|
|
4309
|
+
}
|
|
4310
|
+
if (input.Max !== undefined && input.Max !== null) {
|
|
4311
|
+
entries["Max"] = input.Max;
|
|
4312
|
+
}
|
|
4313
|
+
return entries;
|
|
4314
|
+
};
|
|
4226
4315
|
const serializeAws_queryBatchDeleteScheduledActionType = (input, context) => {
|
|
4227
4316
|
const entries = {};
|
|
4228
4317
|
if (input.AutoScalingGroupName !== undefined && input.AutoScalingGroupName !== null) {
|
|
@@ -4336,6 +4425,18 @@ const serializeAws_queryCompleteLifecycleActionType = (input, context) => {
|
|
|
4336
4425
|
}
|
|
4337
4426
|
return entries;
|
|
4338
4427
|
};
|
|
4428
|
+
const serializeAws_queryCpuManufacturers = (input, context) => {
|
|
4429
|
+
const entries = {};
|
|
4430
|
+
let counter = 1;
|
|
4431
|
+
for (const entry of input) {
|
|
4432
|
+
if (entry === null) {
|
|
4433
|
+
continue;
|
|
4434
|
+
}
|
|
4435
|
+
entries[`member.${counter}`] = entry;
|
|
4436
|
+
counter++;
|
|
4437
|
+
}
|
|
4438
|
+
return entries;
|
|
4439
|
+
};
|
|
4339
4440
|
const serializeAws_queryCreateAutoScalingGroupType = (input, context) => {
|
|
4340
4441
|
const entries = {};
|
|
4341
4442
|
if (input.AutoScalingGroupName !== undefined && input.AutoScalingGroupName !== null) {
|
|
@@ -4442,6 +4543,9 @@ const serializeAws_queryCreateAutoScalingGroupType = (input, context) => {
|
|
|
4442
4543
|
if (input.Context !== undefined && input.Context !== null) {
|
|
4443
4544
|
entries["Context"] = input.Context;
|
|
4444
4545
|
}
|
|
4546
|
+
if (input.DesiredCapacityType !== undefined && input.DesiredCapacityType !== null) {
|
|
4547
|
+
entries["DesiredCapacityType"] = input.DesiredCapacityType;
|
|
4548
|
+
}
|
|
4445
4549
|
return entries;
|
|
4446
4550
|
};
|
|
4447
4551
|
const serializeAws_queryCreateLaunchConfigurationType = (input, context) => {
|
|
@@ -4966,6 +5070,18 @@ const serializeAws_queryEnterStandbyQuery = (input, context) => {
|
|
|
4966
5070
|
}
|
|
4967
5071
|
return entries;
|
|
4968
5072
|
};
|
|
5073
|
+
const serializeAws_queryExcludedInstanceTypes = (input, context) => {
|
|
5074
|
+
const entries = {};
|
|
5075
|
+
let counter = 1;
|
|
5076
|
+
for (const entry of input) {
|
|
5077
|
+
if (entry === null) {
|
|
5078
|
+
continue;
|
|
5079
|
+
}
|
|
5080
|
+
entries[`member.${counter}`] = entry;
|
|
5081
|
+
counter++;
|
|
5082
|
+
}
|
|
5083
|
+
return entries;
|
|
5084
|
+
};
|
|
4969
5085
|
const serializeAws_queryExecutePolicyType = (input, context) => {
|
|
4970
5086
|
const entries = {};
|
|
4971
5087
|
if (input.AutoScalingGroupName !== undefined && input.AutoScalingGroupName !== null) {
|
|
@@ -5044,6 +5160,18 @@ const serializeAws_queryGetPredictiveScalingForecastType = (input, context) => {
|
|
|
5044
5160
|
}
|
|
5045
5161
|
return entries;
|
|
5046
5162
|
};
|
|
5163
|
+
const serializeAws_queryInstanceGenerations = (input, context) => {
|
|
5164
|
+
const entries = {};
|
|
5165
|
+
let counter = 1;
|
|
5166
|
+
for (const entry of input) {
|
|
5167
|
+
if (entry === null) {
|
|
5168
|
+
continue;
|
|
5169
|
+
}
|
|
5170
|
+
entries[`member.${counter}`] = entry;
|
|
5171
|
+
counter++;
|
|
5172
|
+
}
|
|
5173
|
+
return entries;
|
|
5174
|
+
};
|
|
5047
5175
|
const serializeAws_queryInstanceIds = (input, context) => {
|
|
5048
5176
|
const entries = {};
|
|
5049
5177
|
let counter = 1;
|
|
@@ -5088,6 +5216,135 @@ const serializeAws_queryInstanceRefreshIds = (input, context) => {
|
|
|
5088
5216
|
}
|
|
5089
5217
|
return entries;
|
|
5090
5218
|
};
|
|
5219
|
+
const serializeAws_queryInstanceRequirements = (input, context) => {
|
|
5220
|
+
const entries = {};
|
|
5221
|
+
if (input.VCpuCount !== undefined && input.VCpuCount !== null) {
|
|
5222
|
+
const memberEntries = serializeAws_queryVCpuCountRequest(input.VCpuCount, context);
|
|
5223
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5224
|
+
const loc = `VCpuCount.${key}`;
|
|
5225
|
+
entries[loc] = value;
|
|
5226
|
+
});
|
|
5227
|
+
}
|
|
5228
|
+
if (input.MemoryMiB !== undefined && input.MemoryMiB !== null) {
|
|
5229
|
+
const memberEntries = serializeAws_queryMemoryMiBRequest(input.MemoryMiB, context);
|
|
5230
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5231
|
+
const loc = `MemoryMiB.${key}`;
|
|
5232
|
+
entries[loc] = value;
|
|
5233
|
+
});
|
|
5234
|
+
}
|
|
5235
|
+
if (input.CpuManufacturers !== undefined && input.CpuManufacturers !== null) {
|
|
5236
|
+
const memberEntries = serializeAws_queryCpuManufacturers(input.CpuManufacturers, context);
|
|
5237
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5238
|
+
const loc = `CpuManufacturers.${key}`;
|
|
5239
|
+
entries[loc] = value;
|
|
5240
|
+
});
|
|
5241
|
+
}
|
|
5242
|
+
if (input.MemoryGiBPerVCpu !== undefined && input.MemoryGiBPerVCpu !== null) {
|
|
5243
|
+
const memberEntries = serializeAws_queryMemoryGiBPerVCpuRequest(input.MemoryGiBPerVCpu, context);
|
|
5244
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5245
|
+
const loc = `MemoryGiBPerVCpu.${key}`;
|
|
5246
|
+
entries[loc] = value;
|
|
5247
|
+
});
|
|
5248
|
+
}
|
|
5249
|
+
if (input.ExcludedInstanceTypes !== undefined && input.ExcludedInstanceTypes !== null) {
|
|
5250
|
+
const memberEntries = serializeAws_queryExcludedInstanceTypes(input.ExcludedInstanceTypes, context);
|
|
5251
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5252
|
+
const loc = `ExcludedInstanceTypes.${key}`;
|
|
5253
|
+
entries[loc] = value;
|
|
5254
|
+
});
|
|
5255
|
+
}
|
|
5256
|
+
if (input.InstanceGenerations !== undefined && input.InstanceGenerations !== null) {
|
|
5257
|
+
const memberEntries = serializeAws_queryInstanceGenerations(input.InstanceGenerations, context);
|
|
5258
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5259
|
+
const loc = `InstanceGenerations.${key}`;
|
|
5260
|
+
entries[loc] = value;
|
|
5261
|
+
});
|
|
5262
|
+
}
|
|
5263
|
+
if (input.SpotMaxPricePercentageOverLowestPrice !== undefined &&
|
|
5264
|
+
input.SpotMaxPricePercentageOverLowestPrice !== null) {
|
|
5265
|
+
entries["SpotMaxPricePercentageOverLowestPrice"] = input.SpotMaxPricePercentageOverLowestPrice;
|
|
5266
|
+
}
|
|
5267
|
+
if (input.OnDemandMaxPricePercentageOverLowestPrice !== undefined &&
|
|
5268
|
+
input.OnDemandMaxPricePercentageOverLowestPrice !== null) {
|
|
5269
|
+
entries["OnDemandMaxPricePercentageOverLowestPrice"] = input.OnDemandMaxPricePercentageOverLowestPrice;
|
|
5270
|
+
}
|
|
5271
|
+
if (input.BareMetal !== undefined && input.BareMetal !== null) {
|
|
5272
|
+
entries["BareMetal"] = input.BareMetal;
|
|
5273
|
+
}
|
|
5274
|
+
if (input.BurstablePerformance !== undefined && input.BurstablePerformance !== null) {
|
|
5275
|
+
entries["BurstablePerformance"] = input.BurstablePerformance;
|
|
5276
|
+
}
|
|
5277
|
+
if (input.RequireHibernateSupport !== undefined && input.RequireHibernateSupport !== null) {
|
|
5278
|
+
entries["RequireHibernateSupport"] = input.RequireHibernateSupport;
|
|
5279
|
+
}
|
|
5280
|
+
if (input.NetworkInterfaceCount !== undefined && input.NetworkInterfaceCount !== null) {
|
|
5281
|
+
const memberEntries = serializeAws_queryNetworkInterfaceCountRequest(input.NetworkInterfaceCount, context);
|
|
5282
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5283
|
+
const loc = `NetworkInterfaceCount.${key}`;
|
|
5284
|
+
entries[loc] = value;
|
|
5285
|
+
});
|
|
5286
|
+
}
|
|
5287
|
+
if (input.LocalStorage !== undefined && input.LocalStorage !== null) {
|
|
5288
|
+
entries["LocalStorage"] = input.LocalStorage;
|
|
5289
|
+
}
|
|
5290
|
+
if (input.LocalStorageTypes !== undefined && input.LocalStorageTypes !== null) {
|
|
5291
|
+
const memberEntries = serializeAws_queryLocalStorageTypes(input.LocalStorageTypes, context);
|
|
5292
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5293
|
+
const loc = `LocalStorageTypes.${key}`;
|
|
5294
|
+
entries[loc] = value;
|
|
5295
|
+
});
|
|
5296
|
+
}
|
|
5297
|
+
if (input.TotalLocalStorageGB !== undefined && input.TotalLocalStorageGB !== null) {
|
|
5298
|
+
const memberEntries = serializeAws_queryTotalLocalStorageGBRequest(input.TotalLocalStorageGB, context);
|
|
5299
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5300
|
+
const loc = `TotalLocalStorageGB.${key}`;
|
|
5301
|
+
entries[loc] = value;
|
|
5302
|
+
});
|
|
5303
|
+
}
|
|
5304
|
+
if (input.BaselineEbsBandwidthMbps !== undefined && input.BaselineEbsBandwidthMbps !== null) {
|
|
5305
|
+
const memberEntries = serializeAws_queryBaselineEbsBandwidthMbpsRequest(input.BaselineEbsBandwidthMbps, context);
|
|
5306
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5307
|
+
const loc = `BaselineEbsBandwidthMbps.${key}`;
|
|
5308
|
+
entries[loc] = value;
|
|
5309
|
+
});
|
|
5310
|
+
}
|
|
5311
|
+
if (input.AcceleratorTypes !== undefined && input.AcceleratorTypes !== null) {
|
|
5312
|
+
const memberEntries = serializeAws_queryAcceleratorTypes(input.AcceleratorTypes, context);
|
|
5313
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5314
|
+
const loc = `AcceleratorTypes.${key}`;
|
|
5315
|
+
entries[loc] = value;
|
|
5316
|
+
});
|
|
5317
|
+
}
|
|
5318
|
+
if (input.AcceleratorCount !== undefined && input.AcceleratorCount !== null) {
|
|
5319
|
+
const memberEntries = serializeAws_queryAcceleratorCountRequest(input.AcceleratorCount, context);
|
|
5320
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5321
|
+
const loc = `AcceleratorCount.${key}`;
|
|
5322
|
+
entries[loc] = value;
|
|
5323
|
+
});
|
|
5324
|
+
}
|
|
5325
|
+
if (input.AcceleratorManufacturers !== undefined && input.AcceleratorManufacturers !== null) {
|
|
5326
|
+
const memberEntries = serializeAws_queryAcceleratorManufacturers(input.AcceleratorManufacturers, context);
|
|
5327
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5328
|
+
const loc = `AcceleratorManufacturers.${key}`;
|
|
5329
|
+
entries[loc] = value;
|
|
5330
|
+
});
|
|
5331
|
+
}
|
|
5332
|
+
if (input.AcceleratorNames !== undefined && input.AcceleratorNames !== null) {
|
|
5333
|
+
const memberEntries = serializeAws_queryAcceleratorNames(input.AcceleratorNames, context);
|
|
5334
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5335
|
+
const loc = `AcceleratorNames.${key}`;
|
|
5336
|
+
entries[loc] = value;
|
|
5337
|
+
});
|
|
5338
|
+
}
|
|
5339
|
+
if (input.AcceleratorTotalMemoryMiB !== undefined && input.AcceleratorTotalMemoryMiB !== null) {
|
|
5340
|
+
const memberEntries = serializeAws_queryAcceleratorTotalMemoryMiBRequest(input.AcceleratorTotalMemoryMiB, context);
|
|
5341
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5342
|
+
const loc = `AcceleratorTotalMemoryMiB.${key}`;
|
|
5343
|
+
entries[loc] = value;
|
|
5344
|
+
});
|
|
5345
|
+
}
|
|
5346
|
+
return entries;
|
|
5347
|
+
};
|
|
5091
5348
|
const serializeAws_queryInstancesDistribution = (input, context) => {
|
|
5092
5349
|
const entries = {};
|
|
5093
5350
|
if (input.OnDemandAllocationStrategy !== undefined && input.OnDemandAllocationStrategy !== null) {
|
|
@@ -5179,6 +5436,13 @@ const serializeAws_queryLaunchTemplateOverrides = (input, context) => {
|
|
|
5179
5436
|
entries[loc] = value;
|
|
5180
5437
|
});
|
|
5181
5438
|
}
|
|
5439
|
+
if (input.InstanceRequirements !== undefined && input.InstanceRequirements !== null) {
|
|
5440
|
+
const memberEntries = serializeAws_queryInstanceRequirements(input.InstanceRequirements, context);
|
|
5441
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5442
|
+
const loc = `InstanceRequirements.${key}`;
|
|
5443
|
+
entries[loc] = value;
|
|
5444
|
+
});
|
|
5445
|
+
}
|
|
5182
5446
|
return entries;
|
|
5183
5447
|
};
|
|
5184
5448
|
const serializeAws_queryLaunchTemplateSpecification = (input, context) => {
|
|
@@ -5258,6 +5522,38 @@ const serializeAws_queryLoadBalancerNames = (input, context) => {
|
|
|
5258
5522
|
}
|
|
5259
5523
|
return entries;
|
|
5260
5524
|
};
|
|
5525
|
+
const serializeAws_queryLocalStorageTypes = (input, context) => {
|
|
5526
|
+
const entries = {};
|
|
5527
|
+
let counter = 1;
|
|
5528
|
+
for (const entry of input) {
|
|
5529
|
+
if (entry === null) {
|
|
5530
|
+
continue;
|
|
5531
|
+
}
|
|
5532
|
+
entries[`member.${counter}`] = entry;
|
|
5533
|
+
counter++;
|
|
5534
|
+
}
|
|
5535
|
+
return entries;
|
|
5536
|
+
};
|
|
5537
|
+
const serializeAws_queryMemoryGiBPerVCpuRequest = (input, context) => {
|
|
5538
|
+
const entries = {};
|
|
5539
|
+
if (input.Min !== undefined && input.Min !== null) {
|
|
5540
|
+
entries["Min"] = smithy_client_1.serializeFloat(input.Min);
|
|
5541
|
+
}
|
|
5542
|
+
if (input.Max !== undefined && input.Max !== null) {
|
|
5543
|
+
entries["Max"] = smithy_client_1.serializeFloat(input.Max);
|
|
5544
|
+
}
|
|
5545
|
+
return entries;
|
|
5546
|
+
};
|
|
5547
|
+
const serializeAws_queryMemoryMiBRequest = (input, context) => {
|
|
5548
|
+
const entries = {};
|
|
5549
|
+
if (input.Min !== undefined && input.Min !== null) {
|
|
5550
|
+
entries["Min"] = input.Min;
|
|
5551
|
+
}
|
|
5552
|
+
if (input.Max !== undefined && input.Max !== null) {
|
|
5553
|
+
entries["Max"] = input.Max;
|
|
5554
|
+
}
|
|
5555
|
+
return entries;
|
|
5556
|
+
};
|
|
5261
5557
|
const serializeAws_queryMetricDimension = (input, context) => {
|
|
5262
5558
|
const entries = {};
|
|
5263
5559
|
if (input.Name !== undefined && input.Name !== null) {
|
|
@@ -5313,6 +5609,16 @@ const serializeAws_queryMixedInstancesPolicy = (input, context) => {
|
|
|
5313
5609
|
}
|
|
5314
5610
|
return entries;
|
|
5315
5611
|
};
|
|
5612
|
+
const serializeAws_queryNetworkInterfaceCountRequest = (input, context) => {
|
|
5613
|
+
const entries = {};
|
|
5614
|
+
if (input.Min !== undefined && input.Min !== null) {
|
|
5615
|
+
entries["Min"] = input.Min;
|
|
5616
|
+
}
|
|
5617
|
+
if (input.Max !== undefined && input.Max !== null) {
|
|
5618
|
+
entries["Max"] = input.Max;
|
|
5619
|
+
}
|
|
5620
|
+
return entries;
|
|
5621
|
+
};
|
|
5316
5622
|
const serializeAws_queryOverrides = (input, context) => {
|
|
5317
5623
|
const entries = {};
|
|
5318
5624
|
let counter = 1;
|
|
@@ -5930,6 +6236,16 @@ const serializeAws_queryTerminationPolicies = (input, context) => {
|
|
|
5930
6236
|
}
|
|
5931
6237
|
return entries;
|
|
5932
6238
|
};
|
|
6239
|
+
const serializeAws_queryTotalLocalStorageGBRequest = (input, context) => {
|
|
6240
|
+
const entries = {};
|
|
6241
|
+
if (input.Min !== undefined && input.Min !== null) {
|
|
6242
|
+
entries["Min"] = smithy_client_1.serializeFloat(input.Min);
|
|
6243
|
+
}
|
|
6244
|
+
if (input.Max !== undefined && input.Max !== null) {
|
|
6245
|
+
entries["Max"] = smithy_client_1.serializeFloat(input.Max);
|
|
6246
|
+
}
|
|
6247
|
+
return entries;
|
|
6248
|
+
};
|
|
5933
6249
|
const serializeAws_queryUpdateAutoScalingGroupType = (input, context) => {
|
|
5934
6250
|
const entries = {};
|
|
5935
6251
|
if (input.AutoScalingGroupName !== undefined && input.AutoScalingGroupName !== null) {
|
|
@@ -6005,6 +6321,9 @@ const serializeAws_queryUpdateAutoScalingGroupType = (input, context) => {
|
|
|
6005
6321
|
if (input.Context !== undefined && input.Context !== null) {
|
|
6006
6322
|
entries["Context"] = input.Context;
|
|
6007
6323
|
}
|
|
6324
|
+
if (input.DesiredCapacityType !== undefined && input.DesiredCapacityType !== null) {
|
|
6325
|
+
entries["DesiredCapacityType"] = input.DesiredCapacityType;
|
|
6326
|
+
}
|
|
6008
6327
|
return entries;
|
|
6009
6328
|
};
|
|
6010
6329
|
const serializeAws_queryValues = (input, context) => {
|
|
@@ -6019,6 +6338,72 @@ const serializeAws_queryValues = (input, context) => {
|
|
|
6019
6338
|
}
|
|
6020
6339
|
return entries;
|
|
6021
6340
|
};
|
|
6341
|
+
const serializeAws_queryVCpuCountRequest = (input, context) => {
|
|
6342
|
+
const entries = {};
|
|
6343
|
+
if (input.Min !== undefined && input.Min !== null) {
|
|
6344
|
+
entries["Min"] = input.Min;
|
|
6345
|
+
}
|
|
6346
|
+
if (input.Max !== undefined && input.Max !== null) {
|
|
6347
|
+
entries["Max"] = input.Max;
|
|
6348
|
+
}
|
|
6349
|
+
return entries;
|
|
6350
|
+
};
|
|
6351
|
+
const deserializeAws_queryAcceleratorCountRequest = (output, context) => {
|
|
6352
|
+
const contents = {
|
|
6353
|
+
Min: undefined,
|
|
6354
|
+
Max: undefined,
|
|
6355
|
+
};
|
|
6356
|
+
if (output["Min"] !== undefined) {
|
|
6357
|
+
contents.Min = smithy_client_1.strictParseInt32(output["Min"]);
|
|
6358
|
+
}
|
|
6359
|
+
if (output["Max"] !== undefined) {
|
|
6360
|
+
contents.Max = smithy_client_1.strictParseInt32(output["Max"]);
|
|
6361
|
+
}
|
|
6362
|
+
return contents;
|
|
6363
|
+
};
|
|
6364
|
+
const deserializeAws_queryAcceleratorManufacturers = (output, context) => {
|
|
6365
|
+
return (output || [])
|
|
6366
|
+
.filter((e) => e != null)
|
|
6367
|
+
.map((entry) => {
|
|
6368
|
+
if (entry === null) {
|
|
6369
|
+
return null;
|
|
6370
|
+
}
|
|
6371
|
+
return smithy_client_1.expectString(entry);
|
|
6372
|
+
});
|
|
6373
|
+
};
|
|
6374
|
+
const deserializeAws_queryAcceleratorNames = (output, context) => {
|
|
6375
|
+
return (output || [])
|
|
6376
|
+
.filter((e) => e != null)
|
|
6377
|
+
.map((entry) => {
|
|
6378
|
+
if (entry === null) {
|
|
6379
|
+
return null;
|
|
6380
|
+
}
|
|
6381
|
+
return smithy_client_1.expectString(entry);
|
|
6382
|
+
});
|
|
6383
|
+
};
|
|
6384
|
+
const deserializeAws_queryAcceleratorTotalMemoryMiBRequest = (output, context) => {
|
|
6385
|
+
const contents = {
|
|
6386
|
+
Min: undefined,
|
|
6387
|
+
Max: undefined,
|
|
6388
|
+
};
|
|
6389
|
+
if (output["Min"] !== undefined) {
|
|
6390
|
+
contents.Min = smithy_client_1.strictParseInt32(output["Min"]);
|
|
6391
|
+
}
|
|
6392
|
+
if (output["Max"] !== undefined) {
|
|
6393
|
+
contents.Max = smithy_client_1.strictParseInt32(output["Max"]);
|
|
6394
|
+
}
|
|
6395
|
+
return contents;
|
|
6396
|
+
};
|
|
6397
|
+
const deserializeAws_queryAcceleratorTypes = (output, context) => {
|
|
6398
|
+
return (output || [])
|
|
6399
|
+
.filter((e) => e != null)
|
|
6400
|
+
.map((entry) => {
|
|
6401
|
+
if (entry === null) {
|
|
6402
|
+
return null;
|
|
6403
|
+
}
|
|
6404
|
+
return smithy_client_1.expectString(entry);
|
|
6405
|
+
});
|
|
6406
|
+
};
|
|
6022
6407
|
const deserializeAws_queryActiveInstanceRefreshNotFoundFault = (output, context) => {
|
|
6023
6408
|
const contents = {
|
|
6024
6409
|
message: undefined,
|
|
@@ -6208,6 +6593,7 @@ const deserializeAws_queryAutoScalingGroup = (output, context) => {
|
|
|
6208
6593
|
WarmPoolConfiguration: undefined,
|
|
6209
6594
|
WarmPoolSize: undefined,
|
|
6210
6595
|
Context: undefined,
|
|
6596
|
+
DesiredCapacityType: undefined,
|
|
6211
6597
|
};
|
|
6212
6598
|
if (output["AutoScalingGroupName"] !== undefined) {
|
|
6213
6599
|
contents.AutoScalingGroupName = smithy_client_1.expectString(output["AutoScalingGroupName"]);
|
|
@@ -6326,6 +6712,9 @@ const deserializeAws_queryAutoScalingGroup = (output, context) => {
|
|
|
6326
6712
|
if (output["Context"] !== undefined) {
|
|
6327
6713
|
contents.Context = smithy_client_1.expectString(output["Context"]);
|
|
6328
6714
|
}
|
|
6715
|
+
if (output["DesiredCapacityType"] !== undefined) {
|
|
6716
|
+
contents.DesiredCapacityType = smithy_client_1.expectString(output["DesiredCapacityType"]);
|
|
6717
|
+
}
|
|
6329
6718
|
return contents;
|
|
6330
6719
|
};
|
|
6331
6720
|
const deserializeAws_queryAutoScalingGroups = (output, context) => {
|
|
@@ -6445,6 +6834,19 @@ const deserializeAws_queryAvailabilityZones = (output, context) => {
|
|
|
6445
6834
|
return smithy_client_1.expectString(entry);
|
|
6446
6835
|
});
|
|
6447
6836
|
};
|
|
6837
|
+
const deserializeAws_queryBaselineEbsBandwidthMbpsRequest = (output, context) => {
|
|
6838
|
+
const contents = {
|
|
6839
|
+
Min: undefined,
|
|
6840
|
+
Max: undefined,
|
|
6841
|
+
};
|
|
6842
|
+
if (output["Min"] !== undefined) {
|
|
6843
|
+
contents.Min = smithy_client_1.strictParseInt32(output["Min"]);
|
|
6844
|
+
}
|
|
6845
|
+
if (output["Max"] !== undefined) {
|
|
6846
|
+
contents.Max = smithy_client_1.strictParseInt32(output["Max"]);
|
|
6847
|
+
}
|
|
6848
|
+
return contents;
|
|
6849
|
+
};
|
|
6448
6850
|
const deserializeAws_queryBatchDeleteScheduledActionAnswer = (output, context) => {
|
|
6449
6851
|
const contents = {
|
|
6450
6852
|
FailedScheduledActions: undefined,
|
|
@@ -6553,6 +6955,16 @@ const deserializeAws_queryCompleteLifecycleActionAnswer = (output, context) => {
|
|
|
6553
6955
|
const contents = {};
|
|
6554
6956
|
return contents;
|
|
6555
6957
|
};
|
|
6958
|
+
const deserializeAws_queryCpuManufacturers = (output, context) => {
|
|
6959
|
+
return (output || [])
|
|
6960
|
+
.filter((e) => e != null)
|
|
6961
|
+
.map((entry) => {
|
|
6962
|
+
if (entry === null) {
|
|
6963
|
+
return null;
|
|
6964
|
+
}
|
|
6965
|
+
return smithy_client_1.expectString(entry);
|
|
6966
|
+
});
|
|
6967
|
+
};
|
|
6556
6968
|
const deserializeAws_queryCustomizedMetricSpecification = (output, context) => {
|
|
6557
6969
|
const contents = {
|
|
6558
6970
|
MetricName: undefined,
|
|
@@ -6876,6 +7288,16 @@ const deserializeAws_queryEnterStandbyAnswer = (output, context) => {
|
|
|
6876
7288
|
}
|
|
6877
7289
|
return contents;
|
|
6878
7290
|
};
|
|
7291
|
+
const deserializeAws_queryExcludedInstanceTypes = (output, context) => {
|
|
7292
|
+
return (output || [])
|
|
7293
|
+
.filter((e) => e != null)
|
|
7294
|
+
.map((entry) => {
|
|
7295
|
+
if (entry === null) {
|
|
7296
|
+
return null;
|
|
7297
|
+
}
|
|
7298
|
+
return smithy_client_1.expectString(entry);
|
|
7299
|
+
});
|
|
7300
|
+
};
|
|
6879
7301
|
const deserializeAws_queryExitStandbyAnswer = (output, context) => {
|
|
6880
7302
|
const contents = {
|
|
6881
7303
|
Activities: undefined,
|
|
@@ -6976,6 +7398,16 @@ const deserializeAws_queryInstance = (output, context) => {
|
|
|
6976
7398
|
}
|
|
6977
7399
|
return contents;
|
|
6978
7400
|
};
|
|
7401
|
+
const deserializeAws_queryInstanceGenerations = (output, context) => {
|
|
7402
|
+
return (output || [])
|
|
7403
|
+
.filter((e) => e != null)
|
|
7404
|
+
.map((entry) => {
|
|
7405
|
+
if (entry === null) {
|
|
7406
|
+
return null;
|
|
7407
|
+
}
|
|
7408
|
+
return smithy_client_1.expectString(entry);
|
|
7409
|
+
});
|
|
7410
|
+
};
|
|
6979
7411
|
const deserializeAws_queryInstanceMetadataOptions = (output, context) => {
|
|
6980
7412
|
const contents = {
|
|
6981
7413
|
HttpTokens: undefined,
|
|
@@ -7109,6 +7541,116 @@ const deserializeAws_queryInstanceRefreshWarmPoolProgress = (output, context) =>
|
|
|
7109
7541
|
}
|
|
7110
7542
|
return contents;
|
|
7111
7543
|
};
|
|
7544
|
+
const deserializeAws_queryInstanceRequirements = (output, context) => {
|
|
7545
|
+
const contents = {
|
|
7546
|
+
VCpuCount: undefined,
|
|
7547
|
+
MemoryMiB: undefined,
|
|
7548
|
+
CpuManufacturers: undefined,
|
|
7549
|
+
MemoryGiBPerVCpu: undefined,
|
|
7550
|
+
ExcludedInstanceTypes: undefined,
|
|
7551
|
+
InstanceGenerations: undefined,
|
|
7552
|
+
SpotMaxPricePercentageOverLowestPrice: undefined,
|
|
7553
|
+
OnDemandMaxPricePercentageOverLowestPrice: undefined,
|
|
7554
|
+
BareMetal: undefined,
|
|
7555
|
+
BurstablePerformance: undefined,
|
|
7556
|
+
RequireHibernateSupport: undefined,
|
|
7557
|
+
NetworkInterfaceCount: undefined,
|
|
7558
|
+
LocalStorage: undefined,
|
|
7559
|
+
LocalStorageTypes: undefined,
|
|
7560
|
+
TotalLocalStorageGB: undefined,
|
|
7561
|
+
BaselineEbsBandwidthMbps: undefined,
|
|
7562
|
+
AcceleratorTypes: undefined,
|
|
7563
|
+
AcceleratorCount: undefined,
|
|
7564
|
+
AcceleratorManufacturers: undefined,
|
|
7565
|
+
AcceleratorNames: undefined,
|
|
7566
|
+
AcceleratorTotalMemoryMiB: undefined,
|
|
7567
|
+
};
|
|
7568
|
+
if (output["VCpuCount"] !== undefined) {
|
|
7569
|
+
contents.VCpuCount = deserializeAws_queryVCpuCountRequest(output["VCpuCount"], context);
|
|
7570
|
+
}
|
|
7571
|
+
if (output["MemoryMiB"] !== undefined) {
|
|
7572
|
+
contents.MemoryMiB = deserializeAws_queryMemoryMiBRequest(output["MemoryMiB"], context);
|
|
7573
|
+
}
|
|
7574
|
+
if (output.CpuManufacturers === "") {
|
|
7575
|
+
contents.CpuManufacturers = [];
|
|
7576
|
+
}
|
|
7577
|
+
if (output["CpuManufacturers"] !== undefined && output["CpuManufacturers"]["member"] !== undefined) {
|
|
7578
|
+
contents.CpuManufacturers = deserializeAws_queryCpuManufacturers(smithy_client_1.getArrayIfSingleItem(output["CpuManufacturers"]["member"]), context);
|
|
7579
|
+
}
|
|
7580
|
+
if (output["MemoryGiBPerVCpu"] !== undefined) {
|
|
7581
|
+
contents.MemoryGiBPerVCpu = deserializeAws_queryMemoryGiBPerVCpuRequest(output["MemoryGiBPerVCpu"], context);
|
|
7582
|
+
}
|
|
7583
|
+
if (output.ExcludedInstanceTypes === "") {
|
|
7584
|
+
contents.ExcludedInstanceTypes = [];
|
|
7585
|
+
}
|
|
7586
|
+
if (output["ExcludedInstanceTypes"] !== undefined && output["ExcludedInstanceTypes"]["member"] !== undefined) {
|
|
7587
|
+
contents.ExcludedInstanceTypes = deserializeAws_queryExcludedInstanceTypes(smithy_client_1.getArrayIfSingleItem(output["ExcludedInstanceTypes"]["member"]), context);
|
|
7588
|
+
}
|
|
7589
|
+
if (output.InstanceGenerations === "") {
|
|
7590
|
+
contents.InstanceGenerations = [];
|
|
7591
|
+
}
|
|
7592
|
+
if (output["InstanceGenerations"] !== undefined && output["InstanceGenerations"]["member"] !== undefined) {
|
|
7593
|
+
contents.InstanceGenerations = deserializeAws_queryInstanceGenerations(smithy_client_1.getArrayIfSingleItem(output["InstanceGenerations"]["member"]), context);
|
|
7594
|
+
}
|
|
7595
|
+
if (output["SpotMaxPricePercentageOverLowestPrice"] !== undefined) {
|
|
7596
|
+
contents.SpotMaxPricePercentageOverLowestPrice = smithy_client_1.strictParseInt32(output["SpotMaxPricePercentageOverLowestPrice"]);
|
|
7597
|
+
}
|
|
7598
|
+
if (output["OnDemandMaxPricePercentageOverLowestPrice"] !== undefined) {
|
|
7599
|
+
contents.OnDemandMaxPricePercentageOverLowestPrice = smithy_client_1.strictParseInt32(output["OnDemandMaxPricePercentageOverLowestPrice"]);
|
|
7600
|
+
}
|
|
7601
|
+
if (output["BareMetal"] !== undefined) {
|
|
7602
|
+
contents.BareMetal = smithy_client_1.expectString(output["BareMetal"]);
|
|
7603
|
+
}
|
|
7604
|
+
if (output["BurstablePerformance"] !== undefined) {
|
|
7605
|
+
contents.BurstablePerformance = smithy_client_1.expectString(output["BurstablePerformance"]);
|
|
7606
|
+
}
|
|
7607
|
+
if (output["RequireHibernateSupport"] !== undefined) {
|
|
7608
|
+
contents.RequireHibernateSupport = smithy_client_1.parseBoolean(output["RequireHibernateSupport"]);
|
|
7609
|
+
}
|
|
7610
|
+
if (output["NetworkInterfaceCount"] !== undefined) {
|
|
7611
|
+
contents.NetworkInterfaceCount = deserializeAws_queryNetworkInterfaceCountRequest(output["NetworkInterfaceCount"], context);
|
|
7612
|
+
}
|
|
7613
|
+
if (output["LocalStorage"] !== undefined) {
|
|
7614
|
+
contents.LocalStorage = smithy_client_1.expectString(output["LocalStorage"]);
|
|
7615
|
+
}
|
|
7616
|
+
if (output.LocalStorageTypes === "") {
|
|
7617
|
+
contents.LocalStorageTypes = [];
|
|
7618
|
+
}
|
|
7619
|
+
if (output["LocalStorageTypes"] !== undefined && output["LocalStorageTypes"]["member"] !== undefined) {
|
|
7620
|
+
contents.LocalStorageTypes = deserializeAws_queryLocalStorageTypes(smithy_client_1.getArrayIfSingleItem(output["LocalStorageTypes"]["member"]), context);
|
|
7621
|
+
}
|
|
7622
|
+
if (output["TotalLocalStorageGB"] !== undefined) {
|
|
7623
|
+
contents.TotalLocalStorageGB = deserializeAws_queryTotalLocalStorageGBRequest(output["TotalLocalStorageGB"], context);
|
|
7624
|
+
}
|
|
7625
|
+
if (output["BaselineEbsBandwidthMbps"] !== undefined) {
|
|
7626
|
+
contents.BaselineEbsBandwidthMbps = deserializeAws_queryBaselineEbsBandwidthMbpsRequest(output["BaselineEbsBandwidthMbps"], context);
|
|
7627
|
+
}
|
|
7628
|
+
if (output.AcceleratorTypes === "") {
|
|
7629
|
+
contents.AcceleratorTypes = [];
|
|
7630
|
+
}
|
|
7631
|
+
if (output["AcceleratorTypes"] !== undefined && output["AcceleratorTypes"]["member"] !== undefined) {
|
|
7632
|
+
contents.AcceleratorTypes = deserializeAws_queryAcceleratorTypes(smithy_client_1.getArrayIfSingleItem(output["AcceleratorTypes"]["member"]), context);
|
|
7633
|
+
}
|
|
7634
|
+
if (output["AcceleratorCount"] !== undefined) {
|
|
7635
|
+
contents.AcceleratorCount = deserializeAws_queryAcceleratorCountRequest(output["AcceleratorCount"], context);
|
|
7636
|
+
}
|
|
7637
|
+
if (output.AcceleratorManufacturers === "") {
|
|
7638
|
+
contents.AcceleratorManufacturers = [];
|
|
7639
|
+
}
|
|
7640
|
+
if (output["AcceleratorManufacturers"] !== undefined && output["AcceleratorManufacturers"]["member"] !== undefined) {
|
|
7641
|
+
contents.AcceleratorManufacturers = deserializeAws_queryAcceleratorManufacturers(smithy_client_1.getArrayIfSingleItem(output["AcceleratorManufacturers"]["member"]), context);
|
|
7642
|
+
}
|
|
7643
|
+
if (output.AcceleratorNames === "") {
|
|
7644
|
+
contents.AcceleratorNames = [];
|
|
7645
|
+
}
|
|
7646
|
+
if (output["AcceleratorNames"] !== undefined && output["AcceleratorNames"]["member"] !== undefined) {
|
|
7647
|
+
contents.AcceleratorNames = deserializeAws_queryAcceleratorNames(smithy_client_1.getArrayIfSingleItem(output["AcceleratorNames"]["member"]), context);
|
|
7648
|
+
}
|
|
7649
|
+
if (output["AcceleratorTotalMemoryMiB"] !== undefined) {
|
|
7650
|
+
contents.AcceleratorTotalMemoryMiB = deserializeAws_queryAcceleratorTotalMemoryMiBRequest(output["AcceleratorTotalMemoryMiB"], context);
|
|
7651
|
+
}
|
|
7652
|
+
return contents;
|
|
7653
|
+
};
|
|
7112
7654
|
const deserializeAws_queryInstances = (output, context) => {
|
|
7113
7655
|
return (output || [])
|
|
7114
7656
|
.filter((e) => e != null)
|
|
@@ -7299,6 +7841,7 @@ const deserializeAws_queryLaunchTemplateOverrides = (output, context) => {
|
|
|
7299
7841
|
InstanceType: undefined,
|
|
7300
7842
|
WeightedCapacity: undefined,
|
|
7301
7843
|
LaunchTemplateSpecification: undefined,
|
|
7844
|
+
InstanceRequirements: undefined,
|
|
7302
7845
|
};
|
|
7303
7846
|
if (output["InstanceType"] !== undefined) {
|
|
7304
7847
|
contents.InstanceType = smithy_client_1.expectString(output["InstanceType"]);
|
|
@@ -7309,6 +7852,9 @@ const deserializeAws_queryLaunchTemplateOverrides = (output, context) => {
|
|
|
7309
7852
|
if (output["LaunchTemplateSpecification"] !== undefined) {
|
|
7310
7853
|
contents.LaunchTemplateSpecification = deserializeAws_queryLaunchTemplateSpecification(output["LaunchTemplateSpecification"], context);
|
|
7311
7854
|
}
|
|
7855
|
+
if (output["InstanceRequirements"] !== undefined) {
|
|
7856
|
+
contents.InstanceRequirements = deserializeAws_queryInstanceRequirements(output["InstanceRequirements"], context);
|
|
7857
|
+
}
|
|
7312
7858
|
return contents;
|
|
7313
7859
|
};
|
|
7314
7860
|
const deserializeAws_queryLaunchTemplateSpecification = (output, context) => {
|
|
@@ -7477,6 +8023,42 @@ const deserializeAws_queryLoadForecasts = (output, context) => {
|
|
|
7477
8023
|
return deserializeAws_queryLoadForecast(entry, context);
|
|
7478
8024
|
});
|
|
7479
8025
|
};
|
|
8026
|
+
const deserializeAws_queryLocalStorageTypes = (output, context) => {
|
|
8027
|
+
return (output || [])
|
|
8028
|
+
.filter((e) => e != null)
|
|
8029
|
+
.map((entry) => {
|
|
8030
|
+
if (entry === null) {
|
|
8031
|
+
return null;
|
|
8032
|
+
}
|
|
8033
|
+
return smithy_client_1.expectString(entry);
|
|
8034
|
+
});
|
|
8035
|
+
};
|
|
8036
|
+
const deserializeAws_queryMemoryGiBPerVCpuRequest = (output, context) => {
|
|
8037
|
+
const contents = {
|
|
8038
|
+
Min: undefined,
|
|
8039
|
+
Max: undefined,
|
|
8040
|
+
};
|
|
8041
|
+
if (output["Min"] !== undefined) {
|
|
8042
|
+
contents.Min = smithy_client_1.strictParseFloat(output["Min"]);
|
|
8043
|
+
}
|
|
8044
|
+
if (output["Max"] !== undefined) {
|
|
8045
|
+
contents.Max = smithy_client_1.strictParseFloat(output["Max"]);
|
|
8046
|
+
}
|
|
8047
|
+
return contents;
|
|
8048
|
+
};
|
|
8049
|
+
const deserializeAws_queryMemoryMiBRequest = (output, context) => {
|
|
8050
|
+
const contents = {
|
|
8051
|
+
Min: undefined,
|
|
8052
|
+
Max: undefined,
|
|
8053
|
+
};
|
|
8054
|
+
if (output["Min"] !== undefined) {
|
|
8055
|
+
contents.Min = smithy_client_1.strictParseInt32(output["Min"]);
|
|
8056
|
+
}
|
|
8057
|
+
if (output["Max"] !== undefined) {
|
|
8058
|
+
contents.Max = smithy_client_1.strictParseInt32(output["Max"]);
|
|
8059
|
+
}
|
|
8060
|
+
return contents;
|
|
8061
|
+
};
|
|
7480
8062
|
const deserializeAws_queryMetricCollectionType = (output, context) => {
|
|
7481
8063
|
const contents = {
|
|
7482
8064
|
Metric: undefined,
|
|
@@ -7551,6 +8133,19 @@ const deserializeAws_queryMixedInstancesPolicy = (output, context) => {
|
|
|
7551
8133
|
}
|
|
7552
8134
|
return contents;
|
|
7553
8135
|
};
|
|
8136
|
+
const deserializeAws_queryNetworkInterfaceCountRequest = (output, context) => {
|
|
8137
|
+
const contents = {
|
|
8138
|
+
Min: undefined,
|
|
8139
|
+
Max: undefined,
|
|
8140
|
+
};
|
|
8141
|
+
if (output["Min"] !== undefined) {
|
|
8142
|
+
contents.Min = smithy_client_1.strictParseInt32(output["Min"]);
|
|
8143
|
+
}
|
|
8144
|
+
if (output["Max"] !== undefined) {
|
|
8145
|
+
contents.Max = smithy_client_1.strictParseInt32(output["Max"]);
|
|
8146
|
+
}
|
|
8147
|
+
return contents;
|
|
8148
|
+
};
|
|
7554
8149
|
const deserializeAws_queryNotificationConfiguration = (output, context) => {
|
|
7555
8150
|
const contents = {
|
|
7556
8151
|
AutoScalingGroupName: undefined,
|
|
@@ -8184,6 +8779,32 @@ const deserializeAws_queryTerminationPolicies = (output, context) => {
|
|
|
8184
8779
|
return smithy_client_1.expectString(entry);
|
|
8185
8780
|
});
|
|
8186
8781
|
};
|
|
8782
|
+
const deserializeAws_queryTotalLocalStorageGBRequest = (output, context) => {
|
|
8783
|
+
const contents = {
|
|
8784
|
+
Min: undefined,
|
|
8785
|
+
Max: undefined,
|
|
8786
|
+
};
|
|
8787
|
+
if (output["Min"] !== undefined) {
|
|
8788
|
+
contents.Min = smithy_client_1.strictParseFloat(output["Min"]);
|
|
8789
|
+
}
|
|
8790
|
+
if (output["Max"] !== undefined) {
|
|
8791
|
+
contents.Max = smithy_client_1.strictParseFloat(output["Max"]);
|
|
8792
|
+
}
|
|
8793
|
+
return contents;
|
|
8794
|
+
};
|
|
8795
|
+
const deserializeAws_queryVCpuCountRequest = (output, context) => {
|
|
8796
|
+
const contents = {
|
|
8797
|
+
Min: undefined,
|
|
8798
|
+
Max: undefined,
|
|
8799
|
+
};
|
|
8800
|
+
if (output["Min"] !== undefined) {
|
|
8801
|
+
contents.Min = smithy_client_1.strictParseInt32(output["Min"]);
|
|
8802
|
+
}
|
|
8803
|
+
if (output["Max"] !== undefined) {
|
|
8804
|
+
contents.Max = smithy_client_1.strictParseInt32(output["Max"]);
|
|
8805
|
+
}
|
|
8806
|
+
return contents;
|
|
8807
|
+
};
|
|
8187
8808
|
const deserializeAws_queryWarmPoolConfiguration = (output, context) => {
|
|
8188
8809
|
const contents = {
|
|
8189
8810
|
MaxGroupPreparedCapacity: undefined,
|