@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
@@ -5858,10 +5858,7 @@ const serializeAws_queryVCpuCountRequest = (input, context) => {
5858
5858
  return entries;
5859
5859
  };
5860
5860
  const deserializeAws_queryAcceleratorCountRequest = (output, context) => {
5861
- const contents = {
5862
- Min: undefined,
5863
- Max: undefined,
5864
- };
5861
+ const contents = {};
5865
5862
  if (output["Min"] !== undefined) {
5866
5863
  contents.Min = __strictParseInt32(output["Min"]);
5867
5864
  }
@@ -5885,10 +5882,7 @@ const deserializeAws_queryAcceleratorNames = (output, context) => {
5885
5882
  });
5886
5883
  };
5887
5884
  const deserializeAws_queryAcceleratorTotalMemoryMiBRequest = (output, context) => {
5888
- const contents = {
5889
- Min: undefined,
5890
- Max: undefined,
5891
- };
5885
+ const contents = {};
5892
5886
  if (output["Min"] !== undefined) {
5893
5887
  contents.Min = __strictParseInt32(output["Min"]);
5894
5888
  }
@@ -5905,9 +5899,7 @@ const deserializeAws_queryAcceleratorTypes = (output, context) => {
5905
5899
  });
5906
5900
  };
5907
5901
  const deserializeAws_queryActiveInstanceRefreshNotFoundFault = (output, context) => {
5908
- const contents = {
5909
- message: undefined,
5910
- };
5902
+ const contents = {};
5911
5903
  if (output["message"] !== undefined) {
5912
5904
  contents.message = __expectString(output["message"]);
5913
5905
  }
@@ -5921,10 +5913,7 @@ const deserializeAws_queryActivities = (output, context) => {
5921
5913
  });
5922
5914
  };
5923
5915
  const deserializeAws_queryActivitiesType = (output, context) => {
5924
- const contents = {
5925
- Activities: undefined,
5926
- NextToken: undefined,
5927
- };
5916
+ const contents = {};
5928
5917
  if (output.Activities === "") {
5929
5918
  contents.Activities = [];
5930
5919
  }
@@ -5937,20 +5926,7 @@ const deserializeAws_queryActivitiesType = (output, context) => {
5937
5926
  return contents;
5938
5927
  };
5939
5928
  const deserializeAws_queryActivity = (output, context) => {
5940
- const contents = {
5941
- ActivityId: undefined,
5942
- AutoScalingGroupName: undefined,
5943
- Description: undefined,
5944
- Cause: undefined,
5945
- StartTime: undefined,
5946
- EndTime: undefined,
5947
- StatusCode: undefined,
5948
- StatusMessage: undefined,
5949
- Progress: undefined,
5950
- Details: undefined,
5951
- AutoScalingGroupState: undefined,
5952
- AutoScalingGroupARN: undefined,
5953
- };
5929
+ const contents = {};
5954
5930
  if (output["ActivityId"] !== undefined) {
5955
5931
  contents.ActivityId = __expectString(output["ActivityId"]);
5956
5932
  }
@@ -5990,18 +5966,14 @@ const deserializeAws_queryActivity = (output, context) => {
5990
5966
  return contents;
5991
5967
  };
5992
5968
  const deserializeAws_queryActivityType = (output, context) => {
5993
- const contents = {
5994
- Activity: undefined,
5995
- };
5969
+ const contents = {};
5996
5970
  if (output["Activity"] !== undefined) {
5997
5971
  contents.Activity = deserializeAws_queryActivity(output["Activity"], context);
5998
5972
  }
5999
5973
  return contents;
6000
5974
  };
6001
5975
  const deserializeAws_queryAdjustmentType = (output, context) => {
6002
- const contents = {
6003
- AdjustmentType: undefined,
6004
- };
5976
+ const contents = {};
6005
5977
  if (output["AdjustmentType"] !== undefined) {
6006
5978
  contents.AdjustmentType = __expectString(output["AdjustmentType"]);
6007
5979
  }
@@ -6015,10 +5987,7 @@ const deserializeAws_queryAdjustmentTypes = (output, context) => {
6015
5987
  });
6016
5988
  };
6017
5989
  const deserializeAws_queryAlarm = (output, context) => {
6018
- const contents = {
6019
- AlarmName: undefined,
6020
- AlarmARN: undefined,
6021
- };
5990
+ const contents = {};
6022
5991
  if (output["AlarmName"] !== undefined) {
6023
5992
  contents.AlarmName = __expectString(output["AlarmName"]);
6024
5993
  }
@@ -6042,9 +6011,7 @@ const deserializeAws_queryAllowedInstanceTypes = (output, context) => {
6042
6011
  });
6043
6012
  };
6044
6013
  const deserializeAws_queryAlreadyExistsFault = (output, context) => {
6045
- const contents = {
6046
- message: undefined,
6047
- };
6014
+ const contents = {};
6048
6015
  if (output["message"] !== undefined) {
6049
6016
  contents.message = __expectString(output["message"]);
6050
6017
  }
@@ -6063,42 +6030,7 @@ const deserializeAws_queryAttachTrafficSourcesResultType = (output, context) =>
6063
6030
  return contents;
6064
6031
  };
6065
6032
  const deserializeAws_queryAutoScalingGroup = (output, context) => {
6066
- const contents = {
6067
- AutoScalingGroupName: undefined,
6068
- AutoScalingGroupARN: undefined,
6069
- LaunchConfigurationName: undefined,
6070
- LaunchTemplate: undefined,
6071
- MixedInstancesPolicy: undefined,
6072
- MinSize: undefined,
6073
- MaxSize: undefined,
6074
- DesiredCapacity: undefined,
6075
- PredictedCapacity: undefined,
6076
- DefaultCooldown: undefined,
6077
- AvailabilityZones: undefined,
6078
- LoadBalancerNames: undefined,
6079
- TargetGroupARNs: undefined,
6080
- HealthCheckType: undefined,
6081
- HealthCheckGracePeriod: undefined,
6082
- Instances: undefined,
6083
- CreatedTime: undefined,
6084
- SuspendedProcesses: undefined,
6085
- PlacementGroup: undefined,
6086
- VPCZoneIdentifier: undefined,
6087
- EnabledMetrics: undefined,
6088
- Status: undefined,
6089
- Tags: undefined,
6090
- TerminationPolicies: undefined,
6091
- NewInstancesProtectedFromScaleIn: undefined,
6092
- ServiceLinkedRoleARN: undefined,
6093
- MaxInstanceLifetime: undefined,
6094
- CapacityRebalance: undefined,
6095
- WarmPoolConfiguration: undefined,
6096
- WarmPoolSize: undefined,
6097
- Context: undefined,
6098
- DesiredCapacityType: undefined,
6099
- DefaultInstanceWarmup: undefined,
6100
- TrafficSources: undefined,
6101
- };
6033
+ const contents = {};
6102
6034
  if (output["AutoScalingGroupName"] !== undefined) {
6103
6035
  contents.AutoScalingGroupName = __expectString(output["AutoScalingGroupName"]);
6104
6036
  }
@@ -6238,10 +6170,7 @@ const deserializeAws_queryAutoScalingGroups = (output, context) => {
6238
6170
  });
6239
6171
  };
6240
6172
  const deserializeAws_queryAutoScalingGroupsType = (output, context) => {
6241
- const contents = {
6242
- AutoScalingGroups: undefined,
6243
- NextToken: undefined,
6244
- };
6173
+ const contents = {};
6245
6174
  if (output.AutoScalingGroups === "") {
6246
6175
  contents.AutoScalingGroups = [];
6247
6176
  }
@@ -6254,18 +6183,7 @@ const deserializeAws_queryAutoScalingGroupsType = (output, context) => {
6254
6183
  return contents;
6255
6184
  };
6256
6185
  const deserializeAws_queryAutoScalingInstanceDetails = (output, context) => {
6257
- const contents = {
6258
- InstanceId: undefined,
6259
- InstanceType: undefined,
6260
- AutoScalingGroupName: undefined,
6261
- AvailabilityZone: undefined,
6262
- LifecycleState: undefined,
6263
- HealthStatus: undefined,
6264
- LaunchConfigurationName: undefined,
6265
- LaunchTemplate: undefined,
6266
- ProtectedFromScaleIn: undefined,
6267
- WeightedCapacity: undefined,
6268
- };
6186
+ const contents = {};
6269
6187
  if (output["InstanceId"] !== undefined) {
6270
6188
  contents.InstanceId = __expectString(output["InstanceId"]);
6271
6189
  }
@@ -6306,10 +6224,7 @@ const deserializeAws_queryAutoScalingInstances = (output, context) => {
6306
6224
  });
6307
6225
  };
