@aws-sdk/client-appconfig 3.54.0 → 3.56.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 (51) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/AppConfigClient.js +13 -13
  3. package/dist-cjs/commands/CreateApplicationCommand.js +3 -3
  4. package/dist-cjs/commands/CreateConfigurationProfileCommand.js +3 -3
  5. package/dist-cjs/commands/CreateDeploymentStrategyCommand.js +3 -3
  6. package/dist-cjs/commands/CreateEnvironmentCommand.js +3 -3
  7. package/dist-cjs/commands/CreateHostedConfigurationVersionCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteApplicationCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteConfigurationProfileCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteDeploymentStrategyCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteEnvironmentCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteHostedConfigurationVersionCommand.js +3 -3
  13. package/dist-cjs/commands/GetApplicationCommand.js +3 -3
  14. package/dist-cjs/commands/GetConfigurationCommand.js +3 -3
  15. package/dist-cjs/commands/GetConfigurationProfileCommand.js +3 -3
  16. package/dist-cjs/commands/GetDeploymentCommand.js +3 -3
  17. package/dist-cjs/commands/GetDeploymentStrategyCommand.js +3 -3
  18. package/dist-cjs/commands/GetEnvironmentCommand.js +3 -3
  19. package/dist-cjs/commands/GetHostedConfigurationVersionCommand.js +3 -3
  20. package/dist-cjs/commands/ListApplicationsCommand.js +3 -3
  21. package/dist-cjs/commands/ListConfigurationProfilesCommand.js +3 -3
  22. package/dist-cjs/commands/ListDeploymentStrategiesCommand.js +3 -3
  23. package/dist-cjs/commands/ListDeploymentsCommand.js +3 -3
  24. package/dist-cjs/commands/ListEnvironmentsCommand.js +3 -3
  25. package/dist-cjs/commands/ListHostedConfigurationVersionsCommand.js +3 -3
  26. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  27. package/dist-cjs/commands/StartDeploymentCommand.js +3 -3
  28. package/dist-cjs/commands/StopDeploymentCommand.js +3 -3
  29. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  30. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  31. package/dist-cjs/commands/UpdateApplicationCommand.js +3 -3
  32. package/dist-cjs/commands/UpdateConfigurationProfileCommand.js +3 -3
  33. package/dist-cjs/commands/UpdateDeploymentStrategyCommand.js +3 -3
  34. package/dist-cjs/commands/UpdateEnvironmentCommand.js +3 -3
  35. package/dist-cjs/commands/ValidateConfigurationCommand.js +3 -3
  36. package/dist-cjs/endpoints.js +1 -1
  37. package/dist-cjs/protocols/Aws_restJson1.js +304 -304
  38. package/dist-cjs/runtimeConfig.browser.js +4 -4
  39. package/dist-cjs/runtimeConfig.js +9 -9
  40. package/dist-cjs/runtimeConfig.native.js +1 -1
  41. package/dist-es/AppConfig.js +33 -33
  42. package/dist-es/pagination/ListApplicationsPaginator.js +4 -4
  43. package/dist-es/pagination/ListConfigurationProfilesPaginator.js +4 -4
  44. package/dist-es/pagination/ListDeploymentStrategiesPaginator.js +4 -4
  45. package/dist-es/pagination/ListDeploymentsPaginator.js +4 -4
  46. package/dist-es/pagination/ListEnvironmentsPaginator.js +4 -4
  47. package/dist-es/pagination/ListHostedConfigurationVersionsPaginator.js +4 -4
  48. package/dist-es/protocols/Aws_restJson1.js +33 -33
  49. package/dist-types/runtimeConfig.native.d.ts +2 -2
  50. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  51. package/package.json +34 -34
@@ -41,7 +41,7 @@ const serializeAws_restJson1CreateConfigurationProfileCommand = async (input, co
41
41
  if (labelValue.length <= 0) {
42
42
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
43
43
  }
44
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
44
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
45
45
  }
46
46
  else {
47
47
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -83,7 +83,7 @@ const serializeAws_restJson1CreateDeploymentStrategyCommand = async (input, cont
83
83
  ...(input.FinalBakeTimeInMinutes !== undefined &&
84
84
  input.FinalBakeTimeInMinutes !== null && { FinalBakeTimeInMinutes: input.FinalBakeTimeInMinutes }),
85
85
  ...(input.GrowthFactor !== undefined &&
86
- input.GrowthFactor !== null && { GrowthFactor: smithy_client_1.serializeFloat(input.GrowthFactor) }),
86
+ input.GrowthFactor !== null && { GrowthFactor: (0, smithy_client_1.serializeFloat)(input.GrowthFactor) }),
87
87
  ...(input.GrowthType !== undefined && input.GrowthType !== null && { GrowthType: input.GrowthType }),
88
88
  ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
89
89
  ...(input.ReplicateTo !== undefined && input.ReplicateTo !== null && { ReplicateTo: input.ReplicateTo }),
@@ -112,7 +112,7 @@ const serializeAws_restJson1CreateEnvironmentCommand = async (input, context) =>
112
112
  if (labelValue.length <= 0) {
113
113
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
114
114
  }
115
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
115
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
116
116
  }
