@aws-sdk/client-databrew 3.53.0 → 3.55.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 (70) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/DataBrewClient.js +14 -14
  3. package/dist-cjs/commands/BatchDeleteRecipeVersionCommand.js +3 -3
  4. package/dist-cjs/commands/CreateDatasetCommand.js +3 -3
  5. package/dist-cjs/commands/CreateProfileJobCommand.js +3 -3
  6. package/dist-cjs/commands/CreateProjectCommand.js +3 -3
  7. package/dist-cjs/commands/CreateRecipeCommand.js +3 -3
  8. package/dist-cjs/commands/CreateRecipeJobCommand.js +3 -3
  9. package/dist-cjs/commands/CreateRulesetCommand.js +3 -3
  10. package/dist-cjs/commands/CreateScheduleCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteDatasetCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteJobCommand.js +3 -3
  13. package/dist-cjs/commands/DeleteProjectCommand.js +3 -3
  14. package/dist-cjs/commands/DeleteRecipeVersionCommand.js +3 -3
  15. package/dist-cjs/commands/DeleteRulesetCommand.js +3 -3
  16. package/dist-cjs/commands/DeleteScheduleCommand.js +3 -3
  17. package/dist-cjs/commands/DescribeDatasetCommand.js +3 -3
  18. package/dist-cjs/commands/DescribeJobCommand.js +3 -3
  19. package/dist-cjs/commands/DescribeJobRunCommand.js +3 -3
  20. package/dist-cjs/commands/DescribeProjectCommand.js +3 -3
  21. package/dist-cjs/commands/DescribeRecipeCommand.js +3 -3
  22. package/dist-cjs/commands/DescribeRulesetCommand.js +3 -3
  23. package/dist-cjs/commands/DescribeScheduleCommand.js +3 -3
  24. package/dist-cjs/commands/ListDatasetsCommand.js +3 -3
  25. package/dist-cjs/commands/ListJobRunsCommand.js +3 -3
  26. package/dist-cjs/commands/ListJobsCommand.js +3 -3
  27. package/dist-cjs/commands/ListProjectsCommand.js +3 -3
  28. package/dist-cjs/commands/ListRecipeVersionsCommand.js +3 -3
  29. package/dist-cjs/commands/ListRecipesCommand.js +3 -3
  30. package/dist-cjs/commands/ListRulesetsCommand.js +3 -3
  31. package/dist-cjs/commands/ListSchedulesCommand.js +3 -3
  32. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  33. package/dist-cjs/commands/PublishRecipeCommand.js +3 -3
  34. package/dist-cjs/commands/SendProjectSessionActionCommand.js +3 -3
  35. package/dist-cjs/commands/StartJobRunCommand.js +3 -3
  36. package/dist-cjs/commands/StartProjectSessionCommand.js +3 -3
  37. package/dist-cjs/commands/StopJobRunCommand.js +3 -3
  38. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  39. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  40. package/dist-cjs/commands/UpdateDatasetCommand.js +3 -3
  41. package/dist-cjs/commands/UpdateProfileJobCommand.js +3 -3
  42. package/dist-cjs/commands/UpdateProjectCommand.js +3 -3
  43. package/dist-cjs/commands/UpdateRecipeCommand.js +3 -3
  44. package/dist-cjs/commands/UpdateRecipeJobCommand.js +3 -3
  45. package/dist-cjs/commands/UpdateRulesetCommand.js +3 -3
  46. package/dist-cjs/commands/UpdateScheduleCommand.js +3 -3
  47. package/dist-cjs/endpoints.js +1 -1
  48. package/dist-cjs/protocols/Aws_restJson1.js +393 -393
  49. package/dist-cjs/runtimeConfig.browser.js +4 -4
  50. package/dist-cjs/runtimeConfig.js +9 -9
  51. package/dist-cjs/runtimeConfig.native.js +1 -1
  52. package/dist-es/DataBrew.js +44 -44
  53. package/dist-es/pagination/ListDatasetsPaginator.js +4 -4
  54. package/dist-es/pagination/ListJobRunsPaginator.js +4 -4
  55. package/dist-es/pagination/ListJobsPaginator.js +4 -4
  56. package/dist-es/pagination/ListProjectsPaginator.js +4 -4
  57. package/dist-es/pagination/ListRecipeVersionsPaginator.js +4 -4
  58. package/dist-es/pagination/ListRecipesPaginator.js +4 -4
  59. package/dist-es/pagination/ListRulesetsPaginator.js +4 -4
  60. package/dist-es/pagination/ListSchedulesPaginator.js +4 -4
  61. package/dist-es/protocols/Aws_restJson1.js +44 -44
  62. package/dist-types/DataBrewClient.d.ts +2 -2
  63. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  64. package/dist-types/runtimeConfig.d.ts +1 -1
  65. package/dist-types/runtimeConfig.native.d.ts +3 -3
  66. package/dist-types/ts3.4/DataBrewClient.d.ts +2 -2
  67. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  68. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  69. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  70. package/package.json +34 -34
@@ -17,7 +17,7 @@ const serializeAws_restJson1BatchDeleteRecipeVersionCommand = async (input, cont
17
17
  if (labelValue.length <= 0) {
18
18
  throw new Error("Empty value provided for input HTTP label: Name.");
19
19
  }
20
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
20
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
21
21
  }
