@aws-sdk/client-auto-scaling 3.40.0 → 3.45.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 +41 -0
- package/dist-cjs/endpoints.js +9 -0
- package/dist-cjs/models/models_0.js +44 -8
- package/dist-cjs/protocols/Aws_query.js +247 -0
- package/dist-es/endpoints.js +9 -0
- package/dist-es/models/models_0.js +28 -4
- package/dist-es/protocols/Aws_query.js +355 -87
- package/dist-types/AutoScaling.d.ts +25 -20
- package/dist-types/commands/AttachInstancesCommand.d.ts +1 -1
- package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +3 -1
- package/dist-types/commands/AttachLoadBalancersCommand.d.ts +3 -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 +7 -6
- 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 +9 -9
- 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 +6 -7
- 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 +3 -2
- 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/models/models_0.d.ts +273 -100
- package/dist-types/ts3.4/models/models_0.d.ts +87 -11
- package/package.json +6 -6
|
@@ -6290,17 +6290,25 @@ var serializeAws_queryMemoryMiBRequest = function (input, context) {
|
|
|
6290
6290
|
}
|
|
6291
6291
|
return entries;
|
|
6292
6292
|
};
|
|
6293
|
-
var
|
|
6293
|
+
var serializeAws_queryMetric = function (input, context) {
|
|
6294
6294
|
var entries = {};
|
|
6295
|
-
if (input.
|
|
6296
|
-
entries["
|
|
6295
|
+
if (input.Namespace !== undefined && input.Namespace !== null) {
|
|
6296
|
+
entries["Namespace"] = input.Namespace;
|
|
6297
6297
|
}
|
|
6298
|
-
if (input.
|
|
6299
|
-
entries["
|
|
6298
|
+
if (input.MetricName !== undefined && input.MetricName !== null) {
|
|
6299
|
+
entries["MetricName"] = input.MetricName;
|
|
6300
|
+
}
|
|
6301
|
+
if (input.Dimensions !== undefined && input.Dimensions !== null) {
|
|
6302
|
+
var memberEntries = serializeAws_queryMetricDimensions(input.Dimensions, context);
|
|
6303
|
+
Object.entries(memberEntries).forEach(function (_a) {
|
|
6304
|
+
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
6305
|
+
var loc = "Dimensions." + key;
|
|
6306
|
+
entries[loc] = value;
|
|
6307
|
+
});
|
|
6300
6308
|
}
|
|
6301
6309
|
return entries;
|
|
6302
6310
|
};
|
|
6303
|
-
var
|
|
6311
|
+
var serializeAws_queryMetricDataQueries = function (input, context) {
|
|
6304
6312
|
var e_22, _a;
|
|
6305
6313
|
var entries = {};
|
|
6306
6314
|
var counter = 1;
|
|
@@ -6310,7 +6318,7 @@ var serializeAws_queryMetricDimensions = function (input, context) {
|
|
|
6310
6318
|
if (entry === null) {
|
|
6311
6319
|
continue;
|
|
6312
6320
|
}
|
|
6313
|
-
var memberEntries =
|
|
6321
|
+
var memberEntries = serializeAws_queryMetricDataQuery(entry, context);
|
|
6314
6322
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
6315
6323
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
6316
6324
|
entries["member." + counter + "." + key] = value;
|
|
@@ -6327,7 +6335,41 @@ var serializeAws_queryMetricDimensions = function (input, context) {
|
|
|
6327
6335
|
}
|
|
6328
6336
|
return entries;
|
|
6329
6337
|
};
|
|
6330
|
-
var
|
|
6338
|
+
var serializeAws_queryMetricDataQuery = function (input, context) {
|
|
6339
|
+
var entries = {};
|
|
6340
|
+
if (input.Id !== undefined && input.Id !== null) {
|
|
6341
|
+
entries["Id"] = input.Id;
|
|
6342
|
+
}
|
|
6343
|
+
if (input.Expression !== undefined && input.Expression !== null) {
|
|
6344
|
+
entries["Expression"] = input.Expression;
|
|
6345
|
+
}
|
|
6346
|
+
if (input.MetricStat !== undefined && input.MetricStat !== null) {
|
|
6347
|
+
var memberEntries = serializeAws_queryMetricStat(input.MetricStat, context);
|
|
6348
|
+
Object.entries(memberEntries).forEach(function (_a) {
|
|
6349
|
+
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
6350
|
+
var loc = "MetricStat." + key;
|
|
6351
|
+
entries[loc] = value;
|
|
6352
|
+
});
|
|
6353
|
+
}
|
|
6354
|
+
if (input.Label !== undefined && input.Label !== null) {
|
|
6355
|
+
entries["Label"] = input.Label;
|
|
6356
|
+
}
|
|
6357
|
+
if (input.ReturnData !== undefined && input.ReturnData !== null) {
|
|
6358
|
+
entries["ReturnData"] = input.ReturnData;
|
|
6359
|
+
}
|
|
6360
|
+
return entries;
|
|
6361
|
+
};
|
|
6362
|
+
var serializeAws_queryMetricDimension = function (input, context) {
|
|
6363
|
+
var entries = {};
|
|
6364
|
+
if (input.Name !== undefined && input.Name !== null) {
|
|
6365
|
+
entries["Name"] = input.Name;
|
|
6366
|
+
}
|
|
6367
|
+
if (input.Value !== undefined && input.Value !== null) {
|
|
6368
|
+
entries["Value"] = input.Value;
|
|
6369
|
+
}
|
|
6370
|
+
return entries;
|
|
6371
|
+
};
|
|
6372
|
+
var serializeAws_queryMetricDimensions = function (input, context) {
|
|
6331
6373
|
var e_23, _a;
|
|
6332
6374
|
var entries = {};
|
|
6333
6375
|
var counter = 1;
|
|
@@ -6337,7 +6379,11 @@ var serializeAws_queryMetrics = function (input, context) {
|
|
|
6337
6379
|
if (entry === null) {
|
|
6338
6380
|
continue;
|
|
6339
6381
|
}
|
|
6340
|
-
|
|
6382
|
+
var memberEntries = serializeAws_queryMetricDimension(entry, context);
|
|
6383
|
+
Object.entries(memberEntries).forEach(function (_a) {
|
|
6384
|
+
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
6385
|
+
entries["member." + counter + "." + key] = value;
|
|
6386
|
+
});
|
|
6341
6387
|
counter++;
|
|
6342
6388
|
}
|
|
6343
6389
|
}
|
|
@@ -6350,6 +6396,47 @@ var serializeAws_queryMetrics = function (input, context) {
|
|
|
6350
6396
|
}
|
|
6351
6397
|
return entries;
|
|
6352
6398
|
};
|
|
6399
|
+
var serializeAws_queryMetrics = function (input, context) {
|
|
6400
|
+
var e_24, _a;
|
|
6401
|
+
var entries = {};
|
|
6402
|
+
var counter = 1;
|
|
6403
|
+
try {
|
|
6404
|
+
for (var input_24 = __values(input), input_24_1 = input_24.next(); !input_24_1.done; input_24_1 = input_24.next()) {
|
|
6405
|
+
var entry = input_24_1.value;
|
|
6406
|
+
if (entry === null) {
|
|
6407
|
+
continue;
|
|
6408
|
+
}
|
|
6409
|
+
entries["member." + counter] = entry;
|
|
6410
|
+
counter++;
|
|
6411
|
+
}
|
|
6412
|
+
}
|
|
6413
|
+
catch (e_24_1) { e_24 = { error: e_24_1 }; }
|
|
6414
|
+
finally {
|
|
6415
|
+
try {
|
|
6416
|
+
if (input_24_1 && !input_24_1.done && (_a = input_24.return)) _a.call(input_24);
|
|
6417
|
+
}
|
|
6418
|
+
finally { if (e_24) throw e_24.error; }
|
|
6419
|
+
}
|
|
6420
|
+
return entries;
|
|
6421
|
+
};
|
|
6422
|
+
var serializeAws_queryMetricStat = function (input, context) {
|
|
6423
|
+
var entries = {};
|
|
6424
|
+
if (input.Metric !== undefined && input.Metric !== null) {
|
|
6425
|
+
var memberEntries = serializeAws_queryMetric(input.Metric, context);
|
|
6426
|
+
Object.entries(memberEntries).forEach(function (_a) {
|
|
6427
|
+
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
6428
|
+
var loc = "Metric." + key;
|
|
6429
|
+
entries[loc] = value;
|
|
6430
|
+
});
|
|
6431
|
+
}
|
|
6432
|
+
if (input.Stat !== undefined && input.Stat !== null) {
|
|
6433
|
+
entries["Stat"] = input.Stat;
|
|
6434
|
+
}
|
|
6435
|
+
if (input.Unit !== undefined && input.Unit !== null) {
|
|
6436
|
+
entries["Unit"] = input.Unit;
|
|
6437
|
+
}
|
|
6438
|
+
return entries;
|
|
6439
|
+
};
|
|
6353
6440
|
var serializeAws_queryMixedInstancesPolicy = function (input, context) {
|
|
6354
6441
|
var entries = {};
|
|
6355
6442
|
if (input.LaunchTemplate !== undefined && input.LaunchTemplate !== null) {
|
|
@@ -6381,12 +6468,12 @@ var serializeAws_queryNetworkInterfaceCountRequest = function (input, context) {
|
|
|
6381
6468
|
return entries;
|
|
6382
6469
|
};
|
|
6383
6470
|
var serializeAws_queryOverrides = function (input, context) {
|
|
6384
|
-
var
|
|
6471
|
+
var e_25, _a;
|
|
6385
6472
|
var entries = {};
|
|
6386
6473
|
var counter = 1;
|
|
6387
6474
|
try {
|
|
6388
|
-
for (var
|
|
6389
|
-
var entry =
|
|
6475
|
+
for (var input_25 = __values(input), input_25_1 = input_25.next(); !input_25_1.done; input_25_1 = input_25.next()) {
|
|
6476
|
+
var entry = input_25_1.value;
|
|
6390
6477
|
if (entry === null) {
|
|
6391
6478
|
continue;
|
|
6392
6479
|
}
|
|
@@ -6398,22 +6485,22 @@ var serializeAws_queryOverrides = function (input, context) {
|
|
|
6398
6485
|
counter++;
|
|
6399
6486
|
}
|
|
6400
6487
|
}
|
|
6401
|
-
catch (
|
|
6488
|
+
catch (e_25_1) { e_25 = { error: e_25_1 }; }
|
|
6402
6489
|
finally {
|
|
6403
6490
|
try {
|
|
6404
|
-
if (
|
|
6491
|
+
if (input_25_1 && !input_25_1.done && (_a = input_25.return)) _a.call(input_25);
|
|
6405
6492
|
}
|
|
6406
|
-
finally { if (
|
|
6493
|
+
finally { if (e_25) throw e_25.error; }
|
|
6407
6494
|
}
|
|
6408
6495
|
return entries;
|
|
6409
6496
|
};
|
|
6410
6497
|
var serializeAws_queryPolicyNames = function (input, context) {
|
|
6411
|
-
var
|
|
6498
|
+
var e_26, _a;
|
|
6412
6499
|
var entries = {};
|
|
6413
6500
|
var counter = 1;
|
|
6414
6501
|
try {
|
|
6415
|
-
for (var
|
|
6416
|
-
var entry =
|
|
6502
|
+
for (var input_26 = __values(input), input_26_1 = input_26.next(); !input_26_1.done; input_26_1 = input_26.next()) {
|
|
6503
|
+
var entry = input_26_1.value;
|
|
6417
6504
|
if (entry === null) {
|
|
6418
6505
|
continue;
|
|
6419
6506
|
}
|
|
@@ -6421,22 +6508,22 @@ var serializeAws_queryPolicyNames = function (input, context) {
|
|
|
6421
6508
|
counter++;
|
|
6422
6509
|
}
|
|
6423
6510
|
}
|
|
6424
|
-
catch (
|
|
6511
|
+
catch (e_26_1) { e_26 = { error: e_26_1 }; }
|
|
6425
6512
|
finally {
|
|
6426
6513
|
try {
|
|
6427
|
-
if (
|
|
6514
|
+
if (input_26_1 && !input_26_1.done && (_a = input_26.return)) _a.call(input_26);
|
|
6428
6515
|
}
|
|
6429
|
-
finally { if (
|
|
6516
|
+
finally { if (e_26) throw e_26.error; }
|
|
6430
6517
|
}
|
|
6431
6518
|
return entries;
|
|
6432
6519
|
};
|
|
6433
6520
|
var serializeAws_queryPolicyTypes = function (input, context) {
|
|
6434
|
-
var
|
|
6521
|
+
var e_27, _a;
|
|
6435
6522
|
var entries = {};
|
|
6436
6523
|
var counter = 1;
|
|
6437
6524
|
try {
|
|
6438
|
-
for (var
|
|
6439
|
-
var entry =
|
|
6525
|
+
for (var input_27 = __values(input), input_27_1 = input_27.next(); !input_27_1.done; input_27_1 = input_27.next()) {
|
|
6526
|
+
var entry = input_27_1.value;
|
|
6440
6527
|
if (entry === null) {
|
|
6441
6528
|
continue;
|
|
6442
6529
|
}
|
|
@@ -6444,12 +6531,12 @@ var serializeAws_queryPolicyTypes = function (input, context) {
|
|
|
6444
6531
|
counter++;
|
|
6445
6532
|
}
|
|
6446
6533
|
}
|
|
6447
|
-
catch (
|
|
6534
|
+
catch (e_27_1) { e_27 = { error: e_27_1 }; }
|
|
6448
6535
|
finally {
|
|
6449
6536
|
try {
|
|
6450
|
-
if (
|
|
6537
|
+
if (input_27_1 && !input_27_1.done && (_a = input_27.return)) _a.call(input_27);
|
|
6451
6538
|
}
|
|
6452
|
-
finally { if (
|
|
6539
|
+
finally { if (e_27) throw e_27.error; }
|
|
6453
6540
|
}
|
|
6454
6541
|
return entries;
|
|
6455
6542
|
};
|
|
@@ -6487,6 +6574,42 @@ var serializeAws_queryPredictiveScalingConfiguration = function (input, context)
|
|
|
6487
6574
|
}
|
|
6488
6575
|
return entries;
|
|
6489
6576
|
};
|
|
6577
|
+
var serializeAws_queryPredictiveScalingCustomizedCapacityMetric = function (input, context) {
|
|
6578
|
+
var entries = {};
|
|
6579
|
+
if (input.MetricDataQueries !== undefined && input.MetricDataQueries !== null) {
|
|
6580
|
+
var memberEntries = serializeAws_queryMetricDataQueries(input.MetricDataQueries, context);
|
|
6581
|
+
Object.entries(memberEntries).forEach(function (_a) {
|
|
6582
|
+
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
6583
|
+
var loc = "MetricDataQueries." + key;
|
|
6584
|
+
entries[loc] = value;
|
|
6585
|
+
});
|
|
6586
|
+
}
|
|
6587
|
+
return entries;
|
|
6588
|
+
};
|
|
6589
|
+
var serializeAws_queryPredictiveScalingCustomizedLoadMetric = function (input, context) {
|
|
6590
|
+
var entries = {};
|
|
6591
|
+
if (input.MetricDataQueries !== undefined && input.MetricDataQueries !== null) {
|
|
6592
|
+
var memberEntries = serializeAws_queryMetricDataQueries(input.MetricDataQueries, context);
|
|
6593
|
+
Object.entries(memberEntries).forEach(function (_a) {
|
|
6594
|
+
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
6595
|
+
var loc = "MetricDataQueries." + key;
|
|
6596
|
+
entries[loc] = value;
|
|
6597
|
+
});
|
|
6598
|
+
}
|
|
6599
|
+
return entries;
|
|
6600
|
+
};
|
|
6601
|
+
var serializeAws_queryPredictiveScalingCustomizedScalingMetric = function (input, context) {
|
|
6602
|
+
var entries = {};
|
|
6603
|
+
if (input.MetricDataQueries !== undefined && input.MetricDataQueries !== null) {
|
|
6604
|
+
var memberEntries = serializeAws_queryMetricDataQueries(input.MetricDataQueries, context);
|
|
6605
|
+
Object.entries(memberEntries).forEach(function (_a) {
|
|
6606
|
+
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
6607
|
+
var loc = "MetricDataQueries." + key;
|
|
6608
|
+
entries[loc] = value;
|
|
6609
|
+
});
|
|
6610
|
+
}
|
|
6611
|
+
return entries;
|
|
6612
|
+
};
|
|
6490
6613
|
var serializeAws_queryPredictiveScalingMetricSpecification = function (input, context) {
|
|
6491
6614
|
var entries = {};
|
|
6492
6615
|
if (input.TargetValue !== undefined && input.TargetValue !== null) {
|
|
@@ -6516,15 +6639,40 @@ var serializeAws_queryPredictiveScalingMetricSpecification = function (input, co
|
|
|
6516
6639
|
entries[loc] = value;
|
|
6517
6640
|
});
|
|
6518
6641
|
}
|
|
6642
|
+
if (input.CustomizedScalingMetricSpecification !== undefined && input.CustomizedScalingMetricSpecification !== null) {
|
|
6643
|
+
var memberEntries = serializeAws_queryPredictiveScalingCustomizedScalingMetric(input.CustomizedScalingMetricSpecification, context);
|
|
6644
|
+
Object.entries(memberEntries).forEach(function (_a) {
|
|
6645
|
+
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
6646
|
+
var loc = "CustomizedScalingMetricSpecification." + key;
|
|
6647
|
+
entries[loc] = value;
|
|
6648
|
+
});
|
|
6649
|
+
}
|
|
6650
|
+
if (input.CustomizedLoadMetricSpecification !== undefined && input.CustomizedLoadMetricSpecification !== null) {
|
|
6651
|
+
var memberEntries = serializeAws_queryPredictiveScalingCustomizedLoadMetric(input.CustomizedLoadMetricSpecification, context);
|
|
6652
|
+
Object.entries(memberEntries).forEach(function (_a) {
|
|
6653
|
+
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
6654
|
+
var loc = "CustomizedLoadMetricSpecification." + key;
|
|
6655
|
+
entries[loc] = value;
|
|
6656
|
+
});
|
|
6657
|
+
}
|
|
6658
|
+
if (input.CustomizedCapacityMetricSpecification !== undefined &&
|
|
6659
|
+
input.CustomizedCapacityMetricSpecification !== null) {
|
|
6660
|
+
var memberEntries = serializeAws_queryPredictiveScalingCustomizedCapacityMetric(input.CustomizedCapacityMetricSpecification, context);
|
|
6661
|
+
Object.entries(memberEntries).forEach(function (_a) {
|
|
6662
|
+
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
6663
|
+
var loc = "CustomizedCapacityMetricSpecification." + key;
|
|
6664
|
+
entries[loc] = value;
|
|
6665
|
+
});
|
|
6666
|
+
}
|
|
6519
6667
|
return entries;
|
|
6520
6668
|
};
|
|
6521
6669
|
var serializeAws_queryPredictiveScalingMetricSpecifications = function (input, context) {
|
|
6522
|
-
var
|
|
6670
|
+
var e_28, _a;
|
|
6523
6671
|
var entries = {};
|
|
6524
6672
|
var counter = 1;
|
|
6525
6673
|
try {
|
|
6526
|
-
for (var
|
|
6527
|
-
var entry =
|
|
6674
|
+
for (var input_28 = __values(input), input_28_1 = input_28.next(); !input_28_1.done; input_28_1 = input_28.next()) {
|
|
6675
|
+
var entry = input_28_1.value;
|
|
6528
6676
|
if (entry === null) {
|
|
6529
6677
|
continue;
|
|
6530
6678
|
}
|
|
@@ -6536,12 +6684,12 @@ var serializeAws_queryPredictiveScalingMetricSpecifications = function (input, c
|
|
|
6536
6684
|
counter++;
|
|
6537
6685
|
}
|
|
6538
6686
|
}
|
|
6539
|
-
catch (
|
|
6687
|
+
catch (e_28_1) { e_28 = { error: e_28_1 }; }
|
|
6540
6688
|
finally {
|
|
6541
6689
|
try {
|
|
6542
|
-
if (
|
|
6690
|
+
if (input_28_1 && !input_28_1.done && (_a = input_28.return)) _a.call(input_28);
|
|
6543
6691
|
}
|
|
6544
|
-
finally { if (
|
|
6692
|
+
finally { if (e_28) throw e_28.error; }
|
|
6545
6693
|
}
|
|
6546
6694
|
return entries;
|
|
6547
6695
|
};
|
|
@@ -6576,12 +6724,12 @@ var serializeAws_queryPredictiveScalingPredefinedScalingMetric = function (input
|
|
|
6576
6724
|
return entries;
|
|
6577
6725
|
};
|
|
6578
6726
|
var serializeAws_queryProcessNames = function (input, context) {
|
|
6579
|
-
var
|
|
6727
|
+
var e_29, _a;
|
|
6580
6728
|
var entries = {};
|
|
6581
6729
|
var counter = 1;
|
|
6582
6730
|
try {
|
|
6583
|
-
for (var
|
|
6584
|
-
var entry =
|
|
6731
|
+
for (var input_29 = __values(input), input_29_1 = input_29.next(); !input_29_1.done; input_29_1 = input_29.next()) {
|
|
6732
|
+
var entry = input_29_1.value;
|
|
6585
6733
|
if (entry === null) {
|
|
6586
6734
|
continue;
|
|
6587
6735
|
}
|
|
@@ -6589,12 +6737,12 @@ var serializeAws_queryProcessNames = function (input, context) {
|
|
|
6589
6737
|
counter++;
|
|
6590
6738
|
}
|
|
6591
6739
|
}
|
|
6592
|
-
catch (
|
|
6740
|
+
catch (e_29_1) { e_29 = { error: e_29_1 }; }
|
|
6593
6741
|
finally {
|
|
6594
6742
|
try {
|
|
6595
|
-
if (
|
|
6743
|
+
if (input_29_1 && !input_29_1.done && (_a = input_29.return)) _a.call(input_29);
|
|
6596
6744
|
}
|
|
6597
|
-
finally { if (
|
|
6745
|
+
finally { if (e_29) throw e_29.error; }
|
|
6598
6746
|
}
|
|
6599
6747
|
return entries;
|
|
6600
6748
|
};
|
|
@@ -6811,12 +6959,12 @@ var serializeAws_queryScalingProcessQuery = function (input, context) {
|
|
|
6811
6959
|
return entries;
|
|
6812
6960
|
};
|
|
6813
6961
|
var serializeAws_queryScheduledActionNames = function (input, context) {
|
|
6814
|
-
var
|
|
6962
|
+
var e_30, _a;
|
|
6815
6963
|
var entries = {};
|
|
6816
6964
|
var counter = 1;
|
|
6817
6965
|
try {
|
|
6818
|
-
for (var
|
|
6819
|
-
var entry =
|
|
6966
|
+
for (var input_30 = __values(input), input_30_1 = input_30.next(); !input_30_1.done; input_30_1 = input_30.next()) {
|
|
6967
|
+
var entry = input_30_1.value;
|
|
6820
6968
|
if (entry === null) {
|
|
6821
6969
|
continue;
|
|
6822
6970
|
}
|
|
@@ -6824,12 +6972,12 @@ var serializeAws_queryScheduledActionNames = function (input, context) {
|
|
|
6824
6972
|
counter++;
|
|
6825
6973
|
}
|
|
6826
6974
|
}
|
|
6827
|
-
catch (
|
|
6975
|
+
catch (e_30_1) { e_30 = { error: e_30_1 }; }
|
|
6828
6976
|
finally {
|
|
6829
6977
|
try {
|
|
6830
|
-
if (
|
|
6978
|
+
if (input_30_1 && !input_30_1.done && (_a = input_30.return)) _a.call(input_30);
|
|
6831
6979
|
}
|
|
6832
|
-
finally { if (
|
|
6980
|
+
finally { if (e_30) throw e_30.error; }
|
|
6833
6981
|
}
|
|
6834
6982
|
return entries;
|
|
6835
6983
|
};
|
|
@@ -6862,12 +7010,12 @@ var serializeAws_queryScheduledUpdateGroupActionRequest = function (input, conte
|
|
|
6862
7010
|
return entries;
|
|
6863
7011
|
};
|
|
6864
7012
|
var serializeAws_queryScheduledUpdateGroupActionRequests = function (input, context) {
|
|
6865
|
-
var
|
|
7013
|
+
var e_31, _a;
|
|
6866
7014
|
var entries = {};
|
|
6867
7015
|
var counter = 1;
|
|
6868
7016
|
try {
|
|
6869
|
-
for (var
|
|
6870
|
-
var entry =
|
|
7017
|
+
for (var input_31 = __values(input), input_31_1 = input_31.next(); !input_31_1.done; input_31_1 = input_31.next()) {
|
|
7018
|
+
var entry = input_31_1.value;
|
|
6871
7019
|
if (entry === null) {
|
|
6872
7020
|
continue;
|
|
6873
7021
|
}
|
|
@@ -6879,22 +7027,22 @@ var serializeAws_queryScheduledUpdateGroupActionRequests = function (input, cont
|
|
|
6879
7027
|
counter++;
|
|
6880
7028
|
}
|
|
6881
7029
|
}
|
|
6882
|
-
catch (
|
|
7030
|
+
catch (e_31_1) { e_31 = { error: e_31_1 }; }
|
|
6883
7031
|
finally {
|
|
6884
7032
|
try {
|
|
6885
|
-
if (
|
|
7033
|
+
if (input_31_1 && !input_31_1.done && (_a = input_31.return)) _a.call(input_31);
|
|
6886
7034
|
}
|
|
6887
|
-
finally { if (
|
|
7035
|
+
finally { if (e_31) throw e_31.error; }
|
|
6888
7036
|
}
|
|
6889
7037
|
return entries;
|
|
6890
7038
|
};
|
|
6891
7039
|
var serializeAws_querySecurityGroups = function (input, context) {
|
|
6892
|
-
var
|
|
7040
|
+
var e_32, _a;
|
|
6893
7041
|
var entries = {};
|
|
6894
7042
|
var counter = 1;
|
|
6895
7043
|
try {
|
|
6896
|
-
for (var
|
|
6897
|
-
var entry =
|
|
7044
|
+
for (var input_32 = __values(input), input_32_1 = input_32.next(); !input_32_1.done; input_32_1 = input_32.next()) {
|
|
7045
|
+
var entry = input_32_1.value;
|
|
6898
7046
|
if (entry === null) {
|
|
6899
7047
|
continue;
|
|
6900
7048
|
}
|
|
@@ -6902,12 +7050,12 @@ var serializeAws_querySecurityGroups = function (input, context) {
|
|
|
6902
7050
|
counter++;
|
|
6903
7051
|
}
|
|
6904
7052
|
}
|
|
6905
|
-
catch (
|
|
7053
|
+
catch (e_32_1) { e_32 = { error: e_32_1 }; }
|
|
6906
7054
|
finally {
|
|
6907
7055
|
try {
|
|
6908
|
-
if (
|
|
7056
|
+
if (input_32_1 && !input_32_1.done && (_a = input_32.return)) _a.call(input_32);
|
|
6909
7057
|
}
|
|
6910
|
-
finally { if (
|
|
7058
|
+
finally { if (e_32) throw e_32.error; }
|
|
6911
7059
|
}
|
|
6912
7060
|
return entries;
|
|
6913
7061
|
};
|
|
@@ -6995,12 +7143,12 @@ var serializeAws_queryStepAdjustment = function (input, context) {
|
|
|
6995
7143
|
return entries;
|
|
6996
7144
|
};
|
|
6997
7145
|
var serializeAws_queryStepAdjustments = function (input, context) {
|
|
6998
|
-
var
|
|
7146
|
+
var e_33, _a;
|
|
6999
7147
|
var entries = {};
|
|
7000
7148
|
var counter = 1;
|
|
7001
7149
|
try {
|
|
7002
|
-
for (var
|
|
7003
|
-
var entry =
|
|
7150
|
+
for (var input_33 = __values(input), input_33_1 = input_33.next(); !input_33_1.done; input_33_1 = input_33.next()) {
|
|
7151
|
+
var entry = input_33_1.value;
|
|
7004
7152
|
if (entry === null) {
|
|
7005
7153
|
continue;
|
|
7006
7154
|
}
|
|
@@ -7012,12 +7160,12 @@ var serializeAws_queryStepAdjustments = function (input, context) {
|
|
|
7012
7160
|
counter++;
|
|
7013
7161
|
}
|
|
7014
7162
|
}
|
|
7015
|
-
catch (
|
|
7163
|
+
catch (e_33_1) { e_33 = { error: e_33_1 }; }
|
|
7016
7164
|
finally {
|
|
7017
7165
|
try {
|
|
7018
|
-
if (
|
|
7166
|
+
if (input_33_1 && !input_33_1.done && (_a = input_33.return)) _a.call(input_33);
|
|
7019
7167
|
}
|
|
7020
|
-
finally { if (
|
|
7168
|
+
finally { if (e_33) throw e_33.error; }
|
|
7021
7169
|
}
|
|
7022
7170
|
return entries;
|
|
7023
7171
|
};
|
|
@@ -7041,12 +7189,12 @@ var serializeAws_queryTag = function (input, context) {
|
|
|
7041
7189
|
return entries;
|
|
7042
7190
|
};
|
|
7043
7191
|
var serializeAws_queryTags = function (input, context) {
|
|
7044
|
-
var
|
|
7192
|
+
var e_34, _a;
|
|
7045
7193
|
var entries = {};
|
|
7046
7194
|
var counter = 1;
|
|
7047
7195
|
try {
|
|
7048
|
-
for (var
|
|
7049
|
-
var entry =
|
|
7196
|
+
for (var input_34 = __values(input), input_34_1 = input_34.next(); !input_34_1.done; input_34_1 = input_34.next()) {
|
|
7197
|
+
var entry = input_34_1.value;
|
|
7050
7198
|
if (entry === null) {
|
|
7051
7199
|
continue;
|
|
7052
7200
|
}
|
|
@@ -7058,22 +7206,22 @@ var serializeAws_queryTags = function (input, context) {
|
|
|
7058
7206
|
counter++;
|
|
7059
7207
|
}
|
|
7060
7208
|
}
|
|
7061
|
-
catch (
|
|
7209
|
+
catch (e_34_1) { e_34 = { error: e_34_1 }; }
|
|
7062
7210
|
finally {
|
|
7063
7211
|
try {
|
|
7064
|
-
if (
|
|
7212
|
+
if (input_34_1 && !input_34_1.done && (_a = input_34.return)) _a.call(input_34);
|
|
7065
7213
|
}
|
|
7066
|
-
finally { if (
|
|
7214
|
+
finally { if (e_34) throw e_34.error; }
|
|
7067
7215
|
}
|
|
7068
7216
|
return entries;
|
|
7069
7217
|
};
|
|
7070
7218
|
var serializeAws_queryTargetGroupARNs = function (input, context) {
|
|
7071
|
-
var
|
|
7219
|
+
var e_35, _a;
|
|
7072
7220
|
var entries = {};
|
|
7073
7221
|
var counter = 1;
|
|
7074
7222
|
try {
|
|
7075
|
-
for (var
|
|
7076
|
-
var entry =
|
|
7223
|
+
for (var input_35 = __values(input), input_35_1 = input_35.next(); !input_35_1.done; input_35_1 = input_35.next()) {
|
|
7224
|
+
var entry = input_35_1.value;
|
|
7077
7225
|
if (entry === null) {
|
|
7078
7226
|
continue;
|
|
7079
7227
|
}
|
|
@@ -7081,12 +7229,12 @@ var serializeAws_queryTargetGroupARNs = function (input, context) {
|
|
|
7081
7229
|
counter++;
|
|
7082
7230
|
}
|
|
7083
7231
|
}
|
|
7084
|
-
catch (
|
|
7232
|
+
catch (e_35_1) { e_35 = { error: e_35_1 }; }
|
|
7085
7233
|
finally {
|
|
7086
7234
|
try {
|
|
7087
|
-
if (
|
|
7235
|
+
if (input_35_1 && !input_35_1.done && (_a = input_35.return)) _a.call(input_35);
|
|
7088
7236
|
}
|
|
7089
|
-
finally { if (
|
|
7237
|
+
finally { if (e_35) throw e_35.error; }
|
|
7090
7238
|
}
|
|
7091
7239
|
return entries;
|
|
7092
7240
|
};
|
|
@@ -7127,12 +7275,12 @@ var serializeAws_queryTerminateInstanceInAutoScalingGroupType = function (input,
|
|
|
7127
7275
|
return entries;
|
|
7128
7276
|
};
|
|
7129
7277
|
var serializeAws_queryTerminationPolicies = function (input, context) {
|
|
7130
|
-
var
|
|
7278
|
+
var e_36, _a;
|
|
7131
7279
|
var entries = {};
|
|
7132
7280
|
var counter = 1;
|
|
7133
7281
|
try {
|
|
7134
|
-
for (var
|
|
7135
|
-
var entry =
|
|
7282
|
+
for (var input_36 = __values(input), input_36_1 = input_36.next(); !input_36_1.done; input_36_1 = input_36.next()) {
|
|
7283
|
+
var entry = input_36_1.value;
|
|
7136
7284
|
if (entry === null) {
|
|
7137
7285
|
continue;
|
|
7138
7286
|
}
|
|
@@ -7140,12 +7288,12 @@ var serializeAws_queryTerminationPolicies = function (input, context) {
|
|
|
7140
7288
|
counter++;
|
|
7141
7289
|
}
|
|
7142
7290
|
}
|
|
7143
|
-
catch (
|
|
7291
|
+
catch (e_36_1) { e_36 = { error: e_36_1 }; }
|
|
7144
7292
|
finally {
|
|
7145
7293
|
try {
|
|
7146
|
-
if (
|
|
7294
|
+
if (input_36_1 && !input_36_1.done && (_a = input_36.return)) _a.call(input_36);
|
|
7147
7295
|
}
|
|
7148
|
-
finally { if (
|
|
7296
|
+
finally { if (e_36) throw e_36.error; }
|
|
7149
7297
|
}
|
|
7150
7298
|
return entries;
|
|
7151
7299
|
};
|
|
@@ -7244,12 +7392,12 @@ var serializeAws_queryUpdateAutoScalingGroupType = function (input, context) {
|
|
|
7244
7392
|
return entries;
|
|
7245
7393
|
};
|
|
7246
7394
|
var serializeAws_queryValues = function (input, context) {
|
|
7247
|
-
var
|
|
7395
|
+
var e_37, _a;
|
|
7248
7396
|
var entries = {};
|
|
7249
7397
|
var counter = 1;
|
|
7250
7398
|
try {
|
|
7251
|
-
for (var
|
|
7252
|
-
var entry =
|
|
7399
|
+
for (var input_37 = __values(input), input_37_1 = input_37.next(); !input_37_1.done; input_37_1 = input_37.next()) {
|
|
7400
|
+
var entry = input_37_1.value;
|
|
7253
7401
|
if (entry === null) {
|
|
7254
7402
|
continue;
|
|
7255
7403
|
}
|
|
@@ -7257,12 +7405,12 @@ var serializeAws_queryValues = function (input, context) {
|
|
|
7257
7405
|
counter++;
|
|
7258
7406
|
}
|
|
7259
7407
|
}
|
|
7260
|
-
catch (
|
|
7408
|
+
catch (e_37_1) { e_37 = { error: e_37_1 }; }
|
|
7261
7409
|
finally {
|
|
7262
7410
|
try {
|
|
7263
|
-
if (
|
|
7411
|
+
if (input_37_1 && !input_37_1.done && (_a = input_37.return)) _a.call(input_37);
|
|
7264
7412
|
}
|
|
7265
|
-
finally { if (
|
|
7413
|
+
finally { if (e_37) throw e_37.error; }
|
|
7266
7414
|
}
|
|
7267
7415
|
return entries;
|
|
7268
7416
|
};
|
|
@@ -8987,6 +9135,26 @@ var deserializeAws_queryMemoryMiBRequest = function (output, context) {
|
|
|
8987
9135
|
}
|
|
8988
9136
|
return contents;
|
|
8989
9137
|
};
|
|
9138
|
+
var deserializeAws_queryMetric = function (output, context) {
|
|
9139
|
+
var contents = {
|
|
9140
|
+
Namespace: undefined,
|
|
9141
|
+
MetricName: undefined,
|
|
9142
|
+
Dimensions: undefined,
|
|
9143
|
+
};
|
|
9144
|
+
if (output["Namespace"] !== undefined) {
|
|
9145
|
+
contents.Namespace = __expectString(output["Namespace"]);
|
|
9146
|
+
}
|
|
9147
|
+
if (output["MetricName"] !== undefined) {
|
|
9148
|
+
contents.MetricName = __expectString(output["MetricName"]);
|
|
9149
|
+
}
|
|
9150
|
+
if (output.Dimensions === "") {
|
|
9151
|
+
contents.Dimensions = [];
|
|
9152
|
+
}
|
|
9153
|
+
if (output["Dimensions"] !== undefined && output["Dimensions"]["member"] !== undefined) {
|
|
9154
|
+
contents.Dimensions = deserializeAws_queryMetricDimensions(__getArrayIfSingleItem(output["Dimensions"]["member"]), context);
|
|
9155
|
+
}
|
|
9156
|
+
return contents;
|
|
9157
|
+
};
|
|
8990
9158
|
var deserializeAws_queryMetricCollectionType = function (output, context) {
|
|
8991
9159
|
var contents = {
|
|
8992
9160
|
Metric: undefined,
|
|
@@ -9006,6 +9174,41 @@ var deserializeAws_queryMetricCollectionTypes = function (output, context) {
|
|
|
9006
9174
|
return deserializeAws_queryMetricCollectionType(entry, context);
|
|
9007
9175
|
});
|
|
9008
9176
|
};
|
|
9177
|
+
var deserializeAws_queryMetricDataQueries = function (output, context) {
|
|
9178
|
+
return (output || [])
|
|
9179
|
+
.filter(function (e) { return e != null; })
|
|
9180
|
+
.map(function (entry) {
|
|
9181
|
+
if (entry === null) {
|
|
9182
|
+
return null;
|
|
9183
|
+
}
|
|
9184
|
+
return deserializeAws_queryMetricDataQuery(entry, context);
|
|
9185
|
+
});
|
|
9186
|
+
};
|
|
9187
|
+
var deserializeAws_queryMetricDataQuery = function (output, context) {
|
|
9188
|
+
var contents = {
|
|
9189
|
+
Id: undefined,
|
|
9190
|
+
Expression: undefined,
|
|
9191
|
+
MetricStat: undefined,
|
|
9192
|
+
Label: undefined,
|
|
9193
|
+
ReturnData: undefined,
|
|
9194
|
+
};
|
|
9195
|
+
if (output["Id"] !== undefined) {
|
|
9196
|
+
contents.Id = __expectString(output["Id"]);
|
|
9197
|
+
}
|
|
9198
|
+
if (output["Expression"] !== undefined) {
|
|
9199
|
+
contents.Expression = __expectString(output["Expression"]);
|
|
9200
|
+
}
|
|
9201
|
+
if (output["MetricStat"] !== undefined) {
|
|
9202
|
+
contents.MetricStat = deserializeAws_queryMetricStat(output["MetricStat"], context);
|
|
9203
|
+
}
|
|
9204
|
+
if (output["Label"] !== undefined) {
|
|
9205
|
+
contents.Label = __expectString(output["Label"]);
|
|
9206
|
+
}
|
|
9207
|
+
if (output["ReturnData"] !== undefined) {
|
|
9208
|
+
contents.ReturnData = __parseBoolean(output["ReturnData"]);
|
|
9209
|
+
}
|
|
9210
|
+
return contents;
|
|
9211
|
+
};
|
|
9009
9212
|
var deserializeAws_queryMetricDimension = function (output, context) {
|
|
9010
9213
|
var contents = {
|
|
9011
9214
|
Name: undefined,
|
|
@@ -9048,6 +9251,23 @@ var deserializeAws_queryMetricGranularityTypes = function (output, context) {
|
|
|
9048
9251
|
return deserializeAws_queryMetricGranularityType(entry, context);
|
|
9049
9252
|
});
|
|
9050
9253
|
};
|
|
9254
|
+
var deserializeAws_queryMetricStat = function (output, context) {
|
|
9255
|
+
var contents = {
|
|
9256
|
+
Metric: undefined,
|
|
9257
|
+
Stat: undefined,
|
|
9258
|
+
Unit: undefined,
|
|
9259
|
+
};
|
|
9260
|
+
if (output["Metric"] !== undefined) {
|
|
9261
|
+
contents.Metric = deserializeAws_queryMetric(output["Metric"], context);
|
|
9262
|
+
}
|
|
9263
|
+
if (output["Stat"] !== undefined) {
|
|
9264
|
+
contents.Stat = __expectString(output["Stat"]);
|
|
9265
|
+
}
|
|
9266
|
+
if (output["Unit"] !== undefined) {
|
|
9267
|
+
contents.Unit = __expectString(output["Unit"]);
|
|
9268
|
+
}
|
|
9269
|
+
return contents;
|
|
9270
|
+
};
|
|
9051
9271
|
var deserializeAws_queryMixedInstancesPolicy = function (output, context) {
|
|
9052
9272
|
var contents = {
|
|
9053
9273
|
LaunchTemplate: undefined,
|
|
@@ -9184,6 +9404,42 @@ var deserializeAws_queryPredictiveScalingConfiguration = function (output, conte
|
|
|
9184
9404
|
}
|
|
9185
9405
|
return contents;
|
|
9186
9406
|
};
|
|
9407
|
+
var deserializeAws_queryPredictiveScalingCustomizedCapacityMetric = function (output, context) {
|
|
9408
|
+
var contents = {
|
|
9409
|
+
MetricDataQueries: undefined,
|
|
9410
|
+
};
|
|
9411
|
+
if (output.MetricDataQueries === "") {
|
|
9412
|
+
contents.MetricDataQueries = [];
|
|
9413
|
+
}
|
|
9414
|
+
if (output["MetricDataQueries"] !== undefined && output["MetricDataQueries"]["member"] !== undefined) {
|
|
9415
|
+
contents.MetricDataQueries = deserializeAws_queryMetricDataQueries(__getArrayIfSingleItem(output["MetricDataQueries"]["member"]), context);
|
|
9416
|
+
}
|
|
9417
|
+
return contents;
|
|
9418
|
+
};
|
|
9419
|
+
var deserializeAws_queryPredictiveScalingCustomizedLoadMetric = function (output, context) {
|
|
9420
|
+
var contents = {
|
|
9421
|
+
MetricDataQueries: undefined,
|
|
9422
|
+
};
|
|
9423
|
+
if (output.MetricDataQueries === "") {
|
|
9424
|
+
contents.MetricDataQueries = [];
|
|
9425
|
+
}
|
|
9426
|
+
if (output["MetricDataQueries"] !== undefined && output["MetricDataQueries"]["member"] !== undefined) {
|
|
9427
|
+
contents.MetricDataQueries = deserializeAws_queryMetricDataQueries(__getArrayIfSingleItem(output["MetricDataQueries"]["member"]), context);
|
|
9428
|
+
}
|
|
9429
|
+
return contents;
|
|
9430
|
+
};
|
|
9431
|
+
var deserializeAws_queryPredictiveScalingCustomizedScalingMetric = function (output, context) {
|
|
9432
|
+
var contents = {
|
|
9433
|
+
MetricDataQueries: undefined,
|
|
9434
|
+
};
|
|
9435
|
+
if (output.MetricDataQueries === "") {
|
|
9436
|
+
contents.MetricDataQueries = [];
|
|
9437
|
+
}
|
|
9438
|
+
if (output["MetricDataQueries"] !== undefined && output["MetricDataQueries"]["member"] !== undefined) {
|
|
9439
|
+
contents.MetricDataQueries = deserializeAws_queryMetricDataQueries(__getArrayIfSingleItem(output["MetricDataQueries"]["member"]), context);
|
|
9440
|
+
}
|
|
9441
|
+
return contents;
|
|
9442
|
+
};
|
|
9187
9443
|
var deserializeAws_queryPredictiveScalingForecastTimestamps = function (output, context) {
|
|
9188
9444
|
return (output || [])
|
|
9189
9445
|
.filter(function (e) { return e != null; })
|
|
@@ -9210,6 +9466,9 @@ var deserializeAws_queryPredictiveScalingMetricSpecification = function (output,
|
|
|
9210
9466
|
PredefinedMetricPairSpecification: undefined,
|
|
9211
9467
|
PredefinedScalingMetricSpecification: undefined,
|
|
9212
9468
|
PredefinedLoadMetricSpecification: undefined,
|
|
9469
|
+
CustomizedScalingMetricSpecification: undefined,
|
|
9470
|
+
CustomizedLoadMetricSpecification: undefined,
|
|
9471
|
+
CustomizedCapacityMetricSpecification: undefined,
|
|
9213
9472
|
};
|
|
9214
9473
|
if (output["TargetValue"] !== undefined) {
|
|
9215
9474
|
contents.TargetValue = __strictParseFloat(output["TargetValue"]);
|
|
@@ -9223,6 +9482,15 @@ var deserializeAws_queryPredictiveScalingMetricSpecification = function (output,
|
|
|
9223
9482
|
if (output["PredefinedLoadMetricSpecification"] !== undefined) {
|
|
9224
9483
|
contents.PredefinedLoadMetricSpecification = deserializeAws_queryPredictiveScalingPredefinedLoadMetric(output["PredefinedLoadMetricSpecification"], context);
|
|
9225
9484
|
}
|
|
9485
|
+
if (output["CustomizedScalingMetricSpecification"] !== undefined) {
|
|
9486
|
+
contents.CustomizedScalingMetricSpecification = deserializeAws_queryPredictiveScalingCustomizedScalingMetric(output["CustomizedScalingMetricSpecification"], context);
|
|
9487
|
+
}
|
|
9488
|
+
if (output["CustomizedLoadMetricSpecification"] !== undefined) {
|
|
9489
|
+
contents.CustomizedLoadMetricSpecification = deserializeAws_queryPredictiveScalingCustomizedLoadMetric(output["CustomizedLoadMetricSpecification"], context);
|
|
9490
|
+
}
|
|
9491
|
+
if (output["CustomizedCapacityMetricSpecification"] !== undefined) {
|
|
9492
|
+
contents.CustomizedCapacityMetricSpecification = deserializeAws_queryPredictiveScalingCustomizedCapacityMetric(output["CustomizedCapacityMetricSpecification"], context);
|
|
9493
|
+
}
|
|
9226
9494
|
return contents;
|
|
9227
9495
|
};
|
|
9228
9496
|
var deserializeAws_queryPredictiveScalingMetricSpecifications = function (output, context) {
|