@aws-sdk/client-auto-scaling 3.296.0 → 3.297.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 (81) hide show
  1. package/dist-cjs/protocols/Aws_query.js +112 -610
  2. package/dist-es/protocols/Aws_query.js +112 -610
  3. package/dist-types/AutoScaling.d.ts +66 -0
  4. package/dist-types/AutoScalingClient.d.ts +24 -4
  5. package/dist-types/commands/AttachInstancesCommand.d.ts +16 -0
  6. package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +16 -0
  7. package/dist-types/commands/AttachLoadBalancersCommand.d.ts +16 -0
  8. package/dist-types/commands/AttachTrafficSourcesCommand.d.ts +16 -0
  9. package/dist-types/commands/BatchDeleteScheduledActionCommand.d.ts +16 -0
  10. package/dist-types/commands/BatchPutScheduledUpdateGroupActionCommand.d.ts +16 -0
  11. package/dist-types/commands/CancelInstanceRefreshCommand.d.ts +16 -0
  12. package/dist-types/commands/CompleteLifecycleActionCommand.d.ts +16 -0
  13. package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +16 -0
  14. package/dist-types/commands/CreateLaunchConfigurationCommand.d.ts +16 -0
  15. package/dist-types/commands/CreateOrUpdateTagsCommand.d.ts +16 -0
  16. package/dist-types/commands/DeleteAutoScalingGroupCommand.d.ts +16 -0
  17. package/dist-types/commands/DeleteLaunchConfigurationCommand.d.ts +16 -0
  18. package/dist-types/commands/DeleteLifecycleHookCommand.d.ts +16 -0
  19. package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +16 -0
  20. package/dist-types/commands/DeletePolicyCommand.d.ts +16 -0
  21. package/dist-types/commands/DeleteScheduledActionCommand.d.ts +16 -0
  22. package/dist-types/commands/DeleteTagsCommand.d.ts +16 -0
  23. package/dist-types/commands/DeleteWarmPoolCommand.d.ts +16 -0
  24. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +16 -0
  25. package/dist-types/commands/DescribeAdjustmentTypesCommand.d.ts +16 -0
  26. package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +16 -0
  27. package/dist-types/commands/DescribeAutoScalingInstancesCommand.d.ts +16 -0
  28. package/dist-types/commands/DescribeAutoScalingNotificationTypesCommand.d.ts +16 -0
  29. package/dist-types/commands/DescribeInstanceRefreshesCommand.d.ts +16 -0
  30. package/dist-types/commands/DescribeLaunchConfigurationsCommand.d.ts +16 -0
  31. package/dist-types/commands/DescribeLifecycleHookTypesCommand.d.ts +16 -0
  32. package/dist-types/commands/DescribeLifecycleHooksCommand.d.ts +16 -0
  33. package/dist-types/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +16 -0
  34. package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +16 -0
  35. package/dist-types/commands/DescribeMetricCollectionTypesCommand.d.ts +16 -0
  36. package/dist-types/commands/DescribeNotificationConfigurationsCommand.d.ts +16 -0
  37. package/dist-types/commands/DescribePoliciesCommand.d.ts +16 -0
  38. package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +16 -0
  39. package/dist-types/commands/DescribeScalingProcessTypesCommand.d.ts +16 -0
  40. package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +16 -0
  41. package/dist-types/commands/DescribeTagsCommand.d.ts +16 -0
  42. package/dist-types/commands/DescribeTerminationPolicyTypesCommand.d.ts +16 -0
  43. package/dist-types/commands/DescribeTrafficSourcesCommand.d.ts +16 -0
  44. package/dist-types/commands/DescribeWarmPoolCommand.d.ts +16 -0
  45. package/dist-types/commands/DetachInstancesCommand.d.ts +16 -0
  46. package/dist-types/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +16 -0
  47. package/dist-types/commands/DetachLoadBalancersCommand.d.ts +16 -0
  48. package/dist-types/commands/DetachTrafficSourcesCommand.d.ts +16 -0
  49. package/dist-types/commands/DisableMetricsCollectionCommand.d.ts +16 -0
  50. package/dist-types/commands/EnableMetricsCollectionCommand.d.ts +16 -0
  51. package/dist-types/commands/EnterStandbyCommand.d.ts +16 -0
  52. package/dist-types/commands/ExecutePolicyCommand.d.ts +16 -0
  53. package/dist-types/commands/ExitStandbyCommand.d.ts +16 -0
  54. package/dist-types/commands/GetPredictiveScalingForecastCommand.d.ts +16 -0
  55. package/dist-types/commands/PutLifecycleHookCommand.d.ts +16 -0
  56. package/dist-types/commands/PutNotificationConfigurationCommand.d.ts +16 -0
  57. package/dist-types/commands/PutScalingPolicyCommand.d.ts +16 -0
  58. package/dist-types/commands/PutScheduledUpdateGroupActionCommand.d.ts +16 -0
  59. package/dist-types/commands/PutWarmPoolCommand.d.ts +16 -0
  60. package/dist-types/commands/RecordLifecycleActionHeartbeatCommand.d.ts +16 -0
  61. package/dist-types/commands/ResumeProcessesCommand.d.ts +16 -0
  62. package/dist-types/commands/RollbackInstanceRefreshCommand.d.ts +16 -0
  63. package/dist-types/commands/SetDesiredCapacityCommand.d.ts +16 -0
  64. package/dist-types/commands/SetInstanceHealthCommand.d.ts +16 -0
  65. package/dist-types/commands/SetInstanceProtectionCommand.d.ts +16 -0
  66. package/dist-types/commands/StartInstanceRefreshCommand.d.ts +16 -0
  67. package/dist-types/commands/SuspendProcessesCommand.d.ts +16 -0
  68. package/dist-types/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +16 -0
  69. package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +16 -0
  70. package/dist-types/models/AutoScalingServiceException.d.ts +2 -0
  71. package/dist-types/models/models_0.d.ts +466 -0
  72. package/dist-types/pagination/DescribeAutoScalingGroupsPaginator.d.ts +3 -0
  73. package/dist-types/pagination/DescribeAutoScalingInstancesPaginator.d.ts +3 -0
  74. package/dist-types/pagination/DescribeLaunchConfigurationsPaginator.d.ts +3 -0
  75. package/dist-types/pagination/DescribeNotificationConfigurationsPaginator.d.ts +3 -0
  76. package/dist-types/pagination/DescribePoliciesPaginator.d.ts +3 -0
  77. package/dist-types/pagination/DescribeScalingActivitiesPaginator.d.ts +3 -0
  78. package/dist-types/pagination/DescribeScheduledActionsPaginator.d.ts +3 -0
  79. package/dist-types/pagination/DescribeTagsPaginator.d.ts +3 -0
  80. package/dist-types/pagination/Interfaces.d.ts +3 -0
  81. package/package.json +3 -3
@@ -5993,10 +5993,7 @@ const serializeAws_queryVCpuCountRequest = (input, context) => {
5993
5993
  return entries;
5994
5994
  };
5995
5995
  const deserializeAws_queryAcceleratorCountRequest = (output, context) => {
5996
- const contents = {
5997
- Min: undefined,
5998
- Max: undefined,
5999
- };
5996
+ const contents = {};
6000
5997
  if (output["Min"] !== undefined) {
6001
5998
  contents.Min = (0, smithy_client_1.strictParseInt32)(output["Min"]);
6002
5999
  }
@@ -6020,10 +6017,7 @@ const deserializeAws_queryAcceleratorNames = (output, context) => {
6020
6017
  });
6021
6018
  };
6022
6019
  const deserializeAws_queryAcceleratorTotalMemoryMiBRequest = (output, context) => {
6023
- const contents = {
6024
- Min: undefined,
6025
- Max: undefined,
6026
- };
6020
+ const contents = {};
6027
6021
  if (output["Min"] !== undefined) {
6028
6022
  contents.Min = (0, smithy_client_1.strictParseInt32)(output["Min"]);
6029
6023
  }
@@ -6040,9 +6034,7 @@ const deserializeAws_queryAcceleratorTypes = (output, context) => {
6040
6034
  });
6041
6035
  };
6042
6036
  const deserializeAws_queryActiveInstanceRefreshNotFoundFault = (output, context) => {
6043
- const contents = {
6044
- message: undefined,
6045
- };
6037
+ const contents = {};
6046
6038
  if (output["message"] !== undefined) {
6047
6039
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6048
6040
  }
@@ -6056,10 +6048,7 @@ const deserializeAws_queryActivities = (output, context) => {
6056
6048
  });
6057
6049
  };
