@aws-sdk/client-elastic-beanstalk 3.295.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 +30 -30
@@ -3677,16 +3677,7 @@ const serializeAws_queryVersionLabelsList = (input, context) => {
3677
3677
  return entries;
3678
3678
  };
3679
3679
  const deserializeAws_queryApplicationDescription = (output, context) => {
3680
- const contents = {
3681
- ApplicationArn: undefined,
3682
- ApplicationName: undefined,
3683
- Description: undefined,
3684
- DateCreated: undefined,
3685
- DateUpdated: undefined,
3686
- Versions: undefined,
3687
- ConfigurationTemplates: undefined,
3688
- ResourceLifecycleConfig: undefined,
3689
- };
3680
+ const contents = {};
3690
3681
  if (output["ApplicationArn"] !== undefined) {
3691
3682
  contents.ApplicationArn = (0, smithy_client_1.expectString)(output["ApplicationArn"]);
3692
3683
  }
@@ -3728,18 +3719,14 @@ const deserializeAws_queryApplicationDescriptionList = (output, context) => {
3728
3719
  });
3729
3720
  };
3730
3721
  const deserializeAws_queryApplicationDescriptionMessage = (output, context) => {
3731
- const contents = {
3732
- Application: undefined,
3733
- };
3722
+ const contents = {};
3734
3723
  if (output["Application"] !== undefined) {
3735
3724
  contents.Application = deserializeAws_queryApplicationDescription(output["Application"], context);
3736
3725
  }
3737
3726
  return contents;
3738
3727
  };
3739
3728
  const deserializeAws_queryApplicationDescriptionsMessage = (output, context) => {
3740
- const contents = {
3741
- Applications: undefined,
3742
- };
3729
+ const contents = {};
3743
3730
  if (output.Applications === "") {
3744
3731
  contents.Applications = [];
3745
3732
  }
@@ -3749,12 +3736,7 @@ const deserializeAws_queryApplicationDescriptionsMessage = (output, context) =>
3749
3736
  return contents;
3750
3737
  };
3751
3738
  const deserializeAws_queryApplicationMetrics = (output, context) => {
3752
- const contents = {
3753
- Duration: undefined,
3754
- RequestCount: undefined,
3755
- StatusCodes: undefined,
3756
- Latency: undefined,
3757
- };
3739
+ const contents = {};
3758
3740
  if (output["Duration"] !== undefined) {
3759
3741
  contents.Duration = (0, smithy_client_1.strictParseInt32)(output["Duration"]);
3760
3742
  }
@@ -3770,10 +3752,7 @@ const deserializeAws_queryApplicationMetrics = (output, context) => {
3770
3752
  return contents;
3771
3753
  };
3772
3754
  const deserializeAws_queryApplicationResourceLifecycleConfig = (output, context) => {
3773
- const contents = {
3774
- ServiceRole: undefined,
3775
- VersionLifecycleConfig: undefined,
3776
- };
3755
+ const contents = {};
3777
3756
  if (output["ServiceRole"] !== undefined) {
3778
3757
  contents.ServiceRole = (0, smithy_client_1.expectString)(output["ServiceRole"]);
3779
3758
  }
@@ -3783,10 +3762,7 @@ const deserializeAws_queryApplicationResourceLifecycleConfig = (output, context)
3783
3762
  return contents;
3784
3763
  };
3785
3764
  const deserializeAws_queryApplicationResourceLifecycleDescriptionMessage = (output, context) => {
3786
- const contents = {
3787
- ApplicationName: undefined,
3788
- ResourceLifecycleConfig: undefined,
3789
- };
3765
+ const contents = {};
3790
3766
  if (output["ApplicationName"] !== undefined) {
3791
3767
  contents.ApplicationName = (0, smithy_client_1.expectString)(output["ApplicationName"]);
3792
3768
  }
@@ -3796,18 +3772,7 @@ const deserializeAws_queryApplicationResourceLifecycleDescriptionMessage = (outp
3796
3772
  return contents;
3797
3773
  };
3798
3774
  const deserializeAws_queryApplicationVersionDescription = (output, context) => {
3799
- const contents = {
3800
- ApplicationVersionArn: undefined,
3801
- ApplicationName: undefined,
3802
- Description: undefined,
3803
- VersionLabel: undefined,
3804
- SourceBuildInformation: undefined,
3805
- BuildArn: undefined,
3806
- SourceBundle: undefined,
3807
- DateCreated: undefined,
3808
- DateUpdated: undefined,
3809
- Status: undefined,
3810
- };
3775
+ const contents = {};
3811
3776
  if (output["ApplicationVersionArn"] !== undefined) {
3812
3777
  contents.ApplicationVersionArn = (0, smithy_client_1.expectString)(output["ApplicationVersionArn"]);
3813
3778
  }
@@ -3848,19 +3813,14 @@ const deserializeAws_queryApplicationVersionDescriptionList = (output, context)
3848
3813
  });
3849
3814
  };
3850
3815
  const deserializeAws_queryApplicationVersionDescriptionMessage = (output, context) => {
3851
- const contents = {
3852
- ApplicationVersion: undefined,
3853
- };
3816
+ const contents = {};
3854
3817
  if (output["ApplicationVersion"] !== undefined) {
3855
3818
  contents.ApplicationVersion = deserializeAws_queryApplicationVersionDescription(output["ApplicationVersion"], context);
3856
3819
  }
3857
3820
  return contents;
3858
3821
  };
3859
3822
  const deserializeAws_queryApplicationVersionDescriptionsMessage = (output, context) => {
3860
- const contents = {
3861
- ApplicationVersions: undefined,
3862
- NextToken: undefined,
3863
- };
3823
+ const contents = {};
3864
3824
  if (output.ApplicationVersions === "") {
3865
3825
  contents.ApplicationVersions = [];
3866
3826
  }
@@ -3873,10 +3833,7 @@ const deserializeAws_queryApplicationVersionDescriptionsMessage = (output, conte
3873
3833
  return contents;
3874
3834
  };
3875
3835
  const deserializeAws_queryApplicationVersionLifecycleConfig = (output, context) => {
3876
- const contents = {
3877
- MaxCountRule: undefined,
3878
- MaxAgeRule: undefined,
3879
- };
3836
+ const contents = {};
3880
3837
  if (output["MaxCountRule"] !== undefined) {
3881
3838
  contents.MaxCountRule = deserializeAws_queryMaxCountRule(output["MaxCountRule"], context);
3882
3839
  }
@@ -3886,12 +3843,7 @@ const deserializeAws_queryApplicationVersionLifecycleConfig = (output, context)
3886
3843
  return contents;
3887
3844
  };
3888
3845
  const deserializeAws_queryApplyEnvironmentManagedActionResult = (output, context) => {
3889
- const contents = {
3890
- ActionId: undefined,
3891
- ActionDescription: undefined,
3892
- ActionType: undefined,
3893
- Status: undefined,
3894
- };
3846
+ const contents = {};
3895
3847
  if (output["ActionId"] !== undefined) {
3896
3848
  contents.ActionId = (0, smithy_client_1.expectString)(output["ActionId"]);
3897
3849
  }
@@ -3907,9 +3859,7 @@ const deserializeAws_queryApplyEnvironmentManagedActionResult = (output, context
3907
3859
  return contents;
3908
3860
  };
3909
3861
  const deserializeAws_queryAutoScalingGroup = (output, context) => {
3910
- const contents = {
3911
- Name: undefined,
3912
- };
3862
+ const contents = {};
3913
3863
  if (output["Name"] !== undefined) {
3914
3864
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
3915
3865
  }
@@ -3937,9 +3887,7 @@ const deserializeAws_queryAvailableSolutionStackNamesList = (output, context) =>
3937
3887
  });
3938
3888
  };
