@aws-sdk/client-elastic-beanstalk 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 (59) hide show
  1. package/dist-cjs/protocols/Aws_query.js +96 -504
  2. package/dist-es/protocols/Aws_query.js +96 -504
  3. package/dist-types/ElasticBeanstalk.d.ts +48 -0
  4. package/dist-types/ElasticBeanstalkClient.d.ts +24 -4
  5. package/dist-types/commands/AbortEnvironmentUpdateCommand.d.ts +16 -0
  6. package/dist-types/commands/ApplyEnvironmentManagedActionCommand.d.ts +16 -0
  7. package/dist-types/commands/AssociateEnvironmentOperationsRoleCommand.d.ts +16 -0
  8. package/dist-types/commands/CheckDNSAvailabilityCommand.d.ts +16 -0
  9. package/dist-types/commands/ComposeEnvironmentsCommand.d.ts +16 -0
  10. package/dist-types/commands/CreateApplicationCommand.d.ts +16 -0
  11. package/dist-types/commands/CreateApplicationVersionCommand.d.ts +16 -0
  12. package/dist-types/commands/CreateConfigurationTemplateCommand.d.ts +16 -0
  13. package/dist-types/commands/CreateEnvironmentCommand.d.ts +16 -0
  14. package/dist-types/commands/CreatePlatformVersionCommand.d.ts +16 -0
  15. package/dist-types/commands/CreateStorageLocationCommand.d.ts +16 -0
  16. package/dist-types/commands/DeleteApplicationCommand.d.ts +16 -0
  17. package/dist-types/commands/DeleteApplicationVersionCommand.d.ts +16 -0
  18. package/dist-types/commands/DeleteConfigurationTemplateCommand.d.ts +16 -0
  19. package/dist-types/commands/DeleteEnvironmentConfigurationCommand.d.ts +16 -0
  20. package/dist-types/commands/DeletePlatformVersionCommand.d.ts +16 -0
  21. package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +16 -0
  22. package/dist-types/commands/DescribeApplicationVersionsCommand.d.ts +16 -0
  23. package/dist-types/commands/DescribeApplicationsCommand.d.ts +16 -0
  24. package/dist-types/commands/DescribeConfigurationOptionsCommand.d.ts +16 -0
  25. package/dist-types/commands/DescribeConfigurationSettingsCommand.d.ts +16 -0
  26. package/dist-types/commands/DescribeEnvironmentHealthCommand.d.ts +16 -0
  27. package/dist-types/commands/DescribeEnvironmentManagedActionHistoryCommand.d.ts +16 -0
  28. package/dist-types/commands/DescribeEnvironmentManagedActionsCommand.d.ts +16 -0
  29. package/dist-types/commands/DescribeEnvironmentResourcesCommand.d.ts +16 -0
  30. package/dist-types/commands/DescribeEnvironmentsCommand.d.ts +16 -0
  31. package/dist-types/commands/DescribeEventsCommand.d.ts +16 -0
  32. package/dist-types/commands/DescribeInstancesHealthCommand.d.ts +16 -0
  33. package/dist-types/commands/DescribePlatformVersionCommand.d.ts +16 -0
  34. package/dist-types/commands/DisassociateEnvironmentOperationsRoleCommand.d.ts +16 -0
  35. package/dist-types/commands/ListAvailableSolutionStacksCommand.d.ts +16 -0
  36. package/dist-types/commands/ListPlatformBranchesCommand.d.ts +16 -0
  37. package/dist-types/commands/ListPlatformVersionsCommand.d.ts +16 -0
  38. package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
  39. package/dist-types/commands/RebuildEnvironmentCommand.d.ts +16 -0
  40. package/dist-types/commands/RequestEnvironmentInfoCommand.d.ts +16 -0
  41. package/dist-types/commands/RestartAppServerCommand.d.ts +16 -0
  42. package/dist-types/commands/RetrieveEnvironmentInfoCommand.d.ts +16 -0
  43. package/dist-types/commands/SwapEnvironmentCNAMEsCommand.d.ts +16 -0
  44. package/dist-types/commands/TerminateEnvironmentCommand.d.ts +16 -0
  45. package/dist-types/commands/UpdateApplicationCommand.d.ts +16 -0
  46. package/dist-types/commands/UpdateApplicationResourceLifecycleCommand.d.ts +16 -0
  47. package/dist-types/commands/UpdateApplicationVersionCommand.d.ts +16 -0
  48. package/dist-types/commands/UpdateConfigurationTemplateCommand.d.ts +16 -0
  49. package/dist-types/commands/UpdateEnvironmentCommand.d.ts +16 -0
  50. package/dist-types/commands/UpdateTagsForResourceCommand.d.ts +16 -0
  51. package/dist-types/commands/ValidateConfigurationSettingsCommand.d.ts +16 -0
  52. package/dist-types/models/ElasticBeanstalkServiceException.d.ts +2 -0
  53. package/dist-types/models/models_0.d.ts +232 -0
  54. package/dist-types/pagination/DescribeEnvironmentManagedActionHistoryPaginator.d.ts +3 -0
  55. package/dist-types/pagination/DescribeEventsPaginator.d.ts +3 -0
  56. package/dist-types/pagination/Interfaces.d.ts +3 -0
  57. package/dist-types/pagination/ListPlatformBranchesPaginator.d.ts +3 -0
  58. package/dist-types/pagination/ListPlatformVersionsPaginator.d.ts +3 -0
  59. package/package.json +3 -3
@@ -3579,16 +3579,7 @@ const serializeAws_queryVersionLabelsList = (input, context) => {
3579
3579
  return entries;
3580
3580
  };
3581
3581
  const deserializeAws_queryApplicationDescription = (output, context) => {
3582
- const contents = {
3583
- ApplicationArn: undefined,
3584
- ApplicationName: undefined,
3585
- Description: undefined,
3586
- DateCreated: undefined,
3587
- DateUpdated: undefined,
3588
- Versions: undefined,
3589
- ConfigurationTemplates: undefined,
3590
- ResourceLifecycleConfig: undefined,
3591
- };
3582
+ const contents = {};
3592
3583
  if (output["ApplicationArn"] !== undefined) {
3593
3584
  contents.ApplicationArn = __expectString(output["ApplicationArn"]);
3594
3585
  }
@@ -3630,18 +3621,14 @@ const deserializeAws_queryApplicationDescriptionList = (output, context) => {
3630
3621
  });
3631
3622
  };
3632
3623
  const deserializeAws_queryApplicationDescriptionMessage = (output, context) => {
3633
- const contents = {
3634
- Application: undefined,
3635
- };
3624
+ const contents = {};
3636
3625
  if (output["Application"] !== undefined) {
3637
3626
  contents.Application = deserializeAws_queryApplicationDescription(output["Application"], context);
3638
3627
  }
3639
3628
  return contents;
3640
3629
  };
3641
3630
  const deserializeAws_queryApplicationDescriptionsMessage = (output, context) => {
3642
- const contents = {
3643
- Applications: undefined,
3644
- };
3631
+ const contents = {};
3645
3632
  if (output.Applications === "") {
3646
3633
  contents.Applications = [];
3647
3634
  }
@@ -3651,12 +3638,7 @@ const deserializeAws_queryApplicationDescriptionsMessage = (output, context) =>
3651
3638
  return contents;
3652
3639
  };