117
117
  else {
118
118
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -153,7 +153,7 @@ const serializeAws_restJson1CreateHostedConfigurationVersionCommand = async (inp
153
153
  if (labelValue.length <= 0) {
154
154
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
155
155
  }
156
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
156
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
157
157
  }
158
158
  else {
159
159
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -163,7 +163,7 @@ const serializeAws_restJson1CreateHostedConfigurationVersionCommand = async (inp
163
163
  if (labelValue.length <= 0) {
164
164
  throw new Error("Empty value provided for input HTTP label: ConfigurationProfileId.");
165
165
  }
166
- resolvedPath = resolvedPath.replace("{ConfigurationProfileId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
166
+ resolvedPath = resolvedPath.replace("{ConfigurationProfileId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
167
167
  }
168
168
  else {
169
169
  throw new Error("No value provided for input HTTP label: ConfigurationProfileId.");
@@ -192,7 +192,7 @@ const serializeAws_restJson1DeleteApplicationCommand = async (input, context) =>
192
192
  if (labelValue.length <= 0) {
193
193
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
194
194
  }
195
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
195
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
196
196
  }
197
197
  else {
198
198
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -219,7 +219,7 @@ const serializeAws_restJson1DeleteConfigurationProfileCommand = async (input, co
219
219
  if (labelValue.length <= 0) {
220
220
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
221
221
  }
222
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
222
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
223
223
  }
224
224
  else {
225
225
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -229,7 +229,7 @@ const serializeAws_restJson1DeleteConfigurationProfileCommand = async (input, co
229
229
  if (labelValue.length <= 0) {
230
230
  throw new Error("Empty value provided for input HTTP label: ConfigurationProfileId.");
231
231
  }
232
- resolvedPath = resolvedPath.replace("{ConfigurationProfileId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
232
+ resolvedPath = resolvedPath.replace("{ConfigurationProfileId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
233
233
  }
234
234
  else {
235
235
  throw new Error("No value provided for input HTTP label: ConfigurationProfileId.");
@@ -256,7 +256,7 @@ const serializeAws_restJson1DeleteDeploymentStrategyCommand = async (input, cont
256
256
  if (labelValue.length <= 0) {
257
257
  throw new Error("Empty value provided for input HTTP label: DeploymentStrategyId.");
258
258
  }
259
- resolvedPath = resolvedPath.replace("{DeploymentStrategyId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
259
+ resolvedPath = resolvedPath.replace("{DeploymentStrategyId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
260
260
  }
261
261
  else {
262
262
  throw new Error("No value provided for input HTTP label: DeploymentStrategyId.");
@@ -283,7 +283,7 @@ const serializeAws_restJson1DeleteEnvironmentCommand = async (input, context) =>
283
283
  if (labelValue.length <= 0) {
284
284
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
285
285
  }
286
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
286
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
287
287
  }
288
288
  else {
289
289
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -293,7 +293,7 @@ const serializeAws_restJson1DeleteEnvironmentCommand = async (input, context) =>
293
293
  if (labelValue.length <= 0) {
294
294
  throw new Error("Empty value provided for input HTTP label: EnvironmentId.");
295
295
  }
296
- resolvedPath = resolvedPath.replace("{EnvironmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
296
+ resolvedPath = resolvedPath.replace("{EnvironmentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
297
297
  }
298
298
  else {
299
299
  throw new Error("No value provided for input HTTP label: EnvironmentId.");
@@ -320,7 +320,7 @@ const serializeAws_restJson1DeleteHostedConfigurationVersionCommand = async (inp
320
320
  if (labelValue.length <= 0) {
321
321
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
322
322
  }
323
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
323
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
324
324
  }
325
325
  else {
326
326
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -330,7 +330,7 @@ const serializeAws_restJson1DeleteHostedConfigurationVersionCommand = async (inp
330
330
  if (labelValue.length <= 0) {
331
331
  throw new Error("Empty value provided for input HTTP label: ConfigurationProfileId.");
332
332
  }
333
- resolvedPath = resolvedPath.replace("{ConfigurationProfileId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
333
+ resolvedPath = resolvedPath.replace("{ConfigurationProfileId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
334
334
  }
335
335
  else {
336
336
  throw new Error("No value provided for input HTTP label: ConfigurationProfileId.");
@@ -340,7 +340,7 @@ const serializeAws_restJson1DeleteHostedConfigurationVersionCommand = async (inp
340
340
  if (labelValue.length <= 0) {
341
341
  throw new Error("Empty value provided for input HTTP label: VersionNumber.");
342
342
  }
343
- resolvedPath = resolvedPath.replace("{VersionNumber}", smithy_client_1.extendedEncodeURIComponent(labelValue));
343
+ resolvedPath = resolvedPath.replace("{VersionNumber}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
344
344
  }
345
345
  else {
346
346
  throw new Error("No value provided for input HTTP label: VersionNumber.");
@@ -366,7 +366,7 @@ const serializeAws_restJson1GetApplicationCommand = async (input, context) => {
366
366
  if (labelValue.length <= 0) {
367
367
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
368
368
  }
369
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
369
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
370
370
  }
371
371
  else {
372
372
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -393,7 +393,7 @@ const serializeAws_restJson1GetConfigurationCommand = async (input, context) =>
393
393
  if (labelValue.length <= 0) {
394
394
  throw new Error("Empty value provided for input HTTP label: Application.");
395
395
  }
396
- resolvedPath = resolvedPath.replace("{Application}", smithy_client_1.extendedEncodeURIComponent(labelValue));
396
+ resolvedPath = resolvedPath.replace("{Application}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
397
397
  }
398
398
  else {
399
399
  throw new Error("No value provided for input HTTP label: Application.");
@@ -403,7 +403,7 @@ const serializeAws_restJson1GetConfigurationCommand = async (input, context) =>
403
403
  if (labelValue.length <= 0) {
404
404
  throw new Error("Empty value provided for input HTTP label: Environment.");
405
405
  }
406
- resolvedPath = resolvedPath.replace("{Environment}", smithy_client_1.extendedEncodeURIComponent(labelValue));
406
+ resolvedPath = resolvedPath.replace("{Environment}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
407
407
  }
408
408
  else {
409
409
  throw new Error("No value provided for input HTTP label: Environment.");
@@ -413,7 +413,7 @@ const serializeAws_restJson1GetConfigurationCommand = async (input, context) =>
413
413
  if (labelValue.length <= 0) {
414
414
  throw new Error("Empty value provided for input HTTP label: Configuration.");
415
415
  }
416
- resolvedPath = resolvedPath.replace("{Configuration}", smithy_client_1.extendedEncodeURIComponent(labelValue));
416
+ resolvedPath = resolvedPath.replace("{Configuration}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
417
417
  }
418
418
  else {
419
419
  throw new Error("No value provided for input HTTP label: Configuration.");
@@ -447,7 +447,7 @@ const serializeAws_restJson1GetConfigurationProfileCommand = async (input, conte
447
447
  if (labelValue.length <= 0) {
448
448
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
449
449
  }
450
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
450
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
451
451
  }
452
452
  else {
453
453
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -457,7 +457,7 @@ const serializeAws_restJson1GetConfigurationProfileCommand = async (input, conte
457
457
  if (labelValue.length <= 0) {
458
458
  throw new Error("Empty value provided for input HTTP label: ConfigurationProfileId.");
459
459
  }
460
- resolvedPath = resolvedPath.replace("{ConfigurationProfileId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
460
+ resolvedPath = resolvedPath.replace("{ConfigurationProfileId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
461
461
  }
462
462
  else {
463
463
  throw new Error("No value provided for input HTTP label: ConfigurationProfileId.");
@@ -484,7 +484,7 @@ const serializeAws_restJson1GetDeploymentCommand = async (input, context) => {
484
484
  if (labelValue.length <= 0) {
485
485
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
486
486
  }
487
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
487
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
488
488
  }
489
489
  else {
490
490
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -494,7 +494,7 @@ const serializeAws_restJson1GetDeploymentCommand = async (input, context) => {
494
494
  if (labelValue.length <= 0) {
495
495
  throw new Error("Empty value provided for input HTTP label: EnvironmentId.");
496
496
  }
497
- resolvedPath = resolvedPath.replace("{EnvironmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
497
+ resolvedPath = resolvedPath.replace("{EnvironmentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
498
498
  }
499
499
  else {
500
500
  throw new Error("No value provided for input HTTP label: EnvironmentId.");
@@ -504,7 +504,7 @@ const serializeAws_restJson1GetDeploymentCommand = async (input, context) => {
504
504
  if (labelValue.length <= 0) {
505
505
  throw new Error("Empty value provided for input HTTP label: DeploymentNumber.");
506
506
  }
507
- resolvedPath = resolvedPath.replace("{DeploymentNumber}", smithy_client_1.extendedEncodeURIComponent(labelValue));
507
+ resolvedPath = resolvedPath.replace("{DeploymentNumber}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
508
508
  }
509
509
  else {
510
510
  throw new Error("No value provided for input HTTP label: DeploymentNumber.");
@@ -531,7 +531,7 @@ const serializeAws_restJson1GetDeploymentStrategyCommand = async (input, context
531
531
  if (labelValue.length <= 0) {
532
532
  throw new Error("Empty value provided for input HTTP label: DeploymentStrategyId.");
533
533
  }
534
- resolvedPath = resolvedPath.replace("{DeploymentStrategyId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
534
+ resolvedPath = resolvedPath.replace("{DeploymentStrategyId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
535
535
  }
536
536
  else {
537
537
  throw new Error("No value provided for input HTTP label: DeploymentStrategyId.");
@@ -558,7 +558,7 @@ const serializeAws_restJson1GetEnvironmentCommand = async (input, context) => {
558
558
  if (labelValue.length <= 0) {
559
559
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
560
560
  }
561
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
561
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
562
562
  }
563
563
  else {
564
564
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -568,7 +568,7 @@ const serializeAws_restJson1GetEnvironmentCommand = async (input, context) => {
568
568
  if (labelValue.length <= 0) {
569
569
  throw new Error("Empty value provided for input HTTP label: EnvironmentId.");
570
570
  }
571
- resolvedPath = resolvedPath.replace("{EnvironmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
571
+ resolvedPath = resolvedPath.replace("{EnvironmentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
572
572
  }
573
573
  else {
574
574
  throw new Error("No value provided for input HTTP label: EnvironmentId.");
@@ -595,7 +595,7 @@ const serializeAws_restJson1GetHostedConfigurationVersionCommand = async (input,
595
595
  if (labelValue.length <= 0) {
596
596
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
597
597
  }
598
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
598
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
599
599
  }
600
600
  else {
601
601
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -605,7 +605,7 @@ const serializeAws_restJson1GetHostedConfigurationVersionCommand = async (input,
605
605
  if (labelValue.length <= 0) {
606
606
  throw new Error("Empty value provided for input HTTP label: ConfigurationProfileId.");
607
607
  }
608
- resolvedPath = resolvedPath.replace("{ConfigurationProfileId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
608
+ resolvedPath = resolvedPath.replace("{ConfigurationProfileId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
609
609
  }
610
610
  else {
611
611
  throw new Error("No value provided for input HTTP label: ConfigurationProfileId.");
@@ -615,7 +615,7 @@ const serializeAws_restJson1GetHostedConfigurationVersionCommand = async (input,
615
615
  if (labelValue.length <= 0) {
616
616
  throw new Error("Empty value provided for input HTTP label: VersionNumber.");
617
617
  }
618
- resolvedPath = resolvedPath.replace("{VersionNumber}", smithy_client_1.extendedEncodeURIComponent(labelValue));
618
+ resolvedPath = resolvedPath.replace("{VersionNumber}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
619
619
  }
620
620
  else {
621
621
  throw new Error("No value provided for input HTTP label: VersionNumber.");
@@ -663,7 +663,7 @@ const serializeAws_restJson1ListConfigurationProfilesCommand = async (input, con
663
663
  if (labelValue.length <= 0) {
664
664
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
665
665
  }
666
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
666
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
667
667
  }
668
668
  else {
669
669
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -696,7 +696,7 @@ const serializeAws_restJson1ListDeploymentsCommand = async (input, context) => {
696
696
  if (labelValue.length <= 0) {
697
697
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
698
698
  }
699
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
699
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
700
700
  }
701
701
  else {
702
702
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -706,7 +706,7 @@ const serializeAws_restJson1ListDeploymentsCommand = async (input, context) => {
706
706
  if (labelValue.length <= 0) {
707
707
  throw new Error("Empty value provided for input HTTP label: EnvironmentId.");
708
708
  }
709
- resolvedPath = resolvedPath.replace("{EnvironmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
709
+ resolvedPath = resolvedPath.replace("{EnvironmentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
710
710
  }
711
711
  else {
712
712
  throw new Error("No value provided for input HTTP label: EnvironmentId.");
@@ -759,7 +759,7 @@ const serializeAws_restJson1ListEnvironmentsCommand = async (input, context) =>
759
759
  if (labelValue.length <= 0) {
760
760
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
761
761
  }
762
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
762
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
763
763
  }
764
764
  else {
765
765
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -791,7 +791,7 @@ const serializeAws_restJson1ListHostedConfigurationVersionsCommand = async (inpu
791
791
  if (labelValue.length <= 0) {
792
792
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
793
793
  }
794
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
794
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
795
795
  }
796
796
  else {
797
797
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -801,7 +801,7 @@ const serializeAws_restJson1ListHostedConfigurationVersionsCommand = async (inpu
801
801
  if (labelValue.length <= 0) {
802
802
  throw new Error("Empty value provided for input HTTP label: ConfigurationProfileId.");
803
803
  }
804
- resolvedPath = resolvedPath.replace("{ConfigurationProfileId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
804
+ resolvedPath = resolvedPath.replace("{ConfigurationProfileId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
805
805
  }
806
806
  else {
807
807
  throw new Error("No value provided for input HTTP label: ConfigurationProfileId.");
@@ -832,7 +832,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
832
832
  if (labelValue.length <= 0) {
833
833
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
834
834
  }
835
- resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
835
+ resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
836
836
  }
837
837
  else {
838
838
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -861,7 +861,7 @@ const serializeAws_restJson1StartDeploymentCommand = async (input, context) => {
861
861
  if (labelValue.length <= 0) {
862
862
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
863
863
  }
864
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
864
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
865
865
  }
866
866
  else {
867
867
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -871,7 +871,7 @@ const serializeAws_restJson1StartDeploymentCommand = async (input, context) => {
871
871
  if (labelValue.length <= 0) {
872
872
  throw new Error("Empty value provided for input HTTP label: EnvironmentId.");
873
873
  }
874
- resolvedPath = resolvedPath.replace("{EnvironmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
874
+ resolvedPath = resolvedPath.replace("{EnvironmentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
875
875
  }
876
876
  else {
877
877
  throw new Error("No value provided for input HTTP label: EnvironmentId.");
@@ -908,7 +908,7 @@ const serializeAws_restJson1StopDeploymentCommand = async (input, context) => {
908
908
  if (labelValue.length <= 0) {
909
909
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
910
910
  }
911
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
911
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
912
912
  }
913
913
  else {
914
914
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -918,7 +918,7 @@ const serializeAws_restJson1StopDeploymentCommand = async (input, context) => {
918
918
  if (labelValue.length <= 0) {
919
919
  throw new Error("Empty value provided for input HTTP label: EnvironmentId.");
920
920
  }
921
- resolvedPath = resolvedPath.replace("{EnvironmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
921
+ resolvedPath = resolvedPath.replace("{EnvironmentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
922
922
  }
923
923
  else {
924
924
  throw new Error("No value provided for input HTTP label: EnvironmentId.");
@@ -928,7 +928,7 @@ const serializeAws_restJson1StopDeploymentCommand = async (input, context) => {
928
928
  if (labelValue.length <= 0) {
929
929
  throw new Error("Empty value provided for input HTTP label: DeploymentNumber.");
930
930
  }
931
- resolvedPath = resolvedPath.replace("{DeploymentNumber}", smithy_client_1.extendedEncodeURIComponent(labelValue));
931
+ resolvedPath = resolvedPath.replace("{DeploymentNumber}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
932
932
  }
933
933
  else {
934
934
  throw new Error("No value provided for input HTTP label: DeploymentNumber.");
@@ -956,7 +956,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
956
956
  if (labelValue.length <= 0) {
957
957
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
958
958
  }
959
- resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
959
+ resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
960
960
  }
961
961
  else {
962
962
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -985,7 +985,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
985
985
  if (labelValue.length <= 0) {
986
986
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
987
987
  }
988
- resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
988
+ resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
989
989
  }
990
990
  else {
991
991
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -1017,7 +1017,7 @@ const serializeAws_restJson1UpdateApplicationCommand = async (input, context) =>
1017
1017
  if (labelValue.length <= 0) {
1018
1018
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
1019
1019
  }
1020
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1020
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1021
1021
  }
1022
1022
  else {
1023
1023
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -1050,7 +1050,7 @@ const serializeAws_restJson1UpdateConfigurationProfileCommand = async (input, co
1050
1050
  if (labelValue.length <= 0) {
1051
1051
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
1052
1052
  }
1053
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1053
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1054
1054
  }
1055
1055
  else {
1056
1056
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -1060,7 +1060,7 @@ const serializeAws_restJson1UpdateConfigurationProfileCommand = async (input, co
1060
1060
  if (labelValue.length <= 0) {
1061
1061
  throw new Error("Empty value provided for input HTTP label: ConfigurationProfileId.");
1062
1062
  }
1063
- resolvedPath = resolvedPath.replace("{ConfigurationProfileId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1063
+ resolvedPath = resolvedPath.replace("{ConfigurationProfileId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1064
1064
  }
1065
1065
  else {
1066
1066
  throw new Error("No value provided for input HTTP label: ConfigurationProfileId.");
@@ -1097,7 +1097,7 @@ const serializeAws_restJson1UpdateDeploymentStrategyCommand = async (input, cont
1097
1097
  if (labelValue.length <= 0) {
1098
1098
  throw new Error("Empty value provided for input HTTP label: DeploymentStrategyId.");
1099
1099
  }
1100
- resolvedPath = resolvedPath.replace("{DeploymentStrategyId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1100
+ resolvedPath = resolvedPath.replace("{DeploymentStrategyId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1101
1101
  }
1102
1102
  else {
1103
1103
  throw new Error("No value provided for input HTTP label: DeploymentStrategyId.");
@@ -1110,7 +1110,7 @@ const serializeAws_restJson1UpdateDeploymentStrategyCommand = async (input, cont
1110
1110
  ...(input.FinalBakeTimeInMinutes !== undefined &&
1111
1111
  input.FinalBakeTimeInMinutes !== null && { FinalBakeTimeInMinutes: input.FinalBakeTimeInMinutes }),
1112
1112
  ...(input.GrowthFactor !== undefined &&
1113
- input.GrowthFactor !== null && { GrowthFactor: smithy_client_1.serializeFloat(input.GrowthFactor) }),
1113
+ input.GrowthFactor !== null && { GrowthFactor: (0, smithy_client_1.serializeFloat)(input.GrowthFactor) }),
1114
1114
  ...(input.GrowthType !== undefined && input.GrowthType !== null && { GrowthType: input.GrowthType }),
1115
1115
  });
1116
1116
  return new protocol_http_1.HttpRequest({
@@ -1136,7 +1136,7 @@ const serializeAws_restJson1UpdateEnvironmentCommand = async (input, context) =>
1136
1136
  if (labelValue.length <= 0) {
1137
1137
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
1138
1138
  }
1139
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1139
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1140
1140
  }
1141
1141
  else {
1142
1142
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -1146,7 +1146,7 @@ const serializeAws_restJson1UpdateEnvironmentCommand = async (input, context) =>
1146
1146
  if (labelValue.length <= 0) {
1147
1147
  throw new Error("Empty value provided for input HTTP label: EnvironmentId.");
1148
1148
  }
1149
- resolvedPath = resolvedPath.replace("{EnvironmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1149
+ resolvedPath = resolvedPath.replace("{EnvironmentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1150
1150
  }
1151
1151
  else {
1152
1152
  throw new Error("No value provided for input HTTP label: EnvironmentId.");
@@ -1179,7 +1179,7 @@ const serializeAws_restJson1ValidateConfigurationCommand = async (input, context
1179
1179
  if (labelValue.length <= 0) {
1180
1180
  throw new Error("Empty value provided for input HTTP label: ApplicationId.");
1181
1181
  }
1182
- resolvedPath = resolvedPath.replace("{ApplicationId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1182
+ resolvedPath = resolvedPath.replace("{ApplicationId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1183
1183
  }
1184
1184
  else {
1185
1185
  throw new Error("No value provided for input HTTP label: ApplicationId.");
@@ -1189,7 +1189,7 @@ const serializeAws_restJson1ValidateConfigurationCommand = async (input, context
1189
1189
  if (labelValue.length <= 0) {
1190
1190
  throw new Error("Empty value provided for input HTTP label: ConfigurationProfileId.");
1191
1191
  }
1192
- resolvedPath = resolvedPath.replace("{ConfigurationProfileId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1192
+ resolvedPath = resolvedPath.replace("{ConfigurationProfileId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1193
1193
  }
1194
1194
  else {
1195
1195
  throw new Error("No value provided for input HTTP label: ConfigurationProfileId.");
@@ -1220,15 +1220,15 @@ const deserializeAws_restJson1CreateApplicationCommand = async (output, context)
1220
1220
  Id: undefined,
1221
1221
  Name: undefined,
1222
1222
  };
1223
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1223
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1224
1224
  if (data.Description !== undefined && data.Description !== null) {
1225
- contents.Description = smithy_client_1.expectString(data.Description);
1225
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
1226
1226
  }
1227
1227
  if (data.Id !== undefined && data.Id !== null) {
1228
- contents.Id = smithy_client_1.expectString(data.Id);
1228
+ contents.Id = (0, smithy_client_1.expectString)(data.Id);
1229
1229
  }
1230
1230
  if (data.Name !== undefined && data.Name !== null) {
1231
- contents.Name = smithy_client_1.expectString(data.Name);
1231
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
1232
1232
  }
1233
1233
  return Promise.resolve(contents);
1234
1234
  };
@@ -1255,7 +1255,7 @@ const deserializeAws_restJson1CreateApplicationCommandError = async (output, con
1255
1255
  $fault: "client",
1256
1256
  $metadata: deserializeMetadata(output),
1257
1257
  });
1258
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1258
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1259
1259
  }
1260
1260
  };
1261
1261
  const deserializeAws_restJson1CreateConfigurationProfileCommand = async (output, context) => {
@@ -1273,27 +1273,27 @@ const deserializeAws_restJson1CreateConfigurationProfileCommand = async (output,
1273
1273
  Type: undefined,
1274
1274
  Validators: undefined,
1275
1275
  };
1276
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1276
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1277
1277
  if (data.ApplicationId !== undefined && data.ApplicationId !== null) {
1278
- contents.ApplicationId = smithy_client_1.expectString(data.ApplicationId);
1278
+ contents.ApplicationId = (0, smithy_client_1.expectString)(data.ApplicationId);
1279
1279
  }
1280
1280
  if (data.Description !== undefined && data.Description !== null) {
1281
- contents.Description = smithy_client_1.expectString(data.Description);
1281
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
1282
1282
  }
1283
1283
  if (data.Id !== undefined && data.Id !== null) {
1284
- contents.Id = smithy_client_1.expectString(data.Id);
1284
+ contents.Id = (0, smithy_client_1.expectString)(data.Id);
1285
1285
  }
1286
1286
  if (data.LocationUri !== undefined && data.LocationUri !== null) {
1287
- contents.LocationUri = smithy_client_1.expectString(data.LocationUri);
1287
+ contents.LocationUri = (0, smithy_client_1.expectString)(data.LocationUri);
1288
1288
  }
1289
1289
  if (data.Name !== undefined && data.Name !== null) {
1290
- contents.Name = smithy_client_1.expectString(data.Name);
1290
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
1291
1291
  }
1292
1292
  if (data.RetrievalRoleArn !== undefined && data.RetrievalRoleArn !== null) {
1293
- contents.RetrievalRoleArn = smithy_client_1.expectString(data.RetrievalRoleArn);
1293
+ contents.RetrievalRoleArn = (0, smithy_client_1.expectString)(data.RetrievalRoleArn);
1294
1294
  }
1295
1295
  if (data.Type !== undefined && data.Type !== null) {
1296
- contents.Type = smithy_client_1.expectString(data.Type);
1296
+ contents.Type = (0, smithy_client_1.expectString)(data.Type);
1297
1297
  }
1298
1298
  if (data.Validators !== undefined && data.Validators !== null) {
1299
1299
  contents.Validators = deserializeAws_restJson1ValidatorList(data.Validators, context);
@@ -1326,7 +1326,7 @@ const deserializeAws_restJson1CreateConfigurationProfileCommandError = async (ou
1326
1326
  $fault: "client",
1327
1327
  $metadata: deserializeMetadata(output),
1328
1328
  });
1329
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1329
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1330
1330
  }
1331
1331
  };
1332
1332
  const deserializeAws_restJson1CreateDeploymentStrategyCommand = async (output, context) => {
@@ -1344,30 +1344,30 @@ const deserializeAws_restJson1CreateDeploymentStrategyCommand = async (output, c
1344
1344
  Name: undefined,
1345
1345
  ReplicateTo: undefined,
1346
1346
  };
1347
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1347
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1348
1348
  if (data.DeploymentDurationInMinutes !== undefined && data.DeploymentDurationInMinutes !== null) {
1349
- contents.DeploymentDurationInMinutes = smithy_client_1.expectInt32(data.DeploymentDurationInMinutes);
1349
+ contents.DeploymentDurationInMinutes = (0, smithy_client_1.expectInt32)(data.DeploymentDurationInMinutes);
1350
1350
  }
1351
1351
  if (data.Description !== undefined && data.Description !== null) {
1352
- contents.Description = smithy_client_1.expectString(data.Description);
1352
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
1353
1353
  }
1354
1354
  if (data.FinalBakeTimeInMinutes !== undefined && data.FinalBakeTimeInMinutes !== null) {
1355
- contents.FinalBakeTimeInMinutes = smithy_client_1.expectInt32(data.FinalBakeTimeInMinutes);
1355
+ contents.FinalBakeTimeInMinutes = (0, smithy_client_1.expectInt32)(data.FinalBakeTimeInMinutes);
1356
1356
  }
1357
1357
  if (data.GrowthFactor !== undefined && data.GrowthFactor !== null) {
1358
- contents.GrowthFactor = smithy_client_1.limitedParseFloat32(data.GrowthFactor);
1358
+ contents.GrowthFactor = (0, smithy_client_1.limitedParseFloat32)(data.GrowthFactor);
1359
1359
  }
1360
1360
  if (data.GrowthType !== undefined && data.GrowthType !== null) {
1361
- contents.GrowthType = smithy_client_1.expectString(data.GrowthType);
1361
+ contents.GrowthType = (0, smithy_client_1.expectString)(data.GrowthType);
1362
1362
  }
1363
1363
  if (data.Id !== undefined && data.Id !== null) {
1364
- contents.Id = smithy_client_1.expectString(data.Id);
1364
+ contents.Id = (0, smithy_client_1.expectString)(data.Id);
1365
1365
  }
1366
1366
  if (data.Name !== undefined && data.Name !== null) {
1367
- contents.Name = smithy_client_1.expectString(data.Name);
1367
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
1368
1368
  }
1369
1369
  if (data.ReplicateTo !== undefined && data.ReplicateTo !== null) {
1370
- contents.ReplicateTo = smithy_client_1.expectString(data.ReplicateTo);
1370
+ contents.ReplicateTo = (0, smithy_client_1.expectString)(data.ReplicateTo);
1371
1371
  }
1372
1372
  return Promise.resolve(contents);
1373
1373
  };
@@ -1394,7 +1394,7 @@ const deserializeAws_restJson1CreateDeploymentStrategyCommandError = async (outp
1394
1394
  $fault: "client",
1395
1395
  $metadata: deserializeMetadata(output),
1396
1396
  });
1397
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1397
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1398
1398
  }
1399
1399
  };
1400
1400
  const deserializeAws_restJson1CreateEnvironmentCommand = async (output, context) => {
@@ -1410,24 +1410,24 @@ const deserializeAws_restJson1CreateEnvironmentCommand = async (output, context)
1410
1410
  Name: undefined,
1411
1411
  State: undefined,
1412
1412
  };
1413
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1413
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1414
1414
  if (data.ApplicationId !== undefined && data.ApplicationId !== null) {
1415
- contents.ApplicationId = smithy_client_1.expectString(data.ApplicationId);
1415
+ contents.ApplicationId = (0, smithy_client_1.expectString)(data.ApplicationId);
1416
1416
  }
1417
1417
  if (data.Description !== undefined && data.Description !== null) {
1418
- contents.Description = smithy_client_1.expectString(data.Description);
1418
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
1419
1419
  }
1420
1420
  if (data.Id !== undefined && data.Id !== null) {
1421
- contents.Id = smithy_client_1.expectString(data.Id);
1421
+ contents.Id = (0, smithy_client_1.expectString)(data.Id);
1422
1422
  }
1423
1423
  if (data.Monitors !== undefined && data.Monitors !== null) {
1424
1424
  contents.Monitors = deserializeAws_restJson1MonitorList(data.Monitors, context);
1425
1425
  }
1426
1426
  if (data.Name !== undefined && data.Name !== null) {
1427
- contents.Name = smithy_client_1.expectString(data.Name);
1427
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
1428
1428
  }
1429
1429
  if (data.State !== undefined && data.State !== null) {
1430
- contents.State = smithy_client_1.expectString(data.State);
1430
+ contents.State = (0, smithy_client_1.expectString)(data.State);
1431
1431
  }
1432
1432
  return Promise.resolve(contents);
1433
1433
  };
@@ -1457,7 +1457,7 @@ const deserializeAws_restJson1CreateEnvironmentCommandError = async (output, con
1457
1457
  $fault: "client",
1458
1458
  $metadata: deserializeMetadata(output),
1459
1459
  });
1460
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1460
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1461
1461
  }
1462
1462
  };
1463
1463
  const deserializeAws_restJson1CreateHostedConfigurationVersionCommand = async (output, context) => {
@@ -1480,7 +1480,7 @@ const deserializeAws_restJson1CreateHostedConfigurationVersionCommand = async (o
1480
1480
  contents.ConfigurationProfileId = output.headers["configuration-profile-id"];
1481
1481
  }
1482
1482
  if (output.headers["version-number"] !== undefined) {
1483
- contents.VersionNumber = smithy_client_1.strictParseInt32(output.headers["version-number"]);
1483
+ contents.VersionNumber = (0, smithy_client_1.strictParseInt32)(output.headers["version-number"]);
1484
1484
  }
1485
1485
  if (output.headers["description"] !== undefined) {
1486
1486
  contents.Description = output.headers["description"];
@@ -1527,7 +1527,7 @@ const deserializeAws_restJson1CreateHostedConfigurationVersionCommandError = asy
1527
1527
  $fault: "client",
1528
1528
  $metadata: deserializeMetadata(output),
1529
1529
  });
1530
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1530
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1531
1531
  }
1532
1532
  };
1533
1533
  const deserializeAws_restJson1DeleteApplicationCommand = async (output, context) => {
@@ -1566,7 +1566,7 @@ const deserializeAws_restJson1DeleteApplicationCommandError = async (output, con
1566
1566
  $fault: "client",
1567
1567
  $metadata: deserializeMetadata(output),
1568
1568
  });
1569
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1569
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1570
1570
  }
1571
1571
  };
1572
1572
  const deserializeAws_restJson1DeleteConfigurationProfileCommand = async (output, context) => {
@@ -1608,7 +1608,7 @@ const deserializeAws_restJson1DeleteConfigurationProfileCommandError = async (ou
1608
1608
  $fault: "client",
1609
1609
  $metadata: deserializeMetadata(output),
1610
1610
  });
1611
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1611
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1612
1612
  }
1613
1613
  };
1614
1614
  const deserializeAws_restJson1DeleteDeploymentStrategyCommand = async (output, context) => {
@@ -1647,7 +1647,7 @@ const deserializeAws_restJson1DeleteDeploymentStrategyCommandError = async (outp
1647
1647
  $fault: "client",
1648
1648
  $metadata: deserializeMetadata(output),
1649
1649
  });
1650
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1650
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1651
1651
  }
1652
1652
  };
1653
1653
  const deserializeAws_restJson1DeleteEnvironmentCommand = async (output, context) => {
@@ -1689,7 +1689,7 @@ const deserializeAws_restJson1DeleteEnvironmentCommandError = async (output, con
1689
1689
  $fault: "client",
1690
1690
  $metadata: deserializeMetadata(output),
1691
1691
  });
1692
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1692
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1693
1693
  }
1694
1694
  };
1695
1695
  const deserializeAws_restJson1DeleteHostedConfigurationVersionCommand = async (output, context) => {
@@ -1728,7 +1728,7 @@ const deserializeAws_restJson1DeleteHostedConfigurationVersionCommandError = asy
1728
1728
  $fault: "client",
1729
1729
  $metadata: deserializeMetadata(output),
1730
1730
  });
1731
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1731
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1732
1732
  }
1733
1733
  };
1734
1734
  const deserializeAws_restJson1GetApplicationCommand = async (output, context) => {
@@ -1741,15 +1741,15 @@ const deserializeAws_restJson1GetApplicationCommand = async (output, context) =>
1741
1741
  Id: undefined,
1742
1742
  Name: undefined,
1743
1743
  };
1744
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1744
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1745
1745
  if (data.Description !== undefined && data.Description !== null) {
1746
- contents.Description = smithy_client_1.expectString(data.Description);
1746
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
1747
1747
  }
1748
1748
  if (data.Id !== undefined && data.Id !== null) {
1749
- contents.Id = smithy_client_1.expectString(data.Id);
1749
+ contents.Id = (0, smithy_client_1.expectString)(data.Id);
1750
1750
  }
1751
1751
  if (data.Name !== undefined && data.Name !== null) {
1752
- contents.Name = smithy_client_1.expectString(data.Name);
1752
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
1753
1753
  }
1754
1754
  return Promise.resolve(contents);
1755
1755
  };
@@ -1779,7 +1779,7 @@ const deserializeAws_restJson1GetApplicationCommandError = async (output, contex
1779
1779
  $fault: "client",
1780
1780
  $metadata: deserializeMetadata(output),
1781
1781
  });
1782
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1782
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1783
1783
  }
1784
1784
  };
1785
1785
  const deserializeAws_restJson1GetConfigurationCommand = async (output, context) => {
@@ -1828,7 +1828,7 @@ const deserializeAws_restJson1GetConfigurationCommandError = async (output, cont
1828
1828
  $fault: "client",
1829
1829
  $metadata: deserializeMetadata(output),
1830
1830
  });
1831
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1831
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1832
1832
  }
1833
1833
  };
1834
1834
  const deserializeAws_restJson1GetConfigurationProfileCommand = async (output, context) => {
@@ -1846,27 +1846,27 @@ const deserializeAws_restJson1GetConfigurationProfileCommand = async (output, co
1846
1846
  Type: undefined,
1847
1847
  Validators: undefined,
1848
1848
  };
1849
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1849
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1850
1850
  if (data.ApplicationId !== undefined && data.ApplicationId !== null) {
1851
- contents.ApplicationId = smithy_client_1.expectString(data.ApplicationId);
1851
+ contents.ApplicationId = (0, smithy_client_1.expectString)(data.ApplicationId);
1852
1852
  }
1853
1853
  if (data.Description !== undefined && data.Description !== null) {
1854
- contents.Description = smithy_client_1.expectString(data.Description);
1854
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
1855
1855
  }
1856
1856
  if (data.Id !== undefined && data.Id !== null) {
1857
- contents.Id = smithy_client_1.expectString(data.Id);
1857
+ contents.Id = (0, smithy_client_1.expectString)(data.Id);
1858
1858
  }
1859
1859
  if (data.LocationUri !== undefined && data.LocationUri !== null) {
1860
- contents.LocationUri = smithy_client_1.expectString(data.LocationUri);
1860
+ contents.LocationUri = (0, smithy_client_1.expectString)(data.LocationUri);
1861
1861
  }
1862
1862
  if (data.Name !== undefined && data.Name !== null) {
1863
- contents.Name = smithy_client_1.expectString(data.Name);
1863
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
1864
1864
  }
1865
1865
  if (data.RetrievalRoleArn !== undefined && data.RetrievalRoleArn !== null) {
1866
- contents.RetrievalRoleArn = smithy_client_1.expectString(data.RetrievalRoleArn);
1866
+ contents.RetrievalRoleArn = (0, smithy_client_1.expectString)(data.RetrievalRoleArn);
1867
1867
  }
1868
1868
  if (data.Type !== undefined && data.Type !== null) {
1869
- contents.Type = smithy_client_1.expectString(data.Type);
1869
+ contents.Type = (0, smithy_client_1.expectString)(data.Type);
1870
1870
  }
1871
1871
  if (data.Validators !== undefined && data.Validators !== null) {
1872
1872
  contents.Validators = deserializeAws_restJson1ValidatorList(data.Validators, context);
@@ -1899,7 +1899,7 @@ const deserializeAws_restJson1GetConfigurationProfileCommandError = async (outpu
1899
1899
  $fault: "client",
1900
1900
  $metadata: deserializeMetadata(output),
1901
1901
  });
1902
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1902
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1903
1903
  }
1904
1904
  };
1905
1905
  const deserializeAws_restJson1GetDeploymentCommand = async (output, context) => {
@@ -1927,60 +1927,60 @@ const deserializeAws_restJson1GetDeploymentCommand = async (output, context) =>
1927
1927
  StartedAt: undefined,
1928
1928
  State: undefined,
1929
1929
  };
1930
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1930
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1931
1931
  if (data.ApplicationId !== undefined && data.ApplicationId !== null) {
1932
- contents.ApplicationId = smithy_client_1.expectString(data.ApplicationId);
1932
+ contents.ApplicationId = (0, smithy_client_1.expectString)(data.ApplicationId);
1933
1933
  }
1934
1934
  if (data.CompletedAt !== undefined && data.CompletedAt !== null) {
1935
- contents.CompletedAt = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.CompletedAt));
1935
+ contents.CompletedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.CompletedAt));
1936
1936
  }
1937
1937
  if (data.ConfigurationLocationUri !== undefined && data.ConfigurationLocationUri !== null) {
1938
- contents.ConfigurationLocationUri = smithy_client_1.expectString(data.ConfigurationLocationUri);
1938
+ contents.ConfigurationLocationUri = (0, smithy_client_1.expectString)(data.ConfigurationLocationUri);
1939
1939
  }
1940
1940
  if (data.ConfigurationName !== undefined && data.ConfigurationName !== null) {
1941
- contents.ConfigurationName = smithy_client_1.expectString(data.ConfigurationName);
1941
+ contents.ConfigurationName = (0, smithy_client_1.expectString)(data.ConfigurationName);
1942
1942
  }
1943
1943
  if (data.ConfigurationProfileId !== undefined && data.ConfigurationProfileId !== null) {
1944
- contents.ConfigurationProfileId = smithy_client_1.expectString(data.ConfigurationProfileId);
1944
+ contents.ConfigurationProfileId = (0, smithy_client_1.expectString)(data.ConfigurationProfileId);
1945
1945
  }
1946
1946
  if (data.ConfigurationVersion !== undefined && data.ConfigurationVersion !== null) {
1947
- contents.ConfigurationVersion = smithy_client_1.expectString(data.ConfigurationVersion);
1947
+ contents.ConfigurationVersion = (0, smithy_client_1.expectString)(data.ConfigurationVersion);
1948
1948
  }
1949
1949
  if (data.DeploymentDurationInMinutes !== undefined && data.DeploymentDurationInMinutes !== null) {
1950
- contents.DeploymentDurationInMinutes = smithy_client_1.expectInt32(data.DeploymentDurationInMinutes);
1950
+ contents.DeploymentDurationInMinutes = (0, smithy_client_1.expectInt32)(data.DeploymentDurationInMinutes);
1951
1951
  }
1952
1952
  if (data.DeploymentNumber !== undefined && data.DeploymentNumber !== null) {
1953
- contents.DeploymentNumber = smithy_client_1.expectInt32(data.DeploymentNumber);
1953
+ contents.DeploymentNumber = (0, smithy_client_1.expectInt32)(data.DeploymentNumber);
1954
1954
  }
1955
1955
  if (data.DeploymentStrategyId !== undefined && data.DeploymentStrategyId !== null) {
1956
- contents.DeploymentStrategyId = smithy_client_1.expectString(data.DeploymentStrategyId);
1956
+ contents.DeploymentStrategyId = (0, smithy_client_1.expectString)(data.DeploymentStrategyId);
1957
1957
  }
1958
1958
  if (data.Description !== undefined && data.Description !== null) {
1959
- contents.Description = smithy_client_1.expectString(data.Description);
1959
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
1960
1960
  }
1961
1961
  if (data.EnvironmentId !== undefined && data.EnvironmentId !== null) {
1962
- contents.EnvironmentId = smithy_client_1.expectString(data.EnvironmentId);
1962
+ contents.EnvironmentId = (0, smithy_client_1.expectString)(data.EnvironmentId);
1963
1963
  }
1964
1964
  if (data.EventLog !== undefined && data.EventLog !== null) {
1965
1965
  contents.EventLog = deserializeAws_restJson1DeploymentEvents(data.EventLog, context);
1966
1966
  }
1967
1967
  if (data.FinalBakeTimeInMinutes !== undefined && data.FinalBakeTimeInMinutes !== null) {
1968
- contents.FinalBakeTimeInMinutes = smithy_client_1.expectInt32(data.FinalBakeTimeInMinutes);
1968
+ contents.FinalBakeTimeInMinutes = (0, smithy_client_1.expectInt32)(data.FinalBakeTimeInMinutes);
1969
1969
  }
1970
1970
  if (data.GrowthFactor !== undefined && data.GrowthFactor !== null) {
1971
- contents.GrowthFactor = smithy_client_1.limitedParseFloat32(data.GrowthFactor);
1971
+ contents.GrowthFactor = (0, smithy_client_1.limitedParseFloat32)(data.GrowthFactor);
1972
1972
  }
1973
1973
  if (data.GrowthType !== undefined && data.GrowthType !== null) {
1974
- contents.GrowthType = smithy_client_1.expectString(data.GrowthType);
1974
+ contents.GrowthType = (0, smithy_client_1.expectString)(data.GrowthType);
1975
1975
  }
1976
1976
  if (data.PercentageComplete !== undefined && data.PercentageComplete !== null) {
1977
- contents.PercentageComplete = smithy_client_1.limitedParseFloat32(data.PercentageComplete);
1977
+ contents.PercentageComplete = (0, smithy_client_1.limitedParseFloat32)(data.PercentageComplete);
1978
1978
  }
1979
1979
  if (data.StartedAt !== undefined && data.StartedAt !== null) {
1980
- contents.StartedAt = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.StartedAt));
1980
+ contents.StartedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.StartedAt));
1981
1981
  }
1982
1982
  if (data.State !== undefined && data.State !== null) {
1983
- contents.State = smithy_client_1.expectString(data.State);
1983
+ contents.State = (0, smithy_client_1.expectString)(data.State);
1984
1984
  }
1985
1985
  return Promise.resolve(contents);
1986
1986
  };
@@ -2010,7 +2010,7 @@ const deserializeAws_restJson1GetDeploymentCommandError = async (output, context
2010
2010
  $fault: "client",
2011
2011
  $metadata: deserializeMetadata(output),
2012
2012
  });
2013
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2013
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2014
2014
  }
2015
2015
  };
2016
2016
  const deserializeAws_restJson1GetDeploymentStrategyCommand = async (output, context) => {
@@ -2028,30 +2028,30 @@ const deserializeAws_restJson1GetDeploymentStrategyCommand = async (output, cont
2028
2028
  Name: undefined,
2029
2029
  ReplicateTo: undefined,
2030
2030
  };
2031
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2031
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2032
2032
  if (data.DeploymentDurationInMinutes !== undefined && data.DeploymentDurationInMinutes !== null) {
2033
- contents.DeploymentDurationInMinutes = smithy_client_1.expectInt32(data.DeploymentDurationInMinutes);
2033
+ contents.DeploymentDurationInMinutes = (0, smithy_client_1.expectInt32)(data.DeploymentDurationInMinutes);
2034
2034
  }
2035
2035
  if (data.Description !== undefined && data.Description !== null) {
2036
- contents.Description = smithy_client_1.expectString(data.Description);
2036
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
2037
2037
  }
2038
2038
  if (data.FinalBakeTimeInMinutes !== undefined && data.FinalBakeTimeInMinutes !== null) {
2039
- contents.FinalBakeTimeInMinutes = smithy_client_1.expectInt32(data.FinalBakeTimeInMinutes);
2039
+ contents.FinalBakeTimeInMinutes = (0, smithy_client_1.expectInt32)(data.FinalBakeTimeInMinutes);
2040
2040
  }
2041
2041
  if (data.GrowthFactor !== undefined && data.GrowthFactor !== null) {
2042
- contents.GrowthFactor = smithy_client_1.limitedParseFloat32(data.GrowthFactor);
2042
+ contents.GrowthFactor = (0, smithy_client_1.limitedParseFloat32)(data.GrowthFactor);
2043
2043
  }
2044
2044
  if (data.GrowthType !== undefined && data.GrowthType !== null) {
2045
- contents.GrowthType = smithy_client_1.expectString(data.GrowthType);
2045
+ contents.GrowthType = (0, smithy_client_1.expectString)(data.GrowthType);
2046
2046
  }
2047
2047
  if (data.Id !== undefined && data.Id !== null) {
2048
- contents.Id = smithy_client_1.expectString(data.Id);
2048
+ contents.Id = (0, smithy_client_1.expectString)(data.Id);
2049
2049
  }
2050
2050
  if (data.Name !== undefined && data.Name !== null) {
2051
- contents.Name = smithy_client_1.expectString(data.Name);
2051
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
2052
2052
  }
2053
2053
  if (data.ReplicateTo !== undefined && data.ReplicateTo !== null) {
2054
- contents.ReplicateTo = smithy_client_1.expectString(data.ReplicateTo);
2054
+ contents.ReplicateTo = (0, smithy_client_1.expectString)(data.ReplicateTo);
2055
2055
  }
2056
2056
  return Promise.resolve(contents);
2057
2057
  };
@@ -2081,7 +2081,7 @@ const deserializeAws_restJson1GetDeploymentStrategyCommandError = async (output,
2081
2081
  $fault: "client",
2082
2082
  $metadata: deserializeMetadata(output),
2083
2083
  });
2084
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2084
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2085
2085
  }
2086
2086
  };
2087
2087
  const deserializeAws_restJson1GetEnvironmentCommand = async (output, context) => {
@@ -2097,24 +2097,24 @@ const deserializeAws_restJson1GetEnvironmentCommand = async (output, context) =>
2097
2097
  Name: undefined,
2098
2098
  State: undefined,
2099
2099
  };
2100
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2100
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2101
2101
  if (data.ApplicationId !== undefined && data.ApplicationId !== null) {
2102
- contents.ApplicationId = smithy_client_1.expectString(data.ApplicationId);
2102
+ contents.ApplicationId = (0, smithy_client_1.expectString)(data.ApplicationId);
2103
2103
  }
2104
2104
  if (data.Description !== undefined && data.Description !== null) {
2105
- contents.Description = smithy_client_1.expectString(data.Description);
2105
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
2106
2106
  }
2107
2107
  if (data.Id !== undefined && data.Id !== null) {
2108
- contents.Id = smithy_client_1.expectString(data.Id);
2108
+ contents.Id = (0, smithy_client_1.expectString)(data.Id);
2109
2109
  }
2110
2110
  if (data.Monitors !== undefined && data.Monitors !== null) {
2111
2111
  contents.Monitors = deserializeAws_restJson1MonitorList(data.Monitors, context);
2112
2112
  }
2113
2113
  if (data.Name !== undefined && data.Name !== null) {
2114
- contents.Name = smithy_client_1.expectString(data.Name);
2114
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
2115
2115
  }
2116
2116
  if (data.State !== undefined && data.State !== null) {
2117
- contents.State = smithy_client_1.expectString(data.State);
2117
+ contents.State = (0, smithy_client_1.expectString)(data.State);
2118
2118
  }
2119
2119
  return Promise.resolve(contents);
2120
2120
  };
@@ -2144,7 +2144,7 @@ const deserializeAws_restJson1GetEnvironmentCommandError = async (output, contex
2144
2144
  $fault: "client",
2145
2145
  $metadata: deserializeMetadata(output),
2146
2146
  });
2147
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2147
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2148
2148
  }
2149
2149
  };
2150
2150
  const deserializeAws_restJson1GetHostedConfigurationVersionCommand = async (output, context) => {
@@ -2167,7 +2167,7 @@ const deserializeAws_restJson1GetHostedConfigurationVersionCommand = async (outp
2167
2167
  contents.ConfigurationProfileId = output.headers["configuration-profile-id"];
2168
2168
  }
2169
2169
  if (output.headers["version-number"] !== undefined) {
2170
- contents.VersionNumber = smithy_client_1.strictParseInt32(output.headers["version-number"]);
2170
+ contents.VersionNumber = (0, smithy_client_1.strictParseInt32)(output.headers["version-number"]);
2171
2171
  }
2172
2172
  if (output.headers["description"] !== undefined) {
2173
2173
  contents.Description = output.headers["description"];
@@ -2205,7 +2205,7 @@ const deserializeAws_restJson1GetHostedConfigurationVersionCommandError = async
2205
2205
  $fault: "client",
2206
2206
  $metadata: deserializeMetadata(output),
2207
2207
  });
2208
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2208
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2209
2209
  }
2210
2210
  };
2211
2211
  const deserializeAws_restJson1ListApplicationsCommand = async (output, context) => {
@@ -2217,12 +2217,12 @@ const deserializeAws_restJson1ListApplicationsCommand = async (output, context)
2217
2217
  Items: undefined,
2218
2218
  NextToken: undefined,
2219
2219
  };
2220
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2220
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2221
2221
  if (data.Items !== undefined && data.Items !== null) {
2222
2222
  contents.Items = deserializeAws_restJson1ApplicationList(data.Items, context);
2223
2223
  }
2224
2224
  if (data.NextToken !== undefined && data.NextToken !== null) {
2225
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2225
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2226
2226
  }
2227
2227
  return Promise.resolve(contents);
2228
2228
  };
@@ -2249,7 +2249,7 @@ const deserializeAws_restJson1ListApplicationsCommandError = async (output, cont
2249
2249
  $fault: "client",
2250
2250
  $metadata: deserializeMetadata(output),
2251
2251
  });
2252
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2252
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2253
2253
  }
2254
2254
  };
2255
2255
  const deserializeAws_restJson1ListConfigurationProfilesCommand = async (output, context) => {
@@ -2261,12 +2261,12 @@ const deserializeAws_restJson1ListConfigurationProfilesCommand = async (output,
2261
2261
  Items: undefined,
2262
2262
  NextToken: undefined,
2263
2263
  };
2264
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2264
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2265
2265
  if (data.Items !== undefined && data.Items !== null) {
2266
2266
  contents.Items = deserializeAws_restJson1ConfigurationProfileSummaryList(data.Items, context);
2267
2267
  }
2268
2268
  if (data.NextToken !== undefined && data.NextToken !== null) {
2269
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2269
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2270
2270
  }
2271
2271
  return Promise.resolve(contents);
2272
2272
  };
@@ -2296,7 +2296,7 @@ const deserializeAws_restJson1ListConfigurationProfilesCommandError = async (out
2296
2296
  $fault: "client",
2297
2297
  $metadata: deserializeMetadata(output),
2298
2298
  });
2299
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2299
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2300
2300
  }
2301
2301
  };
2302
2302
  const deserializeAws_restJson1ListDeploymentsCommand = async (output, context) => {
@@ -2308,12 +2308,12 @@ const deserializeAws_restJson1ListDeploymentsCommand = async (output, context) =
2308
2308
  Items: undefined,
2309
2309
  NextToken: undefined,
2310
2310
  };
2311
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2311
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2312
2312
  if (data.Items !== undefined && data.Items !== null) {
2313
2313
  contents.Items = deserializeAws_restJson1DeploymentList(data.Items, context);
2314
2314
  }
2315
2315
  if (data.NextToken !== undefined && data.NextToken !== null) {
2316
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2316
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2317
2317
  }
2318
2318
  return Promise.resolve(contents);
2319
2319
  };
@@ -2343,7 +2343,7 @@ const deserializeAws_restJson1ListDeploymentsCommandError = async (output, conte
2343
2343
  $fault: "client",
2344
2344
  $metadata: deserializeMetadata(output),
2345
2345
  });
2346
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2346
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2347
2347
  }
2348
2348
  };
2349
2349
  const deserializeAws_restJson1ListDeploymentStrategiesCommand = async (output, context) => {
@@ -2355,12 +2355,12 @@ const deserializeAws_restJson1ListDeploymentStrategiesCommand = async (output, c
2355
2355
  Items: undefined,
2356
2356
  NextToken: undefined,
2357
2357
  };
2358
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2358
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2359
2359
  if (data.Items !== undefined && data.Items !== null) {
2360
2360
  contents.Items = deserializeAws_restJson1DeploymentStrategyList(data.Items, context);
2361
2361
  }
2362
2362
  if (data.NextToken !== undefined && data.NextToken !== null) {
2363
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2363
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2364
2364
  }
2365
2365
  return Promise.resolve(contents);
2366
2366
  };
@@ -2387,7 +2387,7 @@ const deserializeAws_restJson1ListDeploymentStrategiesCommandError = async (outp
2387
2387
  $fault: "client",
2388
2388
  $metadata: deserializeMetadata(output),
2389
2389
  });
2390
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2390
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2391
2391
  }
2392
2392
  };
2393
2393
  const deserializeAws_restJson1ListEnvironmentsCommand = async (output, context) => {
@@ -2399,12 +2399,12 @@ const deserializeAws_restJson1ListEnvironmentsCommand = async (output, context)
2399
2399
  Items: undefined,
2400
2400
  NextToken: undefined,
2401
2401
  };
2402
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2402
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2403
2403
  if (data.Items !== undefined && data.Items !== null) {
2404
2404
  contents.Items = deserializeAws_restJson1EnvironmentList(data.Items, context);
2405
2405
  }
2406
2406
  if (data.NextToken !== undefined && data.NextToken !== null) {
2407
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2407
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2408
2408
  }
2409
2409
  return Promise.resolve(contents);
2410
2410
  };
@@ -2434,7 +2434,7 @@ const deserializeAws_restJson1ListEnvironmentsCommandError = async (output, cont
2434
2434
  $fault: "client",
2435
2435
  $metadata: deserializeMetadata(output),
2436
2436
  });
2437
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2437
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2438
2438
  }
2439
2439
  };
2440
2440
  const deserializeAws_restJson1ListHostedConfigurationVersionsCommand = async (output, context) => {
@@ -2446,12 +2446,12 @@ const deserializeAws_restJson1ListHostedConfigurationVersionsCommand = async (ou
2446
2446
  Items: undefined,
2447
2447
  NextToken: undefined,
2448
2448
  };
2449
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2449
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2450
2450
  if (data.Items !== undefined && data.Items !== null) {
2451
2451
  contents.Items = deserializeAws_restJson1HostedConfigurationVersionSummaryList(data.Items, context);
2452
2452
  }
2453
2453
  if (data.NextToken !== undefined && data.NextToken !== null) {
2454
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2454
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2455
2455
  }
2456
2456
  return Promise.resolve(contents);
2457
2457
  };
@@ -2481,7 +2481,7 @@ const deserializeAws_restJson1ListHostedConfigurationVersionsCommandError = asyn
2481
2481
  $fault: "client",
2482
2482
  $metadata: deserializeMetadata(output),
2483
2483
  });
2484
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2484
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2485
2485
  }
2486
2486
  };
2487
2487
  const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
@@ -2492,7 +2492,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
2492
2492
  $metadata: deserializeMetadata(output),
2493
2493
  Tags: undefined,
2494
2494
  };
2495
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2495
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2496
2496
  if (data.Tags !== undefined && data.Tags !== null) {
2497
2497
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
2498
2498
  }
@@ -2524,7 +2524,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
2524
2524
  $fault: "client",
2525
2525
  $metadata: deserializeMetadata(output),
2526
2526
  });
2527
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2527
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2528
2528
  }
2529
2529
  };