22
22
  else {
23
23
  throw new Error("No value provided for input HTTP label: Name.");
@@ -279,7 +279,7 @@ const serializeAws_restJson1DeleteDatasetCommand = async (input, context) => {
279
279
  if (labelValue.length <= 0) {
280
280
  throw new Error("Empty value provided for input HTTP label: Name.");
281
281
  }
282
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
282
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
283
283
  }
284
284
  else {
285
285
  throw new Error("No value provided for input HTTP label: Name.");
@@ -305,7 +305,7 @@ const serializeAws_restJson1DeleteJobCommand = async (input, context) => {
305
305
  if (labelValue.length <= 0) {
306
306
  throw new Error("Empty value provided for input HTTP label: Name.");
307
307
  }
308
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
308
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
309
309
  }
310
310
  else {
311
311
  throw new Error("No value provided for input HTTP label: Name.");
@@ -331,7 +331,7 @@ const serializeAws_restJson1DeleteProjectCommand = async (input, context) => {
331
331
  if (labelValue.length <= 0) {
332
332
  throw new Error("Empty value provided for input HTTP label: Name.");
333
333
  }
334
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
334
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
335
335
  }
336
336
  else {
337
337
  throw new Error("No value provided for input HTTP label: Name.");
@@ -358,7 +358,7 @@ const serializeAws_restJson1DeleteRecipeVersionCommand = async (input, context)
358
358
  if (labelValue.length <= 0) {
359
359
  throw new Error("Empty value provided for input HTTP label: Name.");
360
360
  }
361
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
361
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
362
362
  }
363
363
  else {
364
364
  throw new Error("No value provided for input HTTP label: Name.");
@@ -368,7 +368,7 @@ const serializeAws_restJson1DeleteRecipeVersionCommand = async (input, context)
368
368
  if (labelValue.length <= 0) {
369
369
  throw new Error("Empty value provided for input HTTP label: RecipeVersion.");
370
370
  }
371
- resolvedPath = resolvedPath.replace("{RecipeVersion}", smithy_client_1.extendedEncodeURIComponent(labelValue));
371
+ resolvedPath = resolvedPath.replace("{RecipeVersion}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
372
372
  }
373
373
  else {
374
374
  throw new Error("No value provided for input HTTP label: RecipeVersion.");
@@ -394,7 +394,7 @@ const serializeAws_restJson1DeleteRulesetCommand = async (input, context) => {
394
394
  if (labelValue.length <= 0) {
395
395
  throw new Error("Empty value provided for input HTTP label: Name.");
396
396
  }
397
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
397
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
398
398
  }
399
399
  else {
400
400
  throw new Error("No value provided for input HTTP label: Name.");
@@ -420,7 +420,7 @@ const serializeAws_restJson1DeleteScheduleCommand = async (input, context) => {
420
420
  if (labelValue.length <= 0) {
421
421
  throw new Error("Empty value provided for input HTTP label: Name.");
422
422
  }
423
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
423
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
424
424
  }
425
425
  else {
426
426
  throw new Error("No value provided for input HTTP label: Name.");
@@ -446,7 +446,7 @@ const serializeAws_restJson1DescribeDatasetCommand = async (input, context) => {
446
446
  if (labelValue.length <= 0) {
447
447
  throw new Error("Empty value provided for input HTTP label: Name.");
448
448
  }
449
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
449
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
450
450
  }
451
451
  else {
452
452
  throw new Error("No value provided for input HTTP label: Name.");
@@ -472,7 +472,7 @@ const serializeAws_restJson1DescribeJobCommand = async (input, context) => {
472
472
  if (labelValue.length <= 0) {
473
473
  throw new Error("Empty value provided for input HTTP label: Name.");
474
474
  }
475
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
475
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
476
476
  }
477
477
  else {
478
478
  throw new Error("No value provided for input HTTP label: Name.");
@@ -498,7 +498,7 @@ const serializeAws_restJson1DescribeJobRunCommand = async (input, context) => {
498
498
  if (labelValue.length <= 0) {
499
499
  throw new Error("Empty value provided for input HTTP label: Name.");
500
500
  }
501
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
501
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
502
502
  }
503
503
  else {
504
504
  throw new Error("No value provided for input HTTP label: Name.");
@@ -508,7 +508,7 @@ const serializeAws_restJson1DescribeJobRunCommand = async (input, context) => {
508
508
  if (labelValue.length <= 0) {
509
509
  throw new Error("Empty value provided for input HTTP label: RunId.");
510
510
  }
511
- resolvedPath = resolvedPath.replace("{RunId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
511
+ resolvedPath = resolvedPath.replace("{RunId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
512
512
  }
513
513
  else {
514
514
  throw new Error("No value provided for input HTTP label: RunId.");
@@ -534,7 +534,7 @@ const serializeAws_restJson1DescribeProjectCommand = async (input, context) => {
534
534
  if (labelValue.length <= 0) {
535
535
  throw new Error("Empty value provided for input HTTP label: Name.");
536
536
  }
537
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
537
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
538
538
  }
539
539
  else {
540
540
  throw new Error("No value provided for input HTTP label: Name.");
@@ -560,7 +560,7 @@ const serializeAws_restJson1DescribeRecipeCommand = async (input, context) => {
560
560
  if (labelValue.length <= 0) {
561
561
  throw new Error("Empty value provided for input HTTP label: Name.");
562
562
  }
563
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
563
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
564
564
  }
565
565
  else {
566
566
  throw new Error("No value provided for input HTTP label: Name.");
@@ -590,7 +590,7 @@ const serializeAws_restJson1DescribeRulesetCommand = async (input, context) => {
590
590
  if (labelValue.length <= 0) {
591
591
  throw new Error("Empty value provided for input HTTP label: Name.");
592
592
  }
593
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
593
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
594
594
  }
595
595
  else {
596
596
  throw new Error("No value provided for input HTTP label: Name.");
@@ -616,7 +616,7 @@ const serializeAws_restJson1DescribeScheduleCommand = async (input, context) =>
616
616
  if (labelValue.length <= 0) {
617
617
  throw new Error("Empty value provided for input HTTP label: Name.");
618
618
  }
619
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
619
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
620
620
  }
621
621
  else {
622
622
  throw new Error("No value provided for input HTTP label: Name.");
@@ -663,7 +663,7 @@ const serializeAws_restJson1ListJobRunsCommand = async (input, context) => {
663
663
  if (labelValue.length <= 0) {
664
664
  throw new Error("Empty value provided for input HTTP label: Name.");
665
665
  }
666
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
666
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
667
667
  }
668
668
  else {
669
669
  throw new Error("No value provided for input HTTP label: Name.");
@@ -826,7 +826,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
826
826
  if (labelValue.length <= 0) {
827
827
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
828
828
  }
829
- resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
829
+ resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
830
830
  }
831
831
  else {
832
832
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -854,7 +854,7 @@ const serializeAws_restJson1PublishRecipeCommand = async (input, context) => {
854
854
  if (labelValue.length <= 0) {
855
855
  throw new Error("Empty value provided for input HTTP label: Name.");
856
856
  }
857
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
857
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
858
858
  }
859
859
  else {
860
860
  throw new Error("No value provided for input HTTP label: Name.");
@@ -885,7 +885,7 @@ const serializeAws_restJson1SendProjectSessionActionCommand = async (input, cont
885
885
  if (labelValue.length <= 0) {
886
886
  throw new Error("Empty value provided for input HTTP label: Name.");
887
887
  }
888
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
888
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
889
889
  }
890
890
  else {
891
891
  throw new Error("No value provided for input HTTP label: Name.");
@@ -921,7 +921,7 @@ const serializeAws_restJson1StartJobRunCommand = async (input, context) => {
921
921
  if (labelValue.length <= 0) {
922
922
  throw new Error("Empty value provided for input HTTP label: Name.");
923
923
  }
924
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
924
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
925
925
  }
926
926
  else {
927
927
  throw new Error("No value provided for input HTTP label: Name.");
@@ -949,7 +949,7 @@ const serializeAws_restJson1StartProjectSessionCommand = async (input, context)
949
949
  if (labelValue.length <= 0) {
950
950
  throw new Error("Empty value provided for input HTTP label: Name.");
951
951
  }
952
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
952
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
953
953
  }
954
954
  else {
955
955
  throw new Error("No value provided for input HTTP label: Name.");
@@ -978,7 +978,7 @@ const serializeAws_restJson1StopJobRunCommand = async (input, context) => {
978
978
  if (labelValue.length <= 0) {
979
979
  throw new Error("Empty value provided for input HTTP label: Name.");
980
980
  }
981
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
981
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
982
982
  }
983
983
  else {
984
984
  throw new Error("No value provided for input HTTP label: Name.");
@@ -988,7 +988,7 @@ const serializeAws_restJson1StopJobRunCommand = async (input, context) => {
988
988
  if (labelValue.length <= 0) {
989
989
  throw new Error("Empty value provided for input HTTP label: RunId.");
990
990
  }
991
- resolvedPath = resolvedPath.replace("{RunId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
991
+ resolvedPath = resolvedPath.replace("{RunId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
992
992
  }
993
993
  else {
994
994
  throw new Error("No value provided for input HTTP label: RunId.");
@@ -1016,7 +1016,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
1016
1016
  if (labelValue.length <= 0) {
1017
1017
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
1018
1018
  }
1019
- resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1019
+ resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1020
1020
  }
1021
1021
  else {
1022
1022
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -1045,7 +1045,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
1045
1045
  if (labelValue.length <= 0) {
1046
1046
  throw new Error("Empty value provided for input HTTP label: ResourceArn.");
1047
1047
  }
1048
- resolvedPath = resolvedPath.replace("{ResourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1048
+ resolvedPath = resolvedPath.replace("{ResourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1049
1049
  }
1050
1050
  else {
1051
1051
  throw new Error("No value provided for input HTTP label: ResourceArn.");
@@ -1077,7 +1077,7 @@ const serializeAws_restJson1UpdateDatasetCommand = async (input, context) => {
1077
1077
  if (labelValue.length <= 0) {
1078
1078
  throw new Error("Empty value provided for input HTTP label: Name.");
1079
1079
  }
1080
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1080
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1081
1081
  }
1082
1082
  else {
1083
1083
  throw new Error("No value provided for input HTTP label: Name.");
@@ -1116,7 +1116,7 @@ const serializeAws_restJson1UpdateProfileJobCommand = async (input, context) =>
1116
1116
  if (labelValue.length <= 0) {
1117
1117
  throw new Error("Empty value provided for input HTTP label: Name.");
1118
1118
  }
1119
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1119
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1120
1120
  }
1121
1121
  else {
1122
1122
  throw new Error("No value provided for input HTTP label: Name.");
@@ -1170,7 +1170,7 @@ const serializeAws_restJson1UpdateProjectCommand = async (input, context) => {
1170
1170
  if (labelValue.length <= 0) {
1171
1171
  throw new Error("Empty value provided for input HTTP label: Name.");
1172
1172
  }
1173
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1173
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1174
1174
  }
1175
1175
  else {
1176
1176
  throw new Error("No value provided for input HTTP label: Name.");
@@ -1203,7 +1203,7 @@ const serializeAws_restJson1UpdateRecipeCommand = async (input, context) => {
1203
1203
  if (labelValue.length <= 0) {
1204
1204
  throw new Error("Empty value provided for input HTTP label: Name.");
1205
1205
  }
1206
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1206
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1207
1207
  }
1208
1208
  else {
1209
1209
  throw new Error("No value provided for input HTTP label: Name.");
@@ -1236,7 +1236,7 @@ const serializeAws_restJson1UpdateRecipeJobCommand = async (input, context) => {
1236
1236
  if (labelValue.length <= 0) {
1237
1237
  throw new Error("Empty value provided for input HTTP label: Name.");
1238
1238
  }
1239
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1239
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1240
1240
  }
1241
1241
  else {
1242
1242
  throw new Error("No value provided for input HTTP label: Name.");
@@ -1286,7 +1286,7 @@ const serializeAws_restJson1UpdateRulesetCommand = async (input, context) => {
1286
1286
  if (labelValue.length <= 0) {
1287
1287
  throw new Error("Empty value provided for input HTTP label: Name.");
1288
1288
  }
1289
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1289
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1290
1290
  }
1291
1291
  else {
1292
1292
  throw new Error("No value provided for input HTTP label: Name.");
@@ -1319,7 +1319,7 @@ const serializeAws_restJson1UpdateScheduleCommand = async (input, context) => {
1319
1319
  if (labelValue.length <= 0) {
1320
1320
  throw new Error("Empty value provided for input HTTP label: Name.");
1321
1321
  }
1322
- resolvedPath = resolvedPath.replace("{Name}", smithy_client_1.extendedEncodeURIComponent(labelValue));
1322
+ resolvedPath = resolvedPath.replace("{Name}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
1323
1323
  }
1324
1324
  else {
1325
1325
  throw new Error("No value provided for input HTTP label: Name.");
@@ -1351,12 +1351,12 @@ const deserializeAws_restJson1BatchDeleteRecipeVersionCommand = async (output, c
1351
1351
  Errors: undefined,
1352
1352
  Name: undefined,
1353
1353
  };
1354
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1354
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1355
1355
  if (data.Errors !== undefined && data.Errors !== null) {
1356
1356
  contents.Errors = deserializeAws_restJson1RecipeErrorList(data.Errors, context);
1357
1357
  }
1358
1358
  if (data.Name !== undefined && data.Name !== null) {
1359
- contents.Name = smithy_client_1.expectString(data.Name);
1359
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
1360
1360
  }
1361
1361
  return Promise.resolve(contents);
1362
1362
  };
@@ -1386,7 +1386,7 @@ const deserializeAws_restJson1BatchDeleteRecipeVersionCommandError = async (outp
1386
1386
  $fault: "client",
1387
1387
  $metadata: deserializeMetadata(output),
1388
1388
  });
1389
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1389
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1390
1390
  }
1391
1391
  };
1392
1392
  const deserializeAws_restJson1CreateDatasetCommand = async (output, context) => {
@@ -1397,9 +1397,9 @@ const deserializeAws_restJson1CreateDatasetCommand = async (output, context) =>
1397
1397
  $metadata: deserializeMetadata(output),
1398
1398
  Name: undefined,
1399
1399
  };
1400
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1400
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1401
1401
  if (data.Name !== undefined && data.Name !== null) {
1402
- contents.Name = smithy_client_1.expectString(data.Name);
1402
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
1403
1403
  }
1404
1404
  return Promise.resolve(contents);
1405
1405
  };
@@ -1432,7 +1432,7 @@ const deserializeAws_restJson1CreateDatasetCommandError = async (output, context
1432
1432
  $fault: "client",
1433
1433
  $metadata: deserializeMetadata(output),
1434
1434
  });
1435
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1435
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1436
1436
  }
1437
1437
  };
1438
1438
  const deserializeAws_restJson1CreateProfileJobCommand = async (output, context) => {
@@ -1443,9 +1443,9 @@ const deserializeAws_restJson1CreateProfileJobCommand = async (output, context)
1443
1443
  $metadata: deserializeMetadata(output),
1444
1444
  Name: undefined,
1445
1445
  };
1446
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1446
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1447
1447
  if (data.Name !== undefined && data.Name !== null) {
1448
- contents.Name = smithy_client_1.expectString(data.Name);
1448
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
1449
1449
  }
1450
1450
  return Promise.resolve(contents);
1451
1451
  };
@@ -1481,7 +1481,7 @@ const deserializeAws_restJson1CreateProfileJobCommandError = async (output, cont
1481
1481
  $fault: "client",
1482
1482
  $metadata: deserializeMetadata(output),
1483
1483
  });
1484
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1484
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1485
1485
  }
1486
1486
  };
1487
1487
  const deserializeAws_restJson1CreateProjectCommand = async (output, context) => {
@@ -1492,9 +1492,9 @@ const deserializeAws_restJson1CreateProjectCommand = async (output, context) =>
1492
1492
  $metadata: deserializeMetadata(output),
1493
1493
  Name: undefined,
1494
1494
  };
1495
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1495
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1496
1496
  if (data.Name !== undefined && data.Name !== null) {
1497
- contents.Name = smithy_client_1.expectString(data.Name);
1497
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
1498
1498
  }
1499
1499
  return Promise.resolve(contents);
1500
1500
  };
@@ -1527,7 +1527,7 @@ const deserializeAws_restJson1CreateProjectCommandError = async (output, context
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_restJson1CreateRecipeCommand = async (output, context) => {
@@ -1538,9 +1538,9 @@ const deserializeAws_restJson1CreateRecipeCommand = async (output, context) => {
1538
1538
  $metadata: deserializeMetadata(output),
1539
1539
  Name: undefined,
1540
1540
  };
1541
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1541
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1542
1542
  if (data.Name !== undefined && data.Name !== null) {
1543
- contents.Name = smithy_client_1.expectString(data.Name);
1543
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
1544
1544
  }
1545
1545
  return Promise.resolve(contents);
1546
1546
  };
@@ -1570,7 +1570,7 @@ const deserializeAws_restJson1CreateRecipeCommandError = async (output, context)
1570
1570
  $fault: "client",
1571
1571
  $metadata: deserializeMetadata(output),
1572
1572
  });
1573
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1573
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1574
1574
  }
1575
1575
  };
1576
1576
  const deserializeAws_restJson1CreateRecipeJobCommand = async (output, context) => {
@@ -1581,9 +1581,9 @@ const deserializeAws_restJson1CreateRecipeJobCommand = async (output, context) =
1581
1581
  $metadata: deserializeMetadata(output),
1582
1582
  Name: undefined,
1583
1583
  };
1584
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1584
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1585
1585
  if (data.Name !== undefined && data.Name !== null) {
1586
- contents.Name = smithy_client_1.expectString(data.Name);
1586
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
1587
1587
  }
1588
1588
  return Promise.resolve(contents);
1589
1589
  };
@@ -1619,7 +1619,7 @@ const deserializeAws_restJson1CreateRecipeJobCommandError = async (output, conte
1619
1619
  $fault: "client",
1620
1620
  $metadata: deserializeMetadata(output),
1621
1621
  });
1622
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1622
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1623
1623
  }
1624
1624
  };
1625
1625
  const deserializeAws_restJson1CreateRulesetCommand = async (output, context) => {
@@ -1630,9 +1630,9 @@ const deserializeAws_restJson1CreateRulesetCommand = async (output, context) =>
1630
1630
  $metadata: deserializeMetadata(output),
1631
1631
  Name: undefined,
1632
1632
  };
1633
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1633
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1634
1634
  if (data.Name !== undefined && data.Name !== null) {
1635
- contents.Name = smithy_client_1.expectString(data.Name);
1635
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
1636
1636
  }
1637
1637
  return Promise.resolve(contents);
1638
1638
  };
@@ -1662,7 +1662,7 @@ const deserializeAws_restJson1CreateRulesetCommandError = async (output, context
1662
1662
  $fault: "client",
1663
1663
  $metadata: deserializeMetadata(output),
1664
1664
  });
1665
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1665
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1666
1666
  }
1667
1667
  };
1668
1668
  const deserializeAws_restJson1CreateScheduleCommand = async (output, context) => {
@@ -1673,9 +1673,9 @@ const deserializeAws_restJson1CreateScheduleCommand = async (output, context) =>
1673
1673
  $metadata: deserializeMetadata(output),
1674
1674
  Name: undefined,
1675
1675
  };
1676
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1676
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1677
1677
  if (data.Name !== undefined && data.Name !== null) {
1678
- contents.Name = smithy_client_1.expectString(data.Name);
1678
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
1679
1679
  }
1680
1680
  return Promise.resolve(contents);
1681
1681
  };
@@ -1705,7 +1705,7 @@ const deserializeAws_restJson1CreateScheduleCommandError = async (output, contex
1705
1705
  $fault: "client",
1706
1706
  $metadata: deserializeMetadata(output),
1707
1707
  });
1708
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1708
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1709
1709
  }
1710
1710
  };
1711
1711
  const deserializeAws_restJson1DeleteDatasetCommand = async (output, context) => {
@@ -1716,9 +1716,9 @@ const deserializeAws_restJson1DeleteDatasetCommand = async (output, context) =>
1716
1716
  $metadata: deserializeMetadata(output),
1717
1717
  Name: undefined,
1718
1718
  };
1719
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1719
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1720
1720
  if (data.Name !== undefined && data.Name !== null) {
1721
- contents.Name = smithy_client_1.expectString(data.Name);
1721
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
1722
1722
  }
1723
1723
  return Promise.resolve(contents);
1724
1724
  };
@@ -1748,7 +1748,7 @@ const deserializeAws_restJson1DeleteDatasetCommandError = async (output, context
1748
1748
  $fault: "client",
1749
1749
  $metadata: deserializeMetadata(output),
1750
1750
  });
1751
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1751
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1752
1752
  }
1753
1753
  };
1754
1754
  const deserializeAws_restJson1DeleteJobCommand = async (output, context) => {
@@ -1759,9 +1759,9 @@ const deserializeAws_restJson1DeleteJobCommand = async (output, context) => {
1759
1759
  $metadata: deserializeMetadata(output),
1760
1760
  Name: undefined,
1761
1761
  };
1762
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1762
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1763
1763
  if (data.Name !== undefined && data.Name !== null) {
1764
- contents.Name = smithy_client_1.expectString(data.Name);
1764
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
1765
1765
  }
1766
1766
  return Promise.resolve(contents);
1767
1767
  };
@@ -1791,7 +1791,7 @@ const deserializeAws_restJson1DeleteJobCommandError = async (output, context) =>
1791
1791
  $fault: "client",
1792
1792
  $metadata: deserializeMetadata(output),
1793
1793
  });
1794
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1794
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1795
1795
  }
1796
1796
  };
1797
1797
  const deserializeAws_restJson1DeleteProjectCommand = async (output, context) => {
@@ -1802,9 +1802,9 @@ const deserializeAws_restJson1DeleteProjectCommand = async (output, context) =>
1802
1802
  $metadata: deserializeMetadata(output),
1803
1803
  Name: undefined,
1804
1804
  };
1805
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1805
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1806
1806
  if (data.Name !== undefined && data.Name !== null) {
1807
- contents.Name = smithy_client_1.expectString(data.Name);
1807
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
1808
1808
  }
1809
1809
  return Promise.resolve(contents);
1810
1810
  };
@@ -1834,7 +1834,7 @@ const deserializeAws_restJson1DeleteProjectCommandError = async (output, context
1834
1834
  $fault: "client",
1835
1835
  $metadata: deserializeMetadata(output),
1836
1836
  });
1837
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1837
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1838
1838
  }
1839
1839
  };
1840
1840
  const deserializeAws_restJson1DeleteRecipeVersionCommand = async (output, context) => {
@@ -1846,12 +1846,12 @@ const deserializeAws_restJson1DeleteRecipeVersionCommand = async (output, contex
1846
1846
  Name: undefined,
1847
1847
  RecipeVersion: 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.Name !== undefined && data.Name !== null) {
1851
- contents.Name = smithy_client_1.expectString(data.Name);
1851
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
1852
1852
  }
1853
1853
  if (data.RecipeVersion !== undefined && data.RecipeVersion !== null) {
1854
- contents.RecipeVersion = smithy_client_1.expectString(data.RecipeVersion);
1854
+ contents.RecipeVersion = (0, smithy_client_1.expectString)(data.RecipeVersion);
1855
1855
  }
1856
1856
  return Promise.resolve(contents);
1857
1857
  };
@@ -1881,7 +1881,7 @@ const deserializeAws_restJson1DeleteRecipeVersionCommandError = async (output, c
1881
1881
  $fault: "client",
1882
1882
  $metadata: deserializeMetadata(output),
1883
1883
  });
1884
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1884
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1885
1885
  }
1886
1886
  };
1887
1887
  const deserializeAws_restJson1DeleteRulesetCommand = async (output, context) => {
@@ -1892,9 +1892,9 @@ const deserializeAws_restJson1DeleteRulesetCommand = async (output, context) =>
1892
1892
  $metadata: deserializeMetadata(output),
1893
1893
  Name: undefined,
1894
1894
  };
1895
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1895
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1896
1896
  if (data.Name !== undefined && data.Name !== null) {
1897
- contents.Name = smithy_client_1.expectString(data.Name);
1897
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
1898
1898
  }
1899
1899
  return Promise.resolve(contents);
1900
1900
  };
@@ -1924,7 +1924,7 @@ const deserializeAws_restJson1DeleteRulesetCommandError = async (output, context
1924
1924
  $fault: "client",
1925
1925
  $metadata: deserializeMetadata(output),
1926
1926
  });
1927
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1927
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1928
1928
  }
1929
1929
  };
1930
1930
  const deserializeAws_restJson1DeleteScheduleCommand = async (output, context) => {
@@ -1935,9 +1935,9 @@ const deserializeAws_restJson1DeleteScheduleCommand = async (output, context) =>
1935
1935
  $metadata: deserializeMetadata(output),
1936
1936
  Name: undefined,
1937
1937
  };
1938
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1938
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1939
1939
  if (data.Name !== undefined && data.Name !== null) {
1940
- contents.Name = smithy_client_1.expectString(data.Name);
1940
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
1941
1941
  }
1942
1942
  return Promise.resolve(contents);
1943
1943
  };
@@ -1964,7 +1964,7 @@ const deserializeAws_restJson1DeleteScheduleCommandError = async (output, contex
1964
1964
  $fault: "client",
1965
1965
  $metadata: deserializeMetadata(output),
1966
1966
  });
1967
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1967
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1968
1968
  }
1969
1969
  };
1970
1970
  const deserializeAws_restJson1DescribeDatasetCommand = async (output, context) => {
@@ -1986,15 +1986,15 @@ const deserializeAws_restJson1DescribeDatasetCommand = async (output, context) =
1986
1986
  Source: undefined,
1987
1987
  Tags: undefined,
1988
1988
  };
1989
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1989
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1990
1990
  if (data.CreateDate !== undefined && data.CreateDate !== null) {
1991
- contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreateDate)));
1991
+ contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreateDate)));
1992
1992
  }
1993
1993
  if (data.CreatedBy !== undefined && data.CreatedBy !== null) {
1994
- contents.CreatedBy = smithy_client_1.expectString(data.CreatedBy);
1994
+ contents.CreatedBy = (0, smithy_client_1.expectString)(data.CreatedBy);
1995
1995
  }