3939
3889
  const deserializeAws_queryBuilder = (output, context) => {
3940
- const contents = {
3941
- ARN: undefined,
3942
- };
3890
+ const contents = {};
3943
3891
  if (output["ARN"] !== undefined) {
3944
3892
  contents.ARN = (0, smithy_client_1.expectString)(output["ARN"]);
3945
3893
  }
@@ -3953,10 +3901,7 @@ const deserializeAws_queryCauses = (output, context) => {
3953
3901
  });
3954
3902
  };
3955
3903
  const deserializeAws_queryCheckDNSAvailabilityResultMessage = (output, context) => {
3956
- const contents = {
3957
- Available: undefined,
3958
- FullyQualifiedCNAME: undefined,
3959
- };
3904
+ const contents = {};
3960
3905
  if (output["Available"] !== undefined) {
3961
3906
  contents.Available = (0, smithy_client_1.parseBoolean)(output["Available"]);
3962
3907
  }
@@ -3966,28 +3911,14 @@ const deserializeAws_queryCheckDNSAvailabilityResultMessage = (output, context)
3966
3911
  return contents;
3967
3912
  };
3968
3913
  const deserializeAws_queryCodeBuildNotInServiceRegionException = (output, context) => {
3969
- const contents = {
3970
- message: undefined,
3971
- };
3914
+ const contents = {};
3972
3915
  if (output["message"] !== undefined) {
3973
3916
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
3974
3917
  }
3975
3918
  return contents;
3976
3919
  };
3977
3920
  const deserializeAws_queryConfigurationOptionDescription = (output, context) => {
3978
- const contents = {
3979
- Namespace: undefined,
3980
- Name: undefined,
3981
- DefaultValue: undefined,
3982
- ChangeSeverity: undefined,
3983
- UserDefined: undefined,
3984
- ValueType: undefined,
3985
- ValueOptions: undefined,
3986
- MinValue: undefined,
3987
- MaxValue: undefined,
3988
- MaxLength: undefined,
3989
- Regex: undefined,
3990
- };
3921
+ const contents = {};
3991
3922
  if (output["Namespace"] !== undefined) {
3992
3923
  contents.Namespace = (0, smithy_client_1.expectString)(output["Namespace"]);
3993
3924
  }
@@ -4041,11 +3972,7 @@ const deserializeAws_queryConfigurationOptionPossibleValues = (output, context)
4041
3972
  });
4042
3973
  };
4043
3974
  const deserializeAws_queryConfigurationOptionsDescription = (output, context) => {
4044
- const contents = {
4045
- SolutionStackName: undefined,
4046
- PlatformArn: undefined,
4047
- Options: undefined,
4048
- };
3975
+ const contents = {};
4049
3976
  if (output["SolutionStackName"] !== undefined) {
4050
3977
  contents.SolutionStackName = (0, smithy_client_1.expectString)(output["SolutionStackName"]);
4051
3978
  }
@@ -4061,12 +3988,7 @@ const deserializeAws_queryConfigurationOptionsDescription = (output, context) =>
4061
3988
  return contents;
4062
3989
  };
4063
3990
  const deserializeAws_queryConfigurationOptionSetting = (output, context) => {
4064
- const contents = {
4065
- ResourceName: undefined,
4066
- Namespace: undefined,
4067
- OptionName: undefined,
4068
- Value: undefined,
4069
- };
3991
+ const contents = {};
4070
3992
  if (output["ResourceName"] !== undefined) {
4071
3993
  contents.ResourceName = (0, smithy_client_1.expectString)(output["ResourceName"]);
4072
3994
  }
@@ -4089,18 +4011,7 @@ const deserializeAws_queryConfigurationOptionSettingsList = (output, context) =>
4089
4011
  });
4090
4012
  };
4091
4013
  const deserializeAws_queryConfigurationSettingsDescription = (output, context) => {
4092
- const contents = {
4093
- SolutionStackName: undefined,
4094
- PlatformArn: undefined,
4095
- ApplicationName: undefined,
4096
- TemplateName: undefined,
4097
- Description: undefined,
4098
- EnvironmentName: undefined,
4099
- DeploymentStatus: undefined,
4100
- DateCreated: undefined,
4101
- DateUpdated: undefined,
4102
- OptionSettings: undefined,
4103
- };
4014
+ const contents = {};
4104
4015
  if (output["SolutionStackName"] !== undefined) {
4105
4016
  contents.SolutionStackName = (0, smithy_client_1.expectString)(output["SolutionStackName"]);
4106
4017
  }
@@ -4144,9 +4055,7 @@ const deserializeAws_queryConfigurationSettingsDescriptionList = (output, contex
4144
4055
  });
4145
4056
  };
4146
4057
  const deserializeAws_queryConfigurationSettingsDescriptions = (output, context) => {
4147
- const contents = {
4148
- ConfigurationSettings: undefined,
4149
- };
4058
+ const contents = {};
4150
4059
  if (output.ConfigurationSettings === "") {
4151
4060
  contents.ConfigurationSettings = [];
4152
4061
  }
@@ -4156,9 +4065,7 @@ const deserializeAws_queryConfigurationSettingsDescriptions = (output, context)
4156
4065
  return contents;
4157
4066
  };
4158
4067
  const deserializeAws_queryConfigurationSettingsValidationMessages = (output, context) => {
4159
- const contents = {
4160
- Messages: undefined,
4161
- };
4068
+ const contents = {};
4162
4069
  if (output.Messages === "") {
4163
4070
  contents.Messages = [];
4164
4071
  }
@@ -4175,16 +4082,7 @@ const deserializeAws_queryConfigurationTemplateNamesList = (output, context) =>
4175
4082
  });
4176
4083
  };