3653
3640
  const deserializeAws_queryApplicationMetrics = (output, context) => {
3654
- const contents = {
3655
- Duration: undefined,
3656
- RequestCount: undefined,
3657
- StatusCodes: undefined,
3658
- Latency: undefined,
3659
- };
3641
+ const contents = {};
3660
3642
  if (output["Duration"] !== undefined) {
3661
3643
  contents.Duration = __strictParseInt32(output["Duration"]);
3662
3644
  }
@@ -3672,10 +3654,7 @@ const deserializeAws_queryApplicationMetrics = (output, context) => {
3672
3654
  return contents;
3673
3655
  };
3674
3656
  const deserializeAws_queryApplicationResourceLifecycleConfig = (output, context) => {
3675
- const contents = {
3676
- ServiceRole: undefined,
3677
- VersionLifecycleConfig: undefined,
3678
- };
3657
+ const contents = {};
3679
3658
  if (output["ServiceRole"] !== undefined) {
3680
3659
  contents.ServiceRole = __expectString(output["ServiceRole"]);
3681
3660
  }
@@ -3685,10 +3664,7 @@ const deserializeAws_queryApplicationResourceLifecycleConfig = (output, context)
3685
3664
  return contents;
3686
3665
  };
3687
3666
  const deserializeAws_queryApplicationResourceLifecycleDescriptionMessage = (output, context) => {
3688
- const contents = {
3689
- ApplicationName: undefined,
3690
- ResourceLifecycleConfig: undefined,
3691
- };
3667
+ const contents = {};
3692
3668
  if (output["ApplicationName"] !== undefined) {
3693
3669
  contents.ApplicationName = __expectString(output["ApplicationName"]);
3694
3670
  }
@@ -3698,18 +3674,7 @@ const deserializeAws_queryApplicationResourceLifecycleDescriptionMessage = (outp
3698
3674
  return contents;
3699
3675
  };
3700
3676
  const deserializeAws_queryApplicationVersionDescription = (output, context) => {
3701
- const contents = {
3702
- ApplicationVersionArn: undefined,
3703
- ApplicationName: undefined,
3704
- Description: undefined,
3705
- VersionLabel: undefined,
3706
- SourceBuildInformation: undefined,
3707
- BuildArn: undefined,
3708
- SourceBundle: undefined,
3709
- DateCreated: undefined,
3710
- DateUpdated: undefined,
3711
- Status: undefined,
3712
- };
3677
+ const contents = {};
3713
3678
  if (output["ApplicationVersionArn"] !== undefined) {
3714
3679
  contents.ApplicationVersionArn = __expectString(output["ApplicationVersionArn"]);
3715
3680
  }
@@ -3750,19 +3715,14 @@ const deserializeAws_queryApplicationVersionDescriptionList = (output, context)
3750
3715
  });
3751
3716
  };
3752
3717
  const deserializeAws_queryApplicationVersionDescriptionMessage = (output, context) => {
3753
- const contents = {
3754
- ApplicationVersion: undefined,
3755
- };
3718
+ const contents = {};
3756
3719
  if (output["ApplicationVersion"] !== undefined) {
3757
3720
  contents.ApplicationVersion = deserializeAws_queryApplicationVersionDescription(output["ApplicationVersion"], context);
3758
3721
  }
3759
3722
  return contents;
3760
3723
  };
3761
3724
  const deserializeAws_queryApplicationVersionDescriptionsMessage = (output, context) => {
3762
- const contents = {
3763
- ApplicationVersions: undefined,
3764
- NextToken: undefined,
3765
- };
3725
+ const contents = {};
3766
3726
  if (output.ApplicationVersions === "") {
3767
3727
  contents.ApplicationVersions = [];
3768
3728
  }
@@ -3775,10 +3735,7 @@ const deserializeAws_queryApplicationVersionDescriptionsMessage = (output, conte
3775
3735
  return contents;
3776
3736
  };
3777
3737
  const deserializeAws_queryApplicationVersionLifecycleConfig = (output, context) => {
3778
- const contents = {
3779
- MaxCountRule: undefined,
3780
- MaxAgeRule: undefined,
3781
- };
3738
+ const contents = {};
3782
3739
  if (output["MaxCountRule"] !== undefined) {
3783
3740
  contents.MaxCountRule = deserializeAws_queryMaxCountRule(output["MaxCountRule"], context);
3784
3741
  }
@@ -3788,12 +3745,7 @@ const deserializeAws_queryApplicationVersionLifecycleConfig = (output, context)
3788
3745
  return contents;
3789
3746
  };
3790
3747
  const deserializeAws_queryApplyEnvironmentManagedActionResult = (output, context) => {
3791
- const contents = {
3792
- ActionId: undefined,
3793
- ActionDescription: undefined,
3794
- ActionType: undefined,
3795
- Status: undefined,
3796
- };
3748
+ const contents = {};
3797
3749
  if (output["ActionId"] !== undefined) {
3798
3750
  contents.ActionId = __expectString(output["ActionId"]);
3799
3751
  }
@@ -3809,9 +3761,7 @@ const deserializeAws_queryApplyEnvironmentManagedActionResult = (output, context
3809
3761
  return contents;
3810
3762
  };
3811
3763
  const deserializeAws_queryAutoScalingGroup = (output, context) => {
3812
- const contents = {
3813
- Name: undefined,
3814
- };
3764
+ const contents = {};
3815
3765
  if (output["Name"] !== undefined) {
3816
3766
  contents.Name = __expectString(output["Name"]);
3817
3767
  }
@@ -3839,9 +3789,7 @@ const deserializeAws_queryAvailableSolutionStackNamesList = (output, context) =>
3839
3789
  });
3840
3790
  };
3841
3791
  const deserializeAws_queryBuilder = (output, context) => {
3842
- const contents = {
3843
- ARN: undefined,
3844
- };
3792
+ const contents = {};
3845
3793
  if (output["ARN"] !== undefined) {
3846
3794
  contents.ARN = __expectString(output["ARN"]);
3847
3795
  }
@@ -3855,10 +3803,7 @@ const deserializeAws_queryCauses = (output, context) => {
3855
3803
  });
3856
3804
  };
3857
3805
  const deserializeAws_queryCheckDNSAvailabilityResultMessage = (output, context) => {
3858
- const contents = {
3859
- Available: undefined,
3860
- FullyQualifiedCNAME: undefined,
3861
- };
3806
+ const contents = {};
3862
3807
  if (output["Available"] !== undefined) {
3863
3808
  contents.Available = __parseBoolean(output["Available"]);
3864
3809
  }
@@ -3868,28 +3813,14 @@ const deserializeAws_queryCheckDNSAvailabilityResultMessage = (output, context)
3868
3813
  return contents;
3869
3814
  };
3870
3815
  const deserializeAws_queryCodeBuildNotInServiceRegionException = (output, context) => {
3871
- const contents = {
3872
- message: undefined,
3873
- };
3816
+ const contents = {};
3874
3817
  if (output["message"] !== undefined) {
3875
3818
  contents.message = __expectString(output["message"]);
3876
3819
  }
3877
3820
  return contents;
3878
3821
  };
3879
3822
  const deserializeAws_queryConfigurationOptionDescription = (output, context) => {
3880
- const contents = {
3881
- Namespace: undefined,
3882
- Name: undefined,
3883
- DefaultValue: undefined,
3884
- ChangeSeverity: undefined,
3885
- UserDefined: undefined,
3886
- ValueType: undefined,
3887
- ValueOptions: undefined,
3888
- MinValue: undefined,
3889
- MaxValue: undefined,
3890
- MaxLength: undefined,
3891
- Regex: undefined,
3892
- };
3823
+ const contents = {};
3893
3824
  if (output["Namespace"] !== undefined) {
3894
3825
  contents.Namespace = __expectString(output["Namespace"]);
3895
3826
  }
@@ -3943,11 +3874,7 @@ const deserializeAws_queryConfigurationOptionPossibleValues = (output, context)
3943
3874
  });