1996
1996
  if (data.Format !== undefined && data.Format !== null) {
1997
- contents.Format = smithy_client_1.expectString(data.Format);
1997
+ contents.Format = (0, smithy_client_1.expectString)(data.Format);
1998
1998
  }
1999
1999
  if (data.FormatOptions !== undefined && data.FormatOptions !== null) {
2000
2000
  contents.FormatOptions = deserializeAws_restJson1FormatOptions(data.FormatOptions, context);
@@ -2003,22 +2003,22 @@ const deserializeAws_restJson1DescribeDatasetCommand = async (output, context) =
2003
2003
  contents.Input = deserializeAws_restJson1Input(data.Input, context);
2004
2004
  }
2005
2005
  if (data.LastModifiedBy !== undefined && data.LastModifiedBy !== null) {
2006
- contents.LastModifiedBy = smithy_client_1.expectString(data.LastModifiedBy);
2006
+ contents.LastModifiedBy = (0, smithy_client_1.expectString)(data.LastModifiedBy);
2007
2007
  }
2008
2008
  if (data.LastModifiedDate !== undefined && data.LastModifiedDate !== null) {
2009
- contents.LastModifiedDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedDate)));
2009
+ contents.LastModifiedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedDate)));
2010
2010
  }
2011
2011
  if (data.Name !== undefined && data.Name !== null) {
2012
- contents.Name = smithy_client_1.expectString(data.Name);
2012
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
2013
2013
  }
2014
2014
  if (data.PathOptions !== undefined && data.PathOptions !== null) {
2015
2015
  contents.PathOptions = deserializeAws_restJson1PathOptions(data.PathOptions, context);
2016
2016
  }
2017
2017
  if (data.ResourceArn !== undefined && data.ResourceArn !== null) {
2018
- contents.ResourceArn = smithy_client_1.expectString(data.ResourceArn);
2018
+ contents.ResourceArn = (0, smithy_client_1.expectString)(data.ResourceArn);
2019
2019
  }
2020
2020
  if (data.Source !== undefined && data.Source !== null) {
2021
- contents.Source = smithy_client_1.expectString(data.Source);
2021
+ contents.Source = (0, smithy_client_1.expectString)(data.Source);
2022
2022
  }
2023
2023
  if (data.Tags !== undefined && data.Tags !== null) {
2024
2024
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
@@ -2048,7 +2048,7 @@ const deserializeAws_restJson1DescribeDatasetCommandError = async (output, conte
2048
2048
  $fault: "client",
2049
2049
  $metadata: deserializeMetadata(output),
2050
2050
  });
2051
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2051
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2052
2052
  }
2053
2053
  };
2054
2054
  const deserializeAws_restJson1DescribeJobCommand = async (output, context) => {
@@ -2082,12 +2082,12 @@ const deserializeAws_restJson1DescribeJobCommand = async (output, context) => {
2082
2082
  Type: undefined,
2083
2083
  ValidationConfigurations: undefined,
2084
2084
  };
2085
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2085
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2086
2086
  if (data.CreateDate !== undefined && data.CreateDate !== null) {
2087
- contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreateDate)));
2087
+ contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreateDate)));
2088
2088
  }
2089
2089
  if (data.CreatedBy !== undefined && data.CreatedBy !== null) {
2090
- contents.CreatedBy = smithy_client_1.expectString(data.CreatedBy);
2090
+ contents.CreatedBy = (0, smithy_client_1.expectString)(data.CreatedBy);
2091
2091
  }
2092
2092
  if (data.DataCatalogOutputs !== undefined && data.DataCatalogOutputs !== null) {
2093
2093
  contents.DataCatalogOutputs = deserializeAws_restJson1DataCatalogOutputList(data.DataCatalogOutputs, context);
@@ -2096,34 +2096,34 @@ const deserializeAws_restJson1DescribeJobCommand = async (output, context) => {
2096
2096
  contents.DatabaseOutputs = deserializeAws_restJson1DatabaseOutputList(data.DatabaseOutputs, context);
2097
2097
  }
2098
2098
  if (data.DatasetName !== undefined && data.DatasetName !== null) {
2099
- contents.DatasetName = smithy_client_1.expectString(data.DatasetName);
2099
+ contents.DatasetName = (0, smithy_client_1.expectString)(data.DatasetName);
2100
2100
  }
2101
2101
  if (data.EncryptionKeyArn !== undefined && data.EncryptionKeyArn !== null) {
2102
- contents.EncryptionKeyArn = smithy_client_1.expectString(data.EncryptionKeyArn);
2102
+ contents.EncryptionKeyArn = (0, smithy_client_1.expectString)(data.EncryptionKeyArn);
2103
2103
  }
2104
2104
  if (data.EncryptionMode !== undefined && data.EncryptionMode !== null) {
2105
- contents.EncryptionMode = smithy_client_1.expectString(data.EncryptionMode);
2105
+ contents.EncryptionMode = (0, smithy_client_1.expectString)(data.EncryptionMode);
2106
2106
  }
2107
2107
  if (data.JobSample !== undefined && data.JobSample !== null) {
2108
2108
  contents.JobSample = deserializeAws_restJson1JobSample(data.JobSample, context);
2109
2109
  }
2110
2110
  if (data.LastModifiedBy !== undefined && data.LastModifiedBy !== null) {
2111
- contents.LastModifiedBy = smithy_client_1.expectString(data.LastModifiedBy);
2111
+ contents.LastModifiedBy = (0, smithy_client_1.expectString)(data.LastModifiedBy);
2112
2112
  }
2113
2113
  if (data.LastModifiedDate !== undefined && data.LastModifiedDate !== null) {
2114
- contents.LastModifiedDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedDate)));
2114
+ contents.LastModifiedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedDate)));
2115
2115
  }
2116
2116
  if (data.LogSubscription !== undefined && data.LogSubscription !== null) {
2117
- contents.LogSubscription = smithy_client_1.expectString(data.LogSubscription);
2117
+ contents.LogSubscription = (0, smithy_client_1.expectString)(data.LogSubscription);
2118
2118
  }
2119
2119
  if (data.MaxCapacity !== undefined && data.MaxCapacity !== null) {
2120
- contents.MaxCapacity = smithy_client_1.expectInt32(data.MaxCapacity);
2120
+ contents.MaxCapacity = (0, smithy_client_1.expectInt32)(data.MaxCapacity);
2121
2121
  }
2122
2122
  if (data.MaxRetries !== undefined && data.MaxRetries !== null) {
2123
- contents.MaxRetries = smithy_client_1.expectInt32(data.MaxRetries);
2123
+ contents.MaxRetries = (0, smithy_client_1.expectInt32)(data.MaxRetries);
2124
2124
  }
2125
2125
  if (data.Name !== undefined && data.Name !== null) {
2126
- contents.Name = smithy_client_1.expectString(data.Name);
2126
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
2127
2127
  }
2128
2128
  if (data.Outputs !== undefined && data.Outputs !== null) {
2129
2129
  contents.Outputs = deserializeAws_restJson1OutputList(data.Outputs, context);
@@ -2132,25 +2132,25 @@ const deserializeAws_restJson1DescribeJobCommand = async (output, context) => {
2132
2132
  contents.ProfileConfiguration = deserializeAws_restJson1ProfileConfiguration(data.ProfileConfiguration, context);
2133
2133
  }
2134
2134
  if (data.ProjectName !== undefined && data.ProjectName !== null) {
2135
- contents.ProjectName = smithy_client_1.expectString(data.ProjectName);
2135
+ contents.ProjectName = (0, smithy_client_1.expectString)(data.ProjectName);
2136
2136
  }
2137
2137
  if (data.RecipeReference !== undefined && data.RecipeReference !== null) {
2138
2138
  contents.RecipeReference = deserializeAws_restJson1RecipeReference(data.RecipeReference, context);
2139
2139
  }
2140
2140
  if (data.ResourceArn !== undefined && data.ResourceArn !== null) {
2141
- contents.ResourceArn = smithy_client_1.expectString(data.ResourceArn);
2141
+ contents.ResourceArn = (0, smithy_client_1.expectString)(data.ResourceArn);
2142
2142
  }
2143
2143
  if (data.RoleArn !== undefined && data.RoleArn !== null) {
2144
- contents.RoleArn = smithy_client_1.expectString(data.RoleArn);
2144
+ contents.RoleArn = (0, smithy_client_1.expectString)(data.RoleArn);
2145
2145
  }
2146
2146
  if (data.Tags !== undefined && data.Tags !== null) {
2147
2147
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
2148
2148
  }
2149
2149
  if (data.Timeout !== undefined && data.Timeout !== null) {
2150
- contents.Timeout = smithy_client_1.expectInt32(data.Timeout);
2150
+ contents.Timeout = (0, smithy_client_1.expectInt32)(data.Timeout);
2151
2151
  }
2152
2152
  if (data.Type !== undefined && data.Type !== null) {
2153
- contents.Type = smithy_client_1.expectString(data.Type);
2153
+ contents.Type = (0, smithy_client_1.expectString)(data.Type);
2154
2154
  }
2155
2155
  if (data.ValidationConfigurations !== undefined && data.ValidationConfigurations !== null) {
2156
2156
  contents.ValidationConfigurations = deserializeAws_restJson1ValidationConfigurationList(data.ValidationConfigurations, context);
@@ -2180,7 +2180,7 @@ const deserializeAws_restJson1DescribeJobCommandError = async (output, context)
2180
2180
  $fault: "client",
2181
2181
  $metadata: deserializeMetadata(output),
2182
2182
  });
2183
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2183
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2184
2184
  }
2185
2185
  };
2186
2186
  const deserializeAws_restJson1DescribeJobRunCommand = async (output, context) => {
@@ -2209,12 +2209,12 @@ const deserializeAws_restJson1DescribeJobRunCommand = async (output, context) =>
2209
2209
  State: undefined,
2210
2210
  ValidationConfigurations: undefined,
2211
2211
  };
2212
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2212
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2213
2213
  if (data.Attempt !== undefined && data.Attempt !== null) {
2214
- contents.Attempt = smithy_client_1.expectInt32(data.Attempt);
2214
+ contents.Attempt = (0, smithy_client_1.expectInt32)(data.Attempt);
2215
2215
  }
2216
2216
  if (data.CompletedOn !== undefined && data.CompletedOn !== null) {
2217
- contents.CompletedOn = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CompletedOn)));
2217
+ contents.CompletedOn = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CompletedOn)));
2218
2218
  }
2219
2219
  if (data.DataCatalogOutputs !== undefined && data.DataCatalogOutputs !== null) {
2220
2220
  contents.DataCatalogOutputs = deserializeAws_restJson1DataCatalogOutputList(data.DataCatalogOutputs, context);
@@ -2223,25 +2223,25 @@ const deserializeAws_restJson1DescribeJobRunCommand = async (output, context) =>
2223
2223
  contents.DatabaseOutputs = deserializeAws_restJson1DatabaseOutputList(data.DatabaseOutputs, context);
2224
2224
  }
2225
2225
  if (data.DatasetName !== undefined && data.DatasetName !== null) {
2226
- contents.DatasetName = smithy_client_1.expectString(data.DatasetName);
2226
+ contents.DatasetName = (0, smithy_client_1.expectString)(data.DatasetName);
2227
2227
  }
2228
2228
  if (data.ErrorMessage !== undefined && data.ErrorMessage !== null) {
2229
- contents.ErrorMessage = smithy_client_1.expectString(data.ErrorMessage);
2229
+ contents.ErrorMessage = (0, smithy_client_1.expectString)(data.ErrorMessage);
2230
2230
  }
2231
2231
  if (data.ExecutionTime !== undefined && data.ExecutionTime !== null) {
2232
- contents.ExecutionTime = smithy_client_1.expectInt32(data.ExecutionTime);
2232
+ contents.ExecutionTime = (0, smithy_client_1.expectInt32)(data.ExecutionTime);
2233
2233
  }
2234
2234
  if (data.JobName !== undefined && data.JobName !== null) {
2235
- contents.JobName = smithy_client_1.expectString(data.JobName);
2235
+ contents.JobName = (0, smithy_client_1.expectString)(data.JobName);
2236
2236
  }
2237
2237
  if (data.JobSample !== undefined && data.JobSample !== null) {
2238
2238
  contents.JobSample = deserializeAws_restJson1JobSample(data.JobSample, context);
2239
2239
  }
2240
2240
  if (data.LogGroupName !== undefined && data.LogGroupName !== null) {
2241
- contents.LogGroupName = smithy_client_1.expectString(data.LogGroupName);
2241
+ contents.LogGroupName = (0, smithy_client_1.expectString)(data.LogGroupName);
2242
2242
  }
2243
2243
  if (data.LogSubscription !== undefined && data.LogSubscription !== null) {
2244
- contents.LogSubscription = smithy_client_1.expectString(data.LogSubscription);
2244
+ contents.LogSubscription = (0, smithy_client_1.expectString)(data.LogSubscription);
2245
2245
  }
2246
2246
  if (data.Outputs !== undefined && data.Outputs !== null) {
2247
2247
  contents.Outputs = deserializeAws_restJson1OutputList(data.Outputs, context);
@@ -2253,16 +2253,16 @@ const deserializeAws_restJson1DescribeJobRunCommand = async (output, context) =>
2253
2253
  contents.RecipeReference = deserializeAws_restJson1RecipeReference(data.RecipeReference, context);
2254
2254
  }
2255
2255
  if (data.RunId !== undefined && data.RunId !== null) {
2256
- contents.RunId = smithy_client_1.expectString(data.RunId);
2256
+ contents.RunId = (0, smithy_client_1.expectString)(data.RunId);
2257
2257
  }
2258
2258
  if (data.StartedBy !== undefined && data.StartedBy !== null) {
2259
- contents.StartedBy = smithy_client_1.expectString(data.StartedBy);
2259
+ contents.StartedBy = (0, smithy_client_1.expectString)(data.StartedBy);
2260
2260
  }
2261
2261
  if (data.StartedOn !== undefined && data.StartedOn !== null) {
2262
- contents.StartedOn = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.StartedOn)));
2262
+ contents.StartedOn = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.StartedOn)));
2263
2263
  }
2264
2264
  if (data.State !== undefined && data.State !== null) {
2265
- contents.State = smithy_client_1.expectString(data.State);
2265
+ contents.State = (0, smithy_client_1.expectString)(data.State);
2266
2266
  }
2267
2267
  if (data.ValidationConfigurations !== undefined && data.ValidationConfigurations !== null) {
2268
2268
  contents.ValidationConfigurations = deserializeAws_restJson1ValidationConfigurationList(data.ValidationConfigurations, context);
@@ -2292,7 +2292,7 @@ const deserializeAws_restJson1DescribeJobRunCommandError = async (output, contex
2292
2292
  $fault: "client",
2293
2293
  $metadata: deserializeMetadata(output),
2294
2294
  });
2295
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2295
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2296
2296
  }
2297
2297
  };
2298
2298
  const deserializeAws_restJson1DescribeProjectCommand = async (output, context) => {
@@ -2316,45 +2316,45 @@ const deserializeAws_restJson1DescribeProjectCommand = async (output, context) =
2316
2316
  SessionStatus: undefined,
2317
2317
  Tags: undefined,
2318
2318
  };
2319
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2319
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2320
2320
  if (data.CreateDate !== undefined && data.CreateDate !== null) {
2321
- contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreateDate)));
2321
+ contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreateDate)));
2322
2322
  }
2323
2323
  if (data.CreatedBy !== undefined && data.CreatedBy !== null) {
2324
- contents.CreatedBy = smithy_client_1.expectString(data.CreatedBy);
2324
+ contents.CreatedBy = (0, smithy_client_1.expectString)(data.CreatedBy);
2325
2325
  }
2326
2326
  if (data.DatasetName !== undefined && data.DatasetName !== null) {
2327
- contents.DatasetName = smithy_client_1.expectString(data.DatasetName);
2327
+ contents.DatasetName = (0, smithy_client_1.expectString)(data.DatasetName);
2328
2328
  }