4177
4084
  const deserializeAws_queryCPUUtilization = (output, context) => {
4178
- const contents = {
4179
- User: undefined,
4180
- Nice: undefined,
4181
- System: undefined,
4182
- Idle: undefined,
4183
- IOWait: undefined,
4184
- IRQ: undefined,
4185
- SoftIRQ: undefined,
4186
- Privileged: undefined,
4187
- };
4085
+ const contents = {};
4188
4086
  if (output["User"] !== undefined) {
4189
4087
  contents.User = (0, smithy_client_1.strictParseFloat)(output["User"]);
4190
4088
  }
@@ -4212,10 +4110,7 @@ const deserializeAws_queryCPUUtilization = (output, context) => {
4212
4110
  return contents;
4213
4111
  };
4214
4112
  const deserializeAws_queryCreatePlatformVersionResult = (output, context) => {
4215
- const contents = {
4216
- PlatformSummary: undefined,
4217
- Builder: undefined,
4218
- };
4113
+ const contents = {};
4219
4114
  if (output["PlatformSummary"] !== undefined) {
4220
4115
  contents.PlatformSummary = deserializeAws_queryPlatformSummary(output["PlatformSummary"], context);
4221
4116
  }
@@ -4225,19 +4120,14 @@ const deserializeAws_queryCreatePlatformVersionResult = (output, context) => {
4225
4120
  return contents;
4226
4121
  };
4227
4122
  const deserializeAws_queryCreateStorageLocationResultMessage = (output, context) => {
4228
- const contents = {
4229
- S3Bucket: undefined,
4230
- };
4123
+ const contents = {};
4231
4124
  if (output["S3Bucket"] !== undefined) {
4232
4125
  contents.S3Bucket = (0, smithy_client_1.expectString)(output["S3Bucket"]);
4233
4126
  }
4234
4127
  return contents;
4235
4128
  };
4236
4129
  const deserializeAws_queryCustomAmi = (output, context) => {
4237
- const contents = {
4238
- VirtualizationType: undefined,
4239
- ImageId: undefined,
4240
- };
4130
+ const contents = {};
4241
4131
  if (output["VirtualizationType"] !== undefined) {
4242
4132
  contents.VirtualizationType = (0, smithy_client_1.expectString)(output["VirtualizationType"]);
4243
4133
  }
@@ -4254,21 +4144,14 @@ const deserializeAws_queryCustomAmiList = (output, context) => {
4254
4144
  });
4255
4145
  };
4256
4146
  const deserializeAws_queryDeletePlatformVersionResult = (output, context) => {
4257
- const contents = {
4258
- PlatformSummary: undefined,
4259
- };
4147
+ const contents = {};
4260
4148
  if (output["PlatformSummary"] !== undefined) {
4261
4149
  contents.PlatformSummary = deserializeAws_queryPlatformSummary(output["PlatformSummary"], context);
4262
4150
  }
4263
4151
  return contents;
4264
4152
  };
4265
4153
  const deserializeAws_queryDeployment = (output, context) => {
4266
- const contents = {
4267
- VersionLabel: undefined,
4268
- DeploymentId: undefined,
4269
- Status: undefined,
4270
- DeploymentTime: undefined,
4271
- };
4154
+ const contents = {};
4272
4155
  if (output["VersionLabel"] !== undefined) {
4273
4156
  contents.VersionLabel = (0, smithy_client_1.expectString)(output["VersionLabel"]);
4274
4157
  }
@@ -4284,25 +4167,14 @@ const deserializeAws_queryDeployment = (output, context) => {
4284
4167
  return contents;
4285
4168
  };
4286
4169
  const deserializeAws_queryDescribeAccountAttributesResult = (output, context) => {
4287
- const contents = {
4288
- ResourceQuotas: undefined,
4289
- };
4170
+ const contents = {};
4290
4171
  if (output["ResourceQuotas"] !== undefined) {
4291
4172
  contents.ResourceQuotas = deserializeAws_queryResourceQuotas(output["ResourceQuotas"], context);
4292
4173
  }
4293
4174
  return contents;
4294
4175
  };
4295
4176
  const deserializeAws_queryDescribeEnvironmentHealthResult = (output, context) => {
4296
- const contents = {
4297
- EnvironmentName: undefined,
4298
- HealthStatus: undefined,
4299
- Status: undefined,
4300
- Color: undefined,
4301
- Causes: undefined,
4302
- ApplicationMetrics: undefined,
4303
- InstancesHealth: undefined,
4304
- RefreshedAt: undefined,
4305
- };
4177
+ const contents = {};
4306
4178
  if (output["EnvironmentName"] !== undefined) {
4307
4179
  contents.EnvironmentName = (0, smithy_client_1.expectString)(output["EnvironmentName"]);
4308
4180
  }
@@ -4333,10 +4205,7 @@ const deserializeAws_queryDescribeEnvironmentHealthResult = (output, context) =>
4333
4205
  return contents;
4334
4206
  };
4335
4207
  const deserializeAws_queryDescribeEnvironmentManagedActionHistoryResult = (output, context) => {
4336
- const contents = {
4337
- ManagedActionHistoryItems: undefined,
4338
- NextToken: undefined,
4339
- };
4208
+ const contents = {};
4340
4209
  if (output.ManagedActionHistoryItems === "") {
4341
4210
  contents.ManagedActionHistoryItems = [];
4342
4211
  }
@@ -4350,9 +4219,7 @@ const deserializeAws_queryDescribeEnvironmentManagedActionHistoryResult = (outpu
4350
4219
  return contents;
4351
4220
  };
4352
4221
  const deserializeAws_queryDescribeEnvironmentManagedActionsResult = (output, context) => {
4353
- const contents = {
4354
- ManagedActions: undefined,
4355
- };
4222
+ const contents = {};
4356
4223
  if (output.ManagedActions === "") {
4357
4224
  contents.ManagedActions = [];
4358
4225
  }
@@ -4362,11 +4229,7 @@ const deserializeAws_queryDescribeEnvironmentManagedActionsResult = (output, con
4362
4229
  return contents;
4363
4230
  };
4364
4231
  const deserializeAws_queryDescribeInstancesHealthResult = (output, context) => {
4365
- const contents = {
4366
- InstanceHealthList: undefined,
4367
- RefreshedAt: undefined,
4368
- NextToken: undefined,
4369
- };
4232
+ const contents = {};
4370
4233
  if (output.InstanceHealthList === "") {
4371
4234
  contents.InstanceHealthList = [];
4372
4235
  }
@@ -4382,47 +4245,21 @@ const deserializeAws_queryDescribeInstancesHealthResult = (output, context) => {
4382
4245
  return contents;
4383
4246
  };
4384
4247
  const deserializeAws_queryDescribePlatformVersionResult = (output, context) => {
4385
- const contents = {
4386
- PlatformDescription: undefined,
4387
- };
4248
+ const contents = {};
4388
4249
  if (output["PlatformDescription"] !== undefined) {
4389
4250
  contents.PlatformDescription = deserializeAws_queryPlatformDescription(output["PlatformDescription"], context);
4390
4251
  }
4391
4252
  return contents;
4392
4253
  };
4393
4254
  const deserializeAws_queryElasticBeanstalkServiceException = (output, context) => {
4394
- const contents = {
4395
- message: undefined,
4396
- };
4255
+ const contents = {};
4397
4256
  if (output["message"] !== undefined) {
4398
4257
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
4399
4258
  }
4400
4259
  return contents;
4401
4260
  };
4402
4261
  const deserializeAws_queryEnvironmentDescription = (output, context) => {
4403
- const contents = {
4404
- EnvironmentName: undefined,
4405
- EnvironmentId: undefined,
4406
- ApplicationName: undefined,
4407
- VersionLabel: undefined,
4408
- SolutionStackName: undefined,
4409
- PlatformArn: undefined,
4410
- TemplateName: undefined,
4411
- Description: undefined,
4412
- EndpointURL: undefined,
4413
- CNAME: undefined,
4414
- DateCreated: undefined,
4415
- DateUpdated: undefined,
4416
- Status: undefined,
4417
- AbortableOperationInProgress: undefined,
4418
- Health: undefined,
4419
- HealthStatus: undefined,
4420
- Resources: undefined,
4421
- Tier: undefined,
4422
- EnvironmentLinks: undefined,
4423
- EnvironmentArn: undefined,
4424
- OperationsRole: undefined,
4425
- };
4262
+ const contents = {};
4426
4263
  if (output["EnvironmentName"] !== undefined) {
4427
4264
  contents.EnvironmentName = (0, smithy_client_1.expectString)(output["EnvironmentName"]);
4428
4265
  }
@@ -4499,10 +4336,7 @@ const deserializeAws_queryEnvironmentDescriptionsList = (output, context) => {
4499
4336
  });
4500
4337
  };
4501
4338
  const deserializeAws_queryEnvironmentDescriptionsMessage = (output, context) => {
4502
- const contents = {
4503
- Environments: undefined,
4504
- NextToken: undefined,
4505
- };
4339
+ const contents = {};
4506
4340
  if (output.Environments === "") {
4507
4341
  contents.Environments = [];
4508
4342
  }
@@ -4515,12 +4349,7 @@ const deserializeAws_queryEnvironmentDescriptionsMessage = (output, context) =>
4515
4349
  return contents;
4516
4350
  };
4517
4351
  const deserializeAws_queryEnvironmentInfoDescription = (output, context) => {
4518
- const contents = {
4519
- InfoType: undefined,
4520
- Ec2InstanceId: undefined,
4521
- SampleTimestamp: undefined,
4522
- Message: undefined,
4523
- };
4352
+ const contents = {};
4524
4353
  if (output["InfoType"] !== undefined) {
4525
4354
  contents.InfoType = (0, smithy_client_1.expectString)(output["InfoType"]);
4526
4355
  }
@@ -4543,10 +4372,7 @@ const deserializeAws_queryEnvironmentInfoDescriptionList = (output, context) =>
4543
4372
  });
4544
4373
  };
4545
4374
  const deserializeAws_queryEnvironmentLink = (output, context) => {
4546
- const contents = {
4547
- LinkName: undefined,
4548
- EnvironmentName: undefined,
4549
- };
4375
+ const contents = {};
4550
4376
  if (output["LinkName"] !== undefined) {
4551
4377
  contents.LinkName = (0, smithy_client_1.expectString)(output["LinkName"]);
4552
4378
  }
@@ -4563,16 +4389,7 @@ const deserializeAws_queryEnvironmentLinks = (output, context) => {
4563
4389
  });
4564
4390
  };
4565
4391
  const deserializeAws_queryEnvironmentResourceDescription = (output, context) => {
4566
- const contents = {
4567
- EnvironmentName: undefined,
4568
- AutoScalingGroups: undefined,
4569
- Instances: undefined,
4570
- LaunchConfigurations: undefined,
4571
- LaunchTemplates: undefined,
4572
- LoadBalancers: undefined,
4573
- Triggers: undefined,
4574
- Queues: undefined,
4575
- };
4392
+ const contents = {};
4576
4393
  if (output["EnvironmentName"] !== undefined) {
4577
4394
  contents.EnvironmentName = (0, smithy_client_1.expectString)(output["EnvironmentName"]);
4578
4395
  }
@@ -4621,29 +4438,21 @@ const deserializeAws_queryEnvironmentResourceDescription = (output, context) =>
4621
4438
  return contents;
4622
4439
  };
4623
4440
  const deserializeAws_queryEnvironmentResourceDescriptionsMessage = (output, context) => {
4624
- const contents = {
4625
- EnvironmentResources: undefined,
4626
- };
4441
+ const contents = {};
4627
4442
  if (output["EnvironmentResources"] !== undefined) {
4628
4443
  contents.EnvironmentResources = deserializeAws_queryEnvironmentResourceDescription(output["EnvironmentResources"], context);
4629
4444
  }
4630
4445
  return contents;
4631
4446
  };
4632
4447
  const deserializeAws_queryEnvironmentResourcesDescription = (output, context) => {
4633
- const contents = {
4634
- LoadBalancer: undefined,
4635
- };
4448
+ const contents = {};
4636
4449
  if (output["LoadBalancer"] !== undefined) {
4637
4450
  contents.LoadBalancer = deserializeAws_queryLoadBalancerDescription(output["LoadBalancer"], context);
4638
4451
  }
4639
4452
  return contents;
4640
4453
  };
4641
4454
  const deserializeAws_queryEnvironmentTier = (output, context) => {
4642
- const contents = {
4643
- Name: undefined,
4644
- Type: undefined,
4645
- Version: undefined,
4646
- };
4455
+ const contents = {};
4647
4456
  if (output["Name"] !== undefined) {
4648
4457
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
4649
4458
  }
@@ -4656,17 +4465,7 @@ const deserializeAws_queryEnvironmentTier = (output, context) => {
4656
4465
  return contents;
4657
4466
  };
4658
4467
  const deserializeAws_queryEventDescription = (output, context) => {
4659
- const contents = {
4660
- EventDate: undefined,
4661
- Message: undefined,
4662
- ApplicationName: undefined,
4663
- VersionLabel: undefined,
4664
- TemplateName: undefined,
4665
- EnvironmentName: undefined,
4666
- PlatformArn: undefined,
4667
- RequestId: undefined,
4668
- Severity: undefined,
4669
- };
4468
+ const contents = {};
4670
4469
  if (output["EventDate"] !== undefined) {
4671
4470
  contents.EventDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["EventDate"]));
4672
4471
  }
@@ -4704,10 +4503,7 @@ const deserializeAws_queryEventDescriptionList = (output, context) => {
4704
4503
  });