2530
2530
  const deserializeAws_restJson1StartDeploymentCommand = async (output, context) => {
@@ -2552,60 +2552,60 @@ const deserializeAws_restJson1StartDeploymentCommand = async (output, context) =
2552
2552
  StartedAt: undefined,
2553
2553
  State: undefined,
2554
2554
  };
2555
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2555
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2556
2556
  if (data.ApplicationId !== undefined && data.ApplicationId !== null) {
2557
- contents.ApplicationId = smithy_client_1.expectString(data.ApplicationId);
2557
+ contents.ApplicationId = (0, smithy_client_1.expectString)(data.ApplicationId);
2558
2558
  }
2559
2559
  if (data.CompletedAt !== undefined && data.CompletedAt !== null) {
2560
- contents.CompletedAt = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.CompletedAt));
2560
+ contents.CompletedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.CompletedAt));
2561
2561
  }
2562
2562
  if (data.ConfigurationLocationUri !== undefined && data.ConfigurationLocationUri !== null) {
2563
- contents.ConfigurationLocationUri = smithy_client_1.expectString(data.ConfigurationLocationUri);
2563
+ contents.ConfigurationLocationUri = (0, smithy_client_1.expectString)(data.ConfigurationLocationUri);
2564
2564
  }
2565
2565
  if (data.ConfigurationName !== undefined && data.ConfigurationName !== null) {
2566
- contents.ConfigurationName = smithy_client_1.expectString(data.ConfigurationName);
2566
+ contents.ConfigurationName = (0, smithy_client_1.expectString)(data.ConfigurationName);
2567
2567
  }
