@aws-sdk/client-auto-scaling 3.37.0 → 3.41.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 +79 -5
- package/dist-cjs/index.js +5 -75
- package/dist-cjs/models/models_0.js +115 -4
- package/dist-cjs/pagination/index.js +12 -0
- package/dist-cjs/protocols/Aws_query.js +598 -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 +79 -5
- package/dist-es/index.js +5 -75
- package/dist-es/models/models_0.js +93 -0
- package/dist-es/pagination/index.js +9 -0
- package/dist-es/protocols/Aws_query.js +860 -169
- 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/AutoScalingClient.d.ts +8 -0
- package/dist-types/commands/AttachInstancesCommand.d.ts +1 -1
- package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +1 -1
- package/dist-types/commands/AttachLoadBalancersCommand.d.ts +1 -1
- package/dist-types/commands/BatchDeleteScheduledActionCommand.d.ts +1 -1
- package/dist-types/commands/BatchPutScheduledUpdateGroupActionCommand.d.ts +1 -1
- package/dist-types/commands/CancelInstanceRefreshCommand.d.ts +1 -1
- package/dist-types/commands/CompleteLifecycleActionCommand.d.ts +1 -1
- package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateLaunchConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/CreateOrUpdateTagsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAutoScalingGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLaunchConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLifecycleHookCommand.d.ts +1 -1
- package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeletePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteScheduledActionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTagsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteWarmPoolCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAdjustmentTypesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAutoScalingInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAutoScalingNotificationTypesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInstanceRefreshesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLaunchConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLifecycleHookTypesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLifecycleHooksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMetricCollectionTypesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeNotificationConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/DescribePoliciesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeScalingProcessTypesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTerminationPolicyTypesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeWarmPoolCommand.d.ts +1 -1
- package/dist-types/commands/DetachInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DetachLoadBalancersCommand.d.ts +1 -1
- package/dist-types/commands/DisableMetricsCollectionCommand.d.ts +1 -1
- package/dist-types/commands/EnableMetricsCollectionCommand.d.ts +1 -1
- package/dist-types/commands/EnterStandbyCommand.d.ts +1 -1
- package/dist-types/commands/ExecutePolicyCommand.d.ts +1 -1
- package/dist-types/commands/ExitStandbyCommand.d.ts +1 -1
- package/dist-types/commands/GetPredictiveScalingForecastCommand.d.ts +1 -1
- package/dist-types/commands/PutLifecycleHookCommand.d.ts +1 -1
- package/dist-types/commands/PutNotificationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutScalingPolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutScheduledUpdateGroupActionCommand.d.ts +1 -1
- package/dist-types/commands/PutWarmPoolCommand.d.ts +1 -1
- package/dist-types/commands/RecordLifecycleActionHeartbeatCommand.d.ts +1 -1
- package/dist-types/commands/ResumeProcessesCommand.d.ts +1 -1
- package/dist-types/commands/SetDesiredCapacityCommand.d.ts +1 -1
- package/dist-types/commands/SetInstanceHealthCommand.d.ts +1 -1
- package/dist-types/commands/SetInstanceProtectionCommand.d.ts +1 -1
- package/dist-types/commands/StartInstanceRefreshCommand.d.ts +1 -1
- package/dist-types/commands/SuspendProcessesCommand.d.ts +1 -1
- package/dist-types/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +1 -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 +590 -99
- 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 +193 -0
- 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 +27 -27
|
@@ -4132,6 +4132,62 @@ const deserializeAws_queryServiceLinkedRoleFailureResponse = async (parsedOutput
|
|
|
4132
4132
|
};
|
|
4133
4133
|
return contents;
|
|
4134
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
|
+
};
|
|
4135
4191
|
const serializeAws_queryActivityIds = (input, context) => {
|
|
4136
4192
|
const entries = {};
|
|
4137
4193
|
let counter = 1;
|
|
@@ -4246,6 +4302,16 @@ const serializeAws_queryAvailabilityZones = (input, context) => {
|
|
|
4246
4302
|
}
|
|
4247
4303
|
return entries;
|
|
4248
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
|
+
};
|
|
4249
4315
|
const serializeAws_queryBatchDeleteScheduledActionType = (input, context) => {
|
|
4250
4316
|
const entries = {};
|
|
4251
4317
|
if (input.AutoScalingGroupName !== undefined && input.AutoScalingGroupName !== null) {
|
|
@@ -4359,6 +4425,18 @@ const serializeAws_queryCompleteLifecycleActionType = (input, context) => {
|
|
|
4359
4425
|
}
|
|
4360
4426
|
return entries;
|
|
4361
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
|
+
};
|
|
4362
4440
|
const serializeAws_queryCreateAutoScalingGroupType = (input, context) => {
|
|
4363
4441
|
const entries = {};
|
|
4364
4442
|
if (input.AutoScalingGroupName !== undefined && input.AutoScalingGroupName !== null) {
|
|
@@ -4465,6 +4543,9 @@ const serializeAws_queryCreateAutoScalingGroupType = (input, context) => {
|
|
|
4465
4543
|
if (input.Context !== undefined && input.Context !== null) {
|
|
4466
4544
|
entries["Context"] = input.Context;
|
|
4467
4545
|
}
|
|
4546
|
+
if (input.DesiredCapacityType !== undefined && input.DesiredCapacityType !== null) {
|
|
4547
|
+
entries["DesiredCapacityType"] = input.DesiredCapacityType;
|
|
4548
|
+
}
|
|
4468
4549
|
return entries;
|
|
4469
4550
|
};
|
|
4470
4551
|
const serializeAws_queryCreateLaunchConfigurationType = (input, context) => {
|
|
@@ -4989,6 +5070,18 @@ const serializeAws_queryEnterStandbyQuery = (input, context) => {
|
|
|
4989
5070
|
}
|
|
4990
5071
|
return entries;
|
|
4991
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
|
+
};
|
|
4992
5085
|
const serializeAws_queryExecutePolicyType = (input, context) => {
|
|
4993
5086
|
const entries = {};
|
|
4994
5087
|
if (input.AutoScalingGroupName !== undefined && input.AutoScalingGroupName !== null) {
|
|
@@ -5067,6 +5160,18 @@ const serializeAws_queryGetPredictiveScalingForecastType = (input, context) => {
|
|
|
5067
5160
|
}
|
|
5068
5161
|
return entries;
|
|
5069
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
|
+
};
|
|
5070
5175
|
const serializeAws_queryInstanceIds = (input, context) => {
|
|
5071
5176
|
const entries = {};
|
|
5072
5177
|
let counter = 1;
|
|
@@ -5111,6 +5216,135 @@ const serializeAws_queryInstanceRefreshIds = (input, context) => {
|
|
|
5111
5216
|
}
|
|
5112
5217
|
return entries;
|
|
5113
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
|
+
};
|
|
5114
5348
|
const serializeAws_queryInstancesDistribution = (input, context) => {
|
|
5115
5349
|
const entries = {};
|
|
5116
5350
|
if (input.OnDemandAllocationStrategy !== undefined && input.OnDemandAllocationStrategy !== null) {
|
|
@@ -5202,6 +5436,13 @@ const serializeAws_queryLaunchTemplateOverrides = (input, context) => {
|
|
|
5202
5436
|
entries[loc] = value;
|
|
5203
5437
|
});
|
|
5204
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
|
+
}
|
|
5205
5446
|
return entries;
|
|
5206
5447
|
};
|
|
5207
5448
|
const serializeAws_queryLaunchTemplateSpecification = (input, context) => {
|
|
@@ -5281,6 +5522,38 @@ const serializeAws_queryLoadBalancerNames = (input, context) => {
|
|
|
5281
5522
|
}
|
|
5282
5523
|
return entries;
|
|
5283
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
|
+
};
|
|
5284
5557
|
const serializeAws_queryMetricDimension = (input, context) => {
|
|
5285
5558
|
const entries = {};
|
|
5286
5559
|
if (input.Name !== undefined && input.Name !== null) {
|
|
@@ -5336,6 +5609,16 @@ const serializeAws_queryMixedInstancesPolicy = (input, context) => {
|
|
|
5336
5609
|
}
|
|
5337
5610
|
return entries;
|
|
5338
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
|
+
};
|
|
5339
5622
|
const serializeAws_queryOverrides = (input, context) => {
|
|
5340
5623
|
const entries = {};
|
|
5341
5624
|
let counter = 1;
|
|
@@ -5953,6 +6236,16 @@ const serializeAws_queryTerminationPolicies = (input, context) => {
|
|
|
5953
6236
|
}
|
|
5954
6237
|
return entries;
|
|
5955
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
|
+
};
|
|
5956
6249
|
const serializeAws_queryUpdateAutoScalingGroupType = (input, context) => {
|
|
5957
6250
|
const entries = {};
|
|
5958
6251
|
if (input.AutoScalingGroupName !== undefined && input.AutoScalingGroupName !== null) {
|
|
@@ -6028,6 +6321,9 @@ const serializeAws_queryUpdateAutoScalingGroupType = (input, context) => {
|
|
|
6028
6321
|
if (input.Context !== undefined && input.Context !== null) {
|
|
6029
6322
|
entries["Context"] = input.Context;
|
|
6030
6323
|
}
|
|
6324
|
+
if (input.DesiredCapacityType !== undefined && input.DesiredCapacityType !== null) {
|
|
6325
|
+
entries["DesiredCapacityType"] = input.DesiredCapacityType;
|
|
6326
|
+
}
|
|
6031
6327
|
return entries;
|
|
6032
6328
|
};
|
|
6033
6329
|
const serializeAws_queryValues = (input, context) => {
|
|
@@ -6042,6 +6338,72 @@ const serializeAws_queryValues = (input, context) => {
|
|
|
6042
6338
|
}
|
|
6043
6339
|
return entries;
|
|
6044
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
|
+
};
|
|
6045
6407
|
const deserializeAws_queryActiveInstanceRefreshNotFoundFault = (output, context) => {
|
|
6046
6408
|
const contents = {
|
|
6047
6409
|
message: undefined,
|
|
@@ -6231,6 +6593,7 @@ const deserializeAws_queryAutoScalingGroup = (output, context) => {
|
|
|
6231
6593
|
WarmPoolConfiguration: undefined,
|
|
6232
6594
|
WarmPoolSize: undefined,
|
|
6233
6595
|
Context: undefined,
|
|
6596
|
+
DesiredCapacityType: undefined,
|
|
6234
6597
|
};
|
|
6235
6598
|
if (output["AutoScalingGroupName"] !== undefined) {
|
|
6236
6599
|
contents.AutoScalingGroupName = smithy_client_1.expectString(output["AutoScalingGroupName"]);
|
|
@@ -6349,6 +6712,9 @@ const deserializeAws_queryAutoScalingGroup = (output, context) => {
|
|
|
6349
6712
|
if (output["Context"] !== undefined) {
|
|
6350
6713
|
contents.Context = smithy_client_1.expectString(output["Context"]);
|
|
6351
6714
|
}
|
|
6715
|
+
if (output["DesiredCapacityType"] !== undefined) {
|
|
6716
|
+
contents.DesiredCapacityType = smithy_client_1.expectString(output["DesiredCapacityType"]);
|
|
6717
|
+
}
|
|
6352
6718
|
return contents;
|
|
6353
6719
|
};
|
|
6354
6720
|
const deserializeAws_queryAutoScalingGroups = (output, context) => {
|
|
@@ -6468,6 +6834,19 @@ const deserializeAws_queryAvailabilityZones = (output, context) => {
|
|
|
6468
6834
|
return smithy_client_1.expectString(entry);
|
|
6469
6835
|
});
|
|
6470
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
|
+
};
|
|
6471
6850
|
const deserializeAws_queryBatchDeleteScheduledActionAnswer = (output, context) => {
|
|
6472
6851
|
const contents = {
|
|
6473
6852
|
FailedScheduledActions: undefined,
|
|
@@ -6576,6 +6955,16 @@ const deserializeAws_queryCompleteLifecycleActionAnswer = (output, context) => {
|
|
|
6576
6955
|
const contents = {};
|
|
6577
6956
|
return contents;
|
|
6578
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
|
+
};
|
|
6579
6968
|
const deserializeAws_queryCustomizedMetricSpecification = (output, context) => {
|
|
6580
6969
|
const contents = {
|
|
6581
6970
|
MetricName: undefined,
|
|
@@ -6899,6 +7288,16 @@ const deserializeAws_queryEnterStandbyAnswer = (output, context) => {
|
|
|
6899
7288
|
}
|
|
6900
7289
|
return contents;
|
|
6901
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
|
+
};
|
|
6902
7301
|
const deserializeAws_queryExitStandbyAnswer = (output, context) => {
|
|
6903
7302
|
const contents = {
|
|
6904
7303
|
Activities: undefined,
|
|
@@ -6999,6 +7398,16 @@ const deserializeAws_queryInstance = (output, context) => {
|
|
|
6999
7398
|
}
|
|
7000
7399
|
return contents;
|
|
7001
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
|
+
};
|
|
7002
7411
|
const deserializeAws_queryInstanceMetadataOptions = (output, context) => {
|
|
7003
7412
|
const contents = {
|
|
7004
7413
|
HttpTokens: undefined,
|
|
@@ -7132,6 +7541,116 @@ const deserializeAws_queryInstanceRefreshWarmPoolProgress = (output, context) =>
|
|
|
7132
7541
|
}
|
|
7133
7542
|
return contents;
|
|
7134
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
|
+
};
|
|
7135
7654
|
const deserializeAws_queryInstances = (output, context) => {
|
|
7136
7655
|
return (output || [])
|
|
7137
7656
|
.filter((e) => e != null)
|
|
@@ -7322,6 +7841,7 @@ const deserializeAws_queryLaunchTemplateOverrides = (output, context) => {
|
|
|
7322
7841
|
InstanceType: undefined,
|
|
7323
7842
|
WeightedCapacity: undefined,
|
|
7324
7843
|
LaunchTemplateSpecification: undefined,
|
|
7844
|
+
InstanceRequirements: undefined,
|
|
7325
7845
|
};
|
|
7326
7846
|
if (output["InstanceType"] !== undefined) {
|
|
7327
7847
|
contents.InstanceType = smithy_client_1.expectString(output["InstanceType"]);
|
|
@@ -7332,6 +7852,9 @@ const deserializeAws_queryLaunchTemplateOverrides = (output, context) => {
|
|
|
7332
7852
|
if (output["LaunchTemplateSpecification"] !== undefined) {
|
|
7333
7853
|
contents.LaunchTemplateSpecification = deserializeAws_queryLaunchTemplateSpecification(output["LaunchTemplateSpecification"], context);
|
|
7334
7854
|
}
|
|
7855
|
+
if (output["InstanceRequirements"] !== undefined) {
|
|
7856
|
+
contents.InstanceRequirements = deserializeAws_queryInstanceRequirements(output["InstanceRequirements"], context);
|
|
7857
|
+
}
|
|
7335
7858
|
return contents;
|
|
7336
7859
|
};
|
|
7337
7860
|
const deserializeAws_queryLaunchTemplateSpecification = (output, context) => {
|
|
@@ -7500,6 +8023,42 @@ const deserializeAws_queryLoadForecasts = (output, context) => {
|
|
|
7500
8023
|
return deserializeAws_queryLoadForecast(entry, context);
|
|
7501
8024
|
});
|
|
7502
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
|
+
};
|
|
7503
8062
|
const deserializeAws_queryMetricCollectionType = (output, context) => {
|
|
7504
8063
|
const contents = {
|
|
7505
8064
|
Metric: undefined,
|
|
@@ -7574,6 +8133,19 @@ const deserializeAws_queryMixedInstancesPolicy = (output, context) => {
|
|
|
7574
8133
|
}
|
|
7575
8134
|
return contents;
|
|
7576
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
|
+
};
|
|
7577
8149
|
const deserializeAws_queryNotificationConfiguration = (output, context) => {
|
|
7578
8150
|
const contents = {
|
|
7579
8151
|
AutoScalingGroupName: undefined,
|
|
@@ -8207,6 +8779,32 @@ const deserializeAws_queryTerminationPolicies = (output, context) => {
|
|
|
8207
8779
|
return smithy_client_1.expectString(entry);
|
|
8208
8780
|
});
|
|
8209
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
|
+
};
|
|
8210
8808
|
const deserializeAws_queryWarmPoolConfiguration = (output, context) => {
|
|
8211
8809
|
const contents = {
|
|
8212
8810
|
MaxGroupPreparedCapacity: undefined,
|