3944
3875
  };
3945
3876
  const deserializeAws_queryConfigurationOptionsDescription = (output, context) => {
3946
- const contents = {
3947
- SolutionStackName: undefined,
3948
- PlatformArn: undefined,
3949
- Options: undefined,
3950
- };
3877
+ const contents = {};
3951
3878
  if (output["SolutionStackName"] !== undefined) {
3952
3879
  contents.SolutionStackName = __expectString(output["SolutionStackName"]);
3953
3880
  }
@@ -3963,12 +3890,7 @@ const deserializeAws_queryConfigurationOptionsDescription = (output, context) =>
3963
3890
  return contents;
3964
3891
  };
3965
3892
  const deserializeAws_queryConfigurationOptionSetting = (output, context) => {
3966
- const contents = {
3967
- ResourceName: undefined,
3968
- Namespace: undefined,
3969
- OptionName: undefined,
3970
- Value: undefined,
3971
- };
3893
+ const contents = {};
3972
3894
  if (output["ResourceName"] !== undefined) {
3973
3895
  contents.ResourceName = __expectString(output["ResourceName"]);
3974
3896
  }
@@ -3991,18 +3913,7 @@ const deserializeAws_queryConfigurationOptionSettingsList = (output, context) =>
3991
3913
  });
3992
3914
  };
3993
3915
  const deserializeAws_queryConfigurationSettingsDescription = (output, context) => {
3994
- const contents = {
3995
- SolutionStackName: undefined,
3996
- PlatformArn: undefined,
3997
- ApplicationName: undefined,
3998
- TemplateName: undefined,
3999
- Description: undefined,
4000
- EnvironmentName: undefined,
4001
- DeploymentStatus: undefined,
4002
- DateCreated: undefined,
4003
- DateUpdated: undefined,
4004
- OptionSettings: undefined,
4005
- };
3916
+ const contents = {};
4006
3917
  if (output["SolutionStackName"] !== undefined) {
4007
3918
  contents.SolutionStackName = __expectString(output["SolutionStackName"]);
4008
3919
  }
@@ -4046,9 +3957,7 @@ const deserializeAws_queryConfigurationSettingsDescriptionList = (output, contex
4046
3957
  });
4047
3958
  };
4048
3959
  const deserializeAws_queryConfigurationSettingsDescriptions = (output, context) => {
4049
- const contents = {
4050
- ConfigurationSettings: undefined,
4051
- };
3960
+ const contents = {};
4052
3961
  if (output.ConfigurationSettings === "") {
4053
3962
  contents.ConfigurationSettings = [];
4054
3963
  }
@@ -4058,9 +3967,7 @@ const deserializeAws_queryConfigurationSettingsDescriptions = (output, context)
4058
3967
  return contents;
4059
3968
  };
4060
3969
  const deserializeAws_queryConfigurationSettingsValidationMessages = (output, context) => {
4061
- const contents = {
4062
- Messages: undefined,
4063
- };
3970
+ const contents = {};
4064
3971
  if (output.Messages === "") {
4065
3972
  contents.Messages = [];
4066
3973
  }
@@ -4077,16 +3984,7 @@ const deserializeAws_queryConfigurationTemplateNamesList = (output, context) =>
4077
3984
  });
4078
3985
  };