2329
2329
  if (data.LastModifiedBy !== undefined && data.LastModifiedBy !== null) {
2330
- contents.LastModifiedBy = smithy_client_1.expectString(data.LastModifiedBy);
2330
+ contents.LastModifiedBy = (0, smithy_client_1.expectString)(data.LastModifiedBy);
2331
2331
  }
2332
2332
  if (data.LastModifiedDate !== undefined && data.LastModifiedDate !== null) {
2333
- contents.LastModifiedDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedDate)));
2333
+ contents.LastModifiedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedDate)));
2334
2334
  }
2335
2335
  if (data.Name !== undefined && data.Name !== null) {
2336
- contents.Name = smithy_client_1.expectString(data.Name);
2336
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
2337
2337
  }
2338
2338
  if (data.OpenDate !== undefined && data.OpenDate !== null) {
2339
- contents.OpenDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.OpenDate)));
2339
+ contents.OpenDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.OpenDate)));
2340
2340
  }
2341
2341
  if (data.OpenedBy !== undefined && data.OpenedBy !== null) {
2342
- contents.OpenedBy = smithy_client_1.expectString(data.OpenedBy);
2342
+ contents.OpenedBy = (0, smithy_client_1.expectString)(data.OpenedBy);
2343
2343
  }
2344
2344
  if (data.RecipeName !== undefined && data.RecipeName !== null) {
2345
- contents.RecipeName = smithy_client_1.expectString(data.RecipeName);
2345
+ contents.RecipeName = (0, smithy_client_1.expectString)(data.RecipeName);
2346
2346
  }
2347
2347
  if (data.ResourceArn !== undefined && data.ResourceArn !== null) {
2348
- contents.ResourceArn = smithy_client_1.expectString(data.ResourceArn);
2348
+ contents.ResourceArn = (0, smithy_client_1.expectString)(data.ResourceArn);
2349
2349
  }
2350
2350
  if (data.RoleArn !== undefined && data.RoleArn !== null) {
2351
- contents.RoleArn = smithy_client_1.expectString(data.RoleArn);
2351
+ contents.RoleArn = (0, smithy_client_1.expectString)(data.RoleArn);
2352
2352
  }
2353
2353
  if (data.Sample !== undefined && data.Sample !== null) {
2354
2354
  contents.Sample = deserializeAws_restJson1Sample(data.Sample, context);
2355
2355
  }
2356
2356
  if (data.SessionStatus !== undefined && data.SessionStatus !== null) {
2357
- contents.SessionStatus = smithy_client_1.expectString(data.SessionStatus);
2357
+ contents.SessionStatus = (0, smithy_client_1.expectString)(data.SessionStatus);
2358
2358
  }
2359
2359
  if (data.Tags !== undefined && data.Tags !== null) {
2360
2360
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
@@ -2384,7 +2384,7 @@ const deserializeAws_restJson1DescribeProjectCommandError = async (output, conte
2384
2384
  $fault: "client",
2385
2385
  $metadata: deserializeMetadata(output),
2386
2386
  });
2387
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2387
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2388
2388
  }
2389
2389
  };
2390
2390
  const deserializeAws_restJson1DescribeRecipeCommand = async (output, context) => {
@@ -2407,39 +2407,39 @@ const deserializeAws_restJson1DescribeRecipeCommand = async (output, context) =>
2407
2407
  Steps: undefined,
2408
2408
  Tags: undefined,
2409
2409
  };
2410
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2410
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2411
2411
  if (data.CreateDate !== undefined && data.CreateDate !== null) {
2412
- contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreateDate)));
2412
+ contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreateDate)));
2413
2413
  }
2414
2414
  if (data.CreatedBy !== undefined && data.CreatedBy !== null) {
2415
- contents.CreatedBy = smithy_client_1.expectString(data.CreatedBy);
2415
+ contents.CreatedBy = (0, smithy_client_1.expectString)(data.CreatedBy);
2416
2416
  }
2417
2417
  if (data.Description !== undefined && data.Description !== null) {
2418
- contents.Description = smithy_client_1.expectString(data.Description);
2418
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
2419
2419
  }
2420
2420
  if (data.LastModifiedBy !== undefined && data.LastModifiedBy !== null) {
2421
- contents.LastModifiedBy = smithy_client_1.expectString(data.LastModifiedBy);
2421
+ contents.LastModifiedBy = (0, smithy_client_1.expectString)(data.LastModifiedBy);
2422
2422
  }
2423
2423
  if (data.LastModifiedDate !== undefined && data.LastModifiedDate !== null) {
2424
- contents.LastModifiedDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedDate)));
2424
+ contents.LastModifiedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedDate)));
2425
2425
  }
2426
2426
  if (data.Name !== undefined && data.Name !== null) {
2427
- contents.Name = smithy_client_1.expectString(data.Name);
2427
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
2428
2428
  }
2429
2429
  if (data.ProjectName !== undefined && data.ProjectName !== null) {
2430
- contents.ProjectName = smithy_client_1.expectString(data.ProjectName);
2430
+ contents.ProjectName = (0, smithy_client_1.expectString)(data.ProjectName);
2431
2431
  }
2432
2432
  if (data.PublishedBy !== undefined && data.PublishedBy !== null) {
2433
- contents.PublishedBy = smithy_client_1.expectString(data.PublishedBy);
2433
+ contents.PublishedBy = (0, smithy_client_1.expectString)(data.PublishedBy);
2434
2434
  }
2435
2435
  if (data.PublishedDate !== undefined && data.PublishedDate !== null) {
2436
- contents.PublishedDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.PublishedDate)));
2436
+ contents.PublishedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.PublishedDate)));
2437
2437
  }
2438
2438
  if (data.RecipeVersion !== undefined && data.RecipeVersion !== null) {
2439
- contents.RecipeVersion = smithy_client_1.expectString(data.RecipeVersion);
2439
+ contents.RecipeVersion = (0, smithy_client_1.expectString)(data.RecipeVersion);
2440
2440
  }
2441
2441
  if (data.ResourceArn !== undefined && data.ResourceArn !== null) {
2442
- contents.ResourceArn = smithy_client_1.expectString(data.ResourceArn);
2442
+ contents.ResourceArn = (0, smithy_client_1.expectString)(data.ResourceArn);
2443
2443
  }
2444
2444
  if (data.Steps !== undefined && data.Steps !== null) {
2445
2445
  contents.Steps = deserializeAws_restJson1RecipeStepList(data.Steps, context);
@@ -2472,7 +2472,7 @@ const deserializeAws_restJson1DescribeRecipeCommandError = async (output, contex
2472
2472
  $fault: "client",
2473
2473
  $metadata: deserializeMetadata(output),
2474
2474
  });
2475
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2475
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2476
2476
  }
2477
2477
  };
2478
2478
  const deserializeAws_restJson1DescribeRulesetCommand = async (output, context) => {
@@ -2492,27 +2492,27 @@ const deserializeAws_restJson1DescribeRulesetCommand = async (output, context) =
2492
2492
  Tags: undefined,
2493
2493
  TargetArn: 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.CreateDate !== undefined && data.CreateDate !== null) {
2497
- contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreateDate)));
2497
+ contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreateDate)));
2498
2498
  }
2499
2499
  if (data.CreatedBy !== undefined && data.CreatedBy !== null) {
2500
- contents.CreatedBy = smithy_client_1.expectString(data.CreatedBy);
2500
+ contents.CreatedBy = (0, smithy_client_1.expectString)(data.CreatedBy);
2501
2501
  }
2502
2502
  if (data.Description !== undefined && data.Description !== null) {
2503
- contents.Description = smithy_client_1.expectString(data.Description);
2503
+ contents.Description = (0, smithy_client_1.expectString)(data.Description);
2504
2504
  }
2505
2505
  if (data.LastModifiedBy !== undefined && data.LastModifiedBy !== null) {
2506
- contents.LastModifiedBy = smithy_client_1.expectString(data.LastModifiedBy);
2506
+ contents.LastModifiedBy = (0, smithy_client_1.expectString)(data.LastModifiedBy);
2507
2507
  }
2508
2508
  if (data.LastModifiedDate !== undefined && data.LastModifiedDate !== null) {
2509
- contents.LastModifiedDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedDate)));
2509
+ contents.LastModifiedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedDate)));
2510
2510
  }
2511
2511
  if (data.Name !== undefined && data.Name !== null) {
2512
- contents.Name = smithy_client_1.expectString(data.Name);
2512
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
2513
2513
  }
2514
2514
  if (data.ResourceArn !== undefined && data.ResourceArn !== null) {
2515
- contents.ResourceArn = smithy_client_1.expectString(data.ResourceArn);
2515
+ contents.ResourceArn = (0, smithy_client_1.expectString)(data.ResourceArn);
2516
2516
  }
2517
2517
  if (data.Rules !== undefined && data.Rules !== null) {
2518
2518
  contents.Rules = deserializeAws_restJson1RuleList(data.Rules, context);
@@ -2521,7 +2521,7 @@ const deserializeAws_restJson1DescribeRulesetCommand = async (output, context) =
2521
2521
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
2522
2522
  }
2523
2523
  if (data.TargetArn !== undefined && data.TargetArn !== null) {
2524
- contents.TargetArn = smithy_client_1.expectString(data.TargetArn);
2524
+ contents.TargetArn = (0, smithy_client_1.expectString)(data.TargetArn);
2525
2525
  }
2526
2526
  return Promise.resolve(contents);
2527
2527
  };
@@ -2548,7 +2548,7 @@ const deserializeAws_restJson1DescribeRulesetCommandError = async (output, conte
2548
2548
  $fault: "client",
2549
2549
  $metadata: deserializeMetadata(output),
2550
2550
  });
2551
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2551
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2552
2552
  }
2553
2553
  };
2554
2554
  const deserializeAws_restJson1DescribeScheduleCommand = async (output, context) => {
@@ -2567,30 +2567,30 @@ const deserializeAws_restJson1DescribeScheduleCommand = async (output, context)
2567
2567
  ResourceArn: undefined,
2568
2568
  Tags: undefined,
2569
2569
  };
2570
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2570
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2571
2571
  if (data.CreateDate !== undefined && data.CreateDate !== null) {
2572
- contents.CreateDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.CreateDate)));
2572
+ contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CreateDate)));
2573
2573
  }
2574
2574
  if (data.CreatedBy !== undefined && data.CreatedBy !== null) {
2575
- contents.CreatedBy = smithy_client_1.expectString(data.CreatedBy);
2575
+ contents.CreatedBy = (0, smithy_client_1.expectString)(data.CreatedBy);
2576
2576
  }
2577
2577
  if (data.CronExpression !== undefined && data.CronExpression !== null) {
2578
- contents.CronExpression = smithy_client_1.expectString(data.CronExpression);
2578
+ contents.CronExpression = (0, smithy_client_1.expectString)(data.CronExpression);
2579
2579
  }
2580
2580
  if (data.JobNames !== undefined && data.JobNames !== null) {
2581
2581
  contents.JobNames = deserializeAws_restJson1JobNameList(data.JobNames, context);
2582
2582
  }
2583
2583
  if (data.LastModifiedBy !== undefined && data.LastModifiedBy !== null) {
2584
- contents.LastModifiedBy = smithy_client_1.expectString(data.LastModifiedBy);
2584
+ contents.LastModifiedBy = (0, smithy_client_1.expectString)(data.LastModifiedBy);
2585
2585
  }
2586
2586
  if (data.LastModifiedDate !== undefined && data.LastModifiedDate !== null) {
2587
- contents.LastModifiedDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedDate)));
2587
+ contents.LastModifiedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedDate)));
2588
2588
  }
2589
2589
  if (data.Name !== undefined && data.Name !== null) {
2590
- contents.Name = smithy_client_1.expectString(data.Name);
2590
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
2591
2591
  }
2592
2592
  if (data.ResourceArn !== undefined && data.ResourceArn !== null) {
2593
- contents.ResourceArn = smithy_client_1.expectString(data.ResourceArn);
2593
+ contents.ResourceArn = (0, smithy_client_1.expectString)(data.ResourceArn);
2594
2594
  }
2595
2595
  if (data.Tags !== undefined && data.Tags !== null) {
2596
2596
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
@@ -2620,7 +2620,7 @@ const deserializeAws_restJson1DescribeScheduleCommandError = async (output, cont
2620
2620
  $fault: "client",
2621
2621
  $metadata: deserializeMetadata(output),
2622
2622
  });
2623
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2623
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2624
2624
  }
2625
2625
  };
2626
2626
  const deserializeAws_restJson1ListDatasetsCommand = async (output, context) => {
@@ -2632,12 +2632,12 @@ const deserializeAws_restJson1ListDatasetsCommand = async (output, context) => {
2632
2632
  Datasets: undefined,
2633
2633
  NextToken: undefined,
2634
2634
  };
2635
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2635
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2636
2636
  if (data.Datasets !== undefined && data.Datasets !== null) {
2637
2637
  contents.Datasets = deserializeAws_restJson1DatasetList(data.Datasets, context);
2638
2638
  }
2639
2639
  if (data.NextToken !== undefined && data.NextToken !== null) {
2640
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2640
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2641
2641
  }
2642
2642
  return Promise.resolve(contents);
2643
2643
  };
@@ -2661,7 +2661,7 @@ const deserializeAws_restJson1ListDatasetsCommandError = async (output, context)
2661
2661
  $fault: "client",
2662
2662
  $metadata: deserializeMetadata(output),
2663
2663
  });
2664
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2664
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2665
2665
  }
2666
2666
  };
2667
2667
  const deserializeAws_restJson1ListJobRunsCommand = async (output, context) => {
@@ -2673,12 +2673,12 @@ const deserializeAws_restJson1ListJobRunsCommand = async (output, context) => {
2673
2673
  JobRuns: undefined,
2674
2674
  NextToken: undefined,
2675
2675
  };
2676
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2676
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2677
2677
  if (data.JobRuns !== undefined && data.JobRuns !== null) {
2678
2678
  contents.JobRuns = deserializeAws_restJson1JobRunList(data.JobRuns, context);
2679
2679
  }
2680
2680
  if (data.NextToken !== undefined && data.NextToken !== null) {
2681
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2681
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2682
2682
  }
2683
2683
  return Promise.resolve(contents);
2684
2684
  };
@@ -2705,7 +2705,7 @@ const deserializeAws_restJson1ListJobRunsCommandError = async (output, context)
2705
2705
  $fault: "client",
2706
2706
  $metadata: deserializeMetadata(output),
2707
2707
  });
2708
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2708
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2709
2709
  }
2710
2710
  };
2711
2711
  const deserializeAws_restJson1ListJobsCommand = async (output, context) => {
@@ -2717,12 +2717,12 @@ const deserializeAws_restJson1ListJobsCommand = async (output, context) => {
2717
2717
  Jobs: undefined,
2718
2718
  NextToken: undefined,
2719
2719
  };
2720
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2720
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2721
2721
  if (data.Jobs !== undefined && data.Jobs !== null) {
2722
2722
  contents.Jobs = deserializeAws_restJson1JobList(data.Jobs, context);
2723
2723
  }
2724
2724
  if (data.NextToken !== undefined && data.NextToken !== null) {
2725
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2725
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2726
2726
  }
2727
2727
  return Promise.resolve(contents);
2728
2728
  };
@@ -2746,7 +2746,7 @@ const deserializeAws_restJson1ListJobsCommandError = async (output, context) =>
2746
2746
  $fault: "client",
2747
2747
  $metadata: deserializeMetadata(output),
2748
2748
  });
2749
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2749
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2750
2750
  }
2751
2751
  };