6308
6226
  const deserializeAws_queryAutoScalingInstancesType = (output, context) => {
6309
- const contents = {
6310
- AutoScalingInstances: undefined,
6311
- NextToken: undefined,
6312
- };
6227
+ const contents = {};
6313
6228
  if (output.AutoScalingInstances === "") {
6314
6229
  contents.AutoScalingInstances = [];
6315
6230
  }
@@ -6336,10 +6251,7 @@ const deserializeAws_queryAvailabilityZones = (output, context) => {
6336
6251
  });
6337
6252
  };
6338
6253
  const deserializeAws_queryBaselineEbsBandwidthMbpsRequest = (output, context) => {
6339
- const contents = {
6340
- Min: undefined,
6341
- Max: undefined,
6342
- };
6254
+ const contents = {};
6343
6255
  if (output["Min"] !== undefined) {
6344
6256
  contents.Min = __strictParseInt32(output["Min"]);
6345
6257
  }
@@ -6349,9 +6261,7 @@ const deserializeAws_queryBaselineEbsBandwidthMbpsRequest = (output, context) =>
6349
6261
  return contents;
6350
6262
  };
6351
6263
  const deserializeAws_queryBatchDeleteScheduledActionAnswer = (output, context) => {
6352
- const contents = {
6353
- FailedScheduledActions: undefined,
6354
- };
6264
+ const contents = {};
6355
6265
  if (output.FailedScheduledActions === "") {
6356
6266
  contents.FailedScheduledActions = [];
6357
6267
  }
@@ -6362,9 +6272,7 @@ const deserializeAws_queryBatchDeleteScheduledActionAnswer = (output, context) =
6362
6272
  return contents;
6363
6273
  };
6364
6274
  const deserializeAws_queryBatchPutScheduledUpdateGroupActionAnswer = (output, context) => {
6365
- const contents = {
6366
- FailedScheduledUpdateGroupActions: undefined,
6367
- };
6275
+ const contents = {};
6368
6276
  if (output.FailedScheduledUpdateGroupActions === "") {
6369
6277
  contents.FailedScheduledUpdateGroupActions = [];
6370
6278
  }
@@ -6375,12 +6283,7 @@ const deserializeAws_queryBatchPutScheduledUpdateGroupActionAnswer = (output, co
6375
6283
  return contents;
6376
6284
  };
6377
6285
  const deserializeAws_queryBlockDeviceMapping = (output, context) => {
6378
- const contents = {
6379
- VirtualName: undefined,
6380
- DeviceName: undefined,
6381
- Ebs: undefined,
6382
- NoDevice: undefined,
6383
- };
6286
+ const contents = {};
6384
6287
  if (output["VirtualName"] !== undefined) {
6385
6288
  contents.VirtualName = __expectString(output["VirtualName"]);
6386
6289
  }
@@ -6403,19 +6306,14 @@ const deserializeAws_queryBlockDeviceMappings = (output, context) => {
6403
6306
  });
6404
6307
  };
6405
6308
  const deserializeAws_queryCancelInstanceRefreshAnswer = (output, context) => {
6406
- const contents = {
6407
- InstanceRefreshId: undefined,
6408
- };
6309
+ const contents = {};
6409
6310
  if (output["InstanceRefreshId"] !== undefined) {
6410
6311
  contents.InstanceRefreshId = __expectString(output["InstanceRefreshId"]);
6411
6312
  }
6412
6313
  return contents;
6413
6314
  };
6414
6315
  const deserializeAws_queryCapacityForecast = (output, context) => {
6415
- const contents = {
6416
- Timestamps: undefined,
6417
- Values: undefined,
6418
- };
6316
+ const contents = {};
6419
6317
  if (output.Timestamps === "") {
6420
6318
  contents.Timestamps = [];
6421
6319
  }
@@ -6456,14 +6354,7 @@ const deserializeAws_queryCpuManufacturers = (output, context) => {
6456
6354
  });
6457
6355
  };
