@aws-sdk/client-databrew 3.118.1 → 3.128.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/CHANGELOG.md +27 -0
- package/dist-cjs/protocols/Aws_restJson1.js +509 -665
- package/dist-es/protocols/Aws_restJson1.js +390 -546
- package/package.json +26 -26
|
@@ -24,8 +24,7 @@ export var serializeAws_restJson1BatchDeleteRecipeVersionCommand = function (inp
|
|
|
24
24
|
else {
|
|
25
25
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
26
26
|
}
|
|
27
|
-
body = JSON.stringify(__assign({}, (input.RecipeVersions
|
|
28
|
-
input.RecipeVersions !== null && {
|
|
27
|
+
body = JSON.stringify(__assign({}, (input.RecipeVersions != null && {
|
|
29
28
|
RecipeVersions: serializeAws_restJson1RecipeVersionList(input.RecipeVersions, context),
|
|
30
29
|
})));
|
|
31
30
|
return [2, new __HttpRequest({
|
|
@@ -51,12 +50,9 @@ export var serializeAws_restJson1CreateDatasetCommand = function (input, context
|
|
|
51
50
|
"content-type": "application/json",
|
|
52
51
|
};
|
|
53
52
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/datasets";
|
|
54
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Format
|
|
55
|
-
input.FormatOptions !== null && {
|
|
53
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Format != null && { Format: input.Format })), (input.FormatOptions != null && {
|
|
56
54
|
FormatOptions: serializeAws_restJson1FormatOptions(input.FormatOptions, context),
|
|
57
|
-
})), (input.Input
|
|
58
|
-
input.Input !== null && { Input: serializeAws_restJson1Input(input.Input, context) })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.PathOptions !== undefined &&
|
|
59
|
-
input.PathOptions !== null && { PathOptions: serializeAws_restJson1PathOptions(input.PathOptions, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
|
|
55
|
+
})), (input.Input != null && { Input: serializeAws_restJson1Input(input.Input, context) })), (input.Name != null && { Name: input.Name })), (input.PathOptions != null && { PathOptions: serializeAws_restJson1PathOptions(input.PathOptions, context) })), (input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
|
|
60
56
|
return [2, new __HttpRequest({
|
|
61
57
|
protocol: protocol,
|
|
62
58
|
hostname: hostname,
|
|
@@ -80,18 +76,11 @@ export var serializeAws_restJson1CreateProfileJobCommand = function (input, cont
|
|
|
80
76
|
"content-type": "application/json",
|
|
81
77
|
};
|
|
82
78
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/profileJobs";
|
|
83
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Configuration
|
|
84
|
-
input.Configuration !== null && {
|
|
79
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Configuration != null && {
|
|
85
80
|
Configuration: serializeAws_restJson1ProfileConfiguration(input.Configuration, context),
|
|
86
|
-
})), (input.DatasetName
|
|
87
|
-
input.EncryptionKeyArn !== null && { EncryptionKeyArn: input.EncryptionKeyArn })), (input.EncryptionMode !== undefined &&
|
|
88
|
-
input.EncryptionMode !== null && { EncryptionMode: input.EncryptionMode })), (input.JobSample !== undefined &&
|
|
89
|
-
input.JobSample !== null && { JobSample: serializeAws_restJson1JobSample(input.JobSample, context) })), (input.LogSubscription !== undefined &&
|
|
90
|
-
input.LogSubscription !== null && { LogSubscription: input.LogSubscription })), (input.MaxCapacity !== undefined && input.MaxCapacity !== null && { MaxCapacity: input.MaxCapacity })), (input.MaxRetries !== undefined && input.MaxRetries !== null && { MaxRetries: input.MaxRetries })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.OutputLocation !== undefined &&
|
|
91
|
-
input.OutputLocation !== null && {
|
|
81
|
+
})), (input.DatasetName != null && { DatasetName: input.DatasetName })), (input.EncryptionKeyArn != null && { EncryptionKeyArn: input.EncryptionKeyArn })), (input.EncryptionMode != null && { EncryptionMode: input.EncryptionMode })), (input.JobSample != null && { JobSample: serializeAws_restJson1JobSample(input.JobSample, context) })), (input.LogSubscription != null && { LogSubscription: input.LogSubscription })), (input.MaxCapacity != null && { MaxCapacity: input.MaxCapacity })), (input.MaxRetries != null && { MaxRetries: input.MaxRetries })), (input.Name != null && { Name: input.Name })), (input.OutputLocation != null && {
|
|
92
82
|
OutputLocation: serializeAws_restJson1S3Location(input.OutputLocation, context),
|
|
93
|
-
})), (input.RoleArn
|
|
94
|
-
input.ValidationConfigurations !== null && {
|
|
83
|
+
})), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })), (input.Timeout != null && { Timeout: input.Timeout })), (input.ValidationConfigurations != null && {
|
|
95
84
|
ValidationConfigurations: serializeAws_restJson1ValidationConfigurationList(input.ValidationConfigurations, context),
|
|
96
85
|
})));
|
|
97
86
|
return [2, new __HttpRequest({
|
|
@@ -117,8 +106,7 @@ export var serializeAws_restJson1CreateProjectCommand = function (input, context
|
|
|
117
106
|
"content-type": "application/json",
|
|
118
107
|
};
|
|
119
108
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/projects";
|
|
120
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DatasetName
|
|
121
|
-
input.Sample !== null && { Sample: serializeAws_restJson1Sample(input.Sample, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
|
|
109
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DatasetName != null && { DatasetName: input.DatasetName })), (input.Name != null && { Name: input.Name })), (input.RecipeName != null && { RecipeName: input.RecipeName })), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.Sample != null && { Sample: serializeAws_restJson1Sample(input.Sample, context) })), (input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
|
|
122
110
|
return [2, new __HttpRequest({
|
|
123
111
|
protocol: protocol,
|
|
124
112
|
hostname: hostname,
|
|
@@ -142,8 +130,7 @@ export var serializeAws_restJson1CreateRecipeCommand = function (input, context)
|
|
|
142
130
|
"content-type": "application/json",
|
|
143
131
|
};
|
|
144
132
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/recipes";
|
|
145
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.Description
|
|
146
|
-
input.Steps !== null && { Steps: serializeAws_restJson1RecipeStepList(input.Steps, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
|
|
133
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.Name != null && { Name: input.Name })), (input.Steps != null && { Steps: serializeAws_restJson1RecipeStepList(input.Steps, context) })), (input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
|
|
147
134
|
return [2, new __HttpRequest({
|
|
148
135
|
protocol: protocol,
|
|
149
136
|
hostname: hostname,
|
|
@@ -167,20 +154,13 @@ export var serializeAws_restJson1CreateRecipeJobCommand = function (input, conte
|
|
|
167
154
|
"content-type": "application/json",
|
|
168
155
|
};
|
|
169
156
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/recipeJobs";
|
|
170
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DataCatalogOutputs
|
|
171
|
-
input.DataCatalogOutputs !== null && {
|
|
157
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DataCatalogOutputs != null && {
|
|
172
158
|
DataCatalogOutputs: serializeAws_restJson1DataCatalogOutputList(input.DataCatalogOutputs, context),
|
|
173
|
-
})), (input.DatabaseOutputs
|
|
174
|
-
input.DatabaseOutputs !== null && {
|
|
159
|
+
})), (input.DatabaseOutputs != null && {
|
|
175
160
|
DatabaseOutputs: serializeAws_restJson1DatabaseOutputList(input.DatabaseOutputs, context),
|
|
176
|
-
})), (input.DatasetName
|
|
177
|
-
input.EncryptionKeyArn !== null && { EncryptionKeyArn: input.EncryptionKeyArn })), (input.EncryptionMode !== undefined &&
|
|
178
|
-
input.EncryptionMode !== null && { EncryptionMode: input.EncryptionMode })), (input.LogSubscription !== undefined &&
|
|
179
|
-
input.LogSubscription !== null && { LogSubscription: input.LogSubscription })), (input.MaxCapacity !== undefined && input.MaxCapacity !== null && { MaxCapacity: input.MaxCapacity })), (input.MaxRetries !== undefined && input.MaxRetries !== null && { MaxRetries: input.MaxRetries })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Outputs !== undefined &&
|
|
180
|
-
input.Outputs !== null && { Outputs: serializeAws_restJson1OutputList(input.Outputs, context) })), (input.ProjectName !== undefined && input.ProjectName !== null && { ProjectName: input.ProjectName })), (input.RecipeReference !== undefined &&
|
|
181
|
-
input.RecipeReference !== null && {
|
|
161
|
+
})), (input.DatasetName != null && { DatasetName: input.DatasetName })), (input.EncryptionKeyArn != null && { EncryptionKeyArn: input.EncryptionKeyArn })), (input.EncryptionMode != null && { EncryptionMode: input.EncryptionMode })), (input.LogSubscription != null && { LogSubscription: input.LogSubscription })), (input.MaxCapacity != null && { MaxCapacity: input.MaxCapacity })), (input.MaxRetries != null && { MaxRetries: input.MaxRetries })), (input.Name != null && { Name: input.Name })), (input.Outputs != null && { Outputs: serializeAws_restJson1OutputList(input.Outputs, context) })), (input.ProjectName != null && { ProjectName: input.ProjectName })), (input.RecipeReference != null && {
|
|
182
162
|
RecipeReference: serializeAws_restJson1RecipeReference(input.RecipeReference, context),
|
|
183
|
-
})), (input.RoleArn
|
|
163
|
+
})), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })), (input.Timeout != null && { Timeout: input.Timeout })));
|
|
184
164
|
return [2, new __HttpRequest({
|
|
185
165
|
protocol: protocol,
|
|
186
166
|
hostname: hostname,
|
|
@@ -204,8 +184,7 @@ export var serializeAws_restJson1CreateRulesetCommand = function (input, context
|
|
|
204
184
|
"content-type": "application/json",
|
|
205
185
|
};
|
|
206
186
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/rulesets";
|
|
207
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.Description
|
|
208
|
-
input.Rules !== null && { Rules: serializeAws_restJson1RuleList(input.Rules, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })), (input.TargetArn !== undefined && input.TargetArn !== null && { TargetArn: input.TargetArn })));
|
|
187
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.Name != null && { Name: input.Name })), (input.Rules != null && { Rules: serializeAws_restJson1RuleList(input.Rules, context) })), (input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })), (input.TargetArn != null && { TargetArn: input.TargetArn })));
|
|
209
188
|
return [2, new __HttpRequest({
|
|
210
189
|
protocol: protocol,
|
|
211
190
|
hostname: hostname,
|
|
@@ -229,9 +208,7 @@ export var serializeAws_restJson1CreateScheduleCommand = function (input, contex
|
|
|
229
208
|
"content-type": "application/json",
|
|
230
209
|
};
|
|
231
210
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/schedules";
|
|
232
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.CronExpression
|
|
233
|
-
input.CronExpression !== null && { CronExpression: input.CronExpression })), (input.JobNames !== undefined &&
|
|
234
|
-
input.JobNames !== null && { JobNames: serializeAws_restJson1JobNameList(input.JobNames, context) })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
|
|
211
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.CronExpression != null && { CronExpression: input.CronExpression })), (input.JobNames != null && { JobNames: serializeAws_restJson1JobNameList(input.JobNames, context) })), (input.Name != null && { Name: input.Name })), (input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
|
|
235
212
|
return [2, new __HttpRequest({
|
|
236
213
|
protocol: protocol,
|
|
237
214
|
hostname: hostname,
|
|
@@ -916,7 +893,7 @@ export var serializeAws_restJson1PublishRecipeCommand = function (input, context
|
|
|
916
893
|
else {
|
|
917
894
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
918
895
|
}
|
|
919
|
-
body = JSON.stringify(__assign({}, (input.Description
|
|
896
|
+
body = JSON.stringify(__assign({}, (input.Description != null && { Description: input.Description })));
|
|
920
897
|
return [2, new __HttpRequest({
|
|
921
898
|
protocol: protocol,
|
|
922
899
|
hostname: hostname,
|
|
@@ -950,10 +927,7 @@ export var serializeAws_restJson1SendProjectSessionActionCommand = function (inp
|
|
|
950
927
|
else {
|
|
951
928
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
952
929
|
}
|
|
953
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.ClientSessionId
|
|
954
|
-
input.ClientSessionId !== null && { ClientSessionId: input.ClientSessionId })), (input.Preview !== undefined && input.Preview !== null && { Preview: input.Preview })), (input.RecipeStep !== undefined &&
|
|
955
|
-
input.RecipeStep !== null && { RecipeStep: serializeAws_restJson1RecipeStep(input.RecipeStep, context) })), (input.StepIndex !== undefined && input.StepIndex !== null && { StepIndex: input.StepIndex })), (input.ViewFrame !== undefined &&
|
|
956
|
-
input.ViewFrame !== null && { ViewFrame: serializeAws_restJson1ViewFrame(input.ViewFrame, context) })));
|
|
930
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.ClientSessionId != null && { ClientSessionId: input.ClientSessionId })), (input.Preview != null && { Preview: input.Preview })), (input.RecipeStep != null && { RecipeStep: serializeAws_restJson1RecipeStep(input.RecipeStep, context) })), (input.StepIndex != null && { StepIndex: input.StepIndex })), (input.ViewFrame != null && { ViewFrame: serializeAws_restJson1ViewFrame(input.ViewFrame, context) })));
|
|
957
931
|
return [2, new __HttpRequest({
|
|
958
932
|
protocol: protocol,
|
|
959
933
|
hostname: hostname,
|
|
@@ -1018,7 +992,7 @@ export var serializeAws_restJson1StartProjectSessionCommand = function (input, c
|
|
|
1018
992
|
else {
|
|
1019
993
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
1020
994
|
}
|
|
1021
|
-
body = JSON.stringify(__assign({}, (input.AssumeControl
|
|
995
|
+
body = JSON.stringify(__assign({}, (input.AssumeControl != null && { AssumeControl: input.AssumeControl })));
|
|
1022
996
|
return [2, new __HttpRequest({
|
|
1023
997
|
protocol: protocol,
|
|
1024
998
|
hostname: hostname,
|
|
@@ -1093,7 +1067,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
1093
1067
|
else {
|
|
1094
1068
|
throw new Error("No value provided for input HTTP label: ResourceArn.");
|
|
1095
1069
|
}
|
|
1096
|
-
body = JSON.stringify(__assign({}, (input.Tags
|
|
1070
|
+
body = JSON.stringify(__assign({}, (input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
|
|
1097
1071
|
return [2, new __HttpRequest({
|
|
1098
1072
|
protocol: protocol,
|
|
1099
1073
|
hostname: hostname,
|
|
@@ -1160,12 +1134,9 @@ export var serializeAws_restJson1UpdateDatasetCommand = function (input, context
|
|
|
1160
1134
|
else {
|
|
1161
1135
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
1162
1136
|
}
|
|
1163
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.Format
|
|
1164
|
-
input.FormatOptions !== null && {
|
|
1137
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.Format != null && { Format: input.Format })), (input.FormatOptions != null && {
|
|
1165
1138
|
FormatOptions: serializeAws_restJson1FormatOptions(input.FormatOptions, context),
|
|
1166
|
-
})), (input.Input
|
|
1167
|
-
input.Input !== null && { Input: serializeAws_restJson1Input(input.Input, context) })), (input.PathOptions !== undefined &&
|
|
1168
|
-
input.PathOptions !== null && { PathOptions: serializeAws_restJson1PathOptions(input.PathOptions, context) })));
|
|
1139
|
+
})), (input.Input != null && { Input: serializeAws_restJson1Input(input.Input, context) })), (input.PathOptions != null && { PathOptions: serializeAws_restJson1PathOptions(input.PathOptions, context) })));
|
|
1169
1140
|
return [2, new __HttpRequest({
|
|
1170
1141
|
protocol: protocol,
|
|
1171
1142
|
hostname: hostname,
|
|
@@ -1199,18 +1170,11 @@ export var serializeAws_restJson1UpdateProfileJobCommand = function (input, cont
|
|
|
1199
1170
|
else {
|
|
1200
1171
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
1201
1172
|
}
|
|
1202
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Configuration
|
|
1203
|
-
input.Configuration !== null && {
|
|
1173
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Configuration != null && {
|
|
1204
1174
|
Configuration: serializeAws_restJson1ProfileConfiguration(input.Configuration, context),
|
|
1205
|
-
})), (input.EncryptionKeyArn
|
|
1206
|
-
input.EncryptionKeyArn !== null && { EncryptionKeyArn: input.EncryptionKeyArn })), (input.EncryptionMode !== undefined &&
|
|
1207
|
-
input.EncryptionMode !== null && { EncryptionMode: input.EncryptionMode })), (input.JobSample !== undefined &&
|
|
1208
|
-
input.JobSample !== null && { JobSample: serializeAws_restJson1JobSample(input.JobSample, context) })), (input.LogSubscription !== undefined &&
|
|
1209
|
-
input.LogSubscription !== null && { LogSubscription: input.LogSubscription })), (input.MaxCapacity !== undefined && input.MaxCapacity !== null && { MaxCapacity: input.MaxCapacity })), (input.MaxRetries !== undefined && input.MaxRetries !== null && { MaxRetries: input.MaxRetries })), (input.OutputLocation !== undefined &&
|
|
1210
|
-
input.OutputLocation !== null && {
|
|
1175
|
+
})), (input.EncryptionKeyArn != null && { EncryptionKeyArn: input.EncryptionKeyArn })), (input.EncryptionMode != null && { EncryptionMode: input.EncryptionMode })), (input.JobSample != null && { JobSample: serializeAws_restJson1JobSample(input.JobSample, context) })), (input.LogSubscription != null && { LogSubscription: input.LogSubscription })), (input.MaxCapacity != null && { MaxCapacity: input.MaxCapacity })), (input.MaxRetries != null && { MaxRetries: input.MaxRetries })), (input.OutputLocation != null && {
|
|
1211
1176
|
OutputLocation: serializeAws_restJson1S3Location(input.OutputLocation, context),
|
|
1212
|
-
})), (input.RoleArn
|
|
1213
|
-
input.ValidationConfigurations !== null && {
|
|
1177
|
+
})), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.Timeout != null && { Timeout: input.Timeout })), (input.ValidationConfigurations != null && {
|
|
1214
1178
|
ValidationConfigurations: serializeAws_restJson1ValidationConfigurationList(input.ValidationConfigurations, context),
|
|
1215
1179
|
})));
|
|
1216
1180
|
return [2, new __HttpRequest({
|
|
@@ -1246,8 +1210,7 @@ export var serializeAws_restJson1UpdateProjectCommand = function (input, context
|
|
|
1246
1210
|
else {
|
|
1247
1211
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
1248
1212
|
}
|
|
1249
|
-
body = JSON.stringify(__assign(__assign({}, (input.RoleArn
|
|
1250
|
-
input.Sample !== null && { Sample: serializeAws_restJson1Sample(input.Sample, context) })));
|
|
1213
|
+
body = JSON.stringify(__assign(__assign({}, (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.Sample != null && { Sample: serializeAws_restJson1Sample(input.Sample, context) })));
|
|
1251
1214
|
return [2, new __HttpRequest({
|
|
1252
1215
|
protocol: protocol,
|
|
1253
1216
|
hostname: hostname,
|
|
@@ -1281,8 +1244,7 @@ export var serializeAws_restJson1UpdateRecipeCommand = function (input, context)
|
|
|
1281
1244
|
else {
|
|
1282
1245
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
1283
1246
|
}
|
|
1284
|
-
body = JSON.stringify(__assign(__assign({}, (input.Description
|
|
1285
|
-
input.Steps !== null && { Steps: serializeAws_restJson1RecipeStepList(input.Steps, context) })));
|
|
1247
|
+
body = JSON.stringify(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.Steps != null && { Steps: serializeAws_restJson1RecipeStepList(input.Steps, context) })));
|
|
1286
1248
|
return [2, new __HttpRequest({
|
|
1287
1249
|
protocol: protocol,
|
|
1288
1250
|
hostname: hostname,
|
|
@@ -1316,17 +1278,11 @@ export var serializeAws_restJson1UpdateRecipeJobCommand = function (input, conte
|
|
|
1316
1278
|
else {
|
|
1317
1279
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
1318
1280
|
}
|
|
1319
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DataCatalogOutputs
|
|
1320
|
-
input.DataCatalogOutputs !== null && {
|
|
1281
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DataCatalogOutputs != null && {
|
|
1321
1282
|
DataCatalogOutputs: serializeAws_restJson1DataCatalogOutputList(input.DataCatalogOutputs, context),
|
|
1322
|
-
})), (input.DatabaseOutputs
|
|
1323
|
-
input.DatabaseOutputs !== null && {
|
|
1283
|
+
})), (input.DatabaseOutputs != null && {
|
|
1324
1284
|
DatabaseOutputs: serializeAws_restJson1DatabaseOutputList(input.DatabaseOutputs, context),
|
|
1325
|
-
})), (input.EncryptionKeyArn
|
|
1326
|
-
input.EncryptionKeyArn !== null && { EncryptionKeyArn: input.EncryptionKeyArn })), (input.EncryptionMode !== undefined &&
|
|
1327
|
-
input.EncryptionMode !== null && { EncryptionMode: input.EncryptionMode })), (input.LogSubscription !== undefined &&
|
|
1328
|
-
input.LogSubscription !== null && { LogSubscription: input.LogSubscription })), (input.MaxCapacity !== undefined && input.MaxCapacity !== null && { MaxCapacity: input.MaxCapacity })), (input.MaxRetries !== undefined && input.MaxRetries !== null && { MaxRetries: input.MaxRetries })), (input.Outputs !== undefined &&
|
|
1329
|
-
input.Outputs !== null && { Outputs: serializeAws_restJson1OutputList(input.Outputs, context) })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn })), (input.Timeout !== undefined && input.Timeout !== null && { Timeout: input.Timeout })));
|
|
1285
|
+
})), (input.EncryptionKeyArn != null && { EncryptionKeyArn: input.EncryptionKeyArn })), (input.EncryptionMode != null && { EncryptionMode: input.EncryptionMode })), (input.LogSubscription != null && { LogSubscription: input.LogSubscription })), (input.MaxCapacity != null && { MaxCapacity: input.MaxCapacity })), (input.MaxRetries != null && { MaxRetries: input.MaxRetries })), (input.Outputs != null && { Outputs: serializeAws_restJson1OutputList(input.Outputs, context) })), (input.RoleArn != null && { RoleArn: input.RoleArn })), (input.Timeout != null && { Timeout: input.Timeout })));
|
|
1330
1286
|
return [2, new __HttpRequest({
|
|
1331
1287
|
protocol: protocol,
|
|
1332
1288
|
hostname: hostname,
|
|
@@ -1360,8 +1316,7 @@ export var serializeAws_restJson1UpdateRulesetCommand = function (input, context
|
|
|
1360
1316
|
else {
|
|
1361
1317
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
1362
1318
|
}
|
|
1363
|
-
body = JSON.stringify(__assign(__assign({}, (input.Description
|
|
1364
|
-
input.Rules !== null && { Rules: serializeAws_restJson1RuleList(input.Rules, context) })));
|
|
1319
|
+
body = JSON.stringify(__assign(__assign({}, (input.Description != null && { Description: input.Description })), (input.Rules != null && { Rules: serializeAws_restJson1RuleList(input.Rules, context) })));
|
|
1365
1320
|
return [2, new __HttpRequest({
|
|
1366
1321
|
protocol: protocol,
|
|
1367
1322
|
hostname: hostname,
|
|
@@ -1395,9 +1350,7 @@ export var serializeAws_restJson1UpdateScheduleCommand = function (input, contex
|
|
|
1395
1350
|
else {
|
|
1396
1351
|
throw new Error("No value provided for input HTTP label: Name.");
|
|
1397
1352
|
}
|
|
1398
|
-
body = JSON.stringify(__assign(__assign({}, (input.CronExpression
|
|
1399
|
-
input.CronExpression !== null && { CronExpression: input.CronExpression })), (input.JobNames !== undefined &&
|
|
1400
|
-
input.JobNames !== null && { JobNames: serializeAws_restJson1JobNameList(input.JobNames, context) })));
|
|
1353
|
+
body = JSON.stringify(__assign(__assign({}, (input.CronExpression != null && { CronExpression: input.CronExpression })), (input.JobNames != null && { JobNames: serializeAws_restJson1JobNameList(input.JobNames, context) })));
|
|
1401
1354
|
return [2, new __HttpRequest({
|
|
1402
1355
|
protocol: protocol,
|
|
1403
1356
|
hostname: hostname,
|
|
@@ -1439,7 +1392,7 @@ export var deserializeAws_restJson1BatchDeleteRecipeVersionCommand = function (o
|
|
|
1439
1392
|
});
|
|
1440
1393
|
}); };
|
|
1441
1394
|
var deserializeAws_restJson1BatchDeleteRecipeVersionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1442
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1395
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1443
1396
|
var _c;
|
|
1444
1397
|
return __generator(this, function (_d) {
|
|
1445
1398
|
switch (_d.label) {
|
|
@@ -1449,7 +1402,6 @@ var deserializeAws_restJson1BatchDeleteRecipeVersionCommandError = function (out
|
|
|
1449
1402
|
return [4, parseBody(output.body, context)];
|
|
1450
1403
|
case 1:
|
|
1451
1404
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1452
|
-
errorCode = "UnknownError";
|
|
1453
1405
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1454
1406
|
_b = errorCode;
|
|
1455
1407
|
switch (_b) {
|
|
@@ -1469,10 +1421,12 @@ var deserializeAws_restJson1BatchDeleteRecipeVersionCommandError = function (out
|
|
|
1469
1421
|
case 7: throw _d.sent();
|
|
1470
1422
|
case 8:
|
|
1471
1423
|
parsedBody = parsedOutput.body;
|
|
1424
|
+
$metadata = deserializeMetadata(output);
|
|
1425
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1472
1426
|
response = new __BaseException({
|
|
1473
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1427
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1474
1428
|
$fault: "client",
|
|
1475
|
-
$metadata:
|
|
1429
|
+
$metadata: $metadata,
|
|
1476
1430
|
});
|
|
1477
1431
|
throw __decorateServiceException(response, parsedBody);
|
|
1478
1432
|
}
|
|
@@ -1503,7 +1457,7 @@ export var deserializeAws_restJson1CreateDatasetCommand = function (output, cont
|
|
|
1503
1457
|
});
|
|
1504
1458
|
}); };
|
|
1505
1459
|
var deserializeAws_restJson1CreateDatasetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1506
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1460
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1507
1461
|
var _c;
|
|
1508
1462
|
return __generator(this, function (_d) {
|
|
1509
1463
|
switch (_d.label) {
|
|
@@ -1513,7 +1467,6 @@ var deserializeAws_restJson1CreateDatasetCommandError = function (output, contex
|
|
|
1513
1467
|
return [4, parseBody(output.body, context)];
|
|
1514
1468
|
case 1:
|
|
1515
1469
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1516
|
-
errorCode = "UnknownError";
|
|
1517
1470
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1518
1471
|
_b = errorCode;
|
|
1519
1472
|
switch (_b) {
|
|
@@ -1537,10 +1490,12 @@ var deserializeAws_restJson1CreateDatasetCommandError = function (output, contex
|
|
|
1537
1490
|
case 9: throw _d.sent();
|
|
1538
1491
|
case 10:
|
|
1539
1492
|
parsedBody = parsedOutput.body;
|
|
1493
|
+
$metadata = deserializeMetadata(output);
|
|
1494
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1540
1495
|
response = new __BaseException({
|
|
1541
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1496
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1542
1497
|
$fault: "client",
|
|
1543
|
-
$metadata:
|
|
1498
|
+
$metadata: $metadata,
|
|
1544
1499
|
});
|
|
1545
1500
|
throw __decorateServiceException(response, parsedBody);
|
|
1546
1501
|
}
|
|
@@ -1571,7 +1526,7 @@ export var deserializeAws_restJson1CreateProfileJobCommand = function (output, c
|
|
|
1571
1526
|
});
|
|
1572
1527
|
}); };
|
|
1573
1528
|
var deserializeAws_restJson1CreateProfileJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1574
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1529
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1575
1530
|
var _c;
|
|
1576
1531
|
return __generator(this, function (_d) {
|
|
1577
1532
|
switch (_d.label) {
|
|
@@ -1581,7 +1536,6 @@ var deserializeAws_restJson1CreateProfileJobCommandError = function (output, con
|
|
|
1581
1536
|
return [4, parseBody(output.body, context)];
|
|
1582
1537
|
case 1:
|
|
1583
1538
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1584
|
-
errorCode = "UnknownError";
|
|
1585
1539
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1586
1540
|
_b = errorCode;
|
|
1587
1541
|
switch (_b) {
|
|
@@ -1609,10 +1563,12 @@ var deserializeAws_restJson1CreateProfileJobCommandError = function (output, con
|
|
|
1609
1563
|
case 11: throw _d.sent();
|
|
1610
1564
|
case 12:
|
|
1611
1565
|
parsedBody = parsedOutput.body;
|
|
1566
|
+
$metadata = deserializeMetadata(output);
|
|
1567
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1612
1568
|
response = new __BaseException({
|
|
1613
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1569
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1614
1570
|
$fault: "client",
|
|
1615
|
-
$metadata:
|
|
1571
|
+
$metadata: $metadata,
|
|
1616
1572
|
});
|
|
1617
1573
|
throw __decorateServiceException(response, parsedBody);
|
|
1618
1574
|
}
|
|
@@ -1643,7 +1599,7 @@ export var deserializeAws_restJson1CreateProjectCommand = function (output, cont
|
|
|
1643
1599
|
});
|
|
1644
1600
|
}); };
|
|
1645
1601
|
var deserializeAws_restJson1CreateProjectCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1646
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1602
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1647
1603
|
var _c;
|
|
1648
1604
|
return __generator(this, function (_d) {
|
|
1649
1605
|
switch (_d.label) {
|
|
@@ -1653,7 +1609,6 @@ var deserializeAws_restJson1CreateProjectCommandError = function (output, contex
|
|
|
1653
1609
|
return [4, parseBody(output.body, context)];
|
|
1654
1610
|
case 1:
|
|
1655
1611
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1656
|
-
errorCode = "UnknownError";
|
|
1657
1612
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1658
1613
|
_b = errorCode;
|
|
1659
1614
|
switch (_b) {
|
|
@@ -1677,10 +1632,12 @@ var deserializeAws_restJson1CreateProjectCommandError = function (output, contex
|
|
|
1677
1632
|
case 9: throw _d.sent();
|
|
1678
1633
|
case 10:
|
|
1679
1634
|
parsedBody = parsedOutput.body;
|
|
1635
|
+
$metadata = deserializeMetadata(output);
|
|
1636
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1680
1637
|
response = new __BaseException({
|
|
1681
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1638
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1682
1639
|
$fault: "client",
|
|
1683
|
-
$metadata:
|
|
1640
|
+
$metadata: $metadata,
|
|
1684
1641
|
});
|
|
1685
1642
|
throw __decorateServiceException(response, parsedBody);
|
|
1686
1643
|
}
|
|
@@ -1711,7 +1668,7 @@ export var deserializeAws_restJson1CreateRecipeCommand = function (output, conte
|
|
|
1711
1668
|
});
|
|
1712
1669
|
}); };
|
|
1713
1670
|
var deserializeAws_restJson1CreateRecipeCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1714
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1671
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1715
1672
|
var _c;
|
|
1716
1673
|
return __generator(this, function (_d) {
|
|
1717
1674
|
switch (_d.label) {
|
|
@@ -1721,7 +1678,6 @@ var deserializeAws_restJson1CreateRecipeCommandError = function (output, context
|
|
|
1721
1678
|
return [4, parseBody(output.body, context)];
|
|
1722
1679
|
case 1:
|
|
1723
1680
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1724
|
-
errorCode = "UnknownError";
|
|
1725
1681
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1726
1682
|
_b = errorCode;
|
|
1727
1683
|
switch (_b) {
|
|
@@ -1741,10 +1697,12 @@ var deserializeAws_restJson1CreateRecipeCommandError = function (output, context
|
|
|
1741
1697
|
case 7: throw _d.sent();
|
|
1742
1698
|
case 8:
|
|
1743
1699
|
parsedBody = parsedOutput.body;
|
|
1700
|
+
$metadata = deserializeMetadata(output);
|
|
1701
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1744
1702
|
response = new __BaseException({
|
|
1745
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1703
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1746
1704
|
$fault: "client",
|
|
1747
|
-
$metadata:
|
|
1705
|
+
$metadata: $metadata,
|
|
1748
1706
|
});
|
|
1749
1707
|
throw __decorateServiceException(response, parsedBody);
|
|
1750
1708
|
}
|
|
@@ -1775,7 +1733,7 @@ export var deserializeAws_restJson1CreateRecipeJobCommand = function (output, co
|
|
|
1775
1733
|
});
|
|
1776
1734
|
}); };
|
|
1777
1735
|
var deserializeAws_restJson1CreateRecipeJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1778
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1736
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1779
1737
|
var _c;
|
|
1780
1738
|
return __generator(this, function (_d) {
|
|
1781
1739
|
switch (_d.label) {
|
|
@@ -1785,7 +1743,6 @@ var deserializeAws_restJson1CreateRecipeJobCommandError = function (output, cont
|
|
|
1785
1743
|
return [4, parseBody(output.body, context)];
|
|
1786
1744
|
case 1:
|
|
1787
1745
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1788
|
-
errorCode = "UnknownError";
|
|
1789
1746
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1790
1747
|
_b = errorCode;
|
|
1791
1748
|
switch (_b) {
|
|
@@ -1813,10 +1770,12 @@ var deserializeAws_restJson1CreateRecipeJobCommandError = function (output, cont
|
|
|
1813
1770
|
case 11: throw _d.sent();
|
|
1814
1771
|
case 12:
|
|
1815
1772
|
parsedBody = parsedOutput.body;
|
|
1773
|
+
$metadata = deserializeMetadata(output);
|
|
1774
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1816
1775
|
response = new __BaseException({
|
|
1817
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1776
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1818
1777
|
$fault: "client",
|
|
1819
|
-
$metadata:
|
|
1778
|
+
$metadata: $metadata,
|
|
1820
1779
|
});
|
|
1821
1780
|
throw __decorateServiceException(response, parsedBody);
|
|
1822
1781
|
}
|
|
@@ -1847,7 +1806,7 @@ export var deserializeAws_restJson1CreateRulesetCommand = function (output, cont
|
|
|
1847
1806
|
});
|
|
1848
1807
|
}); };
|
|
1849
1808
|
var deserializeAws_restJson1CreateRulesetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1850
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1809
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1851
1810
|
var _c;
|
|
1852
1811
|
return __generator(this, function (_d) {
|
|
1853
1812
|
switch (_d.label) {
|
|
@@ -1857,7 +1816,6 @@ var deserializeAws_restJson1CreateRulesetCommandError = function (output, contex
|
|
|
1857
1816
|
return [4, parseBody(output.body, context)];
|
|
1858
1817
|
case 1:
|
|
1859
1818
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1860
|
-
errorCode = "UnknownError";
|
|
1861
1819
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1862
1820
|
_b = errorCode;
|
|
1863
1821
|
switch (_b) {
|
|
@@ -1877,10 +1835,12 @@ var deserializeAws_restJson1CreateRulesetCommandError = function (output, contex
|
|
|
1877
1835
|
case 7: throw _d.sent();
|
|
1878
1836
|
case 8:
|
|
1879
1837
|
parsedBody = parsedOutput.body;
|
|
1838
|
+
$metadata = deserializeMetadata(output);
|
|
1839
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1880
1840
|
response = new __BaseException({
|
|
1881
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1841
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1882
1842
|
$fault: "client",
|
|
1883
|
-
$metadata:
|
|
1843
|
+
$metadata: $metadata,
|
|
1884
1844
|
});
|
|
1885
1845
|
throw __decorateServiceException(response, parsedBody);
|
|
1886
1846
|
}
|
|
@@ -1911,7 +1871,7 @@ export var deserializeAws_restJson1CreateScheduleCommand = function (output, con
|
|
|
1911
1871
|
});
|
|
1912
1872
|
}); };
|
|
1913
1873
|
var deserializeAws_restJson1CreateScheduleCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1914
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1874
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1915
1875
|
var _c;
|
|
1916
1876
|
return __generator(this, function (_d) {
|
|
1917
1877
|
switch (_d.label) {
|
|
@@ -1921,7 +1881,6 @@ var deserializeAws_restJson1CreateScheduleCommandError = function (output, conte
|
|
|
1921
1881
|
return [4, parseBody(output.body, context)];
|
|
1922
1882
|
case 1:
|
|
1923
1883
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1924
|
-
errorCode = "UnknownError";
|
|
1925
1884
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1926
1885
|
_b = errorCode;
|
|
1927
1886
|
switch (_b) {
|
|
@@ -1941,10 +1900,12 @@ var deserializeAws_restJson1CreateScheduleCommandError = function (output, conte
|
|
|
1941
1900
|
case 7: throw _d.sent();
|
|
1942
1901
|
case 8:
|
|
1943
1902
|
parsedBody = parsedOutput.body;
|
|
1903
|
+
$metadata = deserializeMetadata(output);
|
|
1904
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1944
1905
|
response = new __BaseException({
|
|
1945
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1906
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1946
1907
|
$fault: "client",
|
|
1947
|
-
$metadata:
|
|
1908
|
+
$metadata: $metadata,
|
|
1948
1909
|
});
|
|
1949
1910
|
throw __decorateServiceException(response, parsedBody);
|
|
1950
1911
|
}
|
|
@@ -1975,7 +1936,7 @@ export var deserializeAws_restJson1DeleteDatasetCommand = function (output, cont
|
|
|
1975
1936
|
});
|
|
1976
1937
|
}); };
|
|
1977
1938
|
var deserializeAws_restJson1DeleteDatasetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1978
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1939
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1979
1940
|
var _c;
|
|
1980
1941
|
return __generator(this, function (_d) {
|
|
1981
1942
|
switch (_d.label) {
|
|
@@ -1985,7 +1946,6 @@ var deserializeAws_restJson1DeleteDatasetCommandError = function (output, contex
|
|
|
1985
1946
|
return [4, parseBody(output.body, context)];
|
|
1986
1947
|
case 1:
|
|
1987
1948
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1988
|
-
errorCode = "UnknownError";
|
|
1989
1949
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1990
1950
|
_b = errorCode;
|
|
1991
1951
|
switch (_b) {
|
|
@@ -2005,10 +1965,12 @@ var deserializeAws_restJson1DeleteDatasetCommandError = function (output, contex
|
|
|
2005
1965
|
case 7: throw _d.sent();
|
|
2006
1966
|
case 8:
|
|
2007
1967
|
parsedBody = parsedOutput.body;
|
|
1968
|
+
$metadata = deserializeMetadata(output);
|
|
1969
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2008
1970
|
response = new __BaseException({
|
|
2009
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1971
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2010
1972
|
$fault: "client",
|
|
2011
|
-
$metadata:
|
|
1973
|
+
$metadata: $metadata,
|
|
2012
1974
|
});
|
|
2013
1975
|
throw __decorateServiceException(response, parsedBody);
|
|
2014
1976
|
}
|
|
@@ -2039,7 +2001,7 @@ export var deserializeAws_restJson1DeleteJobCommand = function (output, context)
|
|
|
2039
2001
|
});
|
|
2040
2002
|
}); };
|
|
2041
2003
|
var deserializeAws_restJson1DeleteJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2042
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2004
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2043
2005
|
var _c;
|
|
2044
2006
|
return __generator(this, function (_d) {
|
|
2045
2007
|
switch (_d.label) {
|
|
@@ -2049,7 +2011,6 @@ var deserializeAws_restJson1DeleteJobCommandError = function (output, context) {
|
|
|
2049
2011
|
return [4, parseBody(output.body, context)];
|
|
2050
2012
|
case 1:
|
|
2051
2013
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2052
|
-
errorCode = "UnknownError";
|
|
2053
2014
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2054
2015
|
_b = errorCode;
|
|
2055
2016
|
switch (_b) {
|
|
@@ -2069,10 +2030,12 @@ var deserializeAws_restJson1DeleteJobCommandError = function (output, context) {
|
|
|
2069
2030
|
case 7: throw _d.sent();
|
|
2070
2031
|
case 8:
|
|
2071
2032
|
parsedBody = parsedOutput.body;
|
|
2033
|
+
$metadata = deserializeMetadata(output);
|
|
2034
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2072
2035
|
response = new __BaseException({
|
|
2073
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2036
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2074
2037
|
$fault: "client",
|
|
2075
|
-
$metadata:
|
|
2038
|
+
$metadata: $metadata,
|
|
2076
2039
|
});
|
|
2077
2040
|
throw __decorateServiceException(response, parsedBody);
|
|
2078
2041
|
}
|
|
@@ -2103,7 +2066,7 @@ export var deserializeAws_restJson1DeleteProjectCommand = function (output, cont
|
|
|
2103
2066
|
});
|
|
2104
2067
|
}); };
|
|
2105
2068
|
var deserializeAws_restJson1DeleteProjectCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2106
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2069
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2107
2070
|
var _c;
|
|
2108
2071
|
return __generator(this, function (_d) {
|
|
2109
2072
|
switch (_d.label) {
|
|
@@ -2113,7 +2076,6 @@ var deserializeAws_restJson1DeleteProjectCommandError = function (output, contex
|
|
|
2113
2076
|
return [4, parseBody(output.body, context)];
|
|
2114
2077
|
case 1:
|
|
2115
2078
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2116
|
-
errorCode = "UnknownError";
|
|
2117
2079
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2118
2080
|
_b = errorCode;
|
|
2119
2081
|
switch (_b) {
|
|
@@ -2133,10 +2095,12 @@ var deserializeAws_restJson1DeleteProjectCommandError = function (output, contex
|
|
|
2133
2095
|
case 7: throw _d.sent();
|
|
2134
2096
|
case 8:
|
|
2135
2097
|
parsedBody = parsedOutput.body;
|
|
2098
|
+
$metadata = deserializeMetadata(output);
|
|
2099
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2136
2100
|
response = new __BaseException({
|
|
2137
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2101
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2138
2102
|
$fault: "client",
|
|
2139
|
-
$metadata:
|
|
2103
|
+
$metadata: $metadata,
|
|
2140
2104
|
});
|
|
2141
2105
|
throw __decorateServiceException(response, parsedBody);
|
|
2142
2106
|
}
|
|
@@ -2171,7 +2135,7 @@ export var deserializeAws_restJson1DeleteRecipeVersionCommand = function (output
|
|
|
2171
2135
|
});
|
|
2172
2136
|
}); };
|
|
2173
2137
|
var deserializeAws_restJson1DeleteRecipeVersionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2174
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2138
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2175
2139
|
var _c;
|
|
2176
2140
|
return __generator(this, function (_d) {
|
|
2177
2141
|
switch (_d.label) {
|
|
@@ -2181,7 +2145,6 @@ var deserializeAws_restJson1DeleteRecipeVersionCommandError = function (output,
|
|
|
2181
2145
|
return [4, parseBody(output.body, context)];
|
|
2182
2146
|
case 1:
|
|
2183
2147
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2184
|
-
errorCode = "UnknownError";
|
|
2185
2148
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2186
2149
|
_b = errorCode;
|
|
2187
2150
|
switch (_b) {
|
|
@@ -2201,10 +2164,12 @@ var deserializeAws_restJson1DeleteRecipeVersionCommandError = function (output,
|
|
|
2201
2164
|
case 7: throw _d.sent();
|
|
2202
2165
|
case 8:
|
|
2203
2166
|
parsedBody = parsedOutput.body;
|
|
2167
|
+
$metadata = deserializeMetadata(output);
|
|
2168
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2204
2169
|
response = new __BaseException({
|
|
2205
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2170
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2206
2171
|
$fault: "client",
|
|
2207
|
-
$metadata:
|
|
2172
|
+
$metadata: $metadata,
|
|
2208
2173
|
});
|
|
2209
2174
|
throw __decorateServiceException(response, parsedBody);
|
|
2210
2175
|
}
|
|
@@ -2235,7 +2200,7 @@ export var deserializeAws_restJson1DeleteRulesetCommand = function (output, cont
|
|
|
2235
2200
|
});
|
|
2236
2201
|
}); };
|
|
2237
2202
|
var deserializeAws_restJson1DeleteRulesetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2238
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2203
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2239
2204
|
var _c;
|
|
2240
2205
|
return __generator(this, function (_d) {
|
|
2241
2206
|
switch (_d.label) {
|
|
@@ -2245,7 +2210,6 @@ var deserializeAws_restJson1DeleteRulesetCommandError = function (output, contex
|
|
|
2245
2210
|
return [4, parseBody(output.body, context)];
|
|
2246
2211
|
case 1:
|
|
2247
2212
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2248
|
-
errorCode = "UnknownError";
|
|
2249
2213
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2250
2214
|
_b = errorCode;
|
|
2251
2215
|
switch (_b) {
|
|
@@ -2265,10 +2229,12 @@ var deserializeAws_restJson1DeleteRulesetCommandError = function (output, contex
|
|
|
2265
2229
|
case 7: throw _d.sent();
|
|
2266
2230
|
case 8:
|
|
2267
2231
|
parsedBody = parsedOutput.body;
|
|
2232
|
+
$metadata = deserializeMetadata(output);
|
|
2233
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2268
2234
|
response = new __BaseException({
|
|
2269
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2235
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2270
2236
|
$fault: "client",
|
|
2271
|
-
$metadata:
|
|
2237
|
+
$metadata: $metadata,
|
|
2272
2238
|
});
|
|
2273
2239
|
throw __decorateServiceException(response, parsedBody);
|
|
2274
2240
|
}
|
|
@@ -2299,7 +2265,7 @@ export var deserializeAws_restJson1DeleteScheduleCommand = function (output, con
|
|
|
2299
2265
|
});
|
|
2300
2266
|
}); };
|
|
2301
2267
|
var deserializeAws_restJson1DeleteScheduleCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2302
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2268
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2303
2269
|
var _c;
|
|
2304
2270
|
return __generator(this, function (_d) {
|
|
2305
2271
|
switch (_d.label) {
|
|
@@ -2309,7 +2275,6 @@ var deserializeAws_restJson1DeleteScheduleCommandError = function (output, conte
|
|
|
2309
2275
|
return [4, parseBody(output.body, context)];
|
|
2310
2276
|
case 1:
|
|
2311
2277
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2312
|
-
errorCode = "UnknownError";
|
|
2313
2278
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2314
2279
|
_b = errorCode;
|
|
2315
2280
|
switch (_b) {
|
|
@@ -2325,10 +2290,12 @@ var deserializeAws_restJson1DeleteScheduleCommandError = function (output, conte
|
|
|
2325
2290
|
case 5: throw _d.sent();
|
|
2326
2291
|
case 6:
|
|
2327
2292
|
parsedBody = parsedOutput.body;
|
|
2293
|
+
$metadata = deserializeMetadata(output);
|
|
2294
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2328
2295
|
response = new __BaseException({
|
|
2329
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2296
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2330
2297
|
$fault: "client",
|
|
2331
|
-
$metadata:
|
|
2298
|
+
$metadata: $metadata,
|
|
2332
2299
|
});
|
|
2333
2300
|
throw __decorateServiceException(response, parsedBody);
|
|
2334
2301
|
}
|
|
@@ -2403,7 +2370,7 @@ export var deserializeAws_restJson1DescribeDatasetCommand = function (output, co
|
|
|
2403
2370
|
});
|
|
2404
2371
|
}); };
|
|
2405
2372
|
var deserializeAws_restJson1DescribeDatasetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2406
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2373
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2407
2374
|
var _c;
|
|
2408
2375
|
return __generator(this, function (_d) {
|
|
2409
2376
|
switch (_d.label) {
|
|
@@ -2413,7 +2380,6 @@ var deserializeAws_restJson1DescribeDatasetCommandError = function (output, cont
|
|
|
2413
2380
|
return [4, parseBody(output.body, context)];
|
|
2414
2381
|
case 1:
|
|
2415
2382
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2416
|
-
errorCode = "UnknownError";
|
|
2417
2383
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2418
2384
|
_b = errorCode;
|
|
2419
2385
|
switch (_b) {
|
|
@@ -2429,10 +2395,12 @@ var deserializeAws_restJson1DescribeDatasetCommandError = function (output, cont
|
|
|
2429
2395
|
case 5: throw _d.sent();
|
|
2430
2396
|
case 6:
|
|
2431
2397
|
parsedBody = parsedOutput.body;
|
|
2398
|
+
$metadata = deserializeMetadata(output);
|
|
2399
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2432
2400
|
response = new __BaseException({
|
|
2433
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2401
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2434
2402
|
$fault: "client",
|
|
2435
|
-
$metadata:
|
|
2403
|
+
$metadata: $metadata,
|
|
2436
2404
|
});
|
|
2437
2405
|
throw __decorateServiceException(response, parsedBody);
|
|
2438
2406
|
}
|
|
@@ -2555,7 +2523,7 @@ export var deserializeAws_restJson1DescribeJobCommand = function (output, contex
|
|
|
2555
2523
|
});
|
|
2556
2524
|
}); };
|
|
2557
2525
|
var deserializeAws_restJson1DescribeJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2558
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2526
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2559
2527
|
var _c;
|
|
2560
2528
|
return __generator(this, function (_d) {
|
|
2561
2529
|
switch (_d.label) {
|
|
@@ -2565,7 +2533,6 @@ var deserializeAws_restJson1DescribeJobCommandError = function (output, context)
|
|
|
2565
2533
|
return [4, parseBody(output.body, context)];
|
|
2566
2534
|
case 1:
|
|
2567
2535
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2568
|
-
errorCode = "UnknownError";
|
|
2569
2536
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2570
2537
|
_b = errorCode;
|
|
2571
2538
|
switch (_b) {
|
|
@@ -2581,10 +2548,12 @@ var deserializeAws_restJson1DescribeJobCommandError = function (output, context)
|
|
|
2581
2548
|
case 5: throw _d.sent();
|
|
2582
2549
|
case 6:
|
|
2583
2550
|
parsedBody = parsedOutput.body;
|
|
2551
|
+
$metadata = deserializeMetadata(output);
|
|
2552
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2584
2553
|
response = new __BaseException({
|
|
2585
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2554
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2586
2555
|
$fault: "client",
|
|
2587
|
-
$metadata:
|
|
2556
|
+
$metadata: $metadata,
|
|
2588
2557
|
});
|
|
2589
2558
|
throw __decorateServiceException(response, parsedBody);
|
|
2590
2559
|
}
|
|
@@ -2687,7 +2656,7 @@ export var deserializeAws_restJson1DescribeJobRunCommand = function (output, con
|
|
|
2687
2656
|
});
|
|
2688
2657
|
}); };
|
|
2689
2658
|
var deserializeAws_restJson1DescribeJobRunCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2690
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2659
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2691
2660
|
var _c;
|
|
2692
2661
|
return __generator(this, function (_d) {
|
|
2693
2662
|
switch (_d.label) {
|
|
@@ -2697,7 +2666,6 @@ var deserializeAws_restJson1DescribeJobRunCommandError = function (output, conte
|
|
|
2697
2666
|
return [4, parseBody(output.body, context)];
|
|
2698
2667
|
case 1:
|
|
2699
2668
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2700
|
-
errorCode = "UnknownError";
|
|
2701
2669
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2702
2670
|
_b = errorCode;
|
|
2703
2671
|
switch (_b) {
|
|
@@ -2713,10 +2681,12 @@ var deserializeAws_restJson1DescribeJobRunCommandError = function (output, conte
|
|
|
2713
2681
|
case 5: throw _d.sent();
|
|
2714
2682
|
case 6:
|
|
2715
2683
|
parsedBody = parsedOutput.body;
|
|
2684
|
+
$metadata = deserializeMetadata(output);
|
|
2685
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2716
2686
|
response = new __BaseException({
|
|
2717
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2687
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2718
2688
|
$fault: "client",
|
|
2719
|
-
$metadata:
|
|
2689
|
+
$metadata: $metadata,
|
|
2720
2690
|
});
|
|
2721
2691
|
throw __decorateServiceException(response, parsedBody);
|
|
2722
2692
|
}
|
|
@@ -2799,7 +2769,7 @@ export var deserializeAws_restJson1DescribeProjectCommand = function (output, co
|
|
|
2799
2769
|
});
|
|
2800
2770
|
}); };
|
|
2801
2771
|
var deserializeAws_restJson1DescribeProjectCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2802
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2772
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2803
2773
|
var _c;
|
|
2804
2774
|
return __generator(this, function (_d) {
|
|
2805
2775
|
switch (_d.label) {
|
|
@@ -2809,7 +2779,6 @@ var deserializeAws_restJson1DescribeProjectCommandError = function (output, cont
|
|
|
2809
2779
|
return [4, parseBody(output.body, context)];
|
|
2810
2780
|
case 1:
|
|
2811
2781
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2812
|
-
errorCode = "UnknownError";
|
|
2813
2782
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2814
2783
|
_b = errorCode;
|
|
2815
2784
|
switch (_b) {
|
|
@@ -2825,10 +2794,12 @@ var deserializeAws_restJson1DescribeProjectCommandError = function (output, cont
|
|
|
2825
2794
|
case 5: throw _d.sent();
|
|
2826
2795
|
case 6:
|
|
2827
2796
|
parsedBody = parsedOutput.body;
|
|
2797
|
+
$metadata = deserializeMetadata(output);
|
|
2798
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2828
2799
|
response = new __BaseException({
|
|
2829
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2800
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2830
2801
|
$fault: "client",
|
|
2831
|
-
$metadata:
|
|
2802
|
+
$metadata: $metadata,
|
|
2832
2803
|
});
|
|
2833
2804
|
throw __decorateServiceException(response, parsedBody);
|
|
2834
2805
|
}
|
|
@@ -2907,7 +2878,7 @@ export var deserializeAws_restJson1DescribeRecipeCommand = function (output, con
|
|
|
2907
2878
|
});
|
|
2908
2879
|
}); };
|
|
2909
2880
|
var deserializeAws_restJson1DescribeRecipeCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2910
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2881
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2911
2882
|
var _c;
|
|
2912
2883
|
return __generator(this, function (_d) {
|
|
2913
2884
|
switch (_d.label) {
|
|
@@ -2917,7 +2888,6 @@ var deserializeAws_restJson1DescribeRecipeCommandError = function (output, conte
|
|
|
2917
2888
|
return [4, parseBody(output.body, context)];
|
|
2918
2889
|
case 1:
|
|
2919
2890
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2920
|
-
errorCode = "UnknownError";
|
|
2921
2891
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2922
2892
|
_b = errorCode;
|
|
2923
2893
|
switch (_b) {
|
|
@@ -2933,10 +2903,12 @@ var deserializeAws_restJson1DescribeRecipeCommandError = function (output, conte
|
|
|
2933
2903
|
case 5: throw _d.sent();
|
|
2934
2904
|
case 6:
|
|
2935
2905
|
parsedBody = parsedOutput.body;
|
|
2906
|
+
$metadata = deserializeMetadata(output);
|
|
2907
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2936
2908
|
response = new __BaseException({
|
|
2937
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2909
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2938
2910
|
$fault: "client",
|
|
2939
|
-
$metadata:
|
|
2911
|
+
$metadata: $metadata,
|
|
2940
2912
|
});
|
|
2941
2913
|
throw __decorateServiceException(response, parsedBody);
|
|
2942
2914
|
}
|
|
@@ -3003,7 +2975,7 @@ export var deserializeAws_restJson1DescribeRulesetCommand = function (output, co
|
|
|
3003
2975
|
});
|
|
3004
2976
|
}); };
|
|
3005
2977
|
var deserializeAws_restJson1DescribeRulesetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3006
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2978
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3007
2979
|
var _c;
|
|
3008
2980
|
return __generator(this, function (_d) {
|
|
3009
2981
|
switch (_d.label) {
|
|
@@ -3013,7 +2985,6 @@ var deserializeAws_restJson1DescribeRulesetCommandError = function (output, cont
|
|
|
3013
2985
|
return [4, parseBody(output.body, context)];
|
|
3014
2986
|
case 1:
|
|
3015
2987
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3016
|
-
errorCode = "UnknownError";
|
|
3017
2988
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3018
2989
|
_b = errorCode;
|
|
3019
2990
|
switch (_b) {
|
|
@@ -3029,10 +3000,12 @@ var deserializeAws_restJson1DescribeRulesetCommandError = function (output, cont
|
|
|
3029
3000
|
case 5: throw _d.sent();
|
|
3030
3001
|
case 6:
|
|
3031
3002
|
parsedBody = parsedOutput.body;
|
|
3003
|
+
$metadata = deserializeMetadata(output);
|
|
3004
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3032
3005
|
response = new __BaseException({
|
|
3033
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3006
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3034
3007
|
$fault: "client",
|
|
3035
|
-
$metadata:
|
|
3008
|
+
$metadata: $metadata,
|
|
3036
3009
|
});
|
|
3037
3010
|
throw __decorateServiceException(response, parsedBody);
|
|
3038
3011
|
}
|
|
@@ -3095,7 +3068,7 @@ export var deserializeAws_restJson1DescribeScheduleCommand = function (output, c
|
|
|
3095
3068
|
});
|
|
3096
3069
|
}); };
|
|
3097
3070
|
var deserializeAws_restJson1DescribeScheduleCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3098
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3071
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3099
3072
|
var _c;
|
|
3100
3073
|
return __generator(this, function (_d) {
|
|
3101
3074
|
switch (_d.label) {
|
|
@@ -3105,7 +3078,6 @@ var deserializeAws_restJson1DescribeScheduleCommandError = function (output, con
|
|
|
3105
3078
|
return [4, parseBody(output.body, context)];
|
|
3106
3079
|
case 1:
|
|
3107
3080
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3108
|
-
errorCode = "UnknownError";
|
|
3109
3081
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3110
3082
|
_b = errorCode;
|
|
3111
3083
|
switch (_b) {
|
|
@@ -3121,10 +3093,12 @@ var deserializeAws_restJson1DescribeScheduleCommandError = function (output, con
|
|
|
3121
3093
|
case 5: throw _d.sent();
|
|
3122
3094
|
case 6:
|
|
3123
3095
|
parsedBody = parsedOutput.body;
|
|
3096
|
+
$metadata = deserializeMetadata(output);
|
|
3097
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3124
3098
|
response = new __BaseException({
|
|
3125
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3099
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3126
3100
|
$fault: "client",
|
|
3127
|
-
$metadata:
|
|
3101
|
+
$metadata: $metadata,
|
|
3128
3102
|
});
|
|
3129
3103
|
throw __decorateServiceException(response, parsedBody);
|
|
3130
3104
|
}
|
|
@@ -3159,7 +3133,7 @@ export var deserializeAws_restJson1ListDatasetsCommand = function (output, conte
|
|
|
3159
3133
|
});
|
|
3160
3134
|
}); };
|
|
3161
3135
|
var deserializeAws_restJson1ListDatasetsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3162
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3136
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3163
3137
|
var _c;
|
|
3164
3138
|
return __generator(this, function (_d) {
|
|
3165
3139
|
switch (_d.label) {
|
|
@@ -3169,7 +3143,6 @@ var deserializeAws_restJson1ListDatasetsCommandError = function (output, context
|
|
|
3169
3143
|
return [4, parseBody(output.body, context)];
|
|
3170
3144
|
case 1:
|
|
3171
3145
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3172
|
-
errorCode = "UnknownError";
|
|
3173
3146
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3174
3147
|
_b = errorCode;
|
|
3175
3148
|
switch (_b) {
|
|
@@ -3181,10 +3154,12 @@ var deserializeAws_restJson1ListDatasetsCommandError = function (output, context
|
|
|
3181
3154
|
case 3: throw _d.sent();
|
|
3182
3155
|
case 4:
|
|
3183
3156
|
parsedBody = parsedOutput.body;
|
|
3157
|
+
$metadata = deserializeMetadata(output);
|
|
3158
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3184
3159
|
response = new __BaseException({
|
|
3185
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3160
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3186
3161
|
$fault: "client",
|
|
3187
|
-
$metadata:
|
|
3162
|
+
$metadata: $metadata,
|
|
3188
3163
|
});
|
|
3189
3164
|
throw __decorateServiceException(response, parsedBody);
|
|
3190
3165
|
}
|
|
@@ -3219,7 +3194,7 @@ export var deserializeAws_restJson1ListJobRunsCommand = function (output, contex
|
|
|
3219
3194
|
});
|
|
3220
3195
|
}); };
|
|
3221
3196
|
var deserializeAws_restJson1ListJobRunsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3222
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3197
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3223
3198
|
var _c;
|
|
3224
3199
|
return __generator(this, function (_d) {
|
|
3225
3200
|
switch (_d.label) {
|
|
@@ -3229,7 +3204,6 @@ var deserializeAws_restJson1ListJobRunsCommandError = function (output, context)
|
|
|
3229
3204
|
return [4, parseBody(output.body, context)];
|
|
3230
3205
|
case 1:
|
|
3231
3206
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3232
|
-
errorCode = "UnknownError";
|
|
3233
3207
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3234
3208
|
_b = errorCode;
|
|
3235
3209
|
switch (_b) {
|
|
@@ -3245,10 +3219,12 @@ var deserializeAws_restJson1ListJobRunsCommandError = function (output, context)
|
|
|
3245
3219
|
case 5: throw _d.sent();
|
|
3246
3220
|
case 6:
|
|
3247
3221
|
parsedBody = parsedOutput.body;
|
|
3222
|
+
$metadata = deserializeMetadata(output);
|
|
3223
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3248
3224
|
response = new __BaseException({
|
|
3249
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3225
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3250
3226
|
$fault: "client",
|
|
3251
|
-
$metadata:
|
|
3227
|
+
$metadata: $metadata,
|
|
3252
3228
|
});
|
|
3253
3229
|
throw __decorateServiceException(response, parsedBody);
|
|
3254
3230
|
}
|
|
@@ -3283,7 +3259,7 @@ export var deserializeAws_restJson1ListJobsCommand = function (output, context)
|
|
|
3283
3259
|
});
|
|
3284
3260
|
}); };
|
|
3285
3261
|
var deserializeAws_restJson1ListJobsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3286
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3262
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3287
3263
|
var _c;
|
|
3288
3264
|
return __generator(this, function (_d) {
|
|
3289
3265
|
switch (_d.label) {
|
|
@@ -3293,7 +3269,6 @@ var deserializeAws_restJson1ListJobsCommandError = function (output, context) {
|
|
|
3293
3269
|
return [4, parseBody(output.body, context)];
|
|
3294
3270
|
case 1:
|
|
3295
3271
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3296
|
-
errorCode = "UnknownError";
|
|
3297
3272
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3298
3273
|
_b = errorCode;
|
|
3299
3274
|
switch (_b) {
|
|
@@ -3305,10 +3280,12 @@ var deserializeAws_restJson1ListJobsCommandError = function (output, context) {
|
|
|
3305
3280
|
case 3: throw _d.sent();
|
|
3306
3281
|
case 4:
|
|
3307
3282
|
parsedBody = parsedOutput.body;
|
|
3283
|
+
$metadata = deserializeMetadata(output);
|
|
3284
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3308
3285
|
response = new __BaseException({
|
|
3309
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3286
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3310
3287
|
$fault: "client",
|
|
3311
|
-
$metadata:
|
|
3288
|
+
$metadata: $metadata,
|
|
3312
3289
|
});
|
|
3313
3290
|
throw __decorateServiceException(response, parsedBody);
|
|
3314
3291
|
}
|
|
@@ -3343,7 +3320,7 @@ export var deserializeAws_restJson1ListProjectsCommand = function (output, conte
|
|
|
3343
3320
|
});
|
|
3344
3321
|
}); };
|
|
3345
3322
|
var deserializeAws_restJson1ListProjectsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3346
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3323
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3347
3324
|
var _c;
|
|
3348
3325
|
return __generator(this, function (_d) {
|
|
3349
3326
|
switch (_d.label) {
|
|
@@ -3353,7 +3330,6 @@ var deserializeAws_restJson1ListProjectsCommandError = function (output, context
|
|
|
3353
3330
|
return [4, parseBody(output.body, context)];
|
|
3354
3331
|
case 1:
|
|
3355
3332
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3356
|
-
errorCode = "UnknownError";
|
|
3357
3333
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3358
3334
|
_b = errorCode;
|
|
3359
3335
|
switch (_b) {
|
|
@@ -3365,10 +3341,12 @@ var deserializeAws_restJson1ListProjectsCommandError = function (output, context
|
|
|
3365
3341
|
case 3: throw _d.sent();
|
|
3366
3342
|
case 4:
|
|
3367
3343
|
parsedBody = parsedOutput.body;
|
|
3344
|
+
$metadata = deserializeMetadata(output);
|
|
3345
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3368
3346
|
response = new __BaseException({
|
|
3369
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3347
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3370
3348
|
$fault: "client",
|
|
3371
|
-
$metadata:
|
|
3349
|
+
$metadata: $metadata,
|
|
3372
3350
|
});
|
|
3373
3351
|
throw __decorateServiceException(response, parsedBody);
|
|
3374
3352
|
}
|
|
@@ -3403,7 +3381,7 @@ export var deserializeAws_restJson1ListRecipesCommand = function (output, contex
|
|
|
3403
3381
|
});
|
|
3404
3382
|
}); };
|
|
3405
3383
|
var deserializeAws_restJson1ListRecipesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3406
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3384
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3407
3385
|
var _c;
|
|
3408
3386
|
return __generator(this, function (_d) {
|
|
3409
3387
|
switch (_d.label) {
|
|
@@ -3413,7 +3391,6 @@ var deserializeAws_restJson1ListRecipesCommandError = function (output, context)
|
|
|
3413
3391
|
return [4, parseBody(output.body, context)];
|
|
3414
3392
|
case 1:
|
|
3415
3393
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3416
|
-
errorCode = "UnknownError";
|
|
3417
3394
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3418
3395
|
_b = errorCode;
|
|
3419
3396
|
switch (_b) {
|
|
@@ -3425,10 +3402,12 @@ var deserializeAws_restJson1ListRecipesCommandError = function (output, context)
|
|
|
3425
3402
|
case 3: throw _d.sent();
|
|
3426
3403
|
case 4:
|
|
3427
3404
|
parsedBody = parsedOutput.body;
|
|
3405
|
+
$metadata = deserializeMetadata(output);
|
|
3406
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3428
3407
|
response = new __BaseException({
|
|
3429
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3408
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3430
3409
|
$fault: "client",
|
|
3431
|
-
$metadata:
|
|
3410
|
+
$metadata: $metadata,
|
|
3432
3411
|
});
|
|
3433
3412
|
throw __decorateServiceException(response, parsedBody);
|
|
3434
3413
|
}
|
|
@@ -3463,7 +3442,7 @@ export var deserializeAws_restJson1ListRecipeVersionsCommand = function (output,
|
|
|
3463
3442
|
});
|
|
3464
3443
|
}); };
|
|
3465
3444
|
var deserializeAws_restJson1ListRecipeVersionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3466
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3445
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3467
3446
|
var _c;
|
|
3468
3447
|
return __generator(this, function (_d) {
|
|
3469
3448
|
switch (_d.label) {
|
|
@@ -3473,7 +3452,6 @@ var deserializeAws_restJson1ListRecipeVersionsCommandError = function (output, c
|
|
|
3473
3452
|
return [4, parseBody(output.body, context)];
|
|
3474
3453
|
case 1:
|
|
3475
3454
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3476
|
-
errorCode = "UnknownError";
|
|
3477
3455
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3478
3456
|
_b = errorCode;
|
|
3479
3457
|
switch (_b) {
|
|
@@ -3485,10 +3463,12 @@ var deserializeAws_restJson1ListRecipeVersionsCommandError = function (output, c
|
|
|
3485
3463
|
case 3: throw _d.sent();
|
|
3486
3464
|
case 4:
|
|
3487
3465
|
parsedBody = parsedOutput.body;
|
|
3466
|
+
$metadata = deserializeMetadata(output);
|
|
3467
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3488
3468
|
response = new __BaseException({
|
|
3489
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3469
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3490
3470
|
$fault: "client",
|
|
3491
|
-
$metadata:
|
|
3471
|
+
$metadata: $metadata,
|
|
3492
3472
|
});
|
|
3493
3473
|
throw __decorateServiceException(response, parsedBody);
|
|
3494
3474
|
}
|
|
@@ -3523,7 +3503,7 @@ export var deserializeAws_restJson1ListRulesetsCommand = function (output, conte
|
|
|
3523
3503
|
});
|
|
3524
3504
|
}); };
|
|
3525
3505
|
var deserializeAws_restJson1ListRulesetsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3526
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3506
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3527
3507
|
var _c;
|
|
3528
3508
|
return __generator(this, function (_d) {
|
|
3529
3509
|
switch (_d.label) {
|
|
@@ -3533,7 +3513,6 @@ var deserializeAws_restJson1ListRulesetsCommandError = function (output, context
|
|
|
3533
3513
|
return [4, parseBody(output.body, context)];
|
|
3534
3514
|
case 1:
|
|
3535
3515
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3536
|
-
errorCode = "UnknownError";
|
|
3537
3516
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3538
3517
|
_b = errorCode;
|
|
3539
3518
|
switch (_b) {
|
|
@@ -3549,10 +3528,12 @@ var deserializeAws_restJson1ListRulesetsCommandError = function (output, context
|
|
|
3549
3528
|
case 5: throw _d.sent();
|
|
3550
3529
|
case 6:
|
|
3551
3530
|
parsedBody = parsedOutput.body;
|
|
3531
|
+
$metadata = deserializeMetadata(output);
|
|
3532
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3552
3533
|
response = new __BaseException({
|
|
3553
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3534
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3554
3535
|
$fault: "client",
|
|
3555
|
-
$metadata:
|
|
3536
|
+
$metadata: $metadata,
|
|
3556
3537
|
});
|
|
3557
3538
|
throw __decorateServiceException(response, parsedBody);
|
|
3558
3539
|
}
|
|
@@ -3587,7 +3568,7 @@ export var deserializeAws_restJson1ListSchedulesCommand = function (output, cont
|
|
|
3587
3568
|
});
|
|
3588
3569
|
}); };
|
|
3589
3570
|
var deserializeAws_restJson1ListSchedulesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3590
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3571
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3591
3572
|
var _c;
|
|
3592
3573
|
return __generator(this, function (_d) {
|
|
3593
3574
|
switch (_d.label) {
|
|
@@ -3597,7 +3578,6 @@ var deserializeAws_restJson1ListSchedulesCommandError = function (output, contex
|
|
|
3597
3578
|
return [4, parseBody(output.body, context)];
|
|
3598
3579
|
case 1:
|
|
3599
3580
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3600
|
-
errorCode = "UnknownError";
|
|
3601
3581
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3602
3582
|
_b = errorCode;
|
|
3603
3583
|
switch (_b) {
|
|
@@ -3609,10 +3589,12 @@ var deserializeAws_restJson1ListSchedulesCommandError = function (output, contex
|
|
|
3609
3589
|
case 3: throw _d.sent();
|
|
3610
3590
|
case 4:
|
|
3611
3591
|
parsedBody = parsedOutput.body;
|
|
3592
|
+
$metadata = deserializeMetadata(output);
|
|
3593
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3612
3594
|
response = new __BaseException({
|
|
3613
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3595
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3614
3596
|
$fault: "client",
|
|
3615
|
-
$metadata:
|
|
3597
|
+
$metadata: $metadata,
|
|
3616
3598
|
});
|
|
3617
3599
|
throw __decorateServiceException(response, parsedBody);
|
|
3618
3600
|
}
|
|
@@ -3643,7 +3625,7 @@ export var deserializeAws_restJson1ListTagsForResourceCommand = function (output
|
|
|
3643
3625
|
});
|
|
3644
3626
|
}); };
|
|
3645
3627
|
var deserializeAws_restJson1ListTagsForResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3646
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3628
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3647
3629
|
var _c;
|
|
3648
3630
|
return __generator(this, function (_d) {
|
|
3649
3631
|
switch (_d.label) {
|
|
@@ -3653,7 +3635,6 @@ var deserializeAws_restJson1ListTagsForResourceCommandError = function (output,
|
|
|
3653
3635
|
return [4, parseBody(output.body, context)];
|
|
3654
3636
|
case 1:
|
|
3655
3637
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3656
|
-
errorCode = "UnknownError";
|
|
3657
3638
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3658
3639
|
_b = errorCode;
|
|
3659
3640
|
switch (_b) {
|
|
@@ -3673,10 +3654,12 @@ var deserializeAws_restJson1ListTagsForResourceCommandError = function (output,
|
|
|
3673
3654
|
case 7: throw _d.sent();
|
|
3674
3655
|
case 8:
|
|
3675
3656
|
parsedBody = parsedOutput.body;
|
|
3657
|
+
$metadata = deserializeMetadata(output);
|
|
3658
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3676
3659
|
response = new __BaseException({
|
|
3677
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3660
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3678
3661
|
$fault: "client",
|
|
3679
|
-
$metadata:
|
|
3662
|
+
$metadata: $metadata,
|
|
3680
3663
|
});
|
|
3681
3664
|
throw __decorateServiceException(response, parsedBody);
|
|
3682
3665
|
}
|
|
@@ -3707,7 +3690,7 @@ export var deserializeAws_restJson1PublishRecipeCommand = function (output, cont
|
|
|
3707
3690
|
});
|
|
3708
3691
|
}); };
|
|
3709
3692
|
var deserializeAws_restJson1PublishRecipeCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3710
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3693
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3711
3694
|
var _c;
|
|
3712
3695
|
return __generator(this, function (_d) {
|
|
3713
3696
|
switch (_d.label) {
|
|
@@ -3717,7 +3700,6 @@ var deserializeAws_restJson1PublishRecipeCommandError = function (output, contex
|
|
|
3717
3700
|
return [4, parseBody(output.body, context)];
|
|
3718
3701
|
case 1:
|
|
3719
3702
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3720
|
-
errorCode = "UnknownError";
|
|
3721
3703
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3722
3704
|
_b = errorCode;
|
|
3723
3705
|
switch (_b) {
|
|
@@ -3737,10 +3719,12 @@ var deserializeAws_restJson1PublishRecipeCommandError = function (output, contex
|
|
|
3737
3719
|
case 7: throw _d.sent();
|
|
3738
3720
|
case 8:
|
|
3739
3721
|
parsedBody = parsedOutput.body;
|
|
3722
|
+
$metadata = deserializeMetadata(output);
|
|
3723
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3740
3724
|
response = new __BaseException({
|
|
3741
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3725
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3742
3726
|
$fault: "client",
|
|
3743
|
-
$metadata:
|
|
3727
|
+
$metadata: $metadata,
|
|
3744
3728
|
});
|
|
3745
3729
|
throw __decorateServiceException(response, parsedBody);
|
|
3746
3730
|
}
|
|
@@ -3779,7 +3763,7 @@ export var deserializeAws_restJson1SendProjectSessionActionCommand = function (o
|
|
|
3779
3763
|
});
|
|
3780
3764
|
}); };
|
|
3781
3765
|
var deserializeAws_restJson1SendProjectSessionActionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3782
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3766
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3783
3767
|
var _c;
|
|
3784
3768
|
return __generator(this, function (_d) {
|
|
3785
3769
|
switch (_d.label) {
|
|
@@ -3789,7 +3773,6 @@ var deserializeAws_restJson1SendProjectSessionActionCommandError = function (out
|
|
|
3789
3773
|
return [4, parseBody(output.body, context)];
|
|
3790
3774
|
case 1:
|
|
3791
3775
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3792
|
-
errorCode = "UnknownError";
|
|
3793
3776
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3794
3777
|
_b = errorCode;
|
|
3795
3778
|
switch (_b) {
|
|
@@ -3809,10 +3792,12 @@ var deserializeAws_restJson1SendProjectSessionActionCommandError = function (out
|
|
|
3809
3792
|
case 7: throw _d.sent();
|
|
3810
3793
|
case 8:
|
|
3811
3794
|
parsedBody = parsedOutput.body;
|
|
3795
|
+
$metadata = deserializeMetadata(output);
|
|
3796
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3812
3797
|
response = new __BaseException({
|
|
3813
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3798
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3814
3799
|
$fault: "client",
|
|
3815
|
-
$metadata:
|
|
3800
|
+
$metadata: $metadata,
|
|
3816
3801
|
});
|
|
3817
3802
|
throw __decorateServiceException(response, parsedBody);
|
|
3818
3803
|
}
|
|
@@ -3843,7 +3828,7 @@ export var deserializeAws_restJson1StartJobRunCommand = function (output, contex
|
|
|
3843
3828
|
});
|
|
3844
3829
|
}); };
|
|
3845
3830
|
var deserializeAws_restJson1StartJobRunCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3846
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3831
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3847
3832
|
var _c;
|
|
3848
3833
|
return __generator(this, function (_d) {
|
|
3849
3834
|
switch (_d.label) {
|
|
@@ -3853,7 +3838,6 @@ var deserializeAws_restJson1StartJobRunCommandError = function (output, context)
|
|
|
3853
3838
|
return [4, parseBody(output.body, context)];
|
|
3854
3839
|
case 1:
|
|
3855
3840
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3856
|
-
errorCode = "UnknownError";
|
|
3857
3841
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3858
3842
|
_b = errorCode;
|
|
3859
3843
|
switch (_b) {
|
|
@@ -3877,10 +3861,12 @@ var deserializeAws_restJson1StartJobRunCommandError = function (output, context)
|
|
|
3877
3861
|
case 9: throw _d.sent();
|
|
3878
3862
|
case 10:
|
|
3879
3863
|
parsedBody = parsedOutput.body;
|
|
3864
|
+
$metadata = deserializeMetadata(output);
|
|
3865
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3880
3866
|
response = new __BaseException({
|
|
3881
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3867
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3882
3868
|
$fault: "client",
|
|
3883
|
-
$metadata:
|
|
3869
|
+
$metadata: $metadata,
|
|
3884
3870
|
});
|
|
3885
3871
|
throw __decorateServiceException(response, parsedBody);
|
|
3886
3872
|
}
|
|
@@ -3915,7 +3901,7 @@ export var deserializeAws_restJson1StartProjectSessionCommand = function (output
|
|
|
3915
3901
|
});
|
|
3916
3902
|
}); };
|
|
3917
3903
|
var deserializeAws_restJson1StartProjectSessionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3918
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3904
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3919
3905
|
var _c;
|
|
3920
3906
|
return __generator(this, function (_d) {
|
|
3921
3907
|
switch (_d.label) {
|
|
@@ -3925,7 +3911,6 @@ var deserializeAws_restJson1StartProjectSessionCommandError = function (output,
|
|
|
3925
3911
|
return [4, parseBody(output.body, context)];
|
|
3926
3912
|
case 1:
|
|
3927
3913
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3928
|
-
errorCode = "UnknownError";
|
|
3929
3914
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3930
3915
|
_b = errorCode;
|
|
3931
3916
|
switch (_b) {
|
|
@@ -3949,10 +3934,12 @@ var deserializeAws_restJson1StartProjectSessionCommandError = function (output,
|
|
|
3949
3934
|
case 9: throw _d.sent();
|
|
3950
3935
|
case 10:
|
|
3951
3936
|
parsedBody = parsedOutput.body;
|
|
3937
|
+
$metadata = deserializeMetadata(output);
|
|
3938
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
3952
3939
|
response = new __BaseException({
|
|
3953
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3940
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
3954
3941
|
$fault: "client",
|
|
3955
|
-
$metadata:
|
|
3942
|
+
$metadata: $metadata,
|
|
3956
3943
|
});
|
|
3957
3944
|
throw __decorateServiceException(response, parsedBody);
|
|
3958
3945
|
}
|
|
@@ -3983,7 +3970,7 @@ export var deserializeAws_restJson1StopJobRunCommand = function (output, context
|
|
|
3983
3970
|
});
|
|
3984
3971
|
}); };
|
|
3985
3972
|
var deserializeAws_restJson1StopJobRunCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3986
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
3973
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
3987
3974
|
var _c;
|
|
3988
3975
|
return __generator(this, function (_d) {
|
|
3989
3976
|
switch (_d.label) {
|
|
@@ -3993,7 +3980,6 @@ var deserializeAws_restJson1StopJobRunCommandError = function (output, context)
|
|
|
3993
3980
|
return [4, parseBody(output.body, context)];
|
|
3994
3981
|
case 1:
|
|
3995
3982
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3996
|
-
errorCode = "UnknownError";
|
|
3997
3983
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3998
3984
|
_b = errorCode;
|
|
3999
3985
|
switch (_b) {
|
|
@@ -4009,10 +3995,12 @@ var deserializeAws_restJson1StopJobRunCommandError = function (output, context)
|
|
|
4009
3995
|
case 5: throw _d.sent();
|
|
4010
3996
|
case 6:
|
|
4011
3997
|
parsedBody = parsedOutput.body;
|
|
3998
|
+
$metadata = deserializeMetadata(output);
|
|
3999
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
4012
4000
|
response = new __BaseException({
|
|
4013
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
4001
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
4014
4002
|
$fault: "client",
|
|
4015
|
-
$metadata:
|
|
4003
|
+
$metadata: $metadata,
|
|
4016
4004
|
});
|
|
4017
4005
|
throw __decorateServiceException(response, parsedBody);
|
|
4018
4006
|
}
|
|
@@ -4037,7 +4025,7 @@ export var deserializeAws_restJson1TagResourceCommand = function (output, contex
|
|
|
4037
4025
|
});
|
|
4038
4026
|
}); };
|
|
4039
4027
|
var deserializeAws_restJson1TagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4040
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
4028
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
4041
4029
|
var _c;
|
|
4042
4030
|
return __generator(this, function (_d) {
|
|
4043
4031
|
switch (_d.label) {
|
|
@@ -4047,7 +4035,6 @@ var deserializeAws_restJson1TagResourceCommandError = function (output, context)
|
|
|
4047
4035
|
return [4, parseBody(output.body, context)];
|
|
4048
4036
|
case 1:
|
|
4049
4037
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4050
|
-
errorCode = "UnknownError";
|
|
4051
4038
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4052
4039
|
_b = errorCode;
|
|
4053
4040
|
switch (_b) {
|
|
@@ -4067,10 +4054,12 @@ var deserializeAws_restJson1TagResourceCommandError = function (output, context)
|
|
|
4067
4054
|
case 7: throw _d.sent();
|
|
4068
4055
|
case 8:
|
|
4069
4056
|
parsedBody = parsedOutput.body;
|
|
4057
|
+
$metadata = deserializeMetadata(output);
|
|
4058
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
4070
4059
|
response = new __BaseException({
|
|
4071
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
4060
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
4072
4061
|
$fault: "client",
|
|
4073
|
-
$metadata:
|
|
4062
|
+
$metadata: $metadata,
|
|
4074
4063
|
});
|
|
4075
4064
|
throw __decorateServiceException(response, parsedBody);
|
|
4076
4065
|
}
|
|
@@ -4095,7 +4084,7 @@ export var deserializeAws_restJson1UntagResourceCommand = function (output, cont
|
|
|
4095
4084
|
});
|
|
4096
4085
|
}); };
|
|
4097
4086
|
var deserializeAws_restJson1UntagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4098
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
4087
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
4099
4088
|
var _c;
|
|
4100
4089
|
return __generator(this, function (_d) {
|
|
4101
4090
|
switch (_d.label) {
|
|
@@ -4105,7 +4094,6 @@ var deserializeAws_restJson1UntagResourceCommandError = function (output, contex
|
|
|
4105
4094
|
return [4, parseBody(output.body, context)];
|
|
4106
4095
|
case 1:
|
|
4107
4096
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4108
|
-
errorCode = "UnknownError";
|
|
4109
4097
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4110
4098
|
_b = errorCode;
|
|
4111
4099
|
switch (_b) {
|
|
@@ -4125,10 +4113,12 @@ var deserializeAws_restJson1UntagResourceCommandError = function (output, contex
|
|
|
4125
4113
|
case 7: throw _d.sent();
|
|
4126
4114
|
case 8:
|
|
4127
4115
|
parsedBody = parsedOutput.body;
|
|
4116
|
+
$metadata = deserializeMetadata(output);
|
|
4117
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
4128
4118
|
response = new __BaseException({
|
|
4129
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
4119
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
4130
4120
|
$fault: "client",
|
|
4131
|
-
$metadata:
|
|
4121
|
+
$metadata: $metadata,
|
|
4132
4122
|
});
|
|
4133
4123
|
throw __decorateServiceException(response, parsedBody);
|
|
4134
4124
|
}
|
|
@@ -4159,7 +4149,7 @@ export var deserializeAws_restJson1UpdateDatasetCommand = function (output, cont
|
|
|
4159
4149
|
});
|
|
4160
4150
|
}); };
|
|
4161
4151
|
var deserializeAws_restJson1UpdateDatasetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4162
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
4152
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
4163
4153
|
var _c;
|
|
4164
4154
|
return __generator(this, function (_d) {
|
|
4165
4155
|
switch (_d.label) {
|
|
@@ -4169,7 +4159,6 @@ var deserializeAws_restJson1UpdateDatasetCommandError = function (output, contex
|
|
|
4169
4159
|
return [4, parseBody(output.body, context)];
|
|
4170
4160
|
case 1:
|
|
4171
4161
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4172
|
-
errorCode = "UnknownError";
|
|
4173
4162
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4174
4163
|
_b = errorCode;
|
|
4175
4164
|
switch (_b) {
|
|
@@ -4189,10 +4178,12 @@ var deserializeAws_restJson1UpdateDatasetCommandError = function (output, contex
|
|
|
4189
4178
|
case 7: throw _d.sent();
|
|
4190
4179
|
case 8:
|
|
4191
4180
|
parsedBody = parsedOutput.body;
|
|
4181
|
+
$metadata = deserializeMetadata(output);
|
|
4182
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
4192
4183
|
response = new __BaseException({
|
|
4193
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
4184
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
4194
4185
|
$fault: "client",
|
|
4195
|
-
$metadata:
|
|
4186
|
+
$metadata: $metadata,
|
|
4196
4187
|
});
|
|
4197
4188
|
throw __decorateServiceException(response, parsedBody);
|
|
4198
4189
|
}
|
|
@@ -4223,7 +4214,7 @@ export var deserializeAws_restJson1UpdateProfileJobCommand = function (output, c
|
|
|
4223
4214
|
});
|
|
4224
4215
|
}); };
|
|
4225
4216
|
var deserializeAws_restJson1UpdateProfileJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4226
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
4217
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
4227
4218
|
var _c;
|
|
4228
4219
|
return __generator(this, function (_d) {
|
|
4229
4220
|
switch (_d.label) {
|
|
@@ -4233,7 +4224,6 @@ var deserializeAws_restJson1UpdateProfileJobCommandError = function (output, con
|
|
|
4233
4224
|
return [4, parseBody(output.body, context)];
|
|
4234
4225
|
case 1:
|
|
4235
4226
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4236
|
-
errorCode = "UnknownError";
|
|
4237
4227
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4238
4228
|
_b = errorCode;
|
|
4239
4229
|
switch (_b) {
|
|
@@ -4253,10 +4243,12 @@ var deserializeAws_restJson1UpdateProfileJobCommandError = function (output, con
|
|
|
4253
4243
|
case 7: throw _d.sent();
|
|
4254
4244
|
case 8:
|
|
4255
4245
|
parsedBody = parsedOutput.body;
|
|
4246
|
+
$metadata = deserializeMetadata(output);
|
|
4247
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
4256
4248
|
response = new __BaseException({
|
|
4257
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
4249
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
4258
4250
|
$fault: "client",
|
|
4259
|
-
$metadata:
|
|
4251
|
+
$metadata: $metadata,
|
|
4260
4252
|
});
|
|
4261
4253
|
throw __decorateServiceException(response, parsedBody);
|
|
4262
4254
|
}
|
|
@@ -4291,7 +4283,7 @@ export var deserializeAws_restJson1UpdateProjectCommand = function (output, cont
|
|
|
4291
4283
|
});
|
|
4292
4284
|
}); };
|
|
4293
4285
|
var deserializeAws_restJson1UpdateProjectCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4294
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
4286
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
4295
4287
|
var _c;
|
|
4296
4288
|
return __generator(this, function (_d) {
|
|
4297
4289
|
switch (_d.label) {
|
|
@@ -4301,7 +4293,6 @@ var deserializeAws_restJson1UpdateProjectCommandError = function (output, contex
|
|
|
4301
4293
|
return [4, parseBody(output.body, context)];
|
|
4302
4294
|
case 1:
|
|
4303
4295
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4304
|
-
errorCode = "UnknownError";
|
|
4305
4296
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4306
4297
|
_b = errorCode;
|
|
4307
4298
|
switch (_b) {
|
|
@@ -4317,10 +4308,12 @@ var deserializeAws_restJson1UpdateProjectCommandError = function (output, contex
|
|
|
4317
4308
|
case 5: throw _d.sent();
|
|
4318
4309
|
case 6:
|
|
4319
4310
|
parsedBody = parsedOutput.body;
|
|
4311
|
+
$metadata = deserializeMetadata(output);
|
|
4312
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
4320
4313
|
response = new __BaseException({
|
|
4321
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
4314
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
4322
4315
|
$fault: "client",
|
|
4323
|
-
$metadata:
|
|
4316
|
+
$metadata: $metadata,
|
|
4324
4317
|
});
|
|
4325
4318
|
throw __decorateServiceException(response, parsedBody);
|
|
4326
4319
|
}
|
|
@@ -4351,7 +4344,7 @@ export var deserializeAws_restJson1UpdateRecipeCommand = function (output, conte
|
|
|
4351
4344
|
});
|
|
4352
4345
|
}); };
|
|
4353
4346
|
var deserializeAws_restJson1UpdateRecipeCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4354
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
4347
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
4355
4348
|
var _c;
|
|
4356
4349
|
return __generator(this, function (_d) {
|
|
4357
4350
|
switch (_d.label) {
|
|
@@ -4361,7 +4354,6 @@ var deserializeAws_restJson1UpdateRecipeCommandError = function (output, context
|
|
|
4361
4354
|
return [4, parseBody(output.body, context)];
|
|
4362
4355
|
case 1:
|
|
4363
4356
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4364
|
-
errorCode = "UnknownError";
|
|
4365
4357
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4366
4358
|
_b = errorCode;
|
|
4367
4359
|
switch (_b) {
|
|
@@ -4377,10 +4369,12 @@ var deserializeAws_restJson1UpdateRecipeCommandError = function (output, context
|
|
|
4377
4369
|
case 5: throw _d.sent();
|
|
4378
4370
|
case 6:
|
|
4379
4371
|
parsedBody = parsedOutput.body;
|
|
4372
|
+
$metadata = deserializeMetadata(output);
|
|
4373
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
4380
4374
|
response = new __BaseException({
|
|
4381
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
4375
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
4382
4376
|
$fault: "client",
|
|
4383
|
-
$metadata:
|
|
4377
|
+
$metadata: $metadata,
|
|
4384
4378
|
});
|
|
4385
4379
|
throw __decorateServiceException(response, parsedBody);
|
|
4386
4380
|
}
|
|
@@ -4411,7 +4405,7 @@ export var deserializeAws_restJson1UpdateRecipeJobCommand = function (output, co
|
|
|
4411
4405
|
});
|
|
4412
4406
|
}); };
|
|
4413
4407
|
var deserializeAws_restJson1UpdateRecipeJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4414
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
4408
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
4415
4409
|
var _c;
|
|
4416
4410
|
return __generator(this, function (_d) {
|
|
4417
4411
|
switch (_d.label) {
|
|
@@ -4421,7 +4415,6 @@ var deserializeAws_restJson1UpdateRecipeJobCommandError = function (output, cont
|
|
|
4421
4415
|
return [4, parseBody(output.body, context)];
|
|
4422
4416
|
case 1:
|
|
4423
4417
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4424
|
-
errorCode = "UnknownError";
|
|
4425
4418
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4426
4419
|
_b = errorCode;
|
|
4427
4420
|
switch (_b) {
|
|
@@ -4441,10 +4434,12 @@ var deserializeAws_restJson1UpdateRecipeJobCommandError = function (output, cont
|
|
|
4441
4434
|
case 7: throw _d.sent();
|
|
4442
4435
|
case 8:
|
|
4443
4436
|
parsedBody = parsedOutput.body;
|
|
4437
|
+
$metadata = deserializeMetadata(output);
|
|
4438
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
4444
4439
|
response = new __BaseException({
|
|
4445
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
4440
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
4446
4441
|
$fault: "client",
|
|
4447
|
-
$metadata:
|
|
4442
|
+
$metadata: $metadata,
|
|
4448
4443
|
});
|
|
4449
4444
|
throw __decorateServiceException(response, parsedBody);
|
|
4450
4445
|
}
|
|
@@ -4475,7 +4470,7 @@ export var deserializeAws_restJson1UpdateRulesetCommand = function (output, cont
|
|
|
4475
4470
|
});
|
|
4476
4471
|
}); };
|
|
4477
4472
|
var deserializeAws_restJson1UpdateRulesetCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4478
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
4473
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
4479
4474
|
var _c;
|
|
4480
4475
|
return __generator(this, function (_d) {
|
|
4481
4476
|
switch (_d.label) {
|
|
@@ -4485,7 +4480,6 @@ var deserializeAws_restJson1UpdateRulesetCommandError = function (output, contex
|
|
|
4485
4480
|
return [4, parseBody(output.body, context)];
|
|
4486
4481
|
case 1:
|
|
4487
4482
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4488
|
-
errorCode = "UnknownError";
|
|
4489
4483
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4490
4484
|
_b = errorCode;
|
|
4491
4485
|
switch (_b) {
|
|
@@ -4501,10 +4495,12 @@ var deserializeAws_restJson1UpdateRulesetCommandError = function (output, contex
|
|
|
4501
4495
|
case 5: throw _d.sent();
|
|
4502
4496
|
case 6:
|
|
4503
4497
|
parsedBody = parsedOutput.body;
|
|
4498
|
+
$metadata = deserializeMetadata(output);
|
|
4499
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
4504
4500
|
response = new __BaseException({
|
|
4505
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
4501
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
4506
4502
|
$fault: "client",
|
|
4507
|
-
$metadata:
|
|
4503
|
+
$metadata: $metadata,
|
|
4508
4504
|
});
|
|
4509
4505
|
throw __decorateServiceException(response, parsedBody);
|
|
4510
4506
|
}
|
|
@@ -4535,7 +4531,7 @@ export var deserializeAws_restJson1UpdateScheduleCommand = function (output, con
|
|
|
4535
4531
|
});
|
|
4536
4532
|
}); };
|
|
4537
4533
|
var deserializeAws_restJson1UpdateScheduleCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4538
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
4534
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
4539
4535
|
var _c;
|
|
4540
4536
|
return __generator(this, function (_d) {
|
|
4541
4537
|
switch (_d.label) {
|
|
@@ -4545,7 +4541,6 @@ var deserializeAws_restJson1UpdateScheduleCommandError = function (output, conte
|
|
|
4545
4541
|
return [4, parseBody(output.body, context)];
|
|
4546
4542
|
case 1:
|
|
4547
4543
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4548
|
-
errorCode = "UnknownError";
|
|
4549
4544
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4550
4545
|
_b = errorCode;
|
|
4551
4546
|
switch (_b) {
|
|
@@ -4565,10 +4560,12 @@ var deserializeAws_restJson1UpdateScheduleCommandError = function (output, conte
|
|
|
4565
4560
|
case 7: throw _d.sent();
|
|
4566
4561
|
case 8:
|
|
4567
4562
|
parsedBody = parsedOutput.body;
|
|
4563
|
+
$metadata = deserializeMetadata(output);
|
|
4564
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
4568
4565
|
response = new __BaseException({
|
|
4569
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
4566
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
4570
4567
|
$fault: "client",
|
|
4571
|
-
$metadata:
|
|
4568
|
+
$metadata: $metadata,
|
|
4572
4569
|
});
|
|
4573
4570
|
throw __decorateServiceException(response, parsedBody);
|
|
4574
4571
|
}
|
|
@@ -4657,8 +4654,7 @@ var serializeAws_restJson1AllowedStatisticList = function (input, context) {
|
|
|
4657
4654
|
});
|
|
4658
4655
|
};
|
|
4659
4656
|
var serializeAws_restJson1AllowedStatistics = function (input, context) {
|
|
4660
|
-
return __assign({}, (input.Statistics
|
|
4661
|
-
input.Statistics !== null && { Statistics: serializeAws_restJson1StatisticList(input.Statistics, context) }));
|
|
4657
|
+
return __assign({}, (input.Statistics != null && { Statistics: serializeAws_restJson1StatisticList(input.Statistics, context) }));
|
|
4662
4658
|
};
|
|
4663
4659
|
var serializeAws_restJson1ColumnNameList = function (input, context) {
|
|
4664
4660
|
return input
|
|
@@ -4671,7 +4667,7 @@ var serializeAws_restJson1ColumnNameList = function (input, context) {
|
|
|
4671
4667
|
});
|
|
4672
4668
|
};
|
|
4673
4669
|
var serializeAws_restJson1ColumnSelector = function (input, context) {
|
|
4674
|
-
return __assign(__assign({}, (input.Name
|
|
4670
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.Regex != null && { Regex: input.Regex }));
|
|
4675
4671
|
};
|
|
4676
4672
|
var serializeAws_restJson1ColumnSelectorList = function (input, context) {
|
|
4677
4673
|
return input
|
|
@@ -4684,9 +4680,7 @@ var serializeAws_restJson1ColumnSelectorList = function (input, context) {
|
|
|
4684
4680
|
});
|
|
4685
4681
|
};
|
|
4686
4682
|
var serializeAws_restJson1ColumnStatisticsConfiguration = function (input, context) {
|
|
4687
|
-
return __assign(__assign({}, (input.Selectors
|
|
4688
|
-
input.Selectors !== null && { Selectors: serializeAws_restJson1ColumnSelectorList(input.Selectors, context) })), (input.Statistics !== undefined &&
|
|
4689
|
-
input.Statistics !== null && {
|
|
4683
|
+
return __assign(__assign({}, (input.Selectors != null && { Selectors: serializeAws_restJson1ColumnSelectorList(input.Selectors, context) })), (input.Statistics != null && {
|
|
4690
4684
|
Statistics: serializeAws_restJson1StatisticsConfiguration(input.Statistics, context),
|
|
4691
4685
|
}));
|
|
4692
4686
|
};
|
|
@@ -4701,7 +4695,7 @@ var serializeAws_restJson1ColumnStatisticsConfigurationList = function (input, c
|
|
|
4701
4695
|
});
|
|
4702
4696
|
};
|
|
4703
4697
|
var serializeAws_restJson1ConditionExpression = function (input, context) {
|
|
4704
|
-
return __assign(__assign(__assign({}, (input.Condition
|
|
4698
|
+
return __assign(__assign(__assign({}, (input.Condition != null && { Condition: input.Condition })), (input.TargetColumn != null && { TargetColumn: input.TargetColumn })), (input.Value != null && { Value: input.Value }));
|
|
4705
4699
|
};
|
|
4706
4700
|
var serializeAws_restJson1ConditionExpressionList = function (input, context) {
|
|
4707
4701
|
return input
|
|
@@ -4714,26 +4708,20 @@ var serializeAws_restJson1ConditionExpressionList = function (input, context) {
|
|
|
4714
4708
|
});
|
|
4715
4709
|
};
|
|
4716
4710
|
var serializeAws_restJson1CsvOptions = function (input, context) {
|
|
4717
|
-
return __assign(__assign({}, (input.Delimiter
|
|
4711
|
+
return __assign(__assign({}, (input.Delimiter != null && { Delimiter: input.Delimiter })), (input.HeaderRow != null && { HeaderRow: input.HeaderRow }));
|
|
4718
4712
|
};
|
|
4719
4713
|
var serializeAws_restJson1CsvOutputOptions = function (input, context) {
|
|
4720
|
-
return __assign({}, (input.Delimiter
|
|
4714
|
+
return __assign({}, (input.Delimiter != null && { Delimiter: input.Delimiter }));
|
|
4721
4715
|
};
|
|
4722
4716
|
var serializeAws_restJson1DatabaseInputDefinition = function (input, context) {
|
|
4723
|
-
return __assign(__assign(__assign(__assign({}, (input.DatabaseTableName
|
|
4724
|
-
input.DatabaseTableName !== null && { DatabaseTableName: input.DatabaseTableName })), (input.GlueConnectionName !== undefined &&
|
|
4725
|
-
input.GlueConnectionName !== null && { GlueConnectionName: input.GlueConnectionName })), (input.QueryString !== undefined && input.QueryString !== null && { QueryString: input.QueryString })), (input.TempDirectory !== undefined &&
|
|
4726
|
-
input.TempDirectory !== null && {
|
|
4717
|
+
return __assign(__assign(__assign(__assign({}, (input.DatabaseTableName != null && { DatabaseTableName: input.DatabaseTableName })), (input.GlueConnectionName != null && { GlueConnectionName: input.GlueConnectionName })), (input.QueryString != null && { QueryString: input.QueryString })), (input.TempDirectory != null && {
|
|
4727
4718
|
TempDirectory: serializeAws_restJson1S3Location(input.TempDirectory, context),
|
|
4728
4719
|
}));
|
|
4729
4720
|
};
|
|
4730
4721
|
var serializeAws_restJson1DatabaseOutput = function (input, context) {
|
|
4731
|
-
return __assign(__assign(__assign({}, (input.DatabaseOptions
|
|
4732
|
-
input.DatabaseOptions !== null && {
|
|
4722
|
+
return __assign(__assign(__assign({}, (input.DatabaseOptions != null && {
|
|
4733
4723
|
DatabaseOptions: serializeAws_restJson1DatabaseTableOutputOptions(input.DatabaseOptions, context),
|
|
4734
|
-
})), (input.DatabaseOutputMode
|
|
4735
|
-
input.DatabaseOutputMode !== null && { DatabaseOutputMode: input.DatabaseOutputMode })), (input.GlueConnectionName !== undefined &&
|
|
4736
|
-
input.GlueConnectionName !== null && { GlueConnectionName: input.GlueConnectionName }));
|
|
4724
|
+
})), (input.DatabaseOutputMode != null && { DatabaseOutputMode: input.DatabaseOutputMode })), (input.GlueConnectionName != null && { GlueConnectionName: input.GlueConnectionName }));
|
|
4737
4725
|
};
|
|
4738
4726
|
var serializeAws_restJson1DatabaseOutputList = function (input, context) {
|
|
4739
4727
|
return input
|
|
@@ -4746,23 +4734,19 @@ var serializeAws_restJson1DatabaseOutputList = function (input, context) {
|
|
|
4746
4734
|
});
|
|
4747
4735
|
};
|
|
4748
4736
|
var serializeAws_restJson1DatabaseTableOutputOptions = function (input, context) {
|
|
4749
|
-
return __assign(__assign({}, (input.TableName
|
|
4750
|
-
input.TempDirectory !== null && {
|
|
4737
|
+
return __assign(__assign({}, (input.TableName != null && { TableName: input.TableName })), (input.TempDirectory != null && {
|
|
4751
4738
|
TempDirectory: serializeAws_restJson1S3Location(input.TempDirectory, context),
|
|
4752
4739
|
}));
|
|
4753
4740
|
};
|
|
4754
4741
|
var serializeAws_restJson1DataCatalogInputDefinition = function (input, context) {
|
|
4755
|
-
return __assign(__assign(__assign(__assign({}, (input.CatalogId
|
|
4756
|
-
input.TempDirectory !== null && {
|
|
4742
|
+
return __assign(__assign(__assign(__assign({}, (input.CatalogId != null && { CatalogId: input.CatalogId })), (input.DatabaseName != null && { DatabaseName: input.DatabaseName })), (input.TableName != null && { TableName: input.TableName })), (input.TempDirectory != null && {
|
|
4757
4743
|
TempDirectory: serializeAws_restJson1S3Location(input.TempDirectory, context),
|
|
4758
4744
|
}));
|
|
4759
4745
|
};
|
|
4760
4746
|
var serializeAws_restJson1DataCatalogOutput = function (input, context) {
|
|
4761
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CatalogId
|
|
4762
|
-
input.DatabaseOptions !== null && {
|
|
4747
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CatalogId != null && { CatalogId: input.CatalogId })), (input.DatabaseName != null && { DatabaseName: input.DatabaseName })), (input.DatabaseOptions != null && {
|
|
4763
4748
|
DatabaseOptions: serializeAws_restJson1DatabaseTableOutputOptions(input.DatabaseOptions, context),
|
|
4764
|
-
})), (input.Overwrite
|
|
4765
|
-
input.S3Options !== null && { S3Options: serializeAws_restJson1S3TableOutputOptions(input.S3Options, context) })), (input.TableName !== undefined && input.TableName !== null && { TableName: input.TableName }));
|
|
4749
|
+
})), (input.Overwrite != null && { Overwrite: input.Overwrite })), (input.S3Options != null && { S3Options: serializeAws_restJson1S3TableOutputOptions(input.S3Options, context) })), (input.TableName != null && { TableName: input.TableName }));
|
|
4766
4750
|
};
|
|
4767
4751
|
var serializeAws_restJson1DataCatalogOutputList = function (input, context) {
|
|
4768
4752
|
return input
|
|
@@ -4775,22 +4759,17 @@ var serializeAws_restJson1DataCatalogOutputList = function (input, context) {
|
|
|
4775
4759
|
});
|
|
4776
4760
|
};
|
|
4777
4761
|
var serializeAws_restJson1DatasetParameter = function (input, context) {
|
|
4778
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.CreateColumn
|
|
4779
|
-
input.DatetimeOptions !== null && {
|
|
4762
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.CreateColumn != null && { CreateColumn: input.CreateColumn })), (input.DatetimeOptions != null && {
|
|
4780
4763
|
DatetimeOptions: serializeAws_restJson1DatetimeOptions(input.DatetimeOptions, context),
|
|
4781
|
-
})), (input.Filter
|
|
4782
|
-
input.Filter !== null && { Filter: serializeAws_restJson1FilterExpression(input.Filter, context) })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
|
|
4764
|
+
})), (input.Filter != null && { Filter: serializeAws_restJson1FilterExpression(input.Filter, context) })), (input.Name != null && { Name: input.Name })), (input.Type != null && { Type: input.Type }));
|
|
4783
4765
|
};
|
|
4784
4766
|
var serializeAws_restJson1DatetimeOptions = function (input, context) {
|
|
4785
|
-
return __assign(__assign(__assign({}, (input.Format
|
|
4786
|
-
input.TimezoneOffset !== null && { TimezoneOffset: input.TimezoneOffset }));
|
|
4767
|
+
return __assign(__assign(__assign({}, (input.Format != null && { Format: input.Format })), (input.LocaleCode != null && { LocaleCode: input.LocaleCode })), (input.TimezoneOffset != null && { TimezoneOffset: input.TimezoneOffset }));
|
|
4787
4768
|
};
|
|
4788
4769
|
var serializeAws_restJson1EntityDetectorConfiguration = function (input, context) {
|
|
4789
|
-
return __assign(__assign({}, (input.AllowedStatistics
|
|
4790
|
-
input.AllowedStatistics !== null && {
|
|
4770
|
+
return __assign(__assign({}, (input.AllowedStatistics != null && {
|
|
4791
4771
|
AllowedStatistics: serializeAws_restJson1AllowedStatisticList(input.AllowedStatistics, context),
|
|
4792
|
-
})), (input.EntityTypes
|
|
4793
|
-
input.EntityTypes !== null && { EntityTypes: serializeAws_restJson1EntityTypeList(input.EntityTypes, context) }));
|
|
4772
|
+
})), (input.EntityTypes != null && { EntityTypes: serializeAws_restJson1EntityTypeList(input.EntityTypes, context) }));
|
|
4794
4773
|
};
|
|
4795
4774
|
var serializeAws_restJson1EntityTypeList = function (input, context) {
|
|
4796
4775
|
return input
|
|
@@ -4803,23 +4782,18 @@ var serializeAws_restJson1EntityTypeList = function (input, context) {
|
|
|
4803
4782
|
});
|
|
4804
4783
|
};
|
|
4805
4784
|
var serializeAws_restJson1ExcelOptions = function (input, context) {
|
|
4806
|
-
return __assign(__assign(__assign({}, (input.HeaderRow
|
|
4807
|
-
input.SheetIndexes !== null && {
|
|
4785
|
+
return __assign(__assign(__assign({}, (input.HeaderRow != null && { HeaderRow: input.HeaderRow })), (input.SheetIndexes != null && {
|
|
4808
4786
|
SheetIndexes: serializeAws_restJson1SheetIndexList(input.SheetIndexes, context),
|
|
4809
|
-
})), (input.SheetNames
|
|
4810
|
-
input.SheetNames !== null && { SheetNames: serializeAws_restJson1SheetNameList(input.SheetNames, context) }));
|
|
4787
|
+
})), (input.SheetNames != null && { SheetNames: serializeAws_restJson1SheetNameList(input.SheetNames, context) }));
|
|
4811
4788
|
};
|
|
4812
4789
|
var serializeAws_restJson1FilesLimit = function (input, context) {
|
|
4813
|
-
return __assign(__assign(__assign({}, (input.MaxFiles
|
|
4790
|
+
return __assign(__assign(__assign({}, (input.MaxFiles != null && { MaxFiles: input.MaxFiles })), (input.Order != null && { Order: input.Order })), (input.OrderedBy != null && { OrderedBy: input.OrderedBy }));
|
|
4814
4791
|
};
|
|
4815
4792
|
var serializeAws_restJson1FilterExpression = function (input, context) {
|
|
4816
|
-
return __assign(__assign({}, (input.Expression
|
|
4817
|
-
input.ValuesMap !== null && { ValuesMap: serializeAws_restJson1ValuesMap(input.ValuesMap, context) }));
|
|
4793
|
+
return __assign(__assign({}, (input.Expression != null && { Expression: input.Expression })), (input.ValuesMap != null && { ValuesMap: serializeAws_restJson1ValuesMap(input.ValuesMap, context) }));
|
|
4818
4794
|
};
|
|
4819
4795
|
var serializeAws_restJson1FormatOptions = function (input, context) {
|
|
4820
|
-
return __assign(__assign(__assign({}, (input.Csv
|
|
4821
|
-
input.Excel !== null && { Excel: serializeAws_restJson1ExcelOptions(input.Excel, context) })), (input.Json !== undefined &&
|
|
4822
|
-
input.Json !== null && { Json: serializeAws_restJson1JsonOptions(input.Json, context) }));
|
|
4796
|
+
return __assign(__assign(__assign({}, (input.Csv != null && { Csv: serializeAws_restJson1CsvOptions(input.Csv, context) })), (input.Excel != null && { Excel: serializeAws_restJson1ExcelOptions(input.Excel, context) })), (input.Json != null && { Json: serializeAws_restJson1JsonOptions(input.Json, context) }));
|
|
4823
4797
|
};
|
|
4824
4798
|
var serializeAws_restJson1HiddenColumnList = function (input, context) {
|
|
4825
4799
|
return input
|
|
@@ -4832,15 +4806,11 @@ var serializeAws_restJson1HiddenColumnList = function (input, context) {
|
|
|
4832
4806
|
});
|
|
4833
4807
|
};
|
|
4834
4808
|
var serializeAws_restJson1Input = function (input, context) {
|
|
4835
|
-
return __assign(__assign(__assign(__assign({}, (input.DataCatalogInputDefinition
|
|
4836
|
-
input.DataCatalogInputDefinition !== null && {
|
|
4809
|
+
return __assign(__assign(__assign(__assign({}, (input.DataCatalogInputDefinition != null && {
|
|
4837
4810
|
DataCatalogInputDefinition: serializeAws_restJson1DataCatalogInputDefinition(input.DataCatalogInputDefinition, context),
|
|
4838
|
-
})), (input.DatabaseInputDefinition
|
|
4839
|
-
input.DatabaseInputDefinition !== null && {
|
|
4811
|
+
})), (input.DatabaseInputDefinition != null && {
|
|
4840
4812
|
DatabaseInputDefinition: serializeAws_restJson1DatabaseInputDefinition(input.DatabaseInputDefinition, context),
|
|
4841
|
-
})), (input.Metadata
|
|
4842
|
-
input.Metadata !== null && { Metadata: serializeAws_restJson1Metadata(input.Metadata, context) })), (input.S3InputDefinition !== undefined &&
|
|
4843
|
-
input.S3InputDefinition !== null && {
|
|
4813
|
+
})), (input.Metadata != null && { Metadata: serializeAws_restJson1Metadata(input.Metadata, context) })), (input.S3InputDefinition != null && {
|
|
4844
4814
|
S3InputDefinition: serializeAws_restJson1S3Location(input.S3InputDefinition, context),
|
|
4845
4815
|
}));
|
|
4846
4816
|
};
|
|
@@ -4855,29 +4825,23 @@ var serializeAws_restJson1JobNameList = function (input, context) {
|
|
|
4855
4825
|
});
|
|
4856
4826
|
};
|
|
4857
4827
|
var serializeAws_restJson1JobSample = function (input, context) {
|
|
4858
|
-
return __assign(__assign({}, (input.Mode
|
|
4828
|
+
return __assign(__assign({}, (input.Mode != null && { Mode: input.Mode })), (input.Size != null && { Size: input.Size }));
|
|
4859
4829
|
};
|
|
4860
4830
|
var serializeAws_restJson1JsonOptions = function (input, context) {
|
|
4861
|
-
return __assign({}, (input.MultiLine
|
|
4831
|
+
return __assign({}, (input.MultiLine != null && { MultiLine: input.MultiLine }));
|
|
4862
4832
|
};
|
|
4863
4833
|
var serializeAws_restJson1Metadata = function (input, context) {
|
|
4864
|
-
return __assign({}, (input.SourceArn
|
|
4834
|
+
return __assign({}, (input.SourceArn != null && { SourceArn: input.SourceArn }));
|
|
4865
4835
|
};
|
|
4866
4836
|
var serializeAws_restJson1Output = function (input, context) {
|
|
4867
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CompressionFormat
|
|
4868
|
-
input.CompressionFormat !== null && { CompressionFormat: input.CompressionFormat })), (input.Format !== undefined && input.Format !== null && { Format: input.Format })), (input.FormatOptions !== undefined &&
|
|
4869
|
-
input.FormatOptions !== null && {
|
|
4837
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CompressionFormat != null && { CompressionFormat: input.CompressionFormat })), (input.Format != null && { Format: input.Format })), (input.FormatOptions != null && {
|
|
4870
4838
|
FormatOptions: serializeAws_restJson1OutputFormatOptions(input.FormatOptions, context),
|
|
4871
|
-
})), (input.Location
|
|
4872
|
-
input.Location !== null && { Location: serializeAws_restJson1S3Location(input.Location, context) })), (input.MaxOutputFiles !== undefined &&
|
|
4873
|
-
input.MaxOutputFiles !== null && { MaxOutputFiles: input.MaxOutputFiles })), (input.Overwrite !== undefined && input.Overwrite !== null && { Overwrite: input.Overwrite })), (input.PartitionColumns !== undefined &&
|
|
4874
|
-
input.PartitionColumns !== null && {
|
|
4839
|
+
})), (input.Location != null && { Location: serializeAws_restJson1S3Location(input.Location, context) })), (input.MaxOutputFiles != null && { MaxOutputFiles: input.MaxOutputFiles })), (input.Overwrite != null && { Overwrite: input.Overwrite })), (input.PartitionColumns != null && {
|
|
4875
4840
|
PartitionColumns: serializeAws_restJson1ColumnNameList(input.PartitionColumns, context),
|
|
4876
4841
|
}));
|
|
4877
4842
|
};
|
|
4878
4843
|
var serializeAws_restJson1OutputFormatOptions = function (input, context) {
|
|
4879
|
-
return __assign({}, (input.Csv
|
|
4880
|
-
input.Csv !== null && { Csv: serializeAws_restJson1CsvOutputOptions(input.Csv, context) }));
|
|
4844
|
+
return __assign({}, (input.Csv != null && { Csv: serializeAws_restJson1CsvOutputOptions(input.Csv, context) }));
|
|
4881
4845
|
};
|
|
4882
4846
|
var serializeAws_restJson1OutputList = function (input, context) {
|
|
4883
4847
|
return input
|
|
@@ -4900,12 +4864,9 @@ var serializeAws_restJson1ParameterMap = function (input, context) {
|
|
|
4900
4864
|
}, {});
|
|
4901
4865
|
};
|
|
4902
4866
|
var serializeAws_restJson1PathOptions = function (input, context) {
|
|
4903
|
-
return __assign(__assign(__assign({}, (input.FilesLimit
|
|
4904
|
-
input.FilesLimit !== null && { FilesLimit: serializeAws_restJson1FilesLimit(input.FilesLimit, context) })), (input.LastModifiedDateCondition !== undefined &&
|
|
4905
|
-
input.LastModifiedDateCondition !== null && {
|
|
4867
|
+
return __assign(__assign(__assign({}, (input.FilesLimit != null && { FilesLimit: serializeAws_restJson1FilesLimit(input.FilesLimit, context) })), (input.LastModifiedDateCondition != null && {
|
|
4906
4868
|
LastModifiedDateCondition: serializeAws_restJson1FilterExpression(input.LastModifiedDateCondition, context),
|
|
4907
|
-
})), (input.Parameters
|
|
4908
|
-
input.Parameters !== null && { Parameters: serializeAws_restJson1PathParametersMap(input.Parameters, context) }));
|
|
4869
|
+
})), (input.Parameters != null && { Parameters: serializeAws_restJson1PathParametersMap(input.Parameters, context) }));
|
|
4909
4870
|
};
|
|
4910
4871
|
var serializeAws_restJson1PathParametersMap = function (input, context) {
|
|
4911
4872
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -4918,31 +4879,24 @@ var serializeAws_restJson1PathParametersMap = function (input, context) {
|
|
|
4918
4879
|
}, {});
|
|
4919
4880
|
};
|
|
4920
4881
|
var serializeAws_restJson1ProfileConfiguration = function (input, context) {
|
|
4921
|
-
return __assign(__assign(__assign(__assign({}, (input.ColumnStatisticsConfigurations
|
|
4922
|
-
input.ColumnStatisticsConfigurations !== null && {
|
|
4882
|
+
return __assign(__assign(__assign(__assign({}, (input.ColumnStatisticsConfigurations != null && {
|
|
4923
4883
|
ColumnStatisticsConfigurations: serializeAws_restJson1ColumnStatisticsConfigurationList(input.ColumnStatisticsConfigurations, context),
|
|
4924
|
-
})), (input.DatasetStatisticsConfiguration
|
|
4925
|
-
input.DatasetStatisticsConfiguration !== null && {
|
|
4884
|
+
})), (input.DatasetStatisticsConfiguration != null && {
|
|
4926
4885
|
DatasetStatisticsConfiguration: serializeAws_restJson1StatisticsConfiguration(input.DatasetStatisticsConfiguration, context),
|
|
4927
|
-
})), (input.EntityDetectorConfiguration
|
|
4928
|
-
input.EntityDetectorConfiguration !== null && {
|
|
4886
|
+
})), (input.EntityDetectorConfiguration != null && {
|
|
4929
4887
|
EntityDetectorConfiguration: serializeAws_restJson1EntityDetectorConfiguration(input.EntityDetectorConfiguration, context),
|
|
4930
|
-
})), (input.ProfileColumns
|
|
4931
|
-
input.ProfileColumns !== null && {
|
|
4888
|
+
})), (input.ProfileColumns != null && {
|
|
4932
4889
|
ProfileColumns: serializeAws_restJson1ColumnSelectorList(input.ProfileColumns, context),
|
|
4933
4890
|
}));
|
|
4934
4891
|
};
|
|
4935
4892
|
var serializeAws_restJson1RecipeAction = function (input, context) {
|
|
4936
|
-
return __assign(__assign({}, (input.Operation
|
|
4937
|
-
input.Parameters !== null && { Parameters: serializeAws_restJson1ParameterMap(input.Parameters, context) }));
|
|
4893
|
+
return __assign(__assign({}, (input.Operation != null && { Operation: input.Operation })), (input.Parameters != null && { Parameters: serializeAws_restJson1ParameterMap(input.Parameters, context) }));
|
|
4938
4894
|
};
|
|
4939
4895
|
var serializeAws_restJson1RecipeReference = function (input, context) {
|
|
4940
|
-
return __assign(__assign({}, (input.Name
|
|
4896
|
+
return __assign(__assign({}, (input.Name != null && { Name: input.Name })), (input.RecipeVersion != null && { RecipeVersion: input.RecipeVersion }));
|
|
4941
4897
|
};
|
|
4942
4898
|
var serializeAws_restJson1RecipeStep = function (input, context) {
|
|
4943
|
-
return __assign(__assign({}, (input.Action
|
|
4944
|
-
input.Action !== null && { Action: serializeAws_restJson1RecipeAction(input.Action, context) })), (input.ConditionExpressions !== undefined &&
|
|
4945
|
-
input.ConditionExpressions !== null && {
|
|
4899
|
+
return __assign(__assign({}, (input.Action != null && { Action: serializeAws_restJson1RecipeAction(input.Action, context) })), (input.ConditionExpressions != null && {
|
|
4946
4900
|
ConditionExpressions: serializeAws_restJson1ConditionExpressionList(input.ConditionExpressions, context),
|
|
4947
4901
|
}));
|
|
4948
4902
|
};
|
|
@@ -4967,15 +4921,11 @@ var serializeAws_restJson1RecipeVersionList = function (input, context) {
|
|
|
4967
4921
|
});
|
|
4968
4922
|
};
|
|
4969
4923
|
var serializeAws_restJson1Rule = function (input, context) {
|
|
4970
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CheckExpression
|
|
4971
|
-
input.CheckExpression !== null && { CheckExpression: input.CheckExpression })), (input.ColumnSelectors !== undefined &&
|
|
4972
|
-
input.ColumnSelectors !== null && {
|
|
4924
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CheckExpression != null && { CheckExpression: input.CheckExpression })), (input.ColumnSelectors != null && {
|
|
4973
4925
|
ColumnSelectors: serializeAws_restJson1ColumnSelectorList(input.ColumnSelectors, context),
|
|
4974
|
-
})), (input.Disabled
|
|
4975
|
-
input.SubstitutionMap !== null && {
|
|
4926
|
+
})), (input.Disabled != null && { Disabled: input.Disabled })), (input.Name != null && { Name: input.Name })), (input.SubstitutionMap != null && {
|
|
4976
4927
|
SubstitutionMap: serializeAws_restJson1ValuesMap(input.SubstitutionMap, context),
|
|
4977
|
-
})), (input.Threshold
|
|
4978
|
-
input.Threshold !== null && { Threshold: serializeAws_restJson1Threshold(input.Threshold, context) }));
|
|
4928
|
+
})), (input.Threshold != null && { Threshold: serializeAws_restJson1Threshold(input.Threshold, context) }));
|
|
4979
4929
|
};
|
|
4980
4930
|
var serializeAws_restJson1RuleList = function (input, context) {
|
|
4981
4931
|
return input
|
|
@@ -4988,14 +4938,13 @@ var serializeAws_restJson1RuleList = function (input, context) {
|
|
|
4988
4938
|
});
|
|
4989
4939
|
};
|
|
4990
4940
|
var serializeAws_restJson1S3Location = function (input, context) {
|
|
4991
|
-
return __assign(__assign(__assign({}, (input.Bucket
|
|
4941
|
+
return __assign(__assign(__assign({}, (input.Bucket != null && { Bucket: input.Bucket })), (input.BucketOwner != null && { BucketOwner: input.BucketOwner })), (input.Key != null && { Key: input.Key }));
|
|
4992
4942
|
};
|
|
4993
4943
|
var serializeAws_restJson1S3TableOutputOptions = function (input, context) {
|
|
4994
|
-
return __assign({}, (input.Location
|
|
4995
|
-
input.Location !== null && { Location: serializeAws_restJson1S3Location(input.Location, context) }));
|
|
4944
|
+
return __assign({}, (input.Location != null && { Location: serializeAws_restJson1S3Location(input.Location, context) }));
|
|
4996
4945
|
};
|
|
4997
4946
|
var serializeAws_restJson1Sample = function (input, context) {
|
|
4998
|
-
return __assign(__assign({}, (input.Size
|
|
4947
|
+
return __assign(__assign({}, (input.Size != null && { Size: input.Size })), (input.Type != null && { Type: input.Type }));
|
|
4999
4948
|
};
|
|
5000
4949
|
var serializeAws_restJson1SheetIndexList = function (input, context) {
|
|
5001
4950
|
return input
|
|
@@ -5028,8 +4977,7 @@ var serializeAws_restJson1StatisticList = function (input, context) {
|
|
|
5028
4977
|
});
|
|
5029
4978
|
};
|
|
5030
4979
|
var serializeAws_restJson1StatisticOverride = function (input, context) {
|
|
5031
|
-
return __assign(__assign({}, (input.Parameters
|
|
5032
|
-
input.Parameters !== null && { Parameters: serializeAws_restJson1ParameterMap(input.Parameters, context) })), (input.Statistic !== undefined && input.Statistic !== null && { Statistic: input.Statistic }));
|
|
4980
|
+
return __assign(__assign({}, (input.Parameters != null && { Parameters: serializeAws_restJson1ParameterMap(input.Parameters, context) })), (input.Statistic != null && { Statistic: input.Statistic }));
|
|
5033
4981
|
};
|
|
5034
4982
|
var serializeAws_restJson1StatisticOverrideList = function (input, context) {
|
|
5035
4983
|
return input
|
|
@@ -5042,11 +4990,11 @@ var serializeAws_restJson1StatisticOverrideList = function (input, context) {
|
|
|
5042
4990
|
});
|
|
5043
4991
|
};
|
|
5044
4992
|
var serializeAws_restJson1StatisticsConfiguration = function (input, context) {
|
|
5045
|
-
return __assign(__assign({}, (input.IncludedStatistics
|
|
5046
|
-
input.IncludedStatistics !== null && {
|
|
4993
|
+
return __assign(__assign({}, (input.IncludedStatistics != null && {
|
|
5047
4994
|
IncludedStatistics: serializeAws_restJson1StatisticList(input.IncludedStatistics, context),
|
|
5048
|
-
})), (input.Overrides
|
|
5049
|
-
|
|
4995
|
+
})), (input.Overrides != null && {
|
|
4996
|
+
Overrides: serializeAws_restJson1StatisticOverrideList(input.Overrides, context),
|
|
4997
|
+
}));
|
|
5050
4998
|
};
|
|
5051
4999
|
var serializeAws_restJson1TagMap = function (input, context) {
|
|
5052
5000
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -5059,11 +5007,10 @@ var serializeAws_restJson1TagMap = function (input, context) {
|
|
|
5059
5007
|
}, {});
|
|
5060
5008
|
};
|
|
5061
5009
|
var serializeAws_restJson1Threshold = function (input, context) {
|
|
5062
|
-
return __assign(__assign(__assign({}, (input.Type
|
|
5010
|
+
return __assign(__assign(__assign({}, (input.Type != null && { Type: input.Type })), (input.Unit != null && { Unit: input.Unit })), (input.Value != null && { Value: __serializeFloat(input.Value) }));
|
|
5063
5011
|
};
|
|
5064
5012
|
var serializeAws_restJson1ValidationConfiguration = function (input, context) {
|
|
5065
|
-
return __assign(__assign({}, (input.RulesetArn
|
|
5066
|
-
input.ValidationMode !== null && { ValidationMode: input.ValidationMode }));
|
|
5013
|
+
return __assign(__assign({}, (input.RulesetArn != null && { RulesetArn: input.RulesetArn })), (input.ValidationMode != null && { ValidationMode: input.ValidationMode }));
|
|
5067
5014
|
};
|
|
5068
5015
|
var serializeAws_restJson1ValidationConfigurationList = function (input, context) {
|
|
5069
5016
|
return input
|
|
@@ -5086,11 +5033,9 @@ var serializeAws_restJson1ValuesMap = function (input, context) {
|
|
|
5086
5033
|
}, {});
|
|
5087
5034
|
};
|
|
5088
5035
|
var serializeAws_restJson1ViewFrame = function (input, context) {
|
|
5089
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Analytics
|
|
5090
|
-
input.HiddenColumns !== null && {
|
|
5036
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.Analytics != null && { Analytics: input.Analytics })), (input.ColumnRange != null && { ColumnRange: input.ColumnRange })), (input.HiddenColumns != null && {
|
|
5091
5037
|
HiddenColumns: serializeAws_restJson1HiddenColumnList(input.HiddenColumns, context),
|
|
5092
|
-
})), (input.RowRange
|
|
5093
|
-
input.StartColumnIndex !== null && { StartColumnIndex: input.StartColumnIndex })), (input.StartRowIndex !== undefined && input.StartRowIndex !== null && { StartRowIndex: input.StartRowIndex }));
|
|
5038
|
+
})), (input.RowRange != null && { RowRange: input.RowRange })), (input.StartColumnIndex != null && { StartColumnIndex: input.StartColumnIndex })), (input.StartRowIndex != null && { StartRowIndex: input.StartRowIndex }));
|
|
5094
5039
|
};
|
|
5095
5040
|
var deserializeAws_restJson1AllowedStatisticList = function (output, context) {
|
|
5096
5041
|
var retVal = (output || [])
|
|
@@ -5105,9 +5050,7 @@ var deserializeAws_restJson1AllowedStatisticList = function (output, context) {
|
|
|
5105
5050
|
};
|
|
5106
5051
|
var deserializeAws_restJson1AllowedStatistics = function (output, context) {
|
|
5107
5052
|
return {
|
|
5108
|
-
Statistics: output.Statistics
|
|
5109
|
-
? deserializeAws_restJson1StatisticList(output.Statistics, context)
|
|
5110
|
-
: undefined,
|
|
5053
|
+
Statistics: output.Statistics != null ? deserializeAws_restJson1StatisticList(output.Statistics, context) : undefined,
|
|
5111
5054
|
};
|
|
5112
5055
|
};
|
|
5113
5056
|
var deserializeAws_restJson1ColumnNameList = function (output, context) {
|
|
@@ -5140,10 +5083,8 @@ var deserializeAws_restJson1ColumnSelectorList = function (output, context) {
|
|
|
5140
5083
|
};
|
|
5141
5084
|
var deserializeAws_restJson1ColumnStatisticsConfiguration = function (output, context) {
|
|
5142
5085
|
return {
|
|
5143
|
-
Selectors: output.Selectors
|
|
5144
|
-
|
|
5145
|
-
: undefined,
|
|
5146
|
-
Statistics: output.Statistics !== undefined && output.Statistics !== null
|
|
5086
|
+
Selectors: output.Selectors != null ? deserializeAws_restJson1ColumnSelectorList(output.Selectors, context) : undefined,
|
|
5087
|
+
Statistics: output.Statistics != null
|
|
5147
5088
|
? deserializeAws_restJson1StatisticsConfiguration(output.Statistics, context)
|
|
5148
5089
|
: undefined,
|
|
5149
5090
|
};
|
|
@@ -5193,14 +5134,12 @@ var deserializeAws_restJson1DatabaseInputDefinition = function (output, context)
|
|
|
5193
5134
|
DatabaseTableName: __expectString(output.DatabaseTableName),
|
|
5194
5135
|
GlueConnectionName: __expectString(output.GlueConnectionName),
|
|
5195
5136
|
QueryString: __expectString(output.QueryString),
|
|
5196
|
-
TempDirectory: output.TempDirectory
|
|
5197
|
-
? deserializeAws_restJson1S3Location(output.TempDirectory, context)
|
|
5198
|
-
: undefined,
|
|
5137
|
+
TempDirectory: output.TempDirectory != null ? deserializeAws_restJson1S3Location(output.TempDirectory, context) : undefined,
|
|
5199
5138
|
};
|
|
5200
5139
|
};
|
|
5201
5140
|
var deserializeAws_restJson1DatabaseOutput = function (output, context) {
|
|
5202
5141
|
return {
|
|
5203
|
-
DatabaseOptions: output.DatabaseOptions
|
|
5142
|
+
DatabaseOptions: output.DatabaseOptions != null
|
|
5204
5143
|
? deserializeAws_restJson1DatabaseTableOutputOptions(output.DatabaseOptions, context)
|
|
5205
5144
|
: undefined,
|
|
5206
5145
|
DatabaseOutputMode: __expectString(output.DatabaseOutputMode),
|
|
@@ -5221,9 +5160,7 @@ var deserializeAws_restJson1DatabaseOutputList = function (output, context) {
|
|
|
5221
5160
|
var deserializeAws_restJson1DatabaseTableOutputOptions = function (output, context) {
|
|
5222
5161
|
return {
|
|
5223
5162
|
TableName: __expectString(output.TableName),
|
|
5224
|
-
TempDirectory: output.TempDirectory
|
|
5225
|
-
? deserializeAws_restJson1S3Location(output.TempDirectory, context)
|
|
5226
|
-
: undefined,
|
|
5163
|
+
TempDirectory: output.TempDirectory != null ? deserializeAws_restJson1S3Location(output.TempDirectory, context) : undefined,
|
|
5227
5164
|
};
|
|
5228
5165
|
};
|
|
5229
5166
|
var deserializeAws_restJson1DataCatalogInputDefinition = function (output, context) {
|
|
@@ -5231,22 +5168,18 @@ var deserializeAws_restJson1DataCatalogInputDefinition = function (output, conte
|
|
|
5231
5168
|
CatalogId: __expectString(output.CatalogId),
|
|
5232
5169
|
DatabaseName: __expectString(output.DatabaseName),
|
|
5233
5170
|
TableName: __expectString(output.TableName),
|
|
5234
|
-
TempDirectory: output.TempDirectory
|
|
5235
|
-
? deserializeAws_restJson1S3Location(output.TempDirectory, context)
|
|
5236
|
-
: undefined,
|
|
5171
|
+
TempDirectory: output.TempDirectory != null ? deserializeAws_restJson1S3Location(output.TempDirectory, context) : undefined,
|
|
5237
5172
|
};
|
|
5238
5173
|
};
|
|
5239
5174
|
var deserializeAws_restJson1DataCatalogOutput = function (output, context) {
|
|
5240
5175
|
return {
|
|
5241
5176
|
CatalogId: __expectString(output.CatalogId),
|
|
5242
5177
|
DatabaseName: __expectString(output.DatabaseName),
|
|
5243
|
-
DatabaseOptions: output.DatabaseOptions
|
|
5178
|
+
DatabaseOptions: output.DatabaseOptions != null
|
|
5244
5179
|
? deserializeAws_restJson1DatabaseTableOutputOptions(output.DatabaseOptions, context)
|
|
5245
5180
|
: undefined,
|
|
5246
5181
|
Overwrite: __expectBoolean(output.Overwrite),
|
|
5247
|
-
S3Options: output.S3Options
|
|
5248
|
-
? deserializeAws_restJson1S3TableOutputOptions(output.S3Options, context)
|
|
5249
|
-
: undefined,
|
|
5182
|
+
S3Options: output.S3Options != null ? deserializeAws_restJson1S3TableOutputOptions(output.S3Options, context) : undefined,
|
|
5250
5183
|
TableName: __expectString(output.TableName),
|
|
5251
5184
|
};
|
|
5252
5185
|
};
|
|
@@ -5264,30 +5197,20 @@ var deserializeAws_restJson1DataCatalogOutputList = function (output, context) {
|
|
|
5264
5197
|
var deserializeAws_restJson1Dataset = function (output, context) {
|
|
5265
5198
|
return {
|
|
5266
5199
|
AccountId: __expectString(output.AccountId),
|
|
5267
|
-
CreateDate: output.CreateDate
|
|
5268
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate)))
|
|
5269
|
-
: undefined,
|
|
5200
|
+
CreateDate: output.CreateDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate))) : undefined,
|
|
5270
5201
|
CreatedBy: __expectString(output.CreatedBy),
|
|
5271
5202
|
Format: __expectString(output.Format),
|
|
5272
|
-
FormatOptions: output.FormatOptions
|
|
5273
|
-
|
|
5274
|
-
: undefined,
|
|
5275
|
-
Input: output.Input !== undefined && output.Input !== null
|
|
5276
|
-
? deserializeAws_restJson1Input(output.Input, context)
|
|
5277
|
-
: undefined,
|
|
5203
|
+
FormatOptions: output.FormatOptions != null ? deserializeAws_restJson1FormatOptions(output.FormatOptions, context) : undefined,
|
|
5204
|
+
Input: output.Input != null ? deserializeAws_restJson1Input(output.Input, context) : undefined,
|
|
5278
5205
|
LastModifiedBy: __expectString(output.LastModifiedBy),
|
|
5279
|
-
LastModifiedDate: output.LastModifiedDate
|
|
5206
|
+
LastModifiedDate: output.LastModifiedDate != null
|
|
5280
5207
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
|
|
5281
5208
|
: undefined,
|
|
5282
5209
|
Name: __expectString(output.Name),
|
|
5283
|
-
PathOptions: output.PathOptions
|
|
5284
|
-
? deserializeAws_restJson1PathOptions(output.PathOptions, context)
|
|
5285
|
-
: undefined,
|
|
5210
|
+
PathOptions: output.PathOptions != null ? deserializeAws_restJson1PathOptions(output.PathOptions, context) : undefined,
|
|
5286
5211
|
ResourceArn: __expectString(output.ResourceArn),
|
|
5287
5212
|
Source: __expectString(output.Source),
|
|
5288
|
-
Tags: output.Tags
|
|
5289
|
-
? deserializeAws_restJson1TagMap(output.Tags, context)
|
|
5290
|
-
: undefined,
|
|
5213
|
+
Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
|
|
5291
5214
|
};
|
|
5292
5215
|
};
|
|
5293
5216
|
var deserializeAws_restJson1DatasetList = function (output, context) {
|
|
@@ -5304,12 +5227,10 @@ var deserializeAws_restJson1DatasetList = function (output, context) {
|
|
|
5304
5227
|
var deserializeAws_restJson1DatasetParameter = function (output, context) {
|
|
5305
5228
|
return {
|
|
5306
5229
|
CreateColumn: __expectBoolean(output.CreateColumn),
|
|
5307
|
-
DatetimeOptions: output.DatetimeOptions
|
|
5230
|
+
DatetimeOptions: output.DatetimeOptions != null
|
|
5308
5231
|
? deserializeAws_restJson1DatetimeOptions(output.DatetimeOptions, context)
|
|
5309
5232
|
: undefined,
|
|
5310
|
-
Filter: output.Filter
|
|
5311
|
-
? deserializeAws_restJson1FilterExpression(output.Filter, context)
|
|
5312
|
-
: undefined,
|
|
5233
|
+
Filter: output.Filter != null ? deserializeAws_restJson1FilterExpression(output.Filter, context) : undefined,
|
|
5313
5234
|
Name: __expectString(output.Name),
|
|
5314
5235
|
Type: __expectString(output.Type),
|
|
5315
5236
|
};
|
|
@@ -5323,12 +5244,10 @@ var deserializeAws_restJson1DatetimeOptions = function (output, context) {
|
|
|
5323
5244
|
};
|
|
5324
5245
|
var deserializeAws_restJson1EntityDetectorConfiguration = function (output, context) {
|
|
5325
5246
|
return {
|
|
5326
|
-
AllowedStatistics: output.AllowedStatistics
|
|
5247
|
+
AllowedStatistics: output.AllowedStatistics != null
|
|
5327
5248
|
? deserializeAws_restJson1AllowedStatisticList(output.AllowedStatistics, context)
|
|
5328
5249
|
: undefined,
|
|
5329
|
-
EntityTypes: output.EntityTypes
|
|
5330
|
-
? deserializeAws_restJson1EntityTypeList(output.EntityTypes, context)
|
|
5331
|
-
: undefined,
|
|
5250
|
+
EntityTypes: output.EntityTypes != null ? deserializeAws_restJson1EntityTypeList(output.EntityTypes, context) : undefined,
|
|
5332
5251
|
};
|
|
5333
5252
|
};
|
|
5334
5253
|
var deserializeAws_restJson1EntityTypeList = function (output, context) {
|
|
@@ -5345,12 +5264,8 @@ var deserializeAws_restJson1EntityTypeList = function (output, context) {
|
|
|
5345
5264
|
var deserializeAws_restJson1ExcelOptions = function (output, context) {
|
|
5346
5265
|
return {
|
|
5347
5266
|
HeaderRow: __expectBoolean(output.HeaderRow),
|
|
5348
|
-
SheetIndexes: output.SheetIndexes
|
|
5349
|
-
|
|
5350
|
-
: undefined,
|
|
5351
|
-
SheetNames: output.SheetNames !== undefined && output.SheetNames !== null
|
|
5352
|
-
? deserializeAws_restJson1SheetNameList(output.SheetNames, context)
|
|
5353
|
-
: undefined,
|
|
5267
|
+
SheetIndexes: output.SheetIndexes != null ? deserializeAws_restJson1SheetIndexList(output.SheetIndexes, context) : undefined,
|
|
5268
|
+
SheetNames: output.SheetNames != null ? deserializeAws_restJson1SheetNameList(output.SheetNames, context) : undefined,
|
|
5354
5269
|
};
|
|
5355
5270
|
};
|
|
5356
5271
|
var deserializeAws_restJson1FilesLimit = function (output, context) {
|
|
@@ -5363,36 +5278,26 @@ var deserializeAws_restJson1FilesLimit = function (output, context) {
|
|
|
5363
5278
|
var deserializeAws_restJson1FilterExpression = function (output, context) {
|
|
5364
5279
|
return {
|
|
5365
5280
|
Expression: __expectString(output.Expression),
|
|
5366
|
-
ValuesMap: output.ValuesMap
|
|
5367
|
-
? deserializeAws_restJson1ValuesMap(output.ValuesMap, context)
|
|
5368
|
-
: undefined,
|
|
5281
|
+
ValuesMap: output.ValuesMap != null ? deserializeAws_restJson1ValuesMap(output.ValuesMap, context) : undefined,
|
|
5369
5282
|
};
|
|
5370
5283
|
};
|
|
5371
5284
|
var deserializeAws_restJson1FormatOptions = function (output, context) {
|
|
5372
5285
|
return {
|
|
5373
|
-
Csv: output.Csv
|
|
5374
|
-
|
|
5375
|
-
|
|
5376
|
-
Excel: output.Excel !== undefined && output.Excel !== null
|
|
5377
|
-
? deserializeAws_restJson1ExcelOptions(output.Excel, context)
|
|
5378
|
-
: undefined,
|
|
5379
|
-
Json: output.Json !== undefined && output.Json !== null
|
|
5380
|
-
? deserializeAws_restJson1JsonOptions(output.Json, context)
|
|
5381
|
-
: undefined,
|
|
5286
|
+
Csv: output.Csv != null ? deserializeAws_restJson1CsvOptions(output.Csv, context) : undefined,
|
|
5287
|
+
Excel: output.Excel != null ? deserializeAws_restJson1ExcelOptions(output.Excel, context) : undefined,
|
|
5288
|
+
Json: output.Json != null ? deserializeAws_restJson1JsonOptions(output.Json, context) : undefined,
|
|
5382
5289
|
};
|
|
5383
5290
|
};
|
|
5384
5291
|
var deserializeAws_restJson1Input = function (output, context) {
|
|
5385
5292
|
return {
|
|
5386
|
-
DataCatalogInputDefinition: output.DataCatalogInputDefinition
|
|
5293
|
+
DataCatalogInputDefinition: output.DataCatalogInputDefinition != null
|
|
5387
5294
|
? deserializeAws_restJson1DataCatalogInputDefinition(output.DataCatalogInputDefinition, context)
|
|
5388
5295
|
: undefined,
|
|
5389
|
-
DatabaseInputDefinition: output.DatabaseInputDefinition
|
|
5296
|
+
DatabaseInputDefinition: output.DatabaseInputDefinition != null
|
|
5390
5297
|
? deserializeAws_restJson1DatabaseInputDefinition(output.DatabaseInputDefinition, context)
|
|
5391
5298
|
: undefined,
|
|
5392
|
-
Metadata: output.Metadata
|
|
5393
|
-
|
|
5394
|
-
: undefined,
|
|
5395
|
-
S3InputDefinition: output.S3InputDefinition !== undefined && output.S3InputDefinition !== null
|
|
5299
|
+
Metadata: output.Metadata != null ? deserializeAws_restJson1Metadata(output.Metadata, context) : undefined,
|
|
5300
|
+
S3InputDefinition: output.S3InputDefinition != null
|
|
5396
5301
|
? deserializeAws_restJson1S3Location(output.S3InputDefinition, context)
|
|
5397
5302
|
: undefined,
|
|
5398
5303
|
};
|
|
@@ -5400,45 +5305,37 @@ var deserializeAws_restJson1Input = function (output, context) {
|
|
|
5400
5305
|
var deserializeAws_restJson1Job = function (output, context) {
|
|
5401
5306
|
return {
|
|
5402
5307
|
AccountId: __expectString(output.AccountId),
|
|
5403
|
-
CreateDate: output.CreateDate
|
|
5404
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate)))
|
|
5405
|
-
: undefined,
|
|
5308
|
+
CreateDate: output.CreateDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate))) : undefined,
|
|
5406
5309
|
CreatedBy: __expectString(output.CreatedBy),
|
|
5407
|
-
DataCatalogOutputs: output.DataCatalogOutputs
|
|
5310
|
+
DataCatalogOutputs: output.DataCatalogOutputs != null
|
|
5408
5311
|
? deserializeAws_restJson1DataCatalogOutputList(output.DataCatalogOutputs, context)
|
|
5409
5312
|
: undefined,
|
|
5410
|
-
DatabaseOutputs: output.DatabaseOutputs
|
|
5313
|
+
DatabaseOutputs: output.DatabaseOutputs != null
|
|
5411
5314
|
? deserializeAws_restJson1DatabaseOutputList(output.DatabaseOutputs, context)
|
|
5412
5315
|
: undefined,
|
|
5413
5316
|
DatasetName: __expectString(output.DatasetName),
|
|
5414
5317
|
EncryptionKeyArn: __expectString(output.EncryptionKeyArn),
|
|
5415
5318
|
EncryptionMode: __expectString(output.EncryptionMode),
|
|
5416
|
-
JobSample: output.JobSample
|
|
5417
|
-
? deserializeAws_restJson1JobSample(output.JobSample, context)
|
|
5418
|
-
: undefined,
|
|
5319
|
+
JobSample: output.JobSample != null ? deserializeAws_restJson1JobSample(output.JobSample, context) : undefined,
|
|
5419
5320
|
LastModifiedBy: __expectString(output.LastModifiedBy),
|
|
5420
|
-
LastModifiedDate: output.LastModifiedDate
|
|
5321
|
+
LastModifiedDate: output.LastModifiedDate != null
|
|
5421
5322
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
|
|
5422
5323
|
: undefined,
|
|
5423
5324
|
LogSubscription: __expectString(output.LogSubscription),
|
|
5424
5325
|
MaxCapacity: __expectInt32(output.MaxCapacity),
|
|
5425
5326
|
MaxRetries: __expectInt32(output.MaxRetries),
|
|
5426
5327
|
Name: __expectString(output.Name),
|
|
5427
|
-
Outputs: output.Outputs
|
|
5428
|
-
? deserializeAws_restJson1OutputList(output.Outputs, context)
|
|
5429
|
-
: undefined,
|
|
5328
|
+
Outputs: output.Outputs != null ? deserializeAws_restJson1OutputList(output.Outputs, context) : undefined,
|
|
5430
5329
|
ProjectName: __expectString(output.ProjectName),
|
|
5431
|
-
RecipeReference: output.RecipeReference
|
|
5330
|
+
RecipeReference: output.RecipeReference != null
|
|
5432
5331
|
? deserializeAws_restJson1RecipeReference(output.RecipeReference, context)
|
|
5433
5332
|
: undefined,
|
|
5434
5333
|
ResourceArn: __expectString(output.ResourceArn),
|
|
5435
5334
|
RoleArn: __expectString(output.RoleArn),
|
|
5436
|
-
Tags: output.Tags
|
|
5437
|
-
? deserializeAws_restJson1TagMap(output.Tags, context)
|
|
5438
|
-
: undefined,
|
|
5335
|
+
Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
|
|
5439
5336
|
Timeout: __expectInt32(output.Timeout),
|
|
5440
5337
|
Type: __expectString(output.Type),
|
|
5441
|
-
ValidationConfigurations: output.ValidationConfigurations
|
|
5338
|
+
ValidationConfigurations: output.ValidationConfigurations != null
|
|
5442
5339
|
? deserializeAws_restJson1ValidationConfigurationList(output.ValidationConfigurations, context)
|
|
5443
5340
|
: undefined,
|
|
5444
5341
|
};
|
|
@@ -5468,37 +5365,31 @@ var deserializeAws_restJson1JobNameList = function (output, context) {
|
|
|
5468
5365
|
var deserializeAws_restJson1JobRun = function (output, context) {
|
|
5469
5366
|
return {
|
|
5470
5367
|
Attempt: __expectInt32(output.Attempt),
|
|
5471
|
-
CompletedOn: output.CompletedOn
|
|
5368
|
+
CompletedOn: output.CompletedOn != null
|
|
5472
5369
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletedOn)))
|
|
5473
5370
|
: undefined,
|
|
5474
|
-
DataCatalogOutputs: output.DataCatalogOutputs
|
|
5371
|
+
DataCatalogOutputs: output.DataCatalogOutputs != null
|
|
5475
5372
|
? deserializeAws_restJson1DataCatalogOutputList(output.DataCatalogOutputs, context)
|
|
5476
5373
|
: undefined,
|
|
5477
|
-
DatabaseOutputs: output.DatabaseOutputs
|
|
5374
|
+
DatabaseOutputs: output.DatabaseOutputs != null
|
|
5478
5375
|
? deserializeAws_restJson1DatabaseOutputList(output.DatabaseOutputs, context)
|
|
5479
5376
|
: undefined,
|
|
5480
5377
|
DatasetName: __expectString(output.DatasetName),
|
|
5481
5378
|
ErrorMessage: __expectString(output.ErrorMessage),
|
|
5482
5379
|
ExecutionTime: __expectInt32(output.ExecutionTime),
|
|
5483
5380
|
JobName: __expectString(output.JobName),
|
|
5484
|
-
JobSample: output.JobSample
|
|
5485
|
-
? deserializeAws_restJson1JobSample(output.JobSample, context)
|
|
5486
|
-
: undefined,
|
|
5381
|
+
JobSample: output.JobSample != null ? deserializeAws_restJson1JobSample(output.JobSample, context) : undefined,
|
|
5487
5382
|
LogGroupName: __expectString(output.LogGroupName),
|
|
5488
5383
|
LogSubscription: __expectString(output.LogSubscription),
|
|
5489
|
-
Outputs: output.Outputs
|
|
5490
|
-
|
|
5491
|
-
: undefined,
|
|
5492
|
-
RecipeReference: output.RecipeReference !== undefined && output.RecipeReference !== null
|
|
5384
|
+
Outputs: output.Outputs != null ? deserializeAws_restJson1OutputList(output.Outputs, context) : undefined,
|
|
5385
|
+
RecipeReference: output.RecipeReference != null
|
|
5493
5386
|
? deserializeAws_restJson1RecipeReference(output.RecipeReference, context)
|
|
5494
5387
|
: undefined,
|
|
5495
5388
|
RunId: __expectString(output.RunId),
|
|
5496
5389
|
StartedBy: __expectString(output.StartedBy),
|
|
5497
|
-
StartedOn: output.StartedOn
|
|
5498
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartedOn)))
|
|
5499
|
-
: undefined,
|
|
5390
|
+
StartedOn: output.StartedOn != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartedOn))) : undefined,
|
|
5500
5391
|
State: __expectString(output.State),
|
|
5501
|
-
ValidationConfigurations: output.ValidationConfigurations
|
|
5392
|
+
ValidationConfigurations: output.ValidationConfigurations != null
|
|
5502
5393
|
? deserializeAws_restJson1ValidationConfigurationList(output.ValidationConfigurations, context)
|
|
5503
5394
|
: undefined,
|
|
5504
5395
|
};
|
|
@@ -5534,24 +5425,20 @@ var deserializeAws_restJson1Output = function (output, context) {
|
|
|
5534
5425
|
return {
|
|
5535
5426
|
CompressionFormat: __expectString(output.CompressionFormat),
|
|
5536
5427
|
Format: __expectString(output.Format),
|
|
5537
|
-
FormatOptions: output.FormatOptions
|
|
5428
|
+
FormatOptions: output.FormatOptions != null
|
|
5538
5429
|
? deserializeAws_restJson1OutputFormatOptions(output.FormatOptions, context)
|
|
5539
5430
|
: undefined,
|
|
5540
|
-
Location: output.Location
|
|
5541
|
-
? deserializeAws_restJson1S3Location(output.Location, context)
|
|
5542
|
-
: undefined,
|
|
5431
|
+
Location: output.Location != null ? deserializeAws_restJson1S3Location(output.Location, context) : undefined,
|
|
5543
5432
|
MaxOutputFiles: __expectInt32(output.MaxOutputFiles),
|
|
5544
5433
|
Overwrite: __expectBoolean(output.Overwrite),
|
|
5545
|
-
PartitionColumns: output.PartitionColumns
|
|
5434
|
+
PartitionColumns: output.PartitionColumns != null
|
|
5546
5435
|
? deserializeAws_restJson1ColumnNameList(output.PartitionColumns, context)
|
|
5547
5436
|
: undefined,
|
|
5548
5437
|
};
|
|
5549
5438
|
};
|
|
5550
5439
|
var deserializeAws_restJson1OutputFormatOptions = function (output, context) {
|
|
5551
5440
|
return {
|
|
5552
|
-
Csv: output.Csv
|
|
5553
|
-
? deserializeAws_restJson1CsvOutputOptions(output.Csv, context)
|
|
5554
|
-
: undefined,
|
|
5441
|
+
Csv: output.Csv != null ? deserializeAws_restJson1CsvOutputOptions(output.Csv, context) : undefined,
|
|
5555
5442
|
};
|
|
5556
5443
|
};
|
|
5557
5444
|
var deserializeAws_restJson1OutputList = function (output, context) {
|
|
@@ -5577,15 +5464,11 @@ var deserializeAws_restJson1ParameterMap = function (output, context) {
|
|
|
5577
5464
|
};
|
|
5578
5465
|
var deserializeAws_restJson1PathOptions = function (output, context) {
|
|
5579
5466
|
return {
|
|
5580
|
-
FilesLimit: output.FilesLimit
|
|
5581
|
-
|
|
5582
|
-
: undefined,
|
|
5583
|
-
LastModifiedDateCondition: output.LastModifiedDateCondition !== undefined && output.LastModifiedDateCondition !== null
|
|
5467
|
+
FilesLimit: output.FilesLimit != null ? deserializeAws_restJson1FilesLimit(output.FilesLimit, context) : undefined,
|
|
5468
|
+
LastModifiedDateCondition: output.LastModifiedDateCondition != null
|
|
5584
5469
|
? deserializeAws_restJson1FilterExpression(output.LastModifiedDateCondition, context)
|
|
5585
5470
|
: undefined,
|
|
5586
|
-
Parameters: output.Parameters
|
|
5587
|
-
? deserializeAws_restJson1PathParametersMap(output.Parameters, context)
|
|
5588
|
-
: undefined,
|
|
5471
|
+
Parameters: output.Parameters != null ? deserializeAws_restJson1PathParametersMap(output.Parameters, context) : undefined,
|
|
5589
5472
|
};
|
|
5590
5473
|
};
|
|
5591
5474
|
var deserializeAws_restJson1PathParametersMap = function (output, context) {
|
|
@@ -5600,16 +5483,16 @@ var deserializeAws_restJson1PathParametersMap = function (output, context) {
|
|
|
5600
5483
|
};
|
|
5601
5484
|
var deserializeAws_restJson1ProfileConfiguration = function (output, context) {
|
|
5602
5485
|
return {
|
|
5603
|
-
ColumnStatisticsConfigurations: output.ColumnStatisticsConfigurations
|
|
5486
|
+
ColumnStatisticsConfigurations: output.ColumnStatisticsConfigurations != null
|
|
5604
5487
|
? deserializeAws_restJson1ColumnStatisticsConfigurationList(output.ColumnStatisticsConfigurations, context)
|
|
5605
5488
|
: undefined,
|
|
5606
|
-
DatasetStatisticsConfiguration: output.DatasetStatisticsConfiguration
|
|
5489
|
+
DatasetStatisticsConfiguration: output.DatasetStatisticsConfiguration != null
|
|
5607
5490
|
? deserializeAws_restJson1StatisticsConfiguration(output.DatasetStatisticsConfiguration, context)
|
|
5608
5491
|
: undefined,
|
|
5609
|
-
EntityDetectorConfiguration: output.EntityDetectorConfiguration
|
|
5492
|
+
EntityDetectorConfiguration: output.EntityDetectorConfiguration != null
|
|
5610
5493
|
? deserializeAws_restJson1EntityDetectorConfiguration(output.EntityDetectorConfiguration, context)
|
|
5611
5494
|
: undefined,
|
|
5612
|
-
ProfileColumns: output.ProfileColumns
|
|
5495
|
+
ProfileColumns: output.ProfileColumns != null
|
|
5613
5496
|
? deserializeAws_restJson1ColumnSelectorList(output.ProfileColumns, context)
|
|
5614
5497
|
: undefined,
|
|
5615
5498
|
};
|
|
@@ -5617,29 +5500,21 @@ var deserializeAws_restJson1ProfileConfiguration = function (output, context) {
|
|
|
5617
5500
|
var deserializeAws_restJson1Project = function (output, context) {
|
|
5618
5501
|
return {
|
|
5619
5502
|
AccountId: __expectString(output.AccountId),
|
|
5620
|
-
CreateDate: output.CreateDate
|
|
5621
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate)))
|
|
5622
|
-
: undefined,
|
|
5503
|
+
CreateDate: output.CreateDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate))) : undefined,
|
|
5623
5504
|
CreatedBy: __expectString(output.CreatedBy),
|
|
5624
5505
|
DatasetName: __expectString(output.DatasetName),
|
|
5625
5506
|
LastModifiedBy: __expectString(output.LastModifiedBy),
|
|
5626
|
-
LastModifiedDate: output.LastModifiedDate
|
|
5507
|
+
LastModifiedDate: output.LastModifiedDate != null
|
|
5627
5508
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
|
|
5628
5509
|
: undefined,
|
|
5629
5510
|
Name: __expectString(output.Name),
|
|
5630
|
-
OpenDate: output.OpenDate
|
|
5631
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.OpenDate)))
|
|
5632
|
-
: undefined,
|
|
5511
|
+
OpenDate: output.OpenDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.OpenDate))) : undefined,
|
|
5633
5512
|
OpenedBy: __expectString(output.OpenedBy),
|
|
5634
5513
|
RecipeName: __expectString(output.RecipeName),
|
|
5635
5514
|
ResourceArn: __expectString(output.ResourceArn),
|
|
5636
5515
|
RoleArn: __expectString(output.RoleArn),
|
|
5637
|
-
Sample: output.Sample
|
|
5638
|
-
|
|
5639
|
-
: undefined,
|
|
5640
|
-
Tags: output.Tags !== undefined && output.Tags !== null
|
|
5641
|
-
? deserializeAws_restJson1TagMap(output.Tags, context)
|
|
5642
|
-
: undefined,
|
|
5516
|
+
Sample: output.Sample != null ? deserializeAws_restJson1Sample(output.Sample, context) : undefined,
|
|
5517
|
+
Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
|
|
5643
5518
|
};
|
|
5644
5519
|
};
|
|
5645
5520
|
var deserializeAws_restJson1ProjectList = function (output, context) {
|
|
@@ -5655,37 +5530,29 @@ var deserializeAws_restJson1ProjectList = function (output, context) {
|
|
|
5655
5530
|
};
|
|
5656
5531
|
var deserializeAws_restJson1Recipe = function (output, context) {
|
|
5657
5532
|
return {
|
|
5658
|
-
CreateDate: output.CreateDate
|
|
5659
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate)))
|
|
5660
|
-
: undefined,
|
|
5533
|
+
CreateDate: output.CreateDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate))) : undefined,
|
|
5661
5534
|
CreatedBy: __expectString(output.CreatedBy),
|
|
5662
5535
|
Description: __expectString(output.Description),
|
|
5663
5536
|
LastModifiedBy: __expectString(output.LastModifiedBy),
|
|
5664
|
-
LastModifiedDate: output.LastModifiedDate
|
|
5537
|
+
LastModifiedDate: output.LastModifiedDate != null
|
|
5665
5538
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
|
|
5666
5539
|
: undefined,
|
|
5667
5540
|
Name: __expectString(output.Name),
|
|
5668
5541
|
ProjectName: __expectString(output.ProjectName),
|
|
5669
5542
|
PublishedBy: __expectString(output.PublishedBy),
|
|
5670
|
-
PublishedDate: output.PublishedDate
|
|
5543
|
+
PublishedDate: output.PublishedDate != null
|
|
5671
5544
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.PublishedDate)))
|
|
5672
5545
|
: undefined,
|
|
5673
5546
|
RecipeVersion: __expectString(output.RecipeVersion),
|
|
5674
5547
|
ResourceArn: __expectString(output.ResourceArn),
|
|
5675
|
-
Steps: output.Steps
|
|
5676
|
-
|
|
5677
|
-
: undefined,
|
|
5678
|
-
Tags: output.Tags !== undefined && output.Tags !== null
|
|
5679
|
-
? deserializeAws_restJson1TagMap(output.Tags, context)
|
|
5680
|
-
: undefined,
|
|
5548
|
+
Steps: output.Steps != null ? deserializeAws_restJson1RecipeStepList(output.Steps, context) : undefined,
|
|
5549
|
+
Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
|
|
5681
5550
|
};
|
|
5682
5551
|
};
|
|
5683
5552
|
var deserializeAws_restJson1RecipeAction = function (output, context) {
|
|
5684
5553
|
return {
|
|
5685
5554
|
Operation: __expectString(output.Operation),
|
|
5686
|
-
Parameters: output.Parameters
|
|
5687
|
-
? deserializeAws_restJson1ParameterMap(output.Parameters, context)
|
|
5688
|
-
: undefined,
|
|
5555
|
+
Parameters: output.Parameters != null ? deserializeAws_restJson1ParameterMap(output.Parameters, context) : undefined,
|
|
5689
5556
|
};
|
|
5690
5557
|
};
|
|
5691
5558
|
var deserializeAws_restJson1RecipeErrorList = function (output, context) {
|
|
@@ -5718,10 +5585,8 @@ var deserializeAws_restJson1RecipeReference = function (output, context) {
|
|
|
5718
5585
|
};
|
|
5719
5586
|
var deserializeAws_restJson1RecipeStep = function (output, context) {
|
|
5720
5587
|
return {
|
|
5721
|
-
Action: output.Action
|
|
5722
|
-
|
|
5723
|
-
: undefined,
|
|
5724
|
-
ConditionExpressions: output.ConditionExpressions !== undefined && output.ConditionExpressions !== null
|
|
5588
|
+
Action: output.Action != null ? deserializeAws_restJson1RecipeAction(output.Action, context) : undefined,
|
|
5589
|
+
ConditionExpressions: output.ConditionExpressions != null
|
|
5725
5590
|
? deserializeAws_restJson1ConditionExpressionList(output.ConditionExpressions, context)
|
|
5726
5591
|
: undefined,
|
|
5727
5592
|
};
|
|
@@ -5747,17 +5612,13 @@ var deserializeAws_restJson1RecipeVersionErrorDetail = function (output, context
|
|
|
5747
5612
|
var deserializeAws_restJson1Rule = function (output, context) {
|
|
5748
5613
|
return {
|
|
5749
5614
|
CheckExpression: __expectString(output.CheckExpression),
|
|
5750
|
-
ColumnSelectors: output.ColumnSelectors
|
|
5615
|
+
ColumnSelectors: output.ColumnSelectors != null
|
|
5751
5616
|
? deserializeAws_restJson1ColumnSelectorList(output.ColumnSelectors, context)
|
|
5752
5617
|
: undefined,
|
|
5753
5618
|
Disabled: __expectBoolean(output.Disabled),
|
|
5754
5619
|
Name: __expectString(output.Name),
|
|
5755
|
-
SubstitutionMap: output.SubstitutionMap
|
|
5756
|
-
|
|
5757
|
-
: undefined,
|
|
5758
|
-
Threshold: output.Threshold !== undefined && output.Threshold !== null
|
|
5759
|
-
? deserializeAws_restJson1Threshold(output.Threshold, context)
|
|
5760
|
-
: undefined,
|
|
5620
|
+
SubstitutionMap: output.SubstitutionMap != null ? deserializeAws_restJson1ValuesMap(output.SubstitutionMap, context) : undefined,
|
|
5621
|
+
Threshold: output.Threshold != null ? deserializeAws_restJson1Threshold(output.Threshold, context) : undefined,
|
|
5761
5622
|
};
|
|
5762
5623
|
};
|
|
5763
5624
|
var deserializeAws_restJson1RuleList = function (output, context) {
|
|
@@ -5774,21 +5635,17 @@ var deserializeAws_restJson1RuleList = function (output, context) {
|
|
|
5774
5635
|
var deserializeAws_restJson1RulesetItem = function (output, context) {
|
|
5775
5636
|
return {
|
|
5776
5637
|
AccountId: __expectString(output.AccountId),
|
|
5777
|
-
CreateDate: output.CreateDate
|
|
5778
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate)))
|
|
5779
|
-
: undefined,
|
|
5638
|
+
CreateDate: output.CreateDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate))) : undefined,
|
|
5780
5639
|
CreatedBy: __expectString(output.CreatedBy),
|
|
5781
5640
|
Description: __expectString(output.Description),
|
|
5782
5641
|
LastModifiedBy: __expectString(output.LastModifiedBy),
|
|
5783
|
-
LastModifiedDate: output.LastModifiedDate
|
|
5642
|
+
LastModifiedDate: output.LastModifiedDate != null
|
|
5784
5643
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
|
|
5785
5644
|
: undefined,
|
|
5786
5645
|
Name: __expectString(output.Name),
|
|
5787
5646
|
ResourceArn: __expectString(output.ResourceArn),
|
|
5788
5647
|
RuleCount: __expectInt32(output.RuleCount),
|
|
5789
|
-
Tags: output.Tags
|
|
5790
|
-
? deserializeAws_restJson1TagMap(output.Tags, context)
|
|
5791
|
-
: undefined,
|
|
5648
|
+
Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
|
|
5792
5649
|
TargetArn: __expectString(output.TargetArn),
|
|
5793
5650
|
};
|
|
5794
5651
|
};
|
|
@@ -5812,9 +5669,7 @@ var deserializeAws_restJson1S3Location = function (output, context) {
|
|
|
5812
5669
|
};
|
|
5813
5670
|
var deserializeAws_restJson1S3TableOutputOptions = function (output, context) {
|
|
5814
5671
|
return {
|
|
5815
|
-
Location: output.Location
|
|
5816
|
-
? deserializeAws_restJson1S3Location(output.Location, context)
|
|
5817
|
-
: undefined,
|
|
5672
|
+
Location: output.Location != null ? deserializeAws_restJson1S3Location(output.Location, context) : undefined,
|
|
5818
5673
|
};
|
|
5819
5674
|
};
|
|
5820
5675
|
var deserializeAws_restJson1Sample = function (output, context) {
|
|
@@ -5826,23 +5681,17 @@ var deserializeAws_restJson1Sample = function (output, context) {
|
|
|
5826
5681
|
var deserializeAws_restJson1Schedule = function (output, context) {
|
|
5827
5682
|
return {
|
|
5828
5683
|
AccountId: __expectString(output.AccountId),
|
|
5829
|
-
CreateDate: output.CreateDate
|
|
5830
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate)))
|
|
5831
|
-
: undefined,
|
|
5684
|
+
CreateDate: output.CreateDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateDate))) : undefined,
|
|
5832
5685
|
CreatedBy: __expectString(output.CreatedBy),
|
|
5833
5686
|
CronExpression: __expectString(output.CronExpression),
|
|
5834
|
-
JobNames: output.JobNames
|
|
5835
|
-
? deserializeAws_restJson1JobNameList(output.JobNames, context)
|
|
5836
|
-
: undefined,
|
|
5687
|
+
JobNames: output.JobNames != null ? deserializeAws_restJson1JobNameList(output.JobNames, context) : undefined,
|
|
5837
5688
|
LastModifiedBy: __expectString(output.LastModifiedBy),
|
|
5838
|
-
LastModifiedDate: output.LastModifiedDate
|
|
5689
|
+
LastModifiedDate: output.LastModifiedDate != null
|
|
5839
5690
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedDate)))
|
|
5840
5691
|
: undefined,
|
|
5841
5692
|
Name: __expectString(output.Name),
|
|
5842
5693
|
ResourceArn: __expectString(output.ResourceArn),
|
|
5843
|
-
Tags: output.Tags
|
|
5844
|
-
? deserializeAws_restJson1TagMap(output.Tags, context)
|
|
5845
|
-
: undefined,
|
|
5694
|
+
Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
|
|
5846
5695
|
};
|
|
5847
5696
|
};
|
|
5848
5697
|
var deserializeAws_restJson1ScheduleList = function (output, context) {
|
|
@@ -5891,9 +5740,7 @@ var deserializeAws_restJson1StatisticList = function (output, context) {
|
|
|
5891
5740
|
};
|
|
5892
5741
|
var deserializeAws_restJson1StatisticOverride = function (output, context) {
|
|
5893
5742
|
return {
|
|
5894
|
-
Parameters: output.Parameters
|
|
5895
|
-
? deserializeAws_restJson1ParameterMap(output.Parameters, context)
|
|
5896
|
-
: undefined,
|
|
5743
|
+
Parameters: output.Parameters != null ? deserializeAws_restJson1ParameterMap(output.Parameters, context) : undefined,
|
|
5897
5744
|
Statistic: __expectString(output.Statistic),
|
|
5898
5745
|
};
|
|
5899
5746
|
};
|
|
@@ -5910,12 +5757,10 @@ var deserializeAws_restJson1StatisticOverrideList = function (output, context) {
|
|
|
5910
5757
|
};
|
|
5911
5758
|
var deserializeAws_restJson1StatisticsConfiguration = function (output, context) {
|
|
5912
5759
|
return {
|
|
5913
|
-
IncludedStatistics: output.IncludedStatistics
|
|
5760
|
+
IncludedStatistics: output.IncludedStatistics != null
|
|
5914
5761
|
? deserializeAws_restJson1StatisticList(output.IncludedStatistics, context)
|
|
5915
5762
|
: undefined,
|
|
5916
|
-
Overrides: output.Overrides
|
|
5917
|
-
? deserializeAws_restJson1StatisticOverrideList(output.Overrides, context)
|
|
5918
|
-
: undefined,
|
|
5763
|
+
Overrides: output.Overrides != null ? deserializeAws_restJson1StatisticOverrideList(output.Overrides, context) : undefined,
|
|
5919
5764
|
};
|
|
5920
5765
|
};
|
|
5921
5766
|
var deserializeAws_restJson1TagMap = function (output, context) {
|
|
@@ -6018,5 +5863,4 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
6018
5863
|
if (data["__type"] !== undefined) {
|
|
6019
5864
|
return sanitizeErrorCode(data["__type"]);
|
|
6020
5865
|
}
|
|
6021
|
-
return "";
|
|
6022
5866
|
};
|