4079
3986
  const deserializeAws_queryCPUUtilization = (output, context) => {
4080
- const contents = {
4081
- User: undefined,
4082
- Nice: undefined,
4083
- System: undefined,
4084
- Idle: undefined,
4085
- IOWait: undefined,
4086
- IRQ: undefined,
4087
- SoftIRQ: undefined,
4088
- Privileged: undefined,
4089
- };
3987
+ const contents = {};
4090
3988
  if (output["User"] !== undefined) {
4091
3989
  contents.User = __strictParseFloat(output["User"]);
4092
3990
  }
@@ -4114,10 +4012,7 @@ const deserializeAws_queryCPUUtilization = (output, context) => {
4114
4012
  return contents;
4115
4013
  };
4116
4014
  const deserializeAws_queryCreatePlatformVersionResult = (output, context) => {
4117
- const contents = {
4118
- PlatformSummary: undefined,
4119
- Builder: undefined,
4120
- };
4015
+ const contents = {};
4121
4016
  if (output["PlatformSummary"] !== undefined) {
4122
4017
  contents.PlatformSummary = deserializeAws_queryPlatformSummary(output["PlatformSummary"], context);
4123
4018
  }
@@ -4127,19 +4022,14 @@ const deserializeAws_queryCreatePlatformVersionResult = (output, context) => {
4127
4022
  return contents;
4128
4023
  };
4129
4024
  const deserializeAws_queryCreateStorageLocationResultMessage = (output, context) => {
4130
- const contents = {
4131
- S3Bucket: undefined,
4132
- };
4025
+ const contents = {};
4133
4026
  if (output["S3Bucket"] !== undefined) {
4134
4027
  contents.S3Bucket = __expectString(output["S3Bucket"]);
4135
4028
  }
4136
4029
  return contents;
4137
4030
  };
4138
4031
  const deserializeAws_queryCustomAmi = (output, context) => {
4139
- const contents = {
4140
- VirtualizationType: undefined,
4141
- ImageId: undefined,
4142
- };
4032
+ const contents = {};
4143
4033
  if (output["VirtualizationType"] !== undefined) {
4144
4034
  contents.VirtualizationType = __expectString(output["VirtualizationType"]);
4145
4035
  }
@@ -4156,21 +4046,14 @@ const deserializeAws_queryCustomAmiList = (output, context) => {
4156
4046
  });
4157
4047
  };
4158
4048
  const deserializeAws_queryDeletePlatformVersionResult = (output, context) => {
4159
- const contents = {
4160
- PlatformSummary: undefined,
4161
- };
4049
+ const contents = {};
4162
4050
  if (output["PlatformSummary"] !== undefined) {
4163
4051
  contents.PlatformSummary = deserializeAws_queryPlatformSummary(output["PlatformSummary"], context);
4164
4052
  }
4165
4053
  return contents;
4166
4054
  };
4167
4055
  const deserializeAws_queryDeployment = (output, context) => {
4168
- const contents = {
4169
- VersionLabel: undefined,
4170
- DeploymentId: undefined,
4171
- Status: undefined,
4172
- DeploymentTime: undefined,
4173
- };
4056
+ const contents = {};
4174
4057
  if (output["VersionLabel"] !== undefined) {
4175
4058
  contents.VersionLabel = __expectString(output["VersionLabel"]);
4176
4059
  }
@@ -4186,25 +4069,14 @@ const deserializeAws_queryDeployment = (output, context) => {
4186
4069
  return contents;
4187
4070
  };
4188
4071
  const deserializeAws_queryDescribeAccountAttributesResult = (output, context) => {
4189
- const contents = {
4190
- ResourceQuotas: undefined,
4191
- };
4072
+ const contents = {};
4192
4073
  if (output["ResourceQuotas"] !== undefined) {
4193
4074
  contents.ResourceQuotas = deserializeAws_queryResourceQuotas(output["ResourceQuotas"], context);
4194
4075
  }
4195
4076
  return contents;
4196
4077
  };
4197
4078
  const deserializeAws_queryDescribeEnvironmentHealthResult = (output, context) => {
4198
- const contents = {
4199
- EnvironmentName: undefined,
4200
- HealthStatus: undefined,
4201
- Status: undefined,
4202
- Color: undefined,
4203
- Causes: undefined,
4204
- ApplicationMetrics: undefined,
4205
- InstancesHealth: undefined,
4206
- RefreshedAt: undefined,
4207
- };
4079
+ const contents = {};
4208
4080
  if (output["EnvironmentName"] !== undefined) {
4209
4081
  contents.EnvironmentName = __expectString(output["EnvironmentName"]);
4210
4082
  }
@@ -4235,10 +4107,7 @@ const deserializeAws_queryDescribeEnvironmentHealthResult = (output, context) =>
4235
4107
  return contents;
4236
4108
  };
4237
4109
  const deserializeAws_queryDescribeEnvironmentManagedActionHistoryResult = (output, context) => {
4238
- const contents = {
4239
- ManagedActionHistoryItems: undefined,
4240
- NextToken: undefined,
4241
- };
4110
+ const contents = {};
4242
4111
  if (output.ManagedActionHistoryItems === "") {
4243
4112
  contents.ManagedActionHistoryItems = [];
4244
4113
  }
@@ -4252,9 +4121,7 @@ const deserializeAws_queryDescribeEnvironmentManagedActionHistoryResult = (outpu
4252
4121
  return contents;
4253
4122
  };
4254
4123
  const deserializeAws_queryDescribeEnvironmentManagedActionsResult = (output, context) => {
4255
- const contents = {
4256
- ManagedActions: undefined,
4257
- };
4124
+ const contents = {};
4258
4125
  if (output.ManagedActions === "") {
4259
4126
  contents.ManagedActions = [];
4260
4127
  }
@@ -4264,11 +4131,7 @@ const deserializeAws_queryDescribeEnvironmentManagedActionsResult = (output, con
4264
4131
  return contents;
4265
4132
  };
4266
4133
  const deserializeAws_queryDescribeInstancesHealthResult = (output, context) => {
4267
- const contents = {
4268
- InstanceHealthList: undefined,
4269
- RefreshedAt: undefined,
4270
- NextToken: undefined,
4271
- };
4134
+ const contents = {};
4272
4135
  if (output.InstanceHealthList === "") {
4273
4136
  contents.InstanceHealthList = [];
4274
4137
  }
@@ -4284,47 +4147,21 @@ const deserializeAws_queryDescribeInstancesHealthResult = (output, context) => {
4284
4147
  return contents;
4285
4148
  };
4286
4149
  const deserializeAws_queryDescribePlatformVersionResult = (output, context) => {
4287
- const contents = {
4288
- PlatformDescription: undefined,
4289
- };
4150
+ const contents = {};
4290
4151
  if (output["PlatformDescription"] !== undefined) {
4291
4152
  contents.PlatformDescription = deserializeAws_queryPlatformDescription(output["PlatformDescription"], context);
4292
4153
  }
4293
4154
  return contents;
4294
4155
  };
4295
4156
  const deserializeAws_queryElasticBeanstalkServiceException = (output, context) => {
4296
- const contents = {
4297
- message: undefined,
4298
- };
4157
+ const contents = {};
4299
4158
  if (output["message"] !== undefined) {
4300
4159
  contents.message = __expectString(output["message"]);
4301
4160
  }
4302
4161
  return contents;
4303
4162
  };
4304
4163
  const deserializeAws_queryEnvironmentDescription = (output, context) => {
4305
- const contents = {
4306
- EnvironmentName: undefined,
4307
- EnvironmentId: undefined,
4308
- ApplicationName: undefined,
4309
- VersionLabel: undefined,
4310
- SolutionStackName: undefined,
4311
- PlatformArn: undefined,
4312
- TemplateName: undefined,
4313
- Description: undefined,
4314
- EndpointURL: undefined,
4315
- CNAME: undefined,
4316
- DateCreated: undefined,
4317
- DateUpdated: undefined,
4318
- Status: undefined,
4319
- AbortableOperationInProgress: undefined,
4320
- Health: undefined,
4321
- HealthStatus: undefined,
4322
- Resources: undefined,
4323
- Tier: undefined,
4324
- EnvironmentLinks: undefined,
4325
- EnvironmentArn: undefined,
4326
- OperationsRole: undefined,
4327
- };
4164
+ const contents = {};
4328
4165
  if (output["EnvironmentName"] !== undefined) {
4329
4166
  contents.EnvironmentName = __expectString(output["EnvironmentName"]);
4330
4167
  }
@@ -4401,10 +4238,7 @@ const deserializeAws_queryEnvironmentDescriptionsList = (output, context) => {
4401
4238
  });
4402
4239
  };
4403
4240
  const deserializeAws_queryEnvironmentDescriptionsMessage = (output, context) => {
4404
- const contents = {
4405
- Environments: undefined,
4406
- NextToken: undefined,
4407
- };
4241
+ const contents = {};
4408
4242
  if (output.Environments === "") {
4409
4243
  contents.Environments = [];
4410
4244
  }
@@ -4417,12 +4251,7 @@ const deserializeAws_queryEnvironmentDescriptionsMessage = (output, context) =>
4417
4251
  return contents;
4418
4252
  };
4419
4253
  const deserializeAws_queryEnvironmentInfoDescription = (output, context) => {
4420
- const contents = {
4421
- InfoType: undefined,
4422
- Ec2InstanceId: undefined,
4423
- SampleTimestamp: undefined,
4424
- Message: undefined,
4425
- };
4254
+ const contents = {};
4426
4255
  if (output["InfoType"] !== undefined) {
4427
4256
  contents.InfoType = __expectString(output["InfoType"]);
4428
4257
  }
@@ -4445,10 +4274,7 @@ const deserializeAws_queryEnvironmentInfoDescriptionList = (output, context) =>
4445
4274
  });
4446
4275
  };
4447
4276
  const deserializeAws_queryEnvironmentLink = (output, context) => {
4448
- const contents = {
4449
- LinkName: undefined,
4450
- EnvironmentName: undefined,
4451
- };
4277
+ const contents = {};
4452
4278
  if (output["LinkName"] !== undefined) {
4453
4279
  contents.LinkName = __expectString(output["LinkName"]);
4454
4280
  }
@@ -4465,16 +4291,7 @@ const deserializeAws_queryEnvironmentLinks = (output, context) => {
4465
4291
  });
4466
4292
  };
4467
4293
  const deserializeAws_queryEnvironmentResourceDescription = (output, context) => {
4468
- const contents = {
4469
- EnvironmentName: undefined,
4470
- AutoScalingGroups: undefined,
4471
- Instances: undefined,
4472
- LaunchConfigurations: undefined,
4473
- LaunchTemplates: undefined,
4474
- LoadBalancers: undefined,
4475
- Triggers: undefined,
4476
- Queues: undefined,
4477
- };
4294
+ const contents = {};
4478
4295
  if (output["EnvironmentName"] !== undefined) {
4479
4296
  contents.EnvironmentName = __expectString(output["EnvironmentName"]);
4480
4297
  }
@@ -4523,29 +4340,21 @@ const deserializeAws_queryEnvironmentResourceDescription = (output, context) =>
4523
4340
  return contents;
4524
4341
  };
4525
4342
  const deserializeAws_queryEnvironmentResourceDescriptionsMessage = (output, context) => {
4526
- const contents = {
4527
- EnvironmentResources: undefined,
4528
- };
4343
+ const contents = {};
4529
4344
  if (output["EnvironmentResources"] !== undefined) {
4530
4345
  contents.EnvironmentResources = deserializeAws_queryEnvironmentResourceDescription(output["EnvironmentResources"], context);
4531
4346
  }
4532
4347
  return contents;
4533
4348
  };
4534
4349
  const deserializeAws_queryEnvironmentResourcesDescription = (output, context) => {
4535
- const contents = {
4536
- LoadBalancer: undefined,
4537
- };
4350
+ const contents = {};
4538
4351
  if (output["LoadBalancer"] !== undefined) {
4539
4352
  contents.LoadBalancer = deserializeAws_queryLoadBalancerDescription(output["LoadBalancer"], context);
4540
4353
  }
4541
4354
  return contents;
4542
4355
  };
4543
4356
  const deserializeAws_queryEnvironmentTier = (output, context) => {
4544
- const contents = {
4545
- Name: undefined,
4546
- Type: undefined,
4547
- Version: undefined,
4548
- };
4357
+ const contents = {};
4549
4358
  if (output["Name"] !== undefined) {
4550
4359
  contents.Name = __expectString(output["Name"]);
4551
4360
  }
@@ -4558,17 +4367,7 @@ const deserializeAws_queryEnvironmentTier = (output, context) => {
4558
4367
  return contents;
4559
4368
  };
4560
4369
  const deserializeAws_queryEventDescription = (output, context) => {
4561
- const contents = {
4562
- EventDate: undefined,
4563
- Message: undefined,
4564
- ApplicationName: undefined,
4565
- VersionLabel: undefined,
4566
- TemplateName: undefined,
4567
- EnvironmentName: undefined,
4568
- PlatformArn: undefined,
4569
- RequestId: undefined,
4570
- Severity: undefined,
4571
- };
4370
+ const contents = {};
4572
4371
  if (output["EventDate"] !== undefined) {
4573
4372
  contents.EventDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["EventDate"]));
4574
4373
  }
@@ -4606,10 +4405,7 @@ const deserializeAws_queryEventDescriptionList = (output, context) => {
4606
4405
  });
