@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.
Files changed (99) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/dist-cjs/commands/index.js +64 -0
  3. package/dist-cjs/endpoints.js +79 -5
  4. package/dist-cjs/index.js +5 -75
  5. package/dist-cjs/models/models_0.js +115 -4
  6. package/dist-cjs/pagination/index.js +12 -0
  7. package/dist-cjs/protocols/Aws_query.js +598 -0
  8. package/dist-cjs/runtimeConfig.browser.js +6 -3
  9. package/dist-cjs/runtimeConfig.js +5 -3
  10. package/dist-cjs/waiters/index.js +6 -0
  11. package/dist-es/commands/index.js +61 -0
  12. package/dist-es/endpoints.js +79 -5
  13. package/dist-es/index.js +5 -75
  14. package/dist-es/models/models_0.js +93 -0
  15. package/dist-es/pagination/index.js +9 -0
  16. package/dist-es/protocols/Aws_query.js +860 -169
  17. package/dist-es/runtimeConfig.browser.js +3 -2
  18. package/dist-es/runtimeConfig.js +3 -3
  19. package/dist-es/waiters/index.js +3 -0
  20. package/dist-types/AutoScalingClient.d.ts +8 -0
  21. package/dist-types/commands/AttachInstancesCommand.d.ts +1 -1
  22. package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +1 -1
  23. package/dist-types/commands/AttachLoadBalancersCommand.d.ts +1 -1
  24. package/dist-types/commands/BatchDeleteScheduledActionCommand.d.ts +1 -1
  25. package/dist-types/commands/BatchPutScheduledUpdateGroupActionCommand.d.ts +1 -1
  26. package/dist-types/commands/CancelInstanceRefreshCommand.d.ts +1 -1
  27. package/dist-types/commands/CompleteLifecycleActionCommand.d.ts +1 -1
  28. package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +1 -1
  29. package/dist-types/commands/CreateLaunchConfigurationCommand.d.ts +1 -1
  30. package/dist-types/commands/CreateOrUpdateTagsCommand.d.ts +1 -1
  31. package/dist-types/commands/DeleteAutoScalingGroupCommand.d.ts +1 -1
  32. package/dist-types/commands/DeleteLaunchConfigurationCommand.d.ts +1 -1
  33. package/dist-types/commands/DeleteLifecycleHookCommand.d.ts +1 -1
  34. package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +1 -1
  35. package/dist-types/commands/DeletePolicyCommand.d.ts +1 -1
  36. package/dist-types/commands/DeleteScheduledActionCommand.d.ts +1 -1
  37. package/dist-types/commands/DeleteTagsCommand.d.ts +1 -1
  38. package/dist-types/commands/DeleteWarmPoolCommand.d.ts +1 -1
  39. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -1
  40. package/dist-types/commands/DescribeAdjustmentTypesCommand.d.ts +1 -1
  41. package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +1 -1
  42. package/dist-types/commands/DescribeAutoScalingInstancesCommand.d.ts +1 -1
  43. package/dist-types/commands/DescribeAutoScalingNotificationTypesCommand.d.ts +1 -1
  44. package/dist-types/commands/DescribeInstanceRefreshesCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribeLaunchConfigurationsCommand.d.ts +1 -1
  46. package/dist-types/commands/DescribeLifecycleHookTypesCommand.d.ts +1 -1
  47. package/dist-types/commands/DescribeLifecycleHooksCommand.d.ts +1 -1
  48. package/dist-types/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +1 -1
  49. package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +1 -1
  50. package/dist-types/commands/DescribeMetricCollectionTypesCommand.d.ts +1 -1
  51. package/dist-types/commands/DescribeNotificationConfigurationsCommand.d.ts +1 -1
  52. package/dist-types/commands/DescribePoliciesCommand.d.ts +1 -1
  53. package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +1 -1
  54. package/dist-types/commands/DescribeScalingProcessTypesCommand.d.ts +1 -1
  55. package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +1 -1
  56. package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  57. package/dist-types/commands/DescribeTerminationPolicyTypesCommand.d.ts +1 -1
  58. package/dist-types/commands/DescribeWarmPoolCommand.d.ts +1 -1
  59. package/dist-types/commands/DetachInstancesCommand.d.ts +1 -1
  60. package/dist-types/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +1 -1
  61. package/dist-types/commands/DetachLoadBalancersCommand.d.ts +1 -1
  62. package/dist-types/commands/DisableMetricsCollectionCommand.d.ts +1 -1
  63. package/dist-types/commands/EnableMetricsCollectionCommand.d.ts +1 -1
  64. package/dist-types/commands/EnterStandbyCommand.d.ts +1 -1
  65. package/dist-types/commands/ExecutePolicyCommand.d.ts +1 -1
  66. package/dist-types/commands/ExitStandbyCommand.d.ts +1 -1
  67. package/dist-types/commands/GetPredictiveScalingForecastCommand.d.ts +1 -1
  68. package/dist-types/commands/PutLifecycleHookCommand.d.ts +1 -1
  69. package/dist-types/commands/PutNotificationConfigurationCommand.d.ts +1 -1
  70. package/dist-types/commands/PutScalingPolicyCommand.d.ts +1 -1
  71. package/dist-types/commands/PutScheduledUpdateGroupActionCommand.d.ts +1 -1
  72. package/dist-types/commands/PutWarmPoolCommand.d.ts +1 -1
  73. package/dist-types/commands/RecordLifecycleActionHeartbeatCommand.d.ts +1 -1
  74. package/dist-types/commands/ResumeProcessesCommand.d.ts +1 -1
  75. package/dist-types/commands/SetDesiredCapacityCommand.d.ts +1 -1
  76. package/dist-types/commands/SetInstanceHealthCommand.d.ts +1 -1
  77. package/dist-types/commands/SetInstanceProtectionCommand.d.ts +1 -1
  78. package/dist-types/commands/StartInstanceRefreshCommand.d.ts +1 -1
  79. package/dist-types/commands/SuspendProcessesCommand.d.ts +1 -1
  80. package/dist-types/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +1 -1
  81. package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +1 -1
  82. package/dist-types/commands/index.d.ts +61 -0
  83. package/dist-types/index.d.ts +5 -75
  84. package/dist-types/models/models_0.d.ts +590 -99
  85. package/dist-types/pagination/index.d.ts +9 -0
  86. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  87. package/dist-types/runtimeConfig.d.ts +2 -0
  88. package/dist-types/runtimeConfig.native.d.ts +2 -0
  89. package/dist-types/ts3.4/AutoScalingClient.d.ts +4 -0
  90. package/dist-types/ts3.4/commands/index.d.ts +61 -0
  91. package/dist-types/ts3.4/index.d.ts +5 -75
  92. package/dist-types/ts3.4/models/models_0.d.ts +193 -0
  93. package/dist-types/ts3.4/pagination/index.d.ts +9 -0
  94. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  95. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  96. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  97. package/dist-types/ts3.4/waiters/index.d.ts +3 -0
  98. package/dist-types/waiters/index.d.ts +3 -0
  99. package/package.json +27 -27
@@ -4571,7 +4571,17 @@ var deserializeAws_queryServiceLinkedRoleFailureResponse = function (parsedOutpu
4571
4571
  return [2, contents];
4572
4572
  });
4573
4573
  }); };