2752
2752
  const deserializeAws_restJson1ListProjectsCommand = async (output, context) => {
@@ -2758,9 +2758,9 @@ const deserializeAws_restJson1ListProjectsCommand = async (output, context) => {
2758
2758
  NextToken: undefined,
2759
2759
  Projects: undefined,
2760
2760
  };
2761
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2761
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2762
2762
  if (data.NextToken !== undefined && data.NextToken !== null) {
2763
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2763
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2764
2764
  }
2765
2765
  if (data.Projects !== undefined && data.Projects !== null) {
2766
2766
  contents.Projects = deserializeAws_restJson1ProjectList(data.Projects, context);
@@ -2787,7 +2787,7 @@ const deserializeAws_restJson1ListProjectsCommandError = async (output, context)
2787
2787
  $fault: "client",
2788
2788
  $metadata: deserializeMetadata(output),
2789
2789
  });
2790
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2790
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2791
2791
  }
2792
2792
  };
2793
2793
  const deserializeAws_restJson1ListRecipesCommand = async (output, context) => {
@@ -2799,9 +2799,9 @@ const deserializeAws_restJson1ListRecipesCommand = async (output, context) => {
2799
2799
  NextToken: undefined,
2800
2800
  Recipes: undefined,
2801
2801
  };
2802
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2802
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2803
2803
  if (data.NextToken !== undefined && data.NextToken !== null) {
2804
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2804
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2805
2805
  }
2806
2806
  if (data.Recipes !== undefined && data.Recipes !== null) {
2807
2807
  contents.Recipes = deserializeAws_restJson1RecipeList(data.Recipes, context);
@@ -2828,7 +2828,7 @@ const deserializeAws_restJson1ListRecipesCommandError = async (output, context)
2828
2828
  $fault: "client",
2829
2829
  $metadata: deserializeMetadata(output),
2830
2830
  });
2831
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2831
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2832
2832
  }
2833
2833
  };
2834
2834
  const deserializeAws_restJson1ListRecipeVersionsCommand = async (output, context) => {
@@ -2840,9 +2840,9 @@ const deserializeAws_restJson1ListRecipeVersionsCommand = async (output, context
2840
2840
  NextToken: undefined,
2841
2841
  Recipes: 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.NextToken !== undefined && data.NextToken !== null) {
2845
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2845
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2846
2846
  }
2847
2847
  if (data.Recipes !== undefined && data.Recipes !== null) {
2848
2848
  contents.Recipes = deserializeAws_restJson1RecipeList(data.Recipes, context);
@@ -2869,7 +2869,7 @@ const deserializeAws_restJson1ListRecipeVersionsCommandError = async (output, co
2869
2869
  $fault: "client",
2870
2870
  $metadata: deserializeMetadata(output),
2871
2871
  });
2872
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2872
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2873
2873
  }
2874
2874
  };
2875
2875
  const deserializeAws_restJson1ListRulesetsCommand = async (output, context) => {
@@ -2881,9 +2881,9 @@ const deserializeAws_restJson1ListRulesetsCommand = async (output, context) => {
2881
2881
  NextToken: undefined,
2882
2882
  Rulesets: undefined,
2883
2883
  };
2884
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2884
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2885
2885
  if (data.NextToken !== undefined && data.NextToken !== null) {
2886
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2886
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2887
2887
  }
2888
2888
  if (data.Rulesets !== undefined && data.Rulesets !== null) {
2889
2889
  contents.Rulesets = deserializeAws_restJson1RulesetItemList(data.Rulesets, context);
@@ -2913,7 +2913,7 @@ const deserializeAws_restJson1ListRulesetsCommandError = async (output, context)
2913
2913
  $fault: "client",
2914
2914
  $metadata: deserializeMetadata(output),
2915
2915
  });
2916
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2916
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2917
2917
  }
2918
2918
  };
2919
2919
  const deserializeAws_restJson1ListSchedulesCommand = async (output, context) => {
@@ -2925,9 +2925,9 @@ const deserializeAws_restJson1ListSchedulesCommand = async (output, context) =>
2925
2925
  NextToken: undefined,
2926
2926
  Schedules: undefined,
2927
2927
  };
2928
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2928
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2929
2929
  if (data.NextToken !== undefined && data.NextToken !== null) {
2930
- contents.NextToken = smithy_client_1.expectString(data.NextToken);
2930
+ contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2931
2931
  }
2932
2932
  if (data.Schedules !== undefined && data.Schedules !== null) {
2933
2933
  contents.Schedules = deserializeAws_restJson1ScheduleList(data.Schedules, context);
@@ -2954,7 +2954,7 @@ const deserializeAws_restJson1ListSchedulesCommandError = async (output, context
2954
2954
  $fault: "client",
2955
2955
  $metadata: deserializeMetadata(output),
2956
2956
  });
2957
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2957
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2958
2958
  }
2959
2959
  };
2960
2960
  const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
@@ -2965,7 +2965,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
2965
2965
  $metadata: deserializeMetadata(output),
2966
2966
  Tags: undefined,
2967
2967
  };
2968
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
2968
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2969
2969
  if (data.Tags !== undefined && data.Tags !== null) {
2970
2970
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
2971
2971
  }
@@ -2997,7 +2997,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
2997
2997
  $fault: "client",
2998
2998
  $metadata: deserializeMetadata(output),
2999
2999
  });
3000
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3000
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3001
3001
  }
3002
3002
  };
3003
3003
  const deserializeAws_restJson1PublishRecipeCommand = async (output, context) => {
@@ -3008,9 +3008,9 @@ const deserializeAws_restJson1PublishRecipeCommand = async (output, context) =>
3008
3008
  $metadata: deserializeMetadata(output),
3009
3009
  Name: undefined,
3010
3010
  };
3011
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3011
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3012
3012
  if (data.Name !== undefined && data.Name !== null) {
3013
- contents.Name = smithy_client_1.expectString(data.Name);
3013
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
3014
3014
  }
3015
3015
  return Promise.resolve(contents);
3016
3016
  };
@@ -3040,7 +3040,7 @@ const deserializeAws_restJson1PublishRecipeCommandError = async (output, context
3040
3040
  $fault: "client",
3041
3041
  $metadata: deserializeMetadata(output),
3042
3042
  });
3043
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3043
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3044
3044
  }
3045
3045
  };
3046
3046
  const deserializeAws_restJson1SendProjectSessionActionCommand = async (output, context) => {
@@ -3053,15 +3053,15 @@ const deserializeAws_restJson1SendProjectSessionActionCommand = async (output, c
3053
3053
  Name: undefined,
3054
3054
  Result: undefined,
3055
3055
  };
3056
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3056
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3057
3057
  if (data.ActionId !== undefined && data.ActionId !== null) {
3058
- contents.ActionId = smithy_client_1.expectInt32(data.ActionId);
3058
+ contents.ActionId = (0, smithy_client_1.expectInt32)(data.ActionId);
3059
3059
  }
3060
3060
  if (data.Name !== undefined && data.Name !== null) {
3061
- contents.Name = smithy_client_1.expectString(data.Name);
3061
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
3062
3062
  }
3063
3063
  if (data.Result !== undefined && data.Result !== null) {
3064
- contents.Result = smithy_client_1.expectString(data.Result);
3064
+ contents.Result = (0, smithy_client_1.expectString)(data.Result);
3065
3065
  }
3066
3066
  return Promise.resolve(contents);
3067
3067
  };
@@ -3091,7 +3091,7 @@ const deserializeAws_restJson1SendProjectSessionActionCommandError = async (outp
3091
3091
  $fault: "client",
3092
3092
  $metadata: deserializeMetadata(output),
3093
3093
  });
3094
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3094
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3095
3095
  }
3096
3096
  };
3097
3097
  const deserializeAws_restJson1StartJobRunCommand = async (output, context) => {
@@ -3102,9 +3102,9 @@ const deserializeAws_restJson1StartJobRunCommand = async (output, context) => {
3102
3102
  $metadata: deserializeMetadata(output),
3103
3103
  RunId: undefined,
3104
3104
  };
3105
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3105
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3106
3106
  if (data.RunId !== undefined && data.RunId !== null) {
3107
- contents.RunId = smithy_client_1.expectString(data.RunId);
3107
+ contents.RunId = (0, smithy_client_1.expectString)(data.RunId);
3108
3108
  }
3109
3109
  return Promise.resolve(contents);
3110
3110
  };
@@ -3137,7 +3137,7 @@ const deserializeAws_restJson1StartJobRunCommandError = async (output, context)
3137
3137
  $fault: "client",
3138
3138
  $metadata: deserializeMetadata(output),
3139
3139
  });
3140
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3140
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3141
3141
  }
3142
3142
  };
3143
3143
  const deserializeAws_restJson1StartProjectSessionCommand = async (output, context) => {
@@ -3149,12 +3149,12 @@ const deserializeAws_restJson1StartProjectSessionCommand = async (output, contex
3149
3149
  ClientSessionId: undefined,
3150
3150
  Name: undefined,
3151
3151
  };
3152
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3152
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3153
3153
  if (data.ClientSessionId !== undefined && data.ClientSessionId !== null) {
3154
- contents.ClientSessionId = smithy_client_1.expectString(data.ClientSessionId);
3154
+ contents.ClientSessionId = (0, smithy_client_1.expectString)(data.ClientSessionId);
3155
3155
  }
3156
3156
  if (data.Name !== undefined && data.Name !== null) {
3157
- contents.Name = smithy_client_1.expectString(data.Name);
3157
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
3158
3158
  }
3159
3159
  return Promise.resolve(contents);
3160
3160
  };
@@ -3187,7 +3187,7 @@ const deserializeAws_restJson1StartProjectSessionCommandError = async (output, c
3187
3187
  $fault: "client",
3188
3188
  $metadata: deserializeMetadata(output),
3189
3189
  });
3190
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3190
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3191
3191
  }
3192
3192
  };
3193
3193
  const deserializeAws_restJson1StopJobRunCommand = async (output, context) => {
@@ -3198,9 +3198,9 @@ const deserializeAws_restJson1StopJobRunCommand = async (output, context) => {
3198
3198
  $metadata: deserializeMetadata(output),
3199
3199
  RunId: undefined,
3200
3200
  };
3201
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3201
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3202
3202
  if (data.RunId !== undefined && data.RunId !== null) {
3203
- contents.RunId = smithy_client_1.expectString(data.RunId);
3203
+ contents.RunId = (0, smithy_client_1.expectString)(data.RunId);
3204
3204
  }
3205
3205
  return Promise.resolve(contents);
3206
3206
  };
@@ -3227,7 +3227,7 @@ const deserializeAws_restJson1StopJobRunCommandError = async (output, context) =
3227
3227
  $fault: "client",
3228
3228
  $metadata: deserializeMetadata(output),
3229
3229
  });
3230
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3230
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3231
3231
  }
3232
3232
  };
3233
3233
  const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
@@ -3266,7 +3266,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
3266
3266
  $fault: "client",
3267
3267
  $metadata: deserializeMetadata(output),
3268
3268
  });
3269
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3269
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3270
3270
  }
3271
3271
  };
3272
3272
  const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
@@ -3305,7 +3305,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
3305
3305
  $fault: "client",
3306
3306
  $metadata: deserializeMetadata(output),
3307
3307
  });
3308
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3308
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3309
3309
  }
3310
3310
  };
3311
3311
  const deserializeAws_restJson1UpdateDatasetCommand = async (output, context) => {
@@ -3316,9 +3316,9 @@ const deserializeAws_restJson1UpdateDatasetCommand = async (output, context) =>
3316
3316
  $metadata: deserializeMetadata(output),
3317
3317
  Name: undefined,
3318
3318
  };
3319
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3319
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3320
3320
  if (data.Name !== undefined && data.Name !== null) {
3321
- contents.Name = smithy_client_1.expectString(data.Name);
3321
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
3322
3322
  }
3323
3323
  return Promise.resolve(contents);
3324
3324
  };
@@ -3348,7 +3348,7 @@ const deserializeAws_restJson1UpdateDatasetCommandError = async (output, context
3348
3348
  $fault: "client",
3349
3349
  $metadata: deserializeMetadata(output),
3350
3350
  });
3351
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3351
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3352
3352
  }
3353
3353
  };
3354
3354
  const deserializeAws_restJson1UpdateProfileJobCommand = async (output, context) => {
@@ -3359,9 +3359,9 @@ const deserializeAws_restJson1UpdateProfileJobCommand = async (output, context)
3359
3359
  $metadata: deserializeMetadata(output),
3360
3360
  Name: undefined,
3361
3361
  };
3362
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3362
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3363
3363
  if (data.Name !== undefined && data.Name !== null) {
3364
- contents.Name = smithy_client_1.expectString(data.Name);
3364
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
3365
3365
  }
3366
3366
  return Promise.resolve(contents);
3367
3367
  };
@@ -3391,7 +3391,7 @@ const deserializeAws_restJson1UpdateProfileJobCommandError = async (output, cont
3391
3391
  $fault: "client",
3392
3392
  $metadata: deserializeMetadata(output),
3393
3393
  });
3394
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3394
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3395
3395
  }
3396
3396
  };
3397
3397
  const deserializeAws_restJson1UpdateProjectCommand = async (output, context) => {
@@ -3403,12 +3403,12 @@ const deserializeAws_restJson1UpdateProjectCommand = async (output, context) =>
3403
3403
  LastModifiedDate: undefined,
3404
3404
  Name: undefined,
3405
3405
  };
3406
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3406
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3407
3407
  if (data.LastModifiedDate !== undefined && data.LastModifiedDate !== null) {
3408
- contents.LastModifiedDate = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.LastModifiedDate)));
3408
+ contents.LastModifiedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedDate)));
3409
3409
  }
3410
3410
  if (data.Name !== undefined && data.Name !== null) {
3411
- contents.Name = smithy_client_1.expectString(data.Name);
3411
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
3412
3412
  }
3413
3413
  return Promise.resolve(contents);
3414
3414
  };
@@ -3435,7 +3435,7 @@ const deserializeAws_restJson1UpdateProjectCommandError = async (output, context
3435
3435
  $fault: "client",
3436
3436
  $metadata: deserializeMetadata(output),
3437
3437
  });
3438
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3438
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3439
3439
  }
3440
3440
  };
3441
3441
  const deserializeAws_restJson1UpdateRecipeCommand = async (output, context) => {
@@ -3446,9 +3446,9 @@ const deserializeAws_restJson1UpdateRecipeCommand = async (output, context) => {
3446
3446
  $metadata: deserializeMetadata(output),
3447
3447
  Name: undefined,
3448
3448
  };
3449
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3449
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3450
3450
  if (data.Name !== undefined && data.Name !== null) {
3451
- contents.Name = smithy_client_1.expectString(data.Name);
3451
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
3452
3452
  }
3453
3453
  return Promise.resolve(contents);
3454
3454
  };
@@ -3475,7 +3475,7 @@ const deserializeAws_restJson1UpdateRecipeCommandError = async (output, context)
3475
3475
  $fault: "client",
3476
3476
  $metadata: deserializeMetadata(output),
3477
3477
  });
3478
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3478
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3479
3479
  }
3480
3480
  };
3481
3481
  const deserializeAws_restJson1UpdateRecipeJobCommand = async (output, context) => {
@@ -3486,9 +3486,9 @@ const deserializeAws_restJson1UpdateRecipeJobCommand = async (output, context) =
3486
3486
  $metadata: deserializeMetadata(output),
3487
3487
  Name: undefined,
3488
3488
  };
3489
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3489
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3490
3490
  if (data.Name !== undefined && data.Name !== null) {
3491
- contents.Name = smithy_client_1.expectString(data.Name);
3491
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
3492
3492
  }
3493
3493
  return Promise.resolve(contents);
3494
3494
  };
@@ -3518,7 +3518,7 @@ const deserializeAws_restJson1UpdateRecipeJobCommandError = async (output, conte
3518
3518
  $fault: "client",
3519
3519
  $metadata: deserializeMetadata(output),
3520
3520
  });
3521
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3521
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3522
3522
  }
3523
3523
  };