4607
4406
  };
4608
4407
  const deserializeAws_queryEventDescriptionsMessage = (output, context) => {
4609
- const contents = {
4610
- Events: undefined,
4611
- NextToken: undefined,
4612
- };
4408
+ const contents = {};
4613
4409
  if (output.Events === "") {
4614
4410
  contents.Events = [];
4615
4411
  }
@@ -4622,9 +4418,7 @@ const deserializeAws_queryEventDescriptionsMessage = (output, context) => {
4622
4418
  return contents;
4623
4419
  };
4624
4420
  const deserializeAws_queryInstance = (output, context) => {
4625
- const contents = {
4626
- Id: undefined,
4627
- };
4421
+ const contents = {};
4628
4422
  if (output["Id"] !== undefined) {
4629
4423
  contents.Id = __expectString(output["Id"]);
4630
4424
  }
@@ -4638,16 +4432,7 @@ const deserializeAws_queryInstanceHealthList = (output, context) => {
4638
4432
  });
4639
4433
  };
4640
4434
  const deserializeAws_queryInstanceHealthSummary = (output, context) => {
4641
- const contents = {
4642
- NoData: undefined,
4643
- Unknown: undefined,
4644
- Pending: undefined,
4645
- Ok: undefined,
4646
- Info: undefined,
4647
- Warning: undefined,
4648
- Degraded: undefined,
4649
- Severe: undefined,
4650
- };
4435
+ const contents = {};
4651
4436
  if (output["NoData"] !== undefined) {
4652
4437
  contents.NoData = __strictParseInt32(output["NoData"]);
4653
4438
  }
@@ -4682,34 +4467,21 @@ const deserializeAws_queryInstanceList = (output, context) => {
4682
4467
  });
4683
4468
  };
4684
4469
  const deserializeAws_queryInsufficientPrivilegesException = (output, context) => {
4685
- const contents = {
4686
- message: undefined,
4687
- };
4470
+ const contents = {};
4688
4471
  if (output["message"] !== undefined) {
4689
4472
  contents.message = __expectString(output["message"]);
4690
4473
  }
4691
4474
  return contents;
4692
4475
  };
4693
4476
  const deserializeAws_queryInvalidRequestException = (output, context) => {
4694
- const contents = {
4695
- message: undefined,
4696
- };
4477
+ const contents = {};
4697
4478
  if (output["message"] !== undefined) {
4698
4479
  contents.message = __expectString(output["message"]);
4699
4480
  }
4700
4481
  return contents;
4701
4482
  };
4702
4483
  const deserializeAws_queryLatency = (output, context) => {
4703
- const contents = {
4704
- P999: undefined,
4705
- P99: undefined,
4706
- P95: undefined,
4707
- P90: undefined,
4708
- P85: undefined,
4709
- P75: undefined,
4710
- P50: undefined,
4711
- P10: undefined,
4712
- };
4484
+ const contents = {};
4713
4485
  if (output["P999"] !== undefined) {
4714
4486
  contents.P999 = __strictParseFloat(output["P999"]);
4715
4487
  }
@@ -4737,9 +4509,7 @@ const deserializeAws_queryLatency = (output, context) => {
4737
4509
  return contents;
4738
4510
  };
4739
4511
  const deserializeAws_queryLaunchConfiguration = (output, context) => {
4740
- const contents = {
4741
- Name: undefined,
4742
- };
4512
+ const contents = {};
4743
4513
  if (output["Name"] !== undefined) {
4744
4514
  contents.Name = __expectString(output["Name"]);
4745
4515
  }
@@ -4753,9 +4523,7 @@ const deserializeAws_queryLaunchConfigurationList = (output, context) => {
4753
4523
  });
4754
4524
  };
4755
4525
  const deserializeAws_queryLaunchTemplate = (output, context) => {
4756
- const contents = {
4757
- Id: undefined,
4758
- };
4526
+ const contents = {};
4759
4527
  if (output["Id"] !== undefined) {
4760
4528
  contents.Id = __expectString(output["Id"]);
4761
4529
  }
@@ -4769,10 +4537,7 @@ const deserializeAws_queryLaunchTemplateList = (output, context) => {
4769
4537
  });
4770
4538
  };
4771
4539
  const deserializeAws_queryListAvailableSolutionStacksResultMessage = (output, context) => {
4772
- const contents = {
4773
- SolutionStacks: undefined,
4774
- SolutionStackDetails: undefined,
4775
- };
4540
+ const contents = {};
4776
4541
  if (output.SolutionStacks === "") {
4777
4542
  contents.SolutionStacks = [];
4778
4543
  }
@@ -4788,10 +4553,7 @@ const deserializeAws_queryListAvailableSolutionStacksResultMessage = (output, co
4788
4553
  return contents;
4789
4554
  };
4790
4555
  const deserializeAws_queryListener = (output, context) => {
4791
- const contents = {
4792
- Protocol: undefined,
4793
- Port: undefined,
4794
- };
4556
+ const contents = {};
4795
4557
  if (output["Protocol"] !== undefined) {
4796
4558
  contents.Protocol = __expectString(output["Protocol"]);
4797
4559
  }
@@ -4801,10 +4563,7 @@ const deserializeAws_queryListener = (output, context) => {
4801
4563
  return contents;
4802
4564
  };
4803
4565
  const deserializeAws_queryListPlatformBranchesResult = (output, context) => {
4804
- const contents = {
4805
- PlatformBranchSummaryList: undefined,
4806
- NextToken: undefined,
4807
- };
4566
+ const contents = {};
4808
4567
  if (output.PlatformBranchSummaryList === "") {
4809
4568
  contents.PlatformBranchSummaryList = [];
4810
4569
  }
@@ -4818,10 +4577,7 @@ const deserializeAws_queryListPlatformBranchesResult = (output, context) => {
4818
4577
  return contents;
4819
4578
  };
4820
4579
  const deserializeAws_queryListPlatformVersionsResult = (output, context) => {
4821
- const contents = {
4822
- PlatformSummaryList: undefined,
4823
- NextToken: undefined,
4824
- };
4580
+ const contents = {};
4825
4581
  if (output.PlatformSummaryList === "") {
4826
4582
  contents.PlatformSummaryList = [];
4827
4583
  }
@@ -4841,20 +4597,14 @@ const deserializeAws_queryLoadAverage = (output, context) => {
4841
4597
  });
4842
4598
  };
4843
4599
  const deserializeAws_queryLoadBalancer = (output, context) => {
4844
- const contents = {
4845
- Name: undefined,
4846
- };
4600
+ const contents = {};
4847
4601
  if (output["Name"] !== undefined) {
4848
4602
  contents.Name = __expectString(output["Name"]);
4849
4603
  }
4850
4604
  return contents;
4851
4605
  };
4852
4606
  const deserializeAws_queryLoadBalancerDescription = (output, context) => {
4853
- const contents = {
4854
- LoadBalancerName: undefined,
4855
- Domain: undefined,
4856
- Listeners: undefined,
4857
- };
4607
+ const contents = {};
4858
4608
  if (output["LoadBalancerName"] !== undefined) {
4859
4609
  contents.LoadBalancerName = __expectString(output["LoadBalancerName"]);
4860
4610
  }
@@ -4884,13 +4634,7 @@ const deserializeAws_queryLoadBalancerListenersDescription = (output, context) =
4884
4634
  });
4885
4635
  };
