@aws-sdk/client-databrew 3.306.0 → 3.310.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 (93) hide show
  1. package/dist-cjs/commands/BatchDeleteRecipeVersionCommand.js +2 -2
  2. package/dist-cjs/commands/CreateDatasetCommand.js +2 -2
  3. package/dist-cjs/commands/CreateProfileJobCommand.js +2 -2
  4. package/dist-cjs/commands/CreateProjectCommand.js +2 -2
  5. package/dist-cjs/commands/CreateRecipeCommand.js +2 -2
  6. package/dist-cjs/commands/CreateRecipeJobCommand.js +2 -2
  7. package/dist-cjs/commands/CreateRulesetCommand.js +2 -2
  8. package/dist-cjs/commands/CreateScheduleCommand.js +2 -2
  9. package/dist-cjs/commands/DeleteDatasetCommand.js +2 -2
  10. package/dist-cjs/commands/DeleteJobCommand.js +2 -2
  11. package/dist-cjs/commands/DeleteProjectCommand.js +2 -2
  12. package/dist-cjs/commands/DeleteRecipeVersionCommand.js +2 -2
  13. package/dist-cjs/commands/DeleteRulesetCommand.js +2 -2
  14. package/dist-cjs/commands/DeleteScheduleCommand.js +2 -2
  15. package/dist-cjs/commands/DescribeDatasetCommand.js +2 -2
  16. package/dist-cjs/commands/DescribeJobCommand.js +2 -2
  17. package/dist-cjs/commands/DescribeJobRunCommand.js +2 -2
  18. package/dist-cjs/commands/DescribeProjectCommand.js +2 -2
  19. package/dist-cjs/commands/DescribeRecipeCommand.js +2 -2
  20. package/dist-cjs/commands/DescribeRulesetCommand.js +2 -2
  21. package/dist-cjs/commands/DescribeScheduleCommand.js +2 -2
  22. package/dist-cjs/commands/ListDatasetsCommand.js +2 -2
  23. package/dist-cjs/commands/ListJobRunsCommand.js +2 -2
  24. package/dist-cjs/commands/ListJobsCommand.js +2 -2
  25. package/dist-cjs/commands/ListProjectsCommand.js +2 -2
  26. package/dist-cjs/commands/ListRecipeVersionsCommand.js +2 -2
  27. package/dist-cjs/commands/ListRecipesCommand.js +2 -2
  28. package/dist-cjs/commands/ListRulesetsCommand.js +2 -2
  29. package/dist-cjs/commands/ListSchedulesCommand.js +2 -2
  30. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  31. package/dist-cjs/commands/PublishRecipeCommand.js +2 -2
  32. package/dist-cjs/commands/SendProjectSessionActionCommand.js +2 -2
  33. package/dist-cjs/commands/StartJobRunCommand.js +2 -2
  34. package/dist-cjs/commands/StartProjectSessionCommand.js +2 -2
  35. package/dist-cjs/commands/StopJobRunCommand.js +2 -2
  36. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  37. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  38. package/dist-cjs/commands/UpdateDatasetCommand.js +2 -2
  39. package/dist-cjs/commands/UpdateProfileJobCommand.js +2 -2
  40. package/dist-cjs/commands/UpdateProjectCommand.js +2 -2
  41. package/dist-cjs/commands/UpdateRecipeCommand.js +2 -2
  42. package/dist-cjs/commands/UpdateRecipeJobCommand.js +2 -2
  43. package/dist-cjs/commands/UpdateRulesetCommand.js +2 -2
  44. package/dist-cjs/commands/UpdateScheduleCommand.js +2 -2
  45. package/dist-cjs/protocols/Aws_restJson1.js +743 -825
  46. package/dist-es/commands/BatchDeleteRecipeVersionCommand.js +3 -3
  47. package/dist-es/commands/CreateDatasetCommand.js +3 -3
  48. package/dist-es/commands/CreateProfileJobCommand.js +3 -3
  49. package/dist-es/commands/CreateProjectCommand.js +3 -3
  50. package/dist-es/commands/CreateRecipeCommand.js +3 -3
  51. package/dist-es/commands/CreateRecipeJobCommand.js +3 -3
  52. package/dist-es/commands/CreateRulesetCommand.js +3 -3
  53. package/dist-es/commands/CreateScheduleCommand.js +3 -3
  54. package/dist-es/commands/DeleteDatasetCommand.js +3 -3
  55. package/dist-es/commands/DeleteJobCommand.js +3 -3
  56. package/dist-es/commands/DeleteProjectCommand.js +3 -3
  57. package/dist-es/commands/DeleteRecipeVersionCommand.js +3 -3
  58. package/dist-es/commands/DeleteRulesetCommand.js +3 -3
  59. package/dist-es/commands/DeleteScheduleCommand.js +3 -3
  60. package/dist-es/commands/DescribeDatasetCommand.js +3 -3
  61. package/dist-es/commands/DescribeJobCommand.js +3 -3
  62. package/dist-es/commands/DescribeJobRunCommand.js +3 -3
  63. package/dist-es/commands/DescribeProjectCommand.js +3 -3
  64. package/dist-es/commands/DescribeRecipeCommand.js +3 -3
  65. package/dist-es/commands/DescribeRulesetCommand.js +3 -3
  66. package/dist-es/commands/DescribeScheduleCommand.js +3 -3
  67. package/dist-es/commands/ListDatasetsCommand.js +3 -3
  68. package/dist-es/commands/ListJobRunsCommand.js +3 -3
  69. package/dist-es/commands/ListJobsCommand.js +3 -3
  70. package/dist-es/commands/ListProjectsCommand.js +3 -3
  71. package/dist-es/commands/ListRecipeVersionsCommand.js +3 -3
  72. package/dist-es/commands/ListRecipesCommand.js +3 -3
  73. package/dist-es/commands/ListRulesetsCommand.js +3 -3
  74. package/dist-es/commands/ListSchedulesCommand.js +3 -3
  75. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  76. package/dist-es/commands/PublishRecipeCommand.js +3 -3
  77. package/dist-es/commands/SendProjectSessionActionCommand.js +3 -3
  78. package/dist-es/commands/StartJobRunCommand.js +3 -3
  79. package/dist-es/commands/StartProjectSessionCommand.js +3 -3
  80. package/dist-es/commands/StopJobRunCommand.js +3 -3
  81. package/dist-es/commands/TagResourceCommand.js +3 -3
  82. package/dist-es/commands/UntagResourceCommand.js +3 -3
  83. package/dist-es/commands/UpdateDatasetCommand.js +3 -3
  84. package/dist-es/commands/UpdateProfileJobCommand.js +3 -3
  85. package/dist-es/commands/UpdateProjectCommand.js +3 -3
  86. package/dist-es/commands/UpdateRecipeCommand.js +3 -3
  87. package/dist-es/commands/UpdateRecipeJobCommand.js +3 -3
  88. package/dist-es/commands/UpdateRulesetCommand.js +3 -3
  89. package/dist-es/commands/UpdateScheduleCommand.js +3 -3
  90. package/dist-es/protocols/Aws_restJson1.js +653 -735
  91. package/dist-types/protocols/Aws_restJson1.d.ts +352 -88
  92. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +88 -88
  93. package/package.json +35 -35
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1CreateRecipeJobCommand = exports.deserializeAws_restJson1CreateRecipeCommand = exports.deserializeAws_restJson1CreateProjectCommand = exports.deserializeAws_restJson1CreateProfileJobCommand = exports.deserializeAws_restJson1CreateDatasetCommand = exports.deserializeAws_restJson1BatchDeleteRecipeVersionCommand = exports.serializeAws_restJson1UpdateScheduleCommand = exports.serializeAws_restJson1UpdateRulesetCommand = exports.serializeAws_restJson1UpdateRecipeJobCommand = exports.serializeAws_restJson1UpdateRecipeCommand = exports.serializeAws_restJson1UpdateProjectCommand = exports.serializeAws_restJson1UpdateProfileJobCommand = exports.serializeAws_restJson1UpdateDatasetCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1StopJobRunCommand = exports.serializeAws_restJson1StartProjectSessionCommand = exports.serializeAws_restJson1StartJobRunCommand = exports.serializeAws_restJson1SendProjectSessionActionCommand = exports.serializeAws_restJson1PublishRecipeCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListSchedulesCommand = exports.serializeAws_restJson1ListRulesetsCommand = exports.serializeAws_restJson1ListRecipeVersionsCommand = exports.serializeAws_restJson1ListRecipesCommand = exports.serializeAws_restJson1ListProjectsCommand = exports.serializeAws_restJson1ListJobsCommand = exports.serializeAws_restJson1ListJobRunsCommand = exports.serializeAws_restJson1ListDatasetsCommand = exports.serializeAws_restJson1DescribeScheduleCommand = exports.serializeAws_restJson1DescribeRulesetCommand = exports.serializeAws_restJson1DescribeRecipeCommand = exports.serializeAws_restJson1DescribeProjectCommand = exports.serializeAws_restJson1DescribeJobRunCommand = exports.serializeAws_restJson1DescribeJobCommand = exports.serializeAws_restJson1DescribeDatasetCommand = exports.serializeAws_restJson1DeleteScheduleCommand = exports.serializeAws_restJson1DeleteRulesetCommand = exports.serializeAws_restJson1DeleteRecipeVersionCommand = exports.serializeAws_restJson1DeleteProjectCommand = exports.serializeAws_restJson1DeleteJobCommand = exports.serializeAws_restJson1DeleteDatasetCommand = exports.serializeAws_restJson1CreateScheduleCommand = exports.serializeAws_restJson1CreateRulesetCommand = exports.serializeAws_restJson1CreateRecipeJobCommand = exports.serializeAws_restJson1CreateRecipeCommand = exports.serializeAws_restJson1CreateProjectCommand = exports.serializeAws_restJson1CreateProfileJobCommand = exports.serializeAws_restJson1CreateDatasetCommand = exports.serializeAws_restJson1BatchDeleteRecipeVersionCommand = void 0;
4
- exports.deserializeAws_restJson1UpdateScheduleCommand = exports.deserializeAws_restJson1UpdateRulesetCommand = exports.deserializeAws_restJson1UpdateRecipeJobCommand = exports.deserializeAws_restJson1UpdateRecipeCommand = exports.deserializeAws_restJson1UpdateProjectCommand = exports.deserializeAws_restJson1UpdateProfileJobCommand = exports.deserializeAws_restJson1UpdateDatasetCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1StopJobRunCommand = exports.deserializeAws_restJson1StartProjectSessionCommand = exports.deserializeAws_restJson1StartJobRunCommand = exports.deserializeAws_restJson1SendProjectSessionActionCommand = exports.deserializeAws_restJson1PublishRecipeCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListSchedulesCommand = exports.deserializeAws_restJson1ListRulesetsCommand = exports.deserializeAws_restJson1ListRecipeVersionsCommand = exports.deserializeAws_restJson1ListRecipesCommand = exports.deserializeAws_restJson1ListProjectsCommand = exports.deserializeAws_restJson1ListJobsCommand = exports.deserializeAws_restJson1ListJobRunsCommand = exports.deserializeAws_restJson1ListDatasetsCommand = exports.deserializeAws_restJson1DescribeScheduleCommand = exports.deserializeAws_restJson1DescribeRulesetCommand = exports.deserializeAws_restJson1DescribeRecipeCommand = exports.deserializeAws_restJson1DescribeProjectCommand = exports.deserializeAws_restJson1DescribeJobRunCommand = exports.deserializeAws_restJson1DescribeJobCommand = exports.deserializeAws_restJson1DescribeDatasetCommand = exports.deserializeAws_restJson1DeleteScheduleCommand = exports.deserializeAws_restJson1DeleteRulesetCommand = exports.deserializeAws_restJson1DeleteRecipeVersionCommand = exports.deserializeAws_restJson1DeleteProjectCommand = exports.deserializeAws_restJson1DeleteJobCommand = exports.deserializeAws_restJson1DeleteDatasetCommand = exports.deserializeAws_restJson1CreateScheduleCommand = exports.deserializeAws_restJson1CreateRulesetCommand = void 0;
3
+ exports.de_CreateRecipeJobCommand = exports.de_CreateRecipeCommand = exports.de_CreateProjectCommand = exports.de_CreateProfileJobCommand = exports.de_CreateDatasetCommand = exports.de_BatchDeleteRecipeVersionCommand = exports.se_UpdateScheduleCommand = exports.se_UpdateRulesetCommand = exports.se_UpdateRecipeJobCommand = exports.se_UpdateRecipeCommand = exports.se_UpdateProjectCommand = exports.se_UpdateProfileJobCommand = exports.se_UpdateDatasetCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopJobRunCommand = exports.se_StartProjectSessionCommand = exports.se_StartJobRunCommand = exports.se_SendProjectSessionActionCommand = exports.se_PublishRecipeCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSchedulesCommand = exports.se_ListRulesetsCommand = exports.se_ListRecipeVersionsCommand = exports.se_ListRecipesCommand = exports.se_ListProjectsCommand = exports.se_ListJobsCommand = exports.se_ListJobRunsCommand = exports.se_ListDatasetsCommand = exports.se_DescribeScheduleCommand = exports.se_DescribeRulesetCommand = exports.se_DescribeRecipeCommand = exports.se_DescribeProjectCommand = exports.se_DescribeJobRunCommand = exports.se_DescribeJobCommand = exports.se_DescribeDatasetCommand = exports.se_DeleteScheduleCommand = exports.se_DeleteRulesetCommand = exports.se_DeleteRecipeVersionCommand = exports.se_DeleteProjectCommand = exports.se_DeleteJobCommand = exports.se_DeleteDatasetCommand = exports.se_CreateScheduleCommand = exports.se_CreateRulesetCommand = exports.se_CreateRecipeJobCommand = exports.se_CreateRecipeCommand = exports.se_CreateProjectCommand = exports.se_CreateProfileJobCommand = exports.se_CreateDatasetCommand = exports.se_BatchDeleteRecipeVersionCommand = void 0;
4
+ exports.de_UpdateScheduleCommand = exports.de_UpdateRulesetCommand = exports.de_UpdateRecipeJobCommand = exports.de_UpdateRecipeCommand = exports.de_UpdateProjectCommand = exports.de_UpdateProfileJobCommand = exports.de_UpdateDatasetCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopJobRunCommand = exports.de_StartProjectSessionCommand = exports.de_StartJobRunCommand = exports.de_SendProjectSessionActionCommand = exports.de_PublishRecipeCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSchedulesCommand = exports.de_ListRulesetsCommand = exports.de_ListRecipeVersionsCommand = exports.de_ListRecipesCommand = exports.de_ListProjectsCommand = exports.de_ListJobsCommand = exports.de_ListJobRunsCommand = exports.de_ListDatasetsCommand = exports.de_DescribeScheduleCommand = exports.de_DescribeRulesetCommand = exports.de_DescribeRecipeCommand = exports.de_DescribeProjectCommand = exports.de_DescribeJobRunCommand = exports.de_DescribeJobCommand = exports.de_DescribeDatasetCommand = exports.de_DeleteScheduleCommand = exports.de_DeleteRulesetCommand = exports.de_DeleteRecipeVersionCommand = exports.de_DeleteProjectCommand = exports.de_DeleteJobCommand = exports.de_DeleteDatasetCommand = exports.de_CreateScheduleCommand = exports.de_CreateRulesetCommand = void 0;
5
5
  const protocol_http_1 = require("@aws-sdk/protocol-http");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const DataBrewServiceException_1 = require("../models/DataBrewServiceException");
8
8
  const models_0_1 = require("../models/models_0");