3524
3524
  const deserializeAws_restJson1UpdateRulesetCommand = async (output, context) => {
@@ -3529,9 +3529,9 @@ const deserializeAws_restJson1UpdateRulesetCommand = async (output, context) =>
3529
3529
  $metadata: deserializeMetadata(output),
3530
3530
  Name: undefined,
3531
3531
  };
3532
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3532
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3533
3533
  if (data.Name !== undefined && data.Name !== null) {
3534
- contents.Name = smithy_client_1.expectString(data.Name);
3534
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
3535
3535
  }
3536
3536
  return Promise.resolve(contents);
3537
3537
  };
@@ -3558,7 +3558,7 @@ const deserializeAws_restJson1UpdateRulesetCommandError = async (output, context
3558
3558
  $fault: "client",
3559
3559
  $metadata: deserializeMetadata(output),
3560
3560
  });
3561
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3561
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3562
3562
  }
3563
3563
  };
3564
3564
  const deserializeAws_restJson1UpdateScheduleCommand = async (output, context) => {
@@ -3569,9 +3569,9 @@ const deserializeAws_restJson1UpdateScheduleCommand = async (output, context) =>
3569
3569
  $metadata: deserializeMetadata(output),
3570
3570
  Name: undefined,
3571
3571
  };
3572
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
3572
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
3573
3573
  if (data.Name !== undefined && data.Name !== null) {
3574
- contents.Name = smithy_client_1.expectString(data.Name);
3574
+ contents.Name = (0, smithy_client_1.expectString)(data.Name);
3575
3575
  }
3576
3576
  return Promise.resolve(contents);
3577
3577
  };
@@ -3601,80 +3601,80 @@ const deserializeAws_restJson1UpdateScheduleCommandError = async (output, contex
3601
3601
  $fault: "client",
3602
3602
  $metadata: deserializeMetadata(output),
3603
3603
  });
3604
- throw smithy_client_1.decorateServiceException(response, parsedBody);
3604
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3605
3605
  }
3606
3606
  };
3607
3607
  const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
3608
3608
  const contents = {};
3609
3609
  const data = parsedOutput.body;
3610
3610
  if (data.Message !== undefined && data.Message !== null) {
3611
- contents.Message = smithy_client_1.expectString(data.Message);
3611
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
3612
3612
  }
3613
3613
  const exception = new models_0_1.AccessDeniedException({
3614
3614
  $metadata: deserializeMetadata(parsedOutput),
3615
3615
  ...contents,
3616
3616
  });
3617
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3617
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3618
3618
  };
3619
3619
  const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
3620
3620
  const contents = {};
3621
3621
  const data = parsedOutput.body;
3622
3622
  if (data.Message !== undefined && data.Message !== null) {
3623
- contents.Message = smithy_client_1.expectString(data.Message);
3623
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
3624
3624
  }
3625
3625
  const exception = new models_0_1.ConflictException({
3626
3626
  $metadata: deserializeMetadata(parsedOutput),
3627
3627
  ...contents,
3628
3628
  });
3629
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3629
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3630
3630
  };
3631
3631
  const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
3632
3632
  const contents = {};
3633
3633
  const data = parsedOutput.body;
3634
3634
  if (data.Message !== undefined && data.Message !== null) {
3635
- contents.Message = smithy_client_1.expectString(data.Message);
3635
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
3636
3636
  }
3637
3637
  const exception = new models_0_1.InternalServerException({
3638
3638
  $metadata: deserializeMetadata(parsedOutput),
3639
3639
  ...contents,
3640
3640
  });
3641
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3641
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3642
3642
  };
3643
3643
  const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
3644
3644
  const contents = {};
3645
3645
  const data = parsedOutput.body;
3646
3646
  if (data.Message !== undefined && data.Message !== null) {
3647
- contents.Message = smithy_client_1.expectString(data.Message);
3647
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
3648
3648
  }
3649
3649
  const exception = new models_0_1.ResourceNotFoundException({
3650
3650
  $metadata: deserializeMetadata(parsedOutput),
3651
3651
  ...contents,
3652
3652
  });
3653
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3653
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3654
3654
  };
3655
3655
  const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
3656
3656
  const contents = {};
3657
3657
  const data = parsedOutput.body;
3658
3658
  if (data.Message !== undefined && data.Message !== null) {
3659
- contents.Message = smithy_client_1.expectString(data.Message);
3659
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
3660
3660
  }
3661
3661
  const exception = new models_0_1.ServiceQuotaExceededException({
3662
3662
  $metadata: deserializeMetadata(parsedOutput),
3663
3663
  ...contents,
3664
3664
  });
3665
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3665
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3666
3666
  };
3667
3667
  const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
3668
3668
  const contents = {};
3669
3669
  const data = parsedOutput.body;
3670
3670
  if (data.Message !== undefined && data.Message !== null) {
3671
- contents.Message = smithy_client_1.expectString(data.Message);
3671
+ contents.Message = (0, smithy_client_1.expectString)(data.Message);
3672
3672
  }
3673
3673
  const exception = new models_0_1.ValidationException({
3674
3674
  $metadata: deserializeMetadata(parsedOutput),
3675
3675
  ...contents,
3676
3676
  });
3677
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
3677
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3678
3678
  };
3679
3679
  const serializeAws_restJson1AllowedStatisticList = (input, context) => {
3680
3680
  return input
@@ -4226,7 +4226,7 @@ const serializeAws_restJson1Threshold = (input, context) => {
4226
4226
  return {
4227
4227
  ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }),
4228
4228
  ...(input.Unit !== undefined && input.Unit !== null && { Unit: input.Unit }),
4229
- ...(input.Value !== undefined && input.Value !== null && { Value: smithy_client_1.serializeFloat(input.Value) }),
4229
+ ...(input.Value !== undefined && input.Value !== null && { Value: (0, smithy_client_1.serializeFloat)(input.Value) }),
4230
4230
  };
4231
4231
  };
4232
4232
  const serializeAws_restJson1ValidationConfiguration = (input, context) => {
@@ -4296,14 +4296,14 @@ const deserializeAws_restJson1ColumnNameList = (output, context) => {
4296
4296
  if (entry === null) {
4297
4297
  return null;
4298
4298
  }
4299
- return smithy_client_1.expectString(entry);
4299
+ return (0, smithy_client_1.expectString)(entry);
4300
4300
  });
4301
4301
  return retVal;
4302
4302
  };
4303
4303
  const deserializeAws_restJson1ColumnSelector = (output, context) => {
4304
4304
  return {
4305
- Name: smithy_client_1.expectString(output.Name),
4306
- Regex: smithy_client_1.expectString(output.Regex),
4305
+ Name: (0, smithy_client_1.expectString)(output.Name),
4306
+ Regex: (0, smithy_client_1.expectString)(output.Regex),
4307
4307
  };
4308
4308
  };
4309
4309
  const deserializeAws_restJson1ColumnSelectorList = (output, context) => {
@@ -4340,9 +4340,9 @@ const deserializeAws_restJson1ColumnStatisticsConfigurationList = (output, conte
4340
4340
  };
4341
4341
  const deserializeAws_restJson1ConditionExpression = (output, context) => {
4342
4342
  return {
4343
- Condition: smithy_client_1.expectString(output.Condition),
4344
- TargetColumn: smithy_client_1.expectString(output.TargetColumn),
4345
- Value: smithy_client_1.expectString(output.Value),
4343
+ Condition: (0, smithy_client_1.expectString)(output.Condition),
4344
+ TargetColumn: (0, smithy_client_1.expectString)(output.TargetColumn),
4345
+ Value: (0, smithy_client_1.expectString)(output.Value),
4346
4346
  };
4347
4347
  };
4348
4348
  const deserializeAws_restJson1ConditionExpressionList = (output, context) => {
@@ -4358,20 +4358,20 @@ const deserializeAws_restJson1ConditionExpressionList = (output, context) => {
4358
4358
  };
4359
4359
  const deserializeAws_restJson1CsvOptions = (output, context) => {
4360
4360
  return {
4361
- Delimiter: smithy_client_1.expectString(output.Delimiter),
4362
- HeaderRow: smithy_client_1.expectBoolean(output.HeaderRow),
4361
+ Delimiter: (0, smithy_client_1.expectString)(output.Delimiter),
4362
+ HeaderRow: (0, smithy_client_1.expectBoolean)(output.HeaderRow),
4363
4363
  };
4364
4364
  };
4365
4365
  const deserializeAws_restJson1CsvOutputOptions = (output, context) => {
4366
4366
  return {
4367
- Delimiter: smithy_client_1.expectString(output.Delimiter),
4367
+ Delimiter: (0, smithy_client_1.expectString)(output.Delimiter),
4368
4368
  };
4369
4369
  };
4370
4370
  const deserializeAws_restJson1DatabaseInputDefinition = (output, context) => {
4371
4371
  return {
4372
- DatabaseTableName: smithy_client_1.expectString(output.DatabaseTableName),
4373
- GlueConnectionName: smithy_client_1.expectString(output.GlueConnectionName),
4374
- QueryString: smithy_client_1.expectString(output.QueryString),
4372
+ DatabaseTableName: (0, smithy_client_1.expectString)(output.DatabaseTableName),
4373
+ GlueConnectionName: (0, smithy_client_1.expectString)(output.GlueConnectionName),
4374
+ QueryString: (0, smithy_client_1.expectString)(output.QueryString),
4375
4375
  TempDirectory: output.TempDirectory !== undefined && output.TempDirectory !== null
4376
4376
  ? deserializeAws_restJson1S3Location(output.TempDirectory, context)
4377
4377
  : undefined,
@@ -4382,8 +4382,8 @@ const deserializeAws_restJson1DatabaseOutput = (output, context) => {
4382
4382
  DatabaseOptions: output.DatabaseOptions !== undefined && output.DatabaseOptions !== null
4383
4383
  ? deserializeAws_restJson1DatabaseTableOutputOptions(output.DatabaseOptions, context)
4384
4384
  : undefined,
4385
- DatabaseOutputMode: smithy_client_1.expectString(output.DatabaseOutputMode),
4386
- GlueConnectionName: smithy_client_1.expectString(output.GlueConnectionName),
4385
+ DatabaseOutputMode: (0, smithy_client_1.expectString)(output.DatabaseOutputMode),
4386
+ GlueConnectionName: (0, smithy_client_1.expectString)(output.GlueConnectionName),
4387
4387
  };
4388
4388
  };
4389
4389
  const deserializeAws_restJson1DatabaseOutputList = (output, context) => {
@@ -4399,7 +4399,7 @@ const deserializeAws_restJson1DatabaseOutputList = (output, context) => {
4399
4399
  };
4400
4400
  const deserializeAws_restJson1DatabaseTableOutputOptions = (output, context) => {
4401
4401
  return {
4402
- TableName: smithy_client_1.expectString(output.TableName),
4402
+ TableName: (0, smithy_client_1.expectString)(output.TableName),
4403
4403
  TempDirectory: output.TempDirectory !== undefined && output.TempDirectory !== null
4404
4404
  ? deserializeAws_restJson1S3Location(output.TempDirectory, context)
4405
4405
  : undefined,
@@ -4407,9 +4407,9 @@ const deserializeAws_restJson1DatabaseTableOutputOptions = (output, context) =>
4407
4407
  };
4408
4408
  const deserializeAws_restJson1DataCatalogInputDefinition = (output, context) => {
4409
4409
  return {
4410
- CatalogId: smithy_client_1.expectString(output.CatalogId),
4411
- DatabaseName: smithy_client_1.expectString(output.DatabaseName),
4412
- TableName: smithy_client_1.expectString(output.TableName),
4410
+ CatalogId: (0, smithy_client_1.expectString)(output.CatalogId),
4411
+ DatabaseName: (0, smithy_client_1.expectString)(output.DatabaseName),
4412
+ TableName: (0, smithy_client_1.expectString)(output.TableName),
4413
4413
  TempDirectory: output.TempDirectory !== undefined && output.TempDirectory !== null
4414
4414
  ? deserializeAws_restJson1S3Location(output.TempDirectory, context)
4415
4415
  : undefined,
@@ -4417,16 +4417,16 @@ const deserializeAws_restJson1DataCatalogInputDefinition = (output, context) =>
4417
4417
  };
4418
4418
  const deserializeAws_restJson1DataCatalogOutput = (output, context) => {
4419
4419
  return {
4420
- CatalogId: smithy_client_1.expectString(output.CatalogId),
4421
- DatabaseName: smithy_client_1.expectString(output.DatabaseName),
4420
+ CatalogId: (0, smithy_client_1.expectString)(output.CatalogId),
4421
+ DatabaseName: (0, smithy_client_1.expectString)(output.DatabaseName),
4422
4422
  DatabaseOptions: output.DatabaseOptions !== undefined && output.DatabaseOptions !== null
4423
4423
  ? deserializeAws_restJson1DatabaseTableOutputOptions(output.DatabaseOptions, context)
4424
4424
  : undefined,
4425
- Overwrite: smithy_client_1.expectBoolean(output.Overwrite),
4425
+ Overwrite: (0, smithy_client_1.expectBoolean)(output.Overwrite),
4426
4426
  S3Options: output.S3Options !== undefined && output.S3Options !== null
4427
4427
  ? deserializeAws_restJson1S3TableOutputOptions(output.S3Options, context)
4428
4428
  : undefined,
4429
- TableName: smithy_client_1.expectString(output.TableName),
4429
+ TableName: (0, smithy_client_1.expectString)(output.TableName),
4430
4430
  };
4431
4431
  };
4432
4432
  const deserializeAws_restJson1DataCatalogOutputList = (output, context) => {
@@ -4442,28 +4442,28 @@ const deserializeAws_restJson1DataCatalogOutputList = (output, context) => {
4442
4442
  };
4443
4443
  const deserializeAws_restJson1Dataset = (output, context) => {
4444
4444
  return {
4445
- AccountId: smithy_client_1.expectString(output.AccountId),
4445
+ AccountId: (0, smithy_client_1.expectString)(output.AccountId),
4446
4446
  CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
4447
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateDate)))
4447
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateDate)))
4448
4448
  : undefined,
4449
- CreatedBy: smithy_client_1.expectString(output.CreatedBy),
4450
- Format: smithy_client_1.expectString(output.Format),
4449
+ CreatedBy: (0, smithy_client_1.expectString)(output.CreatedBy),
4450
+ Format: (0, smithy_client_1.expectString)(output.Format),
4451
4451
  FormatOptions: output.FormatOptions !== undefined && output.FormatOptions !== null
4452
4452
  ? deserializeAws_restJson1FormatOptions(output.FormatOptions, context)
4453
4453
  : undefined,
4454
4454
  Input: output.Input !== undefined && output.Input !== null
4455
4455
  ? deserializeAws_restJson1Input(output.Input, context)
4456
4456
  : undefined,
4457
- LastModifiedBy: smithy_client_1.expectString(output.LastModifiedBy),
4457
+ LastModifiedBy: (0, smithy_client_1.expectString)(output.LastModifiedBy),
4458
4458
  LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
4459
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
4459
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedDate)))
4460
4460
  : undefined,
4461
- Name: smithy_client_1.expectString(output.Name),
4461
+ Name: (0, smithy_client_1.expectString)(output.Name),
4462
4462
  PathOptions: output.PathOptions !== undefined && output.PathOptions !== null
4463
4463
  ? deserializeAws_restJson1PathOptions(output.PathOptions, context)
4464
4464
  : undefined,
4465
- ResourceArn: smithy_client_1.expectString(output.ResourceArn),
4466
- Source: smithy_client_1.expectString(output.Source),
4465
+ ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
4466
+ Source: (0, smithy_client_1.expectString)(output.Source),
4467
4467
  Tags: output.Tags !== undefined && output.Tags !== null
4468
4468
  ? deserializeAws_restJson1TagMap(output.Tags, context)
4469
4469
  : undefined,