4886
4636
  const deserializeAws_queryManagedAction = (output, context) => {
4887
- const contents = {
4888
- ActionId: undefined,
4889
- ActionDescription: undefined,
4890
- ActionType: undefined,
4891
- Status: undefined,
4892
- WindowStartTime: undefined,
4893
- };
4637
+ const contents = {};
4894
4638
  if (output["ActionId"] !== undefined) {
4895
4639
  contents.ActionId = __expectString(output["ActionId"]);
4896
4640
  }
@@ -4909,16 +4653,7 @@ const deserializeAws_queryManagedAction = (output, context) => {
4909
4653
  return contents;
4910
4654
  };
4911
4655
  const deserializeAws_queryManagedActionHistoryItem = (output, context) => {
4912
- const contents = {
4913
- ActionId: undefined,
4914
- ActionType: undefined,
4915
- ActionDescription: undefined,
4916
- FailureType: undefined,
4917
- Status: undefined,
4918
- FailureDescription: undefined,
4919
- ExecutedTime: undefined,
4920
- FinishedTime: undefined,
4921
- };
4656
+ const contents = {};
4922
4657
  if (output["ActionId"] !== undefined) {
4923
4658
  contents.ActionId = __expectString(output["ActionId"]);
4924
4659
  }
@@ -4953,9 +4688,7 @@ const deserializeAws_queryManagedActionHistoryItems = (output, context) => {
4953
4688
  });
4954
4689
  };
4955
4690
  const deserializeAws_queryManagedActionInvalidStateException = (output, context) => {
4956
- const contents = {
4957
- message: undefined,
4958
- };
4691
+ const contents = {};
4959
4692
  if (output["message"] !== undefined) {
4960
4693
  contents.message = __expectString(output["message"]);
4961
4694
  }
@@ -4969,11 +4702,7 @@ const deserializeAws_queryManagedActions = (output, context) => {
4969
4702
  });
4970
4703
  };
4971
4704
  const deserializeAws_queryMaxAgeRule = (output, context) => {
4972
- const contents = {
4973
- Enabled: undefined,
4974
- MaxAgeInDays: undefined,
4975
- DeleteSourceFromS3: undefined,
4976
- };
4705
+ const contents = {};
4977
4706
  if (output["Enabled"] !== undefined) {
4978
4707
  contents.Enabled = __parseBoolean(output["Enabled"]);
4979
4708
  }
@@ -4986,11 +4715,7 @@ const deserializeAws_queryMaxAgeRule = (output, context) => {
4986
4715
  return contents;
4987
4716
  };
4988
4717
  const deserializeAws_queryMaxCountRule = (output, context) => {
4989
- const contents = {
4990
- Enabled: undefined,
4991
- MaxCount: undefined,
4992
- DeleteSourceFromS3: undefined,
4993
- };
4718
+ const contents = {};
4994
4719
  if (output["Enabled"] !== undefined) {
4995
4720
  contents.Enabled = __parseBoolean(output["Enabled"]);
4996
4721
  }
@@ -5003,19 +4728,14 @@ const deserializeAws_queryMaxCountRule = (output, context) => {
5003
4728
  return contents;
5004
4729
  };
5005
4730
  const deserializeAws_queryOperationInProgressException = (output, context) => {
5006
- const contents = {
5007
- message: undefined,
5008
- };
4731
+ const contents = {};
5009
4732
  if (output["message"] !== undefined) {
5010
4733
  contents.message = __expectString(output["message"]);
5011
4734
  }
5012
4735
  return contents;
5013
4736
  };
5014
4737
  const deserializeAws_queryOptionRestrictionRegex = (output, context) => {
5015
- const contents = {
5016
- Pattern: undefined,
5017
- Label: undefined,
5018
- };
4738
+ const contents = {};
5019
4739
  if (output["Pattern"] !== undefined) {
5020
4740
  contents.Pattern = __expectString(output["Pattern"]);
5021
4741
  }
@@ -5025,13 +4745,7 @@ const deserializeAws_queryOptionRestrictionRegex = (output, context) => {
5025
4745
  return contents;
5026
4746
  };
5027
4747
  const deserializeAws_queryPlatformBranchSummary = (output, context) => {
5028
- const contents = {
5029
- PlatformName: undefined,
5030
- BranchName: undefined,
5031
- LifecycleState: undefined,
5032
- BranchOrder: undefined,
5033
- SupportedTierList: undefined,
5034
- };
4748
+ const contents = {};
5035
4749
  if (output["PlatformName"] !== undefined) {
5036
4750
  contents.PlatformName = __expectString(output["PlatformName"]);
5037
4751
  }
@@ -5060,29 +4774,7 @@ const deserializeAws_queryPlatformBranchSummaryList = (output, context) => {
5060
4774
  });
5061
4775
  };
5062
4776
  const deserializeAws_queryPlatformDescription = (output, context) => {
5063
- const contents = {
5064
- PlatformArn: undefined,
5065
- PlatformOwner: undefined,
5066
- PlatformName: undefined,
5067
- PlatformVersion: undefined,
5068
- SolutionStackName: undefined,
5069
- PlatformStatus: undefined,
5070
- DateCreated: undefined,
5071
- DateUpdated: undefined,
5072
- PlatformCategory: undefined,
5073
- Description: undefined,
5074
- Maintainer: undefined,
5075
- OperatingSystemName: undefined,
5076
- OperatingSystemVersion: undefined,
5077
- ProgrammingLanguages: undefined,
5078
- Frameworks: undefined,
5079
- CustomAmiList: undefined,
5080
- SupportedTierList: undefined,
5081
- SupportedAddonList: undefined,
5082
- PlatformLifecycleState: undefined,
5083
- PlatformBranchName: undefined,
5084
- PlatformBranchLifecycleState: undefined,
5085
- };
4777
+ const contents = {};
5086
4778
  if (output["PlatformArn"] !== undefined) {
5087
4779
  contents.PlatformArn = __expectString(output["PlatformArn"]);
5088
4780
  }
@@ -5164,10 +4856,7 @@ const deserializeAws_queryPlatformDescription = (output, context) => {
5164
4856
  return contents;
5165
4857
  };
5166
4858
  const deserializeAws_queryPlatformFramework = (output, context) => {
5167
- const contents = {
5168
- Name: undefined,
5169
- Version: undefined,
5170
- };
4859
+ const contents = {};
5171
4860
  if (output["Name"] !== undefined) {
5172
4861
  contents.Name = __expectString(output["Name"]);
5173
4862
  }
@@ -5184,10 +4873,7 @@ const deserializeAws_queryPlatformFrameworks = (output, context) => {
5184
4873
  });
5185
4874
  };
5186
4875
  const deserializeAws_queryPlatformProgrammingLanguage = (output, context) => {
5187
- const contents = {
5188
- Name: undefined,
5189
- Version: undefined,
5190
- };
4876
+ const contents = {};
5191
4877
  if (output["Name"] !== undefined) {
5192
4878
  contents.Name = __expectString(output["Name"]);
5193
4879
  }
@@ -5204,20 +4890,7 @@ const deserializeAws_queryPlatformProgrammingLanguages = (output, context) => {
5204
4890
  });
5205
4891
  };
5206
4892
  const deserializeAws_queryPlatformSummary = (output, context) => {
5207
- const contents = {
5208
- PlatformArn: undefined,
5209
- PlatformOwner: undefined,
5210
- PlatformStatus: undefined,
5211
- PlatformCategory: undefined,
5212
- OperatingSystemName: undefined,
5213
- OperatingSystemVersion: undefined,
5214
- SupportedTierList: undefined,
5215
- SupportedAddonList: undefined,
5216
- PlatformLifecycleState: undefined,
5217
- PlatformVersion: undefined,
5218
- PlatformBranchName: undefined,
5219
- PlatformBranchLifecycleState: undefined,
5220
- };
4893
+ const contents = {};
5221
4894
  if (output["PlatformArn"] !== undefined) {
5222
4895
  contents.PlatformArn = __expectString(output["PlatformArn"]);
5223
4896
  }
@@ -5270,19 +4943,14 @@ const deserializeAws_queryPlatformSummaryList = (output, context) => {
5270
4943
  });
5271
4944
  };