2568
2568
  if (data.ConfigurationProfileId !== undefined && data.ConfigurationProfileId !== null) {
2569
- contents.ConfigurationProfileId = smithy_client_1.expectString(data.ConfigurationProfileId);
2569
+ contents.ConfigurationProfileId = (0, smithy_client_1.expectString)(data.ConfigurationProfileId);
2570
2570
  }
2571
2571
  if (data.ConfigurationVersion !== undefined && data.ConfigurationVersion !== null) {
2572
- contents.ConfigurationVersion = smithy_client_1.expectString(data.ConfigurationVersion);
2572
+ contents.ConfigurationVersion = (0, smithy_client_1.expectString)(data.ConfigurationVersion);
2573
2573
  }
2574
2574
  if (data.DeploymentDurationInMinutes !== undefined && data.DeploymentDurationInMinutes !== null) {
2575
- contents.DeploymentDurationInMinutes = smithy_client_1.expectInt32(data.DeploymentDurationInMinutes);
2575
+ contents.DeploymentDurationInMinutes = (0, smithy_client_1.expectInt32)(data.DeploymentDurationInMinutes);
2576
2576
  }
2577
2577
  if (data.DeploymentNumber !== undefined && data.DeploymentNumber !== null) {
2578
- contents.DeploymentNumber = smithy_client_1.expectInt32(data.DeploymentNumber);
2578
+ contents.DeploymentNumber = (0, smithy_client_1.expectInt32)(data.DeploymentNumber);
2579
2579
  }