4705
4504
  };
4706
4505
  const deserializeAws_queryEventDescriptionsMessage = (output, context) => {
4707
- const contents = {
4708
- Events: undefined,
4709
- NextToken: undefined,
4710
- };
4506
+ const contents = {};
4711
4507
  if (output.Events === "") {
4712
4508
  contents.Events = [];
4713
4509
  }
@@ -4720,9 +4516,7 @@ const deserializeAws_queryEventDescriptionsMessage = (output, context) => {
4720
4516
  return contents;
4721
4517
  };
4722
4518
  const deserializeAws_queryInstance = (output, context) => {
4723
- const contents = {
4724
- Id: undefined,
4725
- };
4519
+ const contents = {};
4726
4520
  if (output["Id"] !== undefined) {
4727
4521
  contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
4728
4522
  }
@@ -4736,16 +4530,7 @@ const deserializeAws_queryInstanceHealthList = (output, context) => {
4736
4530
  });
4737
4531
  };
4738
4532
  const deserializeAws_queryInstanceHealthSummary = (output, context) => {
4739
- const contents = {
4740
- NoData: undefined,
4741
- Unknown: undefined,
4742
- Pending: undefined,
4743
- Ok: undefined,
4744
- Info: undefined,
4745
- Warning: undefined,
4746
- Degraded: undefined,
4747
- Severe: undefined,
4748
- };
4533
+ const contents = {};
4749
4534
  if (output["NoData"] !== undefined) {
4750
4535
  contents.NoData = (0, smithy_client_1.strictParseInt32)(output["NoData"]);
4751
4536
  }
@@ -4780,34 +4565,21 @@ const deserializeAws_queryInstanceList = (output, context) => {
4780
4565
  });