6458
6356
  const deserializeAws_queryCustomizedMetricSpecification = (output, context) => {
6459
- const contents = {
6460
- MetricName: undefined,
6461
- Namespace: undefined,
6462
- Dimensions: undefined,
6463
- Statistic: undefined,
6464
- Unit: undefined,
6465
- Metrics: undefined,
6466
- };
6357
+ const contents = {};
6467
6358
  if (output["MetricName"] !== undefined) {
6468
6359
  contents.MetricName = __expectString(output["MetricName"]);
6469
6360
  }
@@ -6499,12 +6390,7 @@ const deserializeAws_queryDeleteWarmPoolAnswer = (output, context) => {
6499
6390
  return contents;
6500
6391
  };
6501
6392
  const deserializeAws_queryDescribeAccountLimitsAnswer = (output, context) => {
6502
- const contents = {
6503
- MaxNumberOfAutoScalingGroups: undefined,
6504
- MaxNumberOfLaunchConfigurations: undefined,
6505
- NumberOfAutoScalingGroups: undefined,
6506
- NumberOfLaunchConfigurations: undefined,
6507
- };
6393
+ const contents = {};
6508
6394
  if (output["MaxNumberOfAutoScalingGroups"] !== undefined) {
6509
6395
  contents.MaxNumberOfAutoScalingGroups = __strictParseInt32(output["MaxNumberOfAutoScalingGroups"]);
6510
6396
  }
@@ -6520,9 +6406,7 @@ const deserializeAws_queryDescribeAccountLimitsAnswer = (output, context) => {
6520
6406
  return contents;
6521
6407
  };
6522
6408
  const deserializeAws_queryDescribeAdjustmentTypesAnswer = (output, context) => {
6523
- const contents = {
6524
- AdjustmentTypes: undefined,
6525
- };
6409
+ const contents = {};
6526
6410
  if (output.AdjustmentTypes === "") {
6527
6411
  contents.AdjustmentTypes = [];
6528
6412
  }
@@ -6532,9 +6416,7 @@ const deserializeAws_queryDescribeAdjustmentTypesAnswer = (output, context) => {
6532
6416
  return contents;
6533
6417
  };
6534
6418
  const deserializeAws_queryDescribeAutoScalingNotificationTypesAnswer = (output, context) => {
6535
- const contents = {
6536
- AutoScalingNotificationTypes: undefined,
6537
- };
6419
+ const contents = {};
6538
6420
  if (output.AutoScalingNotificationTypes === "") {
6539
6421
  contents.AutoScalingNotificationTypes = [];
6540
6422
  }
@@ -6545,10 +6427,7 @@ const deserializeAws_queryDescribeAutoScalingNotificationTypesAnswer = (output,
6545
6427
  return contents;
6546
6428
  };
6547
6429
  const deserializeAws_queryDescribeInstanceRefreshesAnswer = (output, context) => {
6548
- const contents = {
6549
- InstanceRefreshes: undefined,
6550
- NextToken: undefined,
6551
- };
6430
+ const contents = {};
6552
6431
  if (output.InstanceRefreshes === "") {
6553
6432
  contents.InstanceRefreshes = [];
6554
6433
  }
@@ -6561,9 +6440,7 @@ const deserializeAws_queryDescribeInstanceRefreshesAnswer = (output, context) =>
6561
6440
  return contents;
6562
6441
  };
6563
6442
  const deserializeAws_queryDescribeLifecycleHooksAnswer = (output, context) => {
6564
- const contents = {
6565
- LifecycleHooks: undefined,
6566
- };
6443
+ const contents = {};
6567
6444
  if (output.LifecycleHooks === "") {
6568
6445
  contents.LifecycleHooks = [];
6569
6446
  }
@@ -6573,9 +6450,7 @@ const deserializeAws_queryDescribeLifecycleHooksAnswer = (output, context) => {
6573
6450
  return contents;
6574
6451
  };
6575
6452
  const deserializeAws_queryDescribeLifecycleHookTypesAnswer = (output, context) => {
6576
- const contents = {
6577
- LifecycleHookTypes: undefined,
6578
- };
6453
+ const contents = {};
6579
6454
  if (output.LifecycleHookTypes === "") {
6580
6455
  contents.LifecycleHookTypes = [];
6581
6456
  }
@@ -6585,10 +6460,7 @@ const deserializeAws_queryDescribeLifecycleHookTypesAnswer = (output, context) =
6585
6460
  return contents;
6586
6461
  };
6587
6462
  const deserializeAws_queryDescribeLoadBalancersResponse = (output, context) => {
6588
- const contents = {
6589
- LoadBalancers: undefined,
6590
- NextToken: undefined,
6591
- };
6463
+ const contents = {};
6592
6464
  if (output.LoadBalancers === "") {
6593
6465
  contents.LoadBalancers = [];
6594
6466
  }
@@ -6601,10 +6473,7 @@ const deserializeAws_queryDescribeLoadBalancersResponse = (output, context) => {
6601
6473
  return contents;
6602
6474
  };
6603
6475
  const deserializeAws_queryDescribeLoadBalancerTargetGroupsResponse = (output, context) => {
6604
- const contents = {
6605
- LoadBalancerTargetGroups: undefined,
6606
- NextToken: undefined,
6607
- };
6476
+ const contents = {};
6608
6477
  if (output.LoadBalancerTargetGroups === "") {
6609
6478
  contents.LoadBalancerTargetGroups = [];
6610
6479
  }
@@ -6618,10 +6487,7 @@ const deserializeAws_queryDescribeLoadBalancerTargetGroupsResponse = (output, co
6618
6487
  return contents;
6619
6488
  };
6620
6489
  const deserializeAws_queryDescribeMetricCollectionTypesAnswer = (output, context) => {
6621
- const contents = {
6622
- Metrics: undefined,
6623
- Granularities: undefined,
6624
- };
6490
+ const contents = {};
6625
6491
  if (output.Metrics === "") {
6626
6492
  contents.Metrics = [];
6627
6493
  }
@@ -6637,10 +6503,7 @@ const deserializeAws_queryDescribeMetricCollectionTypesAnswer = (output, context
6637
6503
  return contents;
6638
6504
  };
6639
6505
  const deserializeAws_queryDescribeNotificationConfigurationsAnswer = (output, context) => {
6640
- const contents = {
6641
- NotificationConfigurations: undefined,
6642
- NextToken: undefined,
6643
- };
6506
+ const contents = {};
6644
6507
  if (output.NotificationConfigurations === "") {
6645
6508
  contents.NotificationConfigurations = [];
6646
6509
  }
@@ -6654,9 +6517,7 @@ const deserializeAws_queryDescribeNotificationConfigurationsAnswer = (output, co
6654
6517
  return contents;
6655
6518
  };
6656
6519
  const deserializeAws_queryDescribeTerminationPolicyTypesAnswer = (output, context) => {
6657
- const contents = {
6658
- TerminationPolicyTypes: undefined,
6659
- };
6520
+ const contents = {};
6660
6521
  if (output.TerminationPolicyTypes === "") {
6661
6522
  contents.TerminationPolicyTypes = [];
6662
6523
  }
@@ -6667,10 +6528,7 @@ const deserializeAws_queryDescribeTerminationPolicyTypesAnswer = (output, contex
6667
6528
  return contents;
6668
6529
  };
6669
6530
  const deserializeAws_queryDescribeTrafficSourcesResponse = (output, context) => {
6670
- const contents = {
6671
- TrafficSources: undefined,
6672
- NextToken: undefined,
6673
- };
6531
+ const contents = {};
6674
6532
  if (output.TrafficSources === "") {
6675
6533
  contents.TrafficSources = [];
6676
6534
  }
@@ -6683,11 +6541,7 @@ const deserializeAws_queryDescribeTrafficSourcesResponse = (output, context) =>
6683
6541
  return contents;
6684
6542
  };
6685
6543
  const deserializeAws_queryDescribeWarmPoolAnswer = (output, context) => {
6686
- const contents = {
6687
- WarmPoolConfiguration: undefined,
6688
- Instances: undefined,
6689
- NextToken: undefined,
6690
- };
6544
+ const contents = {};
6691
6545
  if (output["WarmPoolConfiguration"] !== undefined) {
6692
6546
  contents.WarmPoolConfiguration = deserializeAws_queryWarmPoolConfiguration(output["WarmPoolConfiguration"], context);
6693
6547
  }
@@ -6703,10 +6557,7 @@ const deserializeAws_queryDescribeWarmPoolAnswer = (output, context) => {
6703
6557
  return contents;
6704
6558
  };
6705
6559
  const deserializeAws_queryDesiredConfiguration = (output, context) => {
6706
- const contents = {
6707
- LaunchTemplate: undefined,
6708
- MixedInstancesPolicy: undefined,
6709
- };
6560
+ const contents = {};
6710
6561
  if (output["LaunchTemplate"] !== undefined) {
6711
6562
  contents.LaunchTemplate = deserializeAws_queryLaunchTemplateSpecification(output["LaunchTemplate"], context);
6712
6563
  }
@@ -6716,9 +6567,7 @@ const deserializeAws_queryDesiredConfiguration = (output, context) => {
6716
6567
  return contents;
6717
6568
  };
6718
6569
  const deserializeAws_queryDetachInstancesAnswer = (output, context) => {
6719
- const contents = {
6720
- Activities: undefined,
6721
- };
6570
+ const contents = {};
6722
6571
  if (output.Activities === "") {
6723
6572
  contents.Activities = [];
6724
6573
  }
@@ -6740,15 +6589,7 @@ const deserializeAws_queryDetachTrafficSourcesResultType = (output, context) =>
6740
6589
  return contents;
6741
6590
  };
6742
6591
  const deserializeAws_queryEbs = (output, context) => {
6743
- const contents = {
6744
- SnapshotId: undefined,
6745
- VolumeSize: undefined,
6746
- VolumeType: undefined,
6747
- DeleteOnTermination: undefined,
6748
- Iops: undefined,
6749
- Encrypted: undefined,
6750
- Throughput: undefined,
6751
- };
6592
+ const contents = {};
6752
6593
  if (output["SnapshotId"] !== undefined) {
6753
6594
  contents.SnapshotId = __expectString(output["SnapshotId"]);
6754
6595
  }
@@ -6773,10 +6614,7 @@ const deserializeAws_queryEbs = (output, context) => {
6773
6614
  return contents;
6774
6615
  };
6775
6616
  const deserializeAws_queryEnabledMetric = (output, context) => {
6776
- const contents = {
6777
- Metric: undefined,
6778
- Granularity: undefined,
6779
- };
6617
+ const contents = {};
6780
6618
  if (output["Metric"] !== undefined) {
6781
6619
  contents.Metric = __expectString(output["Metric"]);
6782
6620
  }
@@ -6793,9 +6631,7 @@ const deserializeAws_queryEnabledMetrics = (output, context) => {
6793
6631
  });
6794
6632
  };
6795
6633
  const deserializeAws_queryEnterStandbyAnswer = (output, context) => {
6796
- const contents = {
6797
- Activities: undefined,
6798
- };
6634
+ const contents = {};
6799
6635
  if (output.Activities === "") {
6800
6636
  contents.Activities = [];
6801
6637
  }
@@ -6812,9 +6648,7 @@ const deserializeAws_queryExcludedInstanceTypes = (output, context) => {
6812
6648
  });
6813
6649
  };
6814
6650
  const deserializeAws_queryExitStandbyAnswer = (output, context) => {
6815
- const contents = {
6816
- Activities: undefined,
6817
- };
6651
+ const contents = {};
6818
6652
  if (output.Activities === "") {
6819
6653
  contents.Activities = [];
6820
6654
  }
@@ -6824,11 +6658,7 @@ const deserializeAws_queryExitStandbyAnswer = (output, context) => {
6824
6658
  return contents;
6825
6659
  };
6826
6660
  const deserializeAws_queryFailedScheduledUpdateGroupActionRequest = (output, context) => {
6827
- const contents = {
6828
- ScheduledActionName: undefined,
6829
- ErrorCode: undefined,
6830
- ErrorMessage: undefined,
6831
- };
6661
+ const contents = {};
6832
6662
  if (output["ScheduledActionName"] !== undefined) {
6833
6663
  contents.ScheduledActionName = __expectString(output["ScheduledActionName"]);
6834
6664
  }
@@ -6848,11 +6678,7 @@ const deserializeAws_queryFailedScheduledUpdateGroupActionRequests = (output, co
6848
6678
  });
6849
6679
  };
6850
6680
  const deserializeAws_queryGetPredictiveScalingForecastAnswer = (output, context) => {
6851
- const contents = {
6852
- LoadForecast: undefined,
6853
- CapacityForecast: undefined,
6854
- UpdateTime: undefined,
6855
- };
6681
+ const contents = {};
6856
6682
  if (output.LoadForecast === "") {
6857
6683
  contents.LoadForecast = [];
6858
6684
  }
@@ -6868,17 +6694,7 @@ const deserializeAws_queryGetPredictiveScalingForecastAnswer = (output, context)
6868
6694
  return contents;
6869
6695
  };
6870
6696
  const deserializeAws_queryInstance = (output, context) => {
6871
- const contents = {
6872
- InstanceId: undefined,
6873
- InstanceType: undefined,
6874
- AvailabilityZone: undefined,
6875
- LifecycleState: undefined,
6876
- HealthStatus: undefined,
6877
- LaunchConfigurationName: undefined,
6878
- LaunchTemplate: undefined,
6879
- ProtectedFromScaleIn: undefined,
6880
- WeightedCapacity: undefined,
6881
- };
6697
+ const contents = {};
6882
6698
  if (output["InstanceId"] !== undefined) {
6883
6699
  contents.InstanceId = __expectString(output["InstanceId"]);
6884
6700
  }
@@ -6916,11 +6732,7 @@ const deserializeAws_queryInstanceGenerations = (output, context) => {
6916
6732
  });
6917
6733
  };
6918
6734
  const deserializeAws_queryInstanceMetadataOptions = (output, context) => {
6919
- const contents = {
6920
- HttpTokens: undefined,
6921
- HttpPutResponseHopLimit: undefined,
6922
- HttpEndpoint: undefined,
6923
- };
6735
+ const contents = {};
6924
6736
  if (output["HttpTokens"] !== undefined) {
6925
6737
  contents.HttpTokens = __expectString(output["HttpTokens"]);
6926
6738
  }
@@ -6933,29 +6745,14 @@ const deserializeAws_queryInstanceMetadataOptions = (output, context) => {
6933
6745
  return contents;
6934
6746
  };
6935
6747
  const deserializeAws_queryInstanceMonitoring = (output, context) => {
6936
- const contents = {
6937
- Enabled: undefined,
6938
- };
6748
+ const contents = {};
6939
6749
  if (output["Enabled"] !== undefined) {
6940
6750
  contents.Enabled = __parseBoolean(output["Enabled"]);
6941
6751
  }
6942
6752
  return contents;
6943
6753
  };
6944
6754
  const deserializeAws_queryInstanceRefresh = (output, context) => {
6945
- const contents = {
6946
- InstanceRefreshId: undefined,
6947
- AutoScalingGroupName: undefined,
6948
- Status: undefined,
6949
- StatusReason: undefined,
6950
- StartTime: undefined,
6951
- EndTime: undefined,
6952
- PercentageComplete: undefined,
6953
- InstancesToUpdate: undefined,
6954
- ProgressDetails: undefined,
6955
- Preferences: undefined,
6956
- DesiredConfiguration: undefined,
6957
- RollbackDetails: undefined,
6958
- };
6755
+ const contents = {};
6959
6756
  if (output["InstanceRefreshId"] !== undefined) {
6960
6757
  contents.InstanceRefreshId = __expectString(output["InstanceRefreshId"]);
6961
6758
  }
@@ -7002,19 +6799,14 @@ const deserializeAws_queryInstanceRefreshes = (output, context) => {
7002
6799
  });
7003
6800
  };
7004
6801
  const deserializeAws_queryInstanceRefreshInProgressFault = (output, context) => {
7005
- const contents = {
7006
- message: undefined,
7007
- };
6802
+ const contents = {};
7008
6803
  if (output["message"] !== undefined) {
7009
6804
  contents.message = __expectString(output["message"]);
7010
6805
  }
7011
6806
  return contents;
7012
6807
  };
7013
6808
  const deserializeAws_queryInstanceRefreshLivePoolProgress = (output, context) => {
7014
- const contents = {
7015
- PercentageComplete: undefined,
7016
- InstancesToUpdate: undefined,
7017
- };
6809
+ const contents = {};
7018
6810
  if (output["PercentageComplete"] !== undefined) {
7019
6811
  contents.PercentageComplete = __strictParseInt32(output["PercentageComplete"]);
7020
6812
  }
@@ -7024,10 +6816,7 @@ const deserializeAws_queryInstanceRefreshLivePoolProgress = (output, context) =>
7024
6816
  return contents;
7025
6817
  };
7026
6818
  const deserializeAws_queryInstanceRefreshProgressDetails = (output, context) => {
7027
- const contents = {
7028
- LivePoolProgress: undefined,
7029
- WarmPoolProgress: undefined,
7030
- };
6819
+ const contents = {};
7031
6820
  if (output["LivePoolProgress"] !== undefined) {
7032
6821
  contents.LivePoolProgress = deserializeAws_queryInstanceRefreshLivePoolProgress(output["LivePoolProgress"], context);
7033
6822
  }
@@ -7037,10 +6826,7 @@ const deserializeAws_queryInstanceRefreshProgressDetails = (output, context) =>
7037
6826
  return contents;
7038
6827
  };
7039
6828
  const deserializeAws_queryInstanceRefreshWarmPoolProgress = (output, context) => {
7040
- const contents = {
7041
- PercentageComplete: undefined,
7042
- InstancesToUpdate: undefined,
7043
- };
6829
+ const contents = {};
7044
6830
  if (output["PercentageComplete"] !== undefined) {
7045
6831
  contents.PercentageComplete = __strictParseInt32(output["PercentageComplete"]);
7046
6832
  }
@@ -7050,31 +6836,7 @@ const deserializeAws_queryInstanceRefreshWarmPoolProgress = (output, context) =>
7050
6836
  return contents;
7051
6837
  };
7052
6838
  const deserializeAws_queryInstanceRequirements = (output, context) => {
7053
- const contents = {
7054
- VCpuCount: undefined,
7055
- MemoryMiB: undefined,
7056
- CpuManufacturers: undefined,
7057
- MemoryGiBPerVCpu: undefined,
7058
- ExcludedInstanceTypes: undefined,
7059
- InstanceGenerations: undefined,
7060
- SpotMaxPricePercentageOverLowestPrice: undefined,
7061
- OnDemandMaxPricePercentageOverLowestPrice: undefined,
7062
- BareMetal: undefined,
7063
- BurstablePerformance: undefined,
7064
- RequireHibernateSupport: undefined,
7065
- NetworkInterfaceCount: undefined,
7066
- LocalStorage: undefined,
7067
- LocalStorageTypes: undefined,
7068
- TotalLocalStorageGB: undefined,
7069
- BaselineEbsBandwidthMbps: undefined,
7070
- AcceleratorTypes: undefined,
7071
- AcceleratorCount: undefined,
7072
- AcceleratorManufacturers: undefined,
7073
- AcceleratorNames: undefined,
7074
- AcceleratorTotalMemoryMiB: undefined,
7075
- NetworkBandwidthGbps: undefined,
7076
- AllowedInstanceTypes: undefined,
7077
- };
6839
+ const contents = {};
7078
6840
  if (output["VCpuCount"] !== undefined) {
7079
6841
  contents.VCpuCount = deserializeAws_queryVCpuCountRequest(output["VCpuCount"], context);
7080
6842
  }
@@ -7172,9 +6934,7 @@ const deserializeAws_queryInstanceRequirements = (output, context) => {
7172
6934
  return contents;
7173
6935
  };
7174
6936
  const deserializeAws_queryInstanceReusePolicy = (output, context) => {
7175
- const contents = {
7176
- ReuseOnScaleIn: undefined,
7177
- };
6937
+ const contents = {};
7178
6938
  if (output["ReuseOnScaleIn"] !== undefined) {
7179
6939
  contents.ReuseOnScaleIn = __parseBoolean(output["ReuseOnScaleIn"]);
7180
6940
  }
@@ -7188,14 +6948,7 @@ const deserializeAws_queryInstances = (output, context) => {
7188
6948
  });
7189
6949
  };
7190
6950
  const deserializeAws_queryInstancesDistribution = (output, context) => {
7191
- const contents = {
7192
- OnDemandAllocationStrategy: undefined,
7193
- OnDemandBaseCapacity: undefined,
7194
- OnDemandPercentageAboveBaseCapacity: undefined,
7195
- SpotAllocationStrategy: undefined,
7196
- SpotInstancePools: undefined,
7197
- SpotMaxPrice: undefined,
7198
- };
6951
+ const contents = {};
7199
6952
  if (output["OnDemandAllocationStrategy"] !== undefined) {
7200
6953
  contents.OnDemandAllocationStrategy = __expectString(output["OnDemandAllocationStrategy"]);
7201
6954
  }
@@ -7217,46 +6970,21 @@ const deserializeAws_queryInstancesDistribution = (output, context) => {
7217
6970
  return contents;
7218
6971
  };
7219
6972
  const deserializeAws_queryInvalidNextToken = (output, context) => {
7220
- const contents = {
7221
- message: undefined,
7222
- };
6973
+ const contents = {};
7223
6974
  if (output["message"] !== undefined) {
7224
6975
  contents.message = __expectString(output["message"]);
7225
6976
  }
7226
6977
  return contents;
7227
6978
  };
7228
6979
  const deserializeAws_queryIrreversibleInstanceRefreshFault = (output, context) => {
7229
- const contents = {
7230
- message: undefined,
7231
- };
6980
+ const contents = {};
7232
6981
  if (output["message"] !== undefined) {
7233
6982
  contents.message = __expectString(output["message"]);
7234
6983
  }
7235
6984
  return contents;
7236
6985
  };
7237
6986
  const deserializeAws_queryLaunchConfiguration = (output, context) => {
7238
- const contents = {
7239
- LaunchConfigurationName: undefined,
7240
- LaunchConfigurationARN: undefined,
7241
- ImageId: undefined,
7242
- KeyName: undefined,
7243
- SecurityGroups: undefined,
7244
- ClassicLinkVPCId: undefined,
7245
- ClassicLinkVPCSecurityGroups: undefined,
7246
- UserData: undefined,
7247
- InstanceType: undefined,
7248
- KernelId: undefined,
7249
- RamdiskId: undefined,
7250
- BlockDeviceMappings: undefined,
7251
- InstanceMonitoring: undefined,
7252
- SpotPrice: undefined,
7253
- IamInstanceProfile: undefined,
7254
- CreatedTime: undefined,
7255
- EbsOptimized: undefined,
7256
- AssociatePublicIpAddress: undefined,
7257
- PlacementTenancy: undefined,
7258
- MetadataOptions: undefined,
7259
- };
6987
+ const contents = {};
7260
6988
  if (output["LaunchConfigurationName"] !== undefined) {
7261
6989
  contents.LaunchConfigurationName = __expectString(output["LaunchConfigurationName"]);
7262
6990
  }
@@ -7337,10 +7065,7 @@ const deserializeAws_queryLaunchConfigurations = (output, context) => {
7337
7065
  });
7338
7066
  };
7339
7067
  const deserializeAws_queryLaunchConfigurationsType = (output, context) => {
7340
- const contents = {
7341
- LaunchConfigurations: undefined,
7342
- NextToken: undefined,
7343
- };
7068
+ const contents = {};
7344
7069
  if (output.LaunchConfigurations === "") {
7345
7070
  contents.LaunchConfigurations = [];
7346
7071
  }
@@ -7353,10 +7078,7 @@ const deserializeAws_queryLaunchConfigurationsType = (output, context) => {
7353
7078
  return contents;
7354
7079
  };
7355
7080
  const deserializeAws_queryLaunchTemplate = (output, context) => {
7356
- const contents = {
7357
- LaunchTemplateSpecification: undefined,
7358
- Overrides: undefined,
7359
- };
7081
+ const contents = {};
7360
7082
  if (output["LaunchTemplateSpecification"] !== undefined) {
7361
7083
  contents.LaunchTemplateSpecification = deserializeAws_queryLaunchTemplateSpecification(output["LaunchTemplateSpecification"], context);
7362
7084
  }
@@ -7369,12 +7091,7 @@ const deserializeAws_queryLaunchTemplate = (output, context) => {
7369
7091
  return contents;
7370
7092
  };
7371
7093
  const deserializeAws_queryLaunchTemplateOverrides = (output, context) => {
7372
- const contents = {
7373
- InstanceType: undefined,
7374
- WeightedCapacity: undefined,
7375
- LaunchTemplateSpecification: undefined,
7376
- InstanceRequirements: undefined,
7377
- };
7094
+ const contents = {};
7378
7095
  if (output["InstanceType"] !== undefined) {
7379
7096
  contents.InstanceType = __expectString(output["InstanceType"]);
7380
7097
  }
@@ -7390,11 +7107,7 @@ const deserializeAws_queryLaunchTemplateOverrides = (output, context) => {
7390
7107
  return contents;
7391
7108
  };
7392
7109
  const deserializeAws_queryLaunchTemplateSpecification = (output, context) => {
7393
- const contents = {
7394
- LaunchTemplateId: undefined,
7395
- LaunchTemplateName: undefined,
7396
- Version: undefined,
7397
- };
7110
+ const contents = {};
7398
7111
  if (output["LaunchTemplateId"] !== undefined) {
7399
7112
  contents.LaunchTemplateId = __expectString(output["LaunchTemplateId"]);
7400
7113
  }
@@ -7407,17 +7120,7 @@ const deserializeAws_queryLaunchTemplateSpecification = (output, context) => {
7407
7120
  return contents;
7408
7121
  };
7409
7122
  const deserializeAws_queryLifecycleHook = (output, context) => {
7410
- const contents = {
7411
- LifecycleHookName: undefined,
7412
- AutoScalingGroupName: undefined,
7413
- LifecycleTransition: undefined,
7414
- NotificationTargetARN: undefined,
7415
- RoleARN: undefined,
7416
- NotificationMetadata: undefined,
7417
- HeartbeatTimeout: undefined,
7418
- GlobalTimeout: undefined,
7419
- DefaultResult: undefined,
7420
- };
7123
+ const contents = {};
7421
7124
  if (output["LifecycleHookName"] !== undefined) {
7422
7125
  contents.LifecycleHookName = __expectString(output["LifecycleHookName"]);
7423
7126
  }
@@ -7455,9 +7158,7 @@ const deserializeAws_queryLifecycleHooks = (output, context) => {
7455
7158
  });
7456
7159
  };
7457
7160
  const deserializeAws_queryLimitExceededFault = (output, context) => {
7458
- const contents = {
7459
- message: undefined,
7460
- };
7161
+ const contents = {};
7461
7162
  if (output["message"] !== undefined) {
7462
7163
  contents.message = __expectString(output["message"]);
7463
7164
  }
@@ -7471,10 +7172,7 @@ const deserializeAws_queryLoadBalancerNames = (output, context) => {
7471
7172
  });
7472
7173
  };
7473
7174
  const deserializeAws_queryLoadBalancerState = (output, context) => {
7474
- const contents = {
7475
- LoadBalancerName: undefined,
7476
- State: undefined,
7477
- };
7175
+ const contents = {};
7478
7176
  if (output["LoadBalancerName"] !== undefined) {
7479
7177
  contents.LoadBalancerName = __expectString(output["LoadBalancerName"]);
7480
7178
  }
@@ -7491,10 +7189,7 @@ const deserializeAws_queryLoadBalancerStates = (output, context) => {
7491
7189
  });
7492
7190
  };
7493
7191
  const deserializeAws_queryLoadBalancerTargetGroupState = (output, context) => {
7494
- const contents = {
7495
- LoadBalancerTargetGroupARN: undefined,
7496
- State: undefined,
7497
- };
7192
+ const contents = {};
7498
7193
  if (output["LoadBalancerTargetGroupARN"] !== undefined) {
7499
7194
  contents.LoadBalancerTargetGroupARN = __expectString(output["LoadBalancerTargetGroupARN"]);
7500
7195
  }
@@ -7511,11 +7206,7 @@ const deserializeAws_queryLoadBalancerTargetGroupStates = (output, context) => {
7511
7206
  });
7512
7207
  };
7513
7208
  const deserializeAws_queryLoadForecast = (output, context) => {
7514
- const contents = {
7515
- Timestamps: undefined,
7516
- Values: undefined,
7517
- MetricSpecification: undefined,
7518
- };
7209
+ const contents = {};
7519
7210
  if (output.Timestamps === "") {
7520
7211
  contents.Timestamps = [];
7521
7212
  }
@@ -7548,10 +7239,7 @@ const deserializeAws_queryLocalStorageTypes = (output, context) => {
7548
7239
  });
7549
7240
  };
7550
7241
  const deserializeAws_queryMemoryGiBPerVCpuRequest = (output, context) => {
7551
- const contents = {
7552
- Min: undefined,
7553
- Max: undefined,
7554
- };
7242
+ const contents = {};
7555
7243
  if (output["Min"] !== undefined) {
7556
7244
  contents.Min = __strictParseFloat(output["Min"]);
7557
7245
  }
@@ -7561,10 +7249,7 @@ const deserializeAws_queryMemoryGiBPerVCpuRequest = (output, context) => {
7561
7249
  return contents;
7562
7250
  };
7563
7251
  const deserializeAws_queryMemoryMiBRequest = (output, context) => {
7564
- const contents = {
7565
- Min: undefined,
7566
- Max: undefined,
7567
- };
7252
+ const contents = {};
7568
7253
  if (output["Min"] !== undefined) {
7569
7254
  contents.Min = __strictParseInt32(output["Min"]);
7570
7255
  }
@@ -7574,11 +7259,7 @@ const deserializeAws_queryMemoryMiBRequest = (output, context) => {
7574
7259
  return contents;
7575
7260
  };
7576
7261
  const deserializeAws_queryMetric = (output, context) => {
7577
- const contents = {
7578
- Namespace: undefined,
7579
- MetricName: undefined,
7580
- Dimensions: undefined,
7581
- };
7262
+ const contents = {};
7582
7263
  if (output["Namespace"] !== undefined) {
7583
7264
  contents.Namespace = __expectString(output["Namespace"]);
7584
7265
  }
@@ -7594,9 +7275,7 @@ const deserializeAws_queryMetric = (output, context) => {
7594
7275
  return contents;
7595
7276
  };
7596
7277
  const deserializeAws_queryMetricCollectionType = (output, context) => {
7597
- const contents = {
7598
- Metric: undefined,
7599
- };
7278
+ const contents = {};
7600
7279
  if (output["Metric"] !== undefined) {
7601
7280
  contents.Metric = __expectString(output["Metric"]);
7602
7281
  }
@@ -7617,13 +7296,7 @@ const deserializeAws_queryMetricDataQueries = (output, context) => {
7617
7296
  });
7618
7297
  };
7619
7298
  const deserializeAws_queryMetricDataQuery = (output, context) => {
7620
- const contents = {
7621
- Id: undefined,
7622
- Expression: undefined,
7623
- MetricStat: undefined,
7624
- Label: undefined,
7625
- ReturnData: undefined,
7626
- };
7299
+ const contents = {};
7627
7300
  if (output["Id"] !== undefined) {
7628
7301
  contents.Id = __expectString(output["Id"]);
7629
7302
  }
@@ -7642,10 +7315,7 @@ const deserializeAws_queryMetricDataQuery = (output, context) => {
7642
7315
  return contents;
7643
7316
  };
7644
7317
  const deserializeAws_queryMetricDimension = (output, context) => {
7645
- const contents = {
7646
- Name: undefined,
7647
- Value: undefined,
7648
- };
7318
+ const contents = {};
7649
7319
  if (output["Name"] !== undefined) {
7650
7320
  contents.Name = __expectString(output["Name"]);
7651
7321
  }
@@ -7662,9 +7332,7 @@ const deserializeAws_queryMetricDimensions = (output, context) => {
7662
7332
  });
7663
7333
  };
7664
7334
  const deserializeAws_queryMetricGranularityType = (output, context) => {
7665
- const contents = {
7666
- Granularity: undefined,
7667
- };
7335
+ const contents = {};
7668
7336
  if (output["Granularity"] !== undefined) {
7669
7337
  contents.Granularity = __expectString(output["Granularity"]);
7670
7338
  }
@@ -7678,11 +7346,7 @@ const deserializeAws_queryMetricGranularityTypes = (output, context) => {
7678
7346
  });
7679
7347
  };
7680
7348
  const deserializeAws_queryMetricStat = (output, context) => {
7681
- const contents = {
7682
- Metric: undefined,
7683
- Stat: undefined,
7684
- Unit: undefined,
7685
- };
7349
+ const contents = {};
7686
7350
  if (output["Metric"] !== undefined) {
7687
7351
  contents.Metric = deserializeAws_queryMetric(output["Metric"], context);
7688
7352
  }
@@ -7695,10 +7359,7 @@ const deserializeAws_queryMetricStat = (output, context) => {
7695
7359
  return contents;
7696
7360
  };
7697
7361
  const deserializeAws_queryMixedInstancesPolicy = (output, context) => {
7698
- const contents = {
7699
- LaunchTemplate: undefined,
7700
- InstancesDistribution: undefined,
7701
- };
7362
+ const contents = {};
7702
7363
  if (output["LaunchTemplate"] !== undefined) {
7703
7364
  contents.LaunchTemplate = deserializeAws_queryLaunchTemplate(output["LaunchTemplate"], context);
7704
7365
  }
@@ -7708,10 +7369,7 @@ const deserializeAws_queryMixedInstancesPolicy = (output, context) => {
7708
7369
  return contents;
7709
7370
  };
7710
7371
  const deserializeAws_queryNetworkBandwidthGbpsRequest = (output, context) => {
7711
- const contents = {
7712
- Min: undefined,
7713
- Max: undefined,
7714
- };
7372
+ const contents = {};
7715
7373
  if (output["Min"] !== undefined) {
7716
7374
  contents.Min = __strictParseFloat(output["Min"]);
7717
7375
  }
@@ -7721,10 +7379,7 @@ const deserializeAws_queryNetworkBandwidthGbpsRequest = (output, context) => {
7721
7379
  return contents;
7722
7380
  };
7723
7381
  const deserializeAws_queryNetworkInterfaceCountRequest = (output, context) => {
7724
- const contents = {
7725
- Min: undefined,
7726
- Max: undefined,
7727
- };
7382
+ const contents = {};
7728
7383
  if (output["Min"] !== undefined) {
7729
7384
  contents.Min = __strictParseInt32(output["Min"]);
7730
7385
  }
@@ -7734,11 +7389,7 @@ const deserializeAws_queryNetworkInterfaceCountRequest = (output, context) => {
7734
7389
  return contents;
7735
7390
  };
7736
7391
  const deserializeAws_queryNotificationConfiguration = (output, context) => {
7737
- const contents = {
7738
- AutoScalingGroupName: undefined,
7739
- TopicARN: undefined,
7740
- NotificationType: undefined,
7741
- };
7392
+ const contents = {};
7742
7393
  if (output["AutoScalingGroupName"] !== undefined) {
7743
7394
  contents.AutoScalingGroupName = __expectString(output["AutoScalingGroupName"]);
7744
7395
  }
@@ -7765,10 +7416,7 @@ const deserializeAws_queryOverrides = (output, context) => {
7765
7416
  });
7766
7417
  };
7767
7418
  const deserializeAws_queryPoliciesType = (output, context) => {
7768
- const contents = {
7769
- ScalingPolicies: undefined,
7770
- NextToken: undefined,
7771
- };
7419
+ const contents = {};
7772
7420
  if (output.ScalingPolicies === "") {
7773
7421
  contents.ScalingPolicies = [];
7774
7422
  }
@@ -7781,10 +7429,7 @@ const deserializeAws_queryPoliciesType = (output, context) => {
7781
7429
  return contents;
7782
7430
  };
7783
7431
  const deserializeAws_queryPolicyARNType = (output, context) => {
7784
- const contents = {
7785
- PolicyARN: undefined,
7786
- Alarms: undefined,
7787
- };
7432
+ const contents = {};
7788
7433
  if (output["PolicyARN"] !== undefined) {
7789
7434
  contents.PolicyARN = __expectString(output["PolicyARN"]);
7790
7435
  }
@@ -7797,10 +7442,7 @@ const deserializeAws_queryPolicyARNType = (output, context) => {
7797
7442
  return contents;
7798
7443
  };
7799
7444
  const deserializeAws_queryPredefinedMetricSpecification = (output, context) => {
7800
- const contents = {
7801
- PredefinedMetricType: undefined,
7802
- ResourceLabel: undefined,
7803
- };
7445
+ const contents = {};
7804
7446
  if (output["PredefinedMetricType"] !== undefined) {
7805
7447
  contents.PredefinedMetricType = __expectString(output["PredefinedMetricType"]);
7806
7448
  }
@@ -7810,13 +7452,7 @@ const deserializeAws_queryPredefinedMetricSpecification = (output, context) => {
7810
7452
  return contents;
7811
7453
  };
7812
7454
  const deserializeAws_queryPredictiveScalingConfiguration = (output, context) => {
7813
- const contents = {
7814
- MetricSpecifications: undefined,
7815
- Mode: undefined,
7816
- SchedulingBufferTime: undefined,
7817
- MaxCapacityBreachBehavior: undefined,
7818
- MaxCapacityBuffer: undefined,
7819
- };
7455
+ const contents = {};
7820
7456
  if (output.MetricSpecifications === "") {
7821
7457
  contents.MetricSpecifications = [];
7822
7458
  }
@@ -7838,9 +7474,7 @@ const deserializeAws_queryPredictiveScalingConfiguration = (output, context) =>
7838
7474
  return contents;
7839
7475
  };
7840
7476
  const deserializeAws_queryPredictiveScalingCustomizedCapacityMetric = (output, context) => {
7841
- const contents = {
7842
- MetricDataQueries: undefined,
7843
- };
7477
+ const contents = {};
7844
7478
  if (output.MetricDataQueries === "") {
7845
7479
  contents.MetricDataQueries = [];
7846
7480
  }
@@ -7850,9 +7484,7 @@ const deserializeAws_queryPredictiveScalingCustomizedCapacityMetric = (output, c
7850
7484
  return contents;
7851
7485
  };
7852
7486
  const deserializeAws_queryPredictiveScalingCustomizedLoadMetric = (output, context) => {
7853
- const contents = {
7854
- MetricDataQueries: undefined,
7855
- };
7487
+ const contents = {};
7856
7488
  if (output.MetricDataQueries === "") {
7857
7489
  contents.MetricDataQueries = [];
7858
7490
  }
@@ -7862,9 +7494,7 @@ const deserializeAws_queryPredictiveScalingCustomizedLoadMetric = (output, conte
7862
7494
  return contents;
7863
7495
  };
7864
7496
  const deserializeAws_queryPredictiveScalingCustomizedScalingMetric = (output, context) => {
7865
- const contents = {
7866
- MetricDataQueries: undefined,
7867
- };
7497
+ const contents = {};
7868
7498
  if (output.MetricDataQueries === "") {
7869
7499
  contents.MetricDataQueries = [];
7870
7500
  }
@@ -7888,15 +7518,7 @@ const deserializeAws_queryPredictiveScalingForecastValues = (output, context) =>
7888
7518
  });
7889
7519
  };
7890
7520
  const deserializeAws_queryPredictiveScalingMetricSpecification = (output, context) => {
7891
- const contents = {
7892
- TargetValue: undefined,
7893
- PredefinedMetricPairSpecification: undefined,
7894
- PredefinedScalingMetricSpecification: undefined,
7895
- PredefinedLoadMetricSpecification: undefined,
7896
- CustomizedScalingMetricSpecification: undefined,
7897
- CustomizedLoadMetricSpecification: undefined,
7898
- CustomizedCapacityMetricSpecification: undefined,
7899
- };
7521
+ const contents = {};
7900
7522
  if (output["TargetValue"] !== undefined) {
7901
7523
  contents.TargetValue = __strictParseFloat(output["TargetValue"]);
7902
7524
  }
@@ -7928,10 +7550,7 @@ const deserializeAws_queryPredictiveScalingMetricSpecifications = (output, conte
7928
7550
  });
7929
7551
  };
7930
7552
  const deserializeAws_queryPredictiveScalingPredefinedLoadMetric = (output, context) => {
7931
- const contents = {
7932
- PredefinedMetricType: undefined,
7933
- ResourceLabel: undefined,
7934
- };
7553
+ const contents = {};
7935
7554
  if (output["PredefinedMetricType"] !== undefined) {
7936
7555
  contents.PredefinedMetricType = __expectString(output["PredefinedMetricType"]);
7937
7556
  }
@@ -7941,10 +7560,7 @@ const deserializeAws_queryPredictiveScalingPredefinedLoadMetric = (output, conte
7941
7560
  return contents;
7942
7561
  };
7943
7562
  const deserializeAws_queryPredictiveScalingPredefinedMetricPair = (output, context) => {
7944
- const contents = {
7945
- PredefinedMetricType: undefined,
7946
- ResourceLabel: undefined,
7947
- };
7563
+ const contents = {};
7948
7564
  if (output["PredefinedMetricType"] !== undefined) {
7949
7565
  contents.PredefinedMetricType = __expectString(output["PredefinedMetricType"]);
7950
7566
  }
@@ -7954,10 +7570,7 @@ const deserializeAws_queryPredictiveScalingPredefinedMetricPair = (output, conte
7954
7570
  return contents;
7955
7571
  };
7956
7572
  const deserializeAws_queryPredictiveScalingPredefinedScalingMetric = (output, context) => {
7957
- const contents = {
7958
- PredefinedMetricType: undefined,
7959
- ResourceLabel: undefined,
7960
- };
7573
+ const contents = {};
7961
7574
  if (output["PredefinedMetricType"] !== undefined) {
7962
7575
  contents.PredefinedMetricType = __expectString(output["PredefinedMetricType"]);
7963
7576
  }
@@ -7974,9 +7587,7 @@ const deserializeAws_queryProcesses = (output, context) => {
7974
7587
  });
7975
7588
  };
7976
7589
  const deserializeAws_queryProcessesType = (output, context) => {
7977
- const contents = {
7978
- Processes: undefined,
7979
- };
7590
+ const contents = {};
7980
7591
  if (output.Processes === "") {
7981
7592
  contents.Processes = [];
7982
7593
  }
@@ -7986,9 +7597,7 @@ const deserializeAws_queryProcessesType = (output, context) => {
7986
7597
  return contents;
7987
7598
  };
7988
7599
  const deserializeAws_queryProcessType = (output, context) => {
7989
- const contents = {
7990
- ProcessName: undefined,
7991
- };
7600
+ const contents = {};
7992
7601
  if (output["ProcessName"] !== undefined) {
7993
7602
  contents.ProcessName = __expectString(output["ProcessName"]);
7994
7603
  }
@@ -8007,16 +7616,7 @@ const deserializeAws_queryRecordLifecycleActionHeartbeatAnswer = (output, contex
8007
7616
  return contents;
8008
7617
  };
8009
7618
  const deserializeAws_queryRefreshPreferences = (output, context) => {
8010
- const contents = {
8011
- MinHealthyPercentage: undefined,
8012
- InstanceWarmup: undefined,
8013
- CheckpointPercentages: undefined,
8014
- CheckpointDelay: undefined,
8015
- SkipMatching: undefined,
8016
- AutoRollback: undefined,
8017
- ScaleInProtectedInstances: undefined,
8018
- StandbyInstances: undefined,
8019
- };
7619
+ const contents = {};
8020
7620
  if (output["MinHealthyPercentage"] !== undefined) {
8021
7621
  contents.MinHealthyPercentage = __strictParseInt32(output["MinHealthyPercentage"]);
8022
7622
  }
@@ -8047,31 +7647,21 @@ const deserializeAws_queryRefreshPreferences = (output, context) => {
8047
7647
  return contents;
8048
7648
  };
8049
7649
  const deserializeAws_queryResourceContentionFault = (output, context) => {
8050
- const contents = {
8051
- message: undefined,
8052
- };
7650
+ const contents = {};
8053
7651
  if (output["message"] !== undefined) {
8054
7652
  contents.message = __expectString(output["message"]);
8055
7653
  }
8056
7654
  return contents;
8057
7655
  };
8058
7656
  const deserializeAws_queryResourceInUseFault = (output, context) => {
8059
- const contents = {
8060
- message: undefined,
8061
- };
7657
+ const contents = {};
8062
7658
  if (output["message"] !== undefined) {
8063
7659
  contents.message = __expectString(output["message"]);
8064
7660
  }
8065
7661
  return contents;
8066
7662
  };
8067
7663
  const deserializeAws_queryRollbackDetails = (output, context) => {
8068
- const contents = {
8069
- RollbackReason: undefined,
8070
- RollbackStartTime: undefined,
8071
- PercentageCompleteOnRollback: undefined,
8072
- InstancesToUpdateOnRollback: undefined,
8073
- ProgressDetailsOnRollback: undefined,
8074
- };
7664
+ const contents = {};
8075
7665
  if (output["RollbackReason"] !== undefined) {
8076
7666
  contents.RollbackReason = __expectString(output["RollbackReason"]);
8077
7667
  }
@@ -8090,18 +7680,14 @@ const deserializeAws_queryRollbackDetails = (output, context) => {
8090
7680
  return contents;
8091
7681
  };
8092
7682
  const deserializeAws_queryRollbackInstanceRefreshAnswer = (output, context) => {
8093
- const contents = {
8094
- InstanceRefreshId: undefined,
8095
- };
7683
+ const contents = {};
8096
7684
  if (output["InstanceRefreshId"] !== undefined) {
8097
7685
  contents.InstanceRefreshId = __expectString(output["InstanceRefreshId"]);
8098
7686
  }
8099
7687
  return contents;
8100
7688
  };
8101
7689
  const deserializeAws_queryScalingActivityInProgressFault = (output, context) => {
8102
- const contents = {
8103
- message: undefined,
8104
- };
7690
+ const contents = {};
8105
7691
  if (output["message"] !== undefined) {
8106
7692
  contents.message = __expectString(output["message"]);
8107
7693
  }
@@ -8115,24 +7701,7 @@ const deserializeAws_queryScalingPolicies = (output, context) => {
8115
7701
  });
8116
7702
  };
8117
7703
  const deserializeAws_queryScalingPolicy = (output, context) => {
8118
- const contents = {
8119
- AutoScalingGroupName: undefined,
8120
- PolicyName: undefined,
8121
- PolicyARN: undefined,
8122
- PolicyType: undefined,
8123
- AdjustmentType: undefined,
8124
- MinAdjustmentStep: undefined,
8125
- MinAdjustmentMagnitude: undefined,
8126
- ScalingAdjustment: undefined,
8127
- Cooldown: undefined,
8128
- StepAdjustments: undefined,
8129
- MetricAggregationType: undefined,
8130
- EstimatedInstanceWarmup: undefined,
8131
- Alarms: undefined,
8132
- TargetTrackingConfiguration: undefined,
8133
- Enabled: undefined,
8134
- PredictiveScalingConfiguration: undefined,
8135
- };
7704
+ const contents = {};
8136
7705
  if (output["AutoScalingGroupName"] !== undefined) {
8137
7706
  contents.AutoScalingGroupName = __expectString(output["AutoScalingGroupName"]);
8138
7707
  }
@@ -8190,10 +7759,7 @@ const deserializeAws_queryScalingPolicy = (output, context) => {
8190
7759
  return contents;
8191
7760
  };
8192
7761
  const deserializeAws_queryScheduledActionsType = (output, context) => {
8193
- const contents = {
8194
- ScheduledUpdateGroupActions: undefined,
8195
- NextToken: undefined,
8196
- };
7762
+ const contents = {};
8197
7763
  if (output.ScheduledUpdateGroupActions === "") {
8198
7764
  contents.ScheduledUpdateGroupActions = [];
8199
7765
  }
@@ -8207,19 +7773,7 @@ const deserializeAws_queryScheduledActionsType = (output, context) => {
8207
7773
  return contents;
8208
7774
  };
8209
7775
  const deserializeAws_queryScheduledUpdateGroupAction = (output, context) => {
8210
- const contents = {
8211
- AutoScalingGroupName: undefined,
8212
- ScheduledActionName: undefined,
8213
- ScheduledActionARN: undefined,
8214
- Time: undefined,
8215
- StartTime: undefined,
8216
- EndTime: undefined,
8217
- Recurrence: undefined,
8218
- MinSize: undefined,
8219
- MaxSize: undefined,
8220
- DesiredCapacity: undefined,
8221
- TimeZone: undefined,
8222
- };
7776
+ const contents = {};
8223
7777
  if (output["AutoScalingGroupName"] !== undefined) {
8224
7778
  contents.AutoScalingGroupName = __expectString(output["AutoScalingGroupName"]);
8225
7779
  }
@@ -8270,9 +7824,7 @@ const deserializeAws_querySecurityGroups = (output, context) => {
8270
7824
  });
8271
7825
  };
8272
7826
  const deserializeAws_queryServiceLinkedRoleFailure = (output, context) => {
8273
- const contents = {
8274
- message: undefined,
8275
- };
7827
+ const contents = {};
8276
7828
  if (output["message"] !== undefined) {
8277
7829
  contents.message = __expectString(output["message"]);
8278
7830
  }
@@ -8283,20 +7835,14 @@ const deserializeAws_querySetInstanceProtectionAnswer = (output, context) => {
8283
7835
  return contents;
8284
7836
  };
8285
7837
  const deserializeAws_queryStartInstanceRefreshAnswer = (output, context) => {
8286
- const contents = {
8287
- InstanceRefreshId: undefined,
8288
- };
7838
+ const contents = {};
8289
7839
  if (output["InstanceRefreshId"] !== undefined) {
8290
7840
  contents.InstanceRefreshId = __expectString(output["InstanceRefreshId"]);
8291
7841
  }
8292
7842
  return contents;
8293
7843
  };
8294
7844
  const deserializeAws_queryStepAdjustment = (output, context) => {
8295
- const contents = {
8296
- MetricIntervalLowerBound: undefined,
8297
- MetricIntervalUpperBound: undefined,
8298
- ScalingAdjustment: undefined,
8299
- };
7845
+ const contents = {};
8300
7846
  if (output["MetricIntervalLowerBound"] !== undefined) {
8301
7847
  contents.MetricIntervalLowerBound = __strictParseFloat(output["MetricIntervalLowerBound"]);
8302
7848
  }
@@ -8316,10 +7862,7 @@ const deserializeAws_queryStepAdjustments = (output, context) => {
8316
7862
  });
8317
7863
  };
8318
7864
  const deserializeAws_querySuspendedProcess = (output, context) => {
8319
- const contents = {
8320
- ProcessName: undefined,
8321
- SuspensionReason: undefined,
8322
- };
7865
+ const contents = {};
8323
7866
  if (output["ProcessName"] !== undefined) {
8324
7867
  contents.ProcessName = __expectString(output["ProcessName"]);
8325
7868
  }
@@ -8336,13 +7879,7 @@ const deserializeAws_querySuspendedProcesses = (output, context) => {
8336
7879
  });
8337
7880
  };
8338
7881
  const deserializeAws_queryTagDescription = (output, context) => {
8339
- const contents = {
8340
- ResourceId: undefined,
8341
- ResourceType: undefined,
8342
- Key: undefined,
8343
- Value: undefined,
8344
- PropagateAtLaunch: undefined,
8345
- };
7882
+ const contents = {};
8346
7883
  if (output["ResourceId"] !== undefined) {
8347
7884
  contents.ResourceId = __expectString(output["ResourceId"]);
8348
7885
  }
@@ -8368,10 +7905,7 @@ const deserializeAws_queryTagDescriptionList = (output, context) => {
8368
7905
  });
8369
7906
  };
8370
7907
  const deserializeAws_queryTagsType = (output, context) => {
8371
- const contents = {
8372
- Tags: undefined,
8373
- NextToken: undefined,
8374
- };
7908
+ const contents = {};
8375
7909
  if (output.Tags === "") {
8376
7910
  contents.Tags = [];
8377
7911
  }
@@ -8391,12 +7925,7 @@ const deserializeAws_queryTargetGroupARNs = (output, context) => {
8391
7925
  });
8392
7926
  };
8393
7927
  const deserializeAws_queryTargetTrackingConfiguration = (output, context) => {
8394
- const contents = {
8395
- PredefinedMetricSpecification: undefined,
8396
- CustomizedMetricSpecification: undefined,
8397
- TargetValue: undefined,
8398
- DisableScaleIn: undefined,
8399
- };
7928
+ const contents = {};
8400
7929
  if (output["PredefinedMetricSpecification"] !== undefined) {
8401
7930
  contents.PredefinedMetricSpecification = deserializeAws_queryPredefinedMetricSpecification(output["PredefinedMetricSpecification"], context);
8402
7931
  }
@@ -8419,13 +7948,7 @@ const deserializeAws_queryTargetTrackingMetricDataQueries = (output, context) =>
8419
7948
  });
8420
7949
  };
8421
7950
  const deserializeAws_queryTargetTrackingMetricDataQuery = (output, context) => {
8422
- const contents = {
8423
- Id: undefined,
8424
- Expression: undefined,
8425
- MetricStat: undefined,
8426
- Label: undefined,
8427
- ReturnData: undefined,
8428
- };
7951
+ const contents = {};
8429
7952
  if (output["Id"] !== undefined) {
8430
7953
  contents.Id = __expectString(output["Id"]);
8431
7954
  }
@@ -8444,11 +7967,7 @@ const deserializeAws_queryTargetTrackingMetricDataQuery = (output, context) => {
8444
7967
  return contents;
8445
7968
  };
8446
7969
  const deserializeAws_queryTargetTrackingMetricStat = (output, context) => {
8447
- const contents = {
8448
- Metric: undefined,
8449
- Stat: undefined,
8450
- Unit: undefined,
8451
- };
7970
+ const contents = {};
8452
7971
  if (output["Metric"] !== undefined) {
8453
7972
  contents.Metric = deserializeAws_queryMetric(output["Metric"], context);
8454
7973
  }
@@ -8468,10 +7987,7 @@ const deserializeAws_queryTerminationPolicies = (output, context) => {
8468
7987
  });
8469
7988
  };
8470
7989
  const deserializeAws_queryTotalLocalStorageGBRequest = (output, context) => {
8471
- const contents = {
8472
- Min: undefined,
8473
- Max: undefined,
8474
- };
7990
+ const contents = {};
8475
7991
  if (output["Min"] !== undefined) {
8476
7992
  contents.Min = __strictParseFloat(output["Min"]);
8477
7993
  }
@@ -8481,9 +7997,7 @@ const deserializeAws_queryTotalLocalStorageGBRequest = (output, context) => {
8481
7997
  return contents;
8482
7998
  };
8483
7999
  const deserializeAws_queryTrafficSourceIdentifier = (output, context) => {
8484
- const contents = {
8485
- Identifier: undefined,
8486
- };
8000
+ const contents = {};
8487
8001
  if (output["Identifier"] !== undefined) {
8488
8002
  contents.Identifier = __expectString(output["Identifier"]);
8489
8003
  }
@@ -8497,10 +8011,7 @@ const deserializeAws_queryTrafficSources = (output, context) => {
8497
8011
  });
8498
8012
  };
8499
8013
  const deserializeAws_queryTrafficSourceState = (output, context) => {
8500
- const contents = {
8501
- TrafficSource: undefined,
8502
- State: undefined,
8503
- };
8014
+ const contents = {};
8504
8015
  if (output["TrafficSource"] !== undefined) {
8505
8016
  contents.TrafficSource = __expectString(output["TrafficSource"]);
8506
8017
  }
@@ -8517,10 +8028,7 @@ const deserializeAws_queryTrafficSourceStates = (output, context) => {
8517
8028
  });
8518
8029
  };
8519
8030
  const deserializeAws_queryVCpuCountRequest = (output, context) => {
8520
- const contents = {
8521
- Min: undefined,
8522
- Max: undefined,
8523
- };
8031
+ const contents = {};
8524
8032
  if (output["Min"] !== undefined) {
8525
8033
  contents.Min = __strictParseInt32(output["Min"]);
8526
8034
  }
@@ -8530,13 +8038,7 @@ const deserializeAws_queryVCpuCountRequest = (output, context) => {
8530
8038
  return contents;
8531
8039
  };
8532
8040
  const deserializeAws_queryWarmPoolConfiguration = (output, context) => {
8533
- const contents = {
8534
- MaxGroupPreparedCapacity: undefined,
8535
- MinSize: undefined,
8536
- PoolState: undefined,
8537
- Status: undefined,
8538
- InstanceReusePolicy: undefined,
8539
- };
8041
+ const contents = {};
8540
8042
  if (output["MaxGroupPreparedCapacity"] !== undefined) {
8541
8043
  contents.MaxGroupPreparedCapacity = __strictParseInt32(output["MaxGroupPreparedCapacity"]);
8542
8044
  }