2580
2580
  if (data.DeploymentStrategyId !== undefined && data.DeploymentStrategyId !== null) {
2581
- contents.DeploymentStrategyId = smithy_client_1.expectString(data.DeploymentStrategyId);
2581
+ contents.DeploymentStrategyId = (0, smithy_client_1.expectString)(data.DeploymentStrategyId);
2582
2582
  }
2583
2583
  if (data.Description !== undefined && data.Description !== null) {
2584
- contents.Description = smithy_client_1.expectString(data.Description);
2584
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
2585
2585
  }
2586
2586
  if (data.EnvironmentId !== undefined && data.EnvironmentId !== null) {
2587
- contents.EnvironmentId = smithy_client_1.expectString(data.EnvironmentId);
2587
+ contents.EnvironmentId = (0, smithy_client_1.expectString)(data.EnvironmentId);
2588
2588
  }
2589
2589
  if (data.EventLog !== undefined && data.EventLog !== null) {
2590
2590
  contents.EventLog = deserializeAws_restJson1DeploymentEvents(data.EventLog, context);
2591
2591
  }
2592
2592
  if (data.FinalBakeTimeInMinutes !== undefined && data.FinalBakeTimeInMinutes !== null) {
2593
- contents.FinalBakeTimeInMinutes = smithy_client_1.expectInt32(data.FinalBakeTimeInMinutes);
2593
+ contents.FinalBakeTimeInMinutes = (0, smithy_client_1.expectInt32)(data.FinalBakeTimeInMinutes);
2594
2594
  }