4781
4566
  };
4782
4567
  const deserializeAws_queryInsufficientPrivilegesException = (output, context) => {
4783
- const contents = {
4784
- message: undefined,
4785
- };
4568
+ const contents = {};
4786
4569
  if (output["message"] !== undefined) {
4787
4570
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
4788
4571
  }
4789
4572
  return contents;
4790
4573
  };
4791
4574
  const deserializeAws_queryInvalidRequestException = (output, context) => {
4792
- const contents = {
4793
- message: undefined,
4794
- };
4575
+ const contents = {};
4795
4576
  if (output["message"] !== undefined) {
4796
4577
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
4797
4578
  }
4798
4579
  return contents;
4799
4580
  };
4800
4581
  const deserializeAws_queryLatency = (output, context) => {
4801
- const contents = {
4802
- P999: undefined,
4803
- P99: undefined,
4804
- P95: undefined,
4805
- P90: undefined,
4806
- P85: undefined,
4807
- P75: undefined,
4808
- P50: undefined,
4809
- P10: undefined,
4810
- };
4582
+ const contents = {};
4811
4583
  if (output["P999"] !== undefined) {
4812
4584
  contents.P999 = (0, smithy_client_1.strictParseFloat)(output["P999"]);
4813
4585
  }
@@ -4835,9 +4607,7 @@ const deserializeAws_queryLatency = (output, context) => {
4835
4607
  return contents;
4836
4608
  };
4837
4609
  const deserializeAws_queryLaunchConfiguration = (output, context) => {
4838
- const contents = {
4839
- Name: undefined,
4840
- };
4610
+ const contents = {};
4841
4611
  if (output["Name"] !== undefined) {
4842
4612
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
4843
4613
  }
@@ -4851,9 +4621,7 @@ const deserializeAws_queryLaunchConfigurationList = (output, context) => {
4851
4621
  });
4852
4622
  };
4853
4623
  const deserializeAws_queryLaunchTemplate = (output, context) => {
4854
- const contents = {
4855
- Id: undefined,
4856
- };
4624
+ const contents = {};
4857
4625
  if (output["Id"] !== undefined) {
4858
4626
  contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
4859
4627
  }
@@ -4867,10 +4635,7 @@ const deserializeAws_queryLaunchTemplateList = (output, context) => {
4867
4635
  });
4868
4636
  };
4869
4637
  const deserializeAws_queryListAvailableSolutionStacksResultMessage = (output, context) => {
4870
- const contents = {
4871
- SolutionStacks: undefined,
4872
- SolutionStackDetails: undefined,
4873
- };
4638
+ const contents = {};
4874
4639
  if (output.SolutionStacks === "") {
4875
4640
  contents.SolutionStacks = [];
4876
4641
  }
@@ -4886,10 +4651,7 @@ const deserializeAws_queryListAvailableSolutionStacksResultMessage = (output, co
4886
4651
  return contents;
4887
4652
  };
4888
4653
  const deserializeAws_queryListener = (output, context) => {
4889
- const contents = {
4890
- Protocol: undefined,
4891
- Port: undefined,
4892
- };
4654
+ const contents = {};
4893
4655
  if (output["Protocol"] !== undefined) {
4894
4656
  contents.Protocol = (0, smithy_client_1.expectString)(output["Protocol"]);
4895
4657
  }
@@ -4899,10 +4661,7 @@ const deserializeAws_queryListener = (output, context) => {
4899
4661
  return contents;
4900
4662
  };
4901
4663
  const deserializeAws_queryListPlatformBranchesResult = (output, context) => {
4902
- const contents = {
4903
- PlatformBranchSummaryList: undefined,
4904
- NextToken: undefined,
4905
- };
4664
+ const contents = {};
4906
4665
  if (output.PlatformBranchSummaryList === "") {
4907
4666
  contents.PlatformBranchSummaryList = [];
4908
4667
  }
@@ -4916,10 +4675,7 @@ const deserializeAws_queryListPlatformBranchesResult = (output, context) => {
4916
4675
  return contents;
4917
4676
  };
4918
4677
  const deserializeAws_queryListPlatformVersionsResult = (output, context) => {
4919
- const contents = {
4920
- PlatformSummaryList: undefined,
4921
- NextToken: undefined,
4922
- };
4678
+ const contents = {};
4923
4679
  if (output.PlatformSummaryList === "") {
4924
4680
  contents.PlatformSummaryList = [];
4925
4681
  }
@@ -4939,20 +4695,14 @@ const deserializeAws_queryLoadAverage = (output, context) => {
4939
4695
  });
4940
4696
  };
4941
4697
  const deserializeAws_queryLoadBalancer = (output, context) => {
4942
- const contents = {
4943
- Name: undefined,
4944
- };
4698
+ const contents = {};
4945
4699
  if (output["Name"] !== undefined) {
4946
4700
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
4947
4701
  }
4948
4702
  return contents;
4949
4703
  };
4950
4704
  const deserializeAws_queryLoadBalancerDescription = (output, context) => {
4951
- const contents = {
4952
- LoadBalancerName: undefined,
4953
- Domain: undefined,
4954
- Listeners: undefined,
4955
- };
4705
+ const contents = {};
4956
4706
  if (output["LoadBalancerName"] !== undefined) {
4957
4707
  contents.LoadBalancerName = (0, smithy_client_1.expectString)(output["LoadBalancerName"]);
4958
4708
  }
@@ -4982,13 +4732,7 @@ const deserializeAws_queryLoadBalancerListenersDescription = (output, context) =
4982
4732
  });
4983
4733
  };