5272
4945
  const deserializeAws_queryPlatformVersionStillReferencedException = (output, context) => {
5273
- const contents = {
5274
- message: undefined,
5275
- };
4946
+ const contents = {};
5276
4947
  if (output["message"] !== undefined) {
5277
4948
  contents.message = __expectString(output["message"]);
5278
4949
  }
5279
4950
  return contents;
5280
4951
  };
5281
4952
  const deserializeAws_queryQueue = (output, context) => {
5282
- const contents = {
5283
- Name: undefined,
5284
- URL: undefined,
5285
- };
4953
+ const contents = {};
5286
4954
  if (output["Name"] !== undefined) {
5287
4955
  contents.Name = __expectString(output["Name"]);
5288
4956
  }
@@ -5299,31 +4967,21 @@ const deserializeAws_queryQueueList = (output, context) => {
5299
4967
  });
5300
4968
  };
5301
4969
  const deserializeAws_queryResourceNotFoundException = (output, context) => {
5302
- const contents = {
5303
- message: undefined,
5304
- };
4970
+ const contents = {};
5305
4971
  if (output["message"] !== undefined) {
5306
4972
  contents.message = __expectString(output["message"]);
5307
4973
  }
5308
4974
  return contents;
5309
4975
  };
5310
4976
  const deserializeAws_queryResourceQuota = (output, context) => {
5311
- const contents = {
5312
- Maximum: undefined,
5313
- };
4977
+ const contents = {};
5314
4978
  if (output["Maximum"] !== undefined) {
5315
4979
  contents.Maximum = __strictParseInt32(output["Maximum"]);
5316
4980
  }
5317
4981
  return contents;
5318
4982
  };