2595
2595
  if (data.GrowthFactor !== undefined && data.GrowthFactor !== null) {
2596
- contents.GrowthFactor = smithy_client_1.limitedParseFloat32(data.GrowthFactor);
2596
+ contents.GrowthFactor = (0, smithy_client_1.limitedParseFloat32)(data.GrowthFactor);
2597
2597
  }
2598
2598
  if (data.GrowthType !== undefined && data.GrowthType !== null) {
2599
- contents.GrowthType = smithy_client_1.expectString(data.GrowthType);
2599
+ contents.GrowthType = (0, smithy_client_1.expectString)(data.GrowthType);
2600
2600
  }
2601
2601
  if (data.PercentageComplete !== undefined && data.PercentageComplete !== null) {
2602
- contents.PercentageComplete = smithy_client_1.limitedParseFloat32(data.PercentageComplete);
2602
+ contents.PercentageComplete = (0, smithy_client_1.limitedParseFloat32)(data.PercentageComplete);
2603
2603
  }
2604
2604
  if (data.StartedAt !== undefined && data.StartedAt !== null) {
2605
- contents.StartedAt = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.StartedAt));
2605
+ contents.StartedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.StartedAt));
2606
2606
  }
2607
2607
  if (data.State !== undefined && data.State !== null) {
2608
- contents.State = smithy_client_1.expectString(data.State);
2608
+ contents.State = (0, smithy_client_1.expectString)(data.State);
2609
2609
  }
2610
2610
  return Promise.resolve(contents);
2611
2611
  };
@@ -2638,7 +2638,7 @@ const deserializeAws_restJson1StartDeploymentCommandError = async (output, conte
2638
2638
  $fault: "client",
2639
2639
  $metadata: deserializeMetadata(output),
2640
2640
  });
2641
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2641
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2642
2642
  }
2643
2643
  };
2644
2644
  const deserializeAws_restJson1StopDeploymentCommand = async (output, context) => {
@@ -2666,60 +2666,60 @@ const deserializeAws_restJson1StopDeploymentCommand = async (output, context) =>
2666
2666
  StartedAt: undefined,
2667
2667
  State: undefined,
2668
2668
  };
2669
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2669
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2670
2670
  if (data.ApplicationId !== undefined && data.ApplicationId !== null) {
2671
- contents.ApplicationId = smithy_client_1.expectString(data.ApplicationId);
2671
+ contents.ApplicationId = (0, smithy_client_1.expectString)(data.ApplicationId);
2672
2672
  }
2673
2673
  if (data.CompletedAt !== undefined && data.CompletedAt !== null) {
2674
- contents.CompletedAt = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.CompletedAt));
2674
+ contents.CompletedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.CompletedAt));
2675
2675
  }
2676
2676
  if (data.ConfigurationLocationUri !== undefined && data.ConfigurationLocationUri !== null) {
2677
- contents.ConfigurationLocationUri = smithy_client_1.expectString(data.ConfigurationLocationUri);
2677
+ contents.ConfigurationLocationUri = (0, smithy_client_1.expectString)(data.ConfigurationLocationUri);
2678
2678
  }
2679
2679
  if (data.ConfigurationName !== undefined && data.ConfigurationName !== null) {
2680
- contents.ConfigurationName = smithy_client_1.expectString(data.ConfigurationName);
2680
+ contents.ConfigurationName = (0, smithy_client_1.expectString)(data.ConfigurationName);
2681
2681
  }
2682
2682
  if (data.ConfigurationProfileId !== undefined && data.ConfigurationProfileId !== null) {
2683
- contents.ConfigurationProfileId = smithy_client_1.expectString(data.ConfigurationProfileId);
2683
+ contents.ConfigurationProfileId = (0, smithy_client_1.expectString)(data.ConfigurationProfileId);
2684
2684
  }
2685
2685
  if (data.ConfigurationVersion !== undefined && data.ConfigurationVersion !== null) {
2686
- contents.ConfigurationVersion = smithy_client_1.expectString(data.ConfigurationVersion);
2686
+ contents.ConfigurationVersion = (0, smithy_client_1.expectString)(data.ConfigurationVersion);
2687
2687
  }
2688
2688
  if (data.DeploymentDurationInMinutes !== undefined && data.DeploymentDurationInMinutes !== null) {
2689
- contents.DeploymentDurationInMinutes = smithy_client_1.expectInt32(data.DeploymentDurationInMinutes);
2689
+ contents.DeploymentDurationInMinutes = (0, smithy_client_1.expectInt32)(data.DeploymentDurationInMinutes);
2690
2690
  }
2691
2691
  if (data.DeploymentNumber !== undefined && data.DeploymentNumber !== null) {
2692
- contents.DeploymentNumber = smithy_client_1.expectInt32(data.DeploymentNumber);
2692
+ contents.DeploymentNumber = (0, smithy_client_1.expectInt32)(data.DeploymentNumber);
2693
2693
  }
2694
2694
  if (data.DeploymentStrategyId !== undefined && data.DeploymentStrategyId !== null) {
2695
- contents.DeploymentStrategyId = smithy_client_1.expectString(data.DeploymentStrategyId);
2695
+ contents.DeploymentStrategyId = (0, smithy_client_1.expectString)(data.DeploymentStrategyId);
2696
2696
  }
2697
2697
  if (data.Description !== undefined && data.Description !== null) {
2698
- contents.Description = smithy_client_1.expectString(data.Description);
2698
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
2699
2699
  }
2700
2700
  if (data.EnvironmentId !== undefined && data.EnvironmentId !== null) {
2701
- contents.EnvironmentId = smithy_client_1.expectString(data.EnvironmentId);
2701
+ contents.EnvironmentId = (0, smithy_client_1.expectString)(data.EnvironmentId);
2702
2702
  }
2703
2703
  if (data.EventLog !== undefined && data.EventLog !== null) {
2704
2704
  contents.EventLog = deserializeAws_restJson1DeploymentEvents(data.EventLog, context);
2705
2705
  }
2706
2706
  if (data.FinalBakeTimeInMinutes !== undefined && data.FinalBakeTimeInMinutes !== null) {
2707
- contents.FinalBakeTimeInMinutes = smithy_client_1.expectInt32(data.FinalBakeTimeInMinutes);
2707
+ contents.FinalBakeTimeInMinutes = (0, smithy_client_1.expectInt32)(data.FinalBakeTimeInMinutes);
2708
2708
  }
2709
2709
  if (data.GrowthFactor !== undefined && data.GrowthFactor !== null) {
2710
- contents.GrowthFactor = smithy_client_1.limitedParseFloat32(data.GrowthFactor);
2710
+ contents.GrowthFactor = (0, smithy_client_1.limitedParseFloat32)(data.GrowthFactor);
2711
2711
  }
2712
2712
  if (data.GrowthType !== undefined && data.GrowthType !== null) {
2713
- contents.GrowthType = smithy_client_1.expectString(data.GrowthType);
2713
+ contents.GrowthType = (0, smithy_client_1.expectString)(data.GrowthType);
2714
2714
  }
2715
2715
  if (data.PercentageComplete !== undefined && data.PercentageComplete !== null) {
2716
- contents.PercentageComplete = smithy_client_1.limitedParseFloat32(data.PercentageComplete);
2716
+ contents.PercentageComplete = (0, smithy_client_1.limitedParseFloat32)(data.PercentageComplete);
2717
2717
  }
2718
2718
  if (data.StartedAt !== undefined && data.StartedAt !== null) {
2719
- contents.StartedAt = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.StartedAt));
2719
+ contents.StartedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.StartedAt));
2720
2720
  }
2721
2721
  if (data.State !== undefined && data.State !== null) {
2722
- contents.State = smithy_client_1.expectString(data.State);
2722
+ contents.State = (0, smithy_client_1.expectString)(data.State);
2723
2723
  }
2724
2724
  return Promise.resolve(contents);
2725
2725
  };
@@ -2749,7 +2749,7 @@ const deserializeAws_restJson1StopDeploymentCommandError = async (output, contex
2749
2749
  $fault: "client",
2750
2750
  $metadata: deserializeMetadata(output),
2751
2751
  });
2752
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2752
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2753
2753
  }
2754
2754
  };
2755
2755
  const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
@@ -2788,7 +2788,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
2788
2788
  $fault: "client",
2789
2789
  $metadata: deserializeMetadata(output),
2790
2790
  });
2791
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2791
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2792
2792
  }
2793
2793
  };
2794
2794
  const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
@@ -2827,7 +2827,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
2827
2827
  $fault: "client",
2828
2828
  $metadata: deserializeMetadata(output),
2829
2829
  });
2830
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2830
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2831
2831
  }
2832
2832
  };
2833
2833
  const deserializeAws_restJson1UpdateApplicationCommand = async (output, context) => {
@@ -2840,15 +2840,15 @@ const deserializeAws_restJson1UpdateApplicationCommand = async (output, context)
2840
2840
  Id: undefined,
2841
2841
  Name: undefined,
2842
2842
  };
2843
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2843
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2844
2844
  if (data.Description !== undefined && data.Description !== null) {
2845
- contents.Description = smithy_client_1.expectString(data.Description);
2845
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
2846
2846
  }
2847
2847
  if (data.Id !== undefined && data.Id !== null) {
2848
- contents.Id = smithy_client_1.expectString(data.Id);
2848
+ contents.Id = (0, smithy_client_1.expectString)(data.Id);
2849
2849
  }
2850
2850
  if (data.Name !== undefined && data.Name !== null) {
2851
- contents.Name = smithy_client_1.expectString(data.Name);
2851
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
2852
2852
  }
2853
2853
  return Promise.resolve(contents);
2854
2854
  };
@@ -2878,7 +2878,7 @@ const deserializeAws_restJson1UpdateApplicationCommandError = async (output, con
2878
2878
  $fault: "client",
2879
2879
  $metadata: deserializeMetadata(output),
2880
2880
  });
2881
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2881
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2882
2882
  }
2883
2883
  };