4984
4734
  const deserializeAws_queryManagedAction = (output, context) => {
4985
- const contents = {
4986
- ActionId: undefined,
4987
- ActionDescription: undefined,
4988
- ActionType: undefined,
4989
- Status: undefined,
4990
- WindowStartTime: undefined,
4991
- };
4735
+ const contents = {};
4992
4736
  if (output["ActionId"] !== undefined) {
4993
4737
  contents.ActionId = (0, smithy_client_1.expectString)(output["ActionId"]);
4994
4738
  }
@@ -5007,16 +4751,7 @@ const deserializeAws_queryManagedAction = (output, context) => {
5007
4751
  return contents;
5008
4752
  };
5009
4753
  const deserializeAws_queryManagedActionHistoryItem = (output, context) => {
5010
- const contents = {
5011
- ActionId: undefined,
5012
- ActionType: undefined,
5013
- ActionDescription: undefined,
5014
- FailureType: undefined,
5015
- Status: undefined,
5016
- FailureDescription: undefined,
5017
- ExecutedTime: undefined,
5018
- FinishedTime: undefined,
5019
- };
4754
+ const contents = {};
5020
4755
  if (output["ActionId"] !== undefined) {
5021
4756
  contents.ActionId = (0, smithy_client_1.expectString)(output["ActionId"]);
5022
4757
  }
@@ -5051,9 +4786,7 @@ const deserializeAws_queryManagedActionHistoryItems = (output, context) => {
5051
4786
  });
5052
4787
  };
5053
4788
  const deserializeAws_queryManagedActionInvalidStateException = (output, context) => {
5054
- const contents = {
5055
- message: undefined,
5056
- };
4789
+ const contents = {};
5057
4790
  if (output["message"] !== undefined) {
5058
4791
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5059
4792
  }
@@ -5067,11 +4800,7 @@ const deserializeAws_queryManagedActions = (output, context) => {
5067
4800
  });
5068
4801
  };
5069
4802
  const deserializeAws_queryMaxAgeRule = (output, context) => {
5070
- const contents = {
5071
- Enabled: undefined,
5072
- MaxAgeInDays: undefined,
5073
- DeleteSourceFromS3: undefined,
5074
- };
4803
+ const contents = {};
5075
4804
  if (output["Enabled"] !== undefined) {
5076
4805
  contents.Enabled = (0, smithy_client_1.parseBoolean)(output["Enabled"]);
5077
4806
  }
@@ -5084,11 +4813,7 @@ const deserializeAws_queryMaxAgeRule = (output, context) => {
5084
4813
  return contents;
5085
4814
  };
5086
4815
  const deserializeAws_queryMaxCountRule = (output, context) => {
5087
- const contents = {
5088
- Enabled: undefined,
5089
- MaxCount: undefined,
5090
- DeleteSourceFromS3: undefined,
5091
- };
4816
+ const contents = {};
5092
4817
  if (output["Enabled"] !== undefined) {
5093
4818
  contents.Enabled = (0, smithy_client_1.parseBoolean)(output["Enabled"]);
5094
4819
  }
@@ -5101,19 +4826,14 @@ const deserializeAws_queryMaxCountRule = (output, context) => {
5101
4826
  return contents;
5102
4827
  };
5103
4828
  const deserializeAws_queryOperationInProgressException = (output, context) => {
5104
- const contents = {
5105
- message: undefined,
5106
- };
4829
+ const contents = {};
5107
4830
  if (output["message"] !== undefined) {
5108
4831
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5109
4832
  }
5110
4833
  return contents;
5111
4834
  };
5112
4835
  const deserializeAws_queryOptionRestrictionRegex = (output, context) => {
5113
- const contents = {
5114
- Pattern: undefined,
5115
- Label: undefined,
5116
- };
4836
+ const contents = {};
5117
4837
  if (output["Pattern"] !== undefined) {
5118
4838
  contents.Pattern = (0, smithy_client_1.expectString)(output["Pattern"]);
5119
4839
  }
@@ -5123,13 +4843,7 @@ const deserializeAws_queryOptionRestrictionRegex = (output, context) => {
5123
4843
  return contents;
5124
4844
  };
5125
4845
  const deserializeAws_queryPlatformBranchSummary = (output, context) => {
5126
- const contents = {
5127
- PlatformName: undefined,
5128
- BranchName: undefined,
5129
- LifecycleState: undefined,
5130
- BranchOrder: undefined,
5131
- SupportedTierList: undefined,
5132
- };
4846
+ const contents = {};
5133
4847
  if (output["PlatformName"] !== undefined) {
5134
4848
  contents.PlatformName = (0, smithy_client_1.expectString)(output["PlatformName"]);
5135
4849
  }
@@ -5158,29 +4872,7 @@ const deserializeAws_queryPlatformBranchSummaryList = (output, context) => {
5158
4872
  });
5159
4873
  };
5160
4874
  const deserializeAws_queryPlatformDescription = (output, context) => {
5161
- const contents = {
5162
- PlatformArn: undefined,
5163
- PlatformOwner: undefined,
5164
- PlatformName: undefined,
5165
- PlatformVersion: undefined,
5166
- SolutionStackName: undefined,
5167
- PlatformStatus: undefined,
5168
- DateCreated: undefined,
5169
- DateUpdated: undefined,
5170
- PlatformCategory: undefined,
5171
- Description: undefined,
5172
- Maintainer: undefined,
5173
- OperatingSystemName: undefined,
5174
- OperatingSystemVersion: undefined,
5175
- ProgrammingLanguages: undefined,
5176
- Frameworks: undefined,
5177
- CustomAmiList: undefined,
5178
- SupportedTierList: undefined,
5179
- SupportedAddonList: undefined,
5180
- PlatformLifecycleState: undefined,
5181
- PlatformBranchName: undefined,
5182
- PlatformBranchLifecycleState: undefined,
5183
- };
4875
+ const contents = {};
5184
4876
  if (output["PlatformArn"] !== undefined) {
5185
4877
  contents.PlatformArn = (0, smithy_client_1.expectString)(output["PlatformArn"]);
5186
4878
  }
@@ -5262,10 +4954,7 @@ const deserializeAws_queryPlatformDescription = (output, context) => {
5262
4954
  return contents;
5263
4955
  };
5264
4956
  const deserializeAws_queryPlatformFramework = (output, context) => {
5265
- const contents = {
5266
- Name: undefined,
5267
- Version: undefined,
5268
- };
4957
+ const contents = {};
5269
4958
  if (output["Name"] !== undefined) {
5270
4959
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
5271
4960
  }
@@ -5282,10 +4971,7 @@ const deserializeAws_queryPlatformFrameworks = (output, context) => {
5282
4971
  });
5283
4972
  };
5284
4973
  const deserializeAws_queryPlatformProgrammingLanguage = (output, context) => {
5285
- const contents = {
5286
- Name: undefined,
5287
- Version: undefined,
5288
- };
4974
+ const contents = {};
5289
4975
  if (output["Name"] !== undefined) {
5290
4976
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
5291
4977
  }
@@ -5302,20 +4988,7 @@ const deserializeAws_queryPlatformProgrammingLanguages = (output, context) => {
5302
4988
  });
5303
4989
  };
5304
4990
  const deserializeAws_queryPlatformSummary = (output, context) => {
5305
- const contents = {
5306
- PlatformArn: undefined,
5307
- PlatformOwner: undefined,
5308
- PlatformStatus: undefined,
5309
- PlatformCategory: undefined,
5310
- OperatingSystemName: undefined,
5311
- OperatingSystemVersion: undefined,
5312
- SupportedTierList: undefined,
5313
- SupportedAddonList: undefined,
5314
- PlatformLifecycleState: undefined,
5315
- PlatformVersion: undefined,
5316
- PlatformBranchName: undefined,
5317
- PlatformBranchLifecycleState: undefined,
5318
- };
4991
+ const contents = {};
5319
4992
  if (output["PlatformArn"] !== undefined) {
5320
4993
  contents.PlatformArn = (0, smithy_client_1.expectString)(output["PlatformArn"]);
5321
4994
  }
@@ -5368,19 +5041,14 @@ const deserializeAws_queryPlatformSummaryList = (output, context) => {
5368
5041
  });
5369
5042
  };