4574
- var serializeAws_queryActivityIds = function (input, context) {
4574
+ var serializeAws_queryAcceleratorCountRequest = function (input, context) {
4575
+ var entries = {};
4576
+ if (input.Min !== undefined && input.Min !== null) {
4577
+ entries["Min"] = input.Min;
4578
+ }
4579
+ if (input.Max !== undefined && input.Max !== null) {
4580
+ entries["Max"] = input.Max;
4581
+ }
4582
+ return entries;
4583
+ };
4584
+ var serializeAws_queryAcceleratorManufacturers = function (input, context) {
4575
4585
  var e_1, _a;
4576
4586
  var entries = {};
4577
4587
  var counter = 1;
@@ -4594,6 +4604,85 @@ var serializeAws_queryActivityIds = function (input, context) {
4594
4604
  }
4595
4605
  return entries;
4596
4606
  };
4607
+ var serializeAws_queryAcceleratorNames = function (input, context) {
4608
+ var e_2, _a;
4609
+ var entries = {};
4610
+ var counter = 1;
4611
+ try {
4612
+ for (var input_2 = __values(input), input_2_1 = input_2.next(); !input_2_1.done; input_2_1 = input_2.next()) {
4613
+ var entry = input_2_1.value;
4614
+ if (entry === null) {
4615
+ continue;
4616
+ }
4617
+ entries["member." + counter] = entry;
4618
+ counter++;
4619
+ }
4620
+ }
4621
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
4622
+ finally {
4623
+ try {
4624
+ if (input_2_1 && !input_2_1.done && (_a = input_2.return)) _a.call(input_2);
4625
+ }
4626
+ finally { if (e_2) throw e_2.error; }
4627
+ }
4628
+ return entries;
4629
+ };
4630
+ var serializeAws_queryAcceleratorTotalMemoryMiBRequest = function (input, context) {
4631
+ var entries = {};
4632
+ if (input.Min !== undefined && input.Min !== null) {
4633
+ entries["Min"] = input.Min;
4634
+ }
4635
+ if (input.Max !== undefined && input.Max !== null) {
4636
+ entries["Max"] = input.Max;
4637
+ }
4638
+ return entries;
4639
+ };
4640
+ var serializeAws_queryAcceleratorTypes = function (input, context) {
4641
+ var e_3, _a;
4642
+ var entries = {};
4643
+ var counter = 1;
4644
+ try {
4645
+ for (var input_3 = __values(input), input_3_1 = input_3.next(); !input_3_1.done; input_3_1 = input_3.next()) {
4646
+ var entry = input_3_1.value;
4647
+ if (entry === null) {
4648
+ continue;
4649
+ }
4650
+ entries["member." + counter] = entry;
4651
+ counter++;
4652
+ }
4653
+ }
4654
+ catch (e_3_1) { e_3 = { error: e_3_1 }; }
4655
+ finally {
4656
+ try {
4657
+ if (input_3_1 && !input_3_1.done && (_a = input_3.return)) _a.call(input_3);
4658
+ }
4659
+ finally { if (e_3) throw e_3.error; }
4660
+ }
4661
+ return entries;
4662
+ };
4663
+ var serializeAws_queryActivityIds = function (input, context) {
4664
+ var e_4, _a;
4665
+ var entries = {};
4666
+ var counter = 1;
4667
+ try {
4668
+ for (var input_4 = __values(input), input_4_1 = input_4.next(); !input_4_1.done; input_4_1 = input_4.next()) {
4669
+ var entry = input_4_1.value;
4670
+ if (entry === null) {
4671
+ continue;
4672
+ }
4673
+ entries["member." + counter] = entry;
4674
+ counter++;
4675
+ }
4676
+ }
4677
+ catch (e_4_1) { e_4 = { error: e_4_1 }; }
4678
+ finally {
4679
+ try {
4680
+ if (input_4_1 && !input_4_1.done && (_a = input_4.return)) _a.call(input_4);
4681
+ }
4682
+ finally { if (e_4) throw e_4.error; }
4683
+ }
4684
+ return entries;
4685
+ };
4597
4686
  var serializeAws_queryAttachInstancesQuery = function (input, context) {
4598
4687
  var entries = {};
4599
4688
  if (input.InstanceIds !== undefined && input.InstanceIds !== null) {
@@ -4640,12 +4729,12 @@ var serializeAws_queryAttachLoadBalancerTargetGroupsType = function (input, cont
4640
4729
  return entries;
4641
4730
  };
4642
4731
  var serializeAws_queryAutoScalingGroupNames = function (input, context) {
4643
- var e_2, _a;
4732
+ var e_5, _a;
4644
4733
  var entries = {};
4645
4734
  var counter = 1;
4646
4735
  try {
4647
- for (var input_2 = __values(input), input_2_1 = input_2.next(); !input_2_1.done; input_2_1 = input_2.next()) {
4648
- var entry = input_2_1.value;
4736
+ for (var input_5 = __values(input), input_5_1 = input_5.next(); !input_5_1.done; input_5_1 = input_5.next()) {
4737
+ var entry = input_5_1.value;
4649
4738
  if (entry === null) {
4650
4739
  continue;
4651
4740
  }
@@ -4653,12 +4742,12 @@ var serializeAws_queryAutoScalingGroupNames = function (input, context) {
4653
4742
  counter++;
4654
4743
  }
4655
4744
  }
4656
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
4745
+ catch (e_5_1) { e_5 = { error: e_5_1 }; }
4657
4746
  finally {
4658
4747
  try {
4659
- if (input_2_1 && !input_2_1.done && (_a = input_2.return)) _a.call(input_2);
4748
+ if (input_5_1 && !input_5_1.done && (_a = input_5.return)) _a.call(input_5);
4660
4749
  }
4661
- finally { if (e_2) throw e_2.error; }
4750
+ finally { if (e_5) throw e_5.error; }
4662
4751
  }
4663
4752
  return entries;
4664
4753
  };
@@ -4689,12 +4778,12 @@ var serializeAws_queryAutoScalingGroupNamesType = function (input, context) {
4689
4778
  return entries;
4690
4779
  };
4691
4780
  var serializeAws_queryAutoScalingNotificationTypes = function (input, context) {
4692
- var e_3, _a;
4781
+ var e_6, _a;
4693
4782
  var entries = {};
4694
4783
  var counter = 1;
4695
4784
  try {
4696
- for (var input_3 = __values(input), input_3_1 = input_3.next(); !input_3_1.done; input_3_1 = input_3.next()) {
4697
- var entry = input_3_1.value;
4785
+ for (var input_6 = __values(input), input_6_1 = input_6.next(); !input_6_1.done; input_6_1 = input_6.next()) {
4786
+ var entry = input_6_1.value;
4698
4787
  if (entry === null) {
4699
4788
  continue;
4700
4789
  }
@@ -4702,22 +4791,22 @@ var serializeAws_queryAutoScalingNotificationTypes = function (input, context) {
4702
4791
  counter++;
4703
4792
  }
4704
4793
  }
4705
- catch (e_3_1) { e_3 = { error: e_3_1 }; }
4794
+ catch (e_6_1) { e_6 = { error: e_6_1 }; }
4706
4795
  finally {
4707
4796
  try {
4708
- if (input_3_1 && !input_3_1.done && (_a = input_3.return)) _a.call(input_3);
4797
+ if (input_6_1 && !input_6_1.done && (_a = input_6.return)) _a.call(input_6);
4709
4798
  }
4710
- finally { if (e_3) throw e_3.error; }
4799
+ finally { if (e_6) throw e_6.error; }
4711
4800
  }
4712
4801
  return entries;
4713
4802
  };
4714
4803
  var serializeAws_queryAvailabilityZones = function (input, context) {
4715
- var e_4, _a;
4804
+ var e_7, _a;
4716
4805
  var entries = {};
4717
4806
  var counter = 1;
4718
4807
  try {
4719
- for (var input_4 = __values(input), input_4_1 = input_4.next(); !input_4_1.done; input_4_1 = input_4.next()) {
4720
- var entry = input_4_1.value;
4808
+ for (var input_7 = __values(input), input_7_1 = input_7.next(); !input_7_1.done; input_7_1 = input_7.next()) {
4809
+ var entry = input_7_1.value;
4721
4810
  if (entry === null) {
4722
4811
  continue;
4723
4812
  }
@@ -4725,12 +4814,22 @@ var serializeAws_queryAvailabilityZones = function (input, context) {
4725
4814
  counter++;
4726
4815
  }
4727
4816
  }
4728
- catch (e_4_1) { e_4 = { error: e_4_1 }; }
4817
+ catch (e_7_1) { e_7 = { error: e_7_1 }; }
4729
4818
  finally {
4730
4819
  try {
4731
- if (input_4_1 && !input_4_1.done && (_a = input_4.return)) _a.call(input_4);
4820
+ if (input_7_1 && !input_7_1.done && (_a = input_7.return)) _a.call(input_7);
4732
4821
  }
4733
- finally { if (e_4) throw e_4.error; }
4822
+ finally { if (e_7) throw e_7.error; }
4823
+ }
4824
+ return entries;
4825
+ };
4826
+ var serializeAws_queryBaselineEbsBandwidthMbpsRequest = function (input, context) {
4827
+ var entries = {};
4828
+ if (input.Min !== undefined && input.Min !== null) {
4829
+ entries["Min"] = input.Min;
4830
+ }
4831
+ if (input.Max !== undefined && input.Max !== null) {
4832
+ entries["Max"] = input.Max;
4734
4833
  }
4735
4834
  return entries;
4736
4835
  };
@@ -4786,12 +4885,12 @@ var serializeAws_queryBlockDeviceMapping = function (input, context) {
4786
4885
  return entries;
4787
4886
  };
4788
4887
  var serializeAws_queryBlockDeviceMappings = function (input, context) {
4789
- var e_5, _a;
4888
+ var e_8, _a;
4790
4889
  var entries = {};
4791
4890
  var counter = 1;
4792
4891
  try {
4793
- for (var input_5 = __values(input), input_5_1 = input_5.next(); !input_5_1.done; input_5_1 = input_5.next()) {
4794
- var entry = input_5_1.value;
4892
+ for (var input_8 = __values(input), input_8_1 = input_8.next(); !input_8_1.done; input_8_1 = input_8.next()) {
4893
+ var entry = input_8_1.value;
4795
4894
  if (entry === null) {
4796
4895
  continue;
4797
4896
  }
@@ -4803,12 +4902,12 @@ var serializeAws_queryBlockDeviceMappings = function (input, context) {
4803
4902
  counter++;
4804
4903
  }
4805
4904
  }
4806
- catch (e_5_1) { e_5 = { error: e_5_1 }; }
4905
+ catch (e_8_1) { e_8 = { error: e_8_1 }; }
4807
4906
  finally {
4808
4907
  try {
4809
- if (input_5_1 && !input_5_1.done && (_a = input_5.return)) _a.call(input_5);
4908
+ if (input_8_1 && !input_8_1.done && (_a = input_8.return)) _a.call(input_8);
4810
4909
  }
4811
- finally { if (e_5) throw e_5.error; }
4910
+ finally { if (e_8) throw e_8.error; }
4812
4911
  }
4813
4912
  return entries;
4814
4913
  };
@@ -4820,12 +4919,12 @@ var serializeAws_queryCancelInstanceRefreshType = function (input, context) {
4820
4919
  return entries;
4821
4920
  };
4822
4921
  var serializeAws_queryCheckpointPercentages = function (input, context) {
4823
- var e_6, _a;
4922
+ var e_9, _a;
4824
4923
  var entries = {};
4825
4924
  var counter = 1;
4826
4925
  try {
4827
- for (var input_6 = __values(input), input_6_1 = input_6.next(); !input_6_1.done; input_6_1 = input_6.next()) {
4828
- var entry = input_6_1.value;
4926
+ for (var input_9 = __values(input), input_9_1 = input_9.next(); !input_9_1.done; input_9_1 = input_9.next()) {
4927
+ var entry = input_9_1.value;
4829
4928
  if (entry === null) {
4830
4929
  continue;
4831
4930
  }
@@ -4833,22 +4932,22 @@ var serializeAws_queryCheckpointPercentages = function (input, context) {
4833
4932
  counter++;
4834
4933
  }
4835
4934
  }
4836
- catch (e_6_1) { e_6 = { error: e_6_1 }; }
4935
+ catch (e_9_1) { e_9 = { error: e_9_1 }; }
4837
4936
  finally {
4838
4937
  try {
4839
- if (input_6_1 && !input_6_1.done && (_a = input_6.return)) _a.call(input_6);
4938
+ if (input_9_1 && !input_9_1.done && (_a = input_9.return)) _a.call(input_9);
4840
4939
  }
4841
- finally { if (e_6) throw e_6.error; }
4940
+ finally { if (e_9) throw e_9.error; }
4842
4941
  }
4843
4942
  return entries;
4844
4943
  };
4845
4944
  var serializeAws_queryClassicLinkVPCSecurityGroups = function (input, context) {
4846
- var e_7, _a;
4945
+ var e_10, _a;
4847
4946
  var entries = {};
4848
4947
  var counter = 1;
4849
4948
  try {
4850
- for (var input_7 = __values(input), input_7_1 = input_7.next(); !input_7_1.done; input_7_1 = input_7.next()) {
4851
- var entry = input_7_1.value;
4949
+ for (var input_10 = __values(input), input_10_1 = input_10.next(); !input_10_1.done; input_10_1 = input_10.next()) {
4950
+ var entry = input_10_1.value;
4852
4951
  if (entry === null) {
4853
4952
  continue;
4854
4953
  }
@@ -4856,12 +4955,12 @@ var serializeAws_queryClassicLinkVPCSecurityGroups = function (input, context) {
4856
4955
  counter++;
4857
4956
  }
4858
4957
  }
4859
- catch (e_7_1) { e_7 = { error: e_7_1 }; }
4958
+ catch (e_10_1) { e_10 = { error: e_10_1 }; }
4860
4959
  finally {
4861
4960
  try {
4862
- if (input_7_1 && !input_7_1.done && (_a = input_7.return)) _a.call(input_7);
4961
+ if (input_10_1 && !input_10_1.done && (_a = input_10.return)) _a.call(input_10);
4863
4962
  }
4864
- finally { if (e_7) throw e_7.error; }
4963
+ finally { if (e_10) throw e_10.error; }
4865
4964
  }
4866
4965
  return entries;
4867
4966
  };
@@ -4884,6 +4983,29 @@ var serializeAws_queryCompleteLifecycleActionType = function (input, context) {
4884
4983
  }
4885
4984
  return entries;
4886
4985
  };
4986
+ var serializeAws_queryCpuManufacturers = function (input, context) {
4987
+ var e_11, _a;
4988
+ var entries = {};
4989
+ var counter = 1;
4990
+ try {
4991
+ for (var input_11 = __values(input), input_11_1 = input_11.next(); !input_11_1.done; input_11_1 = input_11.next()) {
4992
+ var entry = input_11_1.value;
4993
+ if (entry === null) {
4994
+ continue;
4995
+ }
4996
+ entries["member." + counter] = entry;
4997
+ counter++;
4998
+ }
4999
+ }
5000
+ catch (e_11_1) { e_11 = { error: e_11_1 }; }
5001
+ finally {
5002
+ try {
5003
+ if (input_11_1 && !input_11_1.done && (_a = input_11.return)) _a.call(input_11);
5004
+ }
5005
+ finally { if (e_11) throw e_11.error; }
5006
+ }
5007
+ return entries;
5008
+ };
4887
5009
  var serializeAws_queryCreateAutoScalingGroupType = function (input, context) {
4888
5010
  var entries = {};
4889
5011
  if (input.AutoScalingGroupName !== undefined && input.AutoScalingGroupName !== null) {
@@ -4998,6 +5120,9 @@ var serializeAws_queryCreateAutoScalingGroupType = function (input, context) {
4998
5120
  if (input.Context !== undefined && input.Context !== null) {
4999
5121
  entries["Context"] = input.Context;
5000
5122
  }
5123
+ if (input.DesiredCapacityType !== undefined && input.DesiredCapacityType !== null) {
5124
+ entries["DesiredCapacityType"] = input.DesiredCapacityType;
5125
+ }
5001
5126
  return entries;
5002
5127
  };
5003
5128
  var serializeAws_queryCreateLaunchConfigurationType = function (input, context) {
@@ -5547,6 +5672,29 @@ var serializeAws_queryEnterStandbyQuery = function (input, context) {
5547
5672
  }
5548
5673
  return entries;
5549
5674
  };
5675
+ var serializeAws_queryExcludedInstanceTypes = function (input, context) {
5676
+ var e_12, _a;
5677
+ var entries = {};
5678
+ var counter = 1;
5679
+ try {
5680
+ for (var input_12 = __values(input), input_12_1 = input_12.next(); !input_12_1.done; input_12_1 = input_12.next()) {
5681
+ var entry = input_12_1.value;
5682
+ if (entry === null) {
5683
+ continue;
5684
+ }
5685
+ entries["member." + counter] = entry;
5686
+ counter++;
5687
+ }
5688
+ }
5689
+ catch (e_12_1) { e_12 = { error: e_12_1 }; }
5690
+ finally {
5691
+ try {
5692
+ if (input_12_1 && !input_12_1.done && (_a = input_12.return)) _a.call(input_12);
5693
+ }
5694
+ finally { if (e_12) throw e_12.error; }
5695
+ }
5696
+ return entries;
5697
+ };
5550
5698
  var serializeAws_queryExecutePolicyType = function (input, context) {
5551
5699
  var entries = {};
5552
5700
  if (input.AutoScalingGroupName !== undefined && input.AutoScalingGroupName !== null) {
@@ -5597,12 +5745,12 @@ var serializeAws_queryFilter = function (input, context) {
5597
5745
  return entries;
5598
5746
  };
5599
5747
  var serializeAws_queryFilters = function (input, context) {
5600
- var e_8, _a;
5748
+ var e_13, _a;
5601
5749
  var entries = {};
5602
5750
  var counter = 1;
5603
5751
  try {
5604
- for (var input_8 = __values(input), input_8_1 = input_8.next(); !input_8_1.done; input_8_1 = input_8.next()) {
5605
- var entry = input_8_1.value;
5752
+ for (var input_13 = __values(input), input_13_1 = input_13.next(); !input_13_1.done; input_13_1 = input_13.next()) {
5753
+ var entry = input_13_1.value;
5606
5754
  if (entry === null) {
5607
5755
  continue;
5608
5756
  }
@@ -5614,12 +5762,12 @@ var serializeAws_queryFilters = function (input, context) {
5614
5762
  counter++;
5615
5763
  }
5616
5764
  }
5617
- catch (e_8_1) { e_8 = { error: e_8_1 }; }
5765
+ catch (e_13_1) { e_13 = { error: e_13_1 }; }
5618
5766
  finally {
5619
5767
  try {
5620
- if (input_8_1 && !input_8_1.done && (_a = input_8.return)) _a.call(input_8);
5768
+ if (input_13_1 && !input_13_1.done && (_a = input_13.return)) _a.call(input_13);
5621
5769
  }
5622
- finally { if (e_8) throw e_8.error; }
5770
+ finally { if (e_13) throw e_13.error; }
5623
5771
  }
5624
5772
  return entries;
5625
5773
  };
@@ -5639,13 +5787,36 @@ var serializeAws_queryGetPredictiveScalingForecastType = function (input, contex
5639
5787
  }
5640
5788
  return entries;
5641
5789
  };
5790
+ var serializeAws_queryInstanceGenerations = function (input, context) {
5791
+ var e_14, _a;
5792
+ var entries = {};
5793
+ var counter = 1;
5794
+ try {
5795
+ for (var input_14 = __values(input), input_14_1 = input_14.next(); !input_14_1.done; input_14_1 = input_14.next()) {
5796
+ var entry = input_14_1.value;
5797
+ if (entry === null) {
5798
+ continue;
5799
+ }
5800
+ entries["member." + counter] = entry;
5801
+ counter++;
5802
+ }
5803
+ }
5804
+ catch (e_14_1) { e_14 = { error: e_14_1 }; }
5805
+ finally {
5806
+ try {
5807
+ if (input_14_1 && !input_14_1.done && (_a = input_14.return)) _a.call(input_14);
5808
+ }
5809
+ finally { if (e_14) throw e_14.error; }
5810
+ }
5811
+ return entries;
5812
+ };
5642
5813
  var serializeAws_queryInstanceIds = function (input, context) {
5643
- var e_9, _a;
5814
+ var e_15, _a;
5644
5815
  var entries = {};
5645
5816
  var counter = 1;
5646
5817
  try {
5647
- for (var input_9 = __values(input), input_9_1 = input_9.next(); !input_9_1.done; input_9_1 = input_9.next()) {
5648
- var entry = input_9_1.value;
5818
+ for (var input_15 = __values(input), input_15_1 = input_15.next(); !input_15_1.done; input_15_1 = input_15.next()) {
5819
+ var entry = input_15_1.value;
5649
5820
  if (entry === null) {
5650
5821
  continue;
5651
5822
  }
@@ -5653,12 +5824,12 @@ var serializeAws_queryInstanceIds = function (input, context) {
5653
5824
  counter++;
5654
5825
  }
5655
5826
  }
5656
- catch (e_9_1) { e_9 = { error: e_9_1 }; }
5827
+ catch (e_15_1) { e_15 = { error: e_15_1 }; }
5657
5828
  finally {
5658
5829
  try {
5659
- if (input_9_1 && !input_9_1.done && (_a = input_9.return)) _a.call(input_9);
5830
+ if (input_15_1 && !input_15_1.done && (_a = input_15.return)) _a.call(input_15);
5660
5831
  }
5661
- finally { if (e_9) throw e_9.error; }
5832
+ finally { if (e_15) throw e_15.error; }
5662
5833
  }
5663
5834
  return entries;
5664
5835
  };
@@ -5683,12 +5854,12 @@ var serializeAws_queryInstanceMonitoring = function (input, context) {
5683
5854
  return entries;
5684
5855
  };
5685
5856
  var serializeAws_queryInstanceRefreshIds = function (input, context) {
5686
- var e_10, _a;
5857
+ var e_16, _a;
5687
5858
  var entries = {};
5688
5859
  var counter = 1;
5689
5860
  try {
5690
- for (var input_10 = __values(input), input_10_1 = input_10.next(); !input_10_1.done; input_10_1 = input_10.next()) {
5691
- var entry = input_10_1.value;
5861
+ for (var input_16 = __values(input), input_16_1 = input_16.next(); !input_16_1.done; input_16_1 = input_16.next()) {
5862
+ var entry = input_16_1.value;
5692
5863
  if (entry === null) {
5693
5864
  continue;
5694
5865
  }
@@ -5696,12 +5867,156 @@ var serializeAws_queryInstanceRefreshIds = function (input, context) {
5696
5867
  counter++;
5697
5868
  }
5698
5869
  }
5699
- catch (e_10_1) { e_10 = { error: e_10_1 }; }
5870
+ catch (e_16_1) { e_16 = { error: e_16_1 }; }
5700
5871
  finally {
5701
5872
  try {
5702
- if (input_10_1 && !input_10_1.done && (_a = input_10.return)) _a.call(input_10);
5873
+ if (input_16_1 && !input_16_1.done && (_a = input_16.return)) _a.call(input_16);
5703
5874
  }
5704
- finally { if (e_10) throw e_10.error; }
5875
+ finally { if (e_16) throw e_16.error; }
5876
+ }
5877
+ return entries;
5878
+ };
5879
+ var serializeAws_queryInstanceRequirements = function (input, context) {
5880
+ var entries = {};
5881
+ if (input.VCpuCount !== undefined && input.VCpuCount !== null) {
5882
+ var memberEntries = serializeAws_queryVCpuCountRequest(input.VCpuCount, context);
5883
+ Object.entries(memberEntries).forEach(function (_a) {
5884
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
5885
+ var loc = "VCpuCount." + key;
5886
+ entries[loc] = value;
5887
+ });
5888
+ }
5889
+ if (input.MemoryMiB !== undefined && input.MemoryMiB !== null) {
5890
+ var memberEntries = serializeAws_queryMemoryMiBRequest(input.MemoryMiB, context);
5891
+ Object.entries(memberEntries).forEach(function (_a) {
5892
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
5893
+ var loc = "MemoryMiB." + key;
5894
+ entries[loc] = value;
5895
+ });
5896
+ }
5897
+ if (input.CpuManufacturers !== undefined && input.CpuManufacturers !== null) {
5898
+ var memberEntries = serializeAws_queryCpuManufacturers(input.CpuManufacturers, context);
5899
+ Object.entries(memberEntries).forEach(function (_a) {
5900
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
5901
+ var loc = "CpuManufacturers." + key;
5902
+ entries[loc] = value;
5903
+ });
5904
+ }
5905
+ if (input.MemoryGiBPerVCpu !== undefined && input.MemoryGiBPerVCpu !== null) {
5906
+ var memberEntries = serializeAws_queryMemoryGiBPerVCpuRequest(input.MemoryGiBPerVCpu, context);
5907
+ Object.entries(memberEntries).forEach(function (_a) {
5908
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
5909
+ var loc = "MemoryGiBPerVCpu." + key;
5910
+ entries[loc] = value;
5911
+ });
5912
+ }
5913
+ if (input.ExcludedInstanceTypes !== undefined && input.ExcludedInstanceTypes !== null) {
5914
+ var memberEntries = serializeAws_queryExcludedInstanceTypes(input.ExcludedInstanceTypes, context);
5915
+ Object.entries(memberEntries).forEach(function (_a) {
5916
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
5917
+ var loc = "ExcludedInstanceTypes." + key;
5918
+ entries[loc] = value;
5919
+ });
5920
+ }
5921
+ if (input.InstanceGenerations !== undefined && input.InstanceGenerations !== null) {
5922
+ var memberEntries = serializeAws_queryInstanceGenerations(input.InstanceGenerations, context);
5923
+ Object.entries(memberEntries).forEach(function (_a) {
5924
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
5925
+ var loc = "InstanceGenerations." + key;
5926
+ entries[loc] = value;
5927
+ });
5928
+ }
5929
+ if (input.SpotMaxPricePercentageOverLowestPrice !== undefined &&
5930
+ input.SpotMaxPricePercentageOverLowestPrice !== null) {
5931
+ entries["SpotMaxPricePercentageOverLowestPrice"] = input.SpotMaxPricePercentageOverLowestPrice;
5932
+ }
5933
+ if (input.OnDemandMaxPricePercentageOverLowestPrice !== undefined &&
5934
+ input.OnDemandMaxPricePercentageOverLowestPrice !== null) {
5935
+ entries["OnDemandMaxPricePercentageOverLowestPrice"] = input.OnDemandMaxPricePercentageOverLowestPrice;
5936
+ }
5937
+ if (input.BareMetal !== undefined && input.BareMetal !== null) {
5938
+ entries["BareMetal"] = input.BareMetal;
5939
+ }
5940
+ if (input.BurstablePerformance !== undefined && input.BurstablePerformance !== null) {
5941
+ entries["BurstablePerformance"] = input.BurstablePerformance;
5942
+ }
5943
+ if (input.RequireHibernateSupport !== undefined && input.RequireHibernateSupport !== null) {
5944
+ entries["RequireHibernateSupport"] = input.RequireHibernateSupport;
5945
+ }
5946
+ if (input.NetworkInterfaceCount !== undefined && input.NetworkInterfaceCount !== null) {
5947
+ var memberEntries = serializeAws_queryNetworkInterfaceCountRequest(input.NetworkInterfaceCount, context);
5948
+ Object.entries(memberEntries).forEach(function (_a) {
5949
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
5950
+ var loc = "NetworkInterfaceCount." + key;
5951
+ entries[loc] = value;
5952
+ });
5953
+ }
5954
+ if (input.LocalStorage !== undefined && input.LocalStorage !== null) {
5955
+ entries["LocalStorage"] = input.LocalStorage;
5956
+ }
5957
+ if (input.LocalStorageTypes !== undefined && input.LocalStorageTypes !== null) {
5958
+ var memberEntries = serializeAws_queryLocalStorageTypes(input.LocalStorageTypes, context);
5959
+ Object.entries(memberEntries).forEach(function (_a) {
5960
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
5961
+ var loc = "LocalStorageTypes." + key;
5962
+ entries[loc] = value;
5963
+ });
5964
+ }
5965
+ if (input.TotalLocalStorageGB !== undefined && input.TotalLocalStorageGB !== null) {
5966
+ var memberEntries = serializeAws_queryTotalLocalStorageGBRequest(input.TotalLocalStorageGB, context);
5967
+ Object.entries(memberEntries).forEach(function (_a) {
5968
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
5969
+ var loc = "TotalLocalStorageGB." + key;
5970
+ entries[loc] = value;
5971
+ });
5972
+ }
5973
+ if (input.BaselineEbsBandwidthMbps !== undefined && input.BaselineEbsBandwidthMbps !== null) {
5974
+ var memberEntries = serializeAws_queryBaselineEbsBandwidthMbpsRequest(input.BaselineEbsBandwidthMbps, context);
5975
+ Object.entries(memberEntries).forEach(function (_a) {
5976
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
5977
+ var loc = "BaselineEbsBandwidthMbps." + key;
5978
+ entries[loc] = value;
5979
+ });
5980
+ }
5981
+ if (input.AcceleratorTypes !== undefined && input.AcceleratorTypes !== null) {
5982
+ var memberEntries = serializeAws_queryAcceleratorTypes(input.AcceleratorTypes, context);
5983
+ Object.entries(memberEntries).forEach(function (_a) {
5984
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
5985
+ var loc = "AcceleratorTypes." + key;
5986
+ entries[loc] = value;
5987
+ });
5988
+ }
5989
+ if (input.AcceleratorCount !== undefined && input.AcceleratorCount !== null) {
5990
+ var memberEntries = serializeAws_queryAcceleratorCountRequest(input.AcceleratorCount, context);
5991
+ Object.entries(memberEntries).forEach(function (_a) {
5992
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
5993
+ var loc = "AcceleratorCount." + key;
5994
+ entries[loc] = value;
5995
+ });
5996
+ }
5997
+ if (input.AcceleratorManufacturers !== undefined && input.AcceleratorManufacturers !== null) {
5998
+ var memberEntries = serializeAws_queryAcceleratorManufacturers(input.AcceleratorManufacturers, context);
5999
+ Object.entries(memberEntries).forEach(function (_a) {
6000
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
6001
+ var loc = "AcceleratorManufacturers." + key;
6002
+ entries[loc] = value;
6003
+ });
6004
+ }
6005
+ if (input.AcceleratorNames !== undefined && input.AcceleratorNames !== null) {
6006
+ var memberEntries = serializeAws_queryAcceleratorNames(input.AcceleratorNames, context);
6007
+ Object.entries(memberEntries).forEach(function (_a) {
6008
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
6009
+ var loc = "AcceleratorNames." + key;
6010
+ entries[loc] = value;
6011
+ });
6012
+ }
6013
+ if (input.AcceleratorTotalMemoryMiB !== undefined && input.AcceleratorTotalMemoryMiB !== null) {
6014
+ var memberEntries = serializeAws_queryAcceleratorTotalMemoryMiBRequest(input.AcceleratorTotalMemoryMiB, context);
6015
+ Object.entries(memberEntries).forEach(function (_a) {
6016
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
6017
+ var loc = "AcceleratorTotalMemoryMiB." + key;
6018
+ entries[loc] = value;
6019
+ });
5705
6020
  }
5706
6021
  return entries;
5707
6022
  };
@@ -5728,12 +6043,12 @@ var serializeAws_queryInstancesDistribution = function (input, context) {
5728
6043
  return entries;
5729
6044
  };
5730
6045
  var serializeAws_queryLaunchConfigurationNames = function (input, context) {
5731
- var e_11, _a;
6046
+ var e_17, _a;
5732
6047
  var entries = {};
5733
6048
  var counter = 1;
5734
6049
  try {
5735
- for (var input_11 = __values(input), input_11_1 = input_11.next(); !input_11_1.done; input_11_1 = input_11.next()) {
5736
- var entry = input_11_1.value;
6050
+ for (var input_17 = __values(input), input_17_1 = input_17.next(); !input_17_1.done; input_17_1 = input_17.next()) {
6051
+ var entry = input_17_1.value;
5737
6052
  if (entry === null) {
5738
6053
  continue;
5739
6054
  }
@@ -5741,12 +6056,12 @@ var serializeAws_queryLaunchConfigurationNames = function (input, context) {
5741
6056
  counter++;
5742
6057
  }
5743
6058
  }
5744
- catch (e_11_1) { e_11 = { error: e_11_1 }; }
6059
+ catch (e_17_1) { e_17 = { error: e_17_1 }; }
5745
6060
  finally {
5746
6061
  try {
5747
- if (input_11_1 && !input_11_1.done && (_a = input_11.return)) _a.call(input_11);
6062
+ if (input_17_1 && !input_17_1.done && (_a = input_17.return)) _a.call(input_17);
5748
6063
  }
5749
- finally { if (e_11) throw e_11.error; }
6064
+ finally { if (e_17) throw e_17.error; }
5750
6065
  }
5751
6066
  return entries;
5752
6067
  };
@@ -5811,6 +6126,14 @@ var serializeAws_queryLaunchTemplateOverrides = function (input, context) {
5811
6126
  entries[loc] = value;
5812
6127
  });
5813
6128
  }
6129
+ if (input.InstanceRequirements !== undefined && input.InstanceRequirements !== null) {
6130
+ var memberEntries = serializeAws_queryInstanceRequirements(input.InstanceRequirements, context);
6131
+ Object.entries(memberEntries).forEach(function (_a) {
6132
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
6133
+ var loc = "InstanceRequirements." + key;
6134
+ entries[loc] = value;
6135
+ });
6136
+ }
5814
6137
  return entries;
5815
6138
  };
5816
6139
  var serializeAws_queryLaunchTemplateSpecification = function (input, context) {
@@ -5827,12 +6150,12 @@ var serializeAws_queryLaunchTemplateSpecification = function (input, context) {
5827
6150
  return entries;
5828
6151
  };
5829
6152
  var serializeAws_queryLifecycleHookNames = function (input, context) {
5830
- var e_12, _a;
6153
+ var e_18, _a;
5831
6154
  var entries = {};
5832
6155
  var counter = 1;
5833
6156
  try {
5834
- for (var input_12 = __values(input), input_12_1 = input_12.next(); !input_12_1.done; input_12_1 = input_12.next()) {
5835
- var entry = input_12_1.value;
6157
+ for (var input_18 = __values(input), input_18_1 = input_18.next(); !input_18_1.done; input_18_1 = input_18.next()) {
6158
+ var entry = input_18_1.value;
5836
6159
  if (entry === null) {
5837
6160
  continue;
5838
6161
  }
@@ -5840,12 +6163,12 @@ var serializeAws_queryLifecycleHookNames = function (input, context) {
5840
6163
  counter++;
5841
6164
  }
5842
6165
  }
5843
- catch (e_12_1) { e_12 = { error: e_12_1 }; }
6166
+ catch (e_18_1) { e_18 = { error: e_18_1 }; }
5844
6167
  finally {
5845
6168
  try {
5846
- if (input_12_1 && !input_12_1.done && (_a = input_12.return)) _a.call(input_12);
6169
+ if (input_18_1 && !input_18_1.done && (_a = input_18.return)) _a.call(input_18);
5847
6170
  }
5848
- finally { if (e_12) throw e_12.error; }
6171
+ finally { if (e_18) throw e_18.error; }
5849
6172
  }
5850
6173
  return entries;
5851
6174
  };
@@ -5875,12 +6198,12 @@ var serializeAws_queryLifecycleHookSpecification = function (input, context) {
5875
6198
  return entries;
5876
6199
  };
5877
6200
  var serializeAws_queryLifecycleHookSpecifications = function (input, context) {
5878
- var e_13, _a;
6201
+ var e_19, _a;
5879
6202
  var entries = {};
5880
6203
  var counter = 1;
5881
6204
  try {
5882
- for (var input_13 = __values(input), input_13_1 = input_13.next(); !input_13_1.done; input_13_1 = input_13.next()) {
5883
- var entry = input_13_1.value;
6205
+ for (var input_19 = __values(input), input_19_1 = input_19.next(); !input_19_1.done; input_19_1 = input_19.next()) {
6206
+ var entry = input_19_1.value;
5884
6207
  if (entry === null) {
5885
6208
  continue;
5886
6209
  }
@@ -5892,22 +6215,22 @@ var serializeAws_queryLifecycleHookSpecifications = function (input, context) {
5892
6215
  counter++;
5893
6216
  }
5894
6217
  }
5895
- catch (e_13_1) { e_13 = { error: e_13_1 }; }
6218
+ catch (e_19_1) { e_19 = { error: e_19_1 }; }
5896
6219
  finally {
5897
6220
  try {
5898
- if (input_13_1 && !input_13_1.done && (_a = input_13.return)) _a.call(input_13);
6221
+ if (input_19_1 && !input_19_1.done && (_a = input_19.return)) _a.call(input_19);
5899
6222
  }
5900
- finally { if (e_13) throw e_13.error; }
6223
+ finally { if (e_19) throw e_19.error; }
5901
6224
  }
5902
6225
  return entries;
5903
6226
  };
5904
6227
  var serializeAws_queryLoadBalancerNames = function (input, context) {
5905
- var e_14, _a;
6228
+ var e_20, _a;
5906
6229
  var entries = {};
5907
6230
  var counter = 1;
5908
6231
  try {
5909
- for (var input_14 = __values(input), input_14_1 = input_14.next(); !input_14_1.done; input_14_1 = input_14.next()) {
5910
- var entry = input_14_1.value;
6232
+ for (var input_20 = __values(input), input_20_1 = input_20.next(); !input_20_1.done; input_20_1 = input_20.next()) {
6233
+ var entry = input_20_1.value;
5911
6234
  if (entry === null) {
5912
6235
  continue;
5913
6236
  }
@@ -5915,12 +6238,55 @@ var serializeAws_queryLoadBalancerNames = function (input, context) {
5915
6238
  counter++;
5916
6239
  }
5917
6240
  }
5918
- catch (e_14_1) { e_14 = { error: e_14_1 }; }
6241
+ catch (e_20_1) { e_20 = { error: e_20_1 }; }
5919
6242
  finally {
5920
6243
  try {
5921
- if (input_14_1 && !input_14_1.done && (_a = input_14.return)) _a.call(input_14);
6244
+ if (input_20_1 && !input_20_1.done && (_a = input_20.return)) _a.call(input_20);
5922
6245
  }
5923
- finally { if (e_14) throw e_14.error; }
6246
+ finally { if (e_20) throw e_20.error; }
6247
+ }
6248
+ return entries;
6249
+ };
6250
+ var serializeAws_queryLocalStorageTypes = function (input, context) {
6251
+ var e_21, _a;
6252
+ var entries = {};
6253
+ var counter = 1;
6254
+ try {
6255
+ for (var input_21 = __values(input), input_21_1 = input_21.next(); !input_21_1.done; input_21_1 = input_21.next()) {
6256
+ var entry = input_21_1.value;
6257
+ if (entry === null) {
6258
+ continue;
6259
+ }
6260
+ entries["member." + counter] = entry;
6261
+ counter++;
6262
+ }
6263
+ }
6264
+ catch (e_21_1) { e_21 = { error: e_21_1 }; }
6265
+ finally {
6266
+ try {
6267
+ if (input_21_1 && !input_21_1.done && (_a = input_21.return)) _a.call(input_21);
6268
+ }
6269
+ finally { if (e_21) throw e_21.error; }
6270
+ }
6271
+ return entries;
6272
+ };
6273
+ var serializeAws_queryMemoryGiBPerVCpuRequest = function (input, context) {
6274
+ var entries = {};
6275
+ if (input.Min !== undefined && input.Min !== null) {
6276
+ entries["Min"] = __serializeFloat(input.Min);
6277
+ }
6278
+ if (input.Max !== undefined && input.Max !== null) {
6279
+ entries["Max"] = __serializeFloat(input.Max);
6280
+ }
6281
+ return entries;
6282
+ };
6283
+ var serializeAws_queryMemoryMiBRequest = function (input, context) {
6284
+ var entries = {};
6285
+ if (input.Min !== undefined && input.Min !== null) {
6286
+ entries["Min"] = input.Min;
6287
+ }
6288
+ if (input.Max !== undefined && input.Max !== null) {
6289
+ entries["Max"] = input.Max;
5924
6290
  }
5925
6291
  return entries;
5926
6292
  };
@@ -5935,12 +6301,12 @@ var serializeAws_queryMetricDimension = function (input, context) {
5935
6301
  return entries;
5936
6302
  };
5937
6303
  var serializeAws_queryMetricDimensions = function (input, context) {
5938
- var e_15, _a;
6304
+ var e_22, _a;
5939
6305
  var entries = {};
5940
6306
  var counter = 1;
5941
6307
  try {
5942
- for (var input_15 = __values(input), input_15_1 = input_15.next(); !input_15_1.done; input_15_1 = input_15.next()) {
5943
- var entry = input_15_1.value;
6308
+ for (var input_22 = __values(input), input_22_1 = input_22.next(); !input_22_1.done; input_22_1 = input_22.next()) {
6309
+ var entry = input_22_1.value;
5944
6310
  if (entry === null) {
5945
6311
  continue;
5946
6312
  }
@@ -5952,22 +6318,22 @@ var serializeAws_queryMetricDimensions = function (input, context) {
5952
6318
  counter++;
5953
6319
  }
5954
6320
  }
5955
- catch (e_15_1) { e_15 = { error: e_15_1 }; }
6321
+ catch (e_22_1) { e_22 = { error: e_22_1 }; }
5956
6322
  finally {
5957
6323
  try {
5958
- if (input_15_1 && !input_15_1.done && (_a = input_15.return)) _a.call(input_15);
6324
+ if (input_22_1 && !input_22_1.done && (_a = input_22.return)) _a.call(input_22);
5959
6325
  }
5960
- finally { if (e_15) throw e_15.error; }
6326
+ finally { if (e_22) throw e_22.error; }
5961
6327
  }
5962
6328
  return entries;
5963
6329
  };
5964
6330
  var serializeAws_queryMetrics = function (input, context) {
5965
- var e_16, _a;
6331
+ var e_23, _a;
5966
6332
  var entries = {};
5967
6333
  var counter = 1;
5968
6334
  try {
5969
- for (var input_16 = __values(input), input_16_1 = input_16.next(); !input_16_1.done; input_16_1 = input_16.next()) {
5970
- var entry = input_16_1.value;
6335
+ for (var input_23 = __values(input), input_23_1 = input_23.next(); !input_23_1.done; input_23_1 = input_23.next()) {
6336
+ var entry = input_23_1.value;
5971
6337
  if (entry === null) {
5972
6338
  continue;
5973
6339
  }
@@ -5975,12 +6341,12 @@ var serializeAws_queryMetrics = function (input, context) {
5975
6341
  counter++;
5976
6342
  }
5977
6343
  }
5978
- catch (e_16_1) { e_16 = { error: e_16_1 }; }
6344
+ catch (e_23_1) { e_23 = { error: e_23_1 }; }
5979
6345
  finally {
5980
6346
  try {
5981
- if (input_16_1 && !input_16_1.done && (_a = input_16.return)) _a.call(input_16);
6347
+ if (input_23_1 && !input_23_1.done && (_a = input_23.return)) _a.call(input_23);
5982
6348
  }
5983
- finally { if (e_16) throw e_16.error; }
6349
+ finally { if (e_23) throw e_23.error; }
5984
6350
  }
5985
6351
  return entries;
5986
6352
  };
@@ -6004,13 +6370,23 @@ var serializeAws_queryMixedInstancesPolicy = function (input, context) {
6004
6370
  }
6005
6371
  return entries;
6006
6372
  };
6373
+ var serializeAws_queryNetworkInterfaceCountRequest = function (input, context) {
6374
+ var entries = {};
6375
+ if (input.Min !== undefined && input.Min !== null) {
6376
+ entries["Min"] = input.Min;
6377
+ }
6378
+ if (input.Max !== undefined && input.Max !== null) {
6379
+ entries["Max"] = input.Max;
6380
+ }
6381
+ return entries;
6382
+ };
6007
6383
  var serializeAws_queryOverrides = function (input, context) {
6008
- var e_17, _a;
6384
+ var e_24, _a;
6009
6385
  var entries = {};
6010
6386
  var counter = 1;
6011
6387
  try {
6012
- for (var input_17 = __values(input), input_17_1 = input_17.next(); !input_17_1.done; input_17_1 = input_17.next()) {
6013
- var entry = input_17_1.value;
6388
+ for (var input_24 = __values(input), input_24_1 = input_24.next(); !input_24_1.done; input_24_1 = input_24.next()) {
6389
+ var entry = input_24_1.value;
6014
6390
  if (entry === null) {
6015
6391
  continue;
6016
6392
  }
@@ -6022,22 +6398,22 @@ var serializeAws_queryOverrides = function (input, context) {
6022
6398
  counter++;
6023
6399
  }
6024
6400
  }
6025
- catch (e_17_1) { e_17 = { error: e_17_1 }; }
6401
+ catch (e_24_1) { e_24 = { error: e_24_1 }; }
6026
6402
  finally {
6027
6403
  try {
6028
- if (input_17_1 && !input_17_1.done && (_a = input_17.return)) _a.call(input_17);
6404
+ if (input_24_1 && !input_24_1.done && (_a = input_24.return)) _a.call(input_24);
6029
6405
  }
6030
- finally { if (e_17) throw e_17.error; }
6406
+ finally { if (e_24) throw e_24.error; }
6031
6407
  }
6032
6408
  return entries;
6033
6409
  };
6034
6410
  var serializeAws_queryPolicyNames = function (input, context) {
6035
- var e_18, _a;
6411
+ var e_25, _a;
6036
6412
  var entries = {};
6037
6413
  var counter = 1;
6038
6414
  try {
6039
- for (var input_18 = __values(input), input_18_1 = input_18.next(); !input_18_1.done; input_18_1 = input_18.next()) {
6040
- var entry = input_18_1.value;
6415
+ for (var input_25 = __values(input), input_25_1 = input_25.next(); !input_25_1.done; input_25_1 = input_25.next()) {
6416
+ var entry = input_25_1.value;
6041
6417
  if (entry === null) {
6042
6418
  continue;
6043
6419
  }
@@ -6045,22 +6421,22 @@ var serializeAws_queryPolicyNames = function (input, context) {
6045
6421
  counter++;
6046
6422
  }
6047
6423
  }
6048
- catch (e_18_1) { e_18 = { error: e_18_1 }; }
6424
+ catch (e_25_1) { e_25 = { error: e_25_1 }; }
6049
6425
  finally {
6050
6426
  try {
6051
- if (input_18_1 && !input_18_1.done && (_a = input_18.return)) _a.call(input_18);
6427
+ if (input_25_1 && !input_25_1.done && (_a = input_25.return)) _a.call(input_25);
6052
6428
  }
6053
- finally { if (e_18) throw e_18.error; }
6429
+ finally { if (e_25) throw e_25.error; }
6054
6430
  }
6055
6431
  return entries;
6056
6432
  };
6057
6433
  var serializeAws_queryPolicyTypes = function (input, context) {
6058
- var e_19, _a;
6434
+ var e_26, _a;
6059
6435
  var entries = {};
6060
6436
  var counter = 1;
6061
6437
  try {
6062
- for (var input_19 = __values(input), input_19_1 = input_19.next(); !input_19_1.done; input_19_1 = input_19.next()) {
6063
- var entry = input_19_1.value;
6438
+ for (var input_26 = __values(input), input_26_1 = input_26.next(); !input_26_1.done; input_26_1 = input_26.next()) {
6439
+ var entry = input_26_1.value;
6064
6440
  if (entry === null) {
6065
6441
  continue;
6066
6442
  }
@@ -6068,12 +6444,12 @@ var serializeAws_queryPolicyTypes = function (input, context) {
6068
6444
  counter++;
6069
6445
  }
6070
6446
  }
6071
- catch (e_19_1) { e_19 = { error: e_19_1 }; }
6447
+ catch (e_26_1) { e_26 = { error: e_26_1 }; }
6072
6448
  finally {
6073
6449
  try {
6074
- if (input_19_1 && !input_19_1.done && (_a = input_19.return)) _a.call(input_19);
6450
+ if (input_26_1 && !input_26_1.done && (_a = input_26.return)) _a.call(input_26);
6075
6451
  }
6076
- finally { if (e_19) throw e_19.error; }
6452
+ finally { if (e_26) throw e_26.error; }
6077
6453
  }
6078
6454
  return entries;
6079
6455
  };
@@ -6143,12 +6519,12 @@ var serializeAws_queryPredictiveScalingMetricSpecification = function (input, co
6143
6519
  return entries;
6144
6520
  };
6145
6521
  var serializeAws_queryPredictiveScalingMetricSpecifications = function (input, context) {
6146
- var e_20, _a;
6522
+ var e_27, _a;
6147
6523
  var entries = {};
6148
6524
  var counter = 1;
6149
6525
  try {
6150
- for (var input_20 = __values(input), input_20_1 = input_20.next(); !input_20_1.done; input_20_1 = input_20.next()) {
6151
- var entry = input_20_1.value;
6526
+ for (var input_27 = __values(input), input_27_1 = input_27.next(); !input_27_1.done; input_27_1 = input_27.next()) {
6527
+ var entry = input_27_1.value;
6152
6528
  if (entry === null) {
6153
6529
  continue;
6154
6530
  }
@@ -6160,12 +6536,12 @@ var serializeAws_queryPredictiveScalingMetricSpecifications = function (input, c
6160
6536
  counter++;
6161
6537
  }
6162
6538
  }
6163
- catch (e_20_1) { e_20 = { error: e_20_1 }; }
6539
+ catch (e_27_1) { e_27 = { error: e_27_1 }; }
6164
6540
  finally {
6165
6541
  try {
6166
- if (input_20_1 && !input_20_1.done && (_a = input_20.return)) _a.call(input_20);
6542
+ if (input_27_1 && !input_27_1.done && (_a = input_27.return)) _a.call(input_27);
6167
6543
  }
6168
- finally { if (e_20) throw e_20.error; }
6544
+ finally { if (e_27) throw e_27.error; }
6169
6545
  }
6170
6546
  return entries;
6171
6547
  };
@@ -6200,12 +6576,12 @@ var serializeAws_queryPredictiveScalingPredefinedScalingMetric = function (input
6200
6576
  return entries;
6201
6577
  };
6202
6578
  var serializeAws_queryProcessNames = function (input, context) {
6203
- var e_21, _a;
6579
+ var e_28, _a;
6204
6580
  var entries = {};
6205
6581
  var counter = 1;
6206
6582
  try {
6207
- for (var input_21 = __values(input), input_21_1 = input_21.next(); !input_21_1.done; input_21_1 = input_21.next()) {
6208
- var entry = input_21_1.value;
6583
+ for (var input_28 = __values(input), input_28_1 = input_28.next(); !input_28_1.done; input_28_1 = input_28.next()) {
6584
+ var entry = input_28_1.value;
6209
6585
  if (entry === null) {
6210
6586
  continue;
6211
6587
  }
@@ -6213,12 +6589,12 @@ var serializeAws_queryProcessNames = function (input, context) {
6213
6589
  counter++;
6214
6590
  }
6215
6591
  }
6216
- catch (e_21_1) { e_21 = { error: e_21_1 }; }
6592
+ catch (e_28_1) { e_28 = { error: e_28_1 }; }
6217
6593
  finally {
6218
6594
  try {
6219
- if (input_21_1 && !input_21_1.done && (_a = input_21.return)) _a.call(input_21);
6595
+ if (input_28_1 && !input_28_1.done && (_a = input_28.return)) _a.call(input_28);
6220
6596
  }
6221
- finally { if (e_21) throw e_21.error; }
6597
+ finally { if (e_28) throw e_28.error; }
6222
6598
  }
6223
6599
  return entries;
6224
6600
  };
@@ -6435,12 +6811,12 @@ var serializeAws_queryScalingProcessQuery = function (input, context) {
6435
6811
  return entries;
6436
6812
  };
6437
6813
  var serializeAws_queryScheduledActionNames = function (input, context) {
6438
- var e_22, _a;
6814
+ var e_29, _a;
6439
6815
  var entries = {};
6440
6816
  var counter = 1;
6441
6817
  try {
6442
- for (var input_22 = __values(input), input_22_1 = input_22.next(); !input_22_1.done; input_22_1 = input_22.next()) {
6443
- var entry = input_22_1.value;
6818
+ for (var input_29 = __values(input), input_29_1 = input_29.next(); !input_29_1.done; input_29_1 = input_29.next()) {
6819
+ var entry = input_29_1.value;
6444
6820
  if (entry === null) {
6445
6821
  continue;
6446
6822
  }
@@ -6448,12 +6824,12 @@ var serializeAws_queryScheduledActionNames = function (input, context) {
6448
6824
  counter++;
6449
6825
  }
6450
6826
  }
6451
- catch (e_22_1) { e_22 = { error: e_22_1 }; }
6827
+ catch (e_29_1) { e_29 = { error: e_29_1 }; }
6452
6828
  finally {
6453
6829
  try {
6454
- if (input_22_1 && !input_22_1.done && (_a = input_22.return)) _a.call(input_22);
6830
+ if (input_29_1 && !input_29_1.done && (_a = input_29.return)) _a.call(input_29);
6455
6831
  }
6456
- finally { if (e_22) throw e_22.error; }
6832
+ finally { if (e_29) throw e_29.error; }
6457
6833
  }
6458
6834
  return entries;
6459
6835
  };
@@ -6486,12 +6862,12 @@ var serializeAws_queryScheduledUpdateGroupActionRequest = function (input, conte
6486
6862
  return entries;
6487
6863
  };
6488
6864
  var serializeAws_queryScheduledUpdateGroupActionRequests = function (input, context) {
6489
- var e_23, _a;
6865
+ var e_30, _a;
6490
6866
  var entries = {};
6491
6867
  var counter = 1;
6492
6868
  try {
6493
- for (var input_23 = __values(input), input_23_1 = input_23.next(); !input_23_1.done; input_23_1 = input_23.next()) {
6494
- var entry = input_23_1.value;
6869
+ for (var input_30 = __values(input), input_30_1 = input_30.next(); !input_30_1.done; input_30_1 = input_30.next()) {
6870
+ var entry = input_30_1.value;
6495
6871
  if (entry === null) {
6496
6872
  continue;
6497
6873
  }
@@ -6503,22 +6879,22 @@ var serializeAws_queryScheduledUpdateGroupActionRequests = function (input, cont
6503
6879
  counter++;
6504
6880
  }
6505
6881
  }
6506
- catch (e_23_1) { e_23 = { error: e_23_1 }; }
6882
+ catch (e_30_1) { e_30 = { error: e_30_1 }; }
6507
6883
  finally {
6508
6884
  try {
6509
- if (input_23_1 && !input_23_1.done && (_a = input_23.return)) _a.call(input_23);
6885
+ if (input_30_1 && !input_30_1.done && (_a = input_30.return)) _a.call(input_30);
6510
6886
  }
6511
- finally { if (e_23) throw e_23.error; }
6887
+ finally { if (e_30) throw e_30.error; }
6512
6888
  }
6513
6889
  return entries;
6514
6890
  };
6515
6891
  var serializeAws_querySecurityGroups = function (input, context) {
6516
- var e_24, _a;
6892
+ var e_31, _a;
6517
6893
  var entries = {};
6518
6894
  var counter = 1;
6519
6895
  try {
6520
- for (var input_24 = __values(input), input_24_1 = input_24.next(); !input_24_1.done; input_24_1 = input_24.next()) {
6521
- var entry = input_24_1.value;
6896
+ for (var input_31 = __values(input), input_31_1 = input_31.next(); !input_31_1.done; input_31_1 = input_31.next()) {
6897
+ var entry = input_31_1.value;
6522
6898
  if (entry === null) {
6523
6899
  continue;
6524
6900
  }
@@ -6526,12 +6902,12 @@ var serializeAws_querySecurityGroups = function (input, context) {
6526
6902
  counter++;
6527
6903
  }
6528
6904
  }
6529
- catch (e_24_1) { e_24 = { error: e_24_1 }; }
6905
+ catch (e_31_1) { e_31 = { error: e_31_1 }; }
6530
6906
  finally {
6531
6907
  try {
6532
- if (input_24_1 && !input_24_1.done && (_a = input_24.return)) _a.call(input_24);
6908
+ if (input_31_1 && !input_31_1.done && (_a = input_31.return)) _a.call(input_31);
6533
6909
  }
6534
- finally { if (e_24) throw e_24.error; }
6910
+ finally { if (e_31) throw e_31.error; }
6535
6911
  }
6536
6912
  return entries;
6537
6913
  };
@@ -6619,12 +6995,12 @@ var serializeAws_queryStepAdjustment = function (input, context) {
6619
6995
  return entries;
6620
6996
  };
6621
6997
  var serializeAws_queryStepAdjustments = function (input, context) {
6622
- var e_25, _a;
6998
+ var e_32, _a;
6623
6999
  var entries = {};
6624
7000
  var counter = 1;
6625
7001
  try {
6626
- for (var input_25 = __values(input), input_25_1 = input_25.next(); !input_25_1.done; input_25_1 = input_25.next()) {
6627
- var entry = input_25_1.value;
7002
+ for (var input_32 = __values(input), input_32_1 = input_32.next(); !input_32_1.done; input_32_1 = input_32.next()) {
7003
+ var entry = input_32_1.value;
6628
7004
  if (entry === null) {
6629
7005
  continue;
6630
7006
  }
@@ -6636,12 +7012,12 @@ var serializeAws_queryStepAdjustments = function (input, context) {
6636
7012
  counter++;
6637
7013
  }
6638
7014
  }
6639
- catch (e_25_1) { e_25 = { error: e_25_1 }; }
7015
+ catch (e_32_1) { e_32 = { error: e_32_1 }; }
6640
7016
  finally {
6641
7017
  try {
6642
- if (input_25_1 && !input_25_1.done && (_a = input_25.return)) _a.call(input_25);
7018
+ if (input_32_1 && !input_32_1.done && (_a = input_32.return)) _a.call(input_32);
6643
7019
  }
6644
- finally { if (e_25) throw e_25.error; }
7020
+ finally { if (e_32) throw e_32.error; }
6645
7021
  }
6646
7022
  return entries;
6647
7023
  };
@@ -6665,12 +7041,12 @@ var serializeAws_queryTag = function (input, context) {
6665
7041
  return entries;
6666
7042
  };
6667
7043
  var serializeAws_queryTags = function (input, context) {
6668
- var e_26, _a;
7044
+ var e_33, _a;
6669
7045
  var entries = {};
6670
7046
  var counter = 1;
6671
7047
  try {
6672
- for (var input_26 = __values(input), input_26_1 = input_26.next(); !input_26_1.done; input_26_1 = input_26.next()) {
6673
- var entry = input_26_1.value;
7048
+ for (var input_33 = __values(input), input_33_1 = input_33.next(); !input_33_1.done; input_33_1 = input_33.next()) {
7049
+ var entry = input_33_1.value;
6674
7050
  if (entry === null) {
6675
7051
  continue;
6676
7052
  }
@@ -6682,22 +7058,22 @@ var serializeAws_queryTags = function (input, context) {
6682
7058
  counter++;
6683
7059
  }
6684
7060
  }
6685
- catch (e_26_1) { e_26 = { error: e_26_1 }; }
7061
+ catch (e_33_1) { e_33 = { error: e_33_1 }; }
6686
7062
  finally {
6687
7063
  try {
6688
- if (input_26_1 && !input_26_1.done && (_a = input_26.return)) _a.call(input_26);
7064
+ if (input_33_1 && !input_33_1.done && (_a = input_33.return)) _a.call(input_33);
6689
7065
  }
6690
- finally { if (e_26) throw e_26.error; }
7066
+ finally { if (e_33) throw e_33.error; }
6691
7067
  }
6692
7068
  return entries;
6693
7069
  };
6694
7070
  var serializeAws_queryTargetGroupARNs = function (input, context) {
6695
- var e_27, _a;
7071
+ var e_34, _a;
6696
7072
  var entries = {};
6697
7073
  var counter = 1;
6698
7074
  try {
6699
- for (var input_27 = __values(input), input_27_1 = input_27.next(); !input_27_1.done; input_27_1 = input_27.next()) {
6700
- var entry = input_27_1.value;
7075
+ for (var input_34 = __values(input), input_34_1 = input_34.next(); !input_34_1.done; input_34_1 = input_34.next()) {
7076
+ var entry = input_34_1.value;
6701
7077
  if (entry === null) {
6702
7078
  continue;
6703
7079
  }
@@ -6705,12 +7081,12 @@ var serializeAws_queryTargetGroupARNs = function (input, context) {
6705
7081
  counter++;
6706
7082
  }
6707
7083
  }
6708
- catch (e_27_1) { e_27 = { error: e_27_1 }; }
7084
+ catch (e_34_1) { e_34 = { error: e_34_1 }; }
6709
7085
  finally {
6710
7086
  try {
6711
- if (input_27_1 && !input_27_1.done && (_a = input_27.return)) _a.call(input_27);
7087
+ if (input_34_1 && !input_34_1.done && (_a = input_34.return)) _a.call(input_34);
6712
7088
  }
6713
- finally { if (e_27) throw e_27.error; }
7089
+ finally { if (e_34) throw e_34.error; }
6714
7090
  }
6715
7091
  return entries;
6716
7092
  };
@@ -6751,12 +7127,12 @@ var serializeAws_queryTerminateInstanceInAutoScalingGroupType = function (input,
6751
7127
  return entries;
6752
7128
  };
6753
7129
  var serializeAws_queryTerminationPolicies = function (input, context) {
6754
- var e_28, _a;
7130
+ var e_35, _a;
6755
7131
  var entries = {};
6756
7132
  var counter = 1;
6757
7133
  try {
6758
- for (var input_28 = __values(input), input_28_1 = input_28.next(); !input_28_1.done; input_28_1 = input_28.next()) {
6759
- var entry = input_28_1.value;
7134
+ for (var input_35 = __values(input), input_35_1 = input_35.next(); !input_35_1.done; input_35_1 = input_35.next()) {
7135
+ var entry = input_35_1.value;
6760
7136
  if (entry === null) {
6761
7137
  continue;
6762
7138
  }
@@ -6764,12 +7140,22 @@ var serializeAws_queryTerminationPolicies = function (input, context) {
6764
7140
  counter++;
6765
7141
  }
6766
7142
  }
6767
- catch (e_28_1) { e_28 = { error: e_28_1 }; }
7143
+ catch (e_35_1) { e_35 = { error: e_35_1 }; }
6768
7144
  finally {
6769
7145
  try {
6770
- if (input_28_1 && !input_28_1.done && (_a = input_28.return)) _a.call(input_28);
7146
+ if (input_35_1 && !input_35_1.done && (_a = input_35.return)) _a.call(input_35);
6771
7147
  }
6772
- finally { if (e_28) throw e_28.error; }
7148
+ finally { if (e_35) throw e_35.error; }
7149
+ }
7150
+ return entries;
7151
+ };
7152
+ var serializeAws_queryTotalLocalStorageGBRequest = function (input, context) {
7153
+ var entries = {};
7154
+ if (input.Min !== undefined && input.Min !== null) {
7155
+ entries["Min"] = __serializeFloat(input.Min);
7156
+ }
7157
+ if (input.Max !== undefined && input.Max !== null) {
7158
+ entries["Max"] = __serializeFloat(input.Max);
6773
7159
  }
6774
7160
  return entries;
6775
7161
  };
@@ -6852,15 +7238,18 @@ var serializeAws_queryUpdateAutoScalingGroupType = function (input, context) {
6852
7238
  if (input.Context !== undefined && input.Context !== null) {
6853
7239
  entries["Context"] = input.Context;
6854
7240
  }
7241
+ if (input.DesiredCapacityType !== undefined && input.DesiredCapacityType !== null) {
7242
+ entries["DesiredCapacityType"] = input.DesiredCapacityType;
7243
+ }
6855
7244
  return entries;
6856
7245
  };
6857
7246
  var serializeAws_queryValues = function (input, context) {
6858
- var e_29, _a;
7247
+ var e_36, _a;
6859
7248
  var entries = {};
6860
7249
  var counter = 1;
6861
7250
  try {
6862
- for (var input_29 = __values(input), input_29_1 = input_29.next(); !input_29_1.done; input_29_1 = input_29.next()) {
6863
- var entry = input_29_1.value;
7251
+ for (var input_36 = __values(input), input_36_1 = input_36.next(); !input_36_1.done; input_36_1 = input_36.next()) {
7252
+ var entry = input_36_1.value;
6864
7253
  if (entry === null) {
6865
7254
  continue;
6866
7255
  }
@@ -6868,15 +7257,81 @@ var serializeAws_queryValues = function (input, context) {
6868
7257
  counter++;
6869
7258
  }
6870
7259
  }
6871
- catch (e_29_1) { e_29 = { error: e_29_1 }; }
7260
+ catch (e_36_1) { e_36 = { error: e_36_1 }; }
6872
7261
  finally {
6873
7262
  try {
6874
- if (input_29_1 && !input_29_1.done && (_a = input_29.return)) _a.call(input_29);
7263
+ if (input_36_1 && !input_36_1.done && (_a = input_36.return)) _a.call(input_36);
6875
7264
  }
6876
- finally { if (e_29) throw e_29.error; }
7265
+ finally { if (e_36) throw e_36.error; }
7266
+ }
7267
+ return entries;
7268
+ };
7269
+ var serializeAws_queryVCpuCountRequest = function (input, context) {
7270
+ var entries = {};
7271
+ if (input.Min !== undefined && input.Min !== null) {
7272
+ entries["Min"] = input.Min;
7273
+ }
7274
+ if (input.Max !== undefined && input.Max !== null) {
7275
+ entries["Max"] = input.Max;
6877
7276
  }
6878
7277
  return entries;
6879
7278
  };
7279
+ var deserializeAws_queryAcceleratorCountRequest = function (output, context) {
7280
+ var contents = {
7281
+ Min: undefined,
7282
+ Max: undefined,
7283
+ };
7284
+ if (output["Min"] !== undefined) {
7285
+ contents.Min = __strictParseInt32(output["Min"]);
7286
+ }
7287
+ if (output["Max"] !== undefined) {
7288
+ contents.Max = __strictParseInt32(output["Max"]);
7289
+ }
7290
+ return contents;
7291
+ };
7292
+ var deserializeAws_queryAcceleratorManufacturers = function (output, context) {
7293
+ return (output || [])
7294
+ .filter(function (e) { return e != null; })
7295
+ .map(function (entry) {
7296
+ if (entry === null) {
7297
+ return null;
7298
+ }
7299
+ return __expectString(entry);
7300
+ });
7301
+ };
7302
+ var deserializeAws_queryAcceleratorNames = function (output, context) {
7303
+ return (output || [])
7304
+ .filter(function (e) { return e != null; })
7305
+ .map(function (entry) {
7306
+ if (entry === null) {
7307
+ return null;
7308
+ }
7309
+ return __expectString(entry);
7310
+ });
7311
+ };
7312
+ var deserializeAws_queryAcceleratorTotalMemoryMiBRequest = function (output, context) {
7313
+ var contents = {
7314
+ Min: undefined,
7315
+ Max: undefined,
7316
+ };
7317
+ if (output["Min"] !== undefined) {
7318
+ contents.Min = __strictParseInt32(output["Min"]);
7319
+ }
7320
+ if (output["Max"] !== undefined) {
7321
+ contents.Max = __strictParseInt32(output["Max"]);
7322
+ }
7323
+ return contents;
7324
+ };
7325
+ var deserializeAws_queryAcceleratorTypes = function (output, context) {
7326
+ return (output || [])
7327
+ .filter(function (e) { return e != null; })
7328
+ .map(function (entry) {
7329
+ if (entry === null) {
7330
+ return null;
7331
+ }
7332
+ return __expectString(entry);
7333
+ });
7334
+ };
6880
7335
  var deserializeAws_queryActiveInstanceRefreshNotFoundFault = function (output, context) {
6881
7336
  var contents = {
6882
7337
  message: undefined,
@@ -7066,6 +7521,7 @@ var deserializeAws_queryAutoScalingGroup = function (output, context) {
7066
7521
  WarmPoolConfiguration: undefined,
7067
7522
  WarmPoolSize: undefined,
7068
7523
  Context: undefined,
7524
+ DesiredCapacityType: undefined,
7069
7525
  };
7070
7526
  if (output["AutoScalingGroupName"] !== undefined) {
7071
7527
  contents.AutoScalingGroupName = __expectString(output["AutoScalingGroupName"]);
@@ -7184,6 +7640,9 @@ var deserializeAws_queryAutoScalingGroup = function (output, context) {
7184
7640
  if (output["Context"] !== undefined) {
7185
7641
  contents.Context = __expectString(output["Context"]);
7186
7642
  }
7643
+ if (output["DesiredCapacityType"] !== undefined) {
7644
+ contents.DesiredCapacityType = __expectString(output["DesiredCapacityType"]);
7645
+ }
7187
7646
  return contents;
7188
7647
  };
7189
7648
  var deserializeAws_queryAutoScalingGroups = function (output, context) {
@@ -7303,6 +7762,19 @@ var deserializeAws_queryAvailabilityZones = function (output, context) {
7303
7762
  return __expectString(entry);
7304
7763
  });
7305
7764
  };
7765
+ var deserializeAws_queryBaselineEbsBandwidthMbpsRequest = function (output, context) {
7766
+ var contents = {
7767
+ Min: undefined,
7768
+ Max: undefined,
7769
+ };
7770
+ if (output["Min"] !== undefined) {
7771
+ contents.Min = __strictParseInt32(output["Min"]);
7772
+ }
7773
+ if (output["Max"] !== undefined) {
7774
+ contents.Max = __strictParseInt32(output["Max"]);
7775
+ }
7776
+ return contents;
7777
+ };
7306
7778
  var deserializeAws_queryBatchDeleteScheduledActionAnswer = function (output, context) {
7307
7779
  var contents = {
7308
7780
  FailedScheduledActions: undefined,
@@ -7411,6 +7883,16 @@ var deserializeAws_queryCompleteLifecycleActionAnswer = function (output, contex
7411
7883
  var contents = {};
7412
7884
  return contents;
7413
7885
  };
7886
+ var deserializeAws_queryCpuManufacturers = function (output, context) {
7887
+ return (output || [])
7888
+ .filter(function (e) { return e != null; })
7889
+ .map(function (entry) {
7890
+ if (entry === null) {
7891
+ return null;
7892
+ }
7893
+ return __expectString(entry);
7894
+ });
7895
+ };
7414
7896
  var deserializeAws_queryCustomizedMetricSpecification = function (output, context) {
7415
7897
  var contents = {
7416
7898
  MetricName: undefined,
@@ -7734,6 +8216,16 @@ var deserializeAws_queryEnterStandbyAnswer = function (output, context) {
7734
8216
  }
7735
8217
  return contents;
7736
8218
  };
8219
+ var deserializeAws_queryExcludedInstanceTypes = function (output, context) {
8220
+ return (output || [])
8221
+ .filter(function (e) { return e != null; })
8222
+ .map(function (entry) {
8223
+ if (entry === null) {
8224
+ return null;
8225
+ }
8226
+ return __expectString(entry);
8227
+ });
8228
+ };
7737
8229
  var deserializeAws_queryExitStandbyAnswer = function (output, context) {
7738
8230
  var contents = {
7739
8231
  Activities: undefined,
@@ -7834,6 +8326,16 @@ var deserializeAws_queryInstance = function (output, context) {
7834
8326
  }
7835
8327
  return contents;
7836
8328
  };
8329
+ var deserializeAws_queryInstanceGenerations = function (output, context) {
8330
+ return (output || [])
8331
+ .filter(function (e) { return e != null; })
8332
+ .map(function (entry) {
8333
+ if (entry === null) {
8334
+ return null;
8335
+ }
8336
+ return __expectString(entry);
8337
+ });
8338
+ };
7837
8339
  var deserializeAws_queryInstanceMetadataOptions = function (output, context) {
7838
8340
  var contents = {
7839
8341
  HttpTokens: undefined,
@@ -7967,6 +8469,116 @@ var deserializeAws_queryInstanceRefreshWarmPoolProgress = function (output, cont
7967
8469
  }
7968
8470
  return contents;
7969
8471
  };
8472
+ var deserializeAws_queryInstanceRequirements = function (output, context) {
8473
+ var contents = {
8474
+ VCpuCount: undefined,
8475
+ MemoryMiB: undefined,
8476
+ CpuManufacturers: undefined,
8477
+ MemoryGiBPerVCpu: undefined,
8478
+ ExcludedInstanceTypes: undefined,
8479
+ InstanceGenerations: undefined,
8480
+ SpotMaxPricePercentageOverLowestPrice: undefined,
8481
+ OnDemandMaxPricePercentageOverLowestPrice: undefined,
8482
+ BareMetal: undefined,
8483
+ BurstablePerformance: undefined,
8484
+ RequireHibernateSupport: undefined,
8485
+ NetworkInterfaceCount: undefined,
8486
+ LocalStorage: undefined,
8487
+ LocalStorageTypes: undefined,
8488
+ TotalLocalStorageGB: undefined,
8489
+ BaselineEbsBandwidthMbps: undefined,
8490
+ AcceleratorTypes: undefined,
8491
+ AcceleratorCount: undefined,
8492
+ AcceleratorManufacturers: undefined,
8493
+ AcceleratorNames: undefined,
8494
+ AcceleratorTotalMemoryMiB: undefined,
8495
+ };
8496
+ if (output["VCpuCount"] !== undefined) {
8497
+ contents.VCpuCount = deserializeAws_queryVCpuCountRequest(output["VCpuCount"], context);
8498
+ }
8499
+ if (output["MemoryMiB"] !== undefined) {
8500
+ contents.MemoryMiB = deserializeAws_queryMemoryMiBRequest(output["MemoryMiB"], context);
8501
+ }
8502
+ if (output.CpuManufacturers === "") {
8503
+ contents.CpuManufacturers = [];
8504
+ }
8505
+ if (output["CpuManufacturers"] !== undefined && output["CpuManufacturers"]["member"] !== undefined) {
8506
+ contents.CpuManufacturers = deserializeAws_queryCpuManufacturers(__getArrayIfSingleItem(output["CpuManufacturers"]["member"]), context);
8507
+ }
8508
+ if (output["MemoryGiBPerVCpu"] !== undefined) {
8509
+ contents.MemoryGiBPerVCpu = deserializeAws_queryMemoryGiBPerVCpuRequest(output["MemoryGiBPerVCpu"], context);
8510
+ }
8511
+ if (output.ExcludedInstanceTypes === "") {
8512
+ contents.ExcludedInstanceTypes = [];
8513
+ }
8514
+ if (output["ExcludedInstanceTypes"] !== undefined && output["ExcludedInstanceTypes"]["member"] !== undefined) {
8515
+ contents.ExcludedInstanceTypes = deserializeAws_queryExcludedInstanceTypes(__getArrayIfSingleItem(output["ExcludedInstanceTypes"]["member"]), context);
8516
+ }
8517
+ if (output.InstanceGenerations === "") {
8518
+ contents.InstanceGenerations = [];
8519
+ }
8520
+ if (output["InstanceGenerations"] !== undefined && output["InstanceGenerations"]["member"] !== undefined) {
8521
+ contents.InstanceGenerations = deserializeAws_queryInstanceGenerations(__getArrayIfSingleItem(output["InstanceGenerations"]["member"]), context);
8522
+ }
8523
+ if (output["SpotMaxPricePercentageOverLowestPrice"] !== undefined) {
8524
+ contents.SpotMaxPricePercentageOverLowestPrice = __strictParseInt32(output["SpotMaxPricePercentageOverLowestPrice"]);
8525
+ }
8526
+ if (output["OnDemandMaxPricePercentageOverLowestPrice"] !== undefined) {
8527
+ contents.OnDemandMaxPricePercentageOverLowestPrice = __strictParseInt32(output["OnDemandMaxPricePercentageOverLowestPrice"]);
8528
+ }
8529
+ if (output["BareMetal"] !== undefined) {
8530
+ contents.BareMetal = __expectString(output["BareMetal"]);
8531
+ }
8532
+ if (output["BurstablePerformance"] !== undefined) {
8533
+ contents.BurstablePerformance = __expectString(output["BurstablePerformance"]);
8534
+ }
8535
+ if (output["RequireHibernateSupport"] !== undefined) {
8536
+ contents.RequireHibernateSupport = __parseBoolean(output["RequireHibernateSupport"]);
8537
+ }
8538
+ if (output["NetworkInterfaceCount"] !== undefined) {
8539
+ contents.NetworkInterfaceCount = deserializeAws_queryNetworkInterfaceCountRequest(output["NetworkInterfaceCount"], context);
8540
+ }
8541
+ if (output["LocalStorage"] !== undefined) {
8542
+ contents.LocalStorage = __expectString(output["LocalStorage"]);
8543
+ }
8544
+ if (output.LocalStorageTypes === "") {
8545
+ contents.LocalStorageTypes = [];
8546
+ }
8547
+ if (output["LocalStorageTypes"] !== undefined && output["LocalStorageTypes"]["member"] !== undefined) {
8548
+ contents.LocalStorageTypes = deserializeAws_queryLocalStorageTypes(__getArrayIfSingleItem(output["LocalStorageTypes"]["member"]), context);
8549
+ }
8550
+ if (output["TotalLocalStorageGB"] !== undefined) {
8551
+ contents.TotalLocalStorageGB = deserializeAws_queryTotalLocalStorageGBRequest(output["TotalLocalStorageGB"], context);
8552
+ }
8553
+ if (output["BaselineEbsBandwidthMbps"] !== undefined) {
8554
+ contents.BaselineEbsBandwidthMbps = deserializeAws_queryBaselineEbsBandwidthMbpsRequest(output["BaselineEbsBandwidthMbps"], context);
8555
+ }
8556
+ if (output.AcceleratorTypes === "") {
8557
+ contents.AcceleratorTypes = [];
8558
+ }
8559
+ if (output["AcceleratorTypes"] !== undefined && output["AcceleratorTypes"]["member"] !== undefined) {
8560
+ contents.AcceleratorTypes = deserializeAws_queryAcceleratorTypes(__getArrayIfSingleItem(output["AcceleratorTypes"]["member"]), context);
8561
+ }
8562
+ if (output["AcceleratorCount"] !== undefined) {
8563
+ contents.AcceleratorCount = deserializeAws_queryAcceleratorCountRequest(output["AcceleratorCount"], context);
8564
+ }
8565
+ if (output.AcceleratorManufacturers === "") {
8566
+ contents.AcceleratorManufacturers = [];
8567
+ }
8568
+ if (output["AcceleratorManufacturers"] !== undefined && output["AcceleratorManufacturers"]["member"] !== undefined) {
8569
+ contents.AcceleratorManufacturers = deserializeAws_queryAcceleratorManufacturers(__getArrayIfSingleItem(output["AcceleratorManufacturers"]["member"]), context);
8570
+ }
8571
+ if (output.AcceleratorNames === "") {
8572
+ contents.AcceleratorNames = [];
8573
+ }
8574
+ if (output["AcceleratorNames"] !== undefined && output["AcceleratorNames"]["member"] !== undefined) {
8575
+ contents.AcceleratorNames = deserializeAws_queryAcceleratorNames(__getArrayIfSingleItem(output["AcceleratorNames"]["member"]), context);
8576
+ }
8577
+ if (output["AcceleratorTotalMemoryMiB"] !== undefined) {
8578
+ contents.AcceleratorTotalMemoryMiB = deserializeAws_queryAcceleratorTotalMemoryMiBRequest(output["AcceleratorTotalMemoryMiB"], context);
8579
+ }
8580
+ return contents;
8581
+ };
7970
8582
  var deserializeAws_queryInstances = function (output, context) {
7971
8583
  return (output || [])
7972
8584
  .filter(function (e) { return e != null; })
@@ -8157,6 +8769,7 @@ var deserializeAws_queryLaunchTemplateOverrides = function (output, context) {
8157
8769
  InstanceType: undefined,
8158
8770
  WeightedCapacity: undefined,
8159
8771
  LaunchTemplateSpecification: undefined,
8772
+ InstanceRequirements: undefined,
8160
8773
  };
8161
8774
  if (output["InstanceType"] !== undefined) {
8162
8775
  contents.InstanceType = __expectString(output["InstanceType"]);
@@ -8167,6 +8780,9 @@ var deserializeAws_queryLaunchTemplateOverrides = function (output, context) {
8167
8780
  if (output["LaunchTemplateSpecification"] !== undefined) {
8168
8781
  contents.LaunchTemplateSpecification = deserializeAws_queryLaunchTemplateSpecification(output["LaunchTemplateSpecification"], context);
8169
8782
  }
8783
+ if (output["InstanceRequirements"] !== undefined) {
8784
+ contents.InstanceRequirements = deserializeAws_queryInstanceRequirements(output["InstanceRequirements"], context);
8785
+ }
8170
8786
  return contents;
8171
8787
  };
8172
8788
  var deserializeAws_queryLaunchTemplateSpecification = function (output, context) {
@@ -8335,6 +8951,42 @@ var deserializeAws_queryLoadForecasts = function (output, context) {
8335
8951
  return deserializeAws_queryLoadForecast(entry, context);
8336
8952
  });
8337
8953
  };
8954
+ var deserializeAws_queryLocalStorageTypes = function (output, context) {
8955
+ return (output || [])
8956
+ .filter(function (e) { return e != null; })
8957
+ .map(function (entry) {
8958
+ if (entry === null) {
8959
+ return null;
8960
+ }
8961
+ return __expectString(entry);
8962
+ });
8963
+ };
8964
+ var deserializeAws_queryMemoryGiBPerVCpuRequest = function (output, context) {
8965
+ var contents = {
8966
+ Min: undefined,
8967
+ Max: undefined,
8968
+ };
8969
+ if (output["Min"] !== undefined) {
8970
+ contents.Min = __strictParseFloat(output["Min"]);
8971
+ }
8972
+ if (output["Max"] !== undefined) {
8973
+ contents.Max = __strictParseFloat(output["Max"]);
8974
+ }
8975
+ return contents;
8976
+ };
8977
+ var deserializeAws_queryMemoryMiBRequest = function (output, context) {
8978
+ var contents = {
8979
+ Min: undefined,
8980
+ Max: undefined,
8981
+ };
8982
+ if (output["Min"] !== undefined) {
8983
+ contents.Min = __strictParseInt32(output["Min"]);
8984
+ }
8985
+ if (output["Max"] !== undefined) {
8986
+ contents.Max = __strictParseInt32(output["Max"]);
8987
+ }
8988
+ return contents;
8989
+ };
8338
8990
  var deserializeAws_queryMetricCollectionType = function (output, context) {
8339
8991
  var contents = {
8340
8992
  Metric: undefined,
@@ -8409,6 +9061,19 @@ var deserializeAws_queryMixedInstancesPolicy = function (output, context) {
8409
9061
  }
8410
9062
  return contents;
8411
9063
  };
9064
+ var deserializeAws_queryNetworkInterfaceCountRequest = function (output, context) {
9065
+ var contents = {
9066
+ Min: undefined,
9067
+ Max: undefined,
9068
+ };
9069
+ if (output["Min"] !== undefined) {
9070
+ contents.Min = __strictParseInt32(output["Min"]);
9071
+ }
9072
+ if (output["Max"] !== undefined) {
9073
+ contents.Max = __strictParseInt32(output["Max"]);
9074
+ }
9075
+ return contents;
9076
+ };
8412
9077
  var deserializeAws_queryNotificationConfiguration = function (output, context) {
8413
9078
  var contents = {
8414
9079
  AutoScalingGroupName: undefined,
@@ -9042,6 +9707,32 @@ var deserializeAws_queryTerminationPolicies = function (output, context) {
9042
9707
  return __expectString(entry);
9043
9708
  });
9044
9709
  };
9710
+ var deserializeAws_queryTotalLocalStorageGBRequest = function (output, context) {
9711
+ var contents = {
9712
+ Min: undefined,
9713
+ Max: undefined,
9714
+ };
9715
+ if (output["Min"] !== undefined) {
9716
+ contents.Min = __strictParseFloat(output["Min"]);
9717
+ }
9718
+ if (output["Max"] !== undefined) {
9719
+ contents.Max = __strictParseFloat(output["Max"]);
9720
+ }
9721
+ return contents;
9722
+ };
9723
+ var deserializeAws_queryVCpuCountRequest = function (output, context) {
9724
+ var contents = {
9725
+ Min: undefined,
9726
+ Max: undefined,
9727
+ };
9728
+ if (output["Min"] !== undefined) {
9729
+ contents.Min = __strictParseInt32(output["Min"]);
9730
+ }
9731
+ if (output["Max"] !== undefined) {
9732
+ contents.Max = __strictParseInt32(output["Max"]);
9733
+ }
9734
+ return contents;
9735
+ };
9045
9736
  var deserializeAws_queryWarmPoolConfiguration = function (output, context) {
9046
9737
  var contents = {
9047
9738
  MaxGroupPreparedCapacity: undefined,