5319
4983
  const deserializeAws_queryResourceQuotas = (output, context) => {
5320
- const contents = {
5321
- ApplicationQuota: undefined,
5322
- ApplicationVersionQuota: undefined,
5323
- EnvironmentQuota: undefined,
5324
- ConfigurationTemplateQuota: undefined,
5325
- CustomPlatformQuota: undefined,
5326
- };
4984
+ const contents = {};
5327
4985
  if (output["ApplicationQuota"] !== undefined) {
5328
4986
  contents.ApplicationQuota = deserializeAws_queryResourceQuota(output["ApplicationQuota"], context);
5329
4987
  }
@@ -5342,10 +5000,7 @@ const deserializeAws_queryResourceQuotas = (output, context) => {
5342
5000
  return contents;
5343
5001
  };
5344
5002
  const deserializeAws_queryResourceTagsDescriptionMessage = (output, context) => {
5345
- const contents = {
5346
- ResourceArn: undefined,
5347
- ResourceTags: undefined,
5348
- };
5003
+ const contents = {};
5349
5004
  if (output["ResourceArn"] !== undefined) {
5350
5005
  contents.ResourceArn = __expectString(output["ResourceArn"]);
5351
5006
  }
@@ -5358,18 +5013,14 @@ const deserializeAws_queryResourceTagsDescriptionMessage = (output, context) =>
5358
5013
  return contents;
5359
5014
  };
5360
5015
  const deserializeAws_queryResourceTypeNotSupportedException = (output, context) => {
5361
- const contents = {
5362
- message: undefined,
5363
- };
5016
+ const contents = {};
5364
5017
  if (output["message"] !== undefined) {
5365
5018
  contents.message = __expectString(output["message"]);
5366
5019
  }
5367
5020
  return contents;
5368
5021
  };
5369
5022
  const deserializeAws_queryRetrieveEnvironmentInfoResultMessage = (output, context) => {
5370
- const contents = {
5371
- EnvironmentInfo: undefined,
5372
- };
5023
+ const contents = {};
5373
5024
  if (output.EnvironmentInfo === "") {
5374
5025
  contents.EnvironmentInfo = [];
5375
5026
  }
@@ -5379,10 +5030,7 @@ const deserializeAws_queryRetrieveEnvironmentInfoResultMessage = (output, contex
5379
5030
  return contents;
5380
5031
  };
5381
5032
  const deserializeAws_queryS3Location = (output, context) => {
5382
- const contents = {
5383
- S3Bucket: undefined,
5384
- S3Key: undefined,
5385
- };
5033
+ const contents = {};
5386
5034
  if (output["S3Bucket"] !== undefined) {
5387
5035
  contents.S3Bucket = __expectString(output["S3Bucket"]);
5388
5036
  }
@@ -5392,36 +5040,21 @@ const deserializeAws_queryS3Location = (output, context) => {
5392
5040
  return contents;
5393
5041
  };
5394
5042
  const deserializeAws_queryS3LocationNotInServiceRegionException = (output, context) => {
5395
- const contents = {
5396
- message: undefined,
5397
- };
5043
+ const contents = {};
5398
5044
  if (output["message"] !== undefined) {
5399
5045
  contents.message = __expectString(output["message"]);
5400
5046
  }
5401
5047
  return contents;
5402
5048
  };
5403
5049
  const deserializeAws_queryS3SubscriptionRequiredException = (output, context) => {
5404
- const contents = {
5405
- message: undefined,
5406
- };
5050
+ const contents = {};
5407
5051
  if (output["message"] !== undefined) {
5408
5052
  contents.message = __expectString(output["message"]);
5409
5053
  }
5410
5054
  return contents;
5411
5055
  };
5412
5056
  const deserializeAws_querySingleInstanceHealth = (output, context) => {
5413
- const contents = {
5414
- InstanceId: undefined,
5415
- HealthStatus: undefined,
5416
- Color: undefined,
5417
- Causes: undefined,
5418
- LaunchedAt: undefined,
5419
- ApplicationMetrics: undefined,
5420
- System: undefined,
5421
- Deployment: undefined,
5422
- AvailabilityZone: undefined,
5423
- InstanceType: undefined,
5424
- };
5057
+ const contents = {};
5425
5058
  if (output["InstanceId"] !== undefined) {
5426
5059
  contents.InstanceId = __expectString(output["InstanceId"]);
5427
5060
  }
@@ -5458,10 +5091,7 @@ const deserializeAws_querySingleInstanceHealth = (output, context) => {
5458
5091
  return contents;
5459
5092
  };
5460
5093
  const deserializeAws_querySolutionStackDescription = (output, context) => {
5461
- const contents = {
5462
- SolutionStackName: undefined,
5463
- PermittedFileTypes: undefined,
5464
- };
5094
+ const contents = {};
5465
5095
  if (output["SolutionStackName"] !== undefined) {
5466
5096
  contents.SolutionStackName = __expectString(output["SolutionStackName"]);
5467
5097
  }
@@ -5481,11 +5111,7 @@ const deserializeAws_querySolutionStackFileTypeList = (output, context) => {
5481
5111
  });
5482
5112
  };
5483
5113
  const deserializeAws_querySourceBuildInformation = (output, context) => {
5484
- const contents = {
5485
- SourceType: undefined,
5486
- SourceRepository: undefined,
5487
- SourceLocation: undefined,
5488
- };
5114
+ const contents = {};
5489
5115
  if (output["SourceType"] !== undefined) {
5490
5116
  contents.SourceType = __expectString(output["SourceType"]);
5491
5117
  }
@@ -5498,21 +5124,14 @@ const deserializeAws_querySourceBuildInformation = (output, context) => {
5498
5124
  return contents;
5499
5125
  };
5500
5126
  const deserializeAws_querySourceBundleDeletionException = (output, context) => {
5501
- const contents = {
5502
- message: undefined,
5503
- };
5127
+ const contents = {};
5504
5128
  if (output["message"] !== undefined) {
5505
5129
  contents.message = __expectString(output["message"]);
5506
5130
  }
5507
5131
  return contents;
5508
5132
  };
5509
5133
  const deserializeAws_queryStatusCodes = (output, context) => {
5510
- const contents = {
5511
- Status2xx: undefined,
5512
- Status3xx: undefined,
5513
- Status4xx: undefined,
5514
- Status5xx: undefined,
5515
- };
5134
+ const contents = {};
5516
5135
  if (output["Status2xx"] !== undefined) {
5517
5136
  contents.Status2xx = __strictParseInt32(output["Status2xx"]);
5518
5137
  }
@@ -5542,10 +5161,7 @@ const deserializeAws_querySupportedTierList = (output, context) => {
5542
5161
  });
5543
5162
  };
5544
5163
  const deserializeAws_querySystemStatus = (output, context) => {
5545
- const contents = {
5546
- CPUUtilization: undefined,
5547
- LoadAverage: undefined,
5548
- };
5164
+ const contents = {};
5549
5165
  if (output["CPUUtilization"] !== undefined) {
5550
5166
  contents.CPUUtilization = deserializeAws_queryCPUUtilization(output["CPUUtilization"], context);
5551
5167
  }
@@ -5558,10 +5174,7 @@ const deserializeAws_querySystemStatus = (output, context) => {
5558
5174
  return contents;
5559
5175
  };
5560
5176
  const deserializeAws_queryTag = (output, context) => {
5561
- const contents = {
5562
- Key: undefined,
5563
- Value: undefined,
5564
- };
5177
+ const contents = {};
5565
5178
  if (output["Key"] !== undefined) {
5566
5179
  contents.Key = __expectString(output["Key"]);
5567
5180
  }
@@ -5578,72 +5191,56 @@ const deserializeAws_queryTagList = (output, context) => {
5578
5191
  });
5579
5192
  };
5580
5193
  const deserializeAws_queryTooManyApplicationsException = (output, context) => {
5581
- const contents = {
5582
- message: undefined,
5583
- };
5194
+ const contents = {};
5584
5195
  if (output["message"] !== undefined) {
5585
5196
  contents.message = __expectString(output["message"]);
5586
5197
  }
5587
5198
  return contents;
5588
5199
  };
5589
5200
  const deserializeAws_queryTooManyApplicationVersionsException = (output, context) => {
5590
- const contents = {
5591
- message: undefined,
5592
- };
5201
+ const contents = {};
5593
5202
  if (output["message"] !== undefined) {
5594
5203
  contents.message = __expectString(output["message"]);
5595
5204
  }
5596
5205
  return contents;
5597
5206
  };
5598
5207
  const deserializeAws_queryTooManyBucketsException = (output, context) => {
5599
- const contents = {
5600
- message: undefined,
5601
- };
5208
+ const contents = {};
5602
5209
  if (output["message"] !== undefined) {
5603
5210
  contents.message = __expectString(output["message"]);
5604
5211
  }
5605
5212
  return contents;
5606
5213
  };
5607
5214
  const deserializeAws_queryTooManyConfigurationTemplatesException = (output, context) => {
5608
- const contents = {
5609
- message: undefined,
5610
- };
5215
+ const contents = {};
5611
5216
  if (output["message"] !== undefined) {
5612
5217
  contents.message = __expectString(output["message"]);
5613
5218
  }
5614
5219
  return contents;
5615
5220
  };
5616
5221
  const deserializeAws_queryTooManyEnvironmentsException = (output, context) => {
5617
- const contents = {
5618
- message: undefined,
5619
- };
5222
+ const contents = {};
5620
5223
  if (output["message"] !== undefined) {
5621
5224
  contents.message = __expectString(output["message"]);
5622
5225
  }
5623
5226
  return contents;
5624
5227
  };
5625
5228
  const deserializeAws_queryTooManyPlatformsException = (output, context) => {
5626
- const contents = {
5627
- message: undefined,
5628
- };
5229
+ const contents = {};
5629
5230
  if (output["message"] !== undefined) {
5630
5231
  contents.message = __expectString(output["message"]);
5631
5232
  }
5632
5233
  return contents;
5633
5234
  };
5634
5235
  const deserializeAws_queryTooManyTagsException = (output, context) => {
5635
- const contents = {
5636
- message: undefined,
5637
- };
5236
+ const contents = {};
5638
5237
  if (output["message"] !== undefined) {
5639
5238
  contents.message = __expectString(output["message"]);
5640
5239
  }
5641
5240
  return contents;
5642
5241
  };
5643
5242
  const deserializeAws_queryTrigger = (output, context) => {
5644
- const contents = {
5645
- Name: undefined,
5646
- };
5243
+ const contents = {};
5647
5244
  if (output["Name"] !== undefined) {
5648
5245
  contents.Name = __expectString(output["Name"]);
5649
5246
  }
@@ -5657,12 +5254,7 @@ const deserializeAws_queryTriggerList = (output, context) => {
5657
5254
  });
5658
5255
  };
5659
5256
  const deserializeAws_queryValidationMessage = (output, context) => {
5660
- const contents = {
5661
- Message: undefined,
5662
- Severity: undefined,
5663
- Namespace: undefined,
5664
- OptionName: undefined,
5665
- };
5257
+ const contents = {};
5666
5258
  if (output["Message"] !== undefined) {
5667
5259
  contents.Message = __expectString(output["Message"]);
5668
5260
  }