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