2884
2884
  const deserializeAws_restJson1UpdateConfigurationProfileCommand = async (output, context) => {
@@ -2896,27 +2896,27 @@ const deserializeAws_restJson1UpdateConfigurationProfileCommand = async (output,
2896
2896
  Type: undefined,
2897
2897
  Validators: undefined,
2898
2898
  };
2899
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2899
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2900
2900
  if (data.ApplicationId !== undefined && data.ApplicationId !== null) {
2901
- contents.ApplicationId = smithy_client_1.expectString(data.ApplicationId);
2901
+ contents.ApplicationId = (0, smithy_client_1.expectString)(data.ApplicationId);
2902
2902
  }
2903
2903
  if (data.Description !== undefined && data.Description !== null) {
2904
- contents.Description = smithy_client_1.expectString(data.Description);
2904
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
2905
2905
  }
2906
2906
  if (data.Id !== undefined && data.Id !== null) {
2907
- contents.Id = smithy_client_1.expectString(data.Id);
2907
+ contents.Id = (0, smithy_client_1.expectString)(data.Id);
2908
2908
  }
2909
2909
  if (data.LocationUri !== undefined && data.LocationUri !== null) {
2910
- contents.LocationUri = smithy_client_1.expectString(data.LocationUri);
2910
+ contents.LocationUri = (0, smithy_client_1.expectString)(data.LocationUri);
2911
2911
  }
2912
2912
  if (data.Name !== undefined && data.Name !== null) {
2913
- contents.Name = smithy_client_1.expectString(data.Name);
2913
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
2914
2914
  }
2915
2915
  if (data.RetrievalRoleArn !== undefined && data.RetrievalRoleArn !== null) {
2916
- contents.RetrievalRoleArn = smithy_client_1.expectString(data.RetrievalRoleArn);
2916
+ contents.RetrievalRoleArn = (0, smithy_client_1.expectString)(data.RetrievalRoleArn);
2917
2917
  }
2918
2918
  if (data.Type !== undefined && data.Type !== null) {
2919
- contents.Type = smithy_client_1.expectString(data.Type);
2919
+ contents.Type = (0, smithy_client_1.expectString)(data.Type);
2920
2920
  }
2921
2921
  if (data.Validators !== undefined && data.Validators !== null) {
2922
2922
  contents.Validators = deserializeAws_restJson1ValidatorList(data.Validators, context);
@@ -2949,7 +2949,7 @@ const deserializeAws_restJson1UpdateConfigurationProfileCommandError = async (ou
2949
2949
  $fault: "client",
2950
2950
  $metadata: deserializeMetadata(output),
2951
2951
  });
2952
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2952
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2953
2953
  }
2954
2954
  };
2955
2955
  const deserializeAws_restJson1UpdateDeploymentStrategyCommand = async (output, context) => {
@@ -2967,30 +2967,30 @@ const deserializeAws_restJson1UpdateDeploymentStrategyCommand = async (output, c
2967
2967
  Name: undefined,
2968
2968
  ReplicateTo: undefined,
2969
2969
  };
2970
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2970
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2971
2971
  if (data.DeploymentDurationInMinutes !== undefined && data.DeploymentDurationInMinutes !== null) {
2972
- contents.DeploymentDurationInMinutes = smithy_client_1.expectInt32(data.DeploymentDurationInMinutes);
2972
+ contents.DeploymentDurationInMinutes = (0, smithy_client_1.expectInt32)(data.DeploymentDurationInMinutes);
2973
2973
  }
2974
2974
  if (data.Description !== undefined && data.Description !== null) {
2975
- contents.Description = smithy_client_1.expectString(data.Description);
2975
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
2976
2976
  }
2977
2977
  if (data.FinalBakeTimeInMinutes !== undefined && data.FinalBakeTimeInMinutes !== null) {
2978
- contents.FinalBakeTimeInMinutes = smithy_client_1.expectInt32(data.FinalBakeTimeInMinutes);
2978
+ contents.FinalBakeTimeInMinutes = (0, smithy_client_1.expectInt32)(data.FinalBakeTimeInMinutes);
2979
2979
  }
2980
2980
  if (data.GrowthFactor !== undefined && data.GrowthFactor !== null) {
2981
- contents.GrowthFactor = smithy_client_1.limitedParseFloat32(data.GrowthFactor);
2981
+ contents.GrowthFactor = (0, smithy_client_1.limitedParseFloat32)(data.GrowthFactor);
2982
2982
  }
2983
2983
  if (data.GrowthType !== undefined && data.GrowthType !== null) {
2984
- contents.GrowthType = smithy_client_1.expectString(data.GrowthType);
2984
+ contents.GrowthType = (0, smithy_client_1.expectString)(data.GrowthType);
2985
2985
  }
2986
2986
  if (data.Id !== undefined && data.Id !== null) {
2987
- contents.Id = smithy_client_1.expectString(data.Id);
2987
+ contents.Id = (0, smithy_client_1.expectString)(data.Id);
2988
2988
  }
2989
2989
  if (data.Name !== undefined && data.Name !== null) {
2990
- contents.Name = smithy_client_1.expectString(data.Name);
2990
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
2991
2991
  }
2992
2992
  if (data.ReplicateTo !== undefined && data.ReplicateTo !== null) {
2993
- contents.ReplicateTo = smithy_client_1.expectString(data.ReplicateTo);
2993
+ contents.ReplicateTo = (0, smithy_client_1.expectString)(data.ReplicateTo);
2994
2994
  }
2995
2995
  return Promise.resolve(contents);
2996
2996
  };
@@ -3020,7 +3020,7 @@ const deserializeAws_restJson1UpdateDeploymentStrategyCommandError = async (outp
3020
3020
  $fault: "client",
3021
3021
  $metadata: deserializeMetadata(output),
3022
3022
  });
3023
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3023
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3024
3024
  }
3025
3025
  };
3026
3026
  const deserializeAws_restJson1UpdateEnvironmentCommand = async (output, context) => {
@@ -3036,24 +3036,24 @@ const deserializeAws_restJson1UpdateEnvironmentCommand = async (output, context)
3036
3036
  Name: undefined,
3037
3037
  State: undefined,
3038
3038
  };
3039
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3039
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3040
3040
  if (data.ApplicationId !== undefined && data.ApplicationId !== null) {
3041
- contents.ApplicationId = smithy_client_1.expectString(data.ApplicationId);
3041
+ contents.ApplicationId = (0, smithy_client_1.expectString)(data.ApplicationId);
3042
3042
  }
3043
3043
  if (data.Description !== undefined && data.Description !== null) {
3044
- contents.Description = smithy_client_1.expectString(data.Description);
3044
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
3045
3045
  }
3046
3046
  if (data.Id !== undefined && data.Id !== null) {
3047
- contents.Id = smithy_client_1.expectString(data.Id);
3047
+ contents.Id = (0, smithy_client_1.expectString)(data.Id);
3048
3048
  }
3049
3049
  if (data.Monitors !== undefined && data.Monitors !== null) {
3050
3050
  contents.Monitors = deserializeAws_restJson1MonitorList(data.Monitors, context);
3051
3051
  }
3052
3052
  if (data.Name !== undefined && data.Name !== null) {
3053
- contents.Name = smithy_client_1.expectString(data.Name);
3053
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
3054
3054
  }
3055
3055
  if (data.State !== undefined && data.State !== null) {
3056
- contents.State = smithy_client_1.expectString(data.State);
3056
+ contents.State = (0, smithy_client_1.expectString)(data.State);
3057
3057
  }
3058
3058
  return Promise.resolve(contents);
3059
3059
  };
@@ -3083,7 +3083,7 @@ const deserializeAws_restJson1UpdateEnvironmentCommandError = async (output, con
3083
3083
  $fault: "client",
3084
3084
  $metadata: deserializeMetadata(output),
3085
3085
  });
3086
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3086
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3087
3087
  }
3088
3088
  };
3089
3089
  const deserializeAws_restJson1ValidateConfigurationCommand = async (output, context) => {
@@ -3122,98 +3122,98 @@ const deserializeAws_restJson1ValidateConfigurationCommandError = async (output,
3122
3122
  $fault: "client",
3123
3123
  $metadata: deserializeMetadata(output),
3124
3124
  });
3125
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3125
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3126
3126
  }
3127
3127
  };
3128
3128
  const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput, context) => {
3129
3129
  const contents = {};
3130
3130
  const data = parsedOutput.body;
3131
3131
  if (data.Details !== undefined && data.Details !== null) {
3132
- contents.Details = deserializeAws_restJson1BadRequestDetails(smithy_client_1.expectUnion(data.Details), context);
3132
+ contents.Details = deserializeAws_restJson1BadRequestDetails((0, smithy_client_1.expectUnion)(data.Details), context);
3133
3133
  }
3134
3134
  if (data.Message !== undefined && data.Message !== null) {
3135
- contents.Message = smithy_client_1.expectString(data.Message);
3135
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
3136
3136
  }
3137
3137
  if (data.Reason !== undefined && data.Reason !== null) {
3138
- contents.Reason = smithy_client_1.expectString(data.Reason);
3138
+ contents.Reason = (0, smithy_client_1.expectString)(data.Reason);
3139
3139
  }
3140
3140
  const exception = new models_0_1.BadRequestException({
3141
3141
  $metadata: deserializeMetadata(parsedOutput),
3142
3142
  ...contents,
3143
3143
  });
3144
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3144
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3145
3145
  };
3146
3146
  const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
3147
3147
  const contents = {};
3148
3148
  const data = parsedOutput.body;
3149
3149
  if (data.Message !== undefined && data.Message !== null) {
3150
- contents.Message = smithy_client_1.expectString(data.Message);
3150
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
3151
3151
  }
3152
3152
  const exception = new models_0_1.ConflictException({
3153
3153
  $metadata: deserializeMetadata(parsedOutput),
3154
3154
  ...contents,
3155
3155
  });
3156
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3156
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3157
3157
  };
3158
3158
  const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
3159
3159
  const contents = {};
3160
3160
  const data = parsedOutput.body;
3161
3161
  if (data.Message !== undefined && data.Message !== null) {
3162
- contents.Message = smithy_client_1.expectString(data.Message);
3162
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
3163
3163
  }
3164
3164
  const exception = new models_0_1.InternalServerException({
3165
3165
  $metadata: deserializeMetadata(parsedOutput),
3166
3166
  ...contents,
3167
3167
  });
3168
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3168
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3169
3169
  };
3170
3170
  const deserializeAws_restJson1PayloadTooLargeExceptionResponse = async (parsedOutput, context) => {
3171
3171
  const contents = {};
3172
3172
  const data = parsedOutput.body;
3173
3173
  if (data.Limit !== undefined && data.Limit !== null) {
3174
- contents.Limit = smithy_client_1.limitedParseFloat32(data.Limit);
3174
+ contents.Limit = (0, smithy_client_1.limitedParseFloat32)(data.Limit);
3175
3175
  }
3176
3176
  if (data.Measure !== undefined && data.Measure !== null) {
3177
- contents.Measure = smithy_client_1.expectString(data.Measure);
3177
+ contents.Measure = (0, smithy_client_1.expectString)(data.Measure);
3178
3178
  }
3179
3179
  if (data.Message !== undefined && data.Message !== null) {
3180
- contents.Message = smithy_client_1.expectString(data.Message);
3180
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
3181
3181
  }
3182
3182
  if (data.Size !== undefined && data.Size !== null) {
3183
- contents.Size = smithy_client_1.limitedParseFloat32(data.Size);
3183
+ contents.Size = (0, smithy_client_1.limitedParseFloat32)(data.Size);
3184
3184
  }
3185
3185
  const exception = new models_0_1.PayloadTooLargeException({
3186
3186
  $metadata: deserializeMetadata(parsedOutput),
3187
3187
  ...contents,
3188
3188
  });
3189
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3189
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3190
3190
  };
3191
3191
  const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
3192
3192
  const contents = {};
3193
3193
  const data = parsedOutput.body;
3194
3194
  if (data.Message !== undefined && data.Message !== null) {
3195
- contents.Message = smithy_client_1.expectString(data.Message);
3195
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
3196
3196
  }
3197
3197
  if (data.ResourceName !== undefined && data.ResourceName !== null) {
3198
- contents.ResourceName = smithy_client_1.expectString(data.ResourceName);
3198
+ contents.ResourceName = (0, smithy_client_1.expectString)(data.ResourceName);
3199
3199
  }
3200
3200
  const exception = new models_0_1.ResourceNotFoundException({
3201
3201
  $metadata: deserializeMetadata(parsedOutput),
3202
3202
  ...contents,
3203
3203
  });
3204
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3204
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3205
3205
  };
3206
3206
  const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
3207
3207
  const contents = {};
3208
3208
  const data = parsedOutput.body;
3209
3209
  if (data.Message !== undefined && data.Message !== null) {
3210
- contents.Message = smithy_client_1.expectString(data.Message);
3210
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
3211
3211
  }
3212
3212
  const exception = new models_0_1.ServiceQuotaExceededException({
3213
3213
  $metadata: deserializeMetadata(parsedOutput),
3214
3214
  ...contents,
3215
3215
  });
3216
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3216
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3217
3217
  };