5370
5043
  const deserializeAws_queryPlatformVersionStillReferencedException = (output, context) => {
5371
- const contents = {
5372
- message: undefined,
5373
- };
5044
+ const contents = {};
5374
5045
  if (output["message"] !== undefined) {
5375
5046
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5376
5047
  }
5377
5048
  return contents;
5378
5049
  };
5379
5050
  const deserializeAws_queryQueue = (output, context) => {
5380
- const contents = {
5381
- Name: undefined,
5382
- URL: undefined,
5383
- };
5051
+ const contents = {};
5384
5052
  if (output["Name"] !== undefined) {
5385
5053
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
5386
5054
  }
@@ -5397,31 +5065,21 @@ const deserializeAws_queryQueueList = (output, context) => {
5397
5065
  });
5398
5066
  };
5399
5067
  const deserializeAws_queryResourceNotFoundException = (output, context) => {
5400
- const contents = {
5401
- message: undefined,
5402
- };
5068
+ const contents = {};
5403
5069
  if (output["message"] !== undefined) {
5404
5070
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5405
5071
  }
5406
5072
  return contents;
5407
5073
  };
5408
5074
  const deserializeAws_queryResourceQuota = (output, context) => {
5409
- const contents = {
5410
- Maximum: undefined,
5411
- };
5075
+ const contents = {};
5412
5076
  if (output["Maximum"] !== undefined) {
5413
5077
  contents.Maximum = (0, smithy_client_1.strictParseInt32)(output["Maximum"]);
5414
5078
  }
5415
5079
  return contents;
5416
5080
  };