9
- const serializeAws_restJson1BatchDeleteRecipeVersionCommand = async (input, context) => {
9
+ const se_BatchDeleteRecipeVersionCommand = async (input, context) => {
10
10
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
11
11
  const headers = {
12
12
  "content-type": "application/json",
@@ -15,9 +15,7 @@ const serializeAws_restJson1BatchDeleteRecipeVersionCommand = async (input, cont
15
15
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
16
16
  let body;
17
17
  body = JSON.stringify({
18
- ...(input.RecipeVersions != null && {
19
- RecipeVersions: serializeAws_restJson1RecipeVersionList(input.RecipeVersions, context),
20
- }),
18
+ ...(input.RecipeVersions != null && { RecipeVersions: se_RecipeVersionList(input.RecipeVersions, context) }),
21
19
  });
22
20
  return new protocol_http_1.HttpRequest({
23
21
  protocol,
@@ -29,8 +27,8 @@ const serializeAws_restJson1BatchDeleteRecipeVersionCommand = async (input, cont
29
27
  body,
30
28
  });
31
29
  };
32
- exports.serializeAws_restJson1BatchDeleteRecipeVersionCommand = serializeAws_restJson1BatchDeleteRecipeVersionCommand;
33
- const serializeAws_restJson1CreateDatasetCommand = async (input, context) => {
30
+ exports.se_BatchDeleteRecipeVersionCommand = se_BatchDeleteRecipeVersionCommand;
31
+ const se_CreateDatasetCommand = async (input, context) => {
34
32
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
35
33
  const headers = {
36
34
  "content-type": "application/json",
@@ -39,13 +37,11 @@ const serializeAws_restJson1CreateDatasetCommand = async (input, context) => {
39
37
  let body;
40
38
  body = JSON.stringify({
41
39
  ...(input.Format != null && { Format: input.Format }),
42
- ...(input.FormatOptions != null && {
43
- FormatOptions: serializeAws_restJson1FormatOptions(input.FormatOptions, context),
44
- }),
45
- ...(input.Input != null && { Input: serializeAws_restJson1Input(input.Input, context) }),
40
+ ...(input.FormatOptions != null && { FormatOptions: se_FormatOptions(input.FormatOptions, context) }),
41
+ ...(input.Input != null && { Input: se_Input(input.Input, context) }),
46
42
  ...(input.Name != null && { Name: input.Name }),
47
- ...(input.PathOptions != null && { PathOptions: serializeAws_restJson1PathOptions(input.PathOptions, context) }),
48
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
43
+ ...(input.PathOptions != null && { PathOptions: se_PathOptions(input.PathOptions, context) }),
44
+ ...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
49
45
  });
50
46
  return new protocol_http_1.HttpRequest({
51
47
  protocol,
@@ -57,8 +53,8 @@ const serializeAws_restJson1CreateDatasetCommand = async (input, context) => {
57
53
  body,
58
54
  });
59
55
  };
60
- exports.serializeAws_restJson1CreateDatasetCommand = serializeAws_restJson1CreateDatasetCommand;
61
- const serializeAws_restJson1CreateProfileJobCommand = async (input, context) => {
56
+ exports.se_CreateDatasetCommand = se_CreateDatasetCommand;
57
+ const se_CreateProfileJobCommand = async (input, context) => {
62
58
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
63
59
  const headers = {
64
60
  "content-type": "application/json",
@@ -66,25 +62,21 @@ const serializeAws_restJson1CreateProfileJobCommand = async (input, context) =>
66
62
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/profileJobs";
67
63
  let body;
68
64
  body = JSON.stringify({
69
- ...(input.Configuration != null && {
70
- Configuration: serializeAws_restJson1ProfileConfiguration(input.Configuration, context),
71
- }),
65
+ ...(input.Configuration != null && { Configuration: se_ProfileConfiguration(input.Configuration, context) }),
72
66
  ...(input.DatasetName != null && { DatasetName: input.DatasetName }),
73
67
  ...(input.EncryptionKeyArn != null && { EncryptionKeyArn: input.EncryptionKeyArn }),
74
68
  ...(input.EncryptionMode != null && { EncryptionMode: input.EncryptionMode }),
75
- ...(input.JobSample != null && { JobSample: serializeAws_restJson1JobSample(input.JobSample, context) }),
69
+ ...(input.JobSample != null && { JobSample: se_JobSample(input.JobSample, context) }),
76
70
  ...(input.LogSubscription != null && { LogSubscription: input.LogSubscription }),
77
71
  ...(input.MaxCapacity != null && { MaxCapacity: input.MaxCapacity }),
78
72
  ...(input.MaxRetries != null && { MaxRetries: input.MaxRetries }),
79
73
  ...(input.Name != null && { Name: input.Name }),
80
- ...(input.OutputLocation != null && {
81
- OutputLocation: serializeAws_restJson1S3Location(input.OutputLocation, context),
82
- }),
74
+ ...(input.OutputLocation != null && { OutputLocation: se_S3Location(input.OutputLocation, context) }),
83
75
  ...(input.RoleArn != null && { RoleArn: input.RoleArn }),
84
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
76
+ ...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
85
77
  ...(input.Timeout != null && { Timeout: input.Timeout }),
86
78
  ...(input.ValidationConfigurations != null && {
87
- ValidationConfigurations: serializeAws_restJson1ValidationConfigurationList(input.ValidationConfigurations, context),
79
+ ValidationConfigurations: se_ValidationConfigurationList(input.ValidationConfigurations, context),
88
80
  }),
89
81
  });
90
82
  return new protocol_http_1.HttpRequest({
@@ -97,8 +89,8 @@ const serializeAws_restJson1CreateProfileJobCommand = async (input, context) =>
97
89
  body,
98
90
  });
99
91
  };
100
- exports.serializeAws_restJson1CreateProfileJobCommand = serializeAws_restJson1CreateProfileJobCommand;
101
- const serializeAws_restJson1CreateProjectCommand = async (input, context) => {
92
+ exports.se_CreateProfileJobCommand = se_CreateProfileJobCommand;
93
+ const se_CreateProjectCommand = async (input, context) => {
102
94
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
103
95
  const headers = {
104
96
  "content-type": "application/json",
@@ -110,8 +102,8 @@ const serializeAws_restJson1CreateProjectCommand = async (input, context) => {
110
102
  ...(input.Name != null && { Name: input.Name }),
111
103
  ...(input.RecipeName != null && { RecipeName: input.RecipeName }),
112
104
  ...(input.RoleArn != null && { RoleArn: input.RoleArn }),
113
- ...(input.Sample != null && { Sample: serializeAws_restJson1Sample(input.Sample, context) }),
114
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
105
+ ...(input.Sample != null && { Sample: se_Sample(input.Sample, context) }),
106
+ ...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
115
107
  });
116
108
  return new protocol_http_1.HttpRequest({
117
109
  protocol,
@@ -123,8 +115,8 @@ const serializeAws_restJson1CreateProjectCommand = async (input, context) => {
123
115
  body,
124
116
  });
125
117
  };
126
- exports.serializeAws_restJson1CreateProjectCommand = serializeAws_restJson1CreateProjectCommand;
127
- const serializeAws_restJson1CreateRecipeCommand = async (input, context) => {
118
+ exports.se_CreateProjectCommand = se_CreateProjectCommand;
119
+ const se_CreateRecipeCommand = async (input, context) => {
128
120
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
129
121
  const headers = {
130
122
  "content-type": "application/json",
@@ -134,8 +126,8 @@ const serializeAws_restJson1CreateRecipeCommand = async (input, context) => {
134
126
  body = JSON.stringify({
135
127
  ...(input.Description != null && { Description: input.Description }),
136
128
  ...(input.Name != null && { Name: input.Name }),
137
- ...(input.Steps != null && { Steps: serializeAws_restJson1RecipeStepList(input.Steps, context) }),
138
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
129
+ ...(input.Steps != null && { Steps: se_RecipeStepList(input.Steps, context) }),
130
+ ...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
139
131
  });
140
132
  return new protocol_http_1.HttpRequest({
141
133
  protocol,
@@ -147,8 +139,8 @@ const serializeAws_restJson1CreateRecipeCommand = async (input, context) => {
147
139
  body,
148
140
  });
149
141
  };
150
- exports.serializeAws_restJson1CreateRecipeCommand = serializeAws_restJson1CreateRecipeCommand;
151
- const serializeAws_restJson1CreateRecipeJobCommand = async (input, context) => {
142
+ exports.se_CreateRecipeCommand = se_CreateRecipeCommand;
143
+ const se_CreateRecipeJobCommand = async (input, context) => {
152
144
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
153
145
  const headers = {
154
146
  "content-type": "application/json",
@@ -157,11 +149,9 @@ const serializeAws_restJson1CreateRecipeJobCommand = async (input, context) => {
157
149
  let body;
158
150
  body = JSON.stringify({
159
151
  ...(input.DataCatalogOutputs != null && {
160
- DataCatalogOutputs: serializeAws_restJson1DataCatalogOutputList(input.DataCatalogOutputs, context),
161
- }),
162
- ...(input.DatabaseOutputs != null && {
163
- DatabaseOutputs: serializeAws_restJson1DatabaseOutputList(input.DatabaseOutputs, context),
152
+ DataCatalogOutputs: se_DataCatalogOutputList(input.DataCatalogOutputs, context),
164
153
  }),
154
+ ...(input.DatabaseOutputs != null && { DatabaseOutputs: se_DatabaseOutputList(input.DatabaseOutputs, context) }),
165
155
  ...(input.DatasetName != null && { DatasetName: input.DatasetName }),
166
156
  ...(input.EncryptionKeyArn != null && { EncryptionKeyArn: input.EncryptionKeyArn }),
167
157
  ...(input.EncryptionMode != null && { EncryptionMode: input.EncryptionMode }),
@@ -169,13 +159,11 @@ const serializeAws_restJson1CreateRecipeJobCommand = async (input, context) => {
169
159
  ...(input.MaxCapacity != null && { MaxCapacity: input.MaxCapacity }),
170
160
  ...(input.MaxRetries != null && { MaxRetries: input.MaxRetries }),
171
161
  ...(input.Name != null && { Name: input.Name }),
172
- ...(input.Outputs != null && { Outputs: serializeAws_restJson1OutputList(input.Outputs, context) }),
162
+ ...(input.Outputs != null && { Outputs: se_OutputList(input.Outputs, context) }),
173
163
  ...(input.ProjectName != null && { ProjectName: input.ProjectName }),
174
- ...(input.RecipeReference != null && {
175
- RecipeReference: serializeAws_restJson1RecipeReference(input.RecipeReference, context),
176
- }),
164
+ ...(input.RecipeReference != null && { RecipeReference: se_RecipeReference(input.RecipeReference, context) }),
177
165
  ...(input.RoleArn != null && { RoleArn: input.RoleArn }),
178
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
166
+ ...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
179
167
  ...(input.Timeout != null && { Timeout: input.Timeout }),
180
168
  });
181
169
  return new protocol_http_1.HttpRequest({
@@ -188,8 +176,8 @@ const serializeAws_restJson1CreateRecipeJobCommand = async (input, context) => {
188
176
  body,
189
177
  });
190
178
  };
191
- exports.serializeAws_restJson1CreateRecipeJobCommand = serializeAws_restJson1CreateRecipeJobCommand;
192
- const serializeAws_restJson1CreateRulesetCommand = async (input, context) => {
179
+ exports.se_CreateRecipeJobCommand = se_CreateRecipeJobCommand;
180
+ const se_CreateRulesetCommand = async (input, context) => {
193
181
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
194
182
  const headers = {
195
183
  "content-type": "application/json",
@@ -199,8 +187,8 @@ const serializeAws_restJson1CreateRulesetCommand = async (input, context) => {
199
187
  body = JSON.stringify({
200
188
  ...(input.Description != null && { Description: input.Description }),
201
189
  ...(input.Name != null && { Name: input.Name }),
202
- ...(input.Rules != null && { Rules: serializeAws_restJson1RuleList(input.Rules, context) }),
203
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
190
+ ...(input.Rules != null && { Rules: se_RuleList(input.Rules, context) }),
191
+ ...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
204
192
  ...(input.TargetArn != null && { TargetArn: input.TargetArn }),
205
193
  });
206
194
  return new protocol_http_1.HttpRequest({
@@ -213,8 +201,8 @@ const serializeAws_restJson1CreateRulesetCommand = async (input, context) => {
213
201
  body,
214
202
  });
215
203
  };
216
- exports.serializeAws_restJson1CreateRulesetCommand = serializeAws_restJson1CreateRulesetCommand;
217
- const serializeAws_restJson1CreateScheduleCommand = async (input, context) => {
204
+ exports.se_CreateRulesetCommand = se_CreateRulesetCommand;
205
+ const se_CreateScheduleCommand = async (input, context) => {
218
206
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
219
207
  const headers = {
220
208
  "content-type": "application/json",
@@ -223,9 +211,9 @@ const serializeAws_restJson1CreateScheduleCommand = async (input, context) => {
223
211
  let body;
224
212
  body = JSON.stringify({
225
213
  ...(input.CronExpression != null && { CronExpression: input.CronExpression }),
226
- ...(input.JobNames != null && { JobNames: serializeAws_restJson1JobNameList(input.JobNames, context) }),
214
+ ...(input.JobNames != null && { JobNames: se_JobNameList(input.JobNames, context) }),
227
215
  ...(input.Name != null && { Name: input.Name }),
228
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
216
+ ...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
229
217
  });
230
218
  return new protocol_http_1.HttpRequest({
231
219
  protocol,
@@ -237,8 +225,8 @@ const serializeAws_restJson1CreateScheduleCommand = async (input, context) => {
237
225
  body,
238
226
  });
239
227
  };
240
- exports.serializeAws_restJson1CreateScheduleCommand = serializeAws_restJson1CreateScheduleCommand;
241
- const serializeAws_restJson1DeleteDatasetCommand = async (input, context) => {
228
+ exports.se_CreateScheduleCommand = se_CreateScheduleCommand;
229
+ const se_DeleteDatasetCommand = async (input, context) => {
242
230
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
243
231
  const headers = {};
244
232
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/datasets/{Name}";
@@ -254,8 +242,8 @@ const serializeAws_restJson1DeleteDatasetCommand = async (input, context) => {
254
242
  body,
255
243
  });
256
244
  };
257
- exports.serializeAws_restJson1DeleteDatasetCommand = serializeAws_restJson1DeleteDatasetCommand;
258
- const serializeAws_restJson1DeleteJobCommand = async (input, context) => {
245
+ exports.se_DeleteDatasetCommand = se_DeleteDatasetCommand;
246
+ const se_DeleteJobCommand = async (input, context) => {
259
247
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
260
248
  const headers = {};
261
249
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/jobs/{Name}";
@@ -271,8 +259,8 @@ const serializeAws_restJson1DeleteJobCommand = async (input, context) => {
271
259
  body,
272
260
  });
273
261
  };
274
- exports.serializeAws_restJson1DeleteJobCommand = serializeAws_restJson1DeleteJobCommand;
275
- const serializeAws_restJson1DeleteProjectCommand = async (input, context) => {
262
+ exports.se_DeleteJobCommand = se_DeleteJobCommand;
263
+ const se_DeleteProjectCommand = async (input, context) => {
276
264
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
277
265
  const headers = {};
278
266
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/projects/{Name}";
@@ -288,8 +276,8 @@ const serializeAws_restJson1DeleteProjectCommand = async (input, context) => {
288
276
  body,
289
277
  });
290
278
  };
291
- exports.serializeAws_restJson1DeleteProjectCommand = serializeAws_restJson1DeleteProjectCommand;
292
- const serializeAws_restJson1DeleteRecipeVersionCommand = async (input, context) => {
279
+ exports.se_DeleteProjectCommand = se_DeleteProjectCommand;
280
+ const se_DeleteRecipeVersionCommand = async (input, context) => {
293
281
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
294
282
  const headers = {};
295
283
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
@@ -307,8 +295,8 @@ const serializeAws_restJson1DeleteRecipeVersionCommand = async (input, context)
307
295
  body,
308
296
  });
309
297
  };
310
- exports.serializeAws_restJson1DeleteRecipeVersionCommand = serializeAws_restJson1DeleteRecipeVersionCommand;
311
- const serializeAws_restJson1DeleteRulesetCommand = async (input, context) => {
298
+ exports.se_DeleteRecipeVersionCommand = se_DeleteRecipeVersionCommand;
299
+ const se_DeleteRulesetCommand = async (input, context) => {
312
300
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
313
301
  const headers = {};
314
302
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/rulesets/{Name}";
@@ -324,8 +312,8 @@ const serializeAws_restJson1DeleteRulesetCommand = async (input, context) => {
324
312
  body,
325
313
  });
326
314
  };
327
- exports.serializeAws_restJson1DeleteRulesetCommand = serializeAws_restJson1DeleteRulesetCommand;
328
- const serializeAws_restJson1DeleteScheduleCommand = async (input, context) => {
315
+ exports.se_DeleteRulesetCommand = se_DeleteRulesetCommand;
316
+ const se_DeleteScheduleCommand = async (input, context) => {
329
317
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
330
318
  const headers = {};
331
319
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/schedules/{Name}";
@@ -341,8 +329,8 @@ const serializeAws_restJson1DeleteScheduleCommand = async (input, context) => {
341
329
  body,
342
330
  });
343
331
  };
344
- exports.serializeAws_restJson1DeleteScheduleCommand = serializeAws_restJson1DeleteScheduleCommand;
345
- const serializeAws_restJson1DescribeDatasetCommand = async (input, context) => {
332
+ exports.se_DeleteScheduleCommand = se_DeleteScheduleCommand;
333
+ const se_DescribeDatasetCommand = async (input, context) => {
346
334
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
347
335
  const headers = {};
348
336
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/datasets/{Name}";
@@ -358,8 +346,8 @@ const serializeAws_restJson1DescribeDatasetCommand = async (input, context) => {
358
346
  body,
359
347
  });
360
348
  };
361
- exports.serializeAws_restJson1DescribeDatasetCommand = serializeAws_restJson1DescribeDatasetCommand;
362
- const serializeAws_restJson1DescribeJobCommand = async (input, context) => {
349
+ exports.se_DescribeDatasetCommand = se_DescribeDatasetCommand;
350
+ const se_DescribeJobCommand = async (input, context) => {
363
351
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
364
352
  const headers = {};
365
353
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/jobs/{Name}";
@@ -375,8 +363,8 @@ const serializeAws_restJson1DescribeJobCommand = async (input, context) => {
375
363
  body,
376
364
  });
377
365
  };
378
- exports.serializeAws_restJson1DescribeJobCommand = serializeAws_restJson1DescribeJobCommand;
379
- const serializeAws_restJson1DescribeJobRunCommand = async (input, context) => {
366
+ exports.se_DescribeJobCommand = se_DescribeJobCommand;
367
+ const se_DescribeJobRunCommand = async (input, context) => {
380
368
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
381
369
  const headers = {};
382
370
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/jobs/{Name}/jobRun/{RunId}";
@@ -393,8 +381,8 @@ const serializeAws_restJson1DescribeJobRunCommand = async (input, context) => {
393
381
  body,
394
382
  });
395
383
  };
396
- exports.serializeAws_restJson1DescribeJobRunCommand = serializeAws_restJson1DescribeJobRunCommand;
397
- const serializeAws_restJson1DescribeProjectCommand = async (input, context) => {
384
+ exports.se_DescribeJobRunCommand = se_DescribeJobRunCommand;
385
+ const se_DescribeProjectCommand = async (input, context) => {
398
386
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
399
387
  const headers = {};
400
388
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/projects/{Name}";
@@ -410,8 +398,8 @@ const serializeAws_restJson1DescribeProjectCommand = async (input, context) => {
410
398
  body,
411
399
  });
412
400
  };
413
- exports.serializeAws_restJson1DescribeProjectCommand = serializeAws_restJson1DescribeProjectCommand;
414
- const serializeAws_restJson1DescribeRecipeCommand = async (input, context) => {
401
+ exports.se_DescribeProjectCommand = se_DescribeProjectCommand;
402
+ const se_DescribeRecipeCommand = async (input, context) => {
415
403
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
416
404
  const headers = {};
417
405
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/recipes/{Name}";
@@ -431,8 +419,8 @@ const serializeAws_restJson1DescribeRecipeCommand = async (input, context) => {
431
419
  body,
432
420
  });
433
421
  };
434
- exports.serializeAws_restJson1DescribeRecipeCommand = serializeAws_restJson1DescribeRecipeCommand;
435
- const serializeAws_restJson1DescribeRulesetCommand = async (input, context) => {
422
+ exports.se_DescribeRecipeCommand = se_DescribeRecipeCommand;
423
+ const se_DescribeRulesetCommand = async (input, context) => {
436
424
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
437
425
  const headers = {};
438
426
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/rulesets/{Name}";
@@ -448,8 +436,8 @@ const serializeAws_restJson1DescribeRulesetCommand = async (input, context) => {
448
436
  body,
449
437
  });
450
438
  };
451
- exports.serializeAws_restJson1DescribeRulesetCommand = serializeAws_restJson1DescribeRulesetCommand;
452
- const serializeAws_restJson1DescribeScheduleCommand = async (input, context) => {
439
+ exports.se_DescribeRulesetCommand = se_DescribeRulesetCommand;
440
+ const se_DescribeScheduleCommand = async (input, context) => {
453
441
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
454
442
  const headers = {};
455
443
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/schedules/{Name}";
@@ -465,8 +453,8 @@ const serializeAws_restJson1DescribeScheduleCommand = async (input, context) =>
465
453
  body,
466
454
  });
467
455
  };
468
- exports.serializeAws_restJson1DescribeScheduleCommand = serializeAws_restJson1DescribeScheduleCommand;
469
- const serializeAws_restJson1ListDatasetsCommand = async (input, context) => {
456
+ exports.se_DescribeScheduleCommand = se_DescribeScheduleCommand;
457
+ const se_ListDatasetsCommand = async (input, context) => {
470
458
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
471
459
  const headers = {};
472
460
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/datasets";
@@ -486,8 +474,8 @@ const serializeAws_restJson1ListDatasetsCommand = async (input, context) => {
486
474
  body,
487
475
  });
488
476
  };
489
- exports.serializeAws_restJson1ListDatasetsCommand = serializeAws_restJson1ListDatasetsCommand;
490
- const serializeAws_restJson1ListJobRunsCommand = async (input, context) => {
477
+ exports.se_ListDatasetsCommand = se_ListDatasetsCommand;
478
+ const se_ListJobRunsCommand = async (input, context) => {
491
479
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
492
480
  const headers = {};
493
481
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/jobs/{Name}/jobRuns";
@@ -508,8 +496,8 @@ const serializeAws_restJson1ListJobRunsCommand = async (input, context) => {
508
496
  body,
509
497
  });
510
498
  };
511
- exports.serializeAws_restJson1ListJobRunsCommand = serializeAws_restJson1ListJobRunsCommand;
512
- const serializeAws_restJson1ListJobsCommand = async (input, context) => {
499
+ exports.se_ListJobRunsCommand = se_ListJobRunsCommand;
500
+ const se_ListJobsCommand = async (input, context) => {
513
501
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
514
502
  const headers = {};
515
503
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/jobs";
@@ -531,8 +519,8 @@ const serializeAws_restJson1ListJobsCommand = async (input, context) => {
531
519
  body,
532
520
  });
533
521
  };
534
- exports.serializeAws_restJson1ListJobsCommand = serializeAws_restJson1ListJobsCommand;
535
- const serializeAws_restJson1ListProjectsCommand = async (input, context) => {
522
+ exports.se_ListJobsCommand = se_ListJobsCommand;
523
+ const se_ListProjectsCommand = async (input, context) => {
536
524
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
537
525
  const headers = {};
538
526
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/projects";
@@ -552,8 +540,8 @@ const serializeAws_restJson1ListProjectsCommand = async (input, context) => {
552
540
  body,
553
541
  });
554
542
  };
555
- exports.serializeAws_restJson1ListProjectsCommand = serializeAws_restJson1ListProjectsCommand;
556
- const serializeAws_restJson1ListRecipesCommand = async (input, context) => {
543
+ exports.se_ListProjectsCommand = se_ListProjectsCommand;
544
+ const se_ListRecipesCommand = async (input, context) => {
557
545
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
558
546
  const headers = {};
559
547
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/recipes";
@@ -574,8 +562,8 @@ const serializeAws_restJson1ListRecipesCommand = async (input, context) => {
574
562
  body,
575
563
  });
576
564
  };
577
- exports.serializeAws_restJson1ListRecipesCommand = serializeAws_restJson1ListRecipesCommand;
578
- const serializeAws_restJson1ListRecipeVersionsCommand = async (input, context) => {
565
+ exports.se_ListRecipesCommand = se_ListRecipesCommand;
566
+ const se_ListRecipeVersionsCommand = async (input, context) => {
579
567
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
580
568
  const headers = {};
581
569
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/recipeVersions";
@@ -596,8 +584,8 @@ const serializeAws_restJson1ListRecipeVersionsCommand = async (input, context) =
596
584
  body,
597
585
  });
598
586
  };
599
- exports.serializeAws_restJson1ListRecipeVersionsCommand = serializeAws_restJson1ListRecipeVersionsCommand;
600
- const serializeAws_restJson1ListRulesetsCommand = async (input, context) => {
587
+ exports.se_ListRecipeVersionsCommand = se_ListRecipeVersionsCommand;
588
+ const se_ListRulesetsCommand = async (input, context) => {
601
589
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
602
590
  const headers = {};
603
591
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/rulesets";
@@ -618,8 +606,8 @@ const serializeAws_restJson1ListRulesetsCommand = async (input, context) => {
618
606
  body,
619
607
  });
620
608
  };
621
- exports.serializeAws_restJson1ListRulesetsCommand = serializeAws_restJson1ListRulesetsCommand;
622
- const serializeAws_restJson1ListSchedulesCommand = async (input, context) => {
609
+ exports.se_ListRulesetsCommand = se_ListRulesetsCommand;
610
+ const se_ListSchedulesCommand = async (input, context) => {
623
611
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
624
612
  const headers = {};
625
613
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/schedules";
@@ -640,8 +628,8 @@ const serializeAws_restJson1ListSchedulesCommand = async (input, context) => {
640
628
  body,
641
629
  });
642
630
  };
643
- exports.serializeAws_restJson1ListSchedulesCommand = serializeAws_restJson1ListSchedulesCommand;
644
- const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
631
+ exports.se_ListSchedulesCommand = se_ListSchedulesCommand;
632
+ const se_ListTagsForResourceCommand = async (input, context) => {
645
633
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
646
634
  const headers = {};
647
635
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
@@ -657,8 +645,8 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
657
645
  body,
658
646
  });
659
647
  };
660
- exports.serializeAws_restJson1ListTagsForResourceCommand = serializeAws_restJson1ListTagsForResourceCommand;
661
- const serializeAws_restJson1PublishRecipeCommand = async (input, context) => {
648
+ exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
649
+ const se_PublishRecipeCommand = async (input, context) => {
662
650
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
663
651
  const headers = {
664
652
  "content-type": "application/json",
@@ -679,8 +667,8 @@ const serializeAws_restJson1PublishRecipeCommand = async (input, context) => {
679
667
  body,
680
668
  });
681
669
  };
682
- exports.serializeAws_restJson1PublishRecipeCommand = serializeAws_restJson1PublishRecipeCommand;
683
- const serializeAws_restJson1SendProjectSessionActionCommand = async (input, context) => {
670
+ exports.se_PublishRecipeCommand = se_PublishRecipeCommand;
671
+ const se_SendProjectSessionActionCommand = async (input, context) => {
684
672
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
685
673
  const headers = {
686
674
  "content-type": "application/json",
@@ -691,9 +679,9 @@ const serializeAws_restJson1SendProjectSessionActionCommand = async (input, cont
691
679
  body = JSON.stringify({
692
680
  ...(input.ClientSessionId != null && { ClientSessionId: input.ClientSessionId }),
693
681
  ...(input.Preview != null && { Preview: input.Preview }),
694
- ...(input.RecipeStep != null && { RecipeStep: serializeAws_restJson1RecipeStep(input.RecipeStep, context) }),
682
+ ...(input.RecipeStep != null && { RecipeStep: se_RecipeStep(input.RecipeStep, context) }),
695
683
  ...(input.StepIndex != null && { StepIndex: input.StepIndex }),
696
- ...(input.ViewFrame != null && { ViewFrame: serializeAws_restJson1ViewFrame(input.ViewFrame, context) }),
684
+ ...(input.ViewFrame != null && { ViewFrame: se_ViewFrame(input.ViewFrame, context) }),
697
685
  });
698
686
  return new protocol_http_1.HttpRequest({
699
687
  protocol,
@@ -705,8 +693,8 @@ const serializeAws_restJson1SendProjectSessionActionCommand = async (input, cont
705
693
  body,
706
694
  });
707
695
  };
708
- exports.serializeAws_restJson1SendProjectSessionActionCommand = serializeAws_restJson1SendProjectSessionActionCommand;
709
- const serializeAws_restJson1StartJobRunCommand = async (input, context) => {
696
+ exports.se_SendProjectSessionActionCommand = se_SendProjectSessionActionCommand;
697
+ const se_StartJobRunCommand = async (input, context) => {
710
698
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
711
699
  const headers = {};
712
700
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/jobs/{Name}/startJobRun";
@@ -722,8 +710,8 @@ const serializeAws_restJson1StartJobRunCommand = async (input, context) => {
722
710
  body,
723
711
  });
724
712
  };
725
- exports.serializeAws_restJson1StartJobRunCommand = serializeAws_restJson1StartJobRunCommand;
726
- const serializeAws_restJson1StartProjectSessionCommand = async (input, context) => {
713
+ exports.se_StartJobRunCommand = se_StartJobRunCommand;
714
+ const se_StartProjectSessionCommand = async (input, context) => {
727
715
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
728
716
  const headers = {
729
717
  "content-type": "application/json",
@@ -744,8 +732,8 @@ const serializeAws_restJson1StartProjectSessionCommand = async (input, context)
744
732
  body,
745
733
  });
746
734
  };
747
- exports.serializeAws_restJson1StartProjectSessionCommand = serializeAws_restJson1StartProjectSessionCommand;
748
- const serializeAws_restJson1StopJobRunCommand = async (input, context) => {
735
+ exports.se_StartProjectSessionCommand = se_StartProjectSessionCommand;
736
+ const se_StopJobRunCommand = async (input, context) => {
749
737
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
750
738
  const headers = {};
751
739
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/jobs/{Name}/jobRun/{RunId}/stopJobRun";
@@ -762,8 +750,8 @@ const serializeAws_restJson1StopJobRunCommand = async (input, context) => {
762
750
  body,
763
751
  });
764
752
  };
765
- exports.serializeAws_restJson1StopJobRunCommand = serializeAws_restJson1StopJobRunCommand;
766
- const serializeAws_restJson1TagResourceCommand = async (input, context) => {
753
+ exports.se_StopJobRunCommand = se_StopJobRunCommand;
754
+ const se_TagResourceCommand = async (input, context) => {
767
755
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
768
756
  const headers = {
769
757
  "content-type": "application/json",
@@ -772,7 +760,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
772
760
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
773
761
  let body;
774
762
  body = JSON.stringify({
775
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
763
+ ...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
776
764
  });
777
765
  return new protocol_http_1.HttpRequest({
778
766
  protocol,
@@ -784,8 +772,8 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
784
772
  body,
785
773
  });
786
774
  };
787
- exports.serializeAws_restJson1TagResourceCommand = serializeAws_restJson1TagResourceCommand;
788
- const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
775
+ exports.se_TagResourceCommand = se_TagResourceCommand;
776
+ const se_UntagResourceCommand = async (input, context) => {
789
777
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
790
778
  const headers = {};
791
779
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
@@ -808,8 +796,8 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
808
796
  body,
809
797
  });
810
798
  };
811
- exports.serializeAws_restJson1UntagResourceCommand = serializeAws_restJson1UntagResourceCommand;
812
- const serializeAws_restJson1UpdateDatasetCommand = async (input, context) => {
799
+ exports.se_UntagResourceCommand = se_UntagResourceCommand;
800
+ const se_UpdateDatasetCommand = async (input, context) => {
813
801
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
814
802
  const headers = {
815
803
  "content-type": "application/json",
@@ -819,11 +807,9 @@ const serializeAws_restJson1UpdateDatasetCommand = async (input, context) => {
819
807
  let body;
820
808
  body = JSON.stringify({
821
809
  ...(input.Format != null && { Format: input.Format }),
822
- ...(input.FormatOptions != null && {
823
- FormatOptions: serializeAws_restJson1FormatOptions(input.FormatOptions, context),
824
- }),
825
- ...(input.Input != null && { Input: serializeAws_restJson1Input(input.Input, context) }),
826
- ...(input.PathOptions != null && { PathOptions: serializeAws_restJson1PathOptions(input.PathOptions, context) }),
810
+ ...(input.FormatOptions != null && { FormatOptions: se_FormatOptions(input.FormatOptions, context) }),
811
+ ...(input.Input != null && { Input: se_Input(input.Input, context) }),
812
+ ...(input.PathOptions != null && { PathOptions: se_PathOptions(input.PathOptions, context) }),
827
813
  });
828
814
  return new protocol_http_1.HttpRequest({
829
815
  protocol,
@@ -835,8 +821,8 @@ const serializeAws_restJson1UpdateDatasetCommand = async (input, context) => {
835
821
  body,
836
822
  });
837
823
  };
838
- exports.serializeAws_restJson1UpdateDatasetCommand = serializeAws_restJson1UpdateDatasetCommand;
839
- const serializeAws_restJson1UpdateProfileJobCommand = async (input, context) => {
824
+ exports.se_UpdateDatasetCommand = se_UpdateDatasetCommand;
825
+ const se_UpdateProfileJobCommand = async (input, context) => {
840
826
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
841
827
  const headers = {
842
828
  "content-type": "application/json",
@@ -845,22 +831,18 @@ const serializeAws_restJson1UpdateProfileJobCommand = async (input, context) =>
845
831
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
846
832
  let body;
847
833
  body = JSON.stringify({
848
- ...(input.Configuration != null && {
849
- Configuration: serializeAws_restJson1ProfileConfiguration(input.Configuration, context),
850
- }),
834
+ ...(input.Configuration != null && { Configuration: se_ProfileConfiguration(input.Configuration, context) }),
851
835
  ...(input.EncryptionKeyArn != null && { EncryptionKeyArn: input.EncryptionKeyArn }),
852
836
  ...(input.EncryptionMode != null && { EncryptionMode: input.EncryptionMode }),
853
- ...(input.JobSample != null && { JobSample: serializeAws_restJson1JobSample(input.JobSample, context) }),
837
+ ...(input.JobSample != null && { JobSample: se_JobSample(input.JobSample, context) }),
854
838
  ...(input.LogSubscription != null && { LogSubscription: input.LogSubscription }),
855
839
  ...(input.MaxCapacity != null && { MaxCapacity: input.MaxCapacity }),
856
840
  ...(input.MaxRetries != null && { MaxRetries: input.MaxRetries }),
857
- ...(input.OutputLocation != null && {
858
- OutputLocation: serializeAws_restJson1S3Location(input.OutputLocation, context),
859
- }),
841
+ ...(input.OutputLocation != null && { OutputLocation: se_S3Location(input.OutputLocation, context) }),
860
842
  ...(input.RoleArn != null && { RoleArn: input.RoleArn }),
861
843
  ...(input.Timeout != null && { Timeout: input.Timeout }),
862
844
  ...(input.ValidationConfigurations != null && {
863
- ValidationConfigurations: serializeAws_restJson1ValidationConfigurationList(input.ValidationConfigurations, context),
845
+ ValidationConfigurations: se_ValidationConfigurationList(input.ValidationConfigurations, context),
864
846
  }),
865
847
  });
866
848
  return new protocol_http_1.HttpRequest({
@@ -873,8 +855,8 @@ const serializeAws_restJson1UpdateProfileJobCommand = async (input, context) =>
873
855
  body,
874
856
  });
875
857
  };
876
- exports.serializeAws_restJson1UpdateProfileJobCommand = serializeAws_restJson1UpdateProfileJobCommand;
877
- const serializeAws_restJson1UpdateProjectCommand = async (input, context) => {
858
+ exports.se_UpdateProfileJobCommand = se_UpdateProfileJobCommand;
859
+ const se_UpdateProjectCommand = async (input, context) => {
878
860
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
879
861
  const headers = {
880
862
  "content-type": "application/json",
@@ -884,7 +866,7 @@ const serializeAws_restJson1UpdateProjectCommand = async (input, context) => {
884
866
  let body;
885
867
  body = JSON.stringify({
886
868
  ...(input.RoleArn != null && { RoleArn: input.RoleArn }),
887
- ...(input.Sample != null && { Sample: serializeAws_restJson1Sample(input.Sample, context) }),
869
+ ...(input.Sample != null && { Sample: se_Sample(input.Sample, context) }),
888
870
  });
889
871
  return new protocol_http_1.HttpRequest({
890
872
  protocol,
@@ -896,8 +878,8 @@ const serializeAws_restJson1UpdateProjectCommand = async (input, context) => {
896
878
  body,
897
879
  });
898
880
  };
899
- exports.serializeAws_restJson1UpdateProjectCommand = serializeAws_restJson1UpdateProjectCommand;
900
- const serializeAws_restJson1UpdateRecipeCommand = async (input, context) => {
881
+ exports.se_UpdateProjectCommand = se_UpdateProjectCommand;
882
+ const se_UpdateRecipeCommand = async (input, context) => {
901
883
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
902
884
  const headers = {
903
885
  "content-type": "application/json",
@@ -907,7 +889,7 @@ const serializeAws_restJson1UpdateRecipeCommand = async (input, context) => {
907
889
  let body;
908
890
  body = JSON.stringify({
909
891
  ...(input.Description != null && { Description: input.Description }),
910
- ...(input.Steps != null && { Steps: serializeAws_restJson1RecipeStepList(input.Steps, context) }),
892
+ ...(input.Steps != null && { Steps: se_RecipeStepList(input.Steps, context) }),
911
893
  });
912
894
  return new protocol_http_1.HttpRequest({
913
895
  protocol,
@@ -919,8 +901,8 @@ const serializeAws_restJson1UpdateRecipeCommand = async (input, context) => {
919
901
  body,
920
902
  });
921
903
  };
922
- exports.serializeAws_restJson1UpdateRecipeCommand = serializeAws_restJson1UpdateRecipeCommand;
923
- const serializeAws_restJson1UpdateRecipeJobCommand = async (input, context) => {
904
+ exports.se_UpdateRecipeCommand = se_UpdateRecipeCommand;
905
+ const se_UpdateRecipeJobCommand = async (input, context) => {
924
906
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
925
907
  const headers = {
926
908
  "content-type": "application/json",
@@ -930,17 +912,15 @@ const serializeAws_restJson1UpdateRecipeJobCommand = async (input, context) => {
930
912
  let body;
931
913
  body = JSON.stringify({
932
914
  ...(input.DataCatalogOutputs != null && {
933
- DataCatalogOutputs: serializeAws_restJson1DataCatalogOutputList(input.DataCatalogOutputs, context),
934
- }),
935
- ...(input.DatabaseOutputs != null && {
936
- DatabaseOutputs: serializeAws_restJson1DatabaseOutputList(input.DatabaseOutputs, context),
915
+ DataCatalogOutputs: se_DataCatalogOutputList(input.DataCatalogOutputs, context),
937
916
  }),
917
+ ...(input.DatabaseOutputs != null && { DatabaseOutputs: se_DatabaseOutputList(input.DatabaseOutputs, context) }),
938
918
  ...(input.EncryptionKeyArn != null && { EncryptionKeyArn: input.EncryptionKeyArn }),
939
919
  ...(input.EncryptionMode != null && { EncryptionMode: input.EncryptionMode }),
940
920
  ...(input.LogSubscription != null && { LogSubscription: input.LogSubscription }),
941
921
  ...(input.MaxCapacity != null && { MaxCapacity: input.MaxCapacity }),
942
922
  ...(input.MaxRetries != null && { MaxRetries: input.MaxRetries }),
943
- ...(input.Outputs != null && { Outputs: serializeAws_restJson1OutputList(input.Outputs, context) }),
923
+ ...(input.Outputs != null && { Outputs: se_OutputList(input.Outputs, context) }),
944
924
  ...(input.RoleArn != null && { RoleArn: input.RoleArn }),
945
925
  ...(input.Timeout != null && { Timeout: input.Timeout }),
946
926
  });
@@ -954,8 +934,8 @@ const serializeAws_restJson1UpdateRecipeJobCommand = async (input, context) => {
954
934
  body,
955
935
  });
956
936
  };
957
- exports.serializeAws_restJson1UpdateRecipeJobCommand = serializeAws_restJson1UpdateRecipeJobCommand;
958
- const serializeAws_restJson1UpdateRulesetCommand = async (input, context) => {
937
+ exports.se_UpdateRecipeJobCommand = se_UpdateRecipeJobCommand;
938
+ const se_UpdateRulesetCommand = async (input, context) => {
959
939
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
960
940
  const headers = {
961
941
  "content-type": "application/json",
@@ -965,7 +945,7 @@ const serializeAws_restJson1UpdateRulesetCommand = async (input, context) => {
965
945
  let body;
966
946
  body = JSON.stringify({
967
947
  ...(input.Description != null && { Description: input.Description }),
968
- ...(input.Rules != null && { Rules: serializeAws_restJson1RuleList(input.Rules, context) }),
948
+ ...(input.Rules != null && { Rules: se_RuleList(input.Rules, context) }),
969
949
  });
970
950
  return new protocol_http_1.HttpRequest({
971
951
  protocol,
@@ -977,8 +957,8 @@ const serializeAws_restJson1UpdateRulesetCommand = async (input, context) => {
977
957
  body,
978
958
  });
979
959
  };
980
- exports.serializeAws_restJson1UpdateRulesetCommand = serializeAws_restJson1UpdateRulesetCommand;
981
- const serializeAws_restJson1UpdateScheduleCommand = async (input, context) => {
960
+ exports.se_UpdateRulesetCommand = se_UpdateRulesetCommand;
961
+ const se_UpdateScheduleCommand = async (input, context) => {
982
962
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
983
963
  const headers = {
984
964
  "content-type": "application/json",
@@ -988,7 +968,7 @@ const serializeAws_restJson1UpdateScheduleCommand = async (input, context) => {
988
968
  let body;
989
969
  body = JSON.stringify({
990
970
  ...(input.CronExpression != null && { CronExpression: input.CronExpression }),
991
- ...(input.JobNames != null && { JobNames: serializeAws_restJson1JobNameList(input.JobNames, context) }),
971
+ ...(input.JobNames != null && { JobNames: se_JobNameList(input.JobNames, context) }),
992
972
  });
993
973
  return new protocol_http_1.HttpRequest({
994
974
  protocol,
@@ -1000,25 +980,25 @@ const serializeAws_restJson1UpdateScheduleCommand = async (input, context) => {
1000
980
  body,
1001
981
  });
1002
982
  };
1003
- exports.serializeAws_restJson1UpdateScheduleCommand = serializeAws_restJson1UpdateScheduleCommand;
1004
- const deserializeAws_restJson1BatchDeleteRecipeVersionCommand = async (output, context) => {
983
+ exports.se_UpdateScheduleCommand = se_UpdateScheduleCommand;
984
+ const de_BatchDeleteRecipeVersionCommand = async (output, context) => {
1005
985
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1006
- return deserializeAws_restJson1BatchDeleteRecipeVersionCommandError(output, context);
986
+ return de_BatchDeleteRecipeVersionCommandError(output, context);
1007
987
  }
1008
988
  const contents = map({
1009
989
  $metadata: deserializeMetadata(output),
1010
990
  });
1011
991
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1012
992
  if (data.Errors != null) {
1013
- contents.Errors = deserializeAws_restJson1RecipeErrorList(data.Errors, context);
993
+ contents.Errors = de_RecipeErrorList(data.Errors, context);
1014
994
  }
1015
995
  if (data.Name != null) {
1016
996
  contents.Name = (0, smithy_client_1.expectString)(data.Name);
1017
997
  }
1018
998
  return contents;
1019
999
  };
1020
- exports.deserializeAws_restJson1BatchDeleteRecipeVersionCommand = deserializeAws_restJson1BatchDeleteRecipeVersionCommand;
1021
- const deserializeAws_restJson1BatchDeleteRecipeVersionCommandError = async (output, context) => {
1000
+ exports.de_BatchDeleteRecipeVersionCommand = de_BatchDeleteRecipeVersionCommand;
1001
+ const de_BatchDeleteRecipeVersionCommandError = async (output, context) => {
1022
1002
  const parsedOutput = {
1023
1003
  ...output,
1024
1004
  body: await parseErrorBody(output.body, context),
@@ -1027,13 +1007,13 @@ const deserializeAws_restJson1BatchDeleteRecipeVersionCommandError = async (outp
1027
1007
  switch (errorCode) {
1028
1008
  case "ConflictException":
1029
1009
  case "com.amazonaws.databrew#ConflictException":
1030
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1010
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1031
1011
  case "ResourceNotFoundException":
1032
1012
  case "com.amazonaws.databrew#ResourceNotFoundException":
1033
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1013
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1034
1014
  case "ValidationException":
1035
1015
  case "com.amazonaws.databrew#ValidationException":
1036
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1016
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1037
1017
  default:
1038
1018
  const parsedBody = parsedOutput.body;
1039
1019
  (0, smithy_client_1.throwDefaultError)({
@@ -1044,9 +1024,9 @@ const deserializeAws_restJson1BatchDeleteRecipeVersionCommandError = async (outp
1044
1024
  });
1045
1025
  }
1046
1026
  };
1047
- const deserializeAws_restJson1CreateDatasetCommand = async (output, context) => {
1027
+ const de_CreateDatasetCommand = async (output, context) => {
1048
1028
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1049
- return deserializeAws_restJson1CreateDatasetCommandError(output, context);
1029
+ return de_CreateDatasetCommandError(output, context);
1050
1030
  }
1051
1031
  const contents = map({
1052
1032
  $metadata: deserializeMetadata(output),
@@ -1057,8 +1037,8 @@ const deserializeAws_restJson1CreateDatasetCommand = async (output, context) =>
1057
1037
  }
1058
1038
  return contents;
1059
1039
  };
1060
- exports.deserializeAws_restJson1CreateDatasetCommand = deserializeAws_restJson1CreateDatasetCommand;
1061
- const deserializeAws_restJson1CreateDatasetCommandError = async (output, context) => {
1040
+ exports.de_CreateDatasetCommand = de_CreateDatasetCommand;
1041
+ const de_CreateDatasetCommandError = async (output, context) => {
1062
1042
  const parsedOutput = {
1063
1043
  ...output,
1064
1044
  body: await parseErrorBody(output.body, context),
@@ -1067,16 +1047,16 @@ const deserializeAws_restJson1CreateDatasetCommandError = async (output, context
1067
1047
  switch (errorCode) {
1068
1048
  case "AccessDeniedException":
1069
1049
  case "com.amazonaws.databrew#AccessDeniedException":
1070
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1050
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1071
1051
  case "ConflictException":
1072
1052
  case "com.amazonaws.databrew#ConflictException":
1073
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1053
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1074
1054
  case "ServiceQuotaExceededException":
1075
1055
  case "com.amazonaws.databrew#ServiceQuotaExceededException":
1076
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1056
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1077
1057
  case "ValidationException":
1078
1058
  case "com.amazonaws.databrew#ValidationException":
1079
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1059
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1080
1060
  default:
1081
1061
  const parsedBody = parsedOutput.body;
1082
1062
  (0, smithy_client_1.throwDefaultError)({
@@ -1087,9 +1067,9 @@ const deserializeAws_restJson1CreateDatasetCommandError = async (output, context
1087
1067
  });
1088
1068
  }
1089
1069
  };
1090
- const deserializeAws_restJson1CreateProfileJobCommand = async (output, context) => {
1070
+ const de_CreateProfileJobCommand = async (output, context) => {
1091
1071
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1092
- return deserializeAws_restJson1CreateProfileJobCommandError(output, context);
1072
+ return de_CreateProfileJobCommandError(output, context);
1093
1073
  }
1094
1074
  const contents = map({
1095
1075
  $metadata: deserializeMetadata(output),
@@ -1100,8 +1080,8 @@ const deserializeAws_restJson1CreateProfileJobCommand = async (output, context)
1100
1080
  }
1101
1081
  return contents;
1102
1082
  };
1103
- exports.deserializeAws_restJson1CreateProfileJobCommand = deserializeAws_restJson1CreateProfileJobCommand;
1104
- const deserializeAws_restJson1CreateProfileJobCommandError = async (output, context) => {
1083
+ exports.de_CreateProfileJobCommand = de_CreateProfileJobCommand;
1084
+ const de_CreateProfileJobCommandError = async (output, context) => {
1105
1085
  const parsedOutput = {
1106
1086
  ...output,
1107
1087
  body: await parseErrorBody(output.body, context),
@@ -1110,19 +1090,19 @@ const deserializeAws_restJson1CreateProfileJobCommandError = async (output, cont
1110
1090
  switch (errorCode) {
1111
1091
  case "AccessDeniedException":
1112
1092
  case "com.amazonaws.databrew#AccessDeniedException":
1113
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1093
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1114
1094
  case "ConflictException":
1115
1095
  case "com.amazonaws.databrew#ConflictException":
1116
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1096
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1117
1097
  case "ResourceNotFoundException":
1118
1098
  case "com.amazonaws.databrew#ResourceNotFoundException":
1119
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1099
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1120
1100
  case "ServiceQuotaExceededException":
1121
1101
  case "com.amazonaws.databrew#ServiceQuotaExceededException":
1122
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1102
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1123
1103
  case "ValidationException":
1124
1104
  case "com.amazonaws.databrew#ValidationException":
1125
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1105
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1126
1106
  default:
1127
1107
  const parsedBody = parsedOutput.body;
1128
1108
  (0, smithy_client_1.throwDefaultError)({
@@ -1133,9 +1113,9 @@ const deserializeAws_restJson1CreateProfileJobCommandError = async (output, cont
1133
1113
  });
1134
1114
  }
1135
1115
  };
1136
- const deserializeAws_restJson1CreateProjectCommand = async (output, context) => {
1116
+ const de_CreateProjectCommand = async (output, context) => {
1137
1117
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1138
- return deserializeAws_restJson1CreateProjectCommandError(output, context);
1118
+ return de_CreateProjectCommandError(output, context);
1139
1119
  }
1140
1120
  const contents = map({
1141
1121
  $metadata: deserializeMetadata(output),
@@ -1146,8 +1126,8 @@ const deserializeAws_restJson1CreateProjectCommand = async (output, context) =>
1146
1126
  }
1147
1127
  return contents;
1148
1128
  };
1149
- exports.deserializeAws_restJson1CreateProjectCommand = deserializeAws_restJson1CreateProjectCommand;
1150
- const deserializeAws_restJson1CreateProjectCommandError = async (output, context) => {
1129
+ exports.de_CreateProjectCommand = de_CreateProjectCommand;
1130
+ const de_CreateProjectCommandError = async (output, context) => {
1151
1131
  const parsedOutput = {
1152
1132
  ...output,
1153
1133
  body: await parseErrorBody(output.body, context),
@@ -1156,16 +1136,16 @@ const deserializeAws_restJson1CreateProjectCommandError = async (output, context
1156
1136
  switch (errorCode) {
1157
1137
  case "ConflictException":
1158
1138
  case "com.amazonaws.databrew#ConflictException":
1159
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1139
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1160
1140
  case "InternalServerException":
1161
1141
  case "com.amazonaws.databrew#InternalServerException":
1162
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1142
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1163
1143
  case "ServiceQuotaExceededException":
1164
1144
  case "com.amazonaws.databrew#ServiceQuotaExceededException":
1165
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1145
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1166
1146
  case "ValidationException":
1167
1147
  case "com.amazonaws.databrew#ValidationException":
1168
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1148
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1169
1149
  default:
1170
1150
  const parsedBody = parsedOutput.body;
1171
1151
  (0, smithy_client_1.throwDefaultError)({
@@ -1176,9 +1156,9 @@ const deserializeAws_restJson1CreateProjectCommandError = async (output, context
1176
1156
  });
1177
1157
  }
1178
1158
  };
1179
- const deserializeAws_restJson1CreateRecipeCommand = async (output, context) => {
1159
+ const de_CreateRecipeCommand = async (output, context) => {
1180
1160
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1181
- return deserializeAws_restJson1CreateRecipeCommandError(output, context);
1161
+ return de_CreateRecipeCommandError(output, context);
1182
1162
  }
1183
1163
  const contents = map({
1184
1164
  $metadata: deserializeMetadata(output),
@@ -1189,8 +1169,8 @@ const deserializeAws_restJson1CreateRecipeCommand = async (output, context) => {
1189
1169
  }
1190
1170
  return contents;
1191
1171
  };
1192
- exports.deserializeAws_restJson1CreateRecipeCommand = deserializeAws_restJson1CreateRecipeCommand;
1193
- const deserializeAws_restJson1CreateRecipeCommandError = async (output, context) => {
1172
+ exports.de_CreateRecipeCommand = de_CreateRecipeCommand;
1173
+ const de_CreateRecipeCommandError = async (output, context) => {
1194
1174
  const parsedOutput = {
1195
1175
  ...output,
1196
1176
  body: await parseErrorBody(output.body, context),
@@ -1199,13 +1179,13 @@ const deserializeAws_restJson1CreateRecipeCommandError = async (output, context)
1199
1179
  switch (errorCode) {
1200
1180
  case "ConflictException":
1201
1181
  case "com.amazonaws.databrew#ConflictException":
1202
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1182
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1203
1183
  case "ServiceQuotaExceededException":
1204
1184
  case "com.amazonaws.databrew#ServiceQuotaExceededException":
1205
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1185
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1206
1186
  case "ValidationException":
1207
1187
  case "com.amazonaws.databrew#ValidationException":
1208
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1188
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1209
1189
  default:
1210
1190
  const parsedBody = parsedOutput.body;
1211
1191
  (0, smithy_client_1.throwDefaultError)({
@@ -1216,9 +1196,9 @@ const deserializeAws_restJson1CreateRecipeCommandError = async (output, context)
1216
1196
  });
1217
1197
  }
1218
1198
  };
1219
- const deserializeAws_restJson1CreateRecipeJobCommand = async (output, context) => {
1199
+ const de_CreateRecipeJobCommand = async (output, context) => {
1220
1200
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1221
- return deserializeAws_restJson1CreateRecipeJobCommandError(output, context);
1201
+ return de_CreateRecipeJobCommandError(output, context);
1222
1202
  }
1223
1203
  const contents = map({
1224
1204
  $metadata: deserializeMetadata(output),
@@ -1229,8 +1209,8 @@ const deserializeAws_restJson1CreateRecipeJobCommand = async (output, context) =
1229
1209
  }
1230
1210
  return contents;
1231
1211
  };
1232
- exports.deserializeAws_restJson1CreateRecipeJobCommand = deserializeAws_restJson1CreateRecipeJobCommand;
1233
- const deserializeAws_restJson1CreateRecipeJobCommandError = async (output, context) => {
1212
+ exports.de_CreateRecipeJobCommand = de_CreateRecipeJobCommand;
1213
+ const de_CreateRecipeJobCommandError = async (output, context) => {
1234
1214
  const parsedOutput = {
1235
1215
  ...output,
1236
1216
  body: await parseErrorBody(output.body, context),
@@ -1239,19 +1219,19 @@ const deserializeAws_restJson1CreateRecipeJobCommandError = async (output, conte
1239
1219
  switch (errorCode) {
1240
1220
  case "AccessDeniedException":
1241
1221
  case "com.amazonaws.databrew#AccessDeniedException":
1242
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1222
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1243
1223
  case "ConflictException":
1244
1224
  case "com.amazonaws.databrew#ConflictException":
1245
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1225
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1246
1226
  case "ResourceNotFoundException":
1247
1227
  case "com.amazonaws.databrew#ResourceNotFoundException":
1248
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1228
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1249
1229
  case "ServiceQuotaExceededException":
1250
1230
  case "com.amazonaws.databrew#ServiceQuotaExceededException":
1251
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1231
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1252
1232
  case "ValidationException":
1253
1233
  case "com.amazonaws.databrew#ValidationException":
1254
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1234
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1255
1235
  default:
1256
1236
  const parsedBody = parsedOutput.body;
1257
1237
  (0, smithy_client_1.throwDefaultError)({
@@ -1262,9 +1242,9 @@ const deserializeAws_restJson1CreateRecipeJobCommandError = async (output, conte
1262
1242
  });
1263
1243
  }
1264
1244
  };
1265
- const deserializeAws_restJson1CreateRulesetCommand = async (output, context) => {
1245
+ const de_CreateRulesetCommand = async (output, context) => {
1266
1246
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1267
- return deserializeAws_restJson1CreateRulesetCommandError(output, context);
1247
+ return de_CreateRulesetCommandError(output, context);
1268
1248
  }
1269
1249
  const contents = map({
1270
1250
  $metadata: deserializeMetadata(output),
@@ -1275,8 +1255,8 @@ const deserializeAws_restJson1CreateRulesetCommand = async (output, context) =>
1275
1255
  }
1276
1256
  return contents;
1277
1257
  };
1278
- exports.deserializeAws_restJson1CreateRulesetCommand = deserializeAws_restJson1CreateRulesetCommand;
1279
- const deserializeAws_restJson1CreateRulesetCommandError = async (output, context) => {
1258
+ exports.de_CreateRulesetCommand = de_CreateRulesetCommand;
1259
+ const de_CreateRulesetCommandError = async (output, context) => {
1280
1260
  const parsedOutput = {
1281
1261
  ...output,
1282
1262
  body: await parseErrorBody(output.body, context),
@@ -1285,13 +1265,13 @@ const deserializeAws_restJson1CreateRulesetCommandError = async (output, context
1285
1265
  switch (errorCode) {
1286
1266
  case "ConflictException":
1287
1267
  case "com.amazonaws.databrew#ConflictException":
1288
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1268
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1289
1269
  case "ServiceQuotaExceededException":
1290
1270
  case "com.amazonaws.databrew#ServiceQuotaExceededException":
1291
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1271
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1292
1272
  case "ValidationException":
1293
1273
  case "com.amazonaws.databrew#ValidationException":
1294
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1274
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1295
1275
  default:
1296
1276
  const parsedBody = parsedOutput.body;
1297
1277
  (0, smithy_client_1.throwDefaultError)({
@@ -1302,9 +1282,9 @@ const deserializeAws_restJson1CreateRulesetCommandError = async (output, context
1302
1282
  });
1303
1283
  }
1304
1284
  };
1305
- const deserializeAws_restJson1CreateScheduleCommand = async (output, context) => {
1285
+ const de_CreateScheduleCommand = async (output, context) => {
1306
1286
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1307
- return deserializeAws_restJson1CreateScheduleCommandError(output, context);
1287
+ return de_CreateScheduleCommandError(output, context);
1308
1288
  }
1309
1289
  const contents = map({
1310
1290
  $metadata: deserializeMetadata(output),
@@ -1315,8 +1295,8 @@ const deserializeAws_restJson1CreateScheduleCommand = async (output, context) =>
1315
1295
  }
1316
1296
  return contents;
1317
1297
  };
1318
- exports.deserializeAws_restJson1CreateScheduleCommand = deserializeAws_restJson1CreateScheduleCommand;
1319
- const deserializeAws_restJson1CreateScheduleCommandError = async (output, context) => {
1298
+ exports.de_CreateScheduleCommand = de_CreateScheduleCommand;
1299
+ const de_CreateScheduleCommandError = async (output, context) => {
1320
1300
  const parsedOutput = {
1321
1301
  ...output,
1322
1302
  body: await parseErrorBody(output.body, context),
@@ -1325,13 +1305,13 @@ const deserializeAws_restJson1CreateScheduleCommandError = async (output, contex
1325
1305
  switch (errorCode) {
1326
1306
  case "ConflictException":
1327
1307
  case "com.amazonaws.databrew#ConflictException":
1328
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1308
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1329
1309
  case "ServiceQuotaExceededException":
1330
1310
  case "com.amazonaws.databrew#ServiceQuotaExceededException":
1331
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1311
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1332
1312
  case "ValidationException":
1333
1313
  case "com.amazonaws.databrew#ValidationException":
1334
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1314
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1335
1315
  default:
1336
1316
  const parsedBody = parsedOutput.body;
1337
1317
  (0, smithy_client_1.throwDefaultError)({
@@ -1342,9 +1322,9 @@ const deserializeAws_restJson1CreateScheduleCommandError = async (output, contex
1342
1322
  });
1343
1323
  }
1344
1324
  };
1345
- const deserializeAws_restJson1DeleteDatasetCommand = async (output, context) => {
1325
+ const de_DeleteDatasetCommand = async (output, context) => {
1346
1326
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1347
- return deserializeAws_restJson1DeleteDatasetCommandError(output, context);
1327
+ return de_DeleteDatasetCommandError(output, context);
1348
1328
  }
1349
1329
  const contents = map({
1350
1330
  $metadata: deserializeMetadata(output),
@@ -1355,8 +1335,8 @@ const deserializeAws_restJson1DeleteDatasetCommand = async (output, context) =>
1355
1335
  }
1356
1336
  return contents;
1357
1337
  };
1358
- exports.deserializeAws_restJson1DeleteDatasetCommand = deserializeAws_restJson1DeleteDatasetCommand;
1359
- const deserializeAws_restJson1DeleteDatasetCommandError = async (output, context) => {
1338
+ exports.de_DeleteDatasetCommand = de_DeleteDatasetCommand;
1339
+ const de_DeleteDatasetCommandError = async (output, context) => {
1360
1340
  const parsedOutput = {
1361
1341
  ...output,
1362
1342
  body: await parseErrorBody(output.body, context),
@@ -1365,13 +1345,13 @@ const deserializeAws_restJson1DeleteDatasetCommandError = async (output, context
1365
1345
  switch (errorCode) {
1366
1346
  case "ConflictException":
1367
1347
  case "com.amazonaws.databrew#ConflictException":
1368
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1348
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1369
1349
  case "ResourceNotFoundException":
1370
1350
  case "com.amazonaws.databrew#ResourceNotFoundException":
1371
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1351
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1372
1352
  case "ValidationException":
1373
1353
  case "com.amazonaws.databrew#ValidationException":
1374
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1354
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1375
1355
  default:
1376
1356
  const parsedBody = parsedOutput.body;
1377
1357
  (0, smithy_client_1.throwDefaultError)({
@@ -1382,9 +1362,9 @@ const deserializeAws_restJson1DeleteDatasetCommandError = async (output, context
1382
1362
  });
1383
1363
  }
1384
1364
  };
1385
- const deserializeAws_restJson1DeleteJobCommand = async (output, context) => {
1365
+ const de_DeleteJobCommand = async (output, context) => {
1386
1366
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1387
- return deserializeAws_restJson1DeleteJobCommandError(output, context);
1367
+ return de_DeleteJobCommandError(output, context);
1388
1368
  }
1389
1369
  const contents = map({
1390
1370
  $metadata: deserializeMetadata(output),
@@ -1395,8 +1375,8 @@ const deserializeAws_restJson1DeleteJobCommand = async (output, context) => {
1395
1375
  }
1396
1376
  return contents;
1397
1377
  };
1398
- exports.deserializeAws_restJson1DeleteJobCommand = deserializeAws_restJson1DeleteJobCommand;
1399
- const deserializeAws_restJson1DeleteJobCommandError = async (output, context) => {
1378
+ exports.de_DeleteJobCommand = de_DeleteJobCommand;
1379
+ const de_DeleteJobCommandError = async (output, context) => {
1400
1380
  const parsedOutput = {
1401
1381
  ...output,
1402
1382
  body: await parseErrorBody(output.body, context),
@@ -1405,13 +1385,13 @@ const deserializeAws_restJson1DeleteJobCommandError = async (output, context) =>
1405
1385
  switch (errorCode) {
1406
1386
  case "ConflictException":
1407
1387
  case "com.amazonaws.databrew#ConflictException":
1408
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1388
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1409
1389
  case "ResourceNotFoundException":
1410
1390
  case "com.amazonaws.databrew#ResourceNotFoundException":
1411
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1391
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1412
1392
  case "ValidationException":
1413
1393
  case "com.amazonaws.databrew#ValidationException":
1414
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1394
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1415
1395
  default:
1416
1396
  const parsedBody = parsedOutput.body;
1417
1397
  (0, smithy_client_1.throwDefaultError)({
@@ -1422,9 +1402,9 @@ const deserializeAws_restJson1DeleteJobCommandError = async (output, context) =>
1422
1402
  });
1423
1403
  }
1424
1404
  };
1425
- const deserializeAws_restJson1DeleteProjectCommand = async (output, context) => {
1405
+ const de_DeleteProjectCommand = async (output, context) => {
1426
1406
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1427
- return deserializeAws_restJson1DeleteProjectCommandError(output, context);
1407
+ return de_DeleteProjectCommandError(output, context);
1428
1408
  }
1429
1409
  const contents = map({
1430
1410
  $metadata: deserializeMetadata(output),
@@ -1435,8 +1415,8 @@ const deserializeAws_restJson1DeleteProjectCommand = async (output, context) =>
1435
1415
  }
1436
1416
  return contents;
1437
1417
  };
1438
- exports.deserializeAws_restJson1DeleteProjectCommand = deserializeAws_restJson1DeleteProjectCommand;
1439
- const deserializeAws_restJson1DeleteProjectCommandError = async (output, context) => {
1418
+ exports.de_DeleteProjectCommand = de_DeleteProjectCommand;
1419
+ const de_DeleteProjectCommandError = async (output, context) => {
1440
1420
  const parsedOutput = {
1441
1421
  ...output,
1442
1422
  body: await parseErrorBody(output.body, context),
@@ -1445,13 +1425,13 @@ const deserializeAws_restJson1DeleteProjectCommandError = async (output, context
1445
1425
  switch (errorCode) {
1446
1426
  case "ConflictException":
1447
1427
  case "com.amazonaws.databrew#ConflictException":
1448
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1428
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1449
1429
  case "ResourceNotFoundException":
1450
1430
  case "com.amazonaws.databrew#ResourceNotFoundException":
1451
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1431
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1452
1432
  case "ValidationException":
1453
1433
  case "com.amazonaws.databrew#ValidationException":
1454
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1434
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1455
1435
  default:
1456
1436
  const parsedBody = parsedOutput.body;
1457
1437
  (0, smithy_client_1.throwDefaultError)({
@@ -1462,9 +1442,9 @@ const deserializeAws_restJson1DeleteProjectCommandError = async (output, context
1462
1442
  });
1463
1443
  }
1464
1444
  };
1465
- const deserializeAws_restJson1DeleteRecipeVersionCommand = async (output, context) => {
1445
+ const de_DeleteRecipeVersionCommand = async (output, context) => {
1466
1446
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1467
- return deserializeAws_restJson1DeleteRecipeVersionCommandError(output, context);
1447
+ return de_DeleteRecipeVersionCommandError(output, context);
1468
1448
  }
1469
1449
  const contents = map({
1470
1450
  $metadata: deserializeMetadata(output),
@@ -1478,8 +1458,8 @@ const deserializeAws_restJson1DeleteRecipeVersionCommand = async (output, contex
1478
1458
  }
1479
1459
  return contents;
1480
1460
  };
1481
- exports.deserializeAws_restJson1DeleteRecipeVersionCommand = deserializeAws_restJson1DeleteRecipeVersionCommand;
1482
- const deserializeAws_restJson1DeleteRecipeVersionCommandError = async (output, context) => {
1461
+ exports.de_DeleteRecipeVersionCommand = de_DeleteRecipeVersionCommand;
1462
+ const de_DeleteRecipeVersionCommandError = async (output, context) => {
1483
1463
  const parsedOutput = {
1484
1464
  ...output,
1485
1465
  body: await parseErrorBody(output.body, context),
@@ -1488,13 +1468,13 @@ const deserializeAws_restJson1DeleteRecipeVersionCommandError = async (output, c
1488
1468
  switch (errorCode) {
1489
1469
  case "ConflictException":
1490
1470
  case "com.amazonaws.databrew#ConflictException":
1491
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1471
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1492
1472
  case "ResourceNotFoundException":
1493
1473
  case "com.amazonaws.databrew#ResourceNotFoundException":
1494
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1474
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1495
1475
  case "ValidationException":
1496
1476
  case "com.amazonaws.databrew#ValidationException":
1497
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1477
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1498
1478
  default:
1499
1479
  const parsedBody = parsedOutput.body;
1500
1480
  (0, smithy_client_1.throwDefaultError)({
@@ -1505,9 +1485,9 @@ const deserializeAws_restJson1DeleteRecipeVersionCommandError = async (output, c
1505
1485
  });
1506
1486
  }
1507
1487
  };
1508
- const deserializeAws_restJson1DeleteRulesetCommand = async (output, context) => {
1488
+ const de_DeleteRulesetCommand = async (output, context) => {
1509
1489
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1510
- return deserializeAws_restJson1DeleteRulesetCommandError(output, context);
1490
+ return de_DeleteRulesetCommandError(output, context);
1511
1491
  }
1512
1492
  const contents = map({
1513
1493
  $metadata: deserializeMetadata(output),
@@ -1518,8 +1498,8 @@ const deserializeAws_restJson1DeleteRulesetCommand = async (output, context) =>
1518
1498
  }
1519
1499
  return contents;
1520
1500
  };
1521
- exports.deserializeAws_restJson1DeleteRulesetCommand = deserializeAws_restJson1DeleteRulesetCommand;
1522
- const deserializeAws_restJson1DeleteRulesetCommandError = async (output, context) => {
1501
+ exports.de_DeleteRulesetCommand = de_DeleteRulesetCommand;
1502
+ const de_DeleteRulesetCommandError = async (output, context) => {
1523
1503
  const parsedOutput = {
1524
1504
  ...output,
1525
1505
  body: await parseErrorBody(output.body, context),
@@ -1528,13 +1508,13 @@ const deserializeAws_restJson1DeleteRulesetCommandError = async (output, context
1528
1508
  switch (errorCode) {
1529
1509
  case "ConflictException":
1530
1510
  case "com.amazonaws.databrew#ConflictException":
1531
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1511
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1532
1512
  case "ResourceNotFoundException":
1533
1513
  case "com.amazonaws.databrew#ResourceNotFoundException":
1534
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1514
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1535
1515
  case "ValidationException":
1536
1516
  case "com.amazonaws.databrew#ValidationException":
1537
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1517
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1538
1518
  default:
1539
1519
  const parsedBody = parsedOutput.body;
1540
1520
  (0, smithy_client_1.throwDefaultError)({
@@ -1545,9 +1525,9 @@ const deserializeAws_restJson1DeleteRulesetCommandError = async (output, context
1545
1525
  });
1546
1526
  }
1547
1527
  };
1548
- const deserializeAws_restJson1DeleteScheduleCommand = async (output, context) => {
1528
+ const de_DeleteScheduleCommand = async (output, context) => {
1549
1529
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1550
- return deserializeAws_restJson1DeleteScheduleCommandError(output, context);
1530
+ return de_DeleteScheduleCommandError(output, context);
1551
1531
  }
1552
1532
  const contents = map({
1553
1533
  $metadata: deserializeMetadata(output),
@@ -1558,8 +1538,8 @@ const deserializeAws_restJson1DeleteScheduleCommand = async (output, context) =>
1558
1538
  }
1559
1539
  return contents;
1560
1540
  };
1561
- exports.deserializeAws_restJson1DeleteScheduleCommand = deserializeAws_restJson1DeleteScheduleCommand;
1562
- const deserializeAws_restJson1DeleteScheduleCommandError = async (output, context) => {
1541
+ exports.de_DeleteScheduleCommand = de_DeleteScheduleCommand;
1542
+ const de_DeleteScheduleCommandError = async (output, context) => {
1563
1543
  const parsedOutput = {
1564
1544
  ...output,
1565
1545
  body: await parseErrorBody(output.body, context),
@@ -1568,10 +1548,10 @@ const deserializeAws_restJson1DeleteScheduleCommandError = async (output, contex
1568
1548
  switch (errorCode) {
1569
1549
  case "ResourceNotFoundException":
1570
1550
  case "com.amazonaws.databrew#ResourceNotFoundException":
1571
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1551
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1572
1552
  case "ValidationException":
1573
1553
  case "com.amazonaws.databrew#ValidationException":
1574
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1554
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1575
1555
  default:
1576
1556
  const parsedBody = parsedOutput.body;
1577
1557
  (0, smithy_client_1.throwDefaultError)({
@@ -1582,9 +1562,9 @@ const deserializeAws_restJson1DeleteScheduleCommandError = async (output, contex
1582
1562
  });
1583
1563
  }
1584
1564
  };
1585
- const deserializeAws_restJson1DescribeDatasetCommand = async (output, context) => {
1565
+ const de_DescribeDatasetCommand = async (output, context) => {
1586
1566
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1587
- return deserializeAws_restJson1DescribeDatasetCommandError(output, context);
1567
+ return de_DescribeDatasetCommandError(output, context);
1588
1568
  }
1589
1569
  const contents = map({
1590
1570
  $metadata: deserializeMetadata(output),
@@ -1600,10 +1580,10 @@ const deserializeAws_restJson1DescribeDatasetCommand = async (output, context) =
1600
1580
  contents.Format = (0, smithy_client_1.expectString)(data.Format);
1601
1581
  }
1602
1582
  if (data.FormatOptions != null) {
1603
- contents.FormatOptions = deserializeAws_restJson1FormatOptions(data.FormatOptions, context);
1583
+ contents.FormatOptions = de_FormatOptions(data.FormatOptions, context);
1604
1584
  }
1605
1585
  if (data.Input != null) {
1606
- contents.Input = deserializeAws_restJson1Input(data.Input, context);
1586
+ contents.Input = de_Input(data.Input, context);
1607
1587
  }
1608
1588
  if (data.LastModifiedBy != null) {
1609
1589
  contents.LastModifiedBy = (0, smithy_client_1.expectString)(data.LastModifiedBy);
@@ -1615,7 +1595,7 @@ const deserializeAws_restJson1DescribeDatasetCommand = async (output, context) =
1615
1595
  contents.Name = (0, smithy_client_1.expectString)(data.Name);
1616
1596
  }
1617
1597
  if (data.PathOptions != null) {
1618
- contents.PathOptions = deserializeAws_restJson1PathOptions(data.PathOptions, context);
1598
+ contents.PathOptions = de_PathOptions(data.PathOptions, context);
1619
1599
  }
1620
1600
  if (data.ResourceArn != null) {
1621
1601
  contents.ResourceArn = (0, smithy_client_1.expectString)(data.ResourceArn);
@@ -1624,12 +1604,12 @@ const deserializeAws_restJson1DescribeDatasetCommand = async (output, context) =
1624
1604
  contents.Source = (0, smithy_client_1.expectString)(data.Source);
1625
1605
  }
1626
1606
  if (data.Tags != null) {
1627
- contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
1607
+ contents.Tags = de_TagMap(data.Tags, context);
1628
1608
  }
1629
1609
  return contents;
1630
1610
  };
1631
- exports.deserializeAws_restJson1DescribeDatasetCommand = deserializeAws_restJson1DescribeDatasetCommand;
1632
- const deserializeAws_restJson1DescribeDatasetCommandError = async (output, context) => {
1611
+ exports.de_DescribeDatasetCommand = de_DescribeDatasetCommand;
1612
+ const de_DescribeDatasetCommandError = async (output, context) => {
1633
1613
  const parsedOutput = {
1634
1614
  ...output,
1635
1615
  body: await parseErrorBody(output.body, context),
@@ -1638,10 +1618,10 @@ const deserializeAws_restJson1DescribeDatasetCommandError = async (output, conte
1638
1618
  switch (errorCode) {
1639
1619
  case "ResourceNotFoundException":
1640
1620
  case "com.amazonaws.databrew#ResourceNotFoundException":
1641
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1621
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1642
1622
  case "ValidationException":
1643
1623
  case "com.amazonaws.databrew#ValidationException":
1644
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1624
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1645
1625
  default:
1646
1626
  const parsedBody = parsedOutput.body;
1647
1627
  (0, smithy_client_1.throwDefaultError)({
@@ -1652,9 +1632,9 @@ const deserializeAws_restJson1DescribeDatasetCommandError = async (output, conte
1652
1632
  });
1653
1633
  }
1654
1634
  };
1655
- const deserializeAws_restJson1DescribeJobCommand = async (output, context) => {
1635
+ const de_DescribeJobCommand = async (output, context) => {
1656
1636
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1657
- return deserializeAws_restJson1DescribeJobCommandError(output, context);
1637
+ return de_DescribeJobCommandError(output, context);
1658
1638
  }
1659
1639
  const contents = map({
1660
1640
  $metadata: deserializeMetadata(output),
@@ -1667,10 +1647,10 @@ const deserializeAws_restJson1DescribeJobCommand = async (output, context) => {
1667
1647
  contents.CreatedBy = (0, smithy_client_1.expectString)(data.CreatedBy);
1668
1648
  }
1669
1649
  if (data.DataCatalogOutputs != null) {
1670
- contents.DataCatalogOutputs = deserializeAws_restJson1DataCatalogOutputList(data.DataCatalogOutputs, context);
1650
+ contents.DataCatalogOutputs = de_DataCatalogOutputList(data.DataCatalogOutputs, context);
1671
1651
  }
1672
1652
  if (data.DatabaseOutputs != null) {
1673
- contents.DatabaseOutputs = deserializeAws_restJson1DatabaseOutputList(data.DatabaseOutputs, context);
1653
+ contents.DatabaseOutputs = de_DatabaseOutputList(data.DatabaseOutputs, context);
1674
1654
  }
1675
1655
  if (data.DatasetName != null) {
1676
1656
  contents.DatasetName = (0, smithy_client_1.expectString)(data.DatasetName);
@@ -1682,7 +1662,7 @@ const deserializeAws_restJson1DescribeJobCommand = async (output, context) => {
1682
1662
  contents.EncryptionMode = (0, smithy_client_1.expectString)(data.EncryptionMode);
1683
1663
  }
1684
1664
  if (data.JobSample != null) {
1685
- contents.JobSample = deserializeAws_restJson1JobSample(data.JobSample, context);
1665
+ contents.JobSample = de_JobSample(data.JobSample, context);
1686
1666
  }
1687
1667
  if (data.LastModifiedBy != null) {
1688
1668
  contents.LastModifiedBy = (0, smithy_client_1.expectString)(data.LastModifiedBy);
@@ -1703,16 +1683,16 @@ const deserializeAws_restJson1DescribeJobCommand = async (output, context) => {
1703
1683
  contents.Name = (0, smithy_client_1.expectString)(data.Name);
1704
1684
  }
1705
1685
  if (data.Outputs != null) {
1706
- contents.Outputs = deserializeAws_restJson1OutputList(data.Outputs, context);
1686
+ contents.Outputs = de_OutputList(data.Outputs, context);
1707
1687
  }
1708
1688
  if (data.ProfileConfiguration != null) {
1709
- contents.ProfileConfiguration = deserializeAws_restJson1ProfileConfiguration(data.ProfileConfiguration, context);
1689
+ contents.ProfileConfiguration = de_ProfileConfiguration(data.ProfileConfiguration, context);
1710
1690
  }
1711
1691
  if (data.ProjectName != null) {
1712
1692
  contents.ProjectName = (0, smithy_client_1.expectString)(data.ProjectName);
1713
1693
  }
1714
1694
  if (data.RecipeReference != null) {
1715
- contents.RecipeReference = deserializeAws_restJson1RecipeReference(data.RecipeReference, context);
1695
+ contents.RecipeReference = de_RecipeReference(data.RecipeReference, context);
1716
1696
  }
1717
1697
  if (data.ResourceArn != null) {
1718
1698
  contents.ResourceArn = (0, smithy_client_1.expectString)(data.ResourceArn);
@@ -1721,7 +1701,7 @@ const deserializeAws_restJson1DescribeJobCommand = async (output, context) => {
1721
1701
  contents.RoleArn = (0, smithy_client_1.expectString)(data.RoleArn);
1722
1702
  }
1723
1703
  if (data.Tags != null) {
1724
- contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
1704
+ contents.Tags = de_TagMap(data.Tags, context);
1725
1705
  }
1726
1706
  if (data.Timeout != null) {
1727
1707
  contents.Timeout = (0, smithy_client_1.expectInt32)(data.Timeout);
@@ -1730,12 +1710,12 @@ const deserializeAws_restJson1DescribeJobCommand = async (output, context) => {
1730
1710
  contents.Type = (0, smithy_client_1.expectString)(data.Type);
1731
1711
  }
1732
1712
  if (data.ValidationConfigurations != null) {
1733
- contents.ValidationConfigurations = deserializeAws_restJson1ValidationConfigurationList(data.ValidationConfigurations, context);
1713
+ contents.ValidationConfigurations = de_ValidationConfigurationList(data.ValidationConfigurations, context);
1734
1714
  }
1735
1715
  return contents;
1736
1716
  };
1737
- exports.deserializeAws_restJson1DescribeJobCommand = deserializeAws_restJson1DescribeJobCommand;
1738
- const deserializeAws_restJson1DescribeJobCommandError = async (output, context) => {
1717
+ exports.de_DescribeJobCommand = de_DescribeJobCommand;
1718
+ const de_DescribeJobCommandError = async (output, context) => {
1739
1719
  const parsedOutput = {
1740
1720
  ...output,
1741
1721
  body: await parseErrorBody(output.body, context),
@@ -1744,10 +1724,10 @@ const deserializeAws_restJson1DescribeJobCommandError = async (output, context)
1744
1724
  switch (errorCode) {
1745
1725
  case "ResourceNotFoundException":
1746
1726
  case "com.amazonaws.databrew#ResourceNotFoundException":
1747
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1727
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1748
1728
  case "ValidationException":
1749
1729
  case "com.amazonaws.databrew#ValidationException":
1750
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1730
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1751
1731
  default:
1752
1732
  const parsedBody = parsedOutput.body;
1753
1733
  (0, smithy_client_1.throwDefaultError)({
@@ -1758,9 +1738,9 @@ const deserializeAws_restJson1DescribeJobCommandError = async (output, context)
1758
1738
  });
1759
1739
  }
1760
1740
  };
1761
- const deserializeAws_restJson1DescribeJobRunCommand = async (output, context) => {
1741
+ const de_DescribeJobRunCommand = async (output, context) => {
1762
1742
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1763
- return deserializeAws_restJson1DescribeJobRunCommandError(output, context);
1743
+ return de_DescribeJobRunCommandError(output, context);
1764
1744
  }
1765
1745
  const contents = map({
1766
1746
  $metadata: deserializeMetadata(output),
@@ -1773,10 +1753,10 @@ const deserializeAws_restJson1DescribeJobRunCommand = async (output, context) =>
1773
1753
  contents.CompletedOn = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.CompletedOn)));
1774
1754
  }
1775
1755
  if (data.DataCatalogOutputs != null) {
1776
- contents.DataCatalogOutputs = deserializeAws_restJson1DataCatalogOutputList(data.DataCatalogOutputs, context);
1756
+ contents.DataCatalogOutputs = de_DataCatalogOutputList(data.DataCatalogOutputs, context);
1777
1757
  }
1778
1758
  if (data.DatabaseOutputs != null) {
1779
- contents.DatabaseOutputs = deserializeAws_restJson1DatabaseOutputList(data.DatabaseOutputs, context);
1759
+ contents.DatabaseOutputs = de_DatabaseOutputList(data.DatabaseOutputs, context);
1780
1760
  }
1781
1761
  if (data.DatasetName != null) {
1782
1762
  contents.DatasetName = (0, smithy_client_1.expectString)(data.DatasetName);
@@ -1791,7 +1771,7 @@ const deserializeAws_restJson1DescribeJobRunCommand = async (output, context) =>
1791
1771
  contents.JobName = (0, smithy_client_1.expectString)(data.JobName);
1792
1772
  }
1793
1773
  if (data.JobSample != null) {
1794
- contents.JobSample = deserializeAws_restJson1JobSample(data.JobSample, context);
1774
+ contents.JobSample = de_JobSample(data.JobSample, context);
1795
1775
  }
1796
1776
  if (data.LogGroupName != null) {
1797
1777
  contents.LogGroupName = (0, smithy_client_1.expectString)(data.LogGroupName);
@@ -1800,13 +1780,13 @@ const deserializeAws_restJson1DescribeJobRunCommand = async (output, context) =>
1800
1780
  contents.LogSubscription = (0, smithy_client_1.expectString)(data.LogSubscription);
1801
1781
  }
1802
1782
  if (data.Outputs != null) {
1803
- contents.Outputs = deserializeAws_restJson1OutputList(data.Outputs, context);
1783
+ contents.Outputs = de_OutputList(data.Outputs, context);
1804
1784
  }
1805
1785
  if (data.ProfileConfiguration != null) {
1806
- contents.ProfileConfiguration = deserializeAws_restJson1ProfileConfiguration(data.ProfileConfiguration, context);
1786
+ contents.ProfileConfiguration = de_ProfileConfiguration(data.ProfileConfiguration, context);
1807
1787
  }
1808
1788
  if (data.RecipeReference != null) {
1809
- contents.RecipeReference = deserializeAws_restJson1RecipeReference(data.RecipeReference, context);
1789
+ contents.RecipeReference = de_RecipeReference(data.RecipeReference, context);
1810
1790
  }
1811
1791
  if (data.RunId != null) {
1812
1792
  contents.RunId = (0, smithy_client_1.expectString)(data.RunId);
@@ -1821,12 +1801,12 @@ const deserializeAws_restJson1DescribeJobRunCommand = async (output, context) =>
1821
1801
  contents.State = (0, smithy_client_1.expectString)(data.State);
1822
1802
  }
1823
1803
  if (data.ValidationConfigurations != null) {
1824
- contents.ValidationConfigurations = deserializeAws_restJson1ValidationConfigurationList(data.ValidationConfigurations, context);
1804
+ contents.ValidationConfigurations = de_ValidationConfigurationList(data.ValidationConfigurations, context);
1825
1805
  }
1826
1806
  return contents;
1827
1807
  };
1828
- exports.deserializeAws_restJson1DescribeJobRunCommand = deserializeAws_restJson1DescribeJobRunCommand;
1829
- const deserializeAws_restJson1DescribeJobRunCommandError = async (output, context) => {
1808
+ exports.de_DescribeJobRunCommand = de_DescribeJobRunCommand;
1809
+ const de_DescribeJobRunCommandError = async (output, context) => {
1830
1810
  const parsedOutput = {
1831
1811
  ...output,
1832
1812
  body: await parseErrorBody(output.body, context),
@@ -1835,10 +1815,10 @@ const deserializeAws_restJson1DescribeJobRunCommandError = async (output, contex
1835
1815
  switch (errorCode) {
1836
1816
  case "ResourceNotFoundException":
1837
1817
  case "com.amazonaws.databrew#ResourceNotFoundException":
1838
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1818
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1839
1819
  case "ValidationException":
1840
1820
  case "com.amazonaws.databrew#ValidationException":
1841
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1821
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1842
1822
  default:
1843
1823
  const parsedBody = parsedOutput.body;
1844
1824
  (0, smithy_client_1.throwDefaultError)({
@@ -1849,9 +1829,9 @@ const deserializeAws_restJson1DescribeJobRunCommandError = async (output, contex
1849
1829
  });
1850
1830
  }
1851
1831
  };
1852
- const deserializeAws_restJson1DescribeProjectCommand = async (output, context) => {
1832
+ const de_DescribeProjectCommand = async (output, context) => {
1853
1833
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1854
- return deserializeAws_restJson1DescribeProjectCommandError(output, context);
1834
+ return de_DescribeProjectCommandError(output, context);
1855
1835
  }
1856
1836
  const contents = map({
1857
1837
  $metadata: deserializeMetadata(output),
@@ -1891,18 +1871,18 @@ const deserializeAws_restJson1DescribeProjectCommand = async (output, context) =
1891
1871
  contents.RoleArn = (0, smithy_client_1.expectString)(data.RoleArn);
1892
1872
  }
1893
1873
  if (data.Sample != null) {
1894
- contents.Sample = deserializeAws_restJson1Sample(data.Sample, context);
1874
+ contents.Sample = de_Sample(data.Sample, context);
1895
1875
  }
1896
1876
  if (data.SessionStatus != null) {
1897
1877
  contents.SessionStatus = (0, smithy_client_1.expectString)(data.SessionStatus);
1898
1878
  }
1899
1879
  if (data.Tags != null) {
1900
- contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
1880
+ contents.Tags = de_TagMap(data.Tags, context);
1901
1881
  }
1902
1882
  return contents;
1903
1883
  };
1904
- exports.deserializeAws_restJson1DescribeProjectCommand = deserializeAws_restJson1DescribeProjectCommand;
1905
- const deserializeAws_restJson1DescribeProjectCommandError = async (output, context) => {
1884
+ exports.de_DescribeProjectCommand = de_DescribeProjectCommand;
1885
+ const de_DescribeProjectCommandError = async (output, context) => {
1906
1886
  const parsedOutput = {
1907
1887
  ...output,
1908
1888
  body: await parseErrorBody(output.body, context),
@@ -1911,10 +1891,10 @@ const deserializeAws_restJson1DescribeProjectCommandError = async (output, conte
1911
1891
  switch (errorCode) {
1912
1892
  case "ResourceNotFoundException":
1913
1893
  case "com.amazonaws.databrew#ResourceNotFoundException":
1914
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1894
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1915
1895
  case "ValidationException":
1916
1896
  case "com.amazonaws.databrew#ValidationException":
1917
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1897
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1918
1898
  default:
1919
1899
  const parsedBody = parsedOutput.body;
1920
1900
  (0, smithy_client_1.throwDefaultError)({
@@ -1925,9 +1905,9 @@ const deserializeAws_restJson1DescribeProjectCommandError = async (output, conte
1925
1905
  });
1926
1906
  }
1927
1907
  };
1928
- const deserializeAws_restJson1DescribeRecipeCommand = async (output, context) => {
1908
+ const de_DescribeRecipeCommand = async (output, context) => {
1929
1909
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1930
- return deserializeAws_restJson1DescribeRecipeCommandError(output, context);
1910
+ return de_DescribeRecipeCommandError(output, context);
1931
1911
  }
1932
1912
  const contents = map({
1933
1913
  $metadata: deserializeMetadata(output),
@@ -1967,15 +1947,15 @@ const deserializeAws_restJson1DescribeRecipeCommand = async (output, context) =>
1967
1947
  contents.ResourceArn = (0, smithy_client_1.expectString)(data.ResourceArn);
1968
1948
  }
1969
1949
  if (data.Steps != null) {
1970
- contents.Steps = deserializeAws_restJson1RecipeStepList(data.Steps, context);
1950
+ contents.Steps = de_RecipeStepList(data.Steps, context);
1971
1951
  }
1972
1952
  if (data.Tags != null) {
1973
- contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
1953
+ contents.Tags = de_TagMap(data.Tags, context);
1974
1954
  }
1975
1955
  return contents;
1976
1956
  };
1977
- exports.deserializeAws_restJson1DescribeRecipeCommand = deserializeAws_restJson1DescribeRecipeCommand;
1978
- const deserializeAws_restJson1DescribeRecipeCommandError = async (output, context) => {
1957
+ exports.de_DescribeRecipeCommand = de_DescribeRecipeCommand;
1958
+ const de_DescribeRecipeCommandError = async (output, context) => {
1979
1959
  const parsedOutput = {
1980
1960
  ...output,
1981
1961
  body: await parseErrorBody(output.body, context),
@@ -1984,10 +1964,10 @@ const deserializeAws_restJson1DescribeRecipeCommandError = async (output, contex
1984
1964
  switch (errorCode) {
1985
1965
  case "ResourceNotFoundException":
1986
1966
  case "com.amazonaws.databrew#ResourceNotFoundException":
1987
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1967
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1988
1968
  case "ValidationException":
1989
1969
  case "com.amazonaws.databrew#ValidationException":
1990
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1970
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1991
1971
  default:
1992
1972
  const parsedBody = parsedOutput.body;
1993
1973
  (0, smithy_client_1.throwDefaultError)({
@@ -1998,9 +1978,9 @@ const deserializeAws_restJson1DescribeRecipeCommandError = async (output, contex
1998
1978
  });
1999
1979
  }
2000
1980
  };
2001
- const deserializeAws_restJson1DescribeRulesetCommand = async (output, context) => {
1981
+ const de_DescribeRulesetCommand = async (output, context) => {
2002
1982
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2003
- return deserializeAws_restJson1DescribeRulesetCommandError(output, context);
1983
+ return de_DescribeRulesetCommandError(output, context);
2004
1984
  }
2005
1985
  const contents = map({
2006
1986
  $metadata: deserializeMetadata(output),
@@ -2028,18 +2008,18 @@ const deserializeAws_restJson1DescribeRulesetCommand = async (output, context) =
2028
2008
  contents.ResourceArn = (0, smithy_client_1.expectString)(data.ResourceArn);
2029
2009
  }
2030
2010
  if (data.Rules != null) {
2031
- contents.Rules = deserializeAws_restJson1RuleList(data.Rules, context);
2011
+ contents.Rules = de_RuleList(data.Rules, context);
2032
2012
  }
2033
2013
  if (data.Tags != null) {
2034
- contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
2014
+ contents.Tags = de_TagMap(data.Tags, context);
2035
2015
  }
2036
2016
  if (data.TargetArn != null) {
2037
2017
  contents.TargetArn = (0, smithy_client_1.expectString)(data.TargetArn);
2038
2018
  }
2039
2019
  return contents;
2040
2020
  };
2041
- exports.deserializeAws_restJson1DescribeRulesetCommand = deserializeAws_restJson1DescribeRulesetCommand;
2042
- const deserializeAws_restJson1DescribeRulesetCommandError = async (output, context) => {
2021
+ exports.de_DescribeRulesetCommand = de_DescribeRulesetCommand;
2022
+ const de_DescribeRulesetCommandError = async (output, context) => {
2043
2023
  const parsedOutput = {
2044
2024
  ...output,
2045
2025
  body: await parseErrorBody(output.body, context),
@@ -2048,10 +2028,10 @@ const deserializeAws_restJson1DescribeRulesetCommandError = async (output, conte
2048
2028
  switch (errorCode) {
2049
2029
  case "ResourceNotFoundException":
2050
2030
  case "com.amazonaws.databrew#ResourceNotFoundException":
2051
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2031
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2052
2032
  case "ValidationException":
2053
2033
  case "com.amazonaws.databrew#ValidationException":
2054
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2034
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2055
2035
  default:
2056
2036
  const parsedBody = parsedOutput.body;
2057
2037
  (0, smithy_client_1.throwDefaultError)({
@@ -2062,9 +2042,9 @@ const deserializeAws_restJson1DescribeRulesetCommandError = async (output, conte
2062
2042
  });
2063
2043
  }
2064
2044
  };
2065
- const deserializeAws_restJson1DescribeScheduleCommand = async (output, context) => {
2045
+ const de_DescribeScheduleCommand = async (output, context) => {
2066
2046
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2067
- return deserializeAws_restJson1DescribeScheduleCommandError(output, context);
2047
+ return de_DescribeScheduleCommandError(output, context);
2068
2048
  }
2069
2049
  const contents = map({
2070
2050
  $metadata: deserializeMetadata(output),
@@ -2080,7 +2060,7 @@ const deserializeAws_restJson1DescribeScheduleCommand = async (output, context)
2080
2060
  contents.CronExpression = (0, smithy_client_1.expectString)(data.CronExpression);
2081
2061
  }
2082
2062
  if (data.JobNames != null) {
2083
- contents.JobNames = deserializeAws_restJson1JobNameList(data.JobNames, context);
2063
+ contents.JobNames = de_JobNameList(data.JobNames, context);
2084
2064
  }
2085
2065
  if (data.LastModifiedBy != null) {
2086
2066
  contents.LastModifiedBy = (0, smithy_client_1.expectString)(data.LastModifiedBy);
@@ -2095,12 +2075,12 @@ const deserializeAws_restJson1DescribeScheduleCommand = async (output, context)
2095
2075
  contents.ResourceArn = (0, smithy_client_1.expectString)(data.ResourceArn);
2096
2076
  }
2097
2077
  if (data.Tags != null) {
2098
- contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
2078
+ contents.Tags = de_TagMap(data.Tags, context);
2099
2079
  }
2100
2080
  return contents;
2101
2081
  };
2102
- exports.deserializeAws_restJson1DescribeScheduleCommand = deserializeAws_restJson1DescribeScheduleCommand;
2103
- const deserializeAws_restJson1DescribeScheduleCommandError = async (output, context) => {
2082
+ exports.de_DescribeScheduleCommand = de_DescribeScheduleCommand;
2083
+ const de_DescribeScheduleCommandError = async (output, context) => {
2104
2084
  const parsedOutput = {
2105
2085
  ...output,
2106
2086
  body: await parseErrorBody(output.body, context),
@@ -2109,10 +2089,10 @@ const deserializeAws_restJson1DescribeScheduleCommandError = async (output, cont
2109
2089
  switch (errorCode) {
2110
2090
  case "ResourceNotFoundException":
2111
2091
  case "com.amazonaws.databrew#ResourceNotFoundException":
2112
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2092
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2113
2093
  case "ValidationException":
2114
2094
  case "com.amazonaws.databrew#ValidationException":
2115
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2095
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2116
2096
  default:
2117
2097
  const parsedBody = parsedOutput.body;
2118
2098
  (0, smithy_client_1.throwDefaultError)({
@@ -2123,24 +2103,24 @@ const deserializeAws_restJson1DescribeScheduleCommandError = async (output, cont
2123
2103
  });
2124
2104
  }
2125
2105
  };
2126
- const deserializeAws_restJson1ListDatasetsCommand = async (output, context) => {
2106
+ const de_ListDatasetsCommand = async (output, context) => {
2127
2107
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2128
- return deserializeAws_restJson1ListDatasetsCommandError(output, context);
2108
+ return de_ListDatasetsCommandError(output, context);
2129
2109
  }
2130
2110
  const contents = map({
2131
2111
  $metadata: deserializeMetadata(output),
2132
2112
  });
2133
2113
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2134
2114
  if (data.Datasets != null) {
2135
- contents.Datasets = deserializeAws_restJson1DatasetList(data.Datasets, context);
2115
+ contents.Datasets = de_DatasetList(data.Datasets, context);
2136
2116
  }
2137
2117
  if (data.NextToken != null) {
2138
2118
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2139
2119
  }
2140
2120
  return contents;
2141
2121
  };
2142
- exports.deserializeAws_restJson1ListDatasetsCommand = deserializeAws_restJson1ListDatasetsCommand;
2143
- const deserializeAws_restJson1ListDatasetsCommandError = async (output, context) => {
2122
+ exports.de_ListDatasetsCommand = de_ListDatasetsCommand;
2123
+ const de_ListDatasetsCommandError = async (output, context) => {
2144
2124
  const parsedOutput = {
2145
2125
  ...output,
2146
2126
  body: await parseErrorBody(output.body, context),
@@ -2149,7 +2129,7 @@ const deserializeAws_restJson1ListDatasetsCommandError = async (output, context)
2149
2129
  switch (errorCode) {
2150
2130
  case "ValidationException":
2151
2131
  case "com.amazonaws.databrew#ValidationException":
2152
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2132
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2153
2133
  default:
2154
2134
  const parsedBody = parsedOutput.body;
2155
2135
  (0, smithy_client_1.throwDefaultError)({
@@ -2160,24 +2140,24 @@ const deserializeAws_restJson1ListDatasetsCommandError = async (output, context)
2160
2140
  });
2161
2141
  }
2162
2142
  };
2163
- const deserializeAws_restJson1ListJobRunsCommand = async (output, context) => {
2143
+ const de_ListJobRunsCommand = async (output, context) => {
2164
2144
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2165
- return deserializeAws_restJson1ListJobRunsCommandError(output, context);
2145
+ return de_ListJobRunsCommandError(output, context);
2166
2146
  }
2167
2147
  const contents = map({
2168
2148
  $metadata: deserializeMetadata(output),
2169
2149
  });
2170
2150
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2171
2151
  if (data.JobRuns != null) {
2172
- contents.JobRuns = deserializeAws_restJson1JobRunList(data.JobRuns, context);
2152
+ contents.JobRuns = de_JobRunList(data.JobRuns, context);
2173
2153
  }
2174
2154
  if (data.NextToken != null) {
2175
2155
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2176
2156
  }
2177
2157
  return contents;
2178
2158
  };
2179
- exports.deserializeAws_restJson1ListJobRunsCommand = deserializeAws_restJson1ListJobRunsCommand;
2180
- const deserializeAws_restJson1ListJobRunsCommandError = async (output, context) => {
2159
+ exports.de_ListJobRunsCommand = de_ListJobRunsCommand;
2160
+ const de_ListJobRunsCommandError = async (output, context) => {
2181
2161
  const parsedOutput = {
2182
2162
  ...output,
2183
2163
  body: await parseErrorBody(output.body, context),
@@ -2186,10 +2166,10 @@ const deserializeAws_restJson1ListJobRunsCommandError = async (output, context)
2186
2166
  switch (errorCode) {
2187
2167
  case "ResourceNotFoundException":
2188
2168
  case "com.amazonaws.databrew#ResourceNotFoundException":
2189
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2169
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2190
2170
  case "ValidationException":
2191
2171
  case "com.amazonaws.databrew#ValidationException":
2192
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2172
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2193
2173
  default:
2194
2174
  const parsedBody = parsedOutput.body;
2195
2175
  (0, smithy_client_1.throwDefaultError)({
@@ -2200,24 +2180,24 @@ const deserializeAws_restJson1ListJobRunsCommandError = async (output, context)
2200
2180
  });
2201
2181
  }
2202
2182
  };
2203
- const deserializeAws_restJson1ListJobsCommand = async (output, context) => {
2183
+ const de_ListJobsCommand = async (output, context) => {
2204
2184
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2205
- return deserializeAws_restJson1ListJobsCommandError(output, context);
2185
+ return de_ListJobsCommandError(output, context);
2206
2186
  }
2207
2187
  const contents = map({
2208
2188
  $metadata: deserializeMetadata(output),
2209
2189
  });
2210
2190
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2211
2191
  if (data.Jobs != null) {
2212
- contents.Jobs = deserializeAws_restJson1JobList(data.Jobs, context);
2192
+ contents.Jobs = de_JobList(data.Jobs, context);
2213
2193
  }
2214
2194
  if (data.NextToken != null) {
2215
2195
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2216
2196
  }
2217
2197
  return contents;
2218
2198
  };
2219
- exports.deserializeAws_restJson1ListJobsCommand = deserializeAws_restJson1ListJobsCommand;
2220
- const deserializeAws_restJson1ListJobsCommandError = async (output, context) => {
2199
+ exports.de_ListJobsCommand = de_ListJobsCommand;
2200
+ const de_ListJobsCommandError = async (output, context) => {
2221
2201
  const parsedOutput = {
2222
2202
  ...output,
2223
2203
  body: await parseErrorBody(output.body, context),
@@ -2226,7 +2206,7 @@ const deserializeAws_restJson1ListJobsCommandError = async (output, context) =>
2226
2206
  switch (errorCode) {
2227
2207
  case "ValidationException":
2228
2208
  case "com.amazonaws.databrew#ValidationException":
2229
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2209
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2230
2210
  default:
2231
2211
  const parsedBody = parsedOutput.body;
2232
2212
  (0, smithy_client_1.throwDefaultError)({
@@ -2237,9 +2217,9 @@ const deserializeAws_restJson1ListJobsCommandError = async (output, context) =>
2237
2217
  });
2238
2218
  }
2239
2219
  };
2240
- const deserializeAws_restJson1ListProjectsCommand = async (output, context) => {
2220
+ const de_ListProjectsCommand = async (output, context) => {
2241
2221
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2242
- return deserializeAws_restJson1ListProjectsCommandError(output, context);
2222
+ return de_ListProjectsCommandError(output, context);
2243
2223
  }
2244
2224
  const contents = map({
2245
2225
  $metadata: deserializeMetadata(output),
@@ -2249,12 +2229,12 @@ const deserializeAws_restJson1ListProjectsCommand = async (output, context) => {
2249
2229
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2250
2230
  }
2251
2231
  if (data.Projects != null) {
2252
- contents.Projects = deserializeAws_restJson1ProjectList(data.Projects, context);
2232
+ contents.Projects = de_ProjectList(data.Projects, context);
2253
2233
  }
2254
2234
  return contents;
2255
2235
  };
2256
- exports.deserializeAws_restJson1ListProjectsCommand = deserializeAws_restJson1ListProjectsCommand;
2257
- const deserializeAws_restJson1ListProjectsCommandError = async (output, context) => {
2236
+ exports.de_ListProjectsCommand = de_ListProjectsCommand;
2237
+ const de_ListProjectsCommandError = async (output, context) => {
2258
2238
  const parsedOutput = {
2259
2239
  ...output,
2260
2240
  body: await parseErrorBody(output.body, context),
@@ -2263,7 +2243,7 @@ const deserializeAws_restJson1ListProjectsCommandError = async (output, context)
2263
2243
  switch (errorCode) {
2264
2244
  case "ValidationException":
2265
2245
  case "com.amazonaws.databrew#ValidationException":
2266
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2246
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2267
2247
  default:
2268
2248
  const parsedBody = parsedOutput.body;
2269
2249
  (0, smithy_client_1.throwDefaultError)({
@@ -2274,9 +2254,9 @@ const deserializeAws_restJson1ListProjectsCommandError = async (output, context)
2274
2254
  });
2275
2255
  }
2276
2256
  };
2277
- const deserializeAws_restJson1ListRecipesCommand = async (output, context) => {
2257
+ const de_ListRecipesCommand = async (output, context) => {
2278
2258
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2279
- return deserializeAws_restJson1ListRecipesCommandError(output, context);
2259
+ return de_ListRecipesCommandError(output, context);
2280
2260
  }
2281
2261
  const contents = map({
2282
2262
  $metadata: deserializeMetadata(output),
@@ -2286,12 +2266,12 @@ const deserializeAws_restJson1ListRecipesCommand = async (output, context) => {
2286
2266
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2287
2267
  }
2288
2268
  if (data.Recipes != null) {
2289
- contents.Recipes = deserializeAws_restJson1RecipeList(data.Recipes, context);
2269
+ contents.Recipes = de_RecipeList(data.Recipes, context);
2290
2270
  }
2291
2271
  return contents;
2292
2272
  };
2293
- exports.deserializeAws_restJson1ListRecipesCommand = deserializeAws_restJson1ListRecipesCommand;
2294
- const deserializeAws_restJson1ListRecipesCommandError = async (output, context) => {
2273
+ exports.de_ListRecipesCommand = de_ListRecipesCommand;
2274
+ const de_ListRecipesCommandError = async (output, context) => {
2295
2275
  const parsedOutput = {
2296
2276
  ...output,
2297
2277
  body: await parseErrorBody(output.body, context),
@@ -2300,7 +2280,7 @@ const deserializeAws_restJson1ListRecipesCommandError = async (output, context)
2300
2280
  switch (errorCode) {
2301
2281
  case "ValidationException":
2302
2282
  case "com.amazonaws.databrew#ValidationException":
2303
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2283
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2304
2284
  default:
2305
2285
  const parsedBody = parsedOutput.body;
2306
2286
  (0, smithy_client_1.throwDefaultError)({
@@ -2311,9 +2291,9 @@ const deserializeAws_restJson1ListRecipesCommandError = async (output, context)
2311
2291
  });
2312
2292
  }
2313
2293
  };
2314
- const deserializeAws_restJson1ListRecipeVersionsCommand = async (output, context) => {
2294
+ const de_ListRecipeVersionsCommand = async (output, context) => {
2315
2295
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2316
- return deserializeAws_restJson1ListRecipeVersionsCommandError(output, context);
2296
+ return de_ListRecipeVersionsCommandError(output, context);
2317
2297
  }
2318
2298
  const contents = map({
2319
2299
  $metadata: deserializeMetadata(output),
@@ -2323,12 +2303,12 @@ const deserializeAws_restJson1ListRecipeVersionsCommand = async (output, context
2323
2303
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2324
2304
  }
2325
2305
  if (data.Recipes != null) {
2326
- contents.Recipes = deserializeAws_restJson1RecipeList(data.Recipes, context);
2306
+ contents.Recipes = de_RecipeList(data.Recipes, context);
2327
2307
  }
2328
2308
  return contents;
2329
2309
  };
2330
- exports.deserializeAws_restJson1ListRecipeVersionsCommand = deserializeAws_restJson1ListRecipeVersionsCommand;
2331
- const deserializeAws_restJson1ListRecipeVersionsCommandError = async (output, context) => {
2310
+ exports.de_ListRecipeVersionsCommand = de_ListRecipeVersionsCommand;
2311
+ const de_ListRecipeVersionsCommandError = async (output, context) => {
2332
2312
  const parsedOutput = {
2333
2313
  ...output,
2334
2314
  body: await parseErrorBody(output.body, context),
@@ -2337,7 +2317,7 @@ const deserializeAws_restJson1ListRecipeVersionsCommandError = async (output, co
2337
2317
  switch (errorCode) {
2338
2318
  case "ValidationException":
2339
2319
  case "com.amazonaws.databrew#ValidationException":
2340
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2320
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2341
2321
  default:
2342
2322
  const parsedBody = parsedOutput.body;
2343
2323
  (0, smithy_client_1.throwDefaultError)({
@@ -2348,9 +2328,9 @@ const deserializeAws_restJson1ListRecipeVersionsCommandError = async (output, co
2348
2328
  });
2349
2329
  }
2350
2330
  };
2351
- const deserializeAws_restJson1ListRulesetsCommand = async (output, context) => {
2331
+ const de_ListRulesetsCommand = async (output, context) => {
2352
2332
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2353
- return deserializeAws_restJson1ListRulesetsCommandError(output, context);
2333
+ return de_ListRulesetsCommandError(output, context);
2354
2334
  }
2355
2335
  const contents = map({
2356
2336
  $metadata: deserializeMetadata(output),
@@ -2360,12 +2340,12 @@ const deserializeAws_restJson1ListRulesetsCommand = async (output, context) => {
2360
2340
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2361
2341
  }
2362
2342
  if (data.Rulesets != null) {
2363
- contents.Rulesets = deserializeAws_restJson1RulesetItemList(data.Rulesets, context);
2343
+ contents.Rulesets = de_RulesetItemList(data.Rulesets, context);
2364
2344
  }
2365
2345
  return contents;
2366
2346
  };
2367
- exports.deserializeAws_restJson1ListRulesetsCommand = deserializeAws_restJson1ListRulesetsCommand;
2368
- const deserializeAws_restJson1ListRulesetsCommandError = async (output, context) => {
2347
+ exports.de_ListRulesetsCommand = de_ListRulesetsCommand;
2348
+ const de_ListRulesetsCommandError = async (output, context) => {
2369
2349
  const parsedOutput = {
2370
2350
  ...output,
2371
2351
  body: await parseErrorBody(output.body, context),
@@ -2374,10 +2354,10 @@ const deserializeAws_restJson1ListRulesetsCommandError = async (output, context)
2374
2354
  switch (errorCode) {
2375
2355
  case "ResourceNotFoundException":
2376
2356
  case "com.amazonaws.databrew#ResourceNotFoundException":
2377
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2357
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2378
2358
  case "ValidationException":
2379
2359
  case "com.amazonaws.databrew#ValidationException":
2380
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2360
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2381
2361
  default:
2382
2362
  const parsedBody = parsedOutput.body;
2383
2363
  (0, smithy_client_1.throwDefaultError)({
@@ -2388,9 +2368,9 @@ const deserializeAws_restJson1ListRulesetsCommandError = async (output, context)
2388
2368
  });
2389
2369
  }
2390
2370
  };
2391
- const deserializeAws_restJson1ListSchedulesCommand = async (output, context) => {
2371
+ const de_ListSchedulesCommand = async (output, context) => {
2392
2372
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2393
- return deserializeAws_restJson1ListSchedulesCommandError(output, context);
2373
+ return de_ListSchedulesCommandError(output, context);
2394
2374
  }
2395
2375
  const contents = map({
2396
2376
  $metadata: deserializeMetadata(output),
@@ -2400,12 +2380,12 @@ const deserializeAws_restJson1ListSchedulesCommand = async (output, context) =>
2400
2380
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
2401
2381
  }
2402
2382
  if (data.Schedules != null) {
2403
- contents.Schedules = deserializeAws_restJson1ScheduleList(data.Schedules, context);
2383
+ contents.Schedules = de_ScheduleList(data.Schedules, context);
2404
2384
  }
2405
2385
  return contents;
2406
2386
  };
2407
- exports.deserializeAws_restJson1ListSchedulesCommand = deserializeAws_restJson1ListSchedulesCommand;
2408
- const deserializeAws_restJson1ListSchedulesCommandError = async (output, context) => {
2387
+ exports.de_ListSchedulesCommand = de_ListSchedulesCommand;
2388
+ const de_ListSchedulesCommandError = async (output, context) => {
2409
2389
  const parsedOutput = {
2410
2390
  ...output,
2411
2391
  body: await parseErrorBody(output.body, context),
@@ -2414,7 +2394,7 @@ const deserializeAws_restJson1ListSchedulesCommandError = async (output, context
2414
2394
  switch (errorCode) {
2415
2395
  case "ValidationException":
2416
2396
  case "com.amazonaws.databrew#ValidationException":
2417
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2397
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2418
2398
  default:
2419
2399
  const parsedBody = parsedOutput.body;
2420
2400
  (0, smithy_client_1.throwDefaultError)({
@@ -2425,21 +2405,21 @@ const deserializeAws_restJson1ListSchedulesCommandError = async (output, context
2425
2405
  });
2426
2406
  }
2427
2407
  };
2428
- const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
2408
+ const de_ListTagsForResourceCommand = async (output, context) => {
2429
2409
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2430
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
2410
+ return de_ListTagsForResourceCommandError(output, context);
2431
2411
  }
2432
2412
  const contents = map({
2433
2413
  $metadata: deserializeMetadata(output),
2434
2414
  });
2435
2415
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2436
2416
  if (data.Tags != null) {
2437
- contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
2417
+ contents.Tags = de_TagMap(data.Tags, context);
2438
2418
  }
2439
2419
  return contents;
2440
2420
  };
2441
- exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_restJson1ListTagsForResourceCommand;
2442
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
2421
+ exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
2422
+ const de_ListTagsForResourceCommandError = async (output, context) => {
2443
2423
  const parsedOutput = {
2444
2424
  ...output,
2445
2425
  body: await parseErrorBody(output.body, context),
@@ -2448,13 +2428,13 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
2448
2428
  switch (errorCode) {
2449
2429
  case "InternalServerException":
2450
2430
  case "com.amazonaws.databrew#InternalServerException":
2451
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2431
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2452
2432
  case "ResourceNotFoundException":
2453
2433
  case "com.amazonaws.databrew#ResourceNotFoundException":
2454
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2434
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2455
2435
  case "ValidationException":
2456
2436
  case "com.amazonaws.databrew#ValidationException":
2457
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2437
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2458
2438
  default:
2459
2439
  const parsedBody = parsedOutput.body;
2460
2440
  (0, smithy_client_1.throwDefaultError)({
@@ -2465,9 +2445,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
2465
2445
  });
2466
2446
  }
2467
2447
  };
2468
- const deserializeAws_restJson1PublishRecipeCommand = async (output, context) => {
2448
+ const de_PublishRecipeCommand = async (output, context) => {
2469
2449
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2470
- return deserializeAws_restJson1PublishRecipeCommandError(output, context);
2450
+ return de_PublishRecipeCommandError(output, context);
2471
2451
  }
2472
2452
  const contents = map({
2473
2453
  $metadata: deserializeMetadata(output),
@@ -2478,8 +2458,8 @@ const deserializeAws_restJson1PublishRecipeCommand = async (output, context) =>
2478
2458
  }
2479
2459
  return contents;
2480
2460
  };
2481
- exports.deserializeAws_restJson1PublishRecipeCommand = deserializeAws_restJson1PublishRecipeCommand;
2482
- const deserializeAws_restJson1PublishRecipeCommandError = async (output, context) => {
2461
+ exports.de_PublishRecipeCommand = de_PublishRecipeCommand;
2462
+ const de_PublishRecipeCommandError = async (output, context) => {
2483
2463
  const parsedOutput = {
2484
2464
  ...output,
2485
2465
  body: await parseErrorBody(output.body, context),
@@ -2488,13 +2468,13 @@ const deserializeAws_restJson1PublishRecipeCommandError = async (output, context
2488
2468
  switch (errorCode) {
2489
2469
  case "ResourceNotFoundException":
2490
2470
  case "com.amazonaws.databrew#ResourceNotFoundException":
2491
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2471
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2492
2472
  case "ServiceQuotaExceededException":
2493
2473
  case "com.amazonaws.databrew#ServiceQuotaExceededException":
2494
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
2474
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
2495
2475
  case "ValidationException":
2496
2476
  case "com.amazonaws.databrew#ValidationException":
2497
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2477
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2498
2478
  default:
2499
2479
  const parsedBody = parsedOutput.body;
2500
2480
  (0, smithy_client_1.throwDefaultError)({
@@ -2505,9 +2485,9 @@ const deserializeAws_restJson1PublishRecipeCommandError = async (output, context
2505
2485
  });
2506
2486
  }
2507
2487
  };
2508
- const deserializeAws_restJson1SendProjectSessionActionCommand = async (output, context) => {
2488
+ const de_SendProjectSessionActionCommand = async (output, context) => {
2509
2489
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2510
- return deserializeAws_restJson1SendProjectSessionActionCommandError(output, context);
2490
+ return de_SendProjectSessionActionCommandError(output, context);
2511
2491
  }
2512
2492
  const contents = map({
2513
2493
  $metadata: deserializeMetadata(output),
@@ -2524,8 +2504,8 @@ const deserializeAws_restJson1SendProjectSessionActionCommand = async (output, c
2524
2504
  }
2525
2505
  return contents;
2526
2506
  };
2527
- exports.deserializeAws_restJson1SendProjectSessionActionCommand = deserializeAws_restJson1SendProjectSessionActionCommand;
2528
- const deserializeAws_restJson1SendProjectSessionActionCommandError = async (output, context) => {
2507
+ exports.de_SendProjectSessionActionCommand = de_SendProjectSessionActionCommand;
2508
+ const de_SendProjectSessionActionCommandError = async (output, context) => {
2529
2509
  const parsedOutput = {
2530
2510
  ...output,
2531
2511
  body: await parseErrorBody(output.body, context),
@@ -2534,13 +2514,13 @@ const deserializeAws_restJson1SendProjectSessionActionCommandError = async (outp
2534
2514
  switch (errorCode) {
2535
2515
  case "ConflictException":
2536
2516
  case "com.amazonaws.databrew#ConflictException":
2537
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2517
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2538
2518
  case "ResourceNotFoundException":
2539
2519
  case "com.amazonaws.databrew#ResourceNotFoundException":
2540
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2520
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2541
2521
  case "ValidationException":
2542
2522
  case "com.amazonaws.databrew#ValidationException":
2543
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2523
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2544
2524
  default:
2545
2525
  const parsedBody = parsedOutput.body;
2546
2526
  (0, smithy_client_1.throwDefaultError)({
@@ -2551,9 +2531,9 @@ const deserializeAws_restJson1SendProjectSessionActionCommandError = async (outp
2551
2531
  });
2552
2532
  }
2553
2533
  };
2554
- const deserializeAws_restJson1StartJobRunCommand = async (output, context) => {
2534
+ const de_StartJobRunCommand = async (output, context) => {
2555
2535
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2556
- return deserializeAws_restJson1StartJobRunCommandError(output, context);
2536
+ return de_StartJobRunCommandError(output, context);
2557
2537
  }
2558
2538
  const contents = map({
2559
2539
  $metadata: deserializeMetadata(output),
@@ -2564,8 +2544,8 @@ const deserializeAws_restJson1StartJobRunCommand = async (output, context) => {
2564
2544
  }
2565
2545
  return contents;
2566
2546
  };
2567
- exports.deserializeAws_restJson1StartJobRunCommand = deserializeAws_restJson1StartJobRunCommand;
2568
- const deserializeAws_restJson1StartJobRunCommandError = async (output, context) => {
2547
+ exports.de_StartJobRunCommand = de_StartJobRunCommand;
2548
+ const de_StartJobRunCommandError = async (output, context) => {
2569
2549
  const parsedOutput = {
2570
2550
  ...output,
2571
2551
  body: await parseErrorBody(output.body, context),
@@ -2574,16 +2554,16 @@ const deserializeAws_restJson1StartJobRunCommandError = async (output, context)
2574
2554
  switch (errorCode) {
2575
2555
  case "ConflictException":
2576
2556
  case "com.amazonaws.databrew#ConflictException":
2577
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2557
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2578
2558
  case "ResourceNotFoundException":
2579
2559
  case "com.amazonaws.databrew#ResourceNotFoundException":
2580
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2560
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2581
2561
  case "ServiceQuotaExceededException":
2582
2562
  case "com.amazonaws.databrew#ServiceQuotaExceededException":
2583
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
2563
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
2584
2564
  case "ValidationException":
2585
2565
  case "com.amazonaws.databrew#ValidationException":
2586
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2566
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2587
2567
  default:
2588
2568
  const parsedBody = parsedOutput.body;
2589
2569
  (0, smithy_client_1.throwDefaultError)({
@@ -2594,9 +2574,9 @@ const deserializeAws_restJson1StartJobRunCommandError = async (output, context)
2594
2574
  });
2595
2575
  }
2596
2576
  };
2597
- const deserializeAws_restJson1StartProjectSessionCommand = async (output, context) => {
2577
+ const de_StartProjectSessionCommand = async (output, context) => {
2598
2578
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2599
- return deserializeAws_restJson1StartProjectSessionCommandError(output, context);
2579
+ return de_StartProjectSessionCommandError(output, context);
2600
2580
  }
2601
2581
  const contents = map({
2602
2582
  $metadata: deserializeMetadata(output),
@@ -2610,8 +2590,8 @@ const deserializeAws_restJson1StartProjectSessionCommand = async (output, contex
2610
2590
  }
2611
2591
  return contents;
2612
2592
  };
2613
- exports.deserializeAws_restJson1StartProjectSessionCommand = deserializeAws_restJson1StartProjectSessionCommand;
2614
- const deserializeAws_restJson1StartProjectSessionCommandError = async (output, context) => {
2593
+ exports.de_StartProjectSessionCommand = de_StartProjectSessionCommand;
2594
+ const de_StartProjectSessionCommandError = async (output, context) => {
2615
2595
  const parsedOutput = {
2616
2596
  ...output,
2617
2597
  body: await parseErrorBody(output.body, context),
@@ -2620,16 +2600,16 @@ const deserializeAws_restJson1StartProjectSessionCommandError = async (output, c
2620
2600
  switch (errorCode) {
2621
2601
  case "ConflictException":
2622
2602
  case "com.amazonaws.databrew#ConflictException":
2623
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
2603
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2624
2604
  case "ResourceNotFoundException":
2625
2605
  case "com.amazonaws.databrew#ResourceNotFoundException":
2626
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2606
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2627
2607
  case "ServiceQuotaExceededException":
2628
2608
  case "com.amazonaws.databrew#ServiceQuotaExceededException":
2629
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
2609
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
2630
2610
  case "ValidationException":
2631
2611
  case "com.amazonaws.databrew#ValidationException":
2632
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2612
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2633
2613
  default:
2634
2614
  const parsedBody = parsedOutput.body;
2635
2615
  (0, smithy_client_1.throwDefaultError)({
@@ -2640,9 +2620,9 @@ const deserializeAws_restJson1StartProjectSessionCommandError = async (output, c
2640
2620
  });
2641
2621
  }
2642
2622
  };
2643
- const deserializeAws_restJson1StopJobRunCommand = async (output, context) => {
2623
+ const de_StopJobRunCommand = async (output, context) => {
2644
2624
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2645
- return deserializeAws_restJson1StopJobRunCommandError(output, context);
2625
+ return de_StopJobRunCommandError(output, context);
2646
2626
  }
2647
2627
  const contents = map({
2648
2628
  $metadata: deserializeMetadata(output),
@@ -2653,8 +2633,8 @@ const deserializeAws_restJson1StopJobRunCommand = async (output, context) => {
2653
2633
  }
2654
2634
  return contents;
2655
2635
  };
2656
- exports.deserializeAws_restJson1StopJobRunCommand = deserializeAws_restJson1StopJobRunCommand;
2657
- const deserializeAws_restJson1StopJobRunCommandError = async (output, context) => {
2636
+ exports.de_StopJobRunCommand = de_StopJobRunCommand;
2637
+ const de_StopJobRunCommandError = async (output, context) => {
2658
2638
  const parsedOutput = {
2659
2639
  ...output,
2660
2640
  body: await parseErrorBody(output.body, context),
@@ -2663,10 +2643,10 @@ const deserializeAws_restJson1StopJobRunCommandError = async (output, context) =
2663
2643
  switch (errorCode) {
2664
2644
  case "ResourceNotFoundException":
2665
2645
  case "com.amazonaws.databrew#ResourceNotFoundException":
2666
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2646
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2667
2647
  case "ValidationException":
2668
2648
  case "com.amazonaws.databrew#ValidationException":
2669
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2649
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2670
2650
  default:
2671
2651
  const parsedBody = parsedOutput.body;
2672
2652
  (0, smithy_client_1.throwDefaultError)({
@@ -2677,9 +2657,9 @@ const deserializeAws_restJson1StopJobRunCommandError = async (output, context) =
2677
2657
  });
2678
2658
  }
2679
2659
  };
2680
- const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
2660
+ const de_TagResourceCommand = async (output, context) => {
2681
2661
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2682
- return deserializeAws_restJson1TagResourceCommandError(output, context);
2662
+ return de_TagResourceCommandError(output, context);
2683
2663
  }
2684
2664
  const contents = map({
2685
2665
  $metadata: deserializeMetadata(output),
@@ -2687,8 +2667,8 @@ const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
2687
2667
  await collectBody(output.body, context);
2688
2668
  return contents;
2689
2669
  };
2690
- exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1TagResourceCommand;
2691
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
2670
+ exports.de_TagResourceCommand = de_TagResourceCommand;
2671
+ const de_TagResourceCommandError = async (output, context) => {
2692
2672
  const parsedOutput = {
2693
2673
  ...output,
2694
2674
  body: await parseErrorBody(output.body, context),
@@ -2697,13 +2677,13 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
2697
2677
  switch (errorCode) {
2698
2678
  case "InternalServerException":
2699
2679
  case "com.amazonaws.databrew#InternalServerException":
2700
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2680
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2701
2681
  case "ResourceNotFoundException":
2702
2682
  case "com.amazonaws.databrew#ResourceNotFoundException":
2703
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2683
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2704
2684
  case "ValidationException":
2705
2685
  case "com.amazonaws.databrew#ValidationException":
2706
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2686
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2707
2687
  default:
2708
2688
  const parsedBody = parsedOutput.body;
2709
2689
  (0, smithy_client_1.throwDefaultError)({
@@ -2714,9 +2694,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
2714
2694
  });
2715
2695
  }
2716
2696
  };
2717
- const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
2697
+ const de_UntagResourceCommand = async (output, context) => {
2718
2698
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2719
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
2699
+ return de_UntagResourceCommandError(output, context);
2720
2700
  }
2721
2701
  const contents = map({
2722
2702
  $metadata: deserializeMetadata(output),
@@ -2724,8 +2704,8 @@ const deserializeAws_restJson1UntagResourceCommand = async (output, context) =>
2724
2704
  await collectBody(output.body, context);
2725
2705
  return contents;
2726
2706
  };
2727
- exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1UntagResourceCommand;
2728
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
2707
+ exports.de_UntagResourceCommand = de_UntagResourceCommand;
2708
+ const de_UntagResourceCommandError = async (output, context) => {
2729
2709
  const parsedOutput = {
2730
2710
  ...output,
2731
2711
  body: await parseErrorBody(output.body, context),
@@ -2734,13 +2714,13 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
2734
2714
  switch (errorCode) {
2735
2715
  case "InternalServerException":
2736
2716
  case "com.amazonaws.databrew#InternalServerException":
2737
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2717
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2738
2718
  case "ResourceNotFoundException":
2739
2719
  case "com.amazonaws.databrew#ResourceNotFoundException":
2740
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2720
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2741
2721
  case "ValidationException":
2742
2722
  case "com.amazonaws.databrew#ValidationException":
2743
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2723
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2744
2724
  default:
2745
2725
  const parsedBody = parsedOutput.body;
2746
2726
  (0, smithy_client_1.throwDefaultError)({
@@ -2751,9 +2731,9 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
2751
2731
  });
2752
2732
  }
2753
2733
  };
2754
- const deserializeAws_restJson1UpdateDatasetCommand = async (output, context) => {
2734
+ const de_UpdateDatasetCommand = async (output, context) => {
2755
2735
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2756
- return deserializeAws_restJson1UpdateDatasetCommandError(output, context);
2736
+ return de_UpdateDatasetCommandError(output, context);
2757
2737
  }
2758
2738
  const contents = map({
2759
2739
  $metadata: deserializeMetadata(output),
@@ -2764,8 +2744,8 @@ const deserializeAws_restJson1UpdateDatasetCommand = async (output, context) =>
2764
2744
  }
2765
2745
  return contents;
2766
2746
  };
2767
- exports.deserializeAws_restJson1UpdateDatasetCommand = deserializeAws_restJson1UpdateDatasetCommand;
2768
- const deserializeAws_restJson1UpdateDatasetCommandError = async (output, context) => {
2747
+ exports.de_UpdateDatasetCommand = de_UpdateDatasetCommand;
2748
+ const de_UpdateDatasetCommandError = async (output, context) => {
2769
2749
  const parsedOutput = {
2770
2750
  ...output,
2771
2751
  body: await parseErrorBody(output.body, context),
@@ -2774,13 +2754,13 @@ const deserializeAws_restJson1UpdateDatasetCommandError = async (output, context
2774
2754
  switch (errorCode) {
2775
2755
  case "AccessDeniedException":
2776
2756
  case "com.amazonaws.databrew#AccessDeniedException":
2777
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2757
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2778
2758
  case "ResourceNotFoundException":
2779
2759
  case "com.amazonaws.databrew#ResourceNotFoundException":
2780
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2760
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2781
2761
  case "ValidationException":
2782
2762
  case "com.amazonaws.databrew#ValidationException":
2783
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2763
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2784
2764
  default:
2785
2765
  const parsedBody = parsedOutput.body;
2786
2766
  (0, smithy_client_1.throwDefaultError)({
@@ -2791,9 +2771,9 @@ const deserializeAws_restJson1UpdateDatasetCommandError = async (output, context
2791
2771
  });
2792
2772
  }
2793
2773
  };
2794
- const deserializeAws_restJson1UpdateProfileJobCommand = async (output, context) => {
2774
+ const de_UpdateProfileJobCommand = async (output, context) => {
2795
2775
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2796
- return deserializeAws_restJson1UpdateProfileJobCommandError(output, context);
2776
+ return de_UpdateProfileJobCommandError(output, context);
2797
2777
  }
2798
2778
  const contents = map({
2799
2779
  $metadata: deserializeMetadata(output),
@@ -2804,8 +2784,8 @@ const deserializeAws_restJson1UpdateProfileJobCommand = async (output, context)
2804
2784
  }
2805
2785
  return contents;
2806
2786
  };
2807
- exports.deserializeAws_restJson1UpdateProfileJobCommand = deserializeAws_restJson1UpdateProfileJobCommand;
2808
- const deserializeAws_restJson1UpdateProfileJobCommandError = async (output, context) => {
2787
+ exports.de_UpdateProfileJobCommand = de_UpdateProfileJobCommand;
2788
+ const de_UpdateProfileJobCommandError = async (output, context) => {
2809
2789
  const parsedOutput = {
2810
2790
  ...output,
2811
2791
  body: await parseErrorBody(output.body, context),
@@ -2814,13 +2794,13 @@ const deserializeAws_restJson1UpdateProfileJobCommandError = async (output, cont
2814
2794
  switch (errorCode) {
2815
2795
  case "AccessDeniedException":
2816
2796
  case "com.amazonaws.databrew#AccessDeniedException":
2817
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2797
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2818
2798
  case "ResourceNotFoundException":
2819
2799
  case "com.amazonaws.databrew#ResourceNotFoundException":
2820
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2800
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2821
2801
  case "ValidationException":
2822
2802
  case "com.amazonaws.databrew#ValidationException":
2823
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2803
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2824
2804
  default:
2825
2805
  const parsedBody = parsedOutput.body;
2826
2806
  (0, smithy_client_1.throwDefaultError)({
@@ -2831,9 +2811,9 @@ const deserializeAws_restJson1UpdateProfileJobCommandError = async (output, cont
2831
2811
  });
2832
2812
  }
2833
2813
  };
2834
- const deserializeAws_restJson1UpdateProjectCommand = async (output, context) => {
2814
+ const de_UpdateProjectCommand = async (output, context) => {
2835
2815
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2836
- return deserializeAws_restJson1UpdateProjectCommandError(output, context);
2816
+ return de_UpdateProjectCommandError(output, context);
2837
2817
  }
2838
2818
  const contents = map({
2839
2819
  $metadata: deserializeMetadata(output),
@@ -2847,8 +2827,8 @@ const deserializeAws_restJson1UpdateProjectCommand = async (output, context) =>
2847
2827
  }
2848
2828
  return contents;
2849
2829
  };
2850
- exports.deserializeAws_restJson1UpdateProjectCommand = deserializeAws_restJson1UpdateProjectCommand;
2851
- const deserializeAws_restJson1UpdateProjectCommandError = async (output, context) => {
2830
+ exports.de_UpdateProjectCommand = de_UpdateProjectCommand;
2831
+ const de_UpdateProjectCommandError = async (output, context) => {
2852
2832
  const parsedOutput = {
2853
2833
  ...output,
2854
2834
  body: await parseErrorBody(output.body, context),
@@ -2857,10 +2837,10 @@ const deserializeAws_restJson1UpdateProjectCommandError = async (output, context
2857
2837
  switch (errorCode) {
2858
2838
  case "ResourceNotFoundException":
2859
2839
  case "com.amazonaws.databrew#ResourceNotFoundException":
2860
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2840
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2861
2841
  case "ValidationException":
2862
2842
  case "com.amazonaws.databrew#ValidationException":
2863
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2843
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2864
2844
  default:
2865
2845
  const parsedBody = parsedOutput.body;
2866
2846
  (0, smithy_client_1.throwDefaultError)({
@@ -2871,9 +2851,9 @@ const deserializeAws_restJson1UpdateProjectCommandError = async (output, context
2871
2851
  });
2872
2852
  }
2873
2853
  };
2874
- const deserializeAws_restJson1UpdateRecipeCommand = async (output, context) => {
2854
+ const de_UpdateRecipeCommand = async (output, context) => {
2875
2855
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2876
- return deserializeAws_restJson1UpdateRecipeCommandError(output, context);
2856
+ return de_UpdateRecipeCommandError(output, context);
2877
2857
  }
2878
2858
  const contents = map({
2879
2859
  $metadata: deserializeMetadata(output),
@@ -2884,8 +2864,8 @@ const deserializeAws_restJson1UpdateRecipeCommand = async (output, context) => {
2884
2864
  }
2885
2865
  return contents;
2886
2866
  };
2887
- exports.deserializeAws_restJson1UpdateRecipeCommand = deserializeAws_restJson1UpdateRecipeCommand;
2888
- const deserializeAws_restJson1UpdateRecipeCommandError = async (output, context) => {
2867
+ exports.de_UpdateRecipeCommand = de_UpdateRecipeCommand;
2868
+ const de_UpdateRecipeCommandError = async (output, context) => {
2889
2869
  const parsedOutput = {
2890
2870
  ...output,
2891
2871
  body: await parseErrorBody(output.body, context),
@@ -2894,10 +2874,10 @@ const deserializeAws_restJson1UpdateRecipeCommandError = async (output, context)
2894
2874
  switch (errorCode) {
2895
2875
  case "ResourceNotFoundException":
2896
2876
  case "com.amazonaws.databrew#ResourceNotFoundException":
2897
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2877
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2898
2878
  case "ValidationException":
2899
2879
  case "com.amazonaws.databrew#ValidationException":
2900
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2880
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2901
2881
  default:
2902
2882
  const parsedBody = parsedOutput.body;
2903
2883
  (0, smithy_client_1.throwDefaultError)({
@@ -2908,9 +2888,9 @@ const deserializeAws_restJson1UpdateRecipeCommandError = async (output, context)
2908
2888
  });
2909
2889
  }
2910
2890
  };
2911
- const deserializeAws_restJson1UpdateRecipeJobCommand = async (output, context) => {
2891
+ const de_UpdateRecipeJobCommand = async (output, context) => {
2912
2892
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2913
- return deserializeAws_restJson1UpdateRecipeJobCommandError(output, context);
2893
+ return de_UpdateRecipeJobCommandError(output, context);
2914
2894
  }
2915
2895
  const contents = map({
2916
2896
  $metadata: deserializeMetadata(output),
@@ -2921,8 +2901,8 @@ const deserializeAws_restJson1UpdateRecipeJobCommand = async (output, context) =
2921
2901
  }
2922
2902
  return contents;
2923
2903
  };
2924
- exports.deserializeAws_restJson1UpdateRecipeJobCommand = deserializeAws_restJson1UpdateRecipeJobCommand;
2925
- const deserializeAws_restJson1UpdateRecipeJobCommandError = async (output, context) => {
2904
+ exports.de_UpdateRecipeJobCommand = de_UpdateRecipeJobCommand;
2905
+ const de_UpdateRecipeJobCommandError = async (output, context) => {
2926
2906
  const parsedOutput = {
2927
2907
  ...output,
2928
2908
  body: await parseErrorBody(output.body, context),
@@ -2931,13 +2911,13 @@ const deserializeAws_restJson1UpdateRecipeJobCommandError = async (output, conte
2931
2911
  switch (errorCode) {
2932
2912
  case "AccessDeniedException":
2933
2913
  case "com.amazonaws.databrew#AccessDeniedException":
2934
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
2914
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2935
2915
  case "ResourceNotFoundException":
2936
2916
  case "com.amazonaws.databrew#ResourceNotFoundException":
2937
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2917
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2938
2918
  case "ValidationException":
2939
2919
  case "com.amazonaws.databrew#ValidationException":
2940
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2920
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2941
2921
  default:
2942
2922
  const parsedBody = parsedOutput.body;
2943
2923
  (0, smithy_client_1.throwDefaultError)({
@@ -2948,9 +2928,9 @@ const deserializeAws_restJson1UpdateRecipeJobCommandError = async (output, conte
2948
2928
  });
2949
2929
  }
2950
2930
  };
2951
- const deserializeAws_restJson1UpdateRulesetCommand = async (output, context) => {
2931
+ const de_UpdateRulesetCommand = async (output, context) => {
2952
2932
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2953
- return deserializeAws_restJson1UpdateRulesetCommandError(output, context);
2933
+ return de_UpdateRulesetCommandError(output, context);
2954
2934
  }
2955
2935
  const contents = map({
2956
2936
  $metadata: deserializeMetadata(output),
@@ -2961,8 +2941,8 @@ const deserializeAws_restJson1UpdateRulesetCommand = async (output, context) =>
2961
2941
  }
2962
2942
  return contents;
2963
2943
  };
2964
- exports.deserializeAws_restJson1UpdateRulesetCommand = deserializeAws_restJson1UpdateRulesetCommand;
2965
- const deserializeAws_restJson1UpdateRulesetCommandError = async (output, context) => {
2944
+ exports.de_UpdateRulesetCommand = de_UpdateRulesetCommand;
2945
+ const de_UpdateRulesetCommandError = async (output, context) => {
2966
2946
  const parsedOutput = {
2967
2947
  ...output,
2968
2948
  body: await parseErrorBody(output.body, context),
@@ -2971,10 +2951,10 @@ const deserializeAws_restJson1UpdateRulesetCommandError = async (output, context
2971
2951
  switch (errorCode) {
2972
2952
  case "ResourceNotFoundException":
2973
2953
  case "com.amazonaws.databrew#ResourceNotFoundException":
2974
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2954
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2975
2955
  case "ValidationException":
2976
2956
  case "com.amazonaws.databrew#ValidationException":
2977
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2957
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2978
2958
  default:
2979
2959
  const parsedBody = parsedOutput.body;
2980
2960
  (0, smithy_client_1.throwDefaultError)({
@@ -2985,9 +2965,9 @@ const deserializeAws_restJson1UpdateRulesetCommandError = async (output, context
2985
2965
  });
2986
2966
  }
2987
2967
  };
2988
- const deserializeAws_restJson1UpdateScheduleCommand = async (output, context) => {
2968
+ const de_UpdateScheduleCommand = async (output, context) => {
2989
2969
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2990
- return deserializeAws_restJson1UpdateScheduleCommandError(output, context);
2970
+ return de_UpdateScheduleCommandError(output, context);
2991
2971
  }
2992
2972
  const contents = map({
2993
2973
  $metadata: deserializeMetadata(output),
@@ -2998,8 +2978,8 @@ const deserializeAws_restJson1UpdateScheduleCommand = async (output, context) =>
2998
2978
  }
2999
2979
  return contents;
3000
2980
  };
3001
- exports.deserializeAws_restJson1UpdateScheduleCommand = deserializeAws_restJson1UpdateScheduleCommand;
3002
- const deserializeAws_restJson1UpdateScheduleCommandError = async (output, context) => {
2981
+ exports.de_UpdateScheduleCommand = de_UpdateScheduleCommand;
2982
+ const de_UpdateScheduleCommandError = async (output, context) => {
3003
2983
  const parsedOutput = {
3004
2984
  ...output,
3005
2985
  body: await parseErrorBody(output.body, context),
@@ -3008,13 +2988,13 @@ const deserializeAws_restJson1UpdateScheduleCommandError = async (output, contex
3008
2988
  switch (errorCode) {
3009
2989
  case "ResourceNotFoundException":
3010
2990
  case "com.amazonaws.databrew#ResourceNotFoundException":
3011
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2991
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
3012
2992
  case "ServiceQuotaExceededException":
3013
2993
  case "com.amazonaws.databrew#ServiceQuotaExceededException":
3014
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
2994
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
3015
2995
  case "ValidationException":
3016
2996
  case "com.amazonaws.databrew#ValidationException":
3017
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2997
+ throw await de_ValidationExceptionRes(parsedOutput, context);
3018
2998
  default:
3019
2999
  const parsedBody = parsedOutput.body;
3020
3000
  (0, smithy_client_1.throwDefaultError)({
@@ -3026,7 +3006,7 @@ const deserializeAws_restJson1UpdateScheduleCommandError = async (output, contex
3026
3006
  }
3027
3007
  };
3028
3008
  const map = smithy_client_1.map;
3029
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
3009
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
3030
3010
  const contents = map({});
3031
3011
  const data = parsedOutput.body;
3032
3012
  if (data.Message != null) {
@@ -3038,7 +3018,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
3038
3018
  });
3039
3019
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3040
3020
  };
3041
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
3021
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
3042
3022
  const contents = map({});
3043
3023
  const data = parsedOutput.body;
3044
3024
  if (data.Message != null) {
@@ -3050,7 +3030,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
3050
3030
  });
3051
3031
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3052
3032
  };
3053
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
3033
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
3054
3034
  const contents = map({});
3055
3035
  const data = parsedOutput.body;
3056
3036
  if (data.Message != null) {
@@ -3062,7 +3042,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
3062
3042
  });
3063
3043
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3064
3044
  };
3065
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
3045
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
3066
3046
  const contents = map({});
3067
3047
  const data = parsedOutput.body;
3068
3048
  if (data.Message != null) {
@@ -3074,7 +3054,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
3074
3054
  });
3075
3055
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3076
3056
  };
3077
- const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
3057
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
3078
3058
  const contents = map({});
3079
3059
  const data = parsedOutput.body;
3080
3060
  if (data.Message != null) {
@@ -3086,7 +3066,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
3086
3066
  });
3087
3067
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3088
3068
  };
3089
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
3069
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
3090
3070
  const contents = map({});
3091
3071
  const data = parsedOutput.body;
3092
3072
  if (data.Message != null) {
@@ -3098,275 +3078,257 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
3098
3078
  });
3099
3079
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
3100
3080
  };
3101
- const serializeAws_restJson1AllowedStatisticList = (input, context) => {
3081
+ const se_AllowedStatisticList = (input, context) => {
3102
3082
  return input
3103
3083
  .filter((e) => e != null)
3104
3084
  .map((entry) => {
3105
- return serializeAws_restJson1AllowedStatistics(entry, context);
3085
+ return se_AllowedStatistics(entry, context);
3106
3086
  });
3107
3087
  };
3108
- const serializeAws_restJson1AllowedStatistics = (input, context) => {
3088
+ const se_AllowedStatistics = (input, context) => {
3109
3089
  return {
3110
- ...(input.Statistics != null && { Statistics: serializeAws_restJson1StatisticList(input.Statistics, context) }),
3090
+ ...(input.Statistics != null && { Statistics: se_StatisticList(input.Statistics, context) }),
3111
3091
  };
3112
3092
  };
3113
- const serializeAws_restJson1ColumnNameList = (input, context) => {
3093
+ const se_ColumnNameList = (input, context) => {
3114
3094
  return input
3115
3095
  .filter((e) => e != null)
3116
3096
  .map((entry) => {
3117
3097
  return entry;
3118
3098
  });
3119
3099
  };
3120
- const serializeAws_restJson1ColumnSelector = (input, context) => {
3100
+ const se_ColumnSelector = (input, context) => {
3121
3101
  return {
3122
3102
  ...(input.Name != null && { Name: input.Name }),
3123
3103
  ...(input.Regex != null && { Regex: input.Regex }),
3124
3104
  };
3125
3105
  };
3126
- const serializeAws_restJson1ColumnSelectorList = (input, context) => {
3106
+ const se_ColumnSelectorList = (input, context) => {
3127
3107
  return input
3128
3108
  .filter((e) => e != null)
3129
3109
  .map((entry) => {
3130
- return serializeAws_restJson1ColumnSelector(entry, context);
3110
+ return se_ColumnSelector(entry, context);
3131
3111
  });
3132
3112
  };
3133
- const serializeAws_restJson1ColumnStatisticsConfiguration = (input, context) => {
3113
+ const se_ColumnStatisticsConfiguration = (input, context) => {
3134
3114
  return {
3135
- ...(input.Selectors != null && { Selectors: serializeAws_restJson1ColumnSelectorList(input.Selectors, context) }),
3136
- ...(input.Statistics != null && {
3137
- Statistics: serializeAws_restJson1StatisticsConfiguration(input.Statistics, context),
3138
- }),
3115
+ ...(input.Selectors != null && { Selectors: se_ColumnSelectorList(input.Selectors, context) }),
3116
+ ...(input.Statistics != null && { Statistics: se_StatisticsConfiguration(input.Statistics, context) }),
3139
3117
  };
3140
3118
  };
3141
- const serializeAws_restJson1ColumnStatisticsConfigurationList = (input, context) => {
3119
+ const se_ColumnStatisticsConfigurationList = (input, context) => {
3142
3120
  return input
3143
3121
  .filter((e) => e != null)
3144
3122
  .map((entry) => {
3145
- return serializeAws_restJson1ColumnStatisticsConfiguration(entry, context);
3123
+ return se_ColumnStatisticsConfiguration(entry, context);
3146
3124
  });
3147
3125
  };
3148
- const serializeAws_restJson1ConditionExpression = (input, context) => {
3126
+ const se_ConditionExpression = (input, context) => {
3149
3127
  return {
3150
3128
  ...(input.Condition != null && { Condition: input.Condition }),
3151
3129
  ...(input.TargetColumn != null && { TargetColumn: input.TargetColumn }),
3152
3130
  ...(input.Value != null && { Value: input.Value }),
3153
3131
  };
3154
3132
  };
3155
- const serializeAws_restJson1ConditionExpressionList = (input, context) => {
3133
+ const se_ConditionExpressionList = (input, context) => {
3156
3134
  return input
3157
3135
  .filter((e) => e != null)
3158
3136
  .map((entry) => {
3159
- return serializeAws_restJson1ConditionExpression(entry, context);
3137
+ return se_ConditionExpression(entry, context);
3160
3138
  });
3161
3139
  };
3162
- const serializeAws_restJson1CsvOptions = (input, context) => {
3140
+ const se_CsvOptions = (input, context) => {
3163
3141
  return {
3164
3142
  ...(input.Delimiter != null && { Delimiter: input.Delimiter }),
3165
3143
  ...(input.HeaderRow != null && { HeaderRow: input.HeaderRow }),
3166
3144
  };
3167
3145
  };
3168
- const serializeAws_restJson1CsvOutputOptions = (input, context) => {
3146
+ const se_CsvOutputOptions = (input, context) => {
3169
3147
  return {
3170
3148
  ...(input.Delimiter != null && { Delimiter: input.Delimiter }),
3171
3149
  };
3172
3150
  };
3173
- const serializeAws_restJson1DatabaseInputDefinition = (input, context) => {
3151
+ const se_DatabaseInputDefinition = (input, context) => {
3174
3152
  return {
3175
3153
  ...(input.DatabaseTableName != null && { DatabaseTableName: input.DatabaseTableName }),
3176
3154
  ...(input.GlueConnectionName != null && { GlueConnectionName: input.GlueConnectionName }),
3177
3155
  ...(input.QueryString != null && { QueryString: input.QueryString }),
3178
- ...(input.TempDirectory != null && {
3179
- TempDirectory: serializeAws_restJson1S3Location(input.TempDirectory, context),
3180
- }),
3156
+ ...(input.TempDirectory != null && { TempDirectory: se_S3Location(input.TempDirectory, context) }),
3181
3157
  };
3182
3158
  };
3183
- const serializeAws_restJson1DatabaseOutput = (input, context) => {
3159
+ const se_DatabaseOutput = (input, context) => {
3184
3160
  return {
3185
3161
  ...(input.DatabaseOptions != null && {
3186
- DatabaseOptions: serializeAws_restJson1DatabaseTableOutputOptions(input.DatabaseOptions, context),
3162
+ DatabaseOptions: se_DatabaseTableOutputOptions(input.DatabaseOptions, context),
3187
3163
  }),
3188
3164
  ...(input.DatabaseOutputMode != null && { DatabaseOutputMode: input.DatabaseOutputMode }),
3189
3165
  ...(input.GlueConnectionName != null && { GlueConnectionName: input.GlueConnectionName }),
3190
3166
  };
3191
3167
  };
3192
- const serializeAws_restJson1DatabaseOutputList = (input, context) => {
3168
+ const se_DatabaseOutputList = (input, context) => {
3193
3169
  return input
3194
3170
  .filter((e) => e != null)
3195
3171
  .map((entry) => {
3196
- return serializeAws_restJson1DatabaseOutput(entry, context);
3172
+ return se_DatabaseOutput(entry, context);
3197
3173
  });
3198
3174
  };
3199
- const serializeAws_restJson1DatabaseTableOutputOptions = (input, context) => {
3175
+ const se_DatabaseTableOutputOptions = (input, context) => {
3200
3176
  return {
3201
3177
  ...(input.TableName != null && { TableName: input.TableName }),
3202
- ...(input.TempDirectory != null && {
3203
- TempDirectory: serializeAws_restJson1S3Location(input.TempDirectory, context),
3204
- }),
3178
+ ...(input.TempDirectory != null && { TempDirectory: se_S3Location(input.TempDirectory, context) }),
3205
3179
  };
3206
3180
  };
3207
- const serializeAws_restJson1DataCatalogInputDefinition = (input, context) => {
3181
+ const se_DataCatalogInputDefinition = (input, context) => {
3208
3182
  return {
3209
3183
  ...(input.CatalogId != null && { CatalogId: input.CatalogId }),
3210
3184
  ...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
3211
3185
  ...(input.TableName != null && { TableName: input.TableName }),
3212
- ...(input.TempDirectory != null && {
3213
- TempDirectory: serializeAws_restJson1S3Location(input.TempDirectory, context),
3214
- }),
3186
+ ...(input.TempDirectory != null && { TempDirectory: se_S3Location(input.TempDirectory, context) }),
3215
3187
  };
3216
3188
  };
3217
- const serializeAws_restJson1DataCatalogOutput = (input, context) => {
3189
+ const se_DataCatalogOutput = (input, context) => {
3218
3190
  return {
3219
3191
  ...(input.CatalogId != null && { CatalogId: input.CatalogId }),
3220
3192
  ...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
3221
3193
  ...(input.DatabaseOptions != null && {
3222
- DatabaseOptions: serializeAws_restJson1DatabaseTableOutputOptions(input.DatabaseOptions, context),
3194
+ DatabaseOptions: se_DatabaseTableOutputOptions(input.DatabaseOptions, context),
3223
3195
  }),
3224
3196
  ...(input.Overwrite != null && { Overwrite: input.Overwrite }),
3225
- ...(input.S3Options != null && { S3Options: serializeAws_restJson1S3TableOutputOptions(input.S3Options, context) }),
3197
+ ...(input.S3Options != null && { S3Options: se_S3TableOutputOptions(input.S3Options, context) }),
3226
3198
  ...(input.TableName != null && { TableName: input.TableName }),
3227
3199
  };
3228
3200
  };
3229
- const serializeAws_restJson1DataCatalogOutputList = (input, context) => {
3201
+ const se_DataCatalogOutputList = (input, context) => {
3230
3202
  return input
3231
3203
  .filter((e) => e != null)
3232
3204
  .map((entry) => {
3233
- return serializeAws_restJson1DataCatalogOutput(entry, context);
3205
+ return se_DataCatalogOutput(entry, context);
3234
3206
  });
3235
3207
  };
3236
- const serializeAws_restJson1DatasetParameter = (input, context) => {
3208
+ const se_DatasetParameter = (input, context) => {
3237
3209
  return {
3238
3210
  ...(input.CreateColumn != null && { CreateColumn: input.CreateColumn }),
3239
- ...(input.DatetimeOptions != null && {
3240
- DatetimeOptions: serializeAws_restJson1DatetimeOptions(input.DatetimeOptions, context),
3241
- }),
3242
- ...(input.Filter != null && { Filter: serializeAws_restJson1FilterExpression(input.Filter, context) }),
3211
+ ...(input.DatetimeOptions != null && { DatetimeOptions: se_DatetimeOptions(input.DatetimeOptions, context) }),
3212
+ ...(input.Filter != null && { Filter: se_FilterExpression(input.Filter, context) }),
3243
3213
  ...(input.Name != null && { Name: input.Name }),
3244
3214
  ...(input.Type != null && { Type: input.Type }),
3245
3215
  };
3246
3216
  };
3247
- const serializeAws_restJson1DatetimeOptions = (input, context) => {
3217
+ const se_DatetimeOptions = (input, context) => {
3248
3218
  return {
3249
3219
  ...(input.Format != null && { Format: input.Format }),
3250
3220
  ...(input.LocaleCode != null && { LocaleCode: input.LocaleCode }),
3251
3221
  ...(input.TimezoneOffset != null && { TimezoneOffset: input.TimezoneOffset }),
3252
3222
  };
3253
3223
  };
3254
- const serializeAws_restJson1EntityDetectorConfiguration = (input, context) => {
3224
+ const se_EntityDetectorConfiguration = (input, context) => {
3255
3225
  return {
3256
3226
  ...(input.AllowedStatistics != null && {
3257
- AllowedStatistics: serializeAws_restJson1AllowedStatisticList(input.AllowedStatistics, context),
3227
+ AllowedStatistics: se_AllowedStatisticList(input.AllowedStatistics, context),
3258
3228
  }),
3259
- ...(input.EntityTypes != null && { EntityTypes: serializeAws_restJson1EntityTypeList(input.EntityTypes, context) }),
3229
+ ...(input.EntityTypes != null && { EntityTypes: se_EntityTypeList(input.EntityTypes, context) }),
3260
3230
  };
3261
3231
  };
3262
- const serializeAws_restJson1EntityTypeList = (input, context) => {
3232
+ const se_EntityTypeList = (input, context) => {
3263
3233
  return input
3264
3234
  .filter((e) => e != null)
3265
3235
  .map((entry) => {
3266
3236
  return entry;
3267
3237
  });
3268
3238
  };
3269
- const serializeAws_restJson1ExcelOptions = (input, context) => {
3239
+ const se_ExcelOptions = (input, context) => {
3270
3240
  return {
3271
3241
  ...(input.HeaderRow != null && { HeaderRow: input.HeaderRow }),
3272
- ...(input.SheetIndexes != null && {
3273
- SheetIndexes: serializeAws_restJson1SheetIndexList(input.SheetIndexes, context),
3274
- }),
3275
- ...(input.SheetNames != null && { SheetNames: serializeAws_restJson1SheetNameList(input.SheetNames, context) }),
3242
+ ...(input.SheetIndexes != null && { SheetIndexes: se_SheetIndexList(input.SheetIndexes, context) }),
3243
+ ...(input.SheetNames != null && { SheetNames: se_SheetNameList(input.SheetNames, context) }),
3276
3244
  };
3277
3245
  };
3278
- const serializeAws_restJson1FilesLimit = (input, context) => {
3246
+ const se_FilesLimit = (input, context) => {
3279
3247
  return {
3280
3248
  ...(input.MaxFiles != null && { MaxFiles: input.MaxFiles }),
3281
3249
  ...(input.Order != null && { Order: input.Order }),
3282
3250
  ...(input.OrderedBy != null && { OrderedBy: input.OrderedBy }),
3283
3251
  };
3284
3252
  };
3285
- const serializeAws_restJson1FilterExpression = (input, context) => {
3253
+ const se_FilterExpression = (input, context) => {
3286
3254
  return {
3287
3255
  ...(input.Expression != null && { Expression: input.Expression }),
3288
- ...(input.ValuesMap != null && { ValuesMap: serializeAws_restJson1ValuesMap(input.ValuesMap, context) }),
3256
+ ...(input.ValuesMap != null && { ValuesMap: se_ValuesMap(input.ValuesMap, context) }),
3289
3257
  };
3290
3258
  };
3291
- const serializeAws_restJson1FormatOptions = (input, context) => {
3259
+ const se_FormatOptions = (input, context) => {
3292
3260
  return {
3293
- ...(input.Csv != null && { Csv: serializeAws_restJson1CsvOptions(input.Csv, context) }),
3294
- ...(input.Excel != null && { Excel: serializeAws_restJson1ExcelOptions(input.Excel, context) }),
3295
- ...(input.Json != null && { Json: serializeAws_restJson1JsonOptions(input.Json, context) }),
3261
+ ...(input.Csv != null && { Csv: se_CsvOptions(input.Csv, context) }),
3262
+ ...(input.Excel != null && { Excel: se_ExcelOptions(input.Excel, context) }),
3263
+ ...(input.Json != null && { Json: se_JsonOptions(input.Json, context) }),
3296
3264
  };
3297
3265
  };
3298
- const serializeAws_restJson1HiddenColumnList = (input, context) => {
3266
+ const se_HiddenColumnList = (input, context) => {
3299
3267
  return input
3300
3268
  .filter((e) => e != null)
3301
3269
  .map((entry) => {
3302
3270
  return entry;
3303
3271
  });
3304
3272
  };
3305
- const serializeAws_restJson1Input = (input, context) => {
3273
+ const se_Input = (input, context) => {
3306
3274
  return {
3307
3275
  ...(input.DataCatalogInputDefinition != null && {
3308
- DataCatalogInputDefinition: serializeAws_restJson1DataCatalogInputDefinition(input.DataCatalogInputDefinition, context),
3276
+ DataCatalogInputDefinition: se_DataCatalogInputDefinition(input.DataCatalogInputDefinition, context),
3309
3277
  }),
3310
3278
  ...(input.DatabaseInputDefinition != null && {
3311
- DatabaseInputDefinition: serializeAws_restJson1DatabaseInputDefinition(input.DatabaseInputDefinition, context),
3312
- }),
3313
- ...(input.Metadata != null && { Metadata: serializeAws_restJson1Metadata(input.Metadata, context) }),
3314
- ...(input.S3InputDefinition != null && {
3315
- S3InputDefinition: serializeAws_restJson1S3Location(input.S3InputDefinition, context),
3279
+ DatabaseInputDefinition: se_DatabaseInputDefinition(input.DatabaseInputDefinition, context),
3316
3280
  }),
3281
+ ...(input.Metadata != null && { Metadata: se_Metadata(input.Metadata, context) }),
3282
+ ...(input.S3InputDefinition != null && { S3InputDefinition: se_S3Location(input.S3InputDefinition, context) }),
3317
3283
  };
3318
3284
  };
3319
- const serializeAws_restJson1JobNameList = (input, context) => {
3285
+ const se_JobNameList = (input, context) => {
3320
3286
  return input
3321
3287
  .filter((e) => e != null)
3322
3288
  .map((entry) => {
3323
3289
  return entry;
3324
3290
  });
3325
3291
  };
3326
- const serializeAws_restJson1JobSample = (input, context) => {
3292
+ const se_JobSample = (input, context) => {
3327
3293
  return {
3328
3294
  ...(input.Mode != null && { Mode: input.Mode }),
3329
3295
  ...(input.Size != null && { Size: input.Size }),
3330
3296
  };
3331
3297
  };
3332
- const serializeAws_restJson1JsonOptions = (input, context) => {
3298
+ const se_JsonOptions = (input, context) => {
3333
3299
  return {
3334
3300
  ...(input.MultiLine != null && { MultiLine: input.MultiLine }),
3335
3301
  };
3336
3302
  };
3337
- const serializeAws_restJson1Metadata = (input, context) => {
3303
+ const se_Metadata = (input, context) => {
3338
3304
  return {
3339
3305
  ...(input.SourceArn != null && { SourceArn: input.SourceArn }),
3340
3306
  };
3341
3307
  };
3342
- const serializeAws_restJson1Output = (input, context) => {
3308
+ const se_Output = (input, context) => {
3343
3309
  return {
3344
3310
  ...(input.CompressionFormat != null && { CompressionFormat: input.CompressionFormat }),
3345
3311
  ...(input.Format != null && { Format: input.Format }),
3346
- ...(input.FormatOptions != null && {
3347
- FormatOptions: serializeAws_restJson1OutputFormatOptions(input.FormatOptions, context),
3348
- }),
3349
- ...(input.Location != null && { Location: serializeAws_restJson1S3Location(input.Location, context) }),
3312
+ ...(input.FormatOptions != null && { FormatOptions: se_OutputFormatOptions(input.FormatOptions, context) }),
3313
+ ...(input.Location != null && { Location: se_S3Location(input.Location, context) }),
3350
3314
  ...(input.MaxOutputFiles != null && { MaxOutputFiles: input.MaxOutputFiles }),
3351
3315
  ...(input.Overwrite != null && { Overwrite: input.Overwrite }),
3352
- ...(input.PartitionColumns != null && {
3353
- PartitionColumns: serializeAws_restJson1ColumnNameList(input.PartitionColumns, context),
3354
- }),
3316
+ ...(input.PartitionColumns != null && { PartitionColumns: se_ColumnNameList(input.PartitionColumns, context) }),
3355
3317
  };
3356
3318
  };
3357
- const serializeAws_restJson1OutputFormatOptions = (input, context) => {
3319
+ const se_OutputFormatOptions = (input, context) => {
3358
3320
  return {
3359
- ...(input.Csv != null && { Csv: serializeAws_restJson1CsvOutputOptions(input.Csv, context) }),
3321
+ ...(input.Csv != null && { Csv: se_CsvOutputOptions(input.Csv, context) }),
3360
3322
  };
3361
3323
  };
3362
- const serializeAws_restJson1OutputList = (input, context) => {
3324
+ const se_OutputList = (input, context) => {
3363
3325
  return input
3364
3326
  .filter((e) => e != null)
3365
3327
  .map((entry) => {
3366
- return serializeAws_restJson1Output(entry, context);
3328
+ return se_Output(entry, context);
3367
3329
  });
3368
3330
  };
3369
- const serializeAws_restJson1ParameterMap = (input, context) => {
3331
+ const se_ParameterMap = (input, context) => {
3370
3332
  return Object.entries(input).reduce((acc, [key, value]) => {
3371
3333
  if (value === null) {
3372
3334
  return acc;
@@ -3375,158 +3337,150 @@ const serializeAws_restJson1ParameterMap = (input, context) => {
3375
3337
  return acc;
3376
3338
  }, {});
3377
3339
  };
3378
- const serializeAws_restJson1PathOptions = (input, context) => {
3340
+ const se_PathOptions = (input, context) => {
3379
3341
  return {
3380
- ...(input.FilesLimit != null && { FilesLimit: serializeAws_restJson1FilesLimit(input.FilesLimit, context) }),
3342
+ ...(input.FilesLimit != null && { FilesLimit: se_FilesLimit(input.FilesLimit, context) }),
3381
3343
  ...(input.LastModifiedDateCondition != null && {
3382
- LastModifiedDateCondition: serializeAws_restJson1FilterExpression(input.LastModifiedDateCondition, context),
3344
+ LastModifiedDateCondition: se_FilterExpression(input.LastModifiedDateCondition, context),
3383
3345
  }),
3384
- ...(input.Parameters != null && { Parameters: serializeAws_restJson1PathParametersMap(input.Parameters, context) }),
3346
+ ...(input.Parameters != null && { Parameters: se_PathParametersMap(input.Parameters, context) }),
3385
3347
  };
3386
3348
  };
3387
- const serializeAws_restJson1PathParametersMap = (input, context) => {
3349
+ const se_PathParametersMap = (input, context) => {
3388
3350
  return Object.entries(input).reduce((acc, [key, value]) => {
3389
3351
  if (value === null) {
3390
3352
  return acc;
3391
3353
  }
3392
- acc[key] = serializeAws_restJson1DatasetParameter(value, context);
3354
+ acc[key] = se_DatasetParameter(value, context);
3393
3355
  return acc;
3394
3356
  }, {});
3395
3357
  };
3396
- const serializeAws_restJson1ProfileConfiguration = (input, context) => {
3358
+ const se_ProfileConfiguration = (input, context) => {
3397
3359
  return {
3398
3360
  ...(input.ColumnStatisticsConfigurations != null && {
3399
- ColumnStatisticsConfigurations: serializeAws_restJson1ColumnStatisticsConfigurationList(input.ColumnStatisticsConfigurations, context),
3361
+ ColumnStatisticsConfigurations: se_ColumnStatisticsConfigurationList(input.ColumnStatisticsConfigurations, context),
3400
3362
  }),
3401
3363
  ...(input.DatasetStatisticsConfiguration != null && {
3402
- DatasetStatisticsConfiguration: serializeAws_restJson1StatisticsConfiguration(input.DatasetStatisticsConfiguration, context),
3364
+ DatasetStatisticsConfiguration: se_StatisticsConfiguration(input.DatasetStatisticsConfiguration, context),
3403
3365
  }),
3404
3366
  ...(input.EntityDetectorConfiguration != null && {
3405
- EntityDetectorConfiguration: serializeAws_restJson1EntityDetectorConfiguration(input.EntityDetectorConfiguration, context),
3406
- }),
3407
- ...(input.ProfileColumns != null && {
3408
- ProfileColumns: serializeAws_restJson1ColumnSelectorList(input.ProfileColumns, context),
3367
+ EntityDetectorConfiguration: se_EntityDetectorConfiguration(input.EntityDetectorConfiguration, context),
3409
3368
  }),
3369
+ ...(input.ProfileColumns != null && { ProfileColumns: se_ColumnSelectorList(input.ProfileColumns, context) }),
3410
3370
  };
3411
3371
  };
3412
- const serializeAws_restJson1RecipeAction = (input, context) => {
3372
+ const se_RecipeAction = (input, context) => {
3413
3373
  return {
3414
3374
  ...(input.Operation != null && { Operation: input.Operation }),
3415
- ...(input.Parameters != null && { Parameters: serializeAws_restJson1ParameterMap(input.Parameters, context) }),
3375
+ ...(input.Parameters != null && { Parameters: se_ParameterMap(input.Parameters, context) }),
3416
3376
  };
3417
3377
  };
3418
- const serializeAws_restJson1RecipeReference = (input, context) => {
3378
+ const se_RecipeReference = (input, context) => {
3419
3379
  return {
3420
3380
  ...(input.Name != null && { Name: input.Name }),
3421
3381
  ...(input.RecipeVersion != null && { RecipeVersion: input.RecipeVersion }),
3422
3382
  };
3423
3383
  };
3424
- const serializeAws_restJson1RecipeStep = (input, context) => {
3384
+ const se_RecipeStep = (input, context) => {
3425
3385
  return {
3426
- ...(input.Action != null && { Action: serializeAws_restJson1RecipeAction(input.Action, context) }),
3386
+ ...(input.Action != null && { Action: se_RecipeAction(input.Action, context) }),
3427
3387
  ...(input.ConditionExpressions != null && {
3428
- ConditionExpressions: serializeAws_restJson1ConditionExpressionList(input.ConditionExpressions, context),
3388
+ ConditionExpressions: se_ConditionExpressionList(input.ConditionExpressions, context),
3429
3389
  }),
3430
3390
  };
3431
3391
  };
3432
- const serializeAws_restJson1RecipeStepList = (input, context) => {
3392
+ const se_RecipeStepList = (input, context) => {
3433
3393
  return input
3434
3394
  .filter((e) => e != null)
3435
3395
  .map((entry) => {
3436
- return serializeAws_restJson1RecipeStep(entry, context);
3396
+ return se_RecipeStep(entry, context);
3437
3397
  });
3438
3398
  };
3439
- const serializeAws_restJson1RecipeVersionList = (input, context) => {
3399
+ const se_RecipeVersionList = (input, context) => {
3440
3400
  return input
3441
3401
  .filter((e) => e != null)
3442
3402
  .map((entry) => {
3443
3403
  return entry;
3444
3404
  });
3445
3405
  };
3446
- const serializeAws_restJson1Rule = (input, context) => {
3406
+ const se_Rule = (input, context) => {
3447
3407
  return {
3448
3408
  ...(input.CheckExpression != null && { CheckExpression: input.CheckExpression }),
3449
- ...(input.ColumnSelectors != null && {
3450
- ColumnSelectors: serializeAws_restJson1ColumnSelectorList(input.ColumnSelectors, context),
3451
- }),
3409
+ ...(input.ColumnSelectors != null && { ColumnSelectors: se_ColumnSelectorList(input.ColumnSelectors, context) }),
3452
3410
  ...(input.Disabled != null && { Disabled: input.Disabled }),
3453
3411
  ...(input.Name != null && { Name: input.Name }),
3454
- ...(input.SubstitutionMap != null && {
3455
- SubstitutionMap: serializeAws_restJson1ValuesMap(input.SubstitutionMap, context),
3456
- }),
3457
- ...(input.Threshold != null && { Threshold: serializeAws_restJson1Threshold(input.Threshold, context) }),
3412
+ ...(input.SubstitutionMap != null && { SubstitutionMap: se_ValuesMap(input.SubstitutionMap, context) }),
3413
+ ...(input.Threshold != null && { Threshold: se_Threshold(input.Threshold, context) }),
3458
3414
  };
3459
3415
  };
3460
- const serializeAws_restJson1RuleList = (input, context) => {
3416
+ const se_RuleList = (input, context) => {
3461
3417
  return input
3462
3418
  .filter((e) => e != null)
3463
3419
  .map((entry) => {
3464
- return serializeAws_restJson1Rule(entry, context);
3420
+ return se_Rule(entry, context);
3465
3421
  });
3466
3422
  };
3467
- const serializeAws_restJson1S3Location = (input, context) => {
3423
+ const se_S3Location = (input, context) => {
3468
3424
  return {
3469
3425
  ...(input.Bucket != null && { Bucket: input.Bucket }),
3470
3426
  ...(input.BucketOwner != null && { BucketOwner: input.BucketOwner }),
3471
3427
  ...(input.Key != null && { Key: input.Key }),
3472
3428
  };
3473
3429
  };
3474
- const serializeAws_restJson1S3TableOutputOptions = (input, context) => {
3430
+ const se_S3TableOutputOptions = (input, context) => {
3475
3431
  return {
3476
- ...(input.Location != null && { Location: serializeAws_restJson1S3Location(input.Location, context) }),
3432
+ ...(input.Location != null && { Location: se_S3Location(input.Location, context) }),
3477
3433
  };
3478
3434
  };
3479
- const serializeAws_restJson1Sample = (input, context) => {
3435
+ const se_Sample = (input, context) => {
3480
3436
  return {
3481
3437
  ...(input.Size != null && { Size: input.Size }),
3482
3438
  ...(input.Type != null && { Type: input.Type }),
3483
3439
  };
3484
3440
  };
3485
- const serializeAws_restJson1SheetIndexList = (input, context) => {
3441
+ const se_SheetIndexList = (input, context) => {
3486
3442
  return input
3487
3443
  .filter((e) => e != null)
3488
3444
  .map((entry) => {
3489
3445
  return entry;
3490
3446
  });
3491
3447
  };
3492
- const serializeAws_restJson1SheetNameList = (input, context) => {
3448
+ const se_SheetNameList = (input, context) => {
3493
3449
  return input
3494
3450
  .filter((e) => e != null)
3495
3451
  .map((entry) => {
3496
3452
  return entry;
3497
3453
  });
3498
3454
  };
3499
- const serializeAws_restJson1StatisticList = (input, context) => {
3455
+ const se_StatisticList = (input, context) => {
3500
3456
  return input
3501
3457
  .filter((e) => e != null)
3502
3458
  .map((entry) => {
3503
3459
  return entry;
3504
3460
  });
3505
3461
  };
3506
- const serializeAws_restJson1StatisticOverride = (input, context) => {
3462
+ const se_StatisticOverride = (input, context) => {
3507
3463
  return {
3508
- ...(input.Parameters != null && { Parameters: serializeAws_restJson1ParameterMap(input.Parameters, context) }),
3464
+ ...(input.Parameters != null && { Parameters: se_ParameterMap(input.Parameters, context) }),
3509
3465
  ...(input.Statistic != null && { Statistic: input.Statistic }),
3510
3466
  };
3511
3467
  };
3512
- const serializeAws_restJson1StatisticOverrideList = (input, context) => {
3468
+ const se_StatisticOverrideList = (input, context) => {
3513
3469
  return input
3514
3470
  .filter((e) => e != null)
3515
3471
  .map((entry) => {
3516
- return serializeAws_restJson1StatisticOverride(entry, context);
3472
+ return se_StatisticOverride(entry, context);
3517
3473
  });
3518
3474
  };
3519
- const serializeAws_restJson1StatisticsConfiguration = (input, context) => {
3475
+ const se_StatisticsConfiguration = (input, context) => {
3520
3476
  return {
3521
3477
  ...(input.IncludedStatistics != null && {
3522
- IncludedStatistics: serializeAws_restJson1StatisticList(input.IncludedStatistics, context),
3523
- }),
3524
- ...(input.Overrides != null && {
3525
- Overrides: serializeAws_restJson1StatisticOverrideList(input.Overrides, context),
3478
+ IncludedStatistics: se_StatisticList(input.IncludedStatistics, context),
3526
3479
  }),
3480
+ ...(input.Overrides != null && { Overrides: se_StatisticOverrideList(input.Overrides, context) }),
3527
3481
  };
3528
3482
  };
3529
- const serializeAws_restJson1TagMap = (input, context) => {
3483
+ const se_TagMap = (input, context) => {
3530
3484
  return Object.entries(input).reduce((acc, [key, value]) => {
3531
3485
  if (value === null) {
3532
3486
  return acc;
@@ -3535,27 +3489,27 @@ const serializeAws_restJson1TagMap = (input, context) => {
3535
3489
  return acc;
3536
3490
  }, {});
3537
3491
  };
3538
- const serializeAws_restJson1Threshold = (input, context) => {
3492
+ const se_Threshold = (input, context) => {
3539
3493
  return {
3540
3494
  ...(input.Type != null && { Type: input.Type }),
3541
3495
  ...(input.Unit != null && { Unit: input.Unit }),
3542
3496
  ...(input.Value != null && { Value: (0, smithy_client_1.serializeFloat)(input.Value) }),
3543
3497
  };
3544
3498
  };
3545
- const serializeAws_restJson1ValidationConfiguration = (input, context) => {
3499
+ const se_ValidationConfiguration = (input, context) => {
3546
3500
  return {
3547
3501
  ...(input.RulesetArn != null && { RulesetArn: input.RulesetArn }),
3548
3502
  ...(input.ValidationMode != null && { ValidationMode: input.ValidationMode }),
3549
3503
  };
3550
3504
  };
3551
- const serializeAws_restJson1ValidationConfigurationList = (input, context) => {
3505
+ const se_ValidationConfigurationList = (input, context) => {
3552
3506
  return input
3553
3507
  .filter((e) => e != null)
3554
3508
  .map((entry) => {
3555
- return serializeAws_restJson1ValidationConfiguration(entry, context);
3509
+ return se_ValidationConfiguration(entry, context);
3556
3510
  });
3557
3511
  };
3558
- const serializeAws_restJson1ValuesMap = (input, context) => {
3512
+ const se_ValuesMap = (input, context) => {
3559
3513
  return Object.entries(input).reduce((acc, [key, value]) => {
3560
3514
  if (value === null) {
3561
3515
  return acc;
@@ -3564,35 +3518,33 @@ const serializeAws_restJson1ValuesMap = (input, context) => {
3564
3518
  return acc;
3565
3519
  }, {});
3566
3520
  };
3567
- const serializeAws_restJson1ViewFrame = (input, context) => {
3521
+ const se_ViewFrame = (input, context) => {
3568
3522
  return {
3569
3523
  ...(input.Analytics != null && { Analytics: input.Analytics }),
3570
3524
  ...(input.ColumnRange != null && { ColumnRange: input.ColumnRange }),
3571
- ...(input.HiddenColumns != null && {
3572
- HiddenColumns: serializeAws_restJson1HiddenColumnList(input.HiddenColumns, context),
3573
- }),
3525
+ ...(input.HiddenColumns != null && { HiddenColumns: se_HiddenColumnList(input.HiddenColumns, context) }),
3574
3526
  ...(input.RowRange != null && { RowRange: input.RowRange }),
3575
3527
  ...(input.StartColumnIndex != null && { StartColumnIndex: input.StartColumnIndex }),
3576
3528
  ...(input.StartRowIndex != null && { StartRowIndex: input.StartRowIndex }),
3577
3529
  };
3578
3530
  };
3579
- const deserializeAws_restJson1AllowedStatisticList = (output, context) => {
3531
+ const de_AllowedStatisticList = (output, context) => {
3580
3532
  const retVal = (output || [])
3581
3533
  .filter((e) => e != null)
3582
3534
  .map((entry) => {
3583
3535
  if (entry === null) {
3584
3536
  return null;
3585
3537
  }
3586
- return deserializeAws_restJson1AllowedStatistics(entry, context);
3538
+ return de_AllowedStatistics(entry, context);
3587
3539
  });
3588
3540
  return retVal;
3589
3541
  };
3590
- const deserializeAws_restJson1AllowedStatistics = (output, context) => {
3542
+ const de_AllowedStatistics = (output, context) => {
3591
3543
  return {
3592
- Statistics: output.Statistics != null ? deserializeAws_restJson1StatisticList(output.Statistics, context) : undefined,
3544
+ Statistics: output.Statistics != null ? de_StatisticList(output.Statistics, context) : undefined,
3593
3545
  };
3594
3546
  };
3595
- const deserializeAws_restJson1ColumnNameList = (output, context) => {
3547
+ const de_ColumnNameList = (output, context) => {
3596
3548
  const retVal = (output || [])
3597
3549
  .filter((e) => e != null)
3598
3550
  .map((entry) => {
@@ -3603,193 +3555,183 @@ const deserializeAws_restJson1ColumnNameList = (output, context) => {
3603
3555
  });
3604
3556
  return retVal;
3605
3557
  };
3606
- const deserializeAws_restJson1ColumnSelector = (output, context) => {
3558
+ const de_ColumnSelector = (output, context) => {
3607
3559
  return {
3608
3560
  Name: (0, smithy_client_1.expectString)(output.Name),
3609
3561
  Regex: (0, smithy_client_1.expectString)(output.Regex),
3610
3562
  };
3611
3563
  };
3612
- const deserializeAws_restJson1ColumnSelectorList = (output, context) => {
3564
+ const de_ColumnSelectorList = (output, context) => {
3613
3565
  const retVal = (output || [])
3614
3566
  .filter((e) => e != null)
3615
3567
  .map((entry) => {
3616
3568
  if (entry === null) {
3617
3569
  return null;
3618
3570
  }
3619
- return deserializeAws_restJson1ColumnSelector(entry, context);
3571
+ return de_ColumnSelector(entry, context);
3620
3572
  });
3621
3573
  return retVal;
3622
3574
  };
3623
- const deserializeAws_restJson1ColumnStatisticsConfiguration = (output, context) => {
3575
+ const de_ColumnStatisticsConfiguration = (output, context) => {
3624
3576
  return {
3625
- Selectors: output.Selectors != null ? deserializeAws_restJson1ColumnSelectorList(output.Selectors, context) : undefined,
3626
- Statistics: output.Statistics != null
3627
- ? deserializeAws_restJson1StatisticsConfiguration(output.Statistics, context)
3628
- : undefined,
3577
+ Selectors: output.Selectors != null ? de_ColumnSelectorList(output.Selectors, context) : undefined,
3578
+ Statistics: output.Statistics != null ? de_StatisticsConfiguration(output.Statistics, context) : undefined,
3629
3579
  };
3630
3580
  };
3631
- const deserializeAws_restJson1ColumnStatisticsConfigurationList = (output, context) => {
3581
+ const de_ColumnStatisticsConfigurationList = (output, context) => {
3632
3582
  const retVal = (output || [])
3633
3583
  .filter((e) => e != null)
3634
3584
  .map((entry) => {
3635
3585
  if (entry === null) {
3636
3586
  return null;
3637
3587
  }
3638
- return deserializeAws_restJson1ColumnStatisticsConfiguration(entry, context);
3588
+ return de_ColumnStatisticsConfiguration(entry, context);
3639
3589
  });
3640
3590
  return retVal;
3641
3591
  };
3642
- const deserializeAws_restJson1ConditionExpression = (output, context) => {
3592
+ const de_ConditionExpression = (output, context) => {
3643
3593
  return {
3644
3594
  Condition: (0, smithy_client_1.expectString)(output.Condition),
3645
3595
  TargetColumn: (0, smithy_client_1.expectString)(output.TargetColumn),
3646
3596
  Value: (0, smithy_client_1.expectString)(output.Value),
3647
3597
  };
3648
3598
  };
3649
- const deserializeAws_restJson1ConditionExpressionList = (output, context) => {
3599
+ const de_ConditionExpressionList = (output, context) => {
3650
3600
  const retVal = (output || [])
3651
3601
  .filter((e) => e != null)
3652
3602
  .map((entry) => {
3653
3603
  if (entry === null) {
3654
3604
  return null;
3655
3605
  }
3656
- return deserializeAws_restJson1ConditionExpression(entry, context);
3606
+ return de_ConditionExpression(entry, context);
3657
3607
  });
3658
3608
  return retVal;
3659
3609
  };
3660
- const deserializeAws_restJson1CsvOptions = (output, context) => {
3610
+ const de_CsvOptions = (output, context) => {
3661
3611
  return {
3662
3612
  Delimiter: (0, smithy_client_1.expectString)(output.Delimiter),
3663
3613
  HeaderRow: (0, smithy_client_1.expectBoolean)(output.HeaderRow),
3664
3614
  };
3665
3615
  };
3666
- const deserializeAws_restJson1CsvOutputOptions = (output, context) => {
3616
+ const de_CsvOutputOptions = (output, context) => {
3667
3617
  return {
3668
3618
  Delimiter: (0, smithy_client_1.expectString)(output.Delimiter),
3669
3619
  };
3670
3620
  };
3671
- const deserializeAws_restJson1DatabaseInputDefinition = (output, context) => {
3621
+ const de_DatabaseInputDefinition = (output, context) => {
3672
3622
  return {
3673
3623
  DatabaseTableName: (0, smithy_client_1.expectString)(output.DatabaseTableName),
3674
3624
  GlueConnectionName: (0, smithy_client_1.expectString)(output.GlueConnectionName),
3675
3625
  QueryString: (0, smithy_client_1.expectString)(output.QueryString),
3676
- TempDirectory: output.TempDirectory != null ? deserializeAws_restJson1S3Location(output.TempDirectory, context) : undefined,
3626
+ TempDirectory: output.TempDirectory != null ? de_S3Location(output.TempDirectory, context) : undefined,
3677
3627
  };
3678
3628
  };
3679
- const deserializeAws_restJson1DatabaseOutput = (output, context) => {
3629
+ const de_DatabaseOutput = (output, context) => {
3680
3630
  return {
3681
- DatabaseOptions: output.DatabaseOptions != null
3682
- ? deserializeAws_restJson1DatabaseTableOutputOptions(output.DatabaseOptions, context)
3683
- : undefined,
3631
+ DatabaseOptions: output.DatabaseOptions != null ? de_DatabaseTableOutputOptions(output.DatabaseOptions, context) : undefined,
3684
3632
  DatabaseOutputMode: (0, smithy_client_1.expectString)(output.DatabaseOutputMode),
3685
3633
  GlueConnectionName: (0, smithy_client_1.expectString)(output.GlueConnectionName),
3686
3634
  };
3687
3635
  };
3688
- const deserializeAws_restJson1DatabaseOutputList = (output, context) => {
3636
+ const de_DatabaseOutputList = (output, context) => {
3689
3637
  const retVal = (output || [])
3690
3638
  .filter((e) => e != null)
3691
3639
  .map((entry) => {
3692
3640
  if (entry === null) {
3693
3641
  return null;
3694
3642
  }
3695
- return deserializeAws_restJson1DatabaseOutput(entry, context);
3643
+ return de_DatabaseOutput(entry, context);
3696
3644
  });
3697
3645
  return retVal;
3698
3646
  };
3699
- const deserializeAws_restJson1DatabaseTableOutputOptions = (output, context) => {
3647
+ const de_DatabaseTableOutputOptions = (output, context) => {
3700
3648
  return {
3701
3649
  TableName: (0, smithy_client_1.expectString)(output.TableName),
3702
- TempDirectory: output.TempDirectory != null ? deserializeAws_restJson1S3Location(output.TempDirectory, context) : undefined,
3650
+ TempDirectory: output.TempDirectory != null ? de_S3Location(output.TempDirectory, context) : undefined,
3703
3651
  };
3704
3652
  };
3705
- const deserializeAws_restJson1DataCatalogInputDefinition = (output, context) => {
3653
+ const de_DataCatalogInputDefinition = (output, context) => {
3706
3654
  return {
3707
3655
  CatalogId: (0, smithy_client_1.expectString)(output.CatalogId),
3708
3656
  DatabaseName: (0, smithy_client_1.expectString)(output.DatabaseName),
3709
3657
  TableName: (0, smithy_client_1.expectString)(output.TableName),
3710
- TempDirectory: output.TempDirectory != null ? deserializeAws_restJson1S3Location(output.TempDirectory, context) : undefined,
3658
+ TempDirectory: output.TempDirectory != null ? de_S3Location(output.TempDirectory, context) : undefined,
3711
3659
  };
3712
3660
  };
3713
- const deserializeAws_restJson1DataCatalogOutput = (output, context) => {
3661
+ const de_DataCatalogOutput = (output, context) => {
3714
3662
  return {
3715
3663
  CatalogId: (0, smithy_client_1.expectString)(output.CatalogId),
3716
3664
  DatabaseName: (0, smithy_client_1.expectString)(output.DatabaseName),
3717
- DatabaseOptions: output.DatabaseOptions != null
3718
- ? deserializeAws_restJson1DatabaseTableOutputOptions(output.DatabaseOptions, context)
3719
- : undefined,
3665
+ DatabaseOptions: output.DatabaseOptions != null ? de_DatabaseTableOutputOptions(output.DatabaseOptions, context) : undefined,
3720
3666
  Overwrite: (0, smithy_client_1.expectBoolean)(output.Overwrite),
3721
- S3Options: output.S3Options != null ? deserializeAws_restJson1S3TableOutputOptions(output.S3Options, context) : undefined,
3667
+ S3Options: output.S3Options != null ? de_S3TableOutputOptions(output.S3Options, context) : undefined,
3722
3668
  TableName: (0, smithy_client_1.expectString)(output.TableName),
3723
3669
  };
3724
3670
  };
3725
- const deserializeAws_restJson1DataCatalogOutputList = (output, context) => {
3671
+ const de_DataCatalogOutputList = (output, context) => {
3726
3672
  const retVal = (output || [])
3727
3673
  .filter((e) => e != null)
3728
3674
  .map((entry) => {
3729
3675
  if (entry === null) {
3730
3676
  return null;
3731
3677
  }
3732
- return deserializeAws_restJson1DataCatalogOutput(entry, context);
3678
+ return de_DataCatalogOutput(entry, context);
3733
3679
  });
3734
3680
  return retVal;
3735
3681
  };
3736
- const deserializeAws_restJson1Dataset = (output, context) => {
3682
+ const de_Dataset = (output, context) => {
3737
3683
  return {
3738
3684
  AccountId: (0, smithy_client_1.expectString)(output.AccountId),
3739
3685
  CreateDate: output.CreateDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateDate))) : undefined,
3740
3686
  CreatedBy: (0, smithy_client_1.expectString)(output.CreatedBy),
3741
3687
  Format: (0, smithy_client_1.expectString)(output.Format),
3742
- FormatOptions: output.FormatOptions != null ? deserializeAws_restJson1FormatOptions(output.FormatOptions, context) : undefined,
3743
- Input: output.Input != null ? deserializeAws_restJson1Input(output.Input, context) : undefined,
3688
+ FormatOptions: output.FormatOptions != null ? de_FormatOptions(output.FormatOptions, context) : undefined,
3689
+ Input: output.Input != null ? de_Input(output.Input, context) : undefined,
3744
3690
  LastModifiedBy: (0, smithy_client_1.expectString)(output.LastModifiedBy),
3745
3691
  LastModifiedDate: output.LastModifiedDate != null
3746
3692
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedDate)))
3747
3693
  : undefined,
3748
3694
  Name: (0, smithy_client_1.expectString)(output.Name),
3749
- PathOptions: output.PathOptions != null ? deserializeAws_restJson1PathOptions(output.PathOptions, context) : undefined,
3695
+ PathOptions: output.PathOptions != null ? de_PathOptions(output.PathOptions, context) : undefined,
3750
3696
  ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
3751
3697
  Source: (0, smithy_client_1.expectString)(output.Source),
3752
- Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
3698
+ Tags: output.Tags != null ? de_TagMap(output.Tags, context) : undefined,
3753
3699
  };
3754
3700
  };
3755
- const deserializeAws_restJson1DatasetList = (output, context) => {
3701
+ const de_DatasetList = (output, context) => {
3756
3702
  const retVal = (output || [])
3757
3703
  .filter((e) => e != null)
3758
3704
  .map((entry) => {
3759
3705
  if (entry === null) {
3760
3706
  return null;
3761
3707
  }
3762
- return deserializeAws_restJson1Dataset(entry, context);
3708
+ return de_Dataset(entry, context);
3763
3709
  });
3764
3710
  return retVal;
3765
3711
  };
3766
- const deserializeAws_restJson1DatasetParameter = (output, context) => {
3712
+ const de_DatasetParameter = (output, context) => {
3767
3713
  return {
3768
3714
  CreateColumn: (0, smithy_client_1.expectBoolean)(output.CreateColumn),
3769
- DatetimeOptions: output.DatetimeOptions != null
3770
- ? deserializeAws_restJson1DatetimeOptions(output.DatetimeOptions, context)
3771
- : undefined,
3772
- Filter: output.Filter != null ? deserializeAws_restJson1FilterExpression(output.Filter, context) : undefined,
3715
+ DatetimeOptions: output.DatetimeOptions != null ? de_DatetimeOptions(output.DatetimeOptions, context) : undefined,
3716
+ Filter: output.Filter != null ? de_FilterExpression(output.Filter, context) : undefined,
3773
3717
  Name: (0, smithy_client_1.expectString)(output.Name),
3774
3718
  Type: (0, smithy_client_1.expectString)(output.Type),
3775
3719
  };
3776
3720
  };
3777
- const deserializeAws_restJson1DatetimeOptions = (output, context) => {
3721
+ const de_DatetimeOptions = (output, context) => {
3778
3722
  return {
3779
3723
  Format: (0, smithy_client_1.expectString)(output.Format),
3780
3724
  LocaleCode: (0, smithy_client_1.expectString)(output.LocaleCode),
3781
3725
  TimezoneOffset: (0, smithy_client_1.expectString)(output.TimezoneOffset),
3782
3726
  };
3783
3727
  };
3784
- const deserializeAws_restJson1EntityDetectorConfiguration = (output, context) => {
3728
+ const de_EntityDetectorConfiguration = (output, context) => {
3785
3729
  return {
3786
- AllowedStatistics: output.AllowedStatistics != null
3787
- ? deserializeAws_restJson1AllowedStatisticList(output.AllowedStatistics, context)
3788
- : undefined,
3789
- EntityTypes: output.EntityTypes != null ? deserializeAws_restJson1EntityTypeList(output.EntityTypes, context) : undefined,
3730
+ AllowedStatistics: output.AllowedStatistics != null ? de_AllowedStatisticList(output.AllowedStatistics, context) : undefined,
3731
+ EntityTypes: output.EntityTypes != null ? de_EntityTypeList(output.EntityTypes, context) : undefined,
3790
3732
  };
3791
3733
  };
3792
- const deserializeAws_restJson1EntityTypeList = (output, context) => {
3734
+ const de_EntityTypeList = (output, context) => {
3793
3735
  const retVal = (output || [])
3794
3736
  .filter((e) => e != null)
3795
3737
  .map((entry) => {
@@ -3800,62 +3742,56 @@ const deserializeAws_restJson1EntityTypeList = (output, context) => {
3800
3742
  });
3801
3743
  return retVal;
3802
3744
  };
3803
- const deserializeAws_restJson1ExcelOptions = (output, context) => {
3745
+ const de_ExcelOptions = (output, context) => {
3804
3746
  return {
3805
3747
  HeaderRow: (0, smithy_client_1.expectBoolean)(output.HeaderRow),
3806
- SheetIndexes: output.SheetIndexes != null ? deserializeAws_restJson1SheetIndexList(output.SheetIndexes, context) : undefined,
3807
- SheetNames: output.SheetNames != null ? deserializeAws_restJson1SheetNameList(output.SheetNames, context) : undefined,
3748
+ SheetIndexes: output.SheetIndexes != null ? de_SheetIndexList(output.SheetIndexes, context) : undefined,
3749
+ SheetNames: output.SheetNames != null ? de_SheetNameList(output.SheetNames, context) : undefined,
3808
3750
  };
3809
3751
  };
3810
- const deserializeAws_restJson1FilesLimit = (output, context) => {
3752
+ const de_FilesLimit = (output, context) => {
3811
3753
  return {
3812
3754
  MaxFiles: (0, smithy_client_1.expectInt32)(output.MaxFiles),
3813
3755
  Order: (0, smithy_client_1.expectString)(output.Order),
3814
3756
  OrderedBy: (0, smithy_client_1.expectString)(output.OrderedBy),
3815
3757
  };
3816
3758
  };
3817
- const deserializeAws_restJson1FilterExpression = (output, context) => {
3759
+ const de_FilterExpression = (output, context) => {
3818
3760
  return {
3819
3761
  Expression: (0, smithy_client_1.expectString)(output.Expression),
3820
- ValuesMap: output.ValuesMap != null ? deserializeAws_restJson1ValuesMap(output.ValuesMap, context) : undefined,
3762
+ ValuesMap: output.ValuesMap != null ? de_ValuesMap(output.ValuesMap, context) : undefined,
3821
3763
  };
3822
3764
  };
3823
- const deserializeAws_restJson1FormatOptions = (output, context) => {
3765
+ const de_FormatOptions = (output, context) => {
3824
3766
  return {
3825
- Csv: output.Csv != null ? deserializeAws_restJson1CsvOptions(output.Csv, context) : undefined,
3826
- Excel: output.Excel != null ? deserializeAws_restJson1ExcelOptions(output.Excel, context) : undefined,
3827
- Json: output.Json != null ? deserializeAws_restJson1JsonOptions(output.Json, context) : undefined,
3767
+ Csv: output.Csv != null ? de_CsvOptions(output.Csv, context) : undefined,
3768
+ Excel: output.Excel != null ? de_ExcelOptions(output.Excel, context) : undefined,
3769
+ Json: output.Json != null ? de_JsonOptions(output.Json, context) : undefined,
3828
3770
  };
3829
3771
  };
3830
- const deserializeAws_restJson1Input = (output, context) => {
3772
+ const de_Input = (output, context) => {
3831
3773
  return {
3832
3774
  DataCatalogInputDefinition: output.DataCatalogInputDefinition != null
3833
- ? deserializeAws_restJson1DataCatalogInputDefinition(output.DataCatalogInputDefinition, context)
3775
+ ? de_DataCatalogInputDefinition(output.DataCatalogInputDefinition, context)
3834
3776
  : undefined,
3835
3777
  DatabaseInputDefinition: output.DatabaseInputDefinition != null
3836
- ? deserializeAws_restJson1DatabaseInputDefinition(output.DatabaseInputDefinition, context)
3837
- : undefined,
3838
- Metadata: output.Metadata != null ? deserializeAws_restJson1Metadata(output.Metadata, context) : undefined,
3839
- S3InputDefinition: output.S3InputDefinition != null
3840
- ? deserializeAws_restJson1S3Location(output.S3InputDefinition, context)
3778
+ ? de_DatabaseInputDefinition(output.DatabaseInputDefinition, context)
3841
3779
  : undefined,
3780
+ Metadata: output.Metadata != null ? de_Metadata(output.Metadata, context) : undefined,
3781
+ S3InputDefinition: output.S3InputDefinition != null ? de_S3Location(output.S3InputDefinition, context) : undefined,
3842
3782
  };
3843
3783
  };
3844
- const deserializeAws_restJson1Job = (output, context) => {
3784
+ const de_Job = (output, context) => {
3845
3785
  return {
3846
3786
  AccountId: (0, smithy_client_1.expectString)(output.AccountId),
3847
3787
  CreateDate: output.CreateDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateDate))) : undefined,
3848
3788
  CreatedBy: (0, smithy_client_1.expectString)(output.CreatedBy),
3849
- DataCatalogOutputs: output.DataCatalogOutputs != null
3850
- ? deserializeAws_restJson1DataCatalogOutputList(output.DataCatalogOutputs, context)
3851
- : undefined,
3852
- DatabaseOutputs: output.DatabaseOutputs != null
3853
- ? deserializeAws_restJson1DatabaseOutputList(output.DatabaseOutputs, context)
3854
- : undefined,
3789
+ DataCatalogOutputs: output.DataCatalogOutputs != null ? de_DataCatalogOutputList(output.DataCatalogOutputs, context) : undefined,
3790
+ DatabaseOutputs: output.DatabaseOutputs != null ? de_DatabaseOutputList(output.DatabaseOutputs, context) : undefined,
3855
3791
  DatasetName: (0, smithy_client_1.expectString)(output.DatasetName),
3856
3792
  EncryptionKeyArn: (0, smithy_client_1.expectString)(output.EncryptionKeyArn),
3857
3793
  EncryptionMode: (0, smithy_client_1.expectString)(output.EncryptionMode),
3858
- JobSample: output.JobSample != null ? deserializeAws_restJson1JobSample(output.JobSample, context) : undefined,
3794
+ JobSample: output.JobSample != null ? de_JobSample(output.JobSample, context) : undefined,
3859
3795
  LastModifiedBy: (0, smithy_client_1.expectString)(output.LastModifiedBy),
3860
3796
  LastModifiedDate: output.LastModifiedDate != null
3861
3797
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedDate)))
@@ -3864,33 +3800,31 @@ const deserializeAws_restJson1Job = (output, context) => {
3864
3800
  MaxCapacity: (0, smithy_client_1.expectInt32)(output.MaxCapacity),
3865
3801
  MaxRetries: (0, smithy_client_1.expectInt32)(output.MaxRetries),
3866
3802
  Name: (0, smithy_client_1.expectString)(output.Name),
3867
- Outputs: output.Outputs != null ? deserializeAws_restJson1OutputList(output.Outputs, context) : undefined,
3803
+ Outputs: output.Outputs != null ? de_OutputList(output.Outputs, context) : undefined,
3868
3804
  ProjectName: (0, smithy_client_1.expectString)(output.ProjectName),
3869
- RecipeReference: output.RecipeReference != null
3870
- ? deserializeAws_restJson1RecipeReference(output.RecipeReference, context)
3871
- : undefined,
3805
+ RecipeReference: output.RecipeReference != null ? de_RecipeReference(output.RecipeReference, context) : undefined,
3872
3806
  ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
3873
3807
  RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
3874
- Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
3808
+ Tags: output.Tags != null ? de_TagMap(output.Tags, context) : undefined,
3875
3809
  Timeout: (0, smithy_client_1.expectInt32)(output.Timeout),
3876
3810
  Type: (0, smithy_client_1.expectString)(output.Type),
3877
3811
  ValidationConfigurations: output.ValidationConfigurations != null
3878
- ? deserializeAws_restJson1ValidationConfigurationList(output.ValidationConfigurations, context)
3812
+ ? de_ValidationConfigurationList(output.ValidationConfigurations, context)
3879
3813
  : undefined,
3880
3814
  };
3881
3815
  };
3882
- const deserializeAws_restJson1JobList = (output, context) => {
3816
+ const de_JobList = (output, context) => {
3883
3817
  const retVal = (output || [])
3884
3818
  .filter((e) => e != null)
3885
3819
  .map((entry) => {
3886
3820
  if (entry === null) {
3887
3821
  return null;
3888
3822
  }
3889
- return deserializeAws_restJson1Job(entry, context);
3823
+ return de_Job(entry, context);
3890
3824
  });
3891
3825
  return retVal;
3892
3826
  };
3893
- const deserializeAws_restJson1JobNameList = (output, context) => {
3827
+ const de_JobNameList = (output, context) => {
3894
3828
  const retVal = (output || [])
3895
3829
  .filter((e) => e != null)
3896
3830
  .map((entry) => {
@@ -3901,97 +3835,87 @@ const deserializeAws_restJson1JobNameList = (output, context) => {
3901
3835
  });
3902
3836
  return retVal;
3903
3837
  };
3904
- const deserializeAws_restJson1JobRun = (output, context) => {
3838
+ const de_JobRun = (output, context) => {
3905
3839
  return {
3906
3840
  Attempt: (0, smithy_client_1.expectInt32)(output.Attempt),
3907
3841
  CompletedOn: output.CompletedOn != null
3908
3842
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CompletedOn)))
3909
3843
  : undefined,
3910
- DataCatalogOutputs: output.DataCatalogOutputs != null
3911
- ? deserializeAws_restJson1DataCatalogOutputList(output.DataCatalogOutputs, context)
3912
- : undefined,
3913
- DatabaseOutputs: output.DatabaseOutputs != null
3914
- ? deserializeAws_restJson1DatabaseOutputList(output.DatabaseOutputs, context)
3915
- : undefined,
3844
+ DataCatalogOutputs: output.DataCatalogOutputs != null ? de_DataCatalogOutputList(output.DataCatalogOutputs, context) : undefined,
3845
+ DatabaseOutputs: output.DatabaseOutputs != null ? de_DatabaseOutputList(output.DatabaseOutputs, context) : undefined,
3916
3846
  DatasetName: (0, smithy_client_1.expectString)(output.DatasetName),
3917
3847
  ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
3918
3848
  ExecutionTime: (0, smithy_client_1.expectInt32)(output.ExecutionTime),
3919
3849
  JobName: (0, smithy_client_1.expectString)(output.JobName),
3920
- JobSample: output.JobSample != null ? deserializeAws_restJson1JobSample(output.JobSample, context) : undefined,
3850
+ JobSample: output.JobSample != null ? de_JobSample(output.JobSample, context) : undefined,
3921
3851
  LogGroupName: (0, smithy_client_1.expectString)(output.LogGroupName),
3922
3852
  LogSubscription: (0, smithy_client_1.expectString)(output.LogSubscription),
3923
- Outputs: output.Outputs != null ? deserializeAws_restJson1OutputList(output.Outputs, context) : undefined,
3924
- RecipeReference: output.RecipeReference != null
3925
- ? deserializeAws_restJson1RecipeReference(output.RecipeReference, context)
3926
- : undefined,
3853
+ Outputs: output.Outputs != null ? de_OutputList(output.Outputs, context) : undefined,
3854
+ RecipeReference: output.RecipeReference != null ? de_RecipeReference(output.RecipeReference, context) : undefined,
3927
3855
  RunId: (0, smithy_client_1.expectString)(output.RunId),
3928
3856
  StartedBy: (0, smithy_client_1.expectString)(output.StartedBy),
3929
3857
  StartedOn: output.StartedOn != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartedOn))) : undefined,
3930
3858
  State: (0, smithy_client_1.expectString)(output.State),
3931
3859
  ValidationConfigurations: output.ValidationConfigurations != null
3932
- ? deserializeAws_restJson1ValidationConfigurationList(output.ValidationConfigurations, context)
3860
+ ? de_ValidationConfigurationList(output.ValidationConfigurations, context)
3933
3861
  : undefined,
3934
3862
  };
3935
3863
  };
3936
- const deserializeAws_restJson1JobRunList = (output, context) => {
3864
+ const de_JobRunList = (output, context) => {
3937
3865
  const retVal = (output || [])
3938
3866
  .filter((e) => e != null)
3939
3867
  .map((entry) => {
3940
3868
  if (entry === null) {
3941
3869
  return null;
3942
3870
  }
3943
- return deserializeAws_restJson1JobRun(entry, context);
3871
+ return de_JobRun(entry, context);
3944
3872
  });
3945
3873
  return retVal;
3946
3874
  };
3947
- const deserializeAws_restJson1JobSample = (output, context) => {
3875
+ const de_JobSample = (output, context) => {
3948
3876
  return {
3949
3877
  Mode: (0, smithy_client_1.expectString)(output.Mode),
3950
3878
  Size: (0, smithy_client_1.expectLong)(output.Size),
3951
3879
  };
3952
3880
  };
3953
- const deserializeAws_restJson1JsonOptions = (output, context) => {
3881
+ const de_JsonOptions = (output, context) => {
3954
3882
  return {
3955
3883
  MultiLine: (0, smithy_client_1.expectBoolean)(output.MultiLine),
3956
3884
  };
3957
3885
  };
3958
- const deserializeAws_restJson1Metadata = (output, context) => {
3886
+ const de_Metadata = (output, context) => {
3959
3887
  return {
3960
3888
  SourceArn: (0, smithy_client_1.expectString)(output.SourceArn),
3961
3889
  };
3962
3890
  };
3963
- const deserializeAws_restJson1Output = (output, context) => {
3891
+ const de_Output = (output, context) => {
3964
3892
  return {
3965
3893
  CompressionFormat: (0, smithy_client_1.expectString)(output.CompressionFormat),
3966
3894
  Format: (0, smithy_client_1.expectString)(output.Format),
3967
- FormatOptions: output.FormatOptions != null
3968
- ? deserializeAws_restJson1OutputFormatOptions(output.FormatOptions, context)
3969
- : undefined,
3970
- Location: output.Location != null ? deserializeAws_restJson1S3Location(output.Location, context) : undefined,
3895
+ FormatOptions: output.FormatOptions != null ? de_OutputFormatOptions(output.FormatOptions, context) : undefined,
3896
+ Location: output.Location != null ? de_S3Location(output.Location, context) : undefined,
3971
3897
  MaxOutputFiles: (0, smithy_client_1.expectInt32)(output.MaxOutputFiles),
3972
3898
  Overwrite: (0, smithy_client_1.expectBoolean)(output.Overwrite),
3973
- PartitionColumns: output.PartitionColumns != null
3974
- ? deserializeAws_restJson1ColumnNameList(output.PartitionColumns, context)
3975
- : undefined,
3899
+ PartitionColumns: output.PartitionColumns != null ? de_ColumnNameList(output.PartitionColumns, context) : undefined,
3976
3900
  };
3977
3901
  };
3978
- const deserializeAws_restJson1OutputFormatOptions = (output, context) => {
3902
+ const de_OutputFormatOptions = (output, context) => {
3979
3903
  return {
3980
- Csv: output.Csv != null ? deserializeAws_restJson1CsvOutputOptions(output.Csv, context) : undefined,
3904
+ Csv: output.Csv != null ? de_CsvOutputOptions(output.Csv, context) : undefined,
3981
3905
  };
3982
3906
  };
3983
- const deserializeAws_restJson1OutputList = (output, context) => {
3907
+ const de_OutputList = (output, context) => {
3984
3908
  const retVal = (output || [])
3985
3909
  .filter((e) => e != null)
3986
3910
  .map((entry) => {
3987
3911
  if (entry === null) {
3988
3912
  return null;
3989
3913
  }
3990
- return deserializeAws_restJson1Output(entry, context);
3914
+ return de_Output(entry, context);
3991
3915
  });
3992
3916
  return retVal;
3993
3917
  };
3994
- const deserializeAws_restJson1ParameterMap = (output, context) => {
3918
+ const de_ParameterMap = (output, context) => {
3995
3919
  return Object.entries(output).reduce((acc, [key, value]) => {
3996
3920
  if (value === null) {
3997
3921
  return acc;
@@ -4000,41 +3924,39 @@ const deserializeAws_restJson1ParameterMap = (output, context) => {
4000
3924
  return acc;
4001
3925
  }, {});
4002
3926
  };
4003
- const deserializeAws_restJson1PathOptions = (output, context) => {
3927
+ const de_PathOptions = (output, context) => {
4004
3928
  return {
4005
- FilesLimit: output.FilesLimit != null ? deserializeAws_restJson1FilesLimit(output.FilesLimit, context) : undefined,
3929
+ FilesLimit: output.FilesLimit != null ? de_FilesLimit(output.FilesLimit, context) : undefined,
4006
3930
  LastModifiedDateCondition: output.LastModifiedDateCondition != null
4007
- ? deserializeAws_restJson1FilterExpression(output.LastModifiedDateCondition, context)
3931
+ ? de_FilterExpression(output.LastModifiedDateCondition, context)
4008
3932
  : undefined,
4009
- Parameters: output.Parameters != null ? deserializeAws_restJson1PathParametersMap(output.Parameters, context) : undefined,
3933
+ Parameters: output.Parameters != null ? de_PathParametersMap(output.Parameters, context) : undefined,
4010
3934
  };
4011
3935
  };
4012
- const deserializeAws_restJson1PathParametersMap = (output, context) => {
3936
+ const de_PathParametersMap = (output, context) => {
4013
3937
  return Object.entries(output).reduce((acc, [key, value]) => {
4014
3938
  if (value === null) {
4015
3939
  return acc;
4016
3940
  }
4017
- acc[key] = deserializeAws_restJson1DatasetParameter(value, context);
3941
+ acc[key] = de_DatasetParameter(value, context);
4018
3942
  return acc;
4019
3943
  }, {});
4020
3944
  };
4021
- const deserializeAws_restJson1ProfileConfiguration = (output, context) => {
3945
+ const de_ProfileConfiguration = (output, context) => {
4022
3946
  return {
4023
3947
  ColumnStatisticsConfigurations: output.ColumnStatisticsConfigurations != null
4024
- ? deserializeAws_restJson1ColumnStatisticsConfigurationList(output.ColumnStatisticsConfigurations, context)
3948
+ ? de_ColumnStatisticsConfigurationList(output.ColumnStatisticsConfigurations, context)
4025
3949
  : undefined,
4026
3950
  DatasetStatisticsConfiguration: output.DatasetStatisticsConfiguration != null
4027
- ? deserializeAws_restJson1StatisticsConfiguration(output.DatasetStatisticsConfiguration, context)
3951
+ ? de_StatisticsConfiguration(output.DatasetStatisticsConfiguration, context)
4028
3952
  : undefined,
4029
3953
  EntityDetectorConfiguration: output.EntityDetectorConfiguration != null
4030
- ? deserializeAws_restJson1EntityDetectorConfiguration(output.EntityDetectorConfiguration, context)
4031
- : undefined,
4032
- ProfileColumns: output.ProfileColumns != null
4033
- ? deserializeAws_restJson1ColumnSelectorList(output.ProfileColumns, context)
3954
+ ? de_EntityDetectorConfiguration(output.EntityDetectorConfiguration, context)
4034
3955
  : undefined,
3956
+ ProfileColumns: output.ProfileColumns != null ? de_ColumnSelectorList(output.ProfileColumns, context) : undefined,
4035
3957
  };
4036
3958
  };
4037
- const deserializeAws_restJson1Project = (output, context) => {
3959
+ const de_Project = (output, context) => {
4038
3960
  return {
4039
3961
  AccountId: (0, smithy_client_1.expectString)(output.AccountId),
4040
3962
  CreateDate: output.CreateDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateDate))) : undefined,
@@ -4050,22 +3972,22 @@ const deserializeAws_restJson1Project = (output, context) => {
4050
3972
  RecipeName: (0, smithy_client_1.expectString)(output.RecipeName),
4051
3973
  ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
4052
3974
  RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
4053
- Sample: output.Sample != null ? deserializeAws_restJson1Sample(output.Sample, context) : undefined,
4054
- Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
3975
+ Sample: output.Sample != null ? de_Sample(output.Sample, context) : undefined,
3976
+ Tags: output.Tags != null ? de_TagMap(output.Tags, context) : undefined,
4055
3977
  };
4056
3978
  };
4057
- const deserializeAws_restJson1ProjectList = (output, context) => {
3979
+ const de_ProjectList = (output, context) => {
4058
3980
  const retVal = (output || [])
4059
3981
  .filter((e) => e != null)
4060
3982
  .map((entry) => {
4061
3983
  if (entry === null) {
4062
3984
  return null;
4063
3985
  }
4064
- return deserializeAws_restJson1Project(entry, context);
3986
+ return de_Project(entry, context);
4065
3987
  });
4066
3988
  return retVal;
4067
3989
  };
4068
- const deserializeAws_restJson1Recipe = (output, context) => {
3990
+ const de_Recipe = (output, context) => {
4069
3991
  return {
4070
3992
  CreateDate: output.CreateDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateDate))) : undefined,
4071
3993
  CreatedBy: (0, smithy_client_1.expectString)(output.CreatedBy),
@@ -4082,94 +4004,92 @@ const deserializeAws_restJson1Recipe = (output, context) => {
4082
4004
  : undefined,
4083
4005
  RecipeVersion: (0, smithy_client_1.expectString)(output.RecipeVersion),
4084
4006
  ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
4085
- Steps: output.Steps != null ? deserializeAws_restJson1RecipeStepList(output.Steps, context) : undefined,
4086
- Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
4007
+ Steps: output.Steps != null ? de_RecipeStepList(output.Steps, context) : undefined,
4008
+ Tags: output.Tags != null ? de_TagMap(output.Tags, context) : undefined,
4087
4009
  };
4088
4010
  };
4089
- const deserializeAws_restJson1RecipeAction = (output, context) => {
4011
+ const de_RecipeAction = (output, context) => {
4090
4012
  return {
4091
4013
  Operation: (0, smithy_client_1.expectString)(output.Operation),
4092
- Parameters: output.Parameters != null ? deserializeAws_restJson1ParameterMap(output.Parameters, context) : undefined,
4014
+ Parameters: output.Parameters != null ? de_ParameterMap(output.Parameters, context) : undefined,
4093
4015
  };
4094
4016
  };
4095
- const deserializeAws_restJson1RecipeErrorList = (output, context) => {
4017
+ const de_RecipeErrorList = (output, context) => {
4096
4018
  const retVal = (output || [])
4097
4019
  .filter((e) => e != null)
4098
4020
  .map((entry) => {
4099
4021
  if (entry === null) {
4100
4022
  return null;
4101
4023
  }
4102
- return deserializeAws_restJson1RecipeVersionErrorDetail(entry, context);
4024
+ return de_RecipeVersionErrorDetail(entry, context);
4103
4025
  });
4104
4026
  return retVal;
4105
4027
  };
4106
- const deserializeAws_restJson1RecipeList = (output, context) => {
4028
+ const de_RecipeList = (output, context) => {
4107
4029
  const retVal = (output || [])
4108
4030
  .filter((e) => e != null)
4109
4031
  .map((entry) => {
4110
4032
  if (entry === null) {
4111
4033
  return null;
4112
4034
  }
4113
- return deserializeAws_restJson1Recipe(entry, context);
4035
+ return de_Recipe(entry, context);
4114
4036
  });
4115
4037
  return retVal;
4116
4038
  };
4117
- const deserializeAws_restJson1RecipeReference = (output, context) => {
4039
+ const de_RecipeReference = (output, context) => {
4118
4040
  return {
4119
4041
  Name: (0, smithy_client_1.expectString)(output.Name),
4120
4042
  RecipeVersion: (0, smithy_client_1.expectString)(output.RecipeVersion),
4121
4043
  };
4122
4044
  };
4123
- const deserializeAws_restJson1RecipeStep = (output, context) => {
4045
+ const de_RecipeStep = (output, context) => {
4124
4046
  return {
4125
- Action: output.Action != null ? deserializeAws_restJson1RecipeAction(output.Action, context) : undefined,
4047
+ Action: output.Action != null ? de_RecipeAction(output.Action, context) : undefined,
4126
4048
  ConditionExpressions: output.ConditionExpressions != null
4127
- ? deserializeAws_restJson1ConditionExpressionList(output.ConditionExpressions, context)
4049
+ ? de_ConditionExpressionList(output.ConditionExpressions, context)
4128
4050
  : undefined,
4129
4051
  };
4130
4052
  };
4131
- const deserializeAws_restJson1RecipeStepList = (output, context) => {
4053
+ const de_RecipeStepList = (output, context) => {
4132
4054
  const retVal = (output || [])
4133
4055
  .filter((e) => e != null)
4134
4056
  .map((entry) => {
4135
4057
  if (entry === null) {
4136
4058
  return null;
4137
4059
  }
4138
- return deserializeAws_restJson1RecipeStep(entry, context);
4060
+ return de_RecipeStep(entry, context);
4139
4061
  });
4140
4062
  return retVal;
4141
4063
  };
4142
- const deserializeAws_restJson1RecipeVersionErrorDetail = (output, context) => {
4064
+ const de_RecipeVersionErrorDetail = (output, context) => {
4143
4065
  return {
4144
4066
  ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
4145
4067
  ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
4146
4068
  RecipeVersion: (0, smithy_client_1.expectString)(output.RecipeVersion),
4147
4069
  };
4148
4070
  };
4149
- const deserializeAws_restJson1Rule = (output, context) => {
4071
+ const de_Rule = (output, context) => {
4150
4072
  return {
4151
4073
  CheckExpression: (0, smithy_client_1.expectString)(output.CheckExpression),
4152
- ColumnSelectors: output.ColumnSelectors != null
4153
- ? deserializeAws_restJson1ColumnSelectorList(output.ColumnSelectors, context)
4154
- : undefined,
4074
+ ColumnSelectors: output.ColumnSelectors != null ? de_ColumnSelectorList(output.ColumnSelectors, context) : undefined,
4155
4075
  Disabled: (0, smithy_client_1.expectBoolean)(output.Disabled),
4156
4076
  Name: (0, smithy_client_1.expectString)(output.Name),
4157
- SubstitutionMap: output.SubstitutionMap != null ? deserializeAws_restJson1ValuesMap(output.SubstitutionMap, context) : undefined,
4158
- Threshold: output.Threshold != null ? deserializeAws_restJson1Threshold(output.Threshold, context) : undefined,
4077
+ SubstitutionMap: output.SubstitutionMap != null ? de_ValuesMap(output.SubstitutionMap, context) : undefined,
4078
+ Threshold: output.Threshold != null ? de_Threshold(output.Threshold, context) : undefined,
4159
4079
  };
4160
4080
  };
4161
- const deserializeAws_restJson1RuleList = (output, context) => {
4081
+ const de_RuleList = (output, context) => {
4162
4082
  const retVal = (output || [])
4163
4083
  .filter((e) => e != null)
4164
4084
  .map((entry) => {
4165
4085
  if (entry === null) {
4166
4086
  return null;
4167
4087
  }
4168
- return deserializeAws_restJson1Rule(entry, context);
4088
+ return de_Rule(entry, context);
4169
4089
  });
4170
4090
  return retVal;
4171
4091
  };
4172
- const deserializeAws_restJson1RulesetItem = (output, context) => {
4092
+ const de_RulesetItem = (output, context) => {
4173
4093
  return {
4174
4094
  AccountId: (0, smithy_client_1.expectString)(output.AccountId),
4175
4095
  CreateDate: output.CreateDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateDate))) : undefined,
@@ -4182,67 +4102,67 @@ const deserializeAws_restJson1RulesetItem = (output, context) => {
4182
4102
  Name: (0, smithy_client_1.expectString)(output.Name),
4183
4103
  ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
4184
4104
  RuleCount: (0, smithy_client_1.expectInt32)(output.RuleCount),
4185
- Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
4105
+ Tags: output.Tags != null ? de_TagMap(output.Tags, context) : undefined,
4186
4106
  TargetArn: (0, smithy_client_1.expectString)(output.TargetArn),
4187
4107
  };
4188
4108
  };
4189
- const deserializeAws_restJson1RulesetItemList = (output, context) => {
4109
+ const de_RulesetItemList = (output, context) => {
4190
4110
  const retVal = (output || [])
4191
4111
  .filter((e) => e != null)
4192
4112
  .map((entry) => {
4193
4113
  if (entry === null) {
4194
4114
  return null;
4195
4115
  }
4196
- return deserializeAws_restJson1RulesetItem(entry, context);
4116
+ return de_RulesetItem(entry, context);
4197
4117
  });
4198
4118
  return retVal;
4199
4119
  };
4200
- const deserializeAws_restJson1S3Location = (output, context) => {
4120
+ const de_S3Location = (output, context) => {
4201
4121
  return {
4202
4122
  Bucket: (0, smithy_client_1.expectString)(output.Bucket),
4203
4123
  BucketOwner: (0, smithy_client_1.expectString)(output.BucketOwner),
4204
4124
  Key: (0, smithy_client_1.expectString)(output.Key),
4205
4125
  };
4206
4126
  };
4207
- const deserializeAws_restJson1S3TableOutputOptions = (output, context) => {
4127
+ const de_S3TableOutputOptions = (output, context) => {
4208
4128
  return {
4209
- Location: output.Location != null ? deserializeAws_restJson1S3Location(output.Location, context) : undefined,
4129
+ Location: output.Location != null ? de_S3Location(output.Location, context) : undefined,
4210
4130
  };
4211
4131
  };
4212
- const deserializeAws_restJson1Sample = (output, context) => {
4132
+ const de_Sample = (output, context) => {
4213
4133
  return {
4214
4134
  Size: (0, smithy_client_1.expectInt32)(output.Size),
4215
4135
  Type: (0, smithy_client_1.expectString)(output.Type),
4216
4136
  };
4217
4137
  };
4218
- const deserializeAws_restJson1Schedule = (output, context) => {
4138
+ const de_Schedule = (output, context) => {
4219
4139
  return {
4220
4140
  AccountId: (0, smithy_client_1.expectString)(output.AccountId),
4221
4141
  CreateDate: output.CreateDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateDate))) : undefined,
4222
4142
  CreatedBy: (0, smithy_client_1.expectString)(output.CreatedBy),
4223
4143
  CronExpression: (0, smithy_client_1.expectString)(output.CronExpression),
4224
- JobNames: output.JobNames != null ? deserializeAws_restJson1JobNameList(output.JobNames, context) : undefined,
4144
+ JobNames: output.JobNames != null ? de_JobNameList(output.JobNames, context) : undefined,
4225
4145
  LastModifiedBy: (0, smithy_client_1.expectString)(output.LastModifiedBy),
4226
4146
  LastModifiedDate: output.LastModifiedDate != null
4227
4147
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedDate)))
4228
4148
  : undefined,
4229
4149
  Name: (0, smithy_client_1.expectString)(output.Name),
4230
4150
  ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
4231
- Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
4151
+ Tags: output.Tags != null ? de_TagMap(output.Tags, context) : undefined,
4232
4152
  };
4233
4153
  };
4234
- const deserializeAws_restJson1ScheduleList = (output, context) => {
4154
+ const de_ScheduleList = (output, context) => {
4235
4155
  const retVal = (output || [])
4236
4156
  .filter((e) => e != null)
4237
4157
  .map((entry) => {
4238
4158
  if (entry === null) {
4239
4159
  return null;
4240
4160
  }
4241
- return deserializeAws_restJson1Schedule(entry, context);
4161
+ return de_Schedule(entry, context);
4242
4162
  });
4243
4163
  return retVal;
4244
4164
  };
4245
- const deserializeAws_restJson1SheetIndexList = (output, context) => {
4165
+ const de_SheetIndexList = (output, context) => {
4246
4166
  const retVal = (output || [])
4247
4167
  .filter((e) => e != null)
4248
4168
  .map((entry) => {
@@ -4253,7 +4173,7 @@ const deserializeAws_restJson1SheetIndexList = (output, context) => {
4253
4173
  });
4254
4174
  return retVal;
4255
4175
  };
4256
- const deserializeAws_restJson1SheetNameList = (output, context) => {
4176
+ const de_SheetNameList = (output, context) => {
4257
4177
  const retVal = (output || [])
4258
4178
  .filter((e) => e != null)
4259
4179
  .map((entry) => {
@@ -4264,7 +4184,7 @@ const deserializeAws_restJson1SheetNameList = (output, context) => {
4264
4184
  });
4265
4185
  return retVal;
4266
4186
  };
4267
- const deserializeAws_restJson1StatisticList = (output, context) => {
4187
+ const de_StatisticList = (output, context) => {
4268
4188
  const retVal = (output || [])
4269
4189
  .filter((e) => e != null)
4270
4190
  .map((entry) => {
@@ -4275,32 +4195,30 @@ const deserializeAws_restJson1StatisticList = (output, context) => {
4275
4195
  });
4276
4196
  return retVal;
4277
4197
  };
4278
- const deserializeAws_restJson1StatisticOverride = (output, context) => {
4198
+ const de_StatisticOverride = (output, context) => {
4279
4199
  return {
4280
- Parameters: output.Parameters != null ? deserializeAws_restJson1ParameterMap(output.Parameters, context) : undefined,
4200
+ Parameters: output.Parameters != null ? de_ParameterMap(output.Parameters, context) : undefined,
4281
4201
  Statistic: (0, smithy_client_1.expectString)(output.Statistic),
4282
4202
  };
4283
4203
  };
4284
- const deserializeAws_restJson1StatisticOverrideList = (output, context) => {
4204
+ const de_StatisticOverrideList = (output, context) => {
4285
4205
  const retVal = (output || [])
4286
4206
  .filter((e) => e != null)
4287
4207
  .map((entry) => {
4288
4208
  if (entry === null) {
4289
4209
  return null;
4290
4210
  }
4291
- return deserializeAws_restJson1StatisticOverride(entry, context);
4211
+ return de_StatisticOverride(entry, context);
4292
4212
  });
4293
4213
  return retVal;
4294
4214
  };
4295
- const deserializeAws_restJson1StatisticsConfiguration = (output, context) => {
4215
+ const de_StatisticsConfiguration = (output, context) => {
4296
4216
  return {
4297
- IncludedStatistics: output.IncludedStatistics != null
4298
- ? deserializeAws_restJson1StatisticList(output.IncludedStatistics, context)
4299
- : undefined,
4300
- Overrides: output.Overrides != null ? deserializeAws_restJson1StatisticOverrideList(output.Overrides, context) : undefined,
4217
+ IncludedStatistics: output.IncludedStatistics != null ? de_StatisticList(output.IncludedStatistics, context) : undefined,
4218
+ Overrides: output.Overrides != null ? de_StatisticOverrideList(output.Overrides, context) : undefined,
4301
4219
  };
4302
4220
  };
4303
- const deserializeAws_restJson1TagMap = (output, context) => {
4221
+ const de_TagMap = (output, context) => {
4304
4222
  return Object.entries(output).reduce((acc, [key, value]) => {
4305
4223
  if (value === null) {
4306
4224
  return acc;
@@ -4309,31 +4227,31 @@ const deserializeAws_restJson1TagMap = (output, context) => {
4309
4227
  return acc;
4310
4228
  }, {});
4311
4229
  };
4312
- const deserializeAws_restJson1Threshold = (output, context) => {
4230
+ const de_Threshold = (output, context) => {
4313
4231
  return {
4314
4232
  Type: (0, smithy_client_1.expectString)(output.Type),
4315
4233
  Unit: (0, smithy_client_1.expectString)(output.Unit),
4316
4234
  Value: (0, smithy_client_1.limitedParseDouble)(output.Value),
4317
4235
  };
4318
4236
  };
4319
- const deserializeAws_restJson1ValidationConfiguration = (output, context) => {
4237
+ const de_ValidationConfiguration = (output, context) => {
4320
4238
  return {
4321
4239
  RulesetArn: (0, smithy_client_1.expectString)(output.RulesetArn),
4322
4240
  ValidationMode: (0, smithy_client_1.expectString)(output.ValidationMode),
4323
4241
  };
4324
4242
  };
4325
- const deserializeAws_restJson1ValidationConfigurationList = (output, context) => {
4243
+ const de_ValidationConfigurationList = (output, context) => {
4326
4244
  const retVal = (output || [])
4327
4245
  .filter((e) => e != null)
4328
4246
  .map((entry) => {
4329
4247
  if (entry === null) {
4330
4248
  return null;
4331
4249
  }
4332
- return deserializeAws_restJson1ValidationConfiguration(entry, context);
4250
+ return de_ValidationConfiguration(entry, context);
4333
4251
  });
4334
4252
  return retVal;
4335
4253
  };
4336
- const deserializeAws_restJson1ValuesMap = (output, context) => {
4254
+ const de_ValuesMap = (output, context) => {
4337
4255
  return Object.entries(output).reduce((acc, [key, value]) => {
4338
4256
  if (value === null) {
4339
4257
  return acc;