6058
6050
  const deserializeAws_queryActivitiesType = (output, context) => {
6059
- const contents = {
6060
- Activities: undefined,
6061
- NextToken: undefined,
6062
- };
6051
+ const contents = {};
6063
6052
  if (output.Activities === "") {
6064
6053
  contents.Activities = [];
6065
6054
  }
@@ -6072,20 +6061,7 @@ const deserializeAws_queryActivitiesType = (output, context) => {
6072
6061
  return contents;
6073
6062
  };
6074
6063
  const deserializeAws_queryActivity = (output, context) => {
6075
- const contents = {
6076
- ActivityId: undefined,
6077
- AutoScalingGroupName: undefined,
6078
- Description: undefined,
6079
- Cause: undefined,
6080
- StartTime: undefined,
6081
- EndTime: undefined,
6082
- StatusCode: undefined,
6083
- StatusMessage: undefined,
6084
- Progress: undefined,
6085
- Details: undefined,
6086
- AutoScalingGroupState: undefined,
6087
- AutoScalingGroupARN: undefined,
6088
- };
6064
+ const contents = {};
6089
6065
  if (output["ActivityId"] !== undefined) {
6090
6066
  contents.ActivityId = (0, smithy_client_1.expectString)(output["ActivityId"]);
6091
6067
  }
@@ -6125,18 +6101,14 @@ const deserializeAws_queryActivity = (output, context) => {
6125
6101
  return contents;
6126
6102
  };
6127
6103
  const deserializeAws_queryActivityType = (output, context) => {
6128
- const contents = {
6129
- Activity: undefined,
6130
- };
6104
+ const contents = {};
6131
6105
  if (output["Activity"] !== undefined) {
6132
6106
  contents.Activity = deserializeAws_queryActivity(output["Activity"], context);
6133
6107
  }
6134
6108
  return contents;
6135
6109
  };
6136
6110
  const deserializeAws_queryAdjustmentType = (output, context) => {
6137
- const contents = {
6138
- AdjustmentType: undefined,
6139
- };
6111
+ const contents = {};
6140
6112
  if (output["AdjustmentType"] !== undefined) {
6141
6113
  contents.AdjustmentType = (0, smithy_client_1.expectString)(output["AdjustmentType"]);
6142
6114
  }
@@ -6150,10 +6122,7 @@ const deserializeAws_queryAdjustmentTypes = (output, context) => {
6150
6122
  });
6151
6123
  };
6152
6124
  const deserializeAws_queryAlarm = (output, context) => {
6153
- const contents = {
6154
- AlarmName: undefined,
6155
- AlarmARN: undefined,
6156
- };
6125
+ const contents = {};
6157
6126
  if (output["AlarmName"] !== undefined) {
6158
6127
  contents.AlarmName = (0, smithy_client_1.expectString)(output["AlarmName"]);
6159
6128
  }
@@ -6177,9 +6146,7 @@ const deserializeAws_queryAllowedInstanceTypes = (output, context) => {
6177
6146
  });
6178
6147
  };
6179
6148
  const deserializeAws_queryAlreadyExistsFault = (output, context) => {
6180
- const contents = {
6181
- message: undefined,
6182
- };
6149
+ const contents = {};
6183
6150
  if (output["message"] !== undefined) {
6184
6151
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
6185
6152
  }
@@ -6198,42 +6165,7 @@ const deserializeAws_queryAttachTrafficSourcesResultType = (output, context) =>
6198
6165
  return contents;
6199
6166
  };
6200
6167
  const deserializeAws_queryAutoScalingGroup = (output, context) => {
6201
- const contents = {
6202
- AutoScalingGroupName: undefined,
6203
- AutoScalingGroupARN: undefined,
6204
- LaunchConfigurationName: undefined,
6205
- LaunchTemplate: undefined,
6206
- MixedInstancesPolicy: undefined,
6207
- MinSize: undefined,
6208
- MaxSize: undefined,
6209
- DesiredCapacity: undefined,
6210
- PredictedCapacity: undefined,
6211
- DefaultCooldown: undefined,
6212
- AvailabilityZones: undefined,
6213
- LoadBalancerNames: undefined,
6214
- TargetGroupARNs: undefined,
6215
- HealthCheckType: undefined,
6216
- HealthCheckGracePeriod: undefined,
6217
- Instances: undefined,
6218
- CreatedTime: undefined,
6219
- SuspendedProcesses: undefined,
6220
- PlacementGroup: undefined,
6221
- VPCZoneIdentifier: undefined,
6222
- EnabledMetrics: undefined,
6223
- Status: undefined,
6224
- Tags: undefined,
6225
- TerminationPolicies: undefined,
6226
- NewInstancesProtectedFromScaleIn: undefined,
6227
- ServiceLinkedRoleARN: undefined,
6228
- MaxInstanceLifetime: undefined,
6229
- CapacityRebalance: undefined,
6230
- WarmPoolConfiguration: undefined,
6231
- WarmPoolSize: undefined,
6232
- Context: undefined,
6233
- DesiredCapacityType: undefined,
6234
- DefaultInstanceWarmup: undefined,
6235
- TrafficSources: undefined,
6236
- };
6168
+ const contents = {};
6237
6169
  if (output["AutoScalingGroupName"] !== undefined) {
6238
6170
  contents.AutoScalingGroupName = (0, smithy_client_1.expectString)(output["AutoScalingGroupName"]);
6239
6171
  }
@@ -6373,10 +6305,7 @@ const deserializeAws_queryAutoScalingGroups = (output, context) => {
6373
6305
  });
6374
6306
  };
6375
6307
  const deserializeAws_queryAutoScalingGroupsType = (output, context) => {
6376
- const contents = {
6377
- AutoScalingGroups: undefined,
6378
- NextToken: undefined,
6379
- };
6308
+ const contents = {};
6380
6309
  if (output.AutoScalingGroups === "") {
6381
6310
  contents.AutoScalingGroups = [];
6382
6311
  }
@@ -6389,18 +6318,7 @@ const deserializeAws_queryAutoScalingGroupsType = (output, context) => {
6389
6318
  return contents;
6390
6319
  };
6391
6320
  const deserializeAws_queryAutoScalingInstanceDetails = (output, context) => {
6392
- const contents = {
6393
- InstanceId: undefined,
6394
- InstanceType: undefined,
6395
- AutoScalingGroupName: undefined,
6396
- AvailabilityZone: undefined,
6397
- LifecycleState: undefined,
6398
- HealthStatus: undefined,
6399
- LaunchConfigurationName: undefined,
6400
- LaunchTemplate: undefined,
6401
- ProtectedFromScaleIn: undefined,
6402
- WeightedCapacity: undefined,
6403
- };
6321
+ const contents = {};
6404
6322
  if (output["InstanceId"] !== undefined) {
6405
6323
  contents.InstanceId = (0, smithy_client_1.expectString)(output["InstanceId"]);
6406
6324
  }
@@ -6441,10 +6359,7 @@ const deserializeAws_queryAutoScalingInstances = (output, context) => {
6441
6359
  });
6442
6360
  };
6443
6361
  const deserializeAws_queryAutoScalingInstancesType = (output, context) => {
6444
- const contents = {
6445
- AutoScalingInstances: undefined,
6446
- NextToken: undefined,
6447
- };
6362
+ const contents = {};
6448
6363
  if (output.AutoScalingInstances === "") {
6449
6364
  contents.AutoScalingInstances = [];
6450
6365
  }
@@ -6471,10 +6386,7 @@ const deserializeAws_queryAvailabilityZones = (output, context) => {
6471
6386
  });
6472
6387
  };
6473
6388
  const deserializeAws_queryBaselineEbsBandwidthMbpsRequest = (output, context) => {
6474
- const contents = {
6475
- Min: undefined,
6476
- Max: undefined,
6477
- };
6389
+ const contents = {};
6478
6390
  if (output["Min"] !== undefined) {
6479
6391
  contents.Min = (0, smithy_client_1.strictParseInt32)(output["Min"]);
6480
6392
  }
@@ -6484,9 +6396,7 @@ const deserializeAws_queryBaselineEbsBandwidthMbpsRequest = (output, context) =>
6484
6396
  return contents;
6485
6397
  };
6486
6398
  const deserializeAws_queryBatchDeleteScheduledActionAnswer = (output, context) => {
6487
- const contents = {
6488
- FailedScheduledActions: undefined,
6489
- };
6399
+ const contents = {};
6490
6400
  if (output.FailedScheduledActions === "") {
6491
6401
  contents.FailedScheduledActions = [];
6492
6402
  }
@@ -6497,9 +6407,7 @@ const deserializeAws_queryBatchDeleteScheduledActionAnswer = (output, context) =
6497
6407
  return contents;
6498
6408
  };
6499
6409
  const deserializeAws_queryBatchPutScheduledUpdateGroupActionAnswer = (output, context) => {
6500
- const contents = {
6501
- FailedScheduledUpdateGroupActions: undefined,
6502
- };
6410
+ const contents = {};
6503
6411
  if (output.FailedScheduledUpdateGroupActions === "") {
6504
6412
  contents.FailedScheduledUpdateGroupActions = [];
6505
6413
  }
@@ -6510,12 +6418,7 @@ const deserializeAws_queryBatchPutScheduledUpdateGroupActionAnswer = (output, co
6510
6418
  return contents;
6511
6419
  };
6512
6420
  const deserializeAws_queryBlockDeviceMapping = (output, context) => {
6513
- const contents = {
6514
- VirtualName: undefined,
6515
- DeviceName: undefined,
6516
- Ebs: undefined,
6517
- NoDevice: undefined,
6518
- };
6421
+ const contents = {};
6519
6422
  if (output["VirtualName"] !== undefined) {
6520
6423
  contents.VirtualName = (0, smithy_client_1.expectString)(output["VirtualName"]);
6521
6424
  }
@@ -6538,19 +6441,14 @@ const deserializeAws_queryBlockDeviceMappings = (output, context) => {
6538
6441
  });
6539
6442
  };
6540
6443
  const deserializeAws_queryCancelInstanceRefreshAnswer = (output, context) => {
6541
- const contents = {
6542
- InstanceRefreshId: undefined,
6543
- };
6444
+ const contents = {};
6544
6445
  if (output["InstanceRefreshId"] !== undefined) {
6545
6446
  contents.InstanceRefreshId = (0, smithy_client_1.expectString)(output["InstanceRefreshId"]);
6546
6447
  }
6547
6448
  return contents;
6548
6449
  };
6549
6450
  const deserializeAws_queryCapacityForecast = (output, context) => {
6550
- const contents = {
6551
- Timestamps: undefined,
6552
- Values: undefined,
6553
- };
6451
+ const contents = {};
6554
6452
  if (output.Timestamps === "") {
6555
6453
  contents.Timestamps = [];
6556
6454
  }
@@ -6591,14 +6489,7 @@ const deserializeAws_queryCpuManufacturers = (output, context) => {
6591
6489
  });
6592
6490
  };