3218
3218
  const serializeAws_restJson1Monitor = (input, context) => {
3219
3219
  return {
@@ -3260,9 +3260,9 @@ const serializeAws_restJson1ValidatorList = (input, context) => {
3260
3260
  };
3261
3261
  const deserializeAws_restJson1Application = (output, context) => {
3262
3262
  return {
3263
- Description: smithy_client_1.expectString(output.Description),
3264
- Id: smithy_client_1.expectString(output.Id),
3265
- Name: smithy_client_1.expectString(output.Name),
3263
+ Description: (0, smithy_client_1.expectString)(output.Description),
3264
+ Id: (0, smithy_client_1.expectString)(output.Id),
3265
+ Name: (0, smithy_client_1.expectString)(output.Name),
3266
3266
  };
3267
3267
  };
3268
3268
  const deserializeAws_restJson1ApplicationList = (output, context) => {
@@ -3286,11 +3286,11 @@ const deserializeAws_restJson1BadRequestDetails = (output, context) => {
3286
3286
  };
3287
3287
  const deserializeAws_restJson1ConfigurationProfileSummary = (output, context) => {
3288
3288
  return {
3289
- ApplicationId: smithy_client_1.expectString(output.ApplicationId),
3290
- Id: smithy_client_1.expectString(output.Id),
3291
- LocationUri: smithy_client_1.expectString(output.LocationUri),
3292
- Name: smithy_client_1.expectString(output.Name),
3293
- Type: smithy_client_1.expectString(output.Type),
3289
+ ApplicationId: (0, smithy_client_1.expectString)(output.ApplicationId),
3290
+ Id: (0, smithy_client_1.expectString)(output.Id),
3291
+ LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
3292
+ Name: (0, smithy_client_1.expectString)(output.Name),
3293
+ Type: (0, smithy_client_1.expectString)(output.Type),
3294
3294
  ValidatorTypes: output.ValidatorTypes !== undefined && output.ValidatorTypes !== null
3295
3295
  ? deserializeAws_restJson1ValidatorTypeList(output.ValidatorTypes, context)
3296
3296
  : undefined,
@@ -3309,12 +3309,12 @@ const deserializeAws_restJson1ConfigurationProfileSummaryList = (output, context
3309
3309
  };
3310
3310
  const deserializeAws_restJson1DeploymentEvent = (output, context) => {
3311
3311
  return {
3312
- Description: smithy_client_1.expectString(output.Description),
3313
- EventType: smithy_client_1.expectString(output.EventType),
3312
+ Description: (0, smithy_client_1.expectString)(output.Description),
3313
+ EventType: (0, smithy_client_1.expectString)(output.EventType),
3314
3314
  OccurredAt: output.OccurredAt !== undefined && output.OccurredAt !== null
3315
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.OccurredAt))
3315
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.OccurredAt))
3316
3316
  : undefined,
3317
- TriggeredBy: smithy_client_1.expectString(output.TriggeredBy),
3317
+ TriggeredBy: (0, smithy_client_1.expectString)(output.TriggeredBy),
3318
3318
  };
3319
3319
  };
3320
3320
  const deserializeAws_restJson1DeploymentEvents = (output, context) => {
@@ -3341,14 +3341,14 @@ const deserializeAws_restJson1DeploymentList = (output, context) => {
3341
3341
  };
3342
3342
  const deserializeAws_restJson1DeploymentStrategy = (output, context) => {
3343
3343
  return {
3344
- DeploymentDurationInMinutes: smithy_client_1.expectInt32(output.DeploymentDurationInMinutes),
3345
- Description: smithy_client_1.expectString(output.Description),
3346
- FinalBakeTimeInMinutes: smithy_client_1.expectInt32(output.FinalBakeTimeInMinutes),
3347
- GrowthFactor: smithy_client_1.limitedParseFloat32(output.GrowthFactor),
3348
- GrowthType: smithy_client_1.expectString(output.GrowthType),
3349
- Id: smithy_client_1.expectString(output.Id),
3350
- Name: smithy_client_1.expectString(output.Name),
3351
- ReplicateTo: smithy_client_1.expectString(output.ReplicateTo),
3344
+ DeploymentDurationInMinutes: (0, smithy_client_1.expectInt32)(output.DeploymentDurationInMinutes),
3345
+ Description: (0, smithy_client_1.expectString)(output.Description),
3346
+ FinalBakeTimeInMinutes: (0, smithy_client_1.expectInt32)(output.FinalBakeTimeInMinutes),
3347
+ GrowthFactor: (0, smithy_client_1.limitedParseFloat32)(output.GrowthFactor),
3348
+ GrowthType: (0, smithy_client_1.expectString)(output.GrowthType),
3349
+ Id: (0, smithy_client_1.expectString)(output.Id),
3350
+ Name: (0, smithy_client_1.expectString)(output.Name),
3351
+ ReplicateTo: (0, smithy_client_1.expectString)(output.ReplicateTo),
3352
3352
  };
3353
3353
  };
3354
3354
  const deserializeAws_restJson1DeploymentStrategyList = (output, context) => {
@@ -3365,32 +3365,32 @@ const deserializeAws_restJson1DeploymentStrategyList = (output, context) => {
3365
3365
  const deserializeAws_restJson1DeploymentSummary = (output, context) => {
3366
3366
  return {
3367
3367
  CompletedAt: output.CompletedAt !== undefined && output.CompletedAt !== null
3368
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.CompletedAt))
3368
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.CompletedAt))
3369
3369
  : undefined,
3370
- ConfigurationName: smithy_client_1.expectString(output.ConfigurationName),
3371
- ConfigurationVersion: smithy_client_1.expectString(output.ConfigurationVersion),
3372
- DeploymentDurationInMinutes: smithy_client_1.expectInt32(output.DeploymentDurationInMinutes),
3373
- DeploymentNumber: smithy_client_1.expectInt32(output.DeploymentNumber),
3374
- FinalBakeTimeInMinutes: smithy_client_1.expectInt32(output.FinalBakeTimeInMinutes),
3375
- GrowthFactor: smithy_client_1.limitedParseFloat32(output.GrowthFactor),
3376
- GrowthType: smithy_client_1.expectString(output.GrowthType),
3377
- PercentageComplete: smithy_client_1.limitedParseFloat32(output.PercentageComplete),
3370
+ ConfigurationName: (0, smithy_client_1.expectString)(output.ConfigurationName),
3371
+ ConfigurationVersion: (0, smithy_client_1.expectString)(output.ConfigurationVersion),
3372
+ DeploymentDurationInMinutes: (0, smithy_client_1.expectInt32)(output.DeploymentDurationInMinutes),
3373
+ DeploymentNumber: (0, smithy_client_1.expectInt32)(output.DeploymentNumber),
3374
+ FinalBakeTimeInMinutes: (0, smithy_client_1.expectInt32)(output.FinalBakeTimeInMinutes),
3375
+ GrowthFactor: (0, smithy_client_1.limitedParseFloat32)(output.GrowthFactor),
3376
+ GrowthType: (0, smithy_client_1.expectString)(output.GrowthType),
3377
+ PercentageComplete: (0, smithy_client_1.limitedParseFloat32)(output.PercentageComplete),
3378
3378
  StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
3379
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.StartedAt))
3379
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.StartedAt))
3380
3380
  : undefined,
3381
- State: smithy_client_1.expectString(output.State),
3381
+ State: (0, smithy_client_1.expectString)(output.State),
3382
3382
  };
3383
3383
  };
3384
3384
  const deserializeAws_restJson1Environment = (output, context) => {
3385
3385
  return {
3386
- ApplicationId: smithy_client_1.expectString(output.ApplicationId),
3387
- Description: smithy_client_1.expectString(output.Description),
3388
- Id: smithy_client_1.expectString(output.Id),
3386
+ ApplicationId: (0, smithy_client_1.expectString)(output.ApplicationId),
3387
+ Description: (0, smithy_client_1.expectString)(output.Description),
3388
+ Id: (0, smithy_client_1.expectString)(output.Id),
3389
3389
  Monitors: output.Monitors !== undefined && output.Monitors !== null
3390
3390
  ? deserializeAws_restJson1MonitorList(output.Monitors, context)
3391
3391
  : undefined,
3392
- Name: smithy_client_1.expectString(output.Name),
3393
- State: smithy_client_1.expectString(output.State),
3392
+ Name: (0, smithy_client_1.expectString)(output.Name),
3393
+ State: (0, smithy_client_1.expectString)(output.State),
3394
3394
  };
3395
3395
  };
3396
3396
  const deserializeAws_restJson1EnvironmentList = (output, context) => {
@@ -3406,11 +3406,11 @@ const deserializeAws_restJson1EnvironmentList = (output, context) => {
3406
3406
  };
3407
3407
  const deserializeAws_restJson1HostedConfigurationVersionSummary = (output, context) => {
3408
3408
  return {
3409
- ApplicationId: smithy_client_1.expectString(output.ApplicationId),
3410
- ConfigurationProfileId: smithy_client_1.expectString(output.ConfigurationProfileId),
3411
- ContentType: smithy_client_1.expectString(output.ContentType),
3412
- Description: smithy_client_1.expectString(output.Description),
3413
- VersionNumber: smithy_client_1.expectInt32(output.VersionNumber),
3409
+ ApplicationId: (0, smithy_client_1.expectString)(output.ApplicationId),
3410
+ ConfigurationProfileId: (0, smithy_client_1.expectString)(output.ConfigurationProfileId),
3411
+ ContentType: (0, smithy_client_1.expectString)(output.ContentType),
3412
+ Description: (0, smithy_client_1.expectString)(output.Description),
3413
+ VersionNumber: (0, smithy_client_1.expectInt32)(output.VersionNumber),
3414
3414
  };
3415
3415
  };
3416
3416
  const deserializeAws_restJson1HostedConfigurationVersionSummaryList = (output, context) => {
@@ -3426,10 +3426,10 @@ const deserializeAws_restJson1HostedConfigurationVersionSummaryList = (output, c
3426
3426
  };
3427
3427
  const deserializeAws_restJson1InvalidConfigurationDetail = (output, context) => {
3428
3428
  return {
3429
- Constraint: smithy_client_1.expectString(output.Constraint),
3430
- Location: smithy_client_1.expectString(output.Location),
3431
- Reason: smithy_client_1.expectString(output.Reason),
3432
- Type: smithy_client_1.expectString(output.Type),
3429
+ Constraint: (0, smithy_client_1.expectString)(output.Constraint),
3430
+ Location: (0, smithy_client_1.expectString)(output.Location),
3431
+ Reason: (0, smithy_client_1.expectString)(output.Reason),
3432
+ Type: (0, smithy_client_1.expectString)(output.Type),
3433
3433
  };
3434
3434
  };
3435
3435
  const deserializeAws_restJson1InvalidConfigurationDetailList = (output, context) => {
@@ -3445,8 +3445,8 @@ const deserializeAws_restJson1InvalidConfigurationDetailList = (output, context)
3445
3445
  };
3446
3446
  const deserializeAws_restJson1Monitor = (output, context) => {
3447
3447
  return {
3448
- AlarmArn: smithy_client_1.expectString(output.AlarmArn),
3449
- AlarmRoleArn: smithy_client_1.expectString(output.AlarmRoleArn),
3448
+ AlarmArn: (0, smithy_client_1.expectString)(output.AlarmArn),
3449
+ AlarmRoleArn: (0, smithy_client_1.expectString)(output.AlarmRoleArn),
3450
3450
  };
3451
3451
  };
3452
3452
  const deserializeAws_restJson1MonitorList = (output, context) => {
@@ -3467,14 +3467,14 @@ const deserializeAws_restJson1TagMap = (output, context) => {
3467
3467
  }
3468
3468
  return {
3469
3469
  ...acc,
3470
- [key]: smithy_client_1.expectString(value),
3470
+ [key]: (0, smithy_client_1.expectString)(value),
3471
3471
  };
3472
3472
  }, {});
3473
3473
  };
3474
3474
  const deserializeAws_restJson1Validator = (output, context) => {
3475
3475
  return {
3476
- Content: smithy_client_1.expectString(output.Content),
3477
- Type: smithy_client_1.expectString(output.Type),
3476
+ Content: (0, smithy_client_1.expectString)(output.Content),
3477
+ Type: (0, smithy_client_1.expectString)(output.Type),
3478
3478
  };
3479
3479
  };
3480
3480
  const deserializeAws_restJson1ValidatorList = (output, context) => {
@@ -3495,7 +3495,7 @@ const deserializeAws_restJson1ValidatorTypeList = (output, context) => {
3495
3495
  if (entry === null) {
3496
3496
  return null;
3497
3497
  }
3498
- return smithy_client_1.expectString(entry);
3498
+ return (0, smithy_client_1.expectString)(entry);
3499
3499
  });
3500
3500
  return retVal;
3501
3501
  };