@@ -4482,22 +4482,22 @@ const deserializeAws_restJson1DatasetList = (output, context) => {
4482
4482
  };
4483
4483
  const deserializeAws_restJson1DatasetParameter = (output, context) => {
4484
4484
  return {
4485
- CreateColumn: smithy_client_1.expectBoolean(output.CreateColumn),
4485
+ CreateColumn: (0, smithy_client_1.expectBoolean)(output.CreateColumn),
4486
4486
  DatetimeOptions: output.DatetimeOptions !== undefined && output.DatetimeOptions !== null
4487
4487
  ? deserializeAws_restJson1DatetimeOptions(output.DatetimeOptions, context)
4488
4488
  : undefined,
4489
4489
  Filter: output.Filter !== undefined && output.Filter !== null
4490
4490
  ? deserializeAws_restJson1FilterExpression(output.Filter, context)
4491
4491
  : undefined,
4492
- Name: smithy_client_1.expectString(output.Name),
4493
- Type: smithy_client_1.expectString(output.Type),
4492
+ Name: (0, smithy_client_1.expectString)(output.Name),
4493
+ Type: (0, smithy_client_1.expectString)(output.Type),
4494
4494
  };
4495
4495
  };
4496
4496
  const deserializeAws_restJson1DatetimeOptions = (output, context) => {
4497
4497
  return {
4498
- Format: smithy_client_1.expectString(output.Format),
4499
- LocaleCode: smithy_client_1.expectString(output.LocaleCode),
4500
- TimezoneOffset: smithy_client_1.expectString(output.TimezoneOffset),
4498
+ Format: (0, smithy_client_1.expectString)(output.Format),
4499
+ LocaleCode: (0, smithy_client_1.expectString)(output.LocaleCode),
4500
+ TimezoneOffset: (0, smithy_client_1.expectString)(output.TimezoneOffset),
4501
4501
  };
4502
4502
  };
4503
4503
  const deserializeAws_restJson1EntityDetectorConfiguration = (output, context) => {
@@ -4517,13 +4517,13 @@ const deserializeAws_restJson1EntityTypeList = (output, context) => {
4517
4517
  if (entry === null) {
4518
4518
  return null;
4519
4519
  }
4520
- return smithy_client_1.expectString(entry);
4520
+ return (0, smithy_client_1.expectString)(entry);
4521
4521
  });
4522
4522
  return retVal;
4523
4523
  };
4524
4524
  const deserializeAws_restJson1ExcelOptions = (output, context) => {
4525
4525
  return {
4526
- HeaderRow: smithy_client_1.expectBoolean(output.HeaderRow),
4526
+ HeaderRow: (0, smithy_client_1.expectBoolean)(output.HeaderRow),
4527
4527
  SheetIndexes: output.SheetIndexes !== undefined && output.SheetIndexes !== null
4528
4528
  ? deserializeAws_restJson1SheetIndexList(output.SheetIndexes, context)
4529
4529
  : undefined,
@@ -4534,14 +4534,14 @@ const deserializeAws_restJson1ExcelOptions = (output, context) => {
4534
4534
  };
4535
4535
  const deserializeAws_restJson1FilesLimit = (output, context) => {
4536
4536
  return {
4537
- MaxFiles: smithy_client_1.expectInt32(output.MaxFiles),
4538
- Order: smithy_client_1.expectString(output.Order),
4539
- OrderedBy: smithy_client_1.expectString(output.OrderedBy),
4537
+ MaxFiles: (0, smithy_client_1.expectInt32)(output.MaxFiles),
4538
+ Order: (0, smithy_client_1.expectString)(output.Order),
4539
+ OrderedBy: (0, smithy_client_1.expectString)(output.OrderedBy),
4540
4540
  };
4541
4541
  };
4542
4542
  const deserializeAws_restJson1FilterExpression = (output, context) => {
4543
4543
  return {
4544
- Expression: smithy_client_1.expectString(output.Expression),
4544
+ Expression: (0, smithy_client_1.expectString)(output.Expression),
4545
4545
  ValuesMap: output.ValuesMap !== undefined && output.ValuesMap !== null
4546
4546
  ? deserializeAws_restJson1ValuesMap(output.ValuesMap, context)
4547
4547
  : undefined,
@@ -4578,45 +4578,45 @@ const deserializeAws_restJson1Input = (output, context) => {
4578
4578
  };
4579
4579
  const deserializeAws_restJson1Job = (output, context) => {
4580
4580
  return {
4581
- AccountId: smithy_client_1.expectString(output.AccountId),
4581
+ AccountId: (0, smithy_client_1.expectString)(output.AccountId),
4582
4582
  CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
4583
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateDate)))
4583
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateDate)))
4584
4584
  : undefined,
4585
- CreatedBy: smithy_client_1.expectString(output.CreatedBy),
4585
+ CreatedBy: (0, smithy_client_1.expectString)(output.CreatedBy),
4586
4586
  DataCatalogOutputs: output.DataCatalogOutputs !== undefined && output.DataCatalogOutputs !== null
4587
4587
  ? deserializeAws_restJson1DataCatalogOutputList(output.DataCatalogOutputs, context)
4588
4588
  : undefined,
4589
4589
  DatabaseOutputs: output.DatabaseOutputs !== undefined && output.DatabaseOutputs !== null
4590
4590
  ? deserializeAws_restJson1DatabaseOutputList(output.DatabaseOutputs, context)
4591
4591
  : undefined,
4592
- DatasetName: smithy_client_1.expectString(output.DatasetName),
4593
- EncryptionKeyArn: smithy_client_1.expectString(output.EncryptionKeyArn),
4594
- EncryptionMode: smithy_client_1.expectString(output.EncryptionMode),
4592
+ DatasetName: (0, smithy_client_1.expectString)(output.DatasetName),
4593
+ EncryptionKeyArn: (0, smithy_client_1.expectString)(output.EncryptionKeyArn),
4594
+ EncryptionMode: (0, smithy_client_1.expectString)(output.EncryptionMode),
4595
4595
  JobSample: output.JobSample !== undefined && output.JobSample !== null
4596
4596
  ? deserializeAws_restJson1JobSample(output.JobSample, context)
4597
4597
  : undefined,
4598
- LastModifiedBy: smithy_client_1.expectString(output.LastModifiedBy),
4598
+ LastModifiedBy: (0, smithy_client_1.expectString)(output.LastModifiedBy),
4599
4599
  LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
4600
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
4600
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedDate)))
4601
4601
  : undefined,
4602
- LogSubscription: smithy_client_1.expectString(output.LogSubscription),
4603
- MaxCapacity: smithy_client_1.expectInt32(output.MaxCapacity),
4604
- MaxRetries: smithy_client_1.expectInt32(output.MaxRetries),
4605
- Name: smithy_client_1.expectString(output.Name),
4602
+ LogSubscription: (0, smithy_client_1.expectString)(output.LogSubscription),
4603
+ MaxCapacity: (0, smithy_client_1.expectInt32)(output.MaxCapacity),
4604
+ MaxRetries: (0, smithy_client_1.expectInt32)(output.MaxRetries),
4605
+ Name: (0, smithy_client_1.expectString)(output.Name),
4606
4606
  Outputs: output.Outputs !== undefined && output.Outputs !== null
4607
4607
  ? deserializeAws_restJson1OutputList(output.Outputs, context)
4608
4608
  : undefined,
4609
- ProjectName: smithy_client_1.expectString(output.ProjectName),
4609
+ ProjectName: (0, smithy_client_1.expectString)(output.ProjectName),
4610
4610
  RecipeReference: output.RecipeReference !== undefined && output.RecipeReference !== null
4611
4611
  ? deserializeAws_restJson1RecipeReference(output.RecipeReference, context)
4612
4612
  : undefined,
4613
- ResourceArn: smithy_client_1.expectString(output.ResourceArn),
4614
- RoleArn: smithy_client_1.expectString(output.RoleArn),
4613
+ ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
4614
+ RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
4615
4615
  Tags: output.Tags !== undefined && output.Tags !== null
4616
4616
  ? deserializeAws_restJson1TagMap(output.Tags, context)
4617
4617
  : undefined,
4618
- Timeout: smithy_client_1.expectInt32(output.Timeout),
4619
- Type: smithy_client_1.expectString(output.Type),
4618
+ Timeout: (0, smithy_client_1.expectInt32)(output.Timeout),
4619
+ Type: (0, smithy_client_1.expectString)(output.Type),
4620
4620
  ValidationConfigurations: output.ValidationConfigurations !== undefined && output.ValidationConfigurations !== null
4621
4621
  ? deserializeAws_restJson1ValidationConfigurationList(output.ValidationConfigurations, context)
4622
4622
  : undefined,
@@ -4640,15 +4640,15 @@ const deserializeAws_restJson1JobNameList = (output, context) => {
4640
4640
  if (entry === null) {
4641
4641
  return null;
4642
4642
  }
4643
- return smithy_client_1.expectString(entry);
4643
+ return (0, smithy_client_1.expectString)(entry);
4644
4644
  });
4645
4645
  return retVal;
4646
4646
  };
4647
4647
  const deserializeAws_restJson1JobRun = (output, context) => {
4648
4648
  return {
4649
- Attempt: smithy_client_1.expectInt32(output.Attempt),
4649
+ Attempt: (0, smithy_client_1.expectInt32)(output.Attempt),
4650
4650
  CompletedOn: output.CompletedOn !== undefined && output.CompletedOn !== null
4651
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CompletedOn)))
4651
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CompletedOn)))
4652
4652
  : undefined,
4653
4653
  DataCatalogOutputs: output.DataCatalogOutputs !== undefined && output.DataCatalogOutputs !== null
4654
4654
  ? deserializeAws_restJson1DataCatalogOutputList(output.DataCatalogOutputs, context)
@@ -4656,27 +4656,27 @@ const deserializeAws_restJson1JobRun = (output, context) => {
4656
4656
  DatabaseOutputs: output.DatabaseOutputs !== undefined && output.DatabaseOutputs !== null
4657
4657
  ? deserializeAws_restJson1DatabaseOutputList(output.DatabaseOutputs, context)
4658
4658
  : undefined,
4659
- DatasetName: smithy_client_1.expectString(output.DatasetName),
4660
- ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
4661
- ExecutionTime: smithy_client_1.expectInt32(output.ExecutionTime),
4662
- JobName: smithy_client_1.expectString(output.JobName),
4659
+ DatasetName: (0, smithy_client_1.expectString)(output.DatasetName),
4660
+ ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
4661
+ ExecutionTime: (0, smithy_client_1.expectInt32)(output.ExecutionTime),
4662
+ JobName: (0, smithy_client_1.expectString)(output.JobName),
4663
4663
  JobSample: output.JobSample !== undefined && output.JobSample !== null
4664
4664
  ? deserializeAws_restJson1JobSample(output.JobSample, context)
4665
4665
  : undefined,
4666
- LogGroupName: smithy_client_1.expectString(output.LogGroupName),
4667
- LogSubscription: smithy_client_1.expectString(output.LogSubscription),
4666
+ LogGroupName: (0, smithy_client_1.expectString)(output.LogGroupName),
4667
+ LogSubscription: (0, smithy_client_1.expectString)(output.LogSubscription),
4668
4668
  Outputs: output.Outputs !== undefined && output.Outputs !== null
4669
4669
  ? deserializeAws_restJson1OutputList(output.Outputs, context)
4670
4670
  : undefined,
4671
4671
  RecipeReference: output.RecipeReference !== undefined && output.RecipeReference !== null
4672
4672
  ? deserializeAws_restJson1RecipeReference(output.RecipeReference, context)
4673
4673
  : undefined,
4674
- RunId: smithy_client_1.expectString(output.RunId),
4675
- StartedBy: smithy_client_1.expectString(output.StartedBy),
4674
+ RunId: (0, smithy_client_1.expectString)(output.RunId),
4675
+ StartedBy: (0, smithy_client_1.expectString)(output.StartedBy),
4676
4676
  StartedOn: output.StartedOn !== undefined && output.StartedOn !== null
4677
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartedOn)))
4677
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartedOn)))
4678
4678
  : undefined,
4679
- State: smithy_client_1.expectString(output.State),
4679
+ State: (0, smithy_client_1.expectString)(output.State),
4680
4680
  ValidationConfigurations: output.ValidationConfigurations !== undefined && output.ValidationConfigurations !== null
4681
4681
  ? deserializeAws_restJson1ValidationConfigurationList(output.ValidationConfigurations, context)
4682
4682
  : undefined,
@@ -4695,32 +4695,32 @@ const deserializeAws_restJson1JobRunList = (output, context) => {
4695
4695
  };
4696
4696
  const deserializeAws_restJson1JobSample = (output, context) => {
4697
4697
  return {
4698
- Mode: smithy_client_1.expectString(output.Mode),
4699
- Size: smithy_client_1.expectLong(output.Size),
4698
+ Mode: (0, smithy_client_1.expectString)(output.Mode),
4699
+ Size: (0, smithy_client_1.expectLong)(output.Size),
4700
4700
  };
4701
4701
  };
4702
4702
  const deserializeAws_restJson1JsonOptions = (output, context) => {
4703
4703
  return {
4704
- MultiLine: smithy_client_1.expectBoolean(output.MultiLine),
4704
+ MultiLine: (0, smithy_client_1.expectBoolean)(output.MultiLine),
4705
4705
  };
4706
4706
  };
4707
4707
  const deserializeAws_restJson1Metadata = (output, context) => {
4708
4708
  return {
4709
- SourceArn: smithy_client_1.expectString(output.SourceArn),
4709
+ SourceArn: (0, smithy_client_1.expectString)(output.SourceArn),
4710
4710
  };
4711
4711
  };
4712
4712
  const deserializeAws_restJson1Output = (output, context) => {
4713
4713
  return {
4714
- CompressionFormat: smithy_client_1.expectString(output.CompressionFormat),
4715
- Format: smithy_client_1.expectString(output.Format),
4714
+ CompressionFormat: (0, smithy_client_1.expectString)(output.CompressionFormat),
4715
+ Format: (0, smithy_client_1.expectString)(output.Format),
4716
4716
  FormatOptions: output.FormatOptions !== undefined && output.FormatOptions !== null
4717
4717
  ? deserializeAws_restJson1OutputFormatOptions(output.FormatOptions, context)
4718
4718
  : undefined,
4719
4719
  Location: output.Location !== undefined && output.Location !== null
4720
4720
  ? deserializeAws_restJson1S3Location(output.Location, context)
4721
4721
  : undefined,
4722
- MaxOutputFiles: smithy_client_1.expectInt32(output.MaxOutputFiles),
4723
- Overwrite: smithy_client_1.expectBoolean(output.Overwrite),
4722
+ MaxOutputFiles: (0, smithy_client_1.expectInt32)(output.MaxOutputFiles),
4723
+ Overwrite: (0, smithy_client_1.expectBoolean)(output.Overwrite),
4724
4724
  PartitionColumns: output.PartitionColumns !== undefined && output.PartitionColumns !== null
4725
4725
  ? deserializeAws_restJson1ColumnNameList(output.PartitionColumns, context)
4726
4726
  : undefined,
@@ -4751,7 +4751,7 @@ const deserializeAws_restJson1ParameterMap = (output, context) => {
4751
4751
  }
4752
4752
  return {
4753
4753
  ...acc,
4754
- [key]: smithy_client_1.expectString(value),
4754
+ [key]: (0, smithy_client_1.expectString)(value),
4755
4755
  };
4756
4756
  }, {});
4757
4757
  };
@@ -4797,24 +4797,24 @@ const deserializeAws_restJson1ProfileConfiguration = (output, context) => {
4797
4797
  };
4798
4798
  const deserializeAws_restJson1Project = (output, context) => {
4799
4799
  return {
4800
- AccountId: smithy_client_1.expectString(output.AccountId),
4800
+ AccountId: (0, smithy_client_1.expectString)(output.AccountId),
4801
4801
  CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
4802
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateDate)))
4802
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateDate)))
4803
4803
  : undefined,