6593
6491
  const deserializeAws_queryCustomizedMetricSpecification = (output, context) => {
6594
- const contents = {
6595
- MetricName: undefined,
6596
- Namespace: undefined,
6597
- Dimensions: undefined,
6598
- Statistic: undefined,
6599
- Unit: undefined,
6600
- Metrics: undefined,
6601
- };
6492
+ const contents = {};
6602
6493
  if (output["MetricName"] !== undefined) {
6603
6494
  contents.MetricName = (0, smithy_client_1.expectString)(output["MetricName"]);
6604
6495
  }
@@ -6634,12 +6525,7 @@ const deserializeAws_queryDeleteWarmPoolAnswer = (output, context) => {
6634
6525
  return contents;
6635
6526
  };
6636
6527
  const deserializeAws_queryDescribeAccountLimitsAnswer = (output, context) => {
6637
- const contents = {
6638
- MaxNumberOfAutoScalingGroups: undefined,
6639
- MaxNumberOfLaunchConfigurations: undefined,
6640
- NumberOfAutoScalingGroups: undefined,
6641
- NumberOfLaunchConfigurations: undefined,
6642
- };
6528
+ const contents = {};
6643
6529
  if (output["MaxNumberOfAutoScalingGroups"] !== undefined) {
6644
6530
  contents.MaxNumberOfAutoScalingGroups = (0, smithy_client_1.strictParseInt32)(output["MaxNumberOfAutoScalingGroups"]);
6645
6531
  }
@@ -6655,9 +6541,7 @@ const deserializeAws_queryDescribeAccountLimitsAnswer = (output, context) => {
6655
6541
  return contents;
6656
6542
  };
6657
6543
  const deserializeAws_queryDescribeAdjustmentTypesAnswer = (output, context) => {
6658
- const contents = {
6659
- AdjustmentTypes: undefined,
6660
- };
6544
+ const contents = {};
6661
6545
  if (output.AdjustmentTypes === "") {
6662
6546
  contents.AdjustmentTypes = [];
6663
6547
  }
@@ -6667,9 +6551,7 @@ const deserializeAws_queryDescribeAdjustmentTypesAnswer = (output, context) => {
6667
6551
  return contents;
6668
6552
  };
6669
6553
  const deserializeAws_queryDescribeAutoScalingNotificationTypesAnswer = (output, context) => {
6670
- const contents = {
6671
- AutoScalingNotificationTypes: undefined,
6672
- };
6554
+ const contents = {};
6673
6555
  if (output.AutoScalingNotificationTypes === "") {
6674
6556
  contents.AutoScalingNotificationTypes = [];
6675
6557
  }
@@ -6680,10 +6562,7 @@ const deserializeAws_queryDescribeAutoScalingNotificationTypesAnswer = (output,
6680
6562
  return contents;
6681
6563
  };
6682
6564
  const deserializeAws_queryDescribeInstanceRefreshesAnswer = (output, context) => {
6683
- const contents = {
6684
- InstanceRefreshes: undefined,
6685
- NextToken: undefined,
6686
- };
6565
+ const contents = {};
6687
6566
  if (output.InstanceRefreshes === "") {
6688
6567
  contents.InstanceRefreshes = [];
6689
6568
  }
@@ -6696,9 +6575,7 @@ const deserializeAws_queryDescribeInstanceRefreshesAnswer = (output, context) =>
6696
6575
  return contents;
6697
6576
  };
6698
6577
  const deserializeAws_queryDescribeLifecycleHooksAnswer = (output, context) => {
6699
- const contents = {
6700
- LifecycleHooks: undefined,
6701
- };
6578
+ const contents = {};
6702
6579
  if (output.LifecycleHooks === "") {
6703
6580
  contents.LifecycleHooks = [];
6704
6581
  }
@@ -6708,9 +6585,7 @@ const deserializeAws_queryDescribeLifecycleHooksAnswer = (output, context) => {
6708
6585
  return contents;
6709
6586
  };
6710
6587
  const deserializeAws_queryDescribeLifecycleHookTypesAnswer = (output, context) => {
6711
- const contents = {
6712
- LifecycleHookTypes: undefined,
6713
- };
6588
+ const contents = {};
6714
6589
  if (output.LifecycleHookTypes === "") {
6715
6590
  contents.LifecycleHookTypes = [];
6716
6591
  }
@@ -6720,10 +6595,7 @@ const deserializeAws_queryDescribeLifecycleHookTypesAnswer = (output, context) =
6720
6595
  return contents;
6721
6596
  };
6722
6597
  const deserializeAws_queryDescribeLoadBalancersResponse = (output, context) => {
6723
- const contents = {
6724
- LoadBalancers: undefined,
6725
- NextToken: undefined,
6726
- };
6598
+ const contents = {};
6727
6599
  if (output.LoadBalancers === "") {
6728
6600
  contents.LoadBalancers = [];
6729
6601
  }
@@ -6736,10 +6608,7 @@ const deserializeAws_queryDescribeLoadBalancersResponse = (output, context) => {
6736
6608
  return contents;
6737
6609
  };
6738
6610
  const deserializeAws_queryDescribeLoadBalancerTargetGroupsResponse = (output, context) => {
6739
- const contents = {
6740
- LoadBalancerTargetGroups: undefined,
6741
- NextToken: undefined,
6742
- };
6611
+ const contents = {};
6743
6612
  if (output.LoadBalancerTargetGroups === "") {
6744
6613
  contents.LoadBalancerTargetGroups = [];
6745
6614
  }
@@ -6753,10 +6622,7 @@ const deserializeAws_queryDescribeLoadBalancerTargetGroupsResponse = (output, co
6753
6622
  return contents;
6754
6623
  };
6755
6624
  const deserializeAws_queryDescribeMetricCollectionTypesAnswer = (output, context) => {
6756
- const contents = {
6757
- Metrics: undefined,
6758
- Granularities: undefined,
6759
- };
6625
+ const contents = {};
6760
6626
  if (output.Metrics === "") {
6761
6627
  contents.Metrics = [];
6762
6628
  }
@@ -6772,10 +6638,7 @@ const deserializeAws_queryDescribeMetricCollectionTypesAnswer = (output, context
6772
6638
  return contents;
6773
6639
  };
6774
6640
  const deserializeAws_queryDescribeNotificationConfigurationsAnswer = (output, context) => {
6775
- const contents = {
6776
- NotificationConfigurations: undefined,
6777
- NextToken: undefined,
6778
- };
6641
+ const contents = {};
6779
6642
  if (output.NotificationConfigurations === "") {
6780
6643
  contents.NotificationConfigurations = [];
6781
6644
  }
@@ -6789,9 +6652,7 @@ const deserializeAws_queryDescribeNotificationConfigurationsAnswer = (output, co
6789
6652
  return contents;
6790
6653
  };
6791
6654
  const deserializeAws_queryDescribeTerminationPolicyTypesAnswer = (output, context) => {
6792
- const contents = {
6793
- TerminationPolicyTypes: undefined,
6794
- };
6655
+ const contents = {};
6795
6656
  if (output.TerminationPolicyTypes === "") {
6796
6657
  contents.TerminationPolicyTypes = [];
6797
6658
  }
@@ -6802,10 +6663,7 @@ const deserializeAws_queryDescribeTerminationPolicyTypesAnswer = (output, contex
6802
6663
  return contents;
6803
6664
  };
6804
6665
  const deserializeAws_queryDescribeTrafficSourcesResponse = (output, context) => {
6805
- const contents = {
6806
- TrafficSources: undefined,
6807
- NextToken: undefined,
6808
- };
6666
+ const contents = {};
6809
6667
  if (output.TrafficSources === "") {
6810
6668
  contents.TrafficSources = [];
6811
6669
  }
@@ -6818,11 +6676,7 @@ const deserializeAws_queryDescribeTrafficSourcesResponse = (output, context) =>
6818
6676
  return contents;
6819
6677
  };
6820
6678
  const deserializeAws_queryDescribeWarmPoolAnswer = (output, context) => {
6821
- const contents = {
6822
- WarmPoolConfiguration: undefined,
6823
- Instances: undefined,
6824
- NextToken: undefined,
6825
- };
6679
+ const contents = {};
6826
6680
  if (output["WarmPoolConfiguration"] !== undefined) {
6827
6681
  contents.WarmPoolConfiguration = deserializeAws_queryWarmPoolConfiguration(output["WarmPoolConfiguration"], context);
6828
6682
  }
@@ -6838,10 +6692,7 @@ const deserializeAws_queryDescribeWarmPoolAnswer = (output, context) => {
6838
6692
  return contents;
6839
6693
  };
6840
6694
  const deserializeAws_queryDesiredConfiguration = (output, context) => {
6841
- const contents = {
6842
- LaunchTemplate: undefined,
6843
- MixedInstancesPolicy: undefined,
6844
- };
6695
+ const contents = {};
6845
6696
  if (output["LaunchTemplate"] !== undefined) {
6846
6697
  contents.LaunchTemplate = deserializeAws_queryLaunchTemplateSpecification(output["LaunchTemplate"], context);
6847
6698
  }
@@ -6851,9 +6702,7 @@ const deserializeAws_queryDesiredConfiguration = (output, context) => {
6851
6702
  return contents;
6852
6703
  };
6853
6704
  const deserializeAws_queryDetachInstancesAnswer = (output, context) => {
6854
- const contents = {
6855
- Activities: undefined,
6856
- };
6705
+ const contents = {};
6857
6706
  if (output.Activities === "") {
6858
6707
  contents.Activities = [];
6859
6708
  }
@@ -6875,15 +6724,7 @@ const deserializeAws_queryDetachTrafficSourcesResultType = (output, context) =>
6875
6724
  return contents;
6876
6725
  };
6877
6726
  const deserializeAws_queryEbs = (output, context) => {
6878
- const contents = {
6879
- SnapshotId: undefined,
6880
- VolumeSize: undefined,
6881
- VolumeType: undefined,
6882
- DeleteOnTermination: undefined,
6883
- Iops: undefined,
6884
- Encrypted: undefined,
6885
- Throughput: undefined,
6886
- };
6727
+ const contents = {};
6887
6728
  if (output["SnapshotId"] !== undefined) {
6888
6729
  contents.SnapshotId = (0, smithy_client_1.expectString)(output["SnapshotId"]);
6889
6730
  }
@@ -6908,10 +6749,7 @@ const deserializeAws_queryEbs = (output, context) => {
6908
6749
  return contents;
6909
6750
  };
6910
6751
  const deserializeAws_queryEnabledMetric = (output, context) => {
6911
- const contents = {
6912
- Metric: undefined,
6913
- Granularity: undefined,
6914
- };
6752
+ const contents = {};
6915
6753
  if (output["Metric"] !== undefined) {
6916
6754
  contents.Metric = (0, smithy_client_1.expectString)(output["Metric"]);
6917
6755
  }
@@ -6928,9 +6766,7 @@ const deserializeAws_queryEnabledMetrics = (output, context) => {
6928
6766
  });
6929
6767
  };
6930
6768
  const deserializeAws_queryEnterStandbyAnswer = (output, context) => {
6931
- const contents = {
6932
- Activities: undefined,
6933
- };
6769
+ const contents = {};
6934
6770
  if (output.Activities === "") {
6935
6771
  contents.Activities = [];
6936
6772
  }
@@ -6947,9 +6783,7 @@ const deserializeAws_queryExcludedInstanceTypes = (output, context) => {
6947
6783
  });
6948
6784
  };
6949
6785
  const deserializeAws_queryExitStandbyAnswer = (output, context) => {
6950
- const contents = {
6951
- Activities: undefined,
6952
- };
6786
+ const contents = {};
6953
6787
  if (output.Activities === "") {
6954
6788
  contents.Activities = [];
6955
6789
  }
@@ -6959,11 +6793,7 @@ const deserializeAws_queryExitStandbyAnswer = (output, context) => {
6959
6793
  return contents;
6960
6794
  };
6961
6795
  const deserializeAws_queryFailedScheduledUpdateGroupActionRequest = (output, context) => {
6962
- const contents = {
6963
- ScheduledActionName: undefined,
6964
- ErrorCode: undefined,
6965
- ErrorMessage: undefined,
6966
- };
6796
+ const contents = {};
6967
6797
  if (output["ScheduledActionName"] !== undefined) {
6968
6798
  contents.ScheduledActionName = (0, smithy_client_1.expectString)(output["ScheduledActionName"]);
6969
6799
  }
@@ -6983,11 +6813,7 @@ const deserializeAws_queryFailedScheduledUpdateGroupActionRequests = (output, co
6983
6813
  });
6984
6814
  };
6985
6815
  const deserializeAws_queryGetPredictiveScalingForecastAnswer = (output, context) => {
6986
- const contents = {
6987
- LoadForecast: undefined,
6988
- CapacityForecast: undefined,
6989
- UpdateTime: undefined,
6990
- };
6816
+ const contents = {};
6991
6817
  if (output.LoadForecast === "") {
6992
6818
  contents.LoadForecast = [];
6993
6819
  }
@@ -7003,17 +6829,7 @@ const deserializeAws_queryGetPredictiveScalingForecastAnswer = (output, context)
7003
6829
  return contents;
7004
6830
  };
7005
6831
  const deserializeAws_queryInstance = (output, context) => {
7006
- const contents = {
7007
- InstanceId: undefined,
7008
- InstanceType: undefined,
7009
- AvailabilityZone: undefined,
7010
- LifecycleState: undefined,
7011
- HealthStatus: undefined,
7012
- LaunchConfigurationName: undefined,
7013
- LaunchTemplate: undefined,
7014
- ProtectedFromScaleIn: undefined,
7015
- WeightedCapacity: undefined,
7016
- };
6832
+ const contents = {};
7017
6833
  if (output["InstanceId"] !== undefined) {
7018
6834
  contents.InstanceId = (0, smithy_client_1.expectString)(output["InstanceId"]);
7019
6835
  }
@@ -7051,11 +6867,7 @@ const deserializeAws_queryInstanceGenerations = (output, context) => {
7051
6867
  });
7052
6868
  };
7053
6869
  const deserializeAws_queryInstanceMetadataOptions = (output, context) => {
7054
- const contents = {
7055
- HttpTokens: undefined,
7056
- HttpPutResponseHopLimit: undefined,
7057
- HttpEndpoint: undefined,
7058
- };
6870
+ const contents = {};
7059
6871
  if (output["HttpTokens"] !== undefined) {
7060
6872
  contents.HttpTokens = (0, smithy_client_1.expectString)(output["HttpTokens"]);
7061
6873
  }
@@ -7068,29 +6880,14 @@ const deserializeAws_queryInstanceMetadataOptions = (output, context) => {
7068
6880
  return contents;
7069
6881
  };
7070
6882
  const deserializeAws_queryInstanceMonitoring = (output, context) => {
7071
- const contents = {
7072
- Enabled: undefined,
7073
- };
6883
+ const contents = {};
7074
6884
  if (output["Enabled"] !== undefined) {
7075
6885
  contents.Enabled = (0, smithy_client_1.parseBoolean)(output["Enabled"]);
7076
6886
  }
7077
6887
  return contents;
7078
6888
  };
7079
6889
  const deserializeAws_queryInstanceRefresh = (output, context) => {
7080
- const contents = {
7081
- InstanceRefreshId: undefined,
7082
- AutoScalingGroupName: undefined,
7083
- Status: undefined,
7084
- StatusReason: undefined,
7085
- StartTime: undefined,
7086
- EndTime: undefined,
7087
- PercentageComplete: undefined,
7088
- InstancesToUpdate: undefined,
7089
- ProgressDetails: undefined,
7090
- Preferences: undefined,
7091
- DesiredConfiguration: undefined,
7092
- RollbackDetails: undefined,
7093
- };
6890
+ const contents = {};
7094
6891
  if (output["InstanceRefreshId"] !== undefined) {
7095
6892
  contents.InstanceRefreshId = (0, smithy_client_1.expectString)(output["InstanceRefreshId"]);
7096
6893
  }
@@ -7137,19 +6934,14 @@ const deserializeAws_queryInstanceRefreshes = (output, context) => {
7137
6934
  });
7138
6935
  };
7139
6936
  const deserializeAws_queryInstanceRefreshInProgressFault = (output, context) => {
7140
- const contents = {
7141
- message: undefined,
7142
- };
6937
+ const contents = {};
7143
6938
  if (output["message"] !== undefined) {
7144
6939
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7145
6940
  }
7146
6941
  return contents;
7147
6942
  };
7148
6943
  const deserializeAws_queryInstanceRefreshLivePoolProgress = (output, context) => {
7149
- const contents = {
7150
- PercentageComplete: undefined,
7151
- InstancesToUpdate: undefined,
7152
- };
6944
+ const contents = {};
7153
6945
  if (output["PercentageComplete"] !== undefined) {
7154
6946
  contents.PercentageComplete = (0, smithy_client_1.strictParseInt32)(output["PercentageComplete"]);
7155
6947
  }
@@ -7159,10 +6951,7 @@ const deserializeAws_queryInstanceRefreshLivePoolProgress = (output, context) =>
7159
6951
  return contents;
7160
6952
  };
7161
6953
  const deserializeAws_queryInstanceRefreshProgressDetails = (output, context) => {
7162
- const contents = {
7163
- LivePoolProgress: undefined,
7164
- WarmPoolProgress: undefined,
7165
- };
6954
+ const contents = {};
7166
6955
  if (output["LivePoolProgress"] !== undefined) {
7167
6956
  contents.LivePoolProgress = deserializeAws_queryInstanceRefreshLivePoolProgress(output["LivePoolProgress"], context);
7168
6957
  }
@@ -7172,10 +6961,7 @@ const deserializeAws_queryInstanceRefreshProgressDetails = (output, context) =>
7172
6961
  return contents;
7173
6962
  };
7174
6963
  const deserializeAws_queryInstanceRefreshWarmPoolProgress = (output, context) => {
7175
- const contents = {
7176
- PercentageComplete: undefined,
7177
- InstancesToUpdate: undefined,
7178
- };
6964
+ const contents = {};
7179
6965
  if (output["PercentageComplete"] !== undefined) {
7180
6966
  contents.PercentageComplete = (0, smithy_client_1.strictParseInt32)(output["PercentageComplete"]);
7181
6967
  }
@@ -7185,31 +6971,7 @@ const deserializeAws_queryInstanceRefreshWarmPoolProgress = (output, context) =>
7185
6971
  return contents;
7186
6972
  };
7187
6973
  const deserializeAws_queryInstanceRequirements = (output, context) => {
7188
- const contents = {
7189
- VCpuCount: undefined,
7190
- MemoryMiB: undefined,
7191
- CpuManufacturers: undefined,
7192
- MemoryGiBPerVCpu: undefined,
7193
- ExcludedInstanceTypes: undefined,
7194
- InstanceGenerations: undefined,
7195
- SpotMaxPricePercentageOverLowestPrice: undefined,
7196
- OnDemandMaxPricePercentageOverLowestPrice: undefined,
7197
- BareMetal: undefined,
7198
- BurstablePerformance: undefined,
7199
- RequireHibernateSupport: undefined,
7200
- NetworkInterfaceCount: undefined,
7201
- LocalStorage: undefined,
7202
- LocalStorageTypes: undefined,
7203
- TotalLocalStorageGB: undefined,
7204
- BaselineEbsBandwidthMbps: undefined,
7205
- AcceleratorTypes: undefined,
7206
- AcceleratorCount: undefined,
7207
- AcceleratorManufacturers: undefined,
7208
- AcceleratorNames: undefined,
7209
- AcceleratorTotalMemoryMiB: undefined,
7210
- NetworkBandwidthGbps: undefined,
7211
- AllowedInstanceTypes: undefined,
7212
- };
6974
+ const contents = {};
7213
6975
  if (output["VCpuCount"] !== undefined) {
7214
6976
  contents.VCpuCount = deserializeAws_queryVCpuCountRequest(output["VCpuCount"], context);
7215
6977
  }
@@ -7307,9 +7069,7 @@ const deserializeAws_queryInstanceRequirements = (output, context) => {
7307
7069
  return contents;
7308
7070
  };
7309
7071
  const deserializeAws_queryInstanceReusePolicy = (output, context) => {
7310
- const contents = {
7311
- ReuseOnScaleIn: undefined,
7312
- };
7072
+ const contents = {};
7313
7073
  if (output["ReuseOnScaleIn"] !== undefined) {
7314
7074
  contents.ReuseOnScaleIn = (0, smithy_client_1.parseBoolean)(output["ReuseOnScaleIn"]);
7315
7075
  }
@@ -7323,14 +7083,7 @@ const deserializeAws_queryInstances = (output, context) => {
7323
7083
  });
7324
7084
  };
7325
7085
  const deserializeAws_queryInstancesDistribution = (output, context) => {
7326
- const contents = {
7327
- OnDemandAllocationStrategy: undefined,
7328
- OnDemandBaseCapacity: undefined,
7329
- OnDemandPercentageAboveBaseCapacity: undefined,
7330
- SpotAllocationStrategy: undefined,
7331
- SpotInstancePools: undefined,
7332
- SpotMaxPrice: undefined,
7333
- };
7086
+ const contents = {};
7334
7087
  if (output["OnDemandAllocationStrategy"] !== undefined) {
7335
7088
  contents.OnDemandAllocationStrategy = (0, smithy_client_1.expectString)(output["OnDemandAllocationStrategy"]);
7336
7089
  }
@@ -7352,46 +7105,21 @@ const deserializeAws_queryInstancesDistribution = (output, context) => {
7352
7105
  return contents;
7353
7106
  };
7354
7107
  const deserializeAws_queryInvalidNextToken = (output, context) => {
7355
- const contents = {
7356
- message: undefined,
7357
- };
7108
+ const contents = {};
7358
7109
  if (output["message"] !== undefined) {
7359
7110
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7360
7111
  }
7361
7112
  return contents;
7362
7113
  };
7363
7114
  const deserializeAws_queryIrreversibleInstanceRefreshFault = (output, context) => {
7364
- const contents = {
7365
- message: undefined,
7366
- };
7115
+ const contents = {};
7367
7116
  if (output["message"] !== undefined) {
7368
7117
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7369
7118
  }
7370
7119
  return contents;
7371
7120
  };
7372
7121
  const deserializeAws_queryLaunchConfiguration = (output, context) => {
7373
- const contents = {
7374
- LaunchConfigurationName: undefined,
7375
- LaunchConfigurationARN: undefined,
7376
- ImageId: undefined,
7377
- KeyName: undefined,
7378
- SecurityGroups: undefined,
7379
- ClassicLinkVPCId: undefined,
7380
- ClassicLinkVPCSecurityGroups: undefined,
7381
- UserData: undefined,
7382
- InstanceType: undefined,
7383
- KernelId: undefined,
7384
- RamdiskId: undefined,
7385
- BlockDeviceMappings: undefined,
7386
- InstanceMonitoring: undefined,
7387
- SpotPrice: undefined,
7388
- IamInstanceProfile: undefined,
7389
- CreatedTime: undefined,
7390
- EbsOptimized: undefined,
7391
- AssociatePublicIpAddress: undefined,
7392
- PlacementTenancy: undefined,
7393
- MetadataOptions: undefined,
7394
- };
7122
+ const contents = {};
7395
7123
  if (output["LaunchConfigurationName"] !== undefined) {
7396
7124
  contents.LaunchConfigurationName = (0, smithy_client_1.expectString)(output["LaunchConfigurationName"]);
7397
7125
  }
@@ -7472,10 +7200,7 @@ const deserializeAws_queryLaunchConfigurations = (output, context) => {
7472
7200
  });
7473
7201
  };
7474
7202
  const deserializeAws_queryLaunchConfigurationsType = (output, context) => {
7475
- const contents = {
7476
- LaunchConfigurations: undefined,
7477
- NextToken: undefined,
7478
- };
7203
+ const contents = {};
7479
7204
  if (output.LaunchConfigurations === "") {
7480
7205
  contents.LaunchConfigurations = [];
7481
7206
  }
@@ -7488,10 +7213,7 @@ const deserializeAws_queryLaunchConfigurationsType = (output, context) => {
7488
7213
  return contents;
7489
7214
  };
7490
7215
  const deserializeAws_queryLaunchTemplate = (output, context) => {
7491
- const contents = {
7492
- LaunchTemplateSpecification: undefined,
7493
- Overrides: undefined,
7494
- };
7216
+ const contents = {};
7495
7217
  if (output["LaunchTemplateSpecification"] !== undefined) {
7496
7218
  contents.LaunchTemplateSpecification = deserializeAws_queryLaunchTemplateSpecification(output["LaunchTemplateSpecification"], context);
7497
7219
  }
@@ -7504,12 +7226,7 @@ const deserializeAws_queryLaunchTemplate = (output, context) => {
7504
7226
  return contents;
7505
7227
  };
7506
7228
  const deserializeAws_queryLaunchTemplateOverrides = (output, context) => {
7507
- const contents = {
7508
- InstanceType: undefined,
7509
- WeightedCapacity: undefined,
7510
- LaunchTemplateSpecification: undefined,
7511
- InstanceRequirements: undefined,
7512
- };
7229
+ const contents = {};
7513
7230
  if (output["InstanceType"] !== undefined) {
7514
7231
  contents.InstanceType = (0, smithy_client_1.expectString)(output["InstanceType"]);
7515
7232
  }
@@ -7525,11 +7242,7 @@ const deserializeAws_queryLaunchTemplateOverrides = (output, context) => {
7525
7242
  return contents;
7526
7243
  };
7527
7244
  const deserializeAws_queryLaunchTemplateSpecification = (output, context) => {
7528
- const contents = {
7529
- LaunchTemplateId: undefined,
7530
- LaunchTemplateName: undefined,
7531
- Version: undefined,
7532
- };
7245
+ const contents = {};
7533
7246
  if (output["LaunchTemplateId"] !== undefined) {
7534
7247
  contents.LaunchTemplateId = (0, smithy_client_1.expectString)(output["LaunchTemplateId"]);
7535
7248
  }
@@ -7542,17 +7255,7 @@ const deserializeAws_queryLaunchTemplateSpecification = (output, context) => {
7542
7255
  return contents;
7543
7256
  };
7544
7257
  const deserializeAws_queryLifecycleHook = (output, context) => {
7545
- const contents = {
7546
- LifecycleHookName: undefined,
7547
- AutoScalingGroupName: undefined,
7548
- LifecycleTransition: undefined,
7549
- NotificationTargetARN: undefined,
7550
- RoleARN: undefined,
7551
- NotificationMetadata: undefined,
7552
- HeartbeatTimeout: undefined,
7553
- GlobalTimeout: undefined,
7554
- DefaultResult: undefined,
7555
- };
7258
+ const contents = {};
7556
7259
  if (output["LifecycleHookName"] !== undefined) {
7557
7260
  contents.LifecycleHookName = (0, smithy_client_1.expectString)(output["LifecycleHookName"]);
7558
7261
  }
@@ -7590,9 +7293,7 @@ const deserializeAws_queryLifecycleHooks = (output, context) => {
7590
7293
  });
7591
7294
  };
7592
7295
  const deserializeAws_queryLimitExceededFault = (output, context) => {
7593
- const contents = {
7594
- message: undefined,
7595
- };
7296
+ const contents = {};
7596
7297
  if (output["message"] !== undefined) {
7597
7298
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
7598
7299
  }
@@ -7606,10 +7307,7 @@ const deserializeAws_queryLoadBalancerNames = (output, context) => {
7606
7307
  });
7607
7308
  };
7608
7309
  const deserializeAws_queryLoadBalancerState = (output, context) => {
7609
- const contents = {
7610
- LoadBalancerName: undefined,
7611
- State: undefined,
7612
- };
7310
+ const contents = {};
7613
7311
  if (output["LoadBalancerName"] !== undefined) {
7614
7312
  contents.LoadBalancerName = (0, smithy_client_1.expectString)(output["LoadBalancerName"]);
7615
7313
  }
@@ -7626,10 +7324,7 @@ const deserializeAws_queryLoadBalancerStates = (output, context) => {
7626
7324
  });
7627
7325
  };
7628
7326
  const deserializeAws_queryLoadBalancerTargetGroupState = (output, context) => {
7629
- const contents = {
7630
- LoadBalancerTargetGroupARN: undefined,
7631
- State: undefined,
7632
- };
7327
+ const contents = {};
7633
7328
  if (output["LoadBalancerTargetGroupARN"] !== undefined) {
7634
7329
  contents.LoadBalancerTargetGroupARN = (0, smithy_client_1.expectString)(output["LoadBalancerTargetGroupARN"]);
7635
7330
  }
@@ -7646,11 +7341,7 @@ const deserializeAws_queryLoadBalancerTargetGroupStates = (output, context) => {
7646
7341
  });
7647
7342
  };
7648
7343
  const deserializeAws_queryLoadForecast = (output, context) => {
7649
- const contents = {
7650
- Timestamps: undefined,
7651
- Values: undefined,
7652
- MetricSpecification: undefined,
7653
- };
7344
+ const contents = {};
7654
7345
  if (output.Timestamps === "") {
7655
7346
  contents.Timestamps = [];
7656
7347
  }
@@ -7683,10 +7374,7 @@ const deserializeAws_queryLocalStorageTypes = (output, context) => {
7683
7374
  });
7684
7375
  };
7685
7376
  const deserializeAws_queryMemoryGiBPerVCpuRequest = (output, context) => {
7686
- const contents = {
7687
- Min: undefined,
7688
- Max: undefined,
7689
- };
7377
+ const contents = {};
7690
7378
  if (output["Min"] !== undefined) {
7691
7379
  contents.Min = (0, smithy_client_1.strictParseFloat)(output["Min"]);
7692
7380
  }
@@ -7696,10 +7384,7 @@ const deserializeAws_queryMemoryGiBPerVCpuRequest = (output, context) => {
7696
7384
  return contents;
7697
7385
  };
7698
7386
  const deserializeAws_queryMemoryMiBRequest = (output, context) => {
7699
- const contents = {
7700
- Min: undefined,
7701
- Max: undefined,
7702
- };
7387
+ const contents = {};
7703
7388
  if (output["Min"] !== undefined) {
7704
7389
  contents.Min = (0, smithy_client_1.strictParseInt32)(output["Min"]);
7705
7390
  }
@@ -7709,11 +7394,7 @@ const deserializeAws_queryMemoryMiBRequest = (output, context) => {
7709
7394
  return contents;
7710
7395
  };
7711
7396
  const deserializeAws_queryMetric = (output, context) => {
7712
- const contents = {
7713
- Namespace: undefined,
7714
- MetricName: undefined,
7715
- Dimensions: undefined,
7716
- };
7397
+ const contents = {};
7717
7398
  if (output["Namespace"] !== undefined) {
7718
7399
  contents.Namespace = (0, smithy_client_1.expectString)(output["Namespace"]);
7719
7400
  }
@@ -7729,9 +7410,7 @@ const deserializeAws_queryMetric = (output, context) => {
7729
7410
  return contents;
7730
7411
  };
7731
7412
  const deserializeAws_queryMetricCollectionType = (output, context) => {
7732
- const contents = {
7733
- Metric: undefined,
7734
- };
7413
+ const contents = {};
7735
7414
  if (output["Metric"] !== undefined) {
7736
7415
  contents.Metric = (0, smithy_client_1.expectString)(output["Metric"]);
7737
7416
  }
@@ -7752,13 +7431,7 @@ const deserializeAws_queryMetricDataQueries = (output, context) => {
7752
7431
  });
7753
7432
  };
7754
7433
  const deserializeAws_queryMetricDataQuery = (output, context) => {
7755
- const contents = {
7756
- Id: undefined,
7757
- Expression: undefined,
7758
- MetricStat: undefined,
7759
- Label: undefined,
7760
- ReturnData: undefined,
7761
- };
7434
+ const contents = {};
7762
7435
  if (output["Id"] !== undefined) {
7763
7436
  contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
7764
7437
  }
@@ -7777,10 +7450,7 @@ const deserializeAws_queryMetricDataQuery = (output, context) => {
7777
7450
  return contents;
7778
7451
  };
7779
7452
  const deserializeAws_queryMetricDimension = (output, context) => {
7780
- const contents = {
7781
- Name: undefined,
7782
- Value: undefined,
7783
- };
7453
+ const contents = {};
7784
7454
  if (output["Name"] !== undefined) {
7785
7455
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
7786
7456
  }
@@ -7797,9 +7467,7 @@ const deserializeAws_queryMetricDimensions = (output, context) => {
7797
7467
  });
7798
7468
  };
7799
7469
  const deserializeAws_queryMetricGranularityType = (output, context) => {
7800
- const contents = {
7801
- Granularity: undefined,
7802
- };
7470
+ const contents = {};
7803
7471
  if (output["Granularity"] !== undefined) {
7804
7472
  contents.Granularity = (0, smithy_client_1.expectString)(output["Granularity"]);
7805
7473
  }
@@ -7813,11 +7481,7 @@ const deserializeAws_queryMetricGranularityTypes = (output, context) => {
7813
7481
  });
7814
7482
  };
7815
7483
  const deserializeAws_queryMetricStat = (output, context) => {
7816
- const contents = {
7817
- Metric: undefined,
7818
- Stat: undefined,
7819
- Unit: undefined,
7820
- };
7484
+ const contents = {};
7821
7485
  if (output["Metric"] !== undefined) {
7822
7486
  contents.Metric = deserializeAws_queryMetric(output["Metric"], context);
7823
7487
  }
@@ -7830,10 +7494,7 @@ const deserializeAws_queryMetricStat = (output, context) => {
7830
7494
  return contents;
7831
7495
  };
7832
7496
  const deserializeAws_queryMixedInstancesPolicy = (output, context) => {
7833
- const contents = {
7834
- LaunchTemplate: undefined,
7835
- InstancesDistribution: undefined,
7836
- };
7497
+ const contents = {};
7837
7498
  if (output["LaunchTemplate"] !== undefined) {
7838
7499
  contents.LaunchTemplate = deserializeAws_queryLaunchTemplate(output["LaunchTemplate"], context);
7839
7500
  }
@@ -7843,10 +7504,7 @@ const deserializeAws_queryMixedInstancesPolicy = (output, context) => {
7843
7504
  return contents;
7844
7505
  };
7845
7506
  const deserializeAws_queryNetworkBandwidthGbpsRequest = (output, context) => {
7846
- const contents = {
7847
- Min: undefined,
7848
- Max: undefined,
7849
- };
7507
+ const contents = {};
7850
7508
  if (output["Min"] !== undefined) {
7851
7509
  contents.Min = (0, smithy_client_1.strictParseFloat)(output["Min"]);
7852
7510
  }
@@ -7856,10 +7514,7 @@ const deserializeAws_queryNetworkBandwidthGbpsRequest = (output, context) => {
7856
7514
  return contents;
7857
7515
  };
7858
7516
  const deserializeAws_queryNetworkInterfaceCountRequest = (output, context) => {
7859
- const contents = {
7860
- Min: undefined,
7861
- Max: undefined,
7862
- };
7517
+ const contents = {};
7863
7518
  if (output["Min"] !== undefined) {
7864
7519
  contents.Min = (0, smithy_client_1.strictParseInt32)(output["Min"]);
7865
7520
  }
@@ -7869,11 +7524,7 @@ const deserializeAws_queryNetworkInterfaceCountRequest = (output, context) => {
7869
7524
  return contents;
7870
7525
  };
7871
7526
  const deserializeAws_queryNotificationConfiguration = (output, context) => {
7872
- const contents = {
7873
- AutoScalingGroupName: undefined,
7874
- TopicARN: undefined,
7875
- NotificationType: undefined,
7876
- };
7527
+ const contents = {};
7877
7528
  if (output["AutoScalingGroupName"] !== undefined) {
7878
7529
  contents.AutoScalingGroupName = (0, smithy_client_1.expectString)(output["AutoScalingGroupName"]);
7879
7530
  }
@@ -7900,10 +7551,7 @@ const deserializeAws_queryOverrides = (output, context) => {
7900
7551
  });
7901
7552
  };
7902
7553
  const deserializeAws_queryPoliciesType = (output, context) => {
7903
- const contents = {
7904
- ScalingPolicies: undefined,
7905
- NextToken: undefined,
7906
- };
7554
+ const contents = {};
7907
7555
  if (output.ScalingPolicies === "") {
7908
7556
  contents.ScalingPolicies = [];
7909
7557
  }
@@ -7916,10 +7564,7 @@ const deserializeAws_queryPoliciesType = (output, context) => {
7916
7564
  return contents;
7917
7565
  };
7918
7566
  const deserializeAws_queryPolicyARNType = (output, context) => {
7919
- const contents = {
7920
- PolicyARN: undefined,
7921
- Alarms: undefined,
7922
- };
7567
+ const contents = {};
7923
7568
  if (output["PolicyARN"] !== undefined) {
7924
7569
  contents.PolicyARN = (0, smithy_client_1.expectString)(output["PolicyARN"]);
7925
7570
  }
@@ -7932,10 +7577,7 @@ const deserializeAws_queryPolicyARNType = (output, context) => {
7932
7577
  return contents;
7933
7578
  };
7934
7579
  const deserializeAws_queryPredefinedMetricSpecification = (output, context) => {
7935
- const contents = {
7936
- PredefinedMetricType: undefined,
7937
- ResourceLabel: undefined,
7938
- };
7580
+ const contents = {};
7939
7581
  if (output["PredefinedMetricType"] !== undefined) {
7940
7582
  contents.PredefinedMetricType = (0, smithy_client_1.expectString)(output["PredefinedMetricType"]);
7941
7583
  }
@@ -7945,13 +7587,7 @@ const deserializeAws_queryPredefinedMetricSpecification = (output, context) => {
7945
7587
  return contents;
7946
7588
  };
7947
7589
  const deserializeAws_queryPredictiveScalingConfiguration = (output, context) => {
7948
- const contents = {
7949
- MetricSpecifications: undefined,
7950
- Mode: undefined,
7951
- SchedulingBufferTime: undefined,
7952
- MaxCapacityBreachBehavior: undefined,
7953
- MaxCapacityBuffer: undefined,
7954
- };
7590
+ const contents = {};
7955
7591
  if (output.MetricSpecifications === "") {
7956
7592
  contents.MetricSpecifications = [];
7957
7593
  }
@@ -7973,9 +7609,7 @@ const deserializeAws_queryPredictiveScalingConfiguration = (output, context) =>
7973
7609
  return contents;
7974
7610
  };
7975
7611
  const deserializeAws_queryPredictiveScalingCustomizedCapacityMetric = (output, context) => {
7976
- const contents = {
7977
- MetricDataQueries: undefined,
7978
- };
7612
+ const contents = {};
7979
7613
  if (output.MetricDataQueries === "") {
7980
7614
  contents.MetricDataQueries = [];
7981
7615
  }
@@ -7985,9 +7619,7 @@ const deserializeAws_queryPredictiveScalingCustomizedCapacityMetric = (output, c
7985
7619
  return contents;
7986
7620
  };
7987
7621
  const deserializeAws_queryPredictiveScalingCustomizedLoadMetric = (output, context) => {
7988
- const contents = {
7989
- MetricDataQueries: undefined,
7990
- };
7622
+ const contents = {};
7991
7623
  if (output.MetricDataQueries === "") {
7992
7624
  contents.MetricDataQueries = [];
7993
7625
  }
@@ -7997,9 +7629,7 @@ const deserializeAws_queryPredictiveScalingCustomizedLoadMetric = (output, conte
7997
7629
  return contents;
7998
7630
  };
7999
7631
  const deserializeAws_queryPredictiveScalingCustomizedScalingMetric = (output, context) => {
8000
- const contents = {
8001
- MetricDataQueries: undefined,
8002
- };
7632
+ const contents = {};
8003
7633
  if (output.MetricDataQueries === "") {
8004
7634
  contents.MetricDataQueries = [];
8005
7635
  }
@@ -8023,15 +7653,7 @@ const deserializeAws_queryPredictiveScalingForecastValues = (output, context) =>
8023
7653
  });
8024
7654
  };
8025
7655
  const deserializeAws_queryPredictiveScalingMetricSpecification = (output, context) => {
8026
- const contents = {
8027
- TargetValue: undefined,
8028
- PredefinedMetricPairSpecification: undefined,
8029
- PredefinedScalingMetricSpecification: undefined,
8030
- PredefinedLoadMetricSpecification: undefined,
8031
- CustomizedScalingMetricSpecification: undefined,
8032
- CustomizedLoadMetricSpecification: undefined,
8033
- CustomizedCapacityMetricSpecification: undefined,
8034
- };
7656
+ const contents = {};
8035
7657
  if (output["TargetValue"] !== undefined) {
8036
7658
  contents.TargetValue = (0, smithy_client_1.strictParseFloat)(output["TargetValue"]);
8037
7659
  }
@@ -8063,10 +7685,7 @@ const deserializeAws_queryPredictiveScalingMetricSpecifications = (output, conte
8063
7685
  });
8064
7686
  };
8065
7687
  const deserializeAws_queryPredictiveScalingPredefinedLoadMetric = (output, context) => {
8066
- const contents = {
8067
- PredefinedMetricType: undefined,
8068
- ResourceLabel: undefined,
8069
- };
7688
+ const contents = {};
8070
7689
  if (output["PredefinedMetricType"] !== undefined) {
8071
7690
  contents.PredefinedMetricType = (0, smithy_client_1.expectString)(output["PredefinedMetricType"]);
8072
7691
  }
@@ -8076,10 +7695,7 @@ const deserializeAws_queryPredictiveScalingPredefinedLoadMetric = (output, conte
8076
7695
  return contents;
8077
7696
  };
8078
7697
  const deserializeAws_queryPredictiveScalingPredefinedMetricPair = (output, context) => {
8079
- const contents = {
8080
- PredefinedMetricType: undefined,
8081
- ResourceLabel: undefined,
8082
- };
7698
+ const contents = {};
8083
7699
  if (output["PredefinedMetricType"] !== undefined) {
8084
7700
  contents.PredefinedMetricType = (0, smithy_client_1.expectString)(output["PredefinedMetricType"]);
8085
7701
  }
@@ -8089,10 +7705,7 @@ const deserializeAws_queryPredictiveScalingPredefinedMetricPair = (output, conte
8089
7705
  return contents;
8090
7706
  };
8091
7707
  const deserializeAws_queryPredictiveScalingPredefinedScalingMetric = (output, context) => {
8092
- const contents = {
8093
- PredefinedMetricType: undefined,
8094
- ResourceLabel: undefined,
8095
- };
7708
+ const contents = {};
8096
7709
  if (output["PredefinedMetricType"] !== undefined) {
8097
7710
  contents.PredefinedMetricType = (0, smithy_client_1.expectString)(output["PredefinedMetricType"]);
8098
7711
  }
@@ -8109,9 +7722,7 @@ const deserializeAws_queryProcesses = (output, context) => {
8109
7722
  });
8110
7723
  };
8111
7724
  const deserializeAws_queryProcessesType = (output, context) => {
8112
- const contents = {
8113
- Processes: undefined,
8114
- };
7725
+ const contents = {};
8115
7726
  if (output.Processes === "") {
8116
7727
  contents.Processes = [];
8117
7728
  }
@@ -8121,9 +7732,7 @@ const deserializeAws_queryProcessesType = (output, context) => {
8121
7732
  return contents;
8122
7733
  };
8123
7734
  const deserializeAws_queryProcessType = (output, context) => {
8124
- const contents = {
8125
- ProcessName: undefined,
8126
- };
7735
+ const contents = {};
8127
7736
  if (output["ProcessName"] !== undefined) {
8128
7737
  contents.ProcessName = (0, smithy_client_1.expectString)(output["ProcessName"]);
8129
7738
  }
@@ -8142,16 +7751,7 @@ const deserializeAws_queryRecordLifecycleActionHeartbeatAnswer = (output, contex
8142
7751
  return contents;
8143
7752
  };
8144
7753
  const deserializeAws_queryRefreshPreferences = (output, context) => {
8145
- const contents = {
8146
- MinHealthyPercentage: undefined,
8147
- InstanceWarmup: undefined,
8148
- CheckpointPercentages: undefined,
8149
- CheckpointDelay: undefined,
8150
- SkipMatching: undefined,
8151
- AutoRollback: undefined,
8152
- ScaleInProtectedInstances: undefined,
8153
- StandbyInstances: undefined,
8154
- };
7754
+ const contents = {};
8155
7755
  if (output["MinHealthyPercentage"] !== undefined) {
8156
7756
  contents.MinHealthyPercentage = (0, smithy_client_1.strictParseInt32)(output["MinHealthyPercentage"]);
8157
7757
  }
@@ -8182,31 +7782,21 @@ const deserializeAws_queryRefreshPreferences = (output, context) => {
8182
7782
  return contents;
8183
7783
  };
8184
7784
  const deserializeAws_queryResourceContentionFault = (output, context) => {
8185
- const contents = {
8186
- message: undefined,
8187
- };
7785
+ const contents = {};
8188
7786
  if (output["message"] !== undefined) {
8189
7787
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8190
7788
  }
8191
7789
  return contents;
8192
7790
  };
8193
7791
  const deserializeAws_queryResourceInUseFault = (output, context) => {
8194
- const contents = {
8195
- message: undefined,
8196
- };
7792
+ const contents = {};
8197
7793
  if (output["message"] !== undefined) {
8198
7794
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8199
7795
  }
8200
7796
  return contents;
8201
7797
  };
8202
7798
  const deserializeAws_queryRollbackDetails = (output, context) => {
8203
- const contents = {
8204
- RollbackReason: undefined,
8205
- RollbackStartTime: undefined,
8206
- PercentageCompleteOnRollback: undefined,
8207
- InstancesToUpdateOnRollback: undefined,
8208
- ProgressDetailsOnRollback: undefined,
8209
- };
7799
+ const contents = {};
8210
7800
  if (output["RollbackReason"] !== undefined) {
8211
7801
  contents.RollbackReason = (0, smithy_client_1.expectString)(output["RollbackReason"]);
8212
7802
  }
@@ -8225,18 +7815,14 @@ const deserializeAws_queryRollbackDetails = (output, context) => {
8225
7815
  return contents;
8226
7816
  };
8227
7817
  const deserializeAws_queryRollbackInstanceRefreshAnswer = (output, context) => {
8228
- const contents = {
8229
- InstanceRefreshId: undefined,
8230
- };
7818
+ const contents = {};
8231
7819
  if (output["InstanceRefreshId"] !== undefined) {
8232
7820
  contents.InstanceRefreshId = (0, smithy_client_1.expectString)(output["InstanceRefreshId"]);
8233
7821
  }
8234
7822
  return contents;
8235
7823
  };
8236
7824
  const deserializeAws_queryScalingActivityInProgressFault = (output, context) => {
8237
- const contents = {
8238
- message: undefined,
8239
- };
7825
+ const contents = {};
8240
7826
  if (output["message"] !== undefined) {
8241
7827
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8242
7828
  }
@@ -8250,24 +7836,7 @@ const deserializeAws_queryScalingPolicies = (output, context) => {
8250
7836
  });
8251
7837
  };
8252
7838
  const deserializeAws_queryScalingPolicy = (output, context) => {
8253
- const contents = {
8254
- AutoScalingGroupName: undefined,
8255
- PolicyName: undefined,
8256
- PolicyARN: undefined,
8257
- PolicyType: undefined,
8258
- AdjustmentType: undefined,
8259
- MinAdjustmentStep: undefined,
8260
- MinAdjustmentMagnitude: undefined,
8261
- ScalingAdjustment: undefined,
8262
- Cooldown: undefined,
8263
- StepAdjustments: undefined,
8264
- MetricAggregationType: undefined,
8265
- EstimatedInstanceWarmup: undefined,
8266
- Alarms: undefined,
8267
- TargetTrackingConfiguration: undefined,
8268
- Enabled: undefined,
8269
- PredictiveScalingConfiguration: undefined,
8270
- };
7839
+ const contents = {};
8271
7840
  if (output["AutoScalingGroupName"] !== undefined) {
8272
7841
  contents.AutoScalingGroupName = (0, smithy_client_1.expectString)(output["AutoScalingGroupName"]);
8273
7842
  }
@@ -8325,10 +7894,7 @@ const deserializeAws_queryScalingPolicy = (output, context) => {
8325
7894
  return contents;
8326
7895
  };
8327
7896
  const deserializeAws_queryScheduledActionsType = (output, context) => {
8328
- const contents = {
8329
- ScheduledUpdateGroupActions: undefined,
8330
- NextToken: undefined,
8331
- };
7897
+ const contents = {};
8332
7898
  if (output.ScheduledUpdateGroupActions === "") {
8333
7899
  contents.ScheduledUpdateGroupActions = [];
8334
7900
  }
@@ -8342,19 +7908,7 @@ const deserializeAws_queryScheduledActionsType = (output, context) => {
8342
7908
  return contents;
8343
7909
  };
8344
7910
  const deserializeAws_queryScheduledUpdateGroupAction = (output, context) => {
8345
- const contents = {
8346
- AutoScalingGroupName: undefined,
8347
- ScheduledActionName: undefined,
8348
- ScheduledActionARN: undefined,
8349
- Time: undefined,
8350
- StartTime: undefined,
8351
- EndTime: undefined,
8352
- Recurrence: undefined,
8353
- MinSize: undefined,
8354
- MaxSize: undefined,
8355
- DesiredCapacity: undefined,
8356
- TimeZone: undefined,
8357
- };
7911
+ const contents = {};
8358
7912
  if (output["AutoScalingGroupName"] !== undefined) {
8359
7913
  contents.AutoScalingGroupName = (0, smithy_client_1.expectString)(output["AutoScalingGroupName"]);
8360
7914
  }
@@ -8405,9 +7959,7 @@ const deserializeAws_querySecurityGroups = (output, context) => {
8405
7959
  });
8406
7960
  };
8407
7961
  const deserializeAws_queryServiceLinkedRoleFailure = (output, context) => {
8408
- const contents = {
8409
- message: undefined,
8410
- };
7962
+ const contents = {};
8411
7963
  if (output["message"] !== undefined) {
8412
7964
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
8413
7965
  }
@@ -8418,20 +7970,14 @@ const deserializeAws_querySetInstanceProtectionAnswer = (output, context) => {
8418
7970
  return contents;
8419
7971
  };
8420
7972
  const deserializeAws_queryStartInstanceRefreshAnswer = (output, context) => {
8421
- const contents = {
8422
- InstanceRefreshId: undefined,
8423
- };
7973
+ const contents = {};
8424
7974
  if (output["InstanceRefreshId"] !== undefined) {
8425
7975
  contents.InstanceRefreshId = (0, smithy_client_1.expectString)(output["InstanceRefreshId"]);
8426
7976
  }
8427
7977
  return contents;
8428
7978
  };
8429
7979
  const deserializeAws_queryStepAdjustment = (output, context) => {
8430
- const contents = {
8431
- MetricIntervalLowerBound: undefined,
8432
- MetricIntervalUpperBound: undefined,
8433
- ScalingAdjustment: undefined,
8434
- };
7980
+ const contents = {};
8435
7981
  if (output["MetricIntervalLowerBound"] !== undefined) {
8436
7982
  contents.MetricIntervalLowerBound = (0, smithy_client_1.strictParseFloat)(output["MetricIntervalLowerBound"]);
8437
7983
  }
@@ -8451,10 +7997,7 @@ const deserializeAws_queryStepAdjustments = (output, context) => {
8451
7997
  });
8452
7998
  };
8453
7999
  const deserializeAws_querySuspendedProcess = (output, context) => {
8454
- const contents = {
8455
- ProcessName: undefined,
8456
- SuspensionReason: undefined,
8457
- };
8000
+ const contents = {};
8458
8001
  if (output["ProcessName"] !== undefined) {
8459
8002
  contents.ProcessName = (0, smithy_client_1.expectString)(output["ProcessName"]);
8460
8003
  }
@@ -8471,13 +8014,7 @@ const deserializeAws_querySuspendedProcesses = (output, context) => {
8471
8014
  });
8472
8015
  };
8473
8016
  const deserializeAws_queryTagDescription = (output, context) => {
8474
- const contents = {
8475
- ResourceId: undefined,
8476
- ResourceType: undefined,
8477
- Key: undefined,
8478
- Value: undefined,
8479
- PropagateAtLaunch: undefined,
8480
- };
8017
+ const contents = {};
8481
8018
  if (output["ResourceId"] !== undefined) {
8482
8019
  contents.ResourceId = (0, smithy_client_1.expectString)(output["ResourceId"]);
8483
8020
  }
@@ -8503,10 +8040,7 @@ const deserializeAws_queryTagDescriptionList = (output, context) => {
8503
8040
  });
8504
8041
  };
8505
8042
  const deserializeAws_queryTagsType = (output, context) => {
8506
- const contents = {
8507
- Tags: undefined,
8508
- NextToken: undefined,
8509
- };
8043
+ const contents = {};
8510
8044
  if (output.Tags === "") {
8511
8045
  contents.Tags = [];
8512
8046
  }
@@ -8526,12 +8060,7 @@ const deserializeAws_queryTargetGroupARNs = (output, context) => {
8526
8060
  });
8527
8061
  };
8528
8062
  const deserializeAws_queryTargetTrackingConfiguration = (output, context) => {
8529
- const contents = {
8530
- PredefinedMetricSpecification: undefined,
8531
- CustomizedMetricSpecification: undefined,
8532
- TargetValue: undefined,
8533
- DisableScaleIn: undefined,
8534
- };
8063
+ const contents = {};
8535
8064
  if (output["PredefinedMetricSpecification"] !== undefined) {
8536
8065
  contents.PredefinedMetricSpecification = deserializeAws_queryPredefinedMetricSpecification(output["PredefinedMetricSpecification"], context);
8537
8066
  }
@@ -8554,13 +8083,7 @@ const deserializeAws_queryTargetTrackingMetricDataQueries = (output, context) =>
8554
8083
  });
8555
8084
  };
8556
8085
  const deserializeAws_queryTargetTrackingMetricDataQuery = (output, context) => {
8557
- const contents = {
8558
- Id: undefined,
8559
- Expression: undefined,
8560
- MetricStat: undefined,
8561
- Label: undefined,
8562
- ReturnData: undefined,
8563
- };
8086
+ const contents = {};
8564
8087
  if (output["Id"] !== undefined) {
8565
8088
  contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
8566
8089
  }
@@ -8579,11 +8102,7 @@ const deserializeAws_queryTargetTrackingMetricDataQuery = (output, context) => {
8579
8102
  return contents;
8580
8103
  };
8581
8104
  const deserializeAws_queryTargetTrackingMetricStat = (output, context) => {
8582
- const contents = {
8583
- Metric: undefined,
8584
- Stat: undefined,
8585
- Unit: undefined,
8586
- };
8105
+ const contents = {};
8587
8106
  if (output["Metric"] !== undefined) {
8588
8107
  contents.Metric = deserializeAws_queryMetric(output["Metric"], context);
8589
8108
  }
@@ -8603,10 +8122,7 @@ const deserializeAws_queryTerminationPolicies = (output, context) => {
8603
8122
  });
8604
8123
  };
8605
8124
  const deserializeAws_queryTotalLocalStorageGBRequest = (output, context) => {
8606
- const contents = {
8607
- Min: undefined,
8608
- Max: undefined,
8609
- };
8125
+ const contents = {};
8610
8126
  if (output["Min"] !== undefined) {
8611
8127
  contents.Min = (0, smithy_client_1.strictParseFloat)(output["Min"]);
8612
8128
  }
@@ -8616,9 +8132,7 @@ const deserializeAws_queryTotalLocalStorageGBRequest = (output, context) => {
8616
8132
  return contents;
8617
8133
  };
8618
8134
  const deserializeAws_queryTrafficSourceIdentifier = (output, context) => {
8619
- const contents = {
8620
- Identifier: undefined,
8621
- };
8135
+ const contents = {};
8622
8136
  if (output["Identifier"] !== undefined) {
8623
8137
  contents.Identifier = (0, smithy_client_1.expectString)(output["Identifier"]);
8624
8138
  }
@@ -8632,10 +8146,7 @@ const deserializeAws_queryTrafficSources = (output, context) => {
8632
8146
  });
8633
8147
  };
8634
8148
  const deserializeAws_queryTrafficSourceState = (output, context) => {
8635
- const contents = {
8636
- TrafficSource: undefined,
8637
- State: undefined,
8638
- };
8149
+ const contents = {};
8639
8150
  if (output["TrafficSource"] !== undefined) {
8640
8151
  contents.TrafficSource = (0, smithy_client_1.expectString)(output["TrafficSource"]);
8641
8152
  }
@@ -8652,10 +8163,7 @@ const deserializeAws_queryTrafficSourceStates = (output, context) => {
8652
8163
  });
8653
8164
  };
8654
8165
  const deserializeAws_queryVCpuCountRequest = (output, context) => {
8655
- const contents = {
8656
- Min: undefined,
8657
- Max: undefined,
8658
- };
8166
+ const contents = {};
8659
8167
  if (output["Min"] !== undefined) {
8660
8168
  contents.Min = (0, smithy_client_1.strictParseInt32)(output["Min"]);
8661
8169
  }
@@ -8665,13 +8173,7 @@ const deserializeAws_queryVCpuCountRequest = (output, context) => {
8665
8173
  return contents;
8666
8174
  };
8667
8175
  const deserializeAws_queryWarmPoolConfiguration = (output, context) => {
8668
- const contents = {
8669
- MaxGroupPreparedCapacity: undefined,
8670
- MinSize: undefined,
8671
- PoolState: undefined,
8672
- Status: undefined,
8673
- InstanceReusePolicy: undefined,
8674
- };
8176
+ const contents = {};
8675
8177
  if (output["MaxGroupPreparedCapacity"] !== undefined) {
8676
8178
  contents.MaxGroupPreparedCapacity = (0, smithy_client_1.strictParseInt32)(output["MaxGroupPreparedCapacity"]);
8677
8179
  }