5417
5081
  const deserializeAws_queryResourceQuotas = (output, context) => {
5418
- const contents = {
5419
- ApplicationQuota: undefined,
5420
- ApplicationVersionQuota: undefined,
5421
- EnvironmentQuota: undefined,
5422
- ConfigurationTemplateQuota: undefined,
5423
- CustomPlatformQuota: undefined,
5424
- };
5082
+ const contents = {};
5425
5083
  if (output["ApplicationQuota"] !== undefined) {
5426
5084
  contents.ApplicationQuota = deserializeAws_queryResourceQuota(output["ApplicationQuota"], context);
5427
5085
  }
@@ -5440,10 +5098,7 @@ const deserializeAws_queryResourceQuotas = (output, context) => {
5440
5098
  return contents;
5441
5099
  };
5442
5100
  const deserializeAws_queryResourceTagsDescriptionMessage = (output, context) => {
5443
- const contents = {
5444
- ResourceArn: undefined,
5445
- ResourceTags: undefined,
5446
- };
5101
+ const contents = {};
5447
5102
  if (output["ResourceArn"] !== undefined) {
5448
5103
  contents.ResourceArn = (0, smithy_client_1.expectString)(output["ResourceArn"]);
5449
5104
  }
@@ -5456,18 +5111,14 @@ const deserializeAws_queryResourceTagsDescriptionMessage = (output, context) =>
5456
5111
  return contents;
5457
5112
  };
5458
5113
  const deserializeAws_queryResourceTypeNotSupportedException = (output, context) => {
5459
- const contents = {
5460
- message: undefined,
5461
- };
5114
+ const contents = {};
5462
5115
  if (output["message"] !== undefined) {
5463
5116
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5464
5117
  }
5465
5118
  return contents;
5466
5119
  };
5467
5120
  const deserializeAws_queryRetrieveEnvironmentInfoResultMessage = (output, context) => {
5468
- const contents = {
5469
- EnvironmentInfo: undefined,
5470
- };
5121
+ const contents = {};
5471
5122
  if (output.EnvironmentInfo === "") {
5472
5123
  contents.EnvironmentInfo = [];
5473
5124
  }
@@ -5477,10 +5128,7 @@ const deserializeAws_queryRetrieveEnvironmentInfoResultMessage = (output, contex
5477
5128
  return contents;
5478
5129
  };
5479
5130
  const deserializeAws_queryS3Location = (output, context) => {
5480
- const contents = {
5481
- S3Bucket: undefined,
5482
- S3Key: undefined,
5483
- };
5131
+ const contents = {};
5484
5132
  if (output["S3Bucket"] !== undefined) {
5485
5133
  contents.S3Bucket = (0, smithy_client_1.expectString)(output["S3Bucket"]);
5486
5134
  }
@@ -5490,36 +5138,21 @@ const deserializeAws_queryS3Location = (output, context) => {
5490
5138
  return contents;
5491
5139
  };
5492
5140
  const deserializeAws_queryS3LocationNotInServiceRegionException = (output, context) => {
5493
- const contents = {
5494
- message: undefined,
5495
- };
5141
+ const contents = {};
5496
5142
  if (output["message"] !== undefined) {
5497
5143
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5498
5144
  }
5499
5145
  return contents;
5500
5146
  };
5501
5147
  const deserializeAws_queryS3SubscriptionRequiredException = (output, context) => {
5502
- const contents = {
5503
- message: undefined,
5504
- };
5148
+ const contents = {};
5505
5149
  if (output["message"] !== undefined) {
5506
5150
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5507
5151
  }
5508
5152
  return contents;
5509
5153
  };
5510
5154
  const deserializeAws_querySingleInstanceHealth = (output, context) => {
5511
- const contents = {
5512
- InstanceId: undefined,
5513
- HealthStatus: undefined,
5514
- Color: undefined,
5515
- Causes: undefined,
5516
- LaunchedAt: undefined,
5517
- ApplicationMetrics: undefined,
5518
- System: undefined,
5519
- Deployment: undefined,
5520
- AvailabilityZone: undefined,
5521
- InstanceType: undefined,
5522
- };
5155
+ const contents = {};
5523
5156
  if (output["InstanceId"] !== undefined) {
5524
5157
  contents.InstanceId = (0, smithy_client_1.expectString)(output["InstanceId"]);
5525
5158
  }
@@ -5556,10 +5189,7 @@ const deserializeAws_querySingleInstanceHealth = (output, context) => {
5556
5189
  return contents;
5557
5190
  };
5558
5191
  const deserializeAws_querySolutionStackDescription = (output, context) => {
5559
- const contents = {
5560
- SolutionStackName: undefined,
5561
- PermittedFileTypes: undefined,
5562
- };
5192
+ const contents = {};
5563
5193
  if (output["SolutionStackName"] !== undefined) {
5564
5194
  contents.SolutionStackName = (0, smithy_client_1.expectString)(output["SolutionStackName"]);
5565
5195
  }
@@ -5579,11 +5209,7 @@ const deserializeAws_querySolutionStackFileTypeList = (output, context) => {
5579
5209
  });
5580
5210
  };
5581
5211
  const deserializeAws_querySourceBuildInformation = (output, context) => {
5582
- const contents = {
5583
- SourceType: undefined,
5584
- SourceRepository: undefined,
5585
- SourceLocation: undefined,
5586
- };
5212
+ const contents = {};
5587
5213
  if (output["SourceType"] !== undefined) {
5588
5214
  contents.SourceType = (0, smithy_client_1.expectString)(output["SourceType"]);
5589
5215
  }
@@ -5596,21 +5222,14 @@ const deserializeAws_querySourceBuildInformation = (output, context) => {
5596
5222
  return contents;
5597
5223
  };
5598
5224
  const deserializeAws_querySourceBundleDeletionException = (output, context) => {
5599
- const contents = {
5600
- message: undefined,
5601
- };
5225
+ const contents = {};
5602
5226
  if (output["message"] !== undefined) {
5603
5227
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5604
5228
  }
5605
5229
  return contents;
5606
5230
  };
5607
5231
  const deserializeAws_queryStatusCodes = (output, context) => {
5608
- const contents = {
5609
- Status2xx: undefined,
5610
- Status3xx: undefined,
5611
- Status4xx: undefined,
5612
- Status5xx: undefined,
5613
- };
5232
+ const contents = {};
5614
5233
  if (output["Status2xx"] !== undefined) {
5615
5234
  contents.Status2xx = (0, smithy_client_1.strictParseInt32)(output["Status2xx"]);
5616
5235
  }
@@ -5640,10 +5259,7 @@ const deserializeAws_querySupportedTierList = (output, context) => {
5640
5259
  });
5641
5260
  };
5642
5261
  const deserializeAws_querySystemStatus = (output, context) => {
5643
- const contents = {
5644
- CPUUtilization: undefined,
5645
- LoadAverage: undefined,
5646
- };
5262
+ const contents = {};
5647
5263
  if (output["CPUUtilization"] !== undefined) {
5648
5264
  contents.CPUUtilization = deserializeAws_queryCPUUtilization(output["CPUUtilization"], context);
5649
5265
  }
@@ -5656,10 +5272,7 @@ const deserializeAws_querySystemStatus = (output, context) => {
5656
5272
  return contents;
5657
5273
  };
5658
5274
  const deserializeAws_queryTag = (output, context) => {
5659
- const contents = {
5660
- Key: undefined,
5661
- Value: undefined,
5662
- };
5275
+ const contents = {};
5663
5276
  if (output["Key"] !== undefined) {
5664
5277
  contents.Key = (0, smithy_client_1.expectString)(output["Key"]);
5665
5278
  }
@@ -5676,72 +5289,56 @@ const deserializeAws_queryTagList = (output, context) => {
5676
5289
  });
5677
5290
  };
5678
5291
  const deserializeAws_queryTooManyApplicationsException = (output, context) => {
5679
- const contents = {
5680
- message: undefined,
5681
- };
5292
+ const contents = {};
5682
5293
  if (output["message"] !== undefined) {
5683
5294
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5684
5295
  }
5685
5296
  return contents;
5686
5297
  };
5687
5298
  const deserializeAws_queryTooManyApplicationVersionsException = (output, context) => {
5688
- const contents = {
5689
- message: undefined,
5690
- };
5299
+ const contents = {};
5691
5300
  if (output["message"] !== undefined) {
5692
5301
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5693
5302
  }
5694
5303
  return contents;
5695
5304
  };
5696
5305
  const deserializeAws_queryTooManyBucketsException = (output, context) => {
5697
- const contents = {
5698
- message: undefined,
5699
- };
5306
+ const contents = {};
5700
5307
  if (output["message"] !== undefined) {
5701
5308
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5702
5309
  }
5703
5310
  return contents;
5704
5311
  };
5705
5312
  const deserializeAws_queryTooManyConfigurationTemplatesException = (output, context) => {
5706
- const contents = {
5707
- message: undefined,
5708
- };
5313
+ const contents = {};
5709
5314
  if (output["message"] !== undefined) {
5710
5315
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5711
5316
  }
5712
5317
  return contents;
5713
5318
  };
5714
5319
  const deserializeAws_queryTooManyEnvironmentsException = (output, context) => {
5715
- const contents = {
5716
- message: undefined,
5717
- };
5320
+ const contents = {};
5718
5321
  if (output["message"] !== undefined) {
5719
5322
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5720
5323
  }
5721
5324
  return contents;
5722
5325
  };
5723
5326
  const deserializeAws_queryTooManyPlatformsException = (output, context) => {
5724
- const contents = {
5725
- message: undefined,
5726
- };
5327
+ const contents = {};
5727
5328
  if (output["message"] !== undefined) {
5728
5329
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5729
5330
  }
5730
5331
  return contents;
5731
5332
  };
5732
5333
  const deserializeAws_queryTooManyTagsException = (output, context) => {
5733
- const contents = {
5734
- message: undefined,
5735
- };
5334
+ const contents = {};
5736
5335
  if (output["message"] !== undefined) {
5737
5336
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
5738
5337
  }
5739
5338
  return contents;
5740
5339
  };
5741
5340
  const deserializeAws_queryTrigger = (output, context) => {
5742
- const contents = {
5743
- Name: undefined,
5744
- };
5341
+ const contents = {};
5745
5342
  if (output["Name"] !== undefined) {
5746
5343
  contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
5747
5344
  }
@@ -5755,12 +5352,7 @@ const deserializeAws_queryTriggerList = (output, context) => {
5755
5352
  });
5756
5353
  };
5757
5354
  const deserializeAws_queryValidationMessage = (output, context) => {
5758
- const contents = {
5759
- Message: undefined,
5760
- Severity: undefined,
5761
- Namespace: undefined,
5762
- OptionName: undefined,
5763
- };
5355
+ const contents = {};
5764
5356
  if (output["Message"] !== undefined) {
5765
5357
  contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
5766
5358
  }