4804
- CreatedBy: smithy_client_1.expectString(output.CreatedBy),
4805
- DatasetName: smithy_client_1.expectString(output.DatasetName),
4806
- LastModifiedBy: smithy_client_1.expectString(output.LastModifiedBy),
4804
+ CreatedBy: (0, smithy_client_1.expectString)(output.CreatedBy),
4805
+ DatasetName: (0, smithy_client_1.expectString)(output.DatasetName),
4806
+ LastModifiedBy: (0, smithy_client_1.expectString)(output.LastModifiedBy),
4807
4807
  LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
4808
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
4808
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedDate)))
4809
4809
  : undefined,
4810
- Name: smithy_client_1.expectString(output.Name),
4810
+ Name: (0, smithy_client_1.expectString)(output.Name),
4811
4811
  OpenDate: output.OpenDate !== undefined && output.OpenDate !== null
4812
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.OpenDate)))
4812
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.OpenDate)))
4813
4813
  : undefined,
4814
- OpenedBy: smithy_client_1.expectString(output.OpenedBy),
4815
- RecipeName: smithy_client_1.expectString(output.RecipeName),
4816
- ResourceArn: smithy_client_1.expectString(output.ResourceArn),
4817
- RoleArn: smithy_client_1.expectString(output.RoleArn),
4814
+ OpenedBy: (0, smithy_client_1.expectString)(output.OpenedBy),
4815
+ RecipeName: (0, smithy_client_1.expectString)(output.RecipeName),
4816
+ ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
4817
+ RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
4818
4818
  Sample: output.Sample !== undefined && output.Sample !== null
4819
4819
  ? deserializeAws_restJson1Sample(output.Sample, context)
4820
4820
  : undefined,
@@ -4837,22 +4837,22 @@ const deserializeAws_restJson1ProjectList = (output, context) => {
4837
4837
  const deserializeAws_restJson1Recipe = (output, context) => {
4838
4838
  return {
4839
4839
  CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
4840
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateDate)))
4840
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateDate)))
4841
4841
  : undefined,
4842
- CreatedBy: smithy_client_1.expectString(output.CreatedBy),
4843
- Description: smithy_client_1.expectString(output.Description),
4844
- LastModifiedBy: smithy_client_1.expectString(output.LastModifiedBy),
4842
+ CreatedBy: (0, smithy_client_1.expectString)(output.CreatedBy),
4843
+ Description: (0, smithy_client_1.expectString)(output.Description),
4844
+ LastModifiedBy: (0, smithy_client_1.expectString)(output.LastModifiedBy),
4845
4845
  LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
4846
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
4846
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedDate)))
4847
4847
  : undefined,
4848
- Name: smithy_client_1.expectString(output.Name),
4849
- ProjectName: smithy_client_1.expectString(output.ProjectName),
4850
- PublishedBy: smithy_client_1.expectString(output.PublishedBy),
4848
+ Name: (0, smithy_client_1.expectString)(output.Name),
4849
+ ProjectName: (0, smithy_client_1.expectString)(output.ProjectName),
4850
+ PublishedBy: (0, smithy_client_1.expectString)(output.PublishedBy),
4851
4851
  PublishedDate: output.PublishedDate !== undefined && output.PublishedDate !== null
4852
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.PublishedDate)))
4852
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.PublishedDate)))
4853
4853
  : undefined,
4854
- RecipeVersion: smithy_client_1.expectString(output.RecipeVersion),
4855
- ResourceArn: smithy_client_1.expectString(output.ResourceArn),
4854
+ RecipeVersion: (0, smithy_client_1.expectString)(output.RecipeVersion),
4855
+ ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
4856
4856
  Steps: output.Steps !== undefined && output.Steps !== null
4857
4857
  ? deserializeAws_restJson1RecipeStepList(output.Steps, context)
4858
4858
  : undefined,
@@ -4863,7 +4863,7 @@ const deserializeAws_restJson1Recipe = (output, context) => {
4863
4863
  };
4864
4864
  const deserializeAws_restJson1RecipeAction = (output, context) => {
4865
4865
  return {
4866
- Operation: smithy_client_1.expectString(output.Operation),
4866
+ Operation: (0, smithy_client_1.expectString)(output.Operation),
4867
4867
  Parameters: output.Parameters !== undefined && output.Parameters !== null
4868
4868
  ? deserializeAws_restJson1ParameterMap(output.Parameters, context)
4869
4869
  : undefined,
@@ -4893,8 +4893,8 @@ const deserializeAws_restJson1RecipeList = (output, context) => {
4893
4893
  };
4894
4894
  const deserializeAws_restJson1RecipeReference = (output, context) => {
4895
4895
  return {
4896
- Name: smithy_client_1.expectString(output.Name),
4897
- RecipeVersion: smithy_client_1.expectString(output.RecipeVersion),
4896
+ Name: (0, smithy_client_1.expectString)(output.Name),
4897
+ RecipeVersion: (0, smithy_client_1.expectString)(output.RecipeVersion),
4898
4898
  };
4899
4899
  };
4900
4900
  const deserializeAws_restJson1RecipeStep = (output, context) => {
@@ -4920,19 +4920,19 @@ const deserializeAws_restJson1RecipeStepList = (output, context) => {
4920
4920
  };
4921
4921
  const deserializeAws_restJson1RecipeVersionErrorDetail = (output, context) => {
4922
4922
  return {
4923
- ErrorCode: smithy_client_1.expectString(output.ErrorCode),
4924
- ErrorMessage: smithy_client_1.expectString(output.ErrorMessage),
4925
- RecipeVersion: smithy_client_1.expectString(output.RecipeVersion),
4923
+ ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
4924
+ ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
4925
+ RecipeVersion: (0, smithy_client_1.expectString)(output.RecipeVersion),
4926
4926
  };
4927
4927
  };
4928
4928
  const deserializeAws_restJson1Rule = (output, context) => {
4929
4929
  return {
4930
- CheckExpression: smithy_client_1.expectString(output.CheckExpression),
4930
+ CheckExpression: (0, smithy_client_1.expectString)(output.CheckExpression),
4931
4931
  ColumnSelectors: output.ColumnSelectors !== undefined && output.ColumnSelectors !== null
4932
4932
  ? deserializeAws_restJson1ColumnSelectorList(output.ColumnSelectors, context)
4933
4933
  : undefined,
4934
- Disabled: smithy_client_1.expectBoolean(output.Disabled),
4935
- Name: smithy_client_1.expectString(output.Name),
4934
+ Disabled: (0, smithy_client_1.expectBoolean)(output.Disabled),
4935
+ Name: (0, smithy_client_1.expectString)(output.Name),
4936
4936
  SubstitutionMap: output.SubstitutionMap !== undefined && output.SubstitutionMap !== null
4937
4937
  ? deserializeAws_restJson1ValuesMap(output.SubstitutionMap, context)
4938
4938
  : undefined,
@@ -4954,23 +4954,23 @@ const deserializeAws_restJson1RuleList = (output, context) => {
4954
4954
  };
4955
4955
  const deserializeAws_restJson1RulesetItem = (output, context) => {
4956
4956
  return {
4957
- AccountId: smithy_client_1.expectString(output.AccountId),
4957
+ AccountId: (0, smithy_client_1.expectString)(output.AccountId),
4958
4958
  CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
4959
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateDate)))
4959
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateDate)))
4960
4960
  : undefined,
4961
- CreatedBy: smithy_client_1.expectString(output.CreatedBy),
4962
- Description: smithy_client_1.expectString(output.Description),
4963
- LastModifiedBy: smithy_client_1.expectString(output.LastModifiedBy),
4961
+ CreatedBy: (0, smithy_client_1.expectString)(output.CreatedBy),
4962
+ Description: (0, smithy_client_1.expectString)(output.Description),
4963
+ LastModifiedBy: (0, smithy_client_1.expectString)(output.LastModifiedBy),
4964
4964
  LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
4965
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
4965
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedDate)))
4966
4966
  : undefined,
4967
- Name: smithy_client_1.expectString(output.Name),
4968
- ResourceArn: smithy_client_1.expectString(output.ResourceArn),
4969
- RuleCount: smithy_client_1.expectInt32(output.RuleCount),
4967
+ Name: (0, smithy_client_1.expectString)(output.Name),
4968
+ ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
4969
+ RuleCount: (0, smithy_client_1.expectInt32)(output.RuleCount),
4970
4970
  Tags: output.Tags !== undefined && output.Tags !== null
4971
4971
  ? deserializeAws_restJson1TagMap(output.Tags, context)
4972
4972
  : undefined,
4973
- TargetArn: smithy_client_1.expectString(output.TargetArn),
4973
+ TargetArn: (0, smithy_client_1.expectString)(output.TargetArn),
4974
4974
  };
4975
4975
  };
4976
4976
  const deserializeAws_restJson1RulesetItemList = (output, context) => {
@@ -4986,9 +4986,9 @@ const deserializeAws_restJson1RulesetItemList = (output, context) => {
4986
4986
  };
4987
4987
  const deserializeAws_restJson1S3Location = (output, context) => {
4988
4988
  return {
4989
- Bucket: smithy_client_1.expectString(output.Bucket),
4990
- BucketOwner: smithy_client_1.expectString(output.BucketOwner),
4991
- Key: smithy_client_1.expectString(output.Key),
4989
+ Bucket: (0, smithy_client_1.expectString)(output.Bucket),
4990
+ BucketOwner: (0, smithy_client_1.expectString)(output.BucketOwner),
4991
+ Key: (0, smithy_client_1.expectString)(output.Key),
4992
4992
  };
4993
4993
  };
4994
4994
  const deserializeAws_restJson1S3TableOutputOptions = (output, context) => {
@@ -5000,27 +5000,27 @@ const deserializeAws_restJson1S3TableOutputOptions = (output, context) => {
5000
5000
  };
5001
5001
  const deserializeAws_restJson1Sample = (output, context) => {
5002
5002
  return {
5003
- Size: smithy_client_1.expectInt32(output.Size),
5004
- Type: smithy_client_1.expectString(output.Type),
5003
+ Size: (0, smithy_client_1.expectInt32)(output.Size),
5004
+ Type: (0, smithy_client_1.expectString)(output.Type),
5005
5005
  };
5006
5006
  };
5007
5007
  const deserializeAws_restJson1Schedule = (output, context) => {
5008
5008
  return {
5009
- AccountId: smithy_client_1.expectString(output.AccountId),
5009
+ AccountId: (0, smithy_client_1.expectString)(output.AccountId),
5010
5010
  CreateDate: output.CreateDate !== undefined && output.CreateDate !== null
5011
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateDate)))
5011
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateDate)))
5012
5012
  : undefined,
5013
- CreatedBy: smithy_client_1.expectString(output.CreatedBy),
5014
- CronExpression: smithy_client_1.expectString(output.CronExpression),
5013
+ CreatedBy: (0, smithy_client_1.expectString)(output.CreatedBy),
5014
+ CronExpression: (0, smithy_client_1.expectString)(output.CronExpression),
5015
5015
  JobNames: output.JobNames !== undefined && output.JobNames !== null
5016
5016
  ? deserializeAws_restJson1JobNameList(output.JobNames, context)
5017
5017
  : undefined,
5018
- LastModifiedBy: smithy_client_1.expectString(output.LastModifiedBy),
5018
+ LastModifiedBy: (0, smithy_client_1.expectString)(output.LastModifiedBy),
5019
5019
  LastModifiedDate: output.LastModifiedDate !== undefined && output.LastModifiedDate !== null
5020
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedDate)))
5020
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedDate)))
5021
5021
  : undefined,
5022
- Name: smithy_client_1.expectString(output.Name),
5023
- ResourceArn: smithy_client_1.expectString(output.ResourceArn),
5022
+ Name: (0, smithy_client_1.expectString)(output.Name),
5023
+ ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
5024
5024
  Tags: output.Tags !== undefined && output.Tags !== null
5025
5025
  ? deserializeAws_restJson1TagMap(output.Tags, context)
5026
5026
  : undefined,
@@ -5044,7 +5044,7 @@ const deserializeAws_restJson1SheetIndexList = (output, context) => {
5044
5044
  if (entry === null) {
5045
5045
  return null;
5046
5046
  }
5047
- return smithy_client_1.expectInt32(entry);
5047
+ return (0, smithy_client_1.expectInt32)(entry);
5048
5048
  });
5049
5049
  return retVal;
5050
5050
  };
@@ -5055,7 +5055,7 @@ const deserializeAws_restJson1SheetNameList = (output, context) => {
5055
5055
  if (entry === null) {
5056
5056
  return null;
5057
5057
  }
5058
- return smithy_client_1.expectString(entry);
5058
+ return (0, smithy_client_1.expectString)(entry);
5059
5059
  });
5060
5060
  return retVal;
5061
5061
  };
@@ -5066,7 +5066,7 @@ const deserializeAws_restJson1StatisticList = (output, context) => {
5066
5066
  if (entry === null) {
5067
5067
  return null;
5068
5068
  }
5069
- return smithy_client_1.expectString(entry);
5069
+ return (0, smithy_client_1.expectString)(entry);
5070
5070
  });
5071
5071
  return retVal;
5072
5072
  };
@@ -5075,7 +5075,7 @@ const deserializeAws_restJson1StatisticOverride = (output, context) => {
5075
5075
  Parameters: output.Parameters !== undefined && output.Parameters !== null
5076
5076
  ? deserializeAws_restJson1ParameterMap(output.Parameters, context)
5077
5077
  : undefined,
5078
- Statistic: smithy_client_1.expectString(output.Statistic),
5078
+ Statistic: (0, smithy_client_1.expectString)(output.Statistic),
5079
5079
  };
5080
5080
  };
5081
5081
  const deserializeAws_restJson1StatisticOverrideList = (output, context) => {
@@ -5106,21 +5106,21 @@ const deserializeAws_restJson1TagMap = (output, context) => {
5106
5106
  }
5107
5107
  return {
5108
5108
  ...acc,
5109
- [key]: smithy_client_1.expectString(value),
5109
+ [key]: (0, smithy_client_1.expectString)(value),
5110
5110
  };
5111
5111
  }, {});
5112
5112
  };
5113
5113
  const deserializeAws_restJson1Threshold = (output, context) => {
5114
5114
  return {
5115
- Type: smithy_client_1.expectString(output.Type),
5116
- Unit: smithy_client_1.expectString(output.Unit),
5117
- Value: smithy_client_1.limitedParseDouble(output.Value),
5115
+ Type: (0, smithy_client_1.expectString)(output.Type),
5116
+ Unit: (0, smithy_client_1.expectString)(output.Unit),
5117
+ Value: (0, smithy_client_1.limitedParseDouble)(output.Value),
5118
5118
  };
5119
5119
  };
5120
5120
  const deserializeAws_restJson1ValidationConfiguration = (output, context) => {
5121
5121
  return {
5122
- RulesetArn: smithy_client_1.expectString(output.RulesetArn),
5123
- ValidationMode: smithy_client_1.expectString(output.ValidationMode),
5122
+ RulesetArn: (0, smithy_client_1.expectString)(output.RulesetArn),
5123
+ ValidationMode: (0, smithy_client_1.expectString)(output.ValidationMode),
5124
5124
  };
5125
5125
  };
5126
5126
  const deserializeAws_restJson1ValidationConfigurationList = (output, context) => {
@@ -5141,7 +5141,7 @@ const deserializeAws_restJson1ValuesMap = (output, context) => {
5141
5141
  }
5142
5142
  return {
5143
5143
  ...acc,
5144
- [key]: smithy_client_1.expectString(value),
5144
+ [key]: (0, smithy_client_1.expectString)(value),
5145
5145
  };
5146
5146
  }, {});
5147
5147
  };