@aws-sdk/client-databrew 3.310.0 → 3.315.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_restJson1.js +706 -1872
- package/dist-es/protocols/Aws_restJson1.js +647 -1813
- package/package.json +6 -6
|
@@ -14,9 +14,9 @@ const se_BatchDeleteRecipeVersionCommand = async (input, context) => {
|
|
|
14
14
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/recipes/{Name}/batchDeleteRecipeVersion";
|
|
15
15
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
16
16
|
let body;
|
|
17
|
-
body = JSON.stringify({
|
|
18
|
-
|
|
19
|
-
});
|
|
17
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
18
|
+
RecipeVersions: (_) => (0, smithy_client_1._json)(_),
|
|
19
|
+
}));
|
|
20
20
|
return new protocol_http_1.HttpRequest({
|
|
21
21
|
protocol,
|
|
22
22
|
hostname,
|
|
@@ -35,14 +35,14 @@ const se_CreateDatasetCommand = async (input, context) => {
|
|
|
35
35
|
};
|
|
36
36
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/datasets";
|
|
37
37
|
let body;
|
|
38
|
-
body = JSON.stringify({
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
});
|
|
38
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
39
|
+
Format: [],
|
|
40
|
+
FormatOptions: (_) => (0, smithy_client_1._json)(_),
|
|
41
|
+
Input: (_) => (0, smithy_client_1._json)(_),
|
|
42
|
+
Name: [],
|
|
43
|
+
PathOptions: (_) => (0, smithy_client_1._json)(_),
|
|
44
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
45
|
+
}));
|
|
46
46
|
return new protocol_http_1.HttpRequest({
|
|
47
47
|
protocol,
|
|
48
48
|
hostname,
|
|
@@ -61,24 +61,22 @@ const se_CreateProfileJobCommand = async (input, context) => {
|
|
|
61
61
|
};
|
|
62
62
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/profileJobs";
|
|
63
63
|
let body;
|
|
64
|
-
body = JSON.stringify({
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}),
|
|
81
|
-
});
|
|
64
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
65
|
+
Configuration: (_) => (0, smithy_client_1._json)(_),
|
|
66
|
+
DatasetName: [],
|
|
67
|
+
EncryptionKeyArn: [],
|
|
68
|
+
EncryptionMode: [],
|
|
69
|
+
JobSample: (_) => (0, smithy_client_1._json)(_),
|
|
70
|
+
LogSubscription: [],
|
|
71
|
+
MaxCapacity: [],
|
|
72
|
+
MaxRetries: [],
|
|
73
|
+
Name: [],
|
|
74
|
+
OutputLocation: (_) => (0, smithy_client_1._json)(_),
|
|
75
|
+
RoleArn: [],
|
|
76
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
77
|
+
Timeout: [],
|
|
78
|
+
ValidationConfigurations: (_) => (0, smithy_client_1._json)(_),
|
|
79
|
+
}));
|
|
82
80
|
return new protocol_http_1.HttpRequest({
|
|
83
81
|
protocol,
|
|
84
82
|
hostname,
|
|
@@ -97,14 +95,14 @@ const se_CreateProjectCommand = async (input, context) => {
|
|
|
97
95
|
};
|
|
98
96
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/projects";
|
|
99
97
|
let body;
|
|
100
|
-
body = JSON.stringify({
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
});
|
|
98
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
99
|
+
DatasetName: [],
|
|
100
|
+
Name: [],
|
|
101
|
+
RecipeName: [],
|
|
102
|
+
RoleArn: [],
|
|
103
|
+
Sample: (_) => (0, smithy_client_1._json)(_),
|
|
104
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
105
|
+
}));
|
|
108
106
|
return new protocol_http_1.HttpRequest({
|
|
109
107
|
protocol,
|
|
110
108
|
hostname,
|
|
@@ -123,12 +121,12 @@ const se_CreateRecipeCommand = async (input, context) => {
|
|
|
123
121
|
};
|
|
124
122
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/recipes";
|
|
125
123
|
let body;
|
|
126
|
-
body = JSON.stringify({
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
});
|
|
124
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
125
|
+
Description: [],
|
|
126
|
+
Name: [],
|
|
127
|
+
Steps: (_) => (0, smithy_client_1._json)(_),
|
|
128
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
129
|
+
}));
|
|
132
130
|
return new protocol_http_1.HttpRequest({
|
|
133
131
|
protocol,
|
|
134
132
|
hostname,
|
|
@@ -147,25 +145,23 @@ const se_CreateRecipeJobCommand = async (input, context) => {
|
|
|
147
145
|
};
|
|
148
146
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/recipeJobs";
|
|
149
147
|
let body;
|
|
150
|
-
body = JSON.stringify({
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
...(input.Timeout != null && { Timeout: input.Timeout }),
|
|
168
|
-
});
|
|
148
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
149
|
+
DataCatalogOutputs: (_) => (0, smithy_client_1._json)(_),
|
|
150
|
+
DatabaseOutputs: (_) => (0, smithy_client_1._json)(_),
|
|
151
|
+
DatasetName: [],
|
|
152
|
+
EncryptionKeyArn: [],
|
|
153
|
+
EncryptionMode: [],
|
|
154
|
+
LogSubscription: [],
|
|
155
|
+
MaxCapacity: [],
|
|
156
|
+
MaxRetries: [],
|
|
157
|
+
Name: [],
|
|
158
|
+
Outputs: (_) => (0, smithy_client_1._json)(_),
|
|
159
|
+
ProjectName: [],
|
|
160
|
+
RecipeReference: (_) => (0, smithy_client_1._json)(_),
|
|
161
|
+
RoleArn: [],
|
|
162
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
163
|
+
Timeout: [],
|
|
164
|
+
}));
|
|
169
165
|
return new protocol_http_1.HttpRequest({
|
|
170
166
|
protocol,
|
|
171
167
|
hostname,
|
|
@@ -184,13 +180,13 @@ const se_CreateRulesetCommand = async (input, context) => {
|
|
|
184
180
|
};
|
|
185
181
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/rulesets";
|
|
186
182
|
let body;
|
|
187
|
-
body = JSON.stringify({
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
});
|
|
183
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
184
|
+
Description: [],
|
|
185
|
+
Name: [],
|
|
186
|
+
Rules: (_) => se_RuleList(_, context),
|
|
187
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
188
|
+
TargetArn: [],
|
|
189
|
+
}));
|
|
194
190
|
return new protocol_http_1.HttpRequest({
|
|
195
191
|
protocol,
|
|
196
192
|
hostname,
|
|
@@ -209,12 +205,12 @@ const se_CreateScheduleCommand = async (input, context) => {
|
|
|
209
205
|
};
|
|
210
206
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/schedules";
|
|
211
207
|
let body;
|
|
212
|
-
body = JSON.stringify({
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
});
|
|
208
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
209
|
+
CronExpression: [],
|
|
210
|
+
JobNames: (_) => (0, smithy_client_1._json)(_),
|
|
211
|
+
Name: [],
|
|
212
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
213
|
+
}));
|
|
218
214
|
return new protocol_http_1.HttpRequest({
|
|
219
215
|
protocol,
|
|
220
216
|
hostname,
|
|
@@ -404,7 +400,7 @@ const se_DescribeRecipeCommand = async (input, context) => {
|
|
|
404
400
|
const headers = {};
|
|
405
401
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/recipes/{Name}";
|
|
406
402
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
407
|
-
const query = map({
|
|
403
|
+
const query = (0, smithy_client_1.map)({
|
|
408
404
|
recipeVersion: [, input.RecipeVersion],
|
|
409
405
|
});
|
|
410
406
|
let body;
|
|
@@ -458,7 +454,7 @@ const se_ListDatasetsCommand = async (input, context) => {
|
|
|
458
454
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
459
455
|
const headers = {};
|
|
460
456
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/datasets";
|
|
461
|
-
const query = map({
|
|
457
|
+
const query = (0, smithy_client_1.map)({
|
|
462
458
|
maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
463
459
|
nextToken: [, input.NextToken],
|
|
464
460
|
});
|
|
@@ -480,7 +476,7 @@ const se_ListJobRunsCommand = async (input, context) => {
|
|
|
480
476
|
const headers = {};
|
|
481
477
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/jobs/{Name}/jobRuns";
|
|
482
478
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
483
|
-
const query = map({
|
|
479
|
+
const query = (0, smithy_client_1.map)({
|
|
484
480
|
maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
485
481
|
nextToken: [, input.NextToken],
|
|
486
482
|
});
|
|
@@ -501,7 +497,7 @@ const se_ListJobsCommand = async (input, context) => {
|
|
|
501
497
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
502
498
|
const headers = {};
|
|
503
499
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/jobs";
|
|
504
|
-
const query = map({
|
|
500
|
+
const query = (0, smithy_client_1.map)({
|
|
505
501
|
datasetName: [, input.DatasetName],
|
|
506
502
|
maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
507
503
|
nextToken: [, input.NextToken],
|
|
@@ -524,7 +520,7 @@ const se_ListProjectsCommand = async (input, context) => {
|
|
|
524
520
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
525
521
|
const headers = {};
|
|
526
522
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/projects";
|
|
527
|
-
const query = map({
|
|
523
|
+
const query = (0, smithy_client_1.map)({
|
|
528
524
|
nextToken: [, input.NextToken],
|
|
529
525
|
maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
530
526
|
});
|
|
@@ -545,7 +541,7 @@ const se_ListRecipesCommand = async (input, context) => {
|
|
|
545
541
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
546
542
|
const headers = {};
|
|
547
543
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/recipes";
|
|
548
|
-
const query = map({
|
|
544
|
+
const query = (0, smithy_client_1.map)({
|
|
549
545
|
maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
550
546
|
nextToken: [, input.NextToken],
|
|
551
547
|
recipeVersion: [, input.RecipeVersion],
|
|
@@ -567,7 +563,7 @@ const se_ListRecipeVersionsCommand = async (input, context) => {
|
|
|
567
563
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
568
564
|
const headers = {};
|
|
569
565
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/recipeVersions";
|
|
570
|
-
const query = map({
|
|
566
|
+
const query = (0, smithy_client_1.map)({
|
|
571
567
|
maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
572
568
|
nextToken: [, input.NextToken],
|
|
573
569
|
name: [, (0, smithy_client_1.expectNonNull)(input.Name, `Name`)],
|
|
@@ -589,7 +585,7 @@ const se_ListRulesetsCommand = async (input, context) => {
|
|
|
589
585
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
590
586
|
const headers = {};
|
|
591
587
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/rulesets";
|
|
592
|
-
const query = map({
|
|
588
|
+
const query = (0, smithy_client_1.map)({
|
|
593
589
|
targetArn: [, input.TargetArn],
|
|
594
590
|
maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
595
591
|
nextToken: [, input.NextToken],
|
|
@@ -611,7 +607,7 @@ const se_ListSchedulesCommand = async (input, context) => {
|
|
|
611
607
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
612
608
|
const headers = {};
|
|
613
609
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/schedules";
|
|
614
|
-
const query = map({
|
|
610
|
+
const query = (0, smithy_client_1.map)({
|
|
615
611
|
jobName: [, input.JobName],
|
|
616
612
|
maxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
617
613
|
nextToken: [, input.NextToken],
|
|
@@ -654,9 +650,9 @@ const se_PublishRecipeCommand = async (input, context) => {
|
|
|
654
650
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/recipes/{Name}/publishRecipe";
|
|
655
651
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
656
652
|
let body;
|
|
657
|
-
body = JSON.stringify({
|
|
658
|
-
|
|
659
|
-
});
|
|
653
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
654
|
+
Description: [],
|
|
655
|
+
}));
|
|
660
656
|
return new protocol_http_1.HttpRequest({
|
|
661
657
|
protocol,
|
|
662
658
|
hostname,
|
|
@@ -676,13 +672,13 @@ const se_SendProjectSessionActionCommand = async (input, context) => {
|
|
|
676
672
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/projects/{Name}/sendProjectSessionAction";
|
|
677
673
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
678
674
|
let body;
|
|
679
|
-
body = JSON.stringify({
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
});
|
|
675
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
676
|
+
ClientSessionId: [],
|
|
677
|
+
Preview: [],
|
|
678
|
+
RecipeStep: (_) => (0, smithy_client_1._json)(_),
|
|
679
|
+
StepIndex: [],
|
|
680
|
+
ViewFrame: (_) => (0, smithy_client_1._json)(_),
|
|
681
|
+
}));
|
|
686
682
|
return new protocol_http_1.HttpRequest({
|
|
687
683
|
protocol,
|
|
688
684
|
hostname,
|
|
@@ -719,9 +715,9 @@ const se_StartProjectSessionCommand = async (input, context) => {
|
|
|
719
715
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/projects/{Name}/startProjectSession";
|
|
720
716
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
721
717
|
let body;
|
|
722
|
-
body = JSON.stringify({
|
|
723
|
-
|
|
724
|
-
});
|
|
718
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
719
|
+
AssumeControl: [],
|
|
720
|
+
}));
|
|
725
721
|
return new protocol_http_1.HttpRequest({
|
|
726
722
|
protocol,
|
|
727
723
|
hostname,
|
|
@@ -759,9 +755,9 @@ const se_TagResourceCommand = async (input, context) => {
|
|
|
759
755
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
|
|
760
756
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
761
757
|
let body;
|
|
762
|
-
body = JSON.stringify({
|
|
763
|
-
|
|
764
|
-
});
|
|
758
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
759
|
+
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
760
|
+
}));
|
|
765
761
|
return new protocol_http_1.HttpRequest({
|
|
766
762
|
protocol,
|
|
767
763
|
hostname,
|
|
@@ -778,7 +774,7 @@ const se_UntagResourceCommand = async (input, context) => {
|
|
|
778
774
|
const headers = {};
|
|
779
775
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
|
|
780
776
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
781
|
-
const query = map({
|
|
777
|
+
const query = (0, smithy_client_1.map)({
|
|
782
778
|
tagKeys: [
|
|
783
779
|
(0, smithy_client_1.expectNonNull)(input.TagKeys, `TagKeys`) != null,
|
|
784
780
|
() => (input.TagKeys || []).map((_entry) => _entry),
|
|
@@ -805,12 +801,12 @@ const se_UpdateDatasetCommand = async (input, context) => {
|
|
|
805
801
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/datasets/{Name}";
|
|
806
802
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
807
803
|
let body;
|
|
808
|
-
body = JSON.stringify({
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
});
|
|
804
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
805
|
+
Format: [],
|
|
806
|
+
FormatOptions: (_) => (0, smithy_client_1._json)(_),
|
|
807
|
+
Input: (_) => (0, smithy_client_1._json)(_),
|
|
808
|
+
PathOptions: (_) => (0, smithy_client_1._json)(_),
|
|
809
|
+
}));
|
|
814
810
|
return new protocol_http_1.HttpRequest({
|
|
815
811
|
protocol,
|
|
816
812
|
hostname,
|
|
@@ -830,21 +826,19 @@ const se_UpdateProfileJobCommand = async (input, context) => {
|
|
|
830
826
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/profileJobs/{Name}";
|
|
831
827
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
832
828
|
let body;
|
|
833
|
-
body = JSON.stringify({
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
}),
|
|
847
|
-
});
|
|
829
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
830
|
+
Configuration: (_) => (0, smithy_client_1._json)(_),
|
|
831
|
+
EncryptionKeyArn: [],
|
|
832
|
+
EncryptionMode: [],
|
|
833
|
+
JobSample: (_) => (0, smithy_client_1._json)(_),
|
|
834
|
+
LogSubscription: [],
|
|
835
|
+
MaxCapacity: [],
|
|
836
|
+
MaxRetries: [],
|
|
837
|
+
OutputLocation: (_) => (0, smithy_client_1._json)(_),
|
|
838
|
+
RoleArn: [],
|
|
839
|
+
Timeout: [],
|
|
840
|
+
ValidationConfigurations: (_) => (0, smithy_client_1._json)(_),
|
|
841
|
+
}));
|
|
848
842
|
return new protocol_http_1.HttpRequest({
|
|
849
843
|
protocol,
|
|
850
844
|
hostname,
|
|
@@ -864,10 +858,10 @@ const se_UpdateProjectCommand = async (input, context) => {
|
|
|
864
858
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/projects/{Name}";
|
|
865
859
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
866
860
|
let body;
|
|
867
|
-
body = JSON.stringify({
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
});
|
|
861
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
862
|
+
RoleArn: [],
|
|
863
|
+
Sample: (_) => (0, smithy_client_1._json)(_),
|
|
864
|
+
}));
|
|
871
865
|
return new protocol_http_1.HttpRequest({
|
|
872
866
|
protocol,
|
|
873
867
|
hostname,
|
|
@@ -887,10 +881,10 @@ const se_UpdateRecipeCommand = async (input, context) => {
|
|
|
887
881
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/recipes/{Name}";
|
|
888
882
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
889
883
|
let body;
|
|
890
|
-
body = JSON.stringify({
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
});
|
|
884
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
885
|
+
Description: [],
|
|
886
|
+
Steps: (_) => (0, smithy_client_1._json)(_),
|
|
887
|
+
}));
|
|
894
888
|
return new protocol_http_1.HttpRequest({
|
|
895
889
|
protocol,
|
|
896
890
|
hostname,
|
|
@@ -910,20 +904,18 @@ const se_UpdateRecipeJobCommand = async (input, context) => {
|
|
|
910
904
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/recipeJobs/{Name}";
|
|
911
905
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
912
906
|
let body;
|
|
913
|
-
body = JSON.stringify({
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
...(input.Timeout != null && { Timeout: input.Timeout }),
|
|
926
|
-
});
|
|
907
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
908
|
+
DataCatalogOutputs: (_) => (0, smithy_client_1._json)(_),
|
|
909
|
+
DatabaseOutputs: (_) => (0, smithy_client_1._json)(_),
|
|
910
|
+
EncryptionKeyArn: [],
|
|
911
|
+
EncryptionMode: [],
|
|
912
|
+
LogSubscription: [],
|
|
913
|
+
MaxCapacity: [],
|
|
914
|
+
MaxRetries: [],
|
|
915
|
+
Outputs: (_) => (0, smithy_client_1._json)(_),
|
|
916
|
+
RoleArn: [],
|
|
917
|
+
Timeout: [],
|
|
918
|
+
}));
|
|
927
919
|
return new protocol_http_1.HttpRequest({
|
|
928
920
|
protocol,
|
|
929
921
|
hostname,
|
|
@@ -943,10 +935,10 @@ const se_UpdateRulesetCommand = async (input, context) => {
|
|
|
943
935
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/rulesets/{Name}";
|
|
944
936
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
945
937
|
let body;
|
|
946
|
-
body = JSON.stringify({
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
});
|
|
938
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
939
|
+
Description: [],
|
|
940
|
+
Rules: (_) => se_RuleList(_, context),
|
|
941
|
+
}));
|
|
950
942
|
return new protocol_http_1.HttpRequest({
|
|
951
943
|
protocol,
|
|
952
944
|
hostname,
|
|
@@ -966,10 +958,10 @@ const se_UpdateScheduleCommand = async (input, context) => {
|
|
|
966
958
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/schedules/{Name}";
|
|
967
959
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
968
960
|
let body;
|
|
969
|
-
body = JSON.stringify({
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
});
|
|
961
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
962
|
+
CronExpression: [],
|
|
963
|
+
JobNames: (_) => (0, smithy_client_1._json)(_),
|
|
964
|
+
}));
|
|
973
965
|
return new protocol_http_1.HttpRequest({
|
|
974
966
|
protocol,
|
|
975
967
|
hostname,
|
|
@@ -985,16 +977,15 @@ const de_BatchDeleteRecipeVersionCommand = async (output, context) => {
|
|
|
985
977
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
986
978
|
return de_BatchDeleteRecipeVersionCommandError(output, context);
|
|
987
979
|
}
|
|
988
|
-
const contents = map({
|
|
980
|
+
const contents = (0, smithy_client_1.map)({
|
|
989
981
|
$metadata: deserializeMetadata(output),
|
|
990
982
|
});
|
|
991
983
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
}
|
|
984
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
985
|
+
Errors: smithy_client_1._json,
|
|
986
|
+
Name: smithy_client_1.expectString,
|
|
987
|
+
});
|
|
988
|
+
Object.assign(contents, doc);
|
|
998
989
|
return contents;
|
|
999
990
|
};
|
|
1000
991
|
exports.de_BatchDeleteRecipeVersionCommand = de_BatchDeleteRecipeVersionCommand;
|
|
@@ -1016,10 +1007,9 @@ const de_BatchDeleteRecipeVersionCommandError = async (output, context) => {
|
|
|
1016
1007
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1017
1008
|
default:
|
|
1018
1009
|
const parsedBody = parsedOutput.body;
|
|
1019
|
-
|
|
1010
|
+
return throwDefaultError({
|
|
1020
1011
|
output,
|
|
1021
1012
|
parsedBody,
|
|
1022
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
1023
1013
|
errorCode,
|
|
1024
1014
|
});
|
|
1025
1015
|
}
|
|
@@ -1028,13 +1018,14 @@ const de_CreateDatasetCommand = async (output, context) => {
|
|
|
1028
1018
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1029
1019
|
return de_CreateDatasetCommandError(output, context);
|
|
1030
1020
|
}
|
|
1031
|
-
const contents = map({
|
|
1021
|
+
const contents = (0, smithy_client_1.map)({
|
|
1032
1022
|
$metadata: deserializeMetadata(output),
|
|
1033
1023
|
});
|
|
1034
1024
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
}
|
|
1025
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1026
|
+
Name: smithy_client_1.expectString,
|
|
1027
|
+
});
|
|
1028
|
+
Object.assign(contents, doc);
|
|
1038
1029
|
return contents;
|
|
1039
1030
|
};
|
|
1040
1031
|
exports.de_CreateDatasetCommand = de_CreateDatasetCommand;
|
|
@@ -1059,10 +1050,9 @@ const de_CreateDatasetCommandError = async (output, context) => {
|
|
|
1059
1050
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1060
1051
|
default:
|
|
1061
1052
|
const parsedBody = parsedOutput.body;
|
|
1062
|
-
|
|
1053
|
+
return throwDefaultError({
|
|
1063
1054
|
output,
|
|
1064
1055
|
parsedBody,
|
|
1065
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
1066
1056
|
errorCode,
|
|
1067
1057
|
});
|
|
1068
1058
|
}
|
|
@@ -1071,13 +1061,14 @@ const de_CreateProfileJobCommand = async (output, context) => {
|
|
|
1071
1061
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1072
1062
|
return de_CreateProfileJobCommandError(output, context);
|
|
1073
1063
|
}
|
|
1074
|
-
const contents = map({
|
|
1064
|
+
const contents = (0, smithy_client_1.map)({
|
|
1075
1065
|
$metadata: deserializeMetadata(output),
|
|
1076
1066
|
});
|
|
1077
1067
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
}
|
|
1068
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1069
|
+
Name: smithy_client_1.expectString,
|
|
1070
|
+
});
|
|
1071
|
+
Object.assign(contents, doc);
|
|
1081
1072
|
return contents;
|
|
1082
1073
|
};
|
|
1083
1074
|
exports.de_CreateProfileJobCommand = de_CreateProfileJobCommand;
|
|
@@ -1105,10 +1096,9 @@ const de_CreateProfileJobCommandError = async (output, context) => {
|
|
|
1105
1096
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1106
1097
|
default:
|
|
1107
1098
|
const parsedBody = parsedOutput.body;
|
|
1108
|
-
|
|
1099
|
+
return throwDefaultError({
|
|
1109
1100
|
output,
|
|
1110
1101
|
parsedBody,
|
|
1111
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
1112
1102
|
errorCode,
|
|
1113
1103
|
});
|
|
1114
1104
|
}
|
|
@@ -1117,13 +1107,14 @@ const de_CreateProjectCommand = async (output, context) => {
|
|
|
1117
1107
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1118
1108
|
return de_CreateProjectCommandError(output, context);
|
|
1119
1109
|
}
|
|
1120
|
-
const contents = map({
|
|
1110
|
+
const contents = (0, smithy_client_1.map)({
|
|
1121
1111
|
$metadata: deserializeMetadata(output),
|
|
1122
1112
|
});
|
|
1123
1113
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
}
|
|
1114
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1115
|
+
Name: smithy_client_1.expectString,
|
|
1116
|
+
});
|
|
1117
|
+
Object.assign(contents, doc);
|
|
1127
1118
|
return contents;
|
|
1128
1119
|
};
|
|
1129
1120
|
exports.de_CreateProjectCommand = de_CreateProjectCommand;
|
|
@@ -1148,10 +1139,9 @@ const de_CreateProjectCommandError = async (output, context) => {
|
|
|
1148
1139
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1149
1140
|
default:
|
|
1150
1141
|
const parsedBody = parsedOutput.body;
|
|
1151
|
-
|
|
1142
|
+
return throwDefaultError({
|
|
1152
1143
|
output,
|
|
1153
1144
|
parsedBody,
|
|
1154
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
1155
1145
|
errorCode,
|
|
1156
1146
|
});
|
|
1157
1147
|
}
|
|
@@ -1160,13 +1150,14 @@ const de_CreateRecipeCommand = async (output, context) => {
|
|
|
1160
1150
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1161
1151
|
return de_CreateRecipeCommandError(output, context);
|
|
1162
1152
|
}
|
|
1163
|
-
const contents = map({
|
|
1153
|
+
const contents = (0, smithy_client_1.map)({
|
|
1164
1154
|
$metadata: deserializeMetadata(output),
|
|
1165
1155
|
});
|
|
1166
1156
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
}
|
|
1157
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1158
|
+
Name: smithy_client_1.expectString,
|
|
1159
|
+
});
|
|
1160
|
+
Object.assign(contents, doc);
|
|
1170
1161
|
return contents;
|
|
1171
1162
|
};
|
|
1172
1163
|
exports.de_CreateRecipeCommand = de_CreateRecipeCommand;
|
|
@@ -1188,10 +1179,9 @@ const de_CreateRecipeCommandError = async (output, context) => {
|
|
|
1188
1179
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1189
1180
|
default:
|
|
1190
1181
|
const parsedBody = parsedOutput.body;
|
|
1191
|
-
|
|
1182
|
+
return throwDefaultError({
|
|
1192
1183
|
output,
|
|
1193
1184
|
parsedBody,
|
|
1194
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
1195
1185
|
errorCode,
|
|
1196
1186
|
});
|
|
1197
1187
|
}
|
|
@@ -1200,13 +1190,14 @@ const de_CreateRecipeJobCommand = async (output, context) => {
|
|
|
1200
1190
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1201
1191
|
return de_CreateRecipeJobCommandError(output, context);
|
|
1202
1192
|
}
|
|
1203
|
-
const contents = map({
|
|
1193
|
+
const contents = (0, smithy_client_1.map)({
|
|
1204
1194
|
$metadata: deserializeMetadata(output),
|
|
1205
1195
|
});
|
|
1206
1196
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
}
|
|
1197
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1198
|
+
Name: smithy_client_1.expectString,
|
|
1199
|
+
});
|
|
1200
|
+
Object.assign(contents, doc);
|
|
1210
1201
|
return contents;
|
|
1211
1202
|
};
|
|
1212
1203
|
exports.de_CreateRecipeJobCommand = de_CreateRecipeJobCommand;
|
|
@@ -1234,10 +1225,9 @@ const de_CreateRecipeJobCommandError = async (output, context) => {
|
|
|
1234
1225
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1235
1226
|
default:
|
|
1236
1227
|
const parsedBody = parsedOutput.body;
|
|
1237
|
-
|
|
1228
|
+
return throwDefaultError({
|
|
1238
1229
|
output,
|
|
1239
1230
|
parsedBody,
|
|
1240
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
1241
1231
|
errorCode,
|
|
1242
1232
|
});
|
|
1243
1233
|
}
|
|
@@ -1246,13 +1236,14 @@ const de_CreateRulesetCommand = async (output, context) => {
|
|
|
1246
1236
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1247
1237
|
return de_CreateRulesetCommandError(output, context);
|
|
1248
1238
|
}
|
|
1249
|
-
const contents = map({
|
|
1239
|
+
const contents = (0, smithy_client_1.map)({
|
|
1250
1240
|
$metadata: deserializeMetadata(output),
|
|
1251
1241
|
});
|
|
1252
1242
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
}
|
|
1243
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1244
|
+
Name: smithy_client_1.expectString,
|
|
1245
|
+
});
|
|
1246
|
+
Object.assign(contents, doc);
|
|
1256
1247
|
return contents;
|
|
1257
1248
|
};
|
|
1258
1249
|
exports.de_CreateRulesetCommand = de_CreateRulesetCommand;
|
|
@@ -1274,10 +1265,9 @@ const de_CreateRulesetCommandError = async (output, context) => {
|
|
|
1274
1265
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1275
1266
|
default:
|
|
1276
1267
|
const parsedBody = parsedOutput.body;
|
|
1277
|
-
|
|
1268
|
+
return throwDefaultError({
|
|
1278
1269
|
output,
|
|
1279
1270
|
parsedBody,
|
|
1280
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
1281
1271
|
errorCode,
|
|
1282
1272
|
});
|
|
1283
1273
|
}
|
|
@@ -1286,13 +1276,14 @@ const de_CreateScheduleCommand = async (output, context) => {
|
|
|
1286
1276
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1287
1277
|
return de_CreateScheduleCommandError(output, context);
|
|
1288
1278
|
}
|
|
1289
|
-
const contents = map({
|
|
1279
|
+
const contents = (0, smithy_client_1.map)({
|
|
1290
1280
|
$metadata: deserializeMetadata(output),
|
|
1291
1281
|
});
|
|
1292
1282
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
}
|
|
1283
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1284
|
+
Name: smithy_client_1.expectString,
|
|
1285
|
+
});
|
|
1286
|
+
Object.assign(contents, doc);
|
|
1296
1287
|
return contents;
|
|
1297
1288
|
};
|
|
1298
1289
|
exports.de_CreateScheduleCommand = de_CreateScheduleCommand;
|
|
@@ -1314,10 +1305,9 @@ const de_CreateScheduleCommandError = async (output, context) => {
|
|
|
1314
1305
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1315
1306
|
default:
|
|
1316
1307
|
const parsedBody = parsedOutput.body;
|
|
1317
|
-
|
|
1308
|
+
return throwDefaultError({
|
|
1318
1309
|
output,
|
|
1319
1310
|
parsedBody,
|
|
1320
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
1321
1311
|
errorCode,
|
|
1322
1312
|
});
|
|
1323
1313
|
}
|
|
@@ -1326,13 +1316,14 @@ const de_DeleteDatasetCommand = async (output, context) => {
|
|
|
1326
1316
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1327
1317
|
return de_DeleteDatasetCommandError(output, context);
|
|
1328
1318
|
}
|
|
1329
|
-
const contents = map({
|
|
1319
|
+
const contents = (0, smithy_client_1.map)({
|
|
1330
1320
|
$metadata: deserializeMetadata(output),
|
|
1331
1321
|
});
|
|
1332
1322
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
}
|
|
1323
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1324
|
+
Name: smithy_client_1.expectString,
|
|
1325
|
+
});
|
|
1326
|
+
Object.assign(contents, doc);
|
|
1336
1327
|
return contents;
|
|
1337
1328
|
};
|
|
1338
1329
|
exports.de_DeleteDatasetCommand = de_DeleteDatasetCommand;
|
|
@@ -1354,10 +1345,9 @@ const de_DeleteDatasetCommandError = async (output, context) => {
|
|
|
1354
1345
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1355
1346
|
default:
|
|
1356
1347
|
const parsedBody = parsedOutput.body;
|
|
1357
|
-
|
|
1348
|
+
return throwDefaultError({
|
|
1358
1349
|
output,
|
|
1359
1350
|
parsedBody,
|
|
1360
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
1361
1351
|
errorCode,
|
|
1362
1352
|
});
|
|
1363
1353
|
}
|
|
@@ -1366,13 +1356,14 @@ const de_DeleteJobCommand = async (output, context) => {
|
|
|
1366
1356
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1367
1357
|
return de_DeleteJobCommandError(output, context);
|
|
1368
1358
|
}
|
|
1369
|
-
const contents = map({
|
|
1359
|
+
const contents = (0, smithy_client_1.map)({
|
|
1370
1360
|
$metadata: deserializeMetadata(output),
|
|
1371
1361
|
});
|
|
1372
1362
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
}
|
|
1363
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1364
|
+
Name: smithy_client_1.expectString,
|
|
1365
|
+
});
|
|
1366
|
+
Object.assign(contents, doc);
|
|
1376
1367
|
return contents;
|
|
1377
1368
|
};
|
|
1378
1369
|
exports.de_DeleteJobCommand = de_DeleteJobCommand;
|
|
@@ -1394,10 +1385,9 @@ const de_DeleteJobCommandError = async (output, context) => {
|
|
|
1394
1385
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1395
1386
|
default:
|
|
1396
1387
|
const parsedBody = parsedOutput.body;
|
|
1397
|
-
|
|
1388
|
+
return throwDefaultError({
|
|
1398
1389
|
output,
|
|
1399
1390
|
parsedBody,
|
|
1400
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
1401
1391
|
errorCode,
|
|
1402
1392
|
});
|
|
1403
1393
|
}
|
|
@@ -1406,13 +1396,14 @@ const de_DeleteProjectCommand = async (output, context) => {
|
|
|
1406
1396
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1407
1397
|
return de_DeleteProjectCommandError(output, context);
|
|
1408
1398
|
}
|
|
1409
|
-
const contents = map({
|
|
1399
|
+
const contents = (0, smithy_client_1.map)({
|
|
1410
1400
|
$metadata: deserializeMetadata(output),
|
|
1411
1401
|
});
|
|
1412
1402
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
}
|
|
1403
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1404
|
+
Name: smithy_client_1.expectString,
|
|
1405
|
+
});
|
|
1406
|
+
Object.assign(contents, doc);
|
|
1416
1407
|
return contents;
|
|
1417
1408
|
};
|
|
1418
1409
|
exports.de_DeleteProjectCommand = de_DeleteProjectCommand;
|
|
@@ -1434,10 +1425,9 @@ const de_DeleteProjectCommandError = async (output, context) => {
|
|
|
1434
1425
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1435
1426
|
default:
|
|
1436
1427
|
const parsedBody = parsedOutput.body;
|
|
1437
|
-
|
|
1428
|
+
return throwDefaultError({
|
|
1438
1429
|
output,
|
|
1439
1430
|
parsedBody,
|
|
1440
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
1441
1431
|
errorCode,
|
|
1442
1432
|
});
|
|
1443
1433
|
}
|
|
@@ -1446,16 +1436,15 @@ const de_DeleteRecipeVersionCommand = async (output, context) => {
|
|
|
1446
1436
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1447
1437
|
return de_DeleteRecipeVersionCommandError(output, context);
|
|
1448
1438
|
}
|
|
1449
|
-
const contents = map({
|
|
1439
|
+
const contents = (0, smithy_client_1.map)({
|
|
1450
1440
|
$metadata: deserializeMetadata(output),
|
|
1451
1441
|
});
|
|
1452
1442
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
}
|
|
1443
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1444
|
+
Name: smithy_client_1.expectString,
|
|
1445
|
+
RecipeVersion: smithy_client_1.expectString,
|
|
1446
|
+
});
|
|
1447
|
+
Object.assign(contents, doc);
|
|
1459
1448
|
return contents;
|
|
1460
1449
|
};
|
|
1461
1450
|
exports.de_DeleteRecipeVersionCommand = de_DeleteRecipeVersionCommand;
|
|
@@ -1477,10 +1466,9 @@ const de_DeleteRecipeVersionCommandError = async (output, context) => {
|
|
|
1477
1466
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1478
1467
|
default:
|
|
1479
1468
|
const parsedBody = parsedOutput.body;
|
|
1480
|
-
|
|
1469
|
+
return throwDefaultError({
|
|
1481
1470
|
output,
|
|
1482
1471
|
parsedBody,
|
|
1483
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
1484
1472
|
errorCode,
|
|
1485
1473
|
});
|
|
1486
1474
|
}
|
|
@@ -1489,13 +1477,14 @@ const de_DeleteRulesetCommand = async (output, context) => {
|
|
|
1489
1477
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1490
1478
|
return de_DeleteRulesetCommandError(output, context);
|
|
1491
1479
|
}
|
|
1492
|
-
const contents = map({
|
|
1480
|
+
const contents = (0, smithy_client_1.map)({
|
|
1493
1481
|
$metadata: deserializeMetadata(output),
|
|
1494
1482
|
});
|
|
1495
1483
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
}
|
|
1484
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1485
|
+
Name: smithy_client_1.expectString,
|
|
1486
|
+
});
|
|
1487
|
+
Object.assign(contents, doc);
|
|
1499
1488
|
return contents;
|
|
1500
1489
|
};
|
|
1501
1490
|
exports.de_DeleteRulesetCommand = de_DeleteRulesetCommand;
|
|
@@ -1517,10 +1506,9 @@ const de_DeleteRulesetCommandError = async (output, context) => {
|
|
|
1517
1506
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1518
1507
|
default:
|
|
1519
1508
|
const parsedBody = parsedOutput.body;
|
|
1520
|
-
|
|
1509
|
+
return throwDefaultError({
|
|
1521
1510
|
output,
|
|
1522
1511
|
parsedBody,
|
|
1523
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
1524
1512
|
errorCode,
|
|
1525
1513
|
});
|
|
1526
1514
|
}
|
|
@@ -1529,13 +1517,14 @@ const de_DeleteScheduleCommand = async (output, context) => {
|
|
|
1529
1517
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1530
1518
|
return de_DeleteScheduleCommandError(output, context);
|
|
1531
1519
|
}
|
|
1532
|
-
const contents = map({
|
|
1520
|
+
const contents = (0, smithy_client_1.map)({
|
|
1533
1521
|
$metadata: deserializeMetadata(output),
|
|
1534
1522
|
});
|
|
1535
1523
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
}
|
|
1524
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1525
|
+
Name: smithy_client_1.expectString,
|
|
1526
|
+
});
|
|
1527
|
+
Object.assign(contents, doc);
|
|
1539
1528
|
return contents;
|
|
1540
1529
|
};
|
|
1541
1530
|
exports.de_DeleteScheduleCommand = de_DeleteScheduleCommand;
|
|
@@ -1554,10 +1543,9 @@ const de_DeleteScheduleCommandError = async (output, context) => {
|
|
|
1554
1543
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1555
1544
|
default:
|
|
1556
1545
|
const parsedBody = parsedOutput.body;
|
|
1557
|
-
|
|
1546
|
+
return throwDefaultError({
|
|
1558
1547
|
output,
|
|
1559
1548
|
parsedBody,
|
|
1560
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
1561
1549
|
errorCode,
|
|
1562
1550
|
});
|
|
1563
1551
|
}
|
|
@@ -1566,46 +1554,25 @@ const de_DescribeDatasetCommand = async (output, context) => {
|
|
|
1566
1554
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1567
1555
|
return de_DescribeDatasetCommandError(output, context);
|
|
1568
1556
|
}
|
|
1569
|
-
const contents = map({
|
|
1557
|
+
const contents = (0, smithy_client_1.map)({
|
|
1570
1558
|
$metadata: deserializeMetadata(output),
|
|
1571
1559
|
});
|
|
1572
1560
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
if (data.LastModifiedBy != null) {
|
|
1589
|
-
contents.LastModifiedBy = (0, smithy_client_1.expectString)(data.LastModifiedBy);
|
|
1590
|
-
}
|
|
1591
|
-
if (data.LastModifiedDate != null) {
|
|
1592
|
-
contents.LastModifiedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedDate)));
|
|
1593
|
-
}
|
|
1594
|
-
if (data.Name != null) {
|
|
1595
|
-
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
1596
|
-
}
|
|
1597
|
-
if (data.PathOptions != null) {
|
|
1598
|
-
contents.PathOptions = de_PathOptions(data.PathOptions, context);
|
|
1599
|
-
}
|
|
1600
|
-
if (data.ResourceArn != null) {
|
|
1601
|
-
contents.ResourceArn = (0, smithy_client_1.expectString)(data.ResourceArn);
|
|
1602
|
-
}
|
|
1603
|
-
if (data.Source != null) {
|
|
1604
|
-
contents.Source = (0, smithy_client_1.expectString)(data.Source);
|
|
1605
|
-
}
|
|
1606
|
-
if (data.Tags != null) {
|
|
1607
|
-
contents.Tags = de_TagMap(data.Tags, context);
|
|
1608
|
-
}
|
|
1561
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1562
|
+
CreateDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1563
|
+
CreatedBy: smithy_client_1.expectString,
|
|
1564
|
+
Format: smithy_client_1.expectString,
|
|
1565
|
+
FormatOptions: smithy_client_1._json,
|
|
1566
|
+
Input: smithy_client_1._json,
|
|
1567
|
+
LastModifiedBy: smithy_client_1.expectString,
|
|
1568
|
+
LastModifiedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1569
|
+
Name: smithy_client_1.expectString,
|
|
1570
|
+
PathOptions: smithy_client_1._json,
|
|
1571
|
+
ResourceArn: smithy_client_1.expectString,
|
|
1572
|
+
Source: smithy_client_1.expectString,
|
|
1573
|
+
Tags: smithy_client_1._json,
|
|
1574
|
+
});
|
|
1575
|
+
Object.assign(contents, doc);
|
|
1609
1576
|
return contents;
|
|
1610
1577
|
};
|
|
1611
1578
|
exports.de_DescribeDatasetCommand = de_DescribeDatasetCommand;
|
|
@@ -1624,10 +1591,9 @@ const de_DescribeDatasetCommandError = async (output, context) => {
|
|
|
1624
1591
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1625
1592
|
default:
|
|
1626
1593
|
const parsedBody = parsedOutput.body;
|
|
1627
|
-
|
|
1594
|
+
return throwDefaultError({
|
|
1628
1595
|
output,
|
|
1629
1596
|
parsedBody,
|
|
1630
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
1631
1597
|
errorCode,
|
|
1632
1598
|
});
|
|
1633
1599
|
}
|
|
@@ -1636,82 +1602,37 @@ const de_DescribeJobCommand = async (output, context) => {
|
|
|
1636
1602
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1637
1603
|
return de_DescribeJobCommandError(output, context);
|
|
1638
1604
|
}
|
|
1639
|
-
const contents = map({
|
|
1605
|
+
const contents = (0, smithy_client_1.map)({
|
|
1640
1606
|
$metadata: deserializeMetadata(output),
|
|
1641
1607
|
});
|
|
1642
1608
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
if (data.LastModifiedDate != null) {
|
|
1671
|
-
contents.LastModifiedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedDate)));
|
|
1672
|
-
}
|
|
1673
|
-
if (data.LogSubscription != null) {
|
|
1674
|
-
contents.LogSubscription = (0, smithy_client_1.expectString)(data.LogSubscription);
|
|
1675
|
-
}
|
|
1676
|
-
if (data.MaxCapacity != null) {
|
|
1677
|
-
contents.MaxCapacity = (0, smithy_client_1.expectInt32)(data.MaxCapacity);
|
|
1678
|
-
}
|
|
1679
|
-
if (data.MaxRetries != null) {
|
|
1680
|
-
contents.MaxRetries = (0, smithy_client_1.expectInt32)(data.MaxRetries);
|
|
1681
|
-
}
|
|
1682
|
-
if (data.Name != null) {
|
|
1683
|
-
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
1684
|
-
}
|
|
1685
|
-
if (data.Outputs != null) {
|
|
1686
|
-
contents.Outputs = de_OutputList(data.Outputs, context);
|
|
1687
|
-
}
|
|
1688
|
-
if (data.ProfileConfiguration != null) {
|
|
1689
|
-
contents.ProfileConfiguration = de_ProfileConfiguration(data.ProfileConfiguration, context);
|
|
1690
|
-
}
|
|
1691
|
-
if (data.ProjectName != null) {
|
|
1692
|
-
contents.ProjectName = (0, smithy_client_1.expectString)(data.ProjectName);
|
|
1693
|
-
}
|
|
1694
|
-
if (data.RecipeReference != null) {
|
|
1695
|
-
contents.RecipeReference = de_RecipeReference(data.RecipeReference, context);
|
|
1696
|
-
}
|
|
1697
|
-
if (data.ResourceArn != null) {
|
|
1698
|
-
contents.ResourceArn = (0, smithy_client_1.expectString)(data.ResourceArn);
|
|
1699
|
-
}
|
|
1700
|
-
if (data.RoleArn != null) {
|
|
1701
|
-
contents.RoleArn = (0, smithy_client_1.expectString)(data.RoleArn);
|
|
1702
|
-
}
|
|
1703
|
-
if (data.Tags != null) {
|
|
1704
|
-
contents.Tags = de_TagMap(data.Tags, context);
|
|
1705
|
-
}
|
|
1706
|
-
if (data.Timeout != null) {
|
|
1707
|
-
contents.Timeout = (0, smithy_client_1.expectInt32)(data.Timeout);
|
|
1708
|
-
}
|
|
1709
|
-
if (data.Type != null) {
|
|
1710
|
-
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
1711
|
-
}
|
|
1712
|
-
if (data.ValidationConfigurations != null) {
|
|
1713
|
-
contents.ValidationConfigurations = de_ValidationConfigurationList(data.ValidationConfigurations, context);
|
|
1714
|
-
}
|
|
1609
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1610
|
+
CreateDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1611
|
+
CreatedBy: smithy_client_1.expectString,
|
|
1612
|
+
DataCatalogOutputs: smithy_client_1._json,
|
|
1613
|
+
DatabaseOutputs: smithy_client_1._json,
|
|
1614
|
+
DatasetName: smithy_client_1.expectString,
|
|
1615
|
+
EncryptionKeyArn: smithy_client_1.expectString,
|
|
1616
|
+
EncryptionMode: smithy_client_1.expectString,
|
|
1617
|
+
JobSample: smithy_client_1._json,
|
|
1618
|
+
LastModifiedBy: smithy_client_1.expectString,
|
|
1619
|
+
LastModifiedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1620
|
+
LogSubscription: smithy_client_1.expectString,
|
|
1621
|
+
MaxCapacity: smithy_client_1.expectInt32,
|
|
1622
|
+
MaxRetries: smithy_client_1.expectInt32,
|
|
1623
|
+
Name: smithy_client_1.expectString,
|
|
1624
|
+
Outputs: smithy_client_1._json,
|
|
1625
|
+
ProfileConfiguration: smithy_client_1._json,
|
|
1626
|
+
ProjectName: smithy_client_1.expectString,
|
|
1627
|
+
RecipeReference: smithy_client_1._json,
|
|
1628
|
+
ResourceArn: smithy_client_1.expectString,
|
|
1629
|
+
RoleArn: smithy_client_1.expectString,
|
|
1630
|
+
Tags: smithy_client_1._json,
|
|
1631
|
+
Timeout: smithy_client_1.expectInt32,
|
|
1632
|
+
Type: smithy_client_1.expectString,
|
|
1633
|
+
ValidationConfigurations: smithy_client_1._json,
|
|
1634
|
+
});
|
|
1635
|
+
Object.assign(contents, doc);
|
|
1715
1636
|
return contents;
|
|
1716
1637
|
};
|
|
1717
1638
|
exports.de_DescribeJobCommand = de_DescribeJobCommand;
|
|
@@ -1730,10 +1651,9 @@ const de_DescribeJobCommandError = async (output, context) => {
|
|
|
1730
1651
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1731
1652
|
default:
|
|
1732
1653
|
const parsedBody = parsedOutput.body;
|
|
1733
|
-
|
|
1654
|
+
return throwDefaultError({
|
|
1734
1655
|
output,
|
|
1735
1656
|
parsedBody,
|
|
1736
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
1737
1657
|
errorCode,
|
|
1738
1658
|
});
|
|
1739
1659
|
}
|
|
@@ -1742,67 +1662,32 @@ const de_DescribeJobRunCommand = async (output, context) => {
|
|
|
1742
1662
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1743
1663
|
return de_DescribeJobRunCommandError(output, context);
|
|
1744
1664
|
}
|
|
1745
|
-
const contents = map({
|
|
1665
|
+
const contents = (0, smithy_client_1.map)({
|
|
1746
1666
|
$metadata: deserializeMetadata(output),
|
|
1747
1667
|
});
|
|
1748
1668
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
}
|
|
1770
|
-
|
|
1771
|
-
contents.JobName = (0, smithy_client_1.expectString)(data.JobName);
|
|
1772
|
-
}
|
|
1773
|
-
if (data.JobSample != null) {
|
|
1774
|
-
contents.JobSample = de_JobSample(data.JobSample, context);
|
|
1775
|
-
}
|
|
1776
|
-
if (data.LogGroupName != null) {
|
|
1777
|
-
contents.LogGroupName = (0, smithy_client_1.expectString)(data.LogGroupName);
|
|
1778
|
-
}
|
|
1779
|
-
if (data.LogSubscription != null) {
|
|
1780
|
-
contents.LogSubscription = (0, smithy_client_1.expectString)(data.LogSubscription);
|
|
1781
|
-
}
|
|
1782
|
-
if (data.Outputs != null) {
|
|
1783
|
-
contents.Outputs = de_OutputList(data.Outputs, context);
|
|
1784
|
-
}
|
|
1785
|
-
if (data.ProfileConfiguration != null) {
|
|
1786
|
-
contents.ProfileConfiguration = de_ProfileConfiguration(data.ProfileConfiguration, context);
|
|
1787
|
-
}
|
|
1788
|
-
if (data.RecipeReference != null) {
|
|
1789
|
-
contents.RecipeReference = de_RecipeReference(data.RecipeReference, context);
|
|
1790
|
-
}
|
|
1791
|
-
if (data.RunId != null) {
|
|
1792
|
-
contents.RunId = (0, smithy_client_1.expectString)(data.RunId);
|
|
1793
|
-
}
|
|
1794
|
-
if (data.StartedBy != null) {
|
|
1795
|
-
contents.StartedBy = (0, smithy_client_1.expectString)(data.StartedBy);
|
|
1796
|
-
}
|
|
1797
|
-
if (data.StartedOn != null) {
|
|
1798
|
-
contents.StartedOn = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.StartedOn)));
|
|
1799
|
-
}
|
|
1800
|
-
if (data.State != null) {
|
|
1801
|
-
contents.State = (0, smithy_client_1.expectString)(data.State);
|
|
1802
|
-
}
|
|
1803
|
-
if (data.ValidationConfigurations != null) {
|
|
1804
|
-
contents.ValidationConfigurations = de_ValidationConfigurationList(data.ValidationConfigurations, context);
|
|
1805
|
-
}
|
|
1669
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1670
|
+
Attempt: smithy_client_1.expectInt32,
|
|
1671
|
+
CompletedOn: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1672
|
+
DataCatalogOutputs: smithy_client_1._json,
|
|
1673
|
+
DatabaseOutputs: smithy_client_1._json,
|
|
1674
|
+
DatasetName: smithy_client_1.expectString,
|
|
1675
|
+
ErrorMessage: smithy_client_1.expectString,
|
|
1676
|
+
ExecutionTime: smithy_client_1.expectInt32,
|
|
1677
|
+
JobName: smithy_client_1.expectString,
|
|
1678
|
+
JobSample: smithy_client_1._json,
|
|
1679
|
+
LogGroupName: smithy_client_1.expectString,
|
|
1680
|
+
LogSubscription: smithy_client_1.expectString,
|
|
1681
|
+
Outputs: smithy_client_1._json,
|
|
1682
|
+
ProfileConfiguration: smithy_client_1._json,
|
|
1683
|
+
RecipeReference: smithy_client_1._json,
|
|
1684
|
+
RunId: smithy_client_1.expectString,
|
|
1685
|
+
StartedBy: smithy_client_1.expectString,
|
|
1686
|
+
StartedOn: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1687
|
+
State: smithy_client_1.expectString,
|
|
1688
|
+
ValidationConfigurations: smithy_client_1._json,
|
|
1689
|
+
});
|
|
1690
|
+
Object.assign(contents, doc);
|
|
1806
1691
|
return contents;
|
|
1807
1692
|
};
|
|
1808
1693
|
exports.de_DescribeJobRunCommand = de_DescribeJobRunCommand;
|
|
@@ -1821,10 +1706,9 @@ const de_DescribeJobRunCommandError = async (output, context) => {
|
|
|
1821
1706
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1822
1707
|
default:
|
|
1823
1708
|
const parsedBody = parsedOutput.body;
|
|
1824
|
-
|
|
1709
|
+
return throwDefaultError({
|
|
1825
1710
|
output,
|
|
1826
1711
|
parsedBody,
|
|
1827
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
1828
1712
|
errorCode,
|
|
1829
1713
|
});
|
|
1830
1714
|
}
|
|
@@ -1833,52 +1717,27 @@ const de_DescribeProjectCommand = async (output, context) => {
|
|
|
1833
1717
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1834
1718
|
return de_DescribeProjectCommandError(output, context);
|
|
1835
1719
|
}
|
|
1836
|
-
const contents = map({
|
|
1720
|
+
const contents = (0, smithy_client_1.map)({
|
|
1837
1721
|
$metadata: deserializeMetadata(output),
|
|
1838
1722
|
});
|
|
1839
1723
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
}
|
|
1858
|
-
if (data.OpenDate != null) {
|
|
1859
|
-
contents.OpenDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.OpenDate)));
|
|
1860
|
-
}
|
|
1861
|
-
if (data.OpenedBy != null) {
|
|
1862
|
-
contents.OpenedBy = (0, smithy_client_1.expectString)(data.OpenedBy);
|
|
1863
|
-
}
|
|
1864
|
-
if (data.RecipeName != null) {
|
|
1865
|
-
contents.RecipeName = (0, smithy_client_1.expectString)(data.RecipeName);
|
|
1866
|
-
}
|
|
1867
|
-
if (data.ResourceArn != null) {
|
|
1868
|
-
contents.ResourceArn = (0, smithy_client_1.expectString)(data.ResourceArn);
|
|
1869
|
-
}
|
|
1870
|
-
if (data.RoleArn != null) {
|
|
1871
|
-
contents.RoleArn = (0, smithy_client_1.expectString)(data.RoleArn);
|
|
1872
|
-
}
|
|
1873
|
-
if (data.Sample != null) {
|
|
1874
|
-
contents.Sample = de_Sample(data.Sample, context);
|
|
1875
|
-
}
|
|
1876
|
-
if (data.SessionStatus != null) {
|
|
1877
|
-
contents.SessionStatus = (0, smithy_client_1.expectString)(data.SessionStatus);
|
|
1878
|
-
}
|
|
1879
|
-
if (data.Tags != null) {
|
|
1880
|
-
contents.Tags = de_TagMap(data.Tags, context);
|
|
1881
|
-
}
|
|
1724
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1725
|
+
CreateDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1726
|
+
CreatedBy: smithy_client_1.expectString,
|
|
1727
|
+
DatasetName: smithy_client_1.expectString,
|
|
1728
|
+
LastModifiedBy: smithy_client_1.expectString,
|
|
1729
|
+
LastModifiedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1730
|
+
Name: smithy_client_1.expectString,
|
|
1731
|
+
OpenDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1732
|
+
OpenedBy: smithy_client_1.expectString,
|
|
1733
|
+
RecipeName: smithy_client_1.expectString,
|
|
1734
|
+
ResourceArn: smithy_client_1.expectString,
|
|
1735
|
+
RoleArn: smithy_client_1.expectString,
|
|
1736
|
+
Sample: smithy_client_1._json,
|
|
1737
|
+
SessionStatus: smithy_client_1.expectString,
|
|
1738
|
+
Tags: smithy_client_1._json,
|
|
1739
|
+
});
|
|
1740
|
+
Object.assign(contents, doc);
|
|
1882
1741
|
return contents;
|
|
1883
1742
|
};
|
|
1884
1743
|
exports.de_DescribeProjectCommand = de_DescribeProjectCommand;
|
|
@@ -1897,10 +1756,9 @@ const de_DescribeProjectCommandError = async (output, context) => {
|
|
|
1897
1756
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1898
1757
|
default:
|
|
1899
1758
|
const parsedBody = parsedOutput.body;
|
|
1900
|
-
|
|
1759
|
+
return throwDefaultError({
|
|
1901
1760
|
output,
|
|
1902
1761
|
parsedBody,
|
|
1903
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
1904
1762
|
errorCode,
|
|
1905
1763
|
});
|
|
1906
1764
|
}
|
|
@@ -1909,49 +1767,26 @@ const de_DescribeRecipeCommand = async (output, context) => {
|
|
|
1909
1767
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1910
1768
|
return de_DescribeRecipeCommandError(output, context);
|
|
1911
1769
|
}
|
|
1912
|
-
const contents = map({
|
|
1770
|
+
const contents = (0, smithy_client_1.map)({
|
|
1913
1771
|
$metadata: deserializeMetadata(output),
|
|
1914
1772
|
});
|
|
1915
1773
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
}
|
|
1931
|
-
|
|
1932
|
-
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
1933
|
-
}
|
|
1934
|
-
if (data.ProjectName != null) {
|
|
1935
|
-
contents.ProjectName = (0, smithy_client_1.expectString)(data.ProjectName);
|
|
1936
|
-
}
|
|
1937
|
-
if (data.PublishedBy != null) {
|
|
1938
|
-
contents.PublishedBy = (0, smithy_client_1.expectString)(data.PublishedBy);
|
|
1939
|
-
}
|
|
1940
|
-
if (data.PublishedDate != null) {
|
|
1941
|
-
contents.PublishedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.PublishedDate)));
|
|
1942
|
-
}
|
|
1943
|
-
if (data.RecipeVersion != null) {
|
|
1944
|
-
contents.RecipeVersion = (0, smithy_client_1.expectString)(data.RecipeVersion);
|
|
1945
|
-
}
|
|
1946
|
-
if (data.ResourceArn != null) {
|
|
1947
|
-
contents.ResourceArn = (0, smithy_client_1.expectString)(data.ResourceArn);
|
|
1948
|
-
}
|
|
1949
|
-
if (data.Steps != null) {
|
|
1950
|
-
contents.Steps = de_RecipeStepList(data.Steps, context);
|
|
1951
|
-
}
|
|
1952
|
-
if (data.Tags != null) {
|
|
1953
|
-
contents.Tags = de_TagMap(data.Tags, context);
|
|
1954
|
-
}
|
|
1774
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1775
|
+
CreateDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1776
|
+
CreatedBy: smithy_client_1.expectString,
|
|
1777
|
+
Description: smithy_client_1.expectString,
|
|
1778
|
+
LastModifiedBy: smithy_client_1.expectString,
|
|
1779
|
+
LastModifiedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1780
|
+
Name: smithy_client_1.expectString,
|
|
1781
|
+
ProjectName: smithy_client_1.expectString,
|
|
1782
|
+
PublishedBy: smithy_client_1.expectString,
|
|
1783
|
+
PublishedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1784
|
+
RecipeVersion: smithy_client_1.expectString,
|
|
1785
|
+
ResourceArn: smithy_client_1.expectString,
|
|
1786
|
+
Steps: smithy_client_1._json,
|
|
1787
|
+
Tags: smithy_client_1._json,
|
|
1788
|
+
});
|
|
1789
|
+
Object.assign(contents, doc);
|
|
1955
1790
|
return contents;
|
|
1956
1791
|
};
|
|
1957
1792
|
exports.de_DescribeRecipeCommand = de_DescribeRecipeCommand;
|
|
@@ -1970,10 +1805,9 @@ const de_DescribeRecipeCommandError = async (output, context) => {
|
|
|
1970
1805
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1971
1806
|
default:
|
|
1972
1807
|
const parsedBody = parsedOutput.body;
|
|
1973
|
-
|
|
1808
|
+
return throwDefaultError({
|
|
1974
1809
|
output,
|
|
1975
1810
|
parsedBody,
|
|
1976
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
1977
1811
|
errorCode,
|
|
1978
1812
|
});
|
|
1979
1813
|
}
|
|
@@ -1982,40 +1816,23 @@ const de_DescribeRulesetCommand = async (output, context) => {
|
|
|
1982
1816
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1983
1817
|
return de_DescribeRulesetCommandError(output, context);
|
|
1984
1818
|
}
|
|
1985
|
-
const contents = map({
|
|
1819
|
+
const contents = (0, smithy_client_1.map)({
|
|
1986
1820
|
$metadata: deserializeMetadata(output),
|
|
1987
1821
|
});
|
|
1988
1822
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
}
|
|
2001
|
-
|
|
2002
|
-
contents.LastModifiedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedDate)));
|
|
2003
|
-
}
|
|
2004
|
-
if (data.Name != null) {
|
|
2005
|
-
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
2006
|
-
}
|
|
2007
|
-
if (data.ResourceArn != null) {
|
|
2008
|
-
contents.ResourceArn = (0, smithy_client_1.expectString)(data.ResourceArn);
|
|
2009
|
-
}
|
|
2010
|
-
if (data.Rules != null) {
|
|
2011
|
-
contents.Rules = de_RuleList(data.Rules, context);
|
|
2012
|
-
}
|
|
2013
|
-
if (data.Tags != null) {
|
|
2014
|
-
contents.Tags = de_TagMap(data.Tags, context);
|
|
2015
|
-
}
|
|
2016
|
-
if (data.TargetArn != null) {
|
|
2017
|
-
contents.TargetArn = (0, smithy_client_1.expectString)(data.TargetArn);
|
|
2018
|
-
}
|
|
1823
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1824
|
+
CreateDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1825
|
+
CreatedBy: smithy_client_1.expectString,
|
|
1826
|
+
Description: smithy_client_1.expectString,
|
|
1827
|
+
LastModifiedBy: smithy_client_1.expectString,
|
|
1828
|
+
LastModifiedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1829
|
+
Name: smithy_client_1.expectString,
|
|
1830
|
+
ResourceArn: smithy_client_1.expectString,
|
|
1831
|
+
Rules: (_) => de_RuleList(_, context),
|
|
1832
|
+
Tags: smithy_client_1._json,
|
|
1833
|
+
TargetArn: smithy_client_1.expectString,
|
|
1834
|
+
});
|
|
1835
|
+
Object.assign(contents, doc);
|
|
2019
1836
|
return contents;
|
|
2020
1837
|
};
|
|
2021
1838
|
exports.de_DescribeRulesetCommand = de_DescribeRulesetCommand;
|
|
@@ -2034,10 +1851,9 @@ const de_DescribeRulesetCommandError = async (output, context) => {
|
|
|
2034
1851
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2035
1852
|
default:
|
|
2036
1853
|
const parsedBody = parsedOutput.body;
|
|
2037
|
-
|
|
1854
|
+
return throwDefaultError({
|
|
2038
1855
|
output,
|
|
2039
1856
|
parsedBody,
|
|
2040
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
2041
1857
|
errorCode,
|
|
2042
1858
|
});
|
|
2043
1859
|
}
|
|
@@ -2046,37 +1862,22 @@ const de_DescribeScheduleCommand = async (output, context) => {
|
|
|
2046
1862
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2047
1863
|
return de_DescribeScheduleCommandError(output, context);
|
|
2048
1864
|
}
|
|
2049
|
-
const contents = map({
|
|
1865
|
+
const contents = (0, smithy_client_1.map)({
|
|
2050
1866
|
$metadata: deserializeMetadata(output),
|
|
2051
1867
|
});
|
|
2052
1868
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
if (data.LastModifiedBy != null) {
|
|
2066
|
-
contents.LastModifiedBy = (0, smithy_client_1.expectString)(data.LastModifiedBy);
|
|
2067
|
-
}
|
|
2068
|
-
if (data.LastModifiedDate != null) {
|
|
2069
|
-
contents.LastModifiedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.LastModifiedDate)));
|
|
2070
|
-
}
|
|
2071
|
-
if (data.Name != null) {
|
|
2072
|
-
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
2073
|
-
}
|
|
2074
|
-
if (data.ResourceArn != null) {
|
|
2075
|
-
contents.ResourceArn = (0, smithy_client_1.expectString)(data.ResourceArn);
|
|
2076
|
-
}
|
|
2077
|
-
if (data.Tags != null) {
|
|
2078
|
-
contents.Tags = de_TagMap(data.Tags, context);
|
|
2079
|
-
}
|
|
1869
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1870
|
+
CreateDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1871
|
+
CreatedBy: smithy_client_1.expectString,
|
|
1872
|
+
CronExpression: smithy_client_1.expectString,
|
|
1873
|
+
JobNames: smithy_client_1._json,
|
|
1874
|
+
LastModifiedBy: smithy_client_1.expectString,
|
|
1875
|
+
LastModifiedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1876
|
+
Name: smithy_client_1.expectString,
|
|
1877
|
+
ResourceArn: smithy_client_1.expectString,
|
|
1878
|
+
Tags: smithy_client_1._json,
|
|
1879
|
+
});
|
|
1880
|
+
Object.assign(contents, doc);
|
|
2080
1881
|
return contents;
|
|
2081
1882
|
};
|
|
2082
1883
|
exports.de_DescribeScheduleCommand = de_DescribeScheduleCommand;
|
|
@@ -2095,10 +1896,9 @@ const de_DescribeScheduleCommandError = async (output, context) => {
|
|
|
2095
1896
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2096
1897
|
default:
|
|
2097
1898
|
const parsedBody = parsedOutput.body;
|
|
2098
|
-
|
|
1899
|
+
return throwDefaultError({
|
|
2099
1900
|
output,
|
|
2100
1901
|
parsedBody,
|
|
2101
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
2102
1902
|
errorCode,
|
|
2103
1903
|
});
|
|
2104
1904
|
}
|
|
@@ -2107,16 +1907,15 @@ const de_ListDatasetsCommand = async (output, context) => {
|
|
|
2107
1907
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2108
1908
|
return de_ListDatasetsCommandError(output, context);
|
|
2109
1909
|
}
|
|
2110
|
-
const contents = map({
|
|
1910
|
+
const contents = (0, smithy_client_1.map)({
|
|
2111
1911
|
$metadata: deserializeMetadata(output),
|
|
2112
1912
|
});
|
|
2113
1913
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
}
|
|
1914
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1915
|
+
Datasets: (_) => de_DatasetList(_, context),
|
|
1916
|
+
NextToken: smithy_client_1.expectString,
|
|
1917
|
+
});
|
|
1918
|
+
Object.assign(contents, doc);
|
|
2120
1919
|
return contents;
|
|
2121
1920
|
};
|
|
2122
1921
|
exports.de_ListDatasetsCommand = de_ListDatasetsCommand;
|
|
@@ -2132,10 +1931,9 @@ const de_ListDatasetsCommandError = async (output, context) => {
|
|
|
2132
1931
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2133
1932
|
default:
|
|
2134
1933
|
const parsedBody = parsedOutput.body;
|
|
2135
|
-
|
|
1934
|
+
return throwDefaultError({
|
|
2136
1935
|
output,
|
|
2137
1936
|
parsedBody,
|
|
2138
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
2139
1937
|
errorCode,
|
|
2140
1938
|
});
|
|
2141
1939
|
}
|
|
@@ -2144,16 +1942,15 @@ const de_ListJobRunsCommand = async (output, context) => {
|
|
|
2144
1942
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2145
1943
|
return de_ListJobRunsCommandError(output, context);
|
|
2146
1944
|
}
|
|
2147
|
-
const contents = map({
|
|
1945
|
+
const contents = (0, smithy_client_1.map)({
|
|
2148
1946
|
$metadata: deserializeMetadata(output),
|
|
2149
1947
|
});
|
|
2150
1948
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
}
|
|
1949
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1950
|
+
JobRuns: (_) => de_JobRunList(_, context),
|
|
1951
|
+
NextToken: smithy_client_1.expectString,
|
|
1952
|
+
});
|
|
1953
|
+
Object.assign(contents, doc);
|
|
2157
1954
|
return contents;
|
|
2158
1955
|
};
|
|
2159
1956
|
exports.de_ListJobRunsCommand = de_ListJobRunsCommand;
|
|
@@ -2172,10 +1969,9 @@ const de_ListJobRunsCommandError = async (output, context) => {
|
|
|
2172
1969
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2173
1970
|
default:
|
|
2174
1971
|
const parsedBody = parsedOutput.body;
|
|
2175
|
-
|
|
1972
|
+
return throwDefaultError({
|
|
2176
1973
|
output,
|
|
2177
1974
|
parsedBody,
|
|
2178
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
2179
1975
|
errorCode,
|
|
2180
1976
|
});
|
|
2181
1977
|
}
|
|
@@ -2184,16 +1980,15 @@ const de_ListJobsCommand = async (output, context) => {
|
|
|
2184
1980
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2185
1981
|
return de_ListJobsCommandError(output, context);
|
|
2186
1982
|
}
|
|
2187
|
-
const contents = map({
|
|
1983
|
+
const contents = (0, smithy_client_1.map)({
|
|
2188
1984
|
$metadata: deserializeMetadata(output),
|
|
2189
1985
|
});
|
|
2190
1986
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
}
|
|
1987
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
1988
|
+
Jobs: (_) => de_JobList(_, context),
|
|
1989
|
+
NextToken: smithy_client_1.expectString,
|
|
1990
|
+
});
|
|
1991
|
+
Object.assign(contents, doc);
|
|
2197
1992
|
return contents;
|
|
2198
1993
|
};
|
|
2199
1994
|
exports.de_ListJobsCommand = de_ListJobsCommand;
|
|
@@ -2209,10 +2004,9 @@ const de_ListJobsCommandError = async (output, context) => {
|
|
|
2209
2004
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2210
2005
|
default:
|
|
2211
2006
|
const parsedBody = parsedOutput.body;
|
|
2212
|
-
|
|
2007
|
+
return throwDefaultError({
|
|
2213
2008
|
output,
|
|
2214
2009
|
parsedBody,
|
|
2215
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
2216
2010
|
errorCode,
|
|
2217
2011
|
});
|
|
2218
2012
|
}
|
|
@@ -2221,16 +2015,15 @@ const de_ListProjectsCommand = async (output, context) => {
|
|
|
2221
2015
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2222
2016
|
return de_ListProjectsCommandError(output, context);
|
|
2223
2017
|
}
|
|
2224
|
-
const contents = map({
|
|
2018
|
+
const contents = (0, smithy_client_1.map)({
|
|
2225
2019
|
$metadata: deserializeMetadata(output),
|
|
2226
2020
|
});
|
|
2227
2021
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
}
|
|
2022
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2023
|
+
NextToken: smithy_client_1.expectString,
|
|
2024
|
+
Projects: (_) => de_ProjectList(_, context),
|
|
2025
|
+
});
|
|
2026
|
+
Object.assign(contents, doc);
|
|
2234
2027
|
return contents;
|
|
2235
2028
|
};
|
|
2236
2029
|
exports.de_ListProjectsCommand = de_ListProjectsCommand;
|
|
@@ -2246,10 +2039,9 @@ const de_ListProjectsCommandError = async (output, context) => {
|
|
|
2246
2039
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2247
2040
|
default:
|
|
2248
2041
|
const parsedBody = parsedOutput.body;
|
|
2249
|
-
|
|
2042
|
+
return throwDefaultError({
|
|
2250
2043
|
output,
|
|
2251
2044
|
parsedBody,
|
|
2252
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
2253
2045
|
errorCode,
|
|
2254
2046
|
});
|
|
2255
2047
|
}
|
|
@@ -2258,16 +2050,15 @@ const de_ListRecipesCommand = async (output, context) => {
|
|
|
2258
2050
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2259
2051
|
return de_ListRecipesCommandError(output, context);
|
|
2260
2052
|
}
|
|
2261
|
-
const contents = map({
|
|
2053
|
+
const contents = (0, smithy_client_1.map)({
|
|
2262
2054
|
$metadata: deserializeMetadata(output),
|
|
2263
2055
|
});
|
|
2264
2056
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
}
|
|
2057
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2058
|
+
NextToken: smithy_client_1.expectString,
|
|
2059
|
+
Recipes: (_) => de_RecipeList(_, context),
|
|
2060
|
+
});
|
|
2061
|
+
Object.assign(contents, doc);
|
|
2271
2062
|
return contents;
|
|
2272
2063
|
};
|
|
2273
2064
|
exports.de_ListRecipesCommand = de_ListRecipesCommand;
|
|
@@ -2283,10 +2074,9 @@ const de_ListRecipesCommandError = async (output, context) => {
|
|
|
2283
2074
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2284
2075
|
default:
|
|
2285
2076
|
const parsedBody = parsedOutput.body;
|
|
2286
|
-
|
|
2077
|
+
return throwDefaultError({
|
|
2287
2078
|
output,
|
|
2288
2079
|
parsedBody,
|
|
2289
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
2290
2080
|
errorCode,
|
|
2291
2081
|
});
|
|
2292
2082
|
}
|
|
@@ -2295,16 +2085,15 @@ const de_ListRecipeVersionsCommand = async (output, context) => {
|
|
|
2295
2085
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2296
2086
|
return de_ListRecipeVersionsCommandError(output, context);
|
|
2297
2087
|
}
|
|
2298
|
-
const contents = map({
|
|
2088
|
+
const contents = (0, smithy_client_1.map)({
|
|
2299
2089
|
$metadata: deserializeMetadata(output),
|
|
2300
2090
|
});
|
|
2301
2091
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
}
|
|
2092
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2093
|
+
NextToken: smithy_client_1.expectString,
|
|
2094
|
+
Recipes: (_) => de_RecipeList(_, context),
|
|
2095
|
+
});
|
|
2096
|
+
Object.assign(contents, doc);
|
|
2308
2097
|
return contents;
|
|
2309
2098
|
};
|
|
2310
2099
|
exports.de_ListRecipeVersionsCommand = de_ListRecipeVersionsCommand;
|
|
@@ -2320,10 +2109,9 @@ const de_ListRecipeVersionsCommandError = async (output, context) => {
|
|
|
2320
2109
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2321
2110
|
default:
|
|
2322
2111
|
const parsedBody = parsedOutput.body;
|
|
2323
|
-
|
|
2112
|
+
return throwDefaultError({
|
|
2324
2113
|
output,
|
|
2325
2114
|
parsedBody,
|
|
2326
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
2327
2115
|
errorCode,
|
|
2328
2116
|
});
|
|
2329
2117
|
}
|
|
@@ -2332,16 +2120,15 @@ const de_ListRulesetsCommand = async (output, context) => {
|
|
|
2332
2120
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2333
2121
|
return de_ListRulesetsCommandError(output, context);
|
|
2334
2122
|
}
|
|
2335
|
-
const contents = map({
|
|
2123
|
+
const contents = (0, smithy_client_1.map)({
|
|
2336
2124
|
$metadata: deserializeMetadata(output),
|
|
2337
2125
|
});
|
|
2338
2126
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
}
|
|
2127
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2128
|
+
NextToken: smithy_client_1.expectString,
|
|
2129
|
+
Rulesets: (_) => de_RulesetItemList(_, context),
|
|
2130
|
+
});
|
|
2131
|
+
Object.assign(contents, doc);
|
|
2345
2132
|
return contents;
|
|
2346
2133
|
};
|
|
2347
2134
|
exports.de_ListRulesetsCommand = de_ListRulesetsCommand;
|
|
@@ -2360,10 +2147,9 @@ const de_ListRulesetsCommandError = async (output, context) => {
|
|
|
2360
2147
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2361
2148
|
default:
|
|
2362
2149
|
const parsedBody = parsedOutput.body;
|
|
2363
|
-
|
|
2150
|
+
return throwDefaultError({
|
|
2364
2151
|
output,
|
|
2365
2152
|
parsedBody,
|
|
2366
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
2367
2153
|
errorCode,
|
|
2368
2154
|
});
|
|
2369
2155
|
}
|
|
@@ -2372,16 +2158,15 @@ const de_ListSchedulesCommand = async (output, context) => {
|
|
|
2372
2158
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2373
2159
|
return de_ListSchedulesCommandError(output, context);
|
|
2374
2160
|
}
|
|
2375
|
-
const contents = map({
|
|
2161
|
+
const contents = (0, smithy_client_1.map)({
|
|
2376
2162
|
$metadata: deserializeMetadata(output),
|
|
2377
2163
|
});
|
|
2378
2164
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
}
|
|
2165
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2166
|
+
NextToken: smithy_client_1.expectString,
|
|
2167
|
+
Schedules: (_) => de_ScheduleList(_, context),
|
|
2168
|
+
});
|
|
2169
|
+
Object.assign(contents, doc);
|
|
2385
2170
|
return contents;
|
|
2386
2171
|
};
|
|
2387
2172
|
exports.de_ListSchedulesCommand = de_ListSchedulesCommand;
|
|
@@ -2397,10 +2182,9 @@ const de_ListSchedulesCommandError = async (output, context) => {
|
|
|
2397
2182
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2398
2183
|
default:
|
|
2399
2184
|
const parsedBody = parsedOutput.body;
|
|
2400
|
-
|
|
2185
|
+
return throwDefaultError({
|
|
2401
2186
|
output,
|
|
2402
2187
|
parsedBody,
|
|
2403
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
2404
2188
|
errorCode,
|
|
2405
2189
|
});
|
|
2406
2190
|
}
|
|
@@ -2409,13 +2193,14 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
2409
2193
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2410
2194
|
return de_ListTagsForResourceCommandError(output, context);
|
|
2411
2195
|
}
|
|
2412
|
-
const contents = map({
|
|
2196
|
+
const contents = (0, smithy_client_1.map)({
|
|
2413
2197
|
$metadata: deserializeMetadata(output),
|
|
2414
2198
|
});
|
|
2415
2199
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
}
|
|
2200
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2201
|
+
Tags: smithy_client_1._json,
|
|
2202
|
+
});
|
|
2203
|
+
Object.assign(contents, doc);
|
|
2419
2204
|
return contents;
|
|
2420
2205
|
};
|
|
2421
2206
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
@@ -2437,10 +2222,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
2437
2222
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2438
2223
|
default:
|
|
2439
2224
|
const parsedBody = parsedOutput.body;
|
|
2440
|
-
|
|
2225
|
+
return throwDefaultError({
|
|
2441
2226
|
output,
|
|
2442
2227
|
parsedBody,
|
|
2443
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
2444
2228
|
errorCode,
|
|
2445
2229
|
});
|
|
2446
2230
|
}
|
|
@@ -2449,13 +2233,14 @@ const de_PublishRecipeCommand = async (output, context) => {
|
|
|
2449
2233
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2450
2234
|
return de_PublishRecipeCommandError(output, context);
|
|
2451
2235
|
}
|
|
2452
|
-
const contents = map({
|
|
2236
|
+
const contents = (0, smithy_client_1.map)({
|
|
2453
2237
|
$metadata: deserializeMetadata(output),
|
|
2454
2238
|
});
|
|
2455
2239
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
}
|
|
2240
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2241
|
+
Name: smithy_client_1.expectString,
|
|
2242
|
+
});
|
|
2243
|
+
Object.assign(contents, doc);
|
|
2459
2244
|
return contents;
|
|
2460
2245
|
};
|
|
2461
2246
|
exports.de_PublishRecipeCommand = de_PublishRecipeCommand;
|
|
@@ -2477,10 +2262,9 @@ const de_PublishRecipeCommandError = async (output, context) => {
|
|
|
2477
2262
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2478
2263
|
default:
|
|
2479
2264
|
const parsedBody = parsedOutput.body;
|
|
2480
|
-
|
|
2265
|
+
return throwDefaultError({
|
|
2481
2266
|
output,
|
|
2482
2267
|
parsedBody,
|
|
2483
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
2484
2268
|
errorCode,
|
|
2485
2269
|
});
|
|
2486
2270
|
}
|
|
@@ -2489,19 +2273,16 @@ const de_SendProjectSessionActionCommand = async (output, context) => {
|
|
|
2489
2273
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2490
2274
|
return de_SendProjectSessionActionCommandError(output, context);
|
|
2491
2275
|
}
|
|
2492
|
-
const contents = map({
|
|
2276
|
+
const contents = (0, smithy_client_1.map)({
|
|
2493
2277
|
$metadata: deserializeMetadata(output),
|
|
2494
2278
|
});
|
|
2495
2279
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
if (data.Result != null) {
|
|
2503
|
-
contents.Result = (0, smithy_client_1.expectString)(data.Result);
|
|
2504
|
-
}
|
|
2280
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2281
|
+
ActionId: smithy_client_1.expectInt32,
|
|
2282
|
+
Name: smithy_client_1.expectString,
|
|
2283
|
+
Result: smithy_client_1.expectString,
|
|
2284
|
+
});
|
|
2285
|
+
Object.assign(contents, doc);
|
|
2505
2286
|
return contents;
|
|
2506
2287
|
};
|
|
2507
2288
|
exports.de_SendProjectSessionActionCommand = de_SendProjectSessionActionCommand;
|
|
@@ -2523,10 +2304,9 @@ const de_SendProjectSessionActionCommandError = async (output, context) => {
|
|
|
2523
2304
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2524
2305
|
default:
|
|
2525
2306
|
const parsedBody = parsedOutput.body;
|
|
2526
|
-
|
|
2307
|
+
return throwDefaultError({
|
|
2527
2308
|
output,
|
|
2528
2309
|
parsedBody,
|
|
2529
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
2530
2310
|
errorCode,
|
|
2531
2311
|
});
|
|
2532
2312
|
}
|
|
@@ -2535,13 +2315,14 @@ const de_StartJobRunCommand = async (output, context) => {
|
|
|
2535
2315
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2536
2316
|
return de_StartJobRunCommandError(output, context);
|
|
2537
2317
|
}
|
|
2538
|
-
const contents = map({
|
|
2318
|
+
const contents = (0, smithy_client_1.map)({
|
|
2539
2319
|
$metadata: deserializeMetadata(output),
|
|
2540
2320
|
});
|
|
2541
2321
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
}
|
|
2322
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2323
|
+
RunId: smithy_client_1.expectString,
|
|
2324
|
+
});
|
|
2325
|
+
Object.assign(contents, doc);
|
|
2545
2326
|
return contents;
|
|
2546
2327
|
};
|
|
2547
2328
|
exports.de_StartJobRunCommand = de_StartJobRunCommand;
|
|
@@ -2566,10 +2347,9 @@ const de_StartJobRunCommandError = async (output, context) => {
|
|
|
2566
2347
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2567
2348
|
default:
|
|
2568
2349
|
const parsedBody = parsedOutput.body;
|
|
2569
|
-
|
|
2350
|
+
return throwDefaultError({
|
|
2570
2351
|
output,
|
|
2571
2352
|
parsedBody,
|
|
2572
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
2573
2353
|
errorCode,
|
|
2574
2354
|
});
|
|
2575
2355
|
}
|
|
@@ -2578,16 +2358,15 @@ const de_StartProjectSessionCommand = async (output, context) => {
|
|
|
2578
2358
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2579
2359
|
return de_StartProjectSessionCommandError(output, context);
|
|
2580
2360
|
}
|
|
2581
|
-
const contents = map({
|
|
2361
|
+
const contents = (0, smithy_client_1.map)({
|
|
2582
2362
|
$metadata: deserializeMetadata(output),
|
|
2583
2363
|
});
|
|
2584
2364
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
}
|
|
2365
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2366
|
+
ClientSessionId: smithy_client_1.expectString,
|
|
2367
|
+
Name: smithy_client_1.expectString,
|
|
2368
|
+
});
|
|
2369
|
+
Object.assign(contents, doc);
|
|
2591
2370
|
return contents;
|
|
2592
2371
|
};
|
|
2593
2372
|
exports.de_StartProjectSessionCommand = de_StartProjectSessionCommand;
|
|
@@ -2612,10 +2391,9 @@ const de_StartProjectSessionCommandError = async (output, context) => {
|
|
|
2612
2391
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2613
2392
|
default:
|
|
2614
2393
|
const parsedBody = parsedOutput.body;
|
|
2615
|
-
|
|
2394
|
+
return throwDefaultError({
|
|
2616
2395
|
output,
|
|
2617
2396
|
parsedBody,
|
|
2618
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
2619
2397
|
errorCode,
|
|
2620
2398
|
});
|
|
2621
2399
|
}
|
|
@@ -2624,13 +2402,14 @@ const de_StopJobRunCommand = async (output, context) => {
|
|
|
2624
2402
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2625
2403
|
return de_StopJobRunCommandError(output, context);
|
|
2626
2404
|
}
|
|
2627
|
-
const contents = map({
|
|
2405
|
+
const contents = (0, smithy_client_1.map)({
|
|
2628
2406
|
$metadata: deserializeMetadata(output),
|
|
2629
2407
|
});
|
|
2630
2408
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
}
|
|
2409
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2410
|
+
RunId: smithy_client_1.expectString,
|
|
2411
|
+
});
|
|
2412
|
+
Object.assign(contents, doc);
|
|
2634
2413
|
return contents;
|
|
2635
2414
|
};
|
|
2636
2415
|
exports.de_StopJobRunCommand = de_StopJobRunCommand;
|
|
@@ -2649,10 +2428,9 @@ const de_StopJobRunCommandError = async (output, context) => {
|
|
|
2649
2428
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2650
2429
|
default:
|
|
2651
2430
|
const parsedBody = parsedOutput.body;
|
|
2652
|
-
|
|
2431
|
+
return throwDefaultError({
|
|
2653
2432
|
output,
|
|
2654
2433
|
parsedBody,
|
|
2655
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
2656
2434
|
errorCode,
|
|
2657
2435
|
});
|
|
2658
2436
|
}
|
|
@@ -2661,7 +2439,7 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
2661
2439
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2662
2440
|
return de_TagResourceCommandError(output, context);
|
|
2663
2441
|
}
|
|
2664
|
-
const contents = map({
|
|
2442
|
+
const contents = (0, smithy_client_1.map)({
|
|
2665
2443
|
$metadata: deserializeMetadata(output),
|
|
2666
2444
|
});
|
|
2667
2445
|
await collectBody(output.body, context);
|
|
@@ -2686,10 +2464,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
2686
2464
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2687
2465
|
default:
|
|
2688
2466
|
const parsedBody = parsedOutput.body;
|
|
2689
|
-
|
|
2467
|
+
return throwDefaultError({
|
|
2690
2468
|
output,
|
|
2691
2469
|
parsedBody,
|
|
2692
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
2693
2470
|
errorCode,
|
|
2694
2471
|
});
|
|
2695
2472
|
}
|
|
@@ -2698,7 +2475,7 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
2698
2475
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2699
2476
|
return de_UntagResourceCommandError(output, context);
|
|
2700
2477
|
}
|
|
2701
|
-
const contents = map({
|
|
2478
|
+
const contents = (0, smithy_client_1.map)({
|
|
2702
2479
|
$metadata: deserializeMetadata(output),
|
|
2703
2480
|
});
|
|
2704
2481
|
await collectBody(output.body, context);
|
|
@@ -2723,10 +2500,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
2723
2500
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2724
2501
|
default:
|
|
2725
2502
|
const parsedBody = parsedOutput.body;
|
|
2726
|
-
|
|
2503
|
+
return throwDefaultError({
|
|
2727
2504
|
output,
|
|
2728
2505
|
parsedBody,
|
|
2729
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
2730
2506
|
errorCode,
|
|
2731
2507
|
});
|
|
2732
2508
|
}
|
|
@@ -2735,13 +2511,14 @@ const de_UpdateDatasetCommand = async (output, context) => {
|
|
|
2735
2511
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2736
2512
|
return de_UpdateDatasetCommandError(output, context);
|
|
2737
2513
|
}
|
|
2738
|
-
const contents = map({
|
|
2514
|
+
const contents = (0, smithy_client_1.map)({
|
|
2739
2515
|
$metadata: deserializeMetadata(output),
|
|
2740
2516
|
});
|
|
2741
2517
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
}
|
|
2518
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2519
|
+
Name: smithy_client_1.expectString,
|
|
2520
|
+
});
|
|
2521
|
+
Object.assign(contents, doc);
|
|
2745
2522
|
return contents;
|
|
2746
2523
|
};
|
|
2747
2524
|
exports.de_UpdateDatasetCommand = de_UpdateDatasetCommand;
|
|
@@ -2763,10 +2540,9 @@ const de_UpdateDatasetCommandError = async (output, context) => {
|
|
|
2763
2540
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2764
2541
|
default:
|
|
2765
2542
|
const parsedBody = parsedOutput.body;
|
|
2766
|
-
|
|
2543
|
+
return throwDefaultError({
|
|
2767
2544
|
output,
|
|
2768
2545
|
parsedBody,
|
|
2769
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
2770
2546
|
errorCode,
|
|
2771
2547
|
});
|
|
2772
2548
|
}
|
|
@@ -2775,13 +2551,14 @@ const de_UpdateProfileJobCommand = async (output, context) => {
|
|
|
2775
2551
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2776
2552
|
return de_UpdateProfileJobCommandError(output, context);
|
|
2777
2553
|
}
|
|
2778
|
-
const contents = map({
|
|
2554
|
+
const contents = (0, smithy_client_1.map)({
|
|
2779
2555
|
$metadata: deserializeMetadata(output),
|
|
2780
2556
|
});
|
|
2781
2557
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
}
|
|
2558
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2559
|
+
Name: smithy_client_1.expectString,
|
|
2560
|
+
});
|
|
2561
|
+
Object.assign(contents, doc);
|
|
2785
2562
|
return contents;
|
|
2786
2563
|
};
|
|
2787
2564
|
exports.de_UpdateProfileJobCommand = de_UpdateProfileJobCommand;
|
|
@@ -2803,10 +2580,9 @@ const de_UpdateProfileJobCommandError = async (output, context) => {
|
|
|
2803
2580
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2804
2581
|
default:
|
|
2805
2582
|
const parsedBody = parsedOutput.body;
|
|
2806
|
-
|
|
2583
|
+
return throwDefaultError({
|
|
2807
2584
|
output,
|
|
2808
2585
|
parsedBody,
|
|
2809
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
2810
2586
|
errorCode,
|
|
2811
2587
|
});
|
|
2812
2588
|
}
|
|
@@ -2815,16 +2591,15 @@ const de_UpdateProjectCommand = async (output, context) => {
|
|
|
2815
2591
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2816
2592
|
return de_UpdateProjectCommandError(output, context);
|
|
2817
2593
|
}
|
|
2818
|
-
const contents = map({
|
|
2594
|
+
const contents = (0, smithy_client_1.map)({
|
|
2819
2595
|
$metadata: deserializeMetadata(output),
|
|
2820
2596
|
});
|
|
2821
2597
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
}
|
|
2598
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2599
|
+
LastModifiedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2600
|
+
Name: smithy_client_1.expectString,
|
|
2601
|
+
});
|
|
2602
|
+
Object.assign(contents, doc);
|
|
2828
2603
|
return contents;
|
|
2829
2604
|
};
|
|
2830
2605
|
exports.de_UpdateProjectCommand = de_UpdateProjectCommand;
|
|
@@ -2843,10 +2618,9 @@ const de_UpdateProjectCommandError = async (output, context) => {
|
|
|
2843
2618
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2844
2619
|
default:
|
|
2845
2620
|
const parsedBody = parsedOutput.body;
|
|
2846
|
-
|
|
2621
|
+
return throwDefaultError({
|
|
2847
2622
|
output,
|
|
2848
2623
|
parsedBody,
|
|
2849
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
2850
2624
|
errorCode,
|
|
2851
2625
|
});
|
|
2852
2626
|
}
|
|
@@ -2855,13 +2629,14 @@ const de_UpdateRecipeCommand = async (output, context) => {
|
|
|
2855
2629
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2856
2630
|
return de_UpdateRecipeCommandError(output, context);
|
|
2857
2631
|
}
|
|
2858
|
-
const contents = map({
|
|
2632
|
+
const contents = (0, smithy_client_1.map)({
|
|
2859
2633
|
$metadata: deserializeMetadata(output),
|
|
2860
2634
|
});
|
|
2861
2635
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
}
|
|
2636
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2637
|
+
Name: smithy_client_1.expectString,
|
|
2638
|
+
});
|
|
2639
|
+
Object.assign(contents, doc);
|
|
2865
2640
|
return contents;
|
|
2866
2641
|
};
|
|
2867
2642
|
exports.de_UpdateRecipeCommand = de_UpdateRecipeCommand;
|
|
@@ -2880,10 +2655,9 @@ const de_UpdateRecipeCommandError = async (output, context) => {
|
|
|
2880
2655
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2881
2656
|
default:
|
|
2882
2657
|
const parsedBody = parsedOutput.body;
|
|
2883
|
-
|
|
2658
|
+
return throwDefaultError({
|
|
2884
2659
|
output,
|
|
2885
2660
|
parsedBody,
|
|
2886
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
2887
2661
|
errorCode,
|
|
2888
2662
|
});
|
|
2889
2663
|
}
|
|
@@ -2892,13 +2666,14 @@ const de_UpdateRecipeJobCommand = async (output, context) => {
|
|
|
2892
2666
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2893
2667
|
return de_UpdateRecipeJobCommandError(output, context);
|
|
2894
2668
|
}
|
|
2895
|
-
const contents = map({
|
|
2669
|
+
const contents = (0, smithy_client_1.map)({
|
|
2896
2670
|
$metadata: deserializeMetadata(output),
|
|
2897
2671
|
});
|
|
2898
2672
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
}
|
|
2673
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2674
|
+
Name: smithy_client_1.expectString,
|
|
2675
|
+
});
|
|
2676
|
+
Object.assign(contents, doc);
|
|
2902
2677
|
return contents;
|
|
2903
2678
|
};
|
|
2904
2679
|
exports.de_UpdateRecipeJobCommand = de_UpdateRecipeJobCommand;
|
|
@@ -2920,10 +2695,9 @@ const de_UpdateRecipeJobCommandError = async (output, context) => {
|
|
|
2920
2695
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2921
2696
|
default:
|
|
2922
2697
|
const parsedBody = parsedOutput.body;
|
|
2923
|
-
|
|
2698
|
+
return throwDefaultError({
|
|
2924
2699
|
output,
|
|
2925
2700
|
parsedBody,
|
|
2926
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
2927
2701
|
errorCode,
|
|
2928
2702
|
});
|
|
2929
2703
|
}
|
|
@@ -2932,13 +2706,14 @@ const de_UpdateRulesetCommand = async (output, context) => {
|
|
|
2932
2706
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2933
2707
|
return de_UpdateRulesetCommandError(output, context);
|
|
2934
2708
|
}
|
|
2935
|
-
const contents = map({
|
|
2709
|
+
const contents = (0, smithy_client_1.map)({
|
|
2936
2710
|
$metadata: deserializeMetadata(output),
|
|
2937
2711
|
});
|
|
2938
2712
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
}
|
|
2713
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2714
|
+
Name: smithy_client_1.expectString,
|
|
2715
|
+
});
|
|
2716
|
+
Object.assign(contents, doc);
|
|
2942
2717
|
return contents;
|
|
2943
2718
|
};
|
|
2944
2719
|
exports.de_UpdateRulesetCommand = de_UpdateRulesetCommand;
|
|
@@ -2957,10 +2732,9 @@ const de_UpdateRulesetCommandError = async (output, context) => {
|
|
|
2957
2732
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2958
2733
|
default:
|
|
2959
2734
|
const parsedBody = parsedOutput.body;
|
|
2960
|
-
|
|
2735
|
+
return throwDefaultError({
|
|
2961
2736
|
output,
|
|
2962
2737
|
parsedBody,
|
|
2963
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
2964
2738
|
errorCode,
|
|
2965
2739
|
});
|
|
2966
2740
|
}
|
|
@@ -2969,13 +2743,14 @@ const de_UpdateScheduleCommand = async (output, context) => {
|
|
|
2969
2743
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2970
2744
|
return de_UpdateScheduleCommandError(output, context);
|
|
2971
2745
|
}
|
|
2972
|
-
const contents = map({
|
|
2746
|
+
const contents = (0, smithy_client_1.map)({
|
|
2973
2747
|
$metadata: deserializeMetadata(output),
|
|
2974
2748
|
});
|
|
2975
2749
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
}
|
|
2750
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2751
|
+
Name: smithy_client_1.expectString,
|
|
2752
|
+
});
|
|
2753
|
+
Object.assign(contents, doc);
|
|
2979
2754
|
return contents;
|
|
2980
2755
|
};
|
|
2981
2756
|
exports.de_UpdateScheduleCommand = de_UpdateScheduleCommand;
|
|
@@ -2997,21 +2772,21 @@ const de_UpdateScheduleCommandError = async (output, context) => {
|
|
|
2997
2772
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2998
2773
|
default:
|
|
2999
2774
|
const parsedBody = parsedOutput.body;
|
|
3000
|
-
|
|
2775
|
+
return throwDefaultError({
|
|
3001
2776
|
output,
|
|
3002
2777
|
parsedBody,
|
|
3003
|
-
exceptionCtor: DataBrewServiceException_1.DataBrewServiceException,
|
|
3004
2778
|
errorCode,
|
|
3005
2779
|
});
|
|
3006
2780
|
}
|
|
3007
2781
|
};
|
|
3008
|
-
const
|
|
2782
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(DataBrewServiceException_1.DataBrewServiceException);
|
|
3009
2783
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
3010
|
-
const contents = map({});
|
|
2784
|
+
const contents = (0, smithy_client_1.map)({});
|
|
3011
2785
|
const data = parsedOutput.body;
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
}
|
|
2786
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2787
|
+
Message: smithy_client_1.expectString,
|
|
2788
|
+
});
|
|
2789
|
+
Object.assign(contents, doc);
|
|
3015
2790
|
const exception = new models_0_1.AccessDeniedException({
|
|
3016
2791
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3017
2792
|
...contents,
|
|
@@ -3019,11 +2794,12 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
3019
2794
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3020
2795
|
};
|
|
3021
2796
|
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
3022
|
-
const contents = map({});
|
|
2797
|
+
const contents = (0, smithy_client_1.map)({});
|
|
3023
2798
|
const data = parsedOutput.body;
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
}
|
|
2799
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2800
|
+
Message: smithy_client_1.expectString,
|
|
2801
|
+
});
|
|
2802
|
+
Object.assign(contents, doc);
|
|
3027
2803
|
const exception = new models_0_1.ConflictException({
|
|
3028
2804
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3029
2805
|
...contents,
|
|
@@ -3031,11 +2807,12 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
3031
2807
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3032
2808
|
};
|
|
3033
2809
|
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
3034
|
-
const contents = map({});
|
|
2810
|
+
const contents = (0, smithy_client_1.map)({});
|
|
3035
2811
|
const data = parsedOutput.body;
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
}
|
|
2812
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2813
|
+
Message: smithy_client_1.expectString,
|
|
2814
|
+
});
|
|
2815
|
+
Object.assign(contents, doc);
|
|
3039
2816
|
const exception = new models_0_1.InternalServerException({
|
|
3040
2817
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3041
2818
|
...contents,
|
|
@@ -3043,11 +2820,12 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
3043
2820
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3044
2821
|
};
|
|
3045
2822
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
3046
|
-
const contents = map({});
|
|
2823
|
+
const contents = (0, smithy_client_1.map)({});
|
|
3047
2824
|
const data = parsedOutput.body;
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
}
|
|
2825
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2826
|
+
Message: smithy_client_1.expectString,
|
|
2827
|
+
});
|
|
2828
|
+
Object.assign(contents, doc);
|
|
3051
2829
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
3052
2830
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3053
2831
|
...contents,
|
|
@@ -3055,11 +2833,12 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
3055
2833
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3056
2834
|
};
|
|
3057
2835
|
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
3058
|
-
const contents = map({});
|
|
2836
|
+
const contents = (0, smithy_client_1.map)({});
|
|
3059
2837
|
const data = parsedOutput.body;
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
}
|
|
2838
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2839
|
+
Message: smithy_client_1.expectString,
|
|
2840
|
+
});
|
|
2841
|
+
Object.assign(contents, doc);
|
|
3063
2842
|
const exception = new models_0_1.ServiceQuotaExceededException({
|
|
3064
2843
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3065
2844
|
...contents,
|
|
@@ -3067,1198 +2846,253 @@ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
3067
2846
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3068
2847
|
};
|
|
3069
2848
|
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
3070
|
-
const contents = map({});
|
|
2849
|
+
const contents = (0, smithy_client_1.map)({});
|
|
3071
2850
|
const data = parsedOutput.body;
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
}
|
|
2851
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2852
|
+
Message: smithy_client_1.expectString,
|
|
2853
|
+
});
|
|
2854
|
+
Object.assign(contents, doc);
|
|
3075
2855
|
const exception = new models_0_1.ValidationException({
|
|
3076
2856
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3077
2857
|
...contents,
|
|
3078
2858
|
});
|
|
3079
2859
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3080
2860
|
};
|
|
3081
|
-
const
|
|
2861
|
+
const se_Rule = (input, context) => {
|
|
2862
|
+
return (0, smithy_client_1.take)(input, {
|
|
2863
|
+
CheckExpression: [],
|
|
2864
|
+
ColumnSelectors: smithy_client_1._json,
|
|
2865
|
+
Disabled: [],
|
|
2866
|
+
Name: [],
|
|
2867
|
+
SubstitutionMap: smithy_client_1._json,
|
|
2868
|
+
Threshold: (_) => se_Threshold(_, context),
|
|
2869
|
+
});
|
|
2870
|
+
};
|
|
2871
|
+
const se_RuleList = (input, context) => {
|
|
3082
2872
|
return input
|
|
3083
2873
|
.filter((e) => e != null)
|
|
3084
2874
|
.map((entry) => {
|
|
3085
|
-
return
|
|
2875
|
+
return se_Rule(entry, context);
|
|
3086
2876
|
});
|
|
3087
2877
|
};
|
|
3088
|
-
const
|
|
3089
|
-
return {
|
|
3090
|
-
|
|
3091
|
-
|
|
2878
|
+
const se_Threshold = (input, context) => {
|
|
2879
|
+
return (0, smithy_client_1.take)(input, {
|
|
2880
|
+
Type: [],
|
|
2881
|
+
Unit: [],
|
|
2882
|
+
Value: smithy_client_1.serializeFloat,
|
|
2883
|
+
});
|
|
3092
2884
|
};
|
|
3093
|
-
const
|
|
3094
|
-
return
|
|
2885
|
+
const de_Dataset = (output, context) => {
|
|
2886
|
+
return (0, smithy_client_1.take)(output, {
|
|
2887
|
+
AccountId: smithy_client_1.expectString,
|
|
2888
|
+
CreateDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2889
|
+
CreatedBy: smithy_client_1.expectString,
|
|
2890
|
+
Format: smithy_client_1.expectString,
|
|
2891
|
+
FormatOptions: smithy_client_1._json,
|
|
2892
|
+
Input: smithy_client_1._json,
|
|
2893
|
+
LastModifiedBy: smithy_client_1.expectString,
|
|
2894
|
+
LastModifiedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2895
|
+
Name: smithy_client_1.expectString,
|
|
2896
|
+
PathOptions: smithy_client_1._json,
|
|
2897
|
+
ResourceArn: smithy_client_1.expectString,
|
|
2898
|
+
Source: smithy_client_1.expectString,
|
|
2899
|
+
Tags: smithy_client_1._json,
|
|
2900
|
+
});
|
|
2901
|
+
};
|
|
2902
|
+
const de_DatasetList = (output, context) => {
|
|
2903
|
+
const retVal = (output || [])
|
|
3095
2904
|
.filter((e) => e != null)
|
|
3096
2905
|
.map((entry) => {
|
|
3097
|
-
return entry;
|
|
2906
|
+
return de_Dataset(entry, context);
|
|
3098
2907
|
});
|
|
2908
|
+
return retVal;
|
|
3099
2909
|
};
|
|
3100
|
-
const
|
|
3101
|
-
return {
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
2910
|
+
const de_Job = (output, context) => {
|
|
2911
|
+
return (0, smithy_client_1.take)(output, {
|
|
2912
|
+
AccountId: smithy_client_1.expectString,
|
|
2913
|
+
CreateDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2914
|
+
CreatedBy: smithy_client_1.expectString,
|
|
2915
|
+
DataCatalogOutputs: smithy_client_1._json,
|
|
2916
|
+
DatabaseOutputs: smithy_client_1._json,
|
|
2917
|
+
DatasetName: smithy_client_1.expectString,
|
|
2918
|
+
EncryptionKeyArn: smithy_client_1.expectString,
|
|
2919
|
+
EncryptionMode: smithy_client_1.expectString,
|
|
2920
|
+
JobSample: smithy_client_1._json,
|
|
2921
|
+
LastModifiedBy: smithy_client_1.expectString,
|
|
2922
|
+
LastModifiedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2923
|
+
LogSubscription: smithy_client_1.expectString,
|
|
2924
|
+
MaxCapacity: smithy_client_1.expectInt32,
|
|
2925
|
+
MaxRetries: smithy_client_1.expectInt32,
|
|
2926
|
+
Name: smithy_client_1.expectString,
|
|
2927
|
+
Outputs: smithy_client_1._json,
|
|
2928
|
+
ProjectName: smithy_client_1.expectString,
|
|
2929
|
+
RecipeReference: smithy_client_1._json,
|
|
2930
|
+
ResourceArn: smithy_client_1.expectString,
|
|
2931
|
+
RoleArn: smithy_client_1.expectString,
|
|
2932
|
+
Tags: smithy_client_1._json,
|
|
2933
|
+
Timeout: smithy_client_1.expectInt32,
|
|
2934
|
+
Type: smithy_client_1.expectString,
|
|
2935
|
+
ValidationConfigurations: smithy_client_1._json,
|
|
2936
|
+
});
|
|
3105
2937
|
};
|
|
3106
|
-
const
|
|
3107
|
-
|
|
2938
|
+
const de_JobList = (output, context) => {
|
|
2939
|
+
const retVal = (output || [])
|
|
3108
2940
|
.filter((e) => e != null)
|
|
3109
2941
|
.map((entry) => {
|
|
3110
|
-
return
|
|
2942
|
+
return de_Job(entry, context);
|
|
3111
2943
|
});
|
|
2944
|
+
return retVal;
|
|
3112
2945
|
};
|
|
3113
|
-
const
|
|
3114
|
-
return {
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
2946
|
+
const de_JobRun = (output, context) => {
|
|
2947
|
+
return (0, smithy_client_1.take)(output, {
|
|
2948
|
+
Attempt: smithy_client_1.expectInt32,
|
|
2949
|
+
CompletedOn: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2950
|
+
DataCatalogOutputs: smithy_client_1._json,
|
|
2951
|
+
DatabaseOutputs: smithy_client_1._json,
|
|
2952
|
+
DatasetName: smithy_client_1.expectString,
|
|
2953
|
+
ErrorMessage: smithy_client_1.expectString,
|
|
2954
|
+
ExecutionTime: smithy_client_1.expectInt32,
|
|
2955
|
+
JobName: smithy_client_1.expectString,
|
|
2956
|
+
JobSample: smithy_client_1._json,
|
|
2957
|
+
LogGroupName: smithy_client_1.expectString,
|
|
2958
|
+
LogSubscription: smithy_client_1.expectString,
|
|
2959
|
+
Outputs: smithy_client_1._json,
|
|
2960
|
+
RecipeReference: smithy_client_1._json,
|
|
2961
|
+
RunId: smithy_client_1.expectString,
|
|
2962
|
+
StartedBy: smithy_client_1.expectString,
|
|
2963
|
+
StartedOn: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2964
|
+
State: smithy_client_1.expectString,
|
|
2965
|
+
ValidationConfigurations: smithy_client_1._json,
|
|
2966
|
+
});
|
|
3118
2967
|
};
|
|
3119
|
-
const
|
|
3120
|
-
|
|
2968
|
+
const de_JobRunList = (output, context) => {
|
|
2969
|
+
const retVal = (output || [])
|
|
3121
2970
|
.filter((e) => e != null)
|
|
3122
2971
|
.map((entry) => {
|
|
3123
|
-
return
|
|
2972
|
+
return de_JobRun(entry, context);
|
|
3124
2973
|
});
|
|
2974
|
+
return retVal;
|
|
3125
2975
|
};
|
|
3126
|
-
const
|
|
3127
|
-
return {
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
2976
|
+
const de_Project = (output, context) => {
|
|
2977
|
+
return (0, smithy_client_1.take)(output, {
|
|
2978
|
+
AccountId: smithy_client_1.expectString,
|
|
2979
|
+
CreateDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2980
|
+
CreatedBy: smithy_client_1.expectString,
|
|
2981
|
+
DatasetName: smithy_client_1.expectString,
|
|
2982
|
+
LastModifiedBy: smithy_client_1.expectString,
|
|
2983
|
+
LastModifiedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2984
|
+
Name: smithy_client_1.expectString,
|
|
2985
|
+
OpenDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2986
|
+
OpenedBy: smithy_client_1.expectString,
|
|
2987
|
+
RecipeName: smithy_client_1.expectString,
|
|
2988
|
+
ResourceArn: smithy_client_1.expectString,
|
|
2989
|
+
RoleArn: smithy_client_1.expectString,
|
|
2990
|
+
Sample: smithy_client_1._json,
|
|
2991
|
+
Tags: smithy_client_1._json,
|
|
2992
|
+
});
|
|
3132
2993
|
};
|
|
3133
|
-
const
|
|
3134
|
-
|
|
2994
|
+
const de_ProjectList = (output, context) => {
|
|
2995
|
+
const retVal = (output || [])
|
|
3135
2996
|
.filter((e) => e != null)
|
|
3136
2997
|
.map((entry) => {
|
|
3137
|
-
return
|
|
2998
|
+
return de_Project(entry, context);
|
|
3138
2999
|
});
|
|
3139
|
-
|
|
3140
|
-
const se_CsvOptions = (input, context) => {
|
|
3141
|
-
return {
|
|
3142
|
-
...(input.Delimiter != null && { Delimiter: input.Delimiter }),
|
|
3143
|
-
...(input.HeaderRow != null && { HeaderRow: input.HeaderRow }),
|
|
3144
|
-
};
|
|
3145
|
-
};
|
|
3146
|
-
const se_CsvOutputOptions = (input, context) => {
|
|
3147
|
-
return {
|
|
3148
|
-
...(input.Delimiter != null && { Delimiter: input.Delimiter }),
|
|
3149
|
-
};
|
|
3150
|
-
};
|
|
3151
|
-
const se_DatabaseInputDefinition = (input, context) => {
|
|
3152
|
-
return {
|
|
3153
|
-
...(input.DatabaseTableName != null && { DatabaseTableName: input.DatabaseTableName }),
|
|
3154
|
-
...(input.GlueConnectionName != null && { GlueConnectionName: input.GlueConnectionName }),
|
|
3155
|
-
...(input.QueryString != null && { QueryString: input.QueryString }),
|
|
3156
|
-
...(input.TempDirectory != null && { TempDirectory: se_S3Location(input.TempDirectory, context) }),
|
|
3157
|
-
};
|
|
3158
|
-
};
|
|
3159
|
-
const se_DatabaseOutput = (input, context) => {
|
|
3160
|
-
return {
|
|
3161
|
-
...(input.DatabaseOptions != null && {
|
|
3162
|
-
DatabaseOptions: se_DatabaseTableOutputOptions(input.DatabaseOptions, context),
|
|
3163
|
-
}),
|
|
3164
|
-
...(input.DatabaseOutputMode != null && { DatabaseOutputMode: input.DatabaseOutputMode }),
|
|
3165
|
-
...(input.GlueConnectionName != null && { GlueConnectionName: input.GlueConnectionName }),
|
|
3166
|
-
};
|
|
3167
|
-
};
|
|
3168
|
-
const se_DatabaseOutputList = (input, context) => {
|
|
3169
|
-
return input
|
|
3170
|
-
.filter((e) => e != null)
|
|
3171
|
-
.map((entry) => {
|
|
3172
|
-
return se_DatabaseOutput(entry, context);
|
|
3173
|
-
});
|
|
3174
|
-
};
|
|
3175
|
-
const se_DatabaseTableOutputOptions = (input, context) => {
|
|
3176
|
-
return {
|
|
3177
|
-
...(input.TableName != null && { TableName: input.TableName }),
|
|
3178
|
-
...(input.TempDirectory != null && { TempDirectory: se_S3Location(input.TempDirectory, context) }),
|
|
3179
|
-
};
|
|
3180
|
-
};
|
|
3181
|
-
const se_DataCatalogInputDefinition = (input, context) => {
|
|
3182
|
-
return {
|
|
3183
|
-
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
3184
|
-
...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
|
|
3185
|
-
...(input.TableName != null && { TableName: input.TableName }),
|
|
3186
|
-
...(input.TempDirectory != null && { TempDirectory: se_S3Location(input.TempDirectory, context) }),
|
|
3187
|
-
};
|
|
3188
|
-
};
|
|
3189
|
-
const se_DataCatalogOutput = (input, context) => {
|
|
3190
|
-
return {
|
|
3191
|
-
...(input.CatalogId != null && { CatalogId: input.CatalogId }),
|
|
3192
|
-
...(input.DatabaseName != null && { DatabaseName: input.DatabaseName }),
|
|
3193
|
-
...(input.DatabaseOptions != null && {
|
|
3194
|
-
DatabaseOptions: se_DatabaseTableOutputOptions(input.DatabaseOptions, context),
|
|
3195
|
-
}),
|
|
3196
|
-
...(input.Overwrite != null && { Overwrite: input.Overwrite }),
|
|
3197
|
-
...(input.S3Options != null && { S3Options: se_S3TableOutputOptions(input.S3Options, context) }),
|
|
3198
|
-
...(input.TableName != null && { TableName: input.TableName }),
|
|
3199
|
-
};
|
|
3200
|
-
};
|
|
3201
|
-
const se_DataCatalogOutputList = (input, context) => {
|
|
3202
|
-
return input
|
|
3203
|
-
.filter((e) => e != null)
|
|
3204
|
-
.map((entry) => {
|
|
3205
|
-
return se_DataCatalogOutput(entry, context);
|
|
3206
|
-
});
|
|
3207
|
-
};
|
|
3208
|
-
const se_DatasetParameter = (input, context) => {
|
|
3209
|
-
return {
|
|
3210
|
-
...(input.CreateColumn != null && { CreateColumn: input.CreateColumn }),
|
|
3211
|
-
...(input.DatetimeOptions != null && { DatetimeOptions: se_DatetimeOptions(input.DatetimeOptions, context) }),
|
|
3212
|
-
...(input.Filter != null && { Filter: se_FilterExpression(input.Filter, context) }),
|
|
3213
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3214
|
-
...(input.Type != null && { Type: input.Type }),
|
|
3215
|
-
};
|
|
3216
|
-
};
|
|
3217
|
-
const se_DatetimeOptions = (input, context) => {
|
|
3218
|
-
return {
|
|
3219
|
-
...(input.Format != null && { Format: input.Format }),
|
|
3220
|
-
...(input.LocaleCode != null && { LocaleCode: input.LocaleCode }),
|
|
3221
|
-
...(input.TimezoneOffset != null && { TimezoneOffset: input.TimezoneOffset }),
|
|
3222
|
-
};
|
|
3223
|
-
};
|
|
3224
|
-
const se_EntityDetectorConfiguration = (input, context) => {
|
|
3225
|
-
return {
|
|
3226
|
-
...(input.AllowedStatistics != null && {
|
|
3227
|
-
AllowedStatistics: se_AllowedStatisticList(input.AllowedStatistics, context),
|
|
3228
|
-
}),
|
|
3229
|
-
...(input.EntityTypes != null && { EntityTypes: se_EntityTypeList(input.EntityTypes, context) }),
|
|
3230
|
-
};
|
|
3231
|
-
};
|
|
3232
|
-
const se_EntityTypeList = (input, context) => {
|
|
3233
|
-
return input
|
|
3234
|
-
.filter((e) => e != null)
|
|
3235
|
-
.map((entry) => {
|
|
3236
|
-
return entry;
|
|
3237
|
-
});
|
|
3238
|
-
};
|
|
3239
|
-
const se_ExcelOptions = (input, context) => {
|
|
3240
|
-
return {
|
|
3241
|
-
...(input.HeaderRow != null && { HeaderRow: input.HeaderRow }),
|
|
3242
|
-
...(input.SheetIndexes != null && { SheetIndexes: se_SheetIndexList(input.SheetIndexes, context) }),
|
|
3243
|
-
...(input.SheetNames != null && { SheetNames: se_SheetNameList(input.SheetNames, context) }),
|
|
3244
|
-
};
|
|
3245
|
-
};
|
|
3246
|
-
const se_FilesLimit = (input, context) => {
|
|
3247
|
-
return {
|
|
3248
|
-
...(input.MaxFiles != null && { MaxFiles: input.MaxFiles }),
|
|
3249
|
-
...(input.Order != null && { Order: input.Order }),
|
|
3250
|
-
...(input.OrderedBy != null && { OrderedBy: input.OrderedBy }),
|
|
3251
|
-
};
|
|
3252
|
-
};
|
|
3253
|
-
const se_FilterExpression = (input, context) => {
|
|
3254
|
-
return {
|
|
3255
|
-
...(input.Expression != null && { Expression: input.Expression }),
|
|
3256
|
-
...(input.ValuesMap != null && { ValuesMap: se_ValuesMap(input.ValuesMap, context) }),
|
|
3257
|
-
};
|
|
3258
|
-
};
|
|
3259
|
-
const se_FormatOptions = (input, context) => {
|
|
3260
|
-
return {
|
|
3261
|
-
...(input.Csv != null && { Csv: se_CsvOptions(input.Csv, context) }),
|
|
3262
|
-
...(input.Excel != null && { Excel: se_ExcelOptions(input.Excel, context) }),
|
|
3263
|
-
...(input.Json != null && { Json: se_JsonOptions(input.Json, context) }),
|
|
3264
|
-
};
|
|
3265
|
-
};
|
|
3266
|
-
const se_HiddenColumnList = (input, context) => {
|
|
3267
|
-
return input
|
|
3268
|
-
.filter((e) => e != null)
|
|
3269
|
-
.map((entry) => {
|
|
3270
|
-
return entry;
|
|
3271
|
-
});
|
|
3272
|
-
};
|
|
3273
|
-
const se_Input = (input, context) => {
|
|
3274
|
-
return {
|
|
3275
|
-
...(input.DataCatalogInputDefinition != null && {
|
|
3276
|
-
DataCatalogInputDefinition: se_DataCatalogInputDefinition(input.DataCatalogInputDefinition, context),
|
|
3277
|
-
}),
|
|
3278
|
-
...(input.DatabaseInputDefinition != null && {
|
|
3279
|
-
DatabaseInputDefinition: se_DatabaseInputDefinition(input.DatabaseInputDefinition, context),
|
|
3280
|
-
}),
|
|
3281
|
-
...(input.Metadata != null && { Metadata: se_Metadata(input.Metadata, context) }),
|
|
3282
|
-
...(input.S3InputDefinition != null && { S3InputDefinition: se_S3Location(input.S3InputDefinition, context) }),
|
|
3283
|
-
};
|
|
3284
|
-
};
|
|
3285
|
-
const se_JobNameList = (input, context) => {
|
|
3286
|
-
return input
|
|
3287
|
-
.filter((e) => e != null)
|
|
3288
|
-
.map((entry) => {
|
|
3289
|
-
return entry;
|
|
3290
|
-
});
|
|
3291
|
-
};
|
|
3292
|
-
const se_JobSample = (input, context) => {
|
|
3293
|
-
return {
|
|
3294
|
-
...(input.Mode != null && { Mode: input.Mode }),
|
|
3295
|
-
...(input.Size != null && { Size: input.Size }),
|
|
3296
|
-
};
|
|
3297
|
-
};
|
|
3298
|
-
const se_JsonOptions = (input, context) => {
|
|
3299
|
-
return {
|
|
3300
|
-
...(input.MultiLine != null && { MultiLine: input.MultiLine }),
|
|
3301
|
-
};
|
|
3302
|
-
};
|
|
3303
|
-
const se_Metadata = (input, context) => {
|
|
3304
|
-
return {
|
|
3305
|
-
...(input.SourceArn != null && { SourceArn: input.SourceArn }),
|
|
3306
|
-
};
|
|
3307
|
-
};
|
|
3308
|
-
const se_Output = (input, context) => {
|
|
3309
|
-
return {
|
|
3310
|
-
...(input.CompressionFormat != null && { CompressionFormat: input.CompressionFormat }),
|
|
3311
|
-
...(input.Format != null && { Format: input.Format }),
|
|
3312
|
-
...(input.FormatOptions != null && { FormatOptions: se_OutputFormatOptions(input.FormatOptions, context) }),
|
|
3313
|
-
...(input.Location != null && { Location: se_S3Location(input.Location, context) }),
|
|
3314
|
-
...(input.MaxOutputFiles != null && { MaxOutputFiles: input.MaxOutputFiles }),
|
|
3315
|
-
...(input.Overwrite != null && { Overwrite: input.Overwrite }),
|
|
3316
|
-
...(input.PartitionColumns != null && { PartitionColumns: se_ColumnNameList(input.PartitionColumns, context) }),
|
|
3317
|
-
};
|
|
3318
|
-
};
|
|
3319
|
-
const se_OutputFormatOptions = (input, context) => {
|
|
3320
|
-
return {
|
|
3321
|
-
...(input.Csv != null && { Csv: se_CsvOutputOptions(input.Csv, context) }),
|
|
3322
|
-
};
|
|
3323
|
-
};
|
|
3324
|
-
const se_OutputList = (input, context) => {
|
|
3325
|
-
return input
|
|
3326
|
-
.filter((e) => e != null)
|
|
3327
|
-
.map((entry) => {
|
|
3328
|
-
return se_Output(entry, context);
|
|
3329
|
-
});
|
|
3330
|
-
};
|
|
3331
|
-
const se_ParameterMap = (input, context) => {
|
|
3332
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3333
|
-
if (value === null) {
|
|
3334
|
-
return acc;
|
|
3335
|
-
}
|
|
3336
|
-
acc[key] = value;
|
|
3337
|
-
return acc;
|
|
3338
|
-
}, {});
|
|
3339
|
-
};
|
|
3340
|
-
const se_PathOptions = (input, context) => {
|
|
3341
|
-
return {
|
|
3342
|
-
...(input.FilesLimit != null && { FilesLimit: se_FilesLimit(input.FilesLimit, context) }),
|
|
3343
|
-
...(input.LastModifiedDateCondition != null && {
|
|
3344
|
-
LastModifiedDateCondition: se_FilterExpression(input.LastModifiedDateCondition, context),
|
|
3345
|
-
}),
|
|
3346
|
-
...(input.Parameters != null && { Parameters: se_PathParametersMap(input.Parameters, context) }),
|
|
3347
|
-
};
|
|
3348
|
-
};
|
|
3349
|
-
const se_PathParametersMap = (input, context) => {
|
|
3350
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3351
|
-
if (value === null) {
|
|
3352
|
-
return acc;
|
|
3353
|
-
}
|
|
3354
|
-
acc[key] = se_DatasetParameter(value, context);
|
|
3355
|
-
return acc;
|
|
3356
|
-
}, {});
|
|
3357
|
-
};
|
|
3358
|
-
const se_ProfileConfiguration = (input, context) => {
|
|
3359
|
-
return {
|
|
3360
|
-
...(input.ColumnStatisticsConfigurations != null && {
|
|
3361
|
-
ColumnStatisticsConfigurations: se_ColumnStatisticsConfigurationList(input.ColumnStatisticsConfigurations, context),
|
|
3362
|
-
}),
|
|
3363
|
-
...(input.DatasetStatisticsConfiguration != null && {
|
|
3364
|
-
DatasetStatisticsConfiguration: se_StatisticsConfiguration(input.DatasetStatisticsConfiguration, context),
|
|
3365
|
-
}),
|
|
3366
|
-
...(input.EntityDetectorConfiguration != null && {
|
|
3367
|
-
EntityDetectorConfiguration: se_EntityDetectorConfiguration(input.EntityDetectorConfiguration, context),
|
|
3368
|
-
}),
|
|
3369
|
-
...(input.ProfileColumns != null && { ProfileColumns: se_ColumnSelectorList(input.ProfileColumns, context) }),
|
|
3370
|
-
};
|
|
3371
|
-
};
|
|
3372
|
-
const se_RecipeAction = (input, context) => {
|
|
3373
|
-
return {
|
|
3374
|
-
...(input.Operation != null && { Operation: input.Operation }),
|
|
3375
|
-
...(input.Parameters != null && { Parameters: se_ParameterMap(input.Parameters, context) }),
|
|
3376
|
-
};
|
|
3377
|
-
};
|
|
3378
|
-
const se_RecipeReference = (input, context) => {
|
|
3379
|
-
return {
|
|
3380
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3381
|
-
...(input.RecipeVersion != null && { RecipeVersion: input.RecipeVersion }),
|
|
3382
|
-
};
|
|
3383
|
-
};
|
|
3384
|
-
const se_RecipeStep = (input, context) => {
|
|
3385
|
-
return {
|
|
3386
|
-
...(input.Action != null && { Action: se_RecipeAction(input.Action, context) }),
|
|
3387
|
-
...(input.ConditionExpressions != null && {
|
|
3388
|
-
ConditionExpressions: se_ConditionExpressionList(input.ConditionExpressions, context),
|
|
3389
|
-
}),
|
|
3390
|
-
};
|
|
3391
|
-
};
|
|
3392
|
-
const se_RecipeStepList = (input, context) => {
|
|
3393
|
-
return input
|
|
3394
|
-
.filter((e) => e != null)
|
|
3395
|
-
.map((entry) => {
|
|
3396
|
-
return se_RecipeStep(entry, context);
|
|
3397
|
-
});
|
|
3398
|
-
};
|
|
3399
|
-
const se_RecipeVersionList = (input, context) => {
|
|
3400
|
-
return input
|
|
3401
|
-
.filter((e) => e != null)
|
|
3402
|
-
.map((entry) => {
|
|
3403
|
-
return entry;
|
|
3404
|
-
});
|
|
3405
|
-
};
|
|
3406
|
-
const se_Rule = (input, context) => {
|
|
3407
|
-
return {
|
|
3408
|
-
...(input.CheckExpression != null && { CheckExpression: input.CheckExpression }),
|
|
3409
|
-
...(input.ColumnSelectors != null && { ColumnSelectors: se_ColumnSelectorList(input.ColumnSelectors, context) }),
|
|
3410
|
-
...(input.Disabled != null && { Disabled: input.Disabled }),
|
|
3411
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3412
|
-
...(input.SubstitutionMap != null && { SubstitutionMap: se_ValuesMap(input.SubstitutionMap, context) }),
|
|
3413
|
-
...(input.Threshold != null && { Threshold: se_Threshold(input.Threshold, context) }),
|
|
3414
|
-
};
|
|
3415
|
-
};
|
|
3416
|
-
const se_RuleList = (input, context) => {
|
|
3417
|
-
return input
|
|
3418
|
-
.filter((e) => e != null)
|
|
3419
|
-
.map((entry) => {
|
|
3420
|
-
return se_Rule(entry, context);
|
|
3421
|
-
});
|
|
3422
|
-
};
|
|
3423
|
-
const se_S3Location = (input, context) => {
|
|
3424
|
-
return {
|
|
3425
|
-
...(input.Bucket != null && { Bucket: input.Bucket }),
|
|
3426
|
-
...(input.BucketOwner != null && { BucketOwner: input.BucketOwner }),
|
|
3427
|
-
...(input.Key != null && { Key: input.Key }),
|
|
3428
|
-
};
|
|
3429
|
-
};
|
|
3430
|
-
const se_S3TableOutputOptions = (input, context) => {
|
|
3431
|
-
return {
|
|
3432
|
-
...(input.Location != null && { Location: se_S3Location(input.Location, context) }),
|
|
3433
|
-
};
|
|
3434
|
-
};
|
|
3435
|
-
const se_Sample = (input, context) => {
|
|
3436
|
-
return {
|
|
3437
|
-
...(input.Size != null && { Size: input.Size }),
|
|
3438
|
-
...(input.Type != null && { Type: input.Type }),
|
|
3439
|
-
};
|
|
3440
|
-
};
|
|
3441
|
-
const se_SheetIndexList = (input, context) => {
|
|
3442
|
-
return input
|
|
3443
|
-
.filter((e) => e != null)
|
|
3444
|
-
.map((entry) => {
|
|
3445
|
-
return entry;
|
|
3446
|
-
});
|
|
3447
|
-
};
|
|
3448
|
-
const se_SheetNameList = (input, context) => {
|
|
3449
|
-
return input
|
|
3450
|
-
.filter((e) => e != null)
|
|
3451
|
-
.map((entry) => {
|
|
3452
|
-
return entry;
|
|
3453
|
-
});
|
|
3454
|
-
};
|
|
3455
|
-
const se_StatisticList = (input, context) => {
|
|
3456
|
-
return input
|
|
3457
|
-
.filter((e) => e != null)
|
|
3458
|
-
.map((entry) => {
|
|
3459
|
-
return entry;
|
|
3460
|
-
});
|
|
3461
|
-
};
|
|
3462
|
-
const se_StatisticOverride = (input, context) => {
|
|
3463
|
-
return {
|
|
3464
|
-
...(input.Parameters != null && { Parameters: se_ParameterMap(input.Parameters, context) }),
|
|
3465
|
-
...(input.Statistic != null && { Statistic: input.Statistic }),
|
|
3466
|
-
};
|
|
3467
|
-
};
|
|
3468
|
-
const se_StatisticOverrideList = (input, context) => {
|
|
3469
|
-
return input
|
|
3470
|
-
.filter((e) => e != null)
|
|
3471
|
-
.map((entry) => {
|
|
3472
|
-
return se_StatisticOverride(entry, context);
|
|
3473
|
-
});
|
|
3474
|
-
};
|
|
3475
|
-
const se_StatisticsConfiguration = (input, context) => {
|
|
3476
|
-
return {
|
|
3477
|
-
...(input.IncludedStatistics != null && {
|
|
3478
|
-
IncludedStatistics: se_StatisticList(input.IncludedStatistics, context),
|
|
3479
|
-
}),
|
|
3480
|
-
...(input.Overrides != null && { Overrides: se_StatisticOverrideList(input.Overrides, context) }),
|
|
3481
|
-
};
|
|
3482
|
-
};
|
|
3483
|
-
const se_TagMap = (input, context) => {
|
|
3484
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3485
|
-
if (value === null) {
|
|
3486
|
-
return acc;
|
|
3487
|
-
}
|
|
3488
|
-
acc[key] = value;
|
|
3489
|
-
return acc;
|
|
3490
|
-
}, {});
|
|
3491
|
-
};
|
|
3492
|
-
const se_Threshold = (input, context) => {
|
|
3493
|
-
return {
|
|
3494
|
-
...(input.Type != null && { Type: input.Type }),
|
|
3495
|
-
...(input.Unit != null && { Unit: input.Unit }),
|
|
3496
|
-
...(input.Value != null && { Value: (0, smithy_client_1.serializeFloat)(input.Value) }),
|
|
3497
|
-
};
|
|
3498
|
-
};
|
|
3499
|
-
const se_ValidationConfiguration = (input, context) => {
|
|
3500
|
-
return {
|
|
3501
|
-
...(input.RulesetArn != null && { RulesetArn: input.RulesetArn }),
|
|
3502
|
-
...(input.ValidationMode != null && { ValidationMode: input.ValidationMode }),
|
|
3503
|
-
};
|
|
3504
|
-
};
|
|
3505
|
-
const se_ValidationConfigurationList = (input, context) => {
|
|
3506
|
-
return input
|
|
3507
|
-
.filter((e) => e != null)
|
|
3508
|
-
.map((entry) => {
|
|
3509
|
-
return se_ValidationConfiguration(entry, context);
|
|
3510
|
-
});
|
|
3511
|
-
};
|
|
3512
|
-
const se_ValuesMap = (input, context) => {
|
|
3513
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3514
|
-
if (value === null) {
|
|
3515
|
-
return acc;
|
|
3516
|
-
}
|
|
3517
|
-
acc[key] = value;
|
|
3518
|
-
return acc;
|
|
3519
|
-
}, {});
|
|
3520
|
-
};
|
|
3521
|
-
const se_ViewFrame = (input, context) => {
|
|
3522
|
-
return {
|
|
3523
|
-
...(input.Analytics != null && { Analytics: input.Analytics }),
|
|
3524
|
-
...(input.ColumnRange != null && { ColumnRange: input.ColumnRange }),
|
|
3525
|
-
...(input.HiddenColumns != null && { HiddenColumns: se_HiddenColumnList(input.HiddenColumns, context) }),
|
|
3526
|
-
...(input.RowRange != null && { RowRange: input.RowRange }),
|
|
3527
|
-
...(input.StartColumnIndex != null && { StartColumnIndex: input.StartColumnIndex }),
|
|
3528
|
-
...(input.StartRowIndex != null && { StartRowIndex: input.StartRowIndex }),
|
|
3529
|
-
};
|
|
3530
|
-
};
|
|
3531
|
-
const de_AllowedStatisticList = (output, context) => {
|
|
3532
|
-
const retVal = (output || [])
|
|
3533
|
-
.filter((e) => e != null)
|
|
3534
|
-
.map((entry) => {
|
|
3535
|
-
if (entry === null) {
|
|
3536
|
-
return null;
|
|
3537
|
-
}
|
|
3538
|
-
return de_AllowedStatistics(entry, context);
|
|
3539
|
-
});
|
|
3540
|
-
return retVal;
|
|
3541
|
-
};
|
|
3542
|
-
const de_AllowedStatistics = (output, context) => {
|
|
3543
|
-
return {
|
|
3544
|
-
Statistics: output.Statistics != null ? de_StatisticList(output.Statistics, context) : undefined,
|
|
3545
|
-
};
|
|
3546
|
-
};
|
|
3547
|
-
const de_ColumnNameList = (output, context) => {
|
|
3548
|
-
const retVal = (output || [])
|
|
3549
|
-
.filter((e) => e != null)
|
|
3550
|
-
.map((entry) => {
|
|
3551
|
-
if (entry === null) {
|
|
3552
|
-
return null;
|
|
3553
|
-
}
|
|
3554
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3555
|
-
});
|
|
3556
|
-
return retVal;
|
|
3557
|
-
};
|
|
3558
|
-
const de_ColumnSelector = (output, context) => {
|
|
3559
|
-
return {
|
|
3560
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3561
|
-
Regex: (0, smithy_client_1.expectString)(output.Regex),
|
|
3562
|
-
};
|
|
3563
|
-
};
|
|
3564
|
-
const de_ColumnSelectorList = (output, context) => {
|
|
3565
|
-
const retVal = (output || [])
|
|
3566
|
-
.filter((e) => e != null)
|
|
3567
|
-
.map((entry) => {
|
|
3568
|
-
if (entry === null) {
|
|
3569
|
-
return null;
|
|
3570
|
-
}
|
|
3571
|
-
return de_ColumnSelector(entry, context);
|
|
3572
|
-
});
|
|
3573
|
-
return retVal;
|
|
3574
|
-
};
|
|
3575
|
-
const de_ColumnStatisticsConfiguration = (output, context) => {
|
|
3576
|
-
return {
|
|
3577
|
-
Selectors: output.Selectors != null ? de_ColumnSelectorList(output.Selectors, context) : undefined,
|
|
3578
|
-
Statistics: output.Statistics != null ? de_StatisticsConfiguration(output.Statistics, context) : undefined,
|
|
3579
|
-
};
|
|
3580
|
-
};
|
|
3581
|
-
const de_ColumnStatisticsConfigurationList = (output, context) => {
|
|
3582
|
-
const retVal = (output || [])
|
|
3583
|
-
.filter((e) => e != null)
|
|
3584
|
-
.map((entry) => {
|
|
3585
|
-
if (entry === null) {
|
|
3586
|
-
return null;
|
|
3587
|
-
}
|
|
3588
|
-
return de_ColumnStatisticsConfiguration(entry, context);
|
|
3589
|
-
});
|
|
3590
|
-
return retVal;
|
|
3591
|
-
};
|
|
3592
|
-
const de_ConditionExpression = (output, context) => {
|
|
3593
|
-
return {
|
|
3594
|
-
Condition: (0, smithy_client_1.expectString)(output.Condition),
|
|
3595
|
-
TargetColumn: (0, smithy_client_1.expectString)(output.TargetColumn),
|
|
3596
|
-
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
3597
|
-
};
|
|
3598
|
-
};
|
|
3599
|
-
const de_ConditionExpressionList = (output, context) => {
|
|
3600
|
-
const retVal = (output || [])
|
|
3601
|
-
.filter((e) => e != null)
|
|
3602
|
-
.map((entry) => {
|
|
3603
|
-
if (entry === null) {
|
|
3604
|
-
return null;
|
|
3605
|
-
}
|
|
3606
|
-
return de_ConditionExpression(entry, context);
|
|
3607
|
-
});
|
|
3608
|
-
return retVal;
|
|
3609
|
-
};
|
|
3610
|
-
const de_CsvOptions = (output, context) => {
|
|
3611
|
-
return {
|
|
3612
|
-
Delimiter: (0, smithy_client_1.expectString)(output.Delimiter),
|
|
3613
|
-
HeaderRow: (0, smithy_client_1.expectBoolean)(output.HeaderRow),
|
|
3614
|
-
};
|
|
3615
|
-
};
|
|
3616
|
-
const de_CsvOutputOptions = (output, context) => {
|
|
3617
|
-
return {
|
|
3618
|
-
Delimiter: (0, smithy_client_1.expectString)(output.Delimiter),
|
|
3619
|
-
};
|
|
3620
|
-
};
|
|
3621
|
-
const de_DatabaseInputDefinition = (output, context) => {
|
|
3622
|
-
return {
|
|
3623
|
-
DatabaseTableName: (0, smithy_client_1.expectString)(output.DatabaseTableName),
|
|
3624
|
-
GlueConnectionName: (0, smithy_client_1.expectString)(output.GlueConnectionName),
|
|
3625
|
-
QueryString: (0, smithy_client_1.expectString)(output.QueryString),
|
|
3626
|
-
TempDirectory: output.TempDirectory != null ? de_S3Location(output.TempDirectory, context) : undefined,
|
|
3627
|
-
};
|
|
3628
|
-
};
|
|
3629
|
-
const de_DatabaseOutput = (output, context) => {
|
|
3630
|
-
return {
|
|
3631
|
-
DatabaseOptions: output.DatabaseOptions != null ? de_DatabaseTableOutputOptions(output.DatabaseOptions, context) : undefined,
|
|
3632
|
-
DatabaseOutputMode: (0, smithy_client_1.expectString)(output.DatabaseOutputMode),
|
|
3633
|
-
GlueConnectionName: (0, smithy_client_1.expectString)(output.GlueConnectionName),
|
|
3634
|
-
};
|
|
3635
|
-
};
|
|
3636
|
-
const de_DatabaseOutputList = (output, context) => {
|
|
3637
|
-
const retVal = (output || [])
|
|
3638
|
-
.filter((e) => e != null)
|
|
3639
|
-
.map((entry) => {
|
|
3640
|
-
if (entry === null) {
|
|
3641
|
-
return null;
|
|
3642
|
-
}
|
|
3643
|
-
return de_DatabaseOutput(entry, context);
|
|
3644
|
-
});
|
|
3645
|
-
return retVal;
|
|
3646
|
-
};
|
|
3647
|
-
const de_DatabaseTableOutputOptions = (output, context) => {
|
|
3648
|
-
return {
|
|
3649
|
-
TableName: (0, smithy_client_1.expectString)(output.TableName),
|
|
3650
|
-
TempDirectory: output.TempDirectory != null ? de_S3Location(output.TempDirectory, context) : undefined,
|
|
3651
|
-
};
|
|
3652
|
-
};
|
|
3653
|
-
const de_DataCatalogInputDefinition = (output, context) => {
|
|
3654
|
-
return {
|
|
3655
|
-
CatalogId: (0, smithy_client_1.expectString)(output.CatalogId),
|
|
3656
|
-
DatabaseName: (0, smithy_client_1.expectString)(output.DatabaseName),
|
|
3657
|
-
TableName: (0, smithy_client_1.expectString)(output.TableName),
|
|
3658
|
-
TempDirectory: output.TempDirectory != null ? de_S3Location(output.TempDirectory, context) : undefined,
|
|
3659
|
-
};
|
|
3660
|
-
};
|
|
3661
|
-
const de_DataCatalogOutput = (output, context) => {
|
|
3662
|
-
return {
|
|
3663
|
-
CatalogId: (0, smithy_client_1.expectString)(output.CatalogId),
|
|
3664
|
-
DatabaseName: (0, smithy_client_1.expectString)(output.DatabaseName),
|
|
3665
|
-
DatabaseOptions: output.DatabaseOptions != null ? de_DatabaseTableOutputOptions(output.DatabaseOptions, context) : undefined,
|
|
3666
|
-
Overwrite: (0, smithy_client_1.expectBoolean)(output.Overwrite),
|
|
3667
|
-
S3Options: output.S3Options != null ? de_S3TableOutputOptions(output.S3Options, context) : undefined,
|
|
3668
|
-
TableName: (0, smithy_client_1.expectString)(output.TableName),
|
|
3669
|
-
};
|
|
3670
|
-
};
|
|
3671
|
-
const de_DataCatalogOutputList = (output, context) => {
|
|
3672
|
-
const retVal = (output || [])
|
|
3673
|
-
.filter((e) => e != null)
|
|
3674
|
-
.map((entry) => {
|
|
3675
|
-
if (entry === null) {
|
|
3676
|
-
return null;
|
|
3677
|
-
}
|
|
3678
|
-
return de_DataCatalogOutput(entry, context);
|
|
3679
|
-
});
|
|
3680
|
-
return retVal;
|
|
3681
|
-
};
|
|
3682
|
-
const de_Dataset = (output, context) => {
|
|
3683
|
-
return {
|
|
3684
|
-
AccountId: (0, smithy_client_1.expectString)(output.AccountId),
|
|
3685
|
-
CreateDate: output.CreateDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateDate))) : undefined,
|
|
3686
|
-
CreatedBy: (0, smithy_client_1.expectString)(output.CreatedBy),
|
|
3687
|
-
Format: (0, smithy_client_1.expectString)(output.Format),
|
|
3688
|
-
FormatOptions: output.FormatOptions != null ? de_FormatOptions(output.FormatOptions, context) : undefined,
|
|
3689
|
-
Input: output.Input != null ? de_Input(output.Input, context) : undefined,
|
|
3690
|
-
LastModifiedBy: (0, smithy_client_1.expectString)(output.LastModifiedBy),
|
|
3691
|
-
LastModifiedDate: output.LastModifiedDate != null
|
|
3692
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedDate)))
|
|
3693
|
-
: undefined,
|
|
3694
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3695
|
-
PathOptions: output.PathOptions != null ? de_PathOptions(output.PathOptions, context) : undefined,
|
|
3696
|
-
ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
|
|
3697
|
-
Source: (0, smithy_client_1.expectString)(output.Source),
|
|
3698
|
-
Tags: output.Tags != null ? de_TagMap(output.Tags, context) : undefined,
|
|
3699
|
-
};
|
|
3700
|
-
};
|
|
3701
|
-
const de_DatasetList = (output, context) => {
|
|
3702
|
-
const retVal = (output || [])
|
|
3703
|
-
.filter((e) => e != null)
|
|
3704
|
-
.map((entry) => {
|
|
3705
|
-
if (entry === null) {
|
|
3706
|
-
return null;
|
|
3707
|
-
}
|
|
3708
|
-
return de_Dataset(entry, context);
|
|
3709
|
-
});
|
|
3710
|
-
return retVal;
|
|
3711
|
-
};
|
|
3712
|
-
const de_DatasetParameter = (output, context) => {
|
|
3713
|
-
return {
|
|
3714
|
-
CreateColumn: (0, smithy_client_1.expectBoolean)(output.CreateColumn),
|
|
3715
|
-
DatetimeOptions: output.DatetimeOptions != null ? de_DatetimeOptions(output.DatetimeOptions, context) : undefined,
|
|
3716
|
-
Filter: output.Filter != null ? de_FilterExpression(output.Filter, context) : undefined,
|
|
3717
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3718
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
3719
|
-
};
|
|
3720
|
-
};
|
|
3721
|
-
const de_DatetimeOptions = (output, context) => {
|
|
3722
|
-
return {
|
|
3723
|
-
Format: (0, smithy_client_1.expectString)(output.Format),
|
|
3724
|
-
LocaleCode: (0, smithy_client_1.expectString)(output.LocaleCode),
|
|
3725
|
-
TimezoneOffset: (0, smithy_client_1.expectString)(output.TimezoneOffset),
|
|
3726
|
-
};
|
|
3727
|
-
};
|
|
3728
|
-
const de_EntityDetectorConfiguration = (output, context) => {
|
|
3729
|
-
return {
|
|
3730
|
-
AllowedStatistics: output.AllowedStatistics != null ? de_AllowedStatisticList(output.AllowedStatistics, context) : undefined,
|
|
3731
|
-
EntityTypes: output.EntityTypes != null ? de_EntityTypeList(output.EntityTypes, context) : undefined,
|
|
3732
|
-
};
|
|
3733
|
-
};
|
|
3734
|
-
const de_EntityTypeList = (output, context) => {
|
|
3735
|
-
const retVal = (output || [])
|
|
3736
|
-
.filter((e) => e != null)
|
|
3737
|
-
.map((entry) => {
|
|
3738
|
-
if (entry === null) {
|
|
3739
|
-
return null;
|
|
3740
|
-
}
|
|
3741
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3742
|
-
});
|
|
3743
|
-
return retVal;
|
|
3744
|
-
};
|
|
3745
|
-
const de_ExcelOptions = (output, context) => {
|
|
3746
|
-
return {
|
|
3747
|
-
HeaderRow: (0, smithy_client_1.expectBoolean)(output.HeaderRow),
|
|
3748
|
-
SheetIndexes: output.SheetIndexes != null ? de_SheetIndexList(output.SheetIndexes, context) : undefined,
|
|
3749
|
-
SheetNames: output.SheetNames != null ? de_SheetNameList(output.SheetNames, context) : undefined,
|
|
3750
|
-
};
|
|
3751
|
-
};
|
|
3752
|
-
const de_FilesLimit = (output, context) => {
|
|
3753
|
-
return {
|
|
3754
|
-
MaxFiles: (0, smithy_client_1.expectInt32)(output.MaxFiles),
|
|
3755
|
-
Order: (0, smithy_client_1.expectString)(output.Order),
|
|
3756
|
-
OrderedBy: (0, smithy_client_1.expectString)(output.OrderedBy),
|
|
3757
|
-
};
|
|
3758
|
-
};
|
|
3759
|
-
const de_FilterExpression = (output, context) => {
|
|
3760
|
-
return {
|
|
3761
|
-
Expression: (0, smithy_client_1.expectString)(output.Expression),
|
|
3762
|
-
ValuesMap: output.ValuesMap != null ? de_ValuesMap(output.ValuesMap, context) : undefined,
|
|
3763
|
-
};
|
|
3764
|
-
};
|
|
3765
|
-
const de_FormatOptions = (output, context) => {
|
|
3766
|
-
return {
|
|
3767
|
-
Csv: output.Csv != null ? de_CsvOptions(output.Csv, context) : undefined,
|
|
3768
|
-
Excel: output.Excel != null ? de_ExcelOptions(output.Excel, context) : undefined,
|
|
3769
|
-
Json: output.Json != null ? de_JsonOptions(output.Json, context) : undefined,
|
|
3770
|
-
};
|
|
3771
|
-
};
|
|
3772
|
-
const de_Input = (output, context) => {
|
|
3773
|
-
return {
|
|
3774
|
-
DataCatalogInputDefinition: output.DataCatalogInputDefinition != null
|
|
3775
|
-
? de_DataCatalogInputDefinition(output.DataCatalogInputDefinition, context)
|
|
3776
|
-
: undefined,
|
|
3777
|
-
DatabaseInputDefinition: output.DatabaseInputDefinition != null
|
|
3778
|
-
? de_DatabaseInputDefinition(output.DatabaseInputDefinition, context)
|
|
3779
|
-
: undefined,
|
|
3780
|
-
Metadata: output.Metadata != null ? de_Metadata(output.Metadata, context) : undefined,
|
|
3781
|
-
S3InputDefinition: output.S3InputDefinition != null ? de_S3Location(output.S3InputDefinition, context) : undefined,
|
|
3782
|
-
};
|
|
3783
|
-
};
|
|
3784
|
-
const de_Job = (output, context) => {
|
|
3785
|
-
return {
|
|
3786
|
-
AccountId: (0, smithy_client_1.expectString)(output.AccountId),
|
|
3787
|
-
CreateDate: output.CreateDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateDate))) : undefined,
|
|
3788
|
-
CreatedBy: (0, smithy_client_1.expectString)(output.CreatedBy),
|
|
3789
|
-
DataCatalogOutputs: output.DataCatalogOutputs != null ? de_DataCatalogOutputList(output.DataCatalogOutputs, context) : undefined,
|
|
3790
|
-
DatabaseOutputs: output.DatabaseOutputs != null ? de_DatabaseOutputList(output.DatabaseOutputs, context) : undefined,
|
|
3791
|
-
DatasetName: (0, smithy_client_1.expectString)(output.DatasetName),
|
|
3792
|
-
EncryptionKeyArn: (0, smithy_client_1.expectString)(output.EncryptionKeyArn),
|
|
3793
|
-
EncryptionMode: (0, smithy_client_1.expectString)(output.EncryptionMode),
|
|
3794
|
-
JobSample: output.JobSample != null ? de_JobSample(output.JobSample, context) : undefined,
|
|
3795
|
-
LastModifiedBy: (0, smithy_client_1.expectString)(output.LastModifiedBy),
|
|
3796
|
-
LastModifiedDate: output.LastModifiedDate != null
|
|
3797
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedDate)))
|
|
3798
|
-
: undefined,
|
|
3799
|
-
LogSubscription: (0, smithy_client_1.expectString)(output.LogSubscription),
|
|
3800
|
-
MaxCapacity: (0, smithy_client_1.expectInt32)(output.MaxCapacity),
|
|
3801
|
-
MaxRetries: (0, smithy_client_1.expectInt32)(output.MaxRetries),
|
|
3802
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3803
|
-
Outputs: output.Outputs != null ? de_OutputList(output.Outputs, context) : undefined,
|
|
3804
|
-
ProjectName: (0, smithy_client_1.expectString)(output.ProjectName),
|
|
3805
|
-
RecipeReference: output.RecipeReference != null ? de_RecipeReference(output.RecipeReference, context) : undefined,
|
|
3806
|
-
ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
|
|
3807
|
-
RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
|
|
3808
|
-
Tags: output.Tags != null ? de_TagMap(output.Tags, context) : undefined,
|
|
3809
|
-
Timeout: (0, smithy_client_1.expectInt32)(output.Timeout),
|
|
3810
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
3811
|
-
ValidationConfigurations: output.ValidationConfigurations != null
|
|
3812
|
-
? de_ValidationConfigurationList(output.ValidationConfigurations, context)
|
|
3813
|
-
: undefined,
|
|
3814
|
-
};
|
|
3815
|
-
};
|
|
3816
|
-
const de_JobList = (output, context) => {
|
|
3817
|
-
const retVal = (output || [])
|
|
3818
|
-
.filter((e) => e != null)
|
|
3819
|
-
.map((entry) => {
|
|
3820
|
-
if (entry === null) {
|
|
3821
|
-
return null;
|
|
3822
|
-
}
|
|
3823
|
-
return de_Job(entry, context);
|
|
3824
|
-
});
|
|
3825
|
-
return retVal;
|
|
3826
|
-
};
|
|
3827
|
-
const de_JobNameList = (output, context) => {
|
|
3828
|
-
const retVal = (output || [])
|
|
3829
|
-
.filter((e) => e != null)
|
|
3830
|
-
.map((entry) => {
|
|
3831
|
-
if (entry === null) {
|
|
3832
|
-
return null;
|
|
3833
|
-
}
|
|
3834
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3835
|
-
});
|
|
3836
|
-
return retVal;
|
|
3837
|
-
};
|
|
3838
|
-
const de_JobRun = (output, context) => {
|
|
3839
|
-
return {
|
|
3840
|
-
Attempt: (0, smithy_client_1.expectInt32)(output.Attempt),
|
|
3841
|
-
CompletedOn: output.CompletedOn != null
|
|
3842
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CompletedOn)))
|
|
3843
|
-
: undefined,
|
|
3844
|
-
DataCatalogOutputs: output.DataCatalogOutputs != null ? de_DataCatalogOutputList(output.DataCatalogOutputs, context) : undefined,
|
|
3845
|
-
DatabaseOutputs: output.DatabaseOutputs != null ? de_DatabaseOutputList(output.DatabaseOutputs, context) : undefined,
|
|
3846
|
-
DatasetName: (0, smithy_client_1.expectString)(output.DatasetName),
|
|
3847
|
-
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
3848
|
-
ExecutionTime: (0, smithy_client_1.expectInt32)(output.ExecutionTime),
|
|
3849
|
-
JobName: (0, smithy_client_1.expectString)(output.JobName),
|
|
3850
|
-
JobSample: output.JobSample != null ? de_JobSample(output.JobSample, context) : undefined,
|
|
3851
|
-
LogGroupName: (0, smithy_client_1.expectString)(output.LogGroupName),
|
|
3852
|
-
LogSubscription: (0, smithy_client_1.expectString)(output.LogSubscription),
|
|
3853
|
-
Outputs: output.Outputs != null ? de_OutputList(output.Outputs, context) : undefined,
|
|
3854
|
-
RecipeReference: output.RecipeReference != null ? de_RecipeReference(output.RecipeReference, context) : undefined,
|
|
3855
|
-
RunId: (0, smithy_client_1.expectString)(output.RunId),
|
|
3856
|
-
StartedBy: (0, smithy_client_1.expectString)(output.StartedBy),
|
|
3857
|
-
StartedOn: output.StartedOn != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartedOn))) : undefined,
|
|
3858
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
3859
|
-
ValidationConfigurations: output.ValidationConfigurations != null
|
|
3860
|
-
? de_ValidationConfigurationList(output.ValidationConfigurations, context)
|
|
3861
|
-
: undefined,
|
|
3862
|
-
};
|
|
3863
|
-
};
|
|
3864
|
-
const de_JobRunList = (output, context) => {
|
|
3865
|
-
const retVal = (output || [])
|
|
3866
|
-
.filter((e) => e != null)
|
|
3867
|
-
.map((entry) => {
|
|
3868
|
-
if (entry === null) {
|
|
3869
|
-
return null;
|
|
3870
|
-
}
|
|
3871
|
-
return de_JobRun(entry, context);
|
|
3872
|
-
});
|
|
3873
|
-
return retVal;
|
|
3874
|
-
};
|
|
3875
|
-
const de_JobSample = (output, context) => {
|
|
3876
|
-
return {
|
|
3877
|
-
Mode: (0, smithy_client_1.expectString)(output.Mode),
|
|
3878
|
-
Size: (0, smithy_client_1.expectLong)(output.Size),
|
|
3879
|
-
};
|
|
3880
|
-
};
|
|
3881
|
-
const de_JsonOptions = (output, context) => {
|
|
3882
|
-
return {
|
|
3883
|
-
MultiLine: (0, smithy_client_1.expectBoolean)(output.MultiLine),
|
|
3884
|
-
};
|
|
3885
|
-
};
|
|
3886
|
-
const de_Metadata = (output, context) => {
|
|
3887
|
-
return {
|
|
3888
|
-
SourceArn: (0, smithy_client_1.expectString)(output.SourceArn),
|
|
3889
|
-
};
|
|
3890
|
-
};
|
|
3891
|
-
const de_Output = (output, context) => {
|
|
3892
|
-
return {
|
|
3893
|
-
CompressionFormat: (0, smithy_client_1.expectString)(output.CompressionFormat),
|
|
3894
|
-
Format: (0, smithy_client_1.expectString)(output.Format),
|
|
3895
|
-
FormatOptions: output.FormatOptions != null ? de_OutputFormatOptions(output.FormatOptions, context) : undefined,
|
|
3896
|
-
Location: output.Location != null ? de_S3Location(output.Location, context) : undefined,
|
|
3897
|
-
MaxOutputFiles: (0, smithy_client_1.expectInt32)(output.MaxOutputFiles),
|
|
3898
|
-
Overwrite: (0, smithy_client_1.expectBoolean)(output.Overwrite),
|
|
3899
|
-
PartitionColumns: output.PartitionColumns != null ? de_ColumnNameList(output.PartitionColumns, context) : undefined,
|
|
3900
|
-
};
|
|
3901
|
-
};
|
|
3902
|
-
const de_OutputFormatOptions = (output, context) => {
|
|
3903
|
-
return {
|
|
3904
|
-
Csv: output.Csv != null ? de_CsvOutputOptions(output.Csv, context) : undefined,
|
|
3905
|
-
};
|
|
3906
|
-
};
|
|
3907
|
-
const de_OutputList = (output, context) => {
|
|
3908
|
-
const retVal = (output || [])
|
|
3909
|
-
.filter((e) => e != null)
|
|
3910
|
-
.map((entry) => {
|
|
3911
|
-
if (entry === null) {
|
|
3912
|
-
return null;
|
|
3913
|
-
}
|
|
3914
|
-
return de_Output(entry, context);
|
|
3915
|
-
});
|
|
3916
|
-
return retVal;
|
|
3917
|
-
};
|
|
3918
|
-
const de_ParameterMap = (output, context) => {
|
|
3919
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3920
|
-
if (value === null) {
|
|
3921
|
-
return acc;
|
|
3922
|
-
}
|
|
3923
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
3924
|
-
return acc;
|
|
3925
|
-
}, {});
|
|
3926
|
-
};
|
|
3927
|
-
const de_PathOptions = (output, context) => {
|
|
3928
|
-
return {
|
|
3929
|
-
FilesLimit: output.FilesLimit != null ? de_FilesLimit(output.FilesLimit, context) : undefined,
|
|
3930
|
-
LastModifiedDateCondition: output.LastModifiedDateCondition != null
|
|
3931
|
-
? de_FilterExpression(output.LastModifiedDateCondition, context)
|
|
3932
|
-
: undefined,
|
|
3933
|
-
Parameters: output.Parameters != null ? de_PathParametersMap(output.Parameters, context) : undefined,
|
|
3934
|
-
};
|
|
3935
|
-
};
|
|
3936
|
-
const de_PathParametersMap = (output, context) => {
|
|
3937
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3938
|
-
if (value === null) {
|
|
3939
|
-
return acc;
|
|
3940
|
-
}
|
|
3941
|
-
acc[key] = de_DatasetParameter(value, context);
|
|
3942
|
-
return acc;
|
|
3943
|
-
}, {});
|
|
3944
|
-
};
|
|
3945
|
-
const de_ProfileConfiguration = (output, context) => {
|
|
3946
|
-
return {
|
|
3947
|
-
ColumnStatisticsConfigurations: output.ColumnStatisticsConfigurations != null
|
|
3948
|
-
? de_ColumnStatisticsConfigurationList(output.ColumnStatisticsConfigurations, context)
|
|
3949
|
-
: undefined,
|
|
3950
|
-
DatasetStatisticsConfiguration: output.DatasetStatisticsConfiguration != null
|
|
3951
|
-
? de_StatisticsConfiguration(output.DatasetStatisticsConfiguration, context)
|
|
3952
|
-
: undefined,
|
|
3953
|
-
EntityDetectorConfiguration: output.EntityDetectorConfiguration != null
|
|
3954
|
-
? de_EntityDetectorConfiguration(output.EntityDetectorConfiguration, context)
|
|
3955
|
-
: undefined,
|
|
3956
|
-
ProfileColumns: output.ProfileColumns != null ? de_ColumnSelectorList(output.ProfileColumns, context) : undefined,
|
|
3957
|
-
};
|
|
3958
|
-
};
|
|
3959
|
-
const de_Project = (output, context) => {
|
|
3960
|
-
return {
|
|
3961
|
-
AccountId: (0, smithy_client_1.expectString)(output.AccountId),
|
|
3962
|
-
CreateDate: output.CreateDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateDate))) : undefined,
|
|
3963
|
-
CreatedBy: (0, smithy_client_1.expectString)(output.CreatedBy),
|
|
3964
|
-
DatasetName: (0, smithy_client_1.expectString)(output.DatasetName),
|
|
3965
|
-
LastModifiedBy: (0, smithy_client_1.expectString)(output.LastModifiedBy),
|
|
3966
|
-
LastModifiedDate: output.LastModifiedDate != null
|
|
3967
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedDate)))
|
|
3968
|
-
: undefined,
|
|
3969
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3970
|
-
OpenDate: output.OpenDate != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.OpenDate))) : undefined,
|
|
3971
|
-
OpenedBy: (0, smithy_client_1.expectString)(output.OpenedBy),
|
|
3972
|
-
RecipeName: (0, smithy_client_1.expectString)(output.RecipeName),
|
|
3973
|
-
ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
|
|
3974
|
-
RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
|
|
3975
|
-
Sample: output.Sample != null ? de_Sample(output.Sample, context) : undefined,
|
|
3976
|
-
Tags: output.Tags != null ? de_TagMap(output.Tags, context) : undefined,
|
|
3977
|
-
};
|
|
3978
|
-
};
|
|
3979
|
-
const de_ProjectList = (output, context) => {
|
|
3980
|
-
const retVal = (output || [])
|
|
3981
|
-
.filter((e) => e != null)
|
|
3982
|
-
.map((entry) => {
|
|
3983
|
-
if (entry === null) {
|
|
3984
|
-
return null;
|
|
3985
|
-
}
|
|
3986
|
-
return de_Project(entry, context);
|
|
3987
|
-
});
|
|
3988
|
-
return retVal;
|
|
3000
|
+
return retVal;
|
|
3989
3001
|
};
|
|
3990
3002
|
const de_Recipe = (output, context) => {
|
|
3991
|
-
return {
|
|
3992
|
-
CreateDate:
|
|
3993
|
-
CreatedBy:
|
|
3994
|
-
Description:
|
|
3995
|
-
LastModifiedBy:
|
|
3996
|
-
LastModifiedDate:
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
RecipeVersion: (0, smithy_client_1.expectString)(output.RecipeVersion),
|
|
4006
|
-
ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
|
|
4007
|
-
Steps: output.Steps != null ? de_RecipeStepList(output.Steps, context) : undefined,
|
|
4008
|
-
Tags: output.Tags != null ? de_TagMap(output.Tags, context) : undefined,
|
|
4009
|
-
};
|
|
4010
|
-
};
|
|
4011
|
-
const de_RecipeAction = (output, context) => {
|
|
4012
|
-
return {
|
|
4013
|
-
Operation: (0, smithy_client_1.expectString)(output.Operation),
|
|
4014
|
-
Parameters: output.Parameters != null ? de_ParameterMap(output.Parameters, context) : undefined,
|
|
4015
|
-
};
|
|
4016
|
-
};
|
|
4017
|
-
const de_RecipeErrorList = (output, context) => {
|
|
4018
|
-
const retVal = (output || [])
|
|
4019
|
-
.filter((e) => e != null)
|
|
4020
|
-
.map((entry) => {
|
|
4021
|
-
if (entry === null) {
|
|
4022
|
-
return null;
|
|
4023
|
-
}
|
|
4024
|
-
return de_RecipeVersionErrorDetail(entry, context);
|
|
3003
|
+
return (0, smithy_client_1.take)(output, {
|
|
3004
|
+
CreateDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3005
|
+
CreatedBy: smithy_client_1.expectString,
|
|
3006
|
+
Description: smithy_client_1.expectString,
|
|
3007
|
+
LastModifiedBy: smithy_client_1.expectString,
|
|
3008
|
+
LastModifiedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3009
|
+
Name: smithy_client_1.expectString,
|
|
3010
|
+
ProjectName: smithy_client_1.expectString,
|
|
3011
|
+
PublishedBy: smithy_client_1.expectString,
|
|
3012
|
+
PublishedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3013
|
+
RecipeVersion: smithy_client_1.expectString,
|
|
3014
|
+
ResourceArn: smithy_client_1.expectString,
|
|
3015
|
+
Steps: smithy_client_1._json,
|
|
3016
|
+
Tags: smithy_client_1._json,
|
|
4025
3017
|
});
|
|
4026
|
-
return retVal;
|
|
4027
3018
|
};
|
|
4028
3019
|
const de_RecipeList = (output, context) => {
|
|
4029
3020
|
const retVal = (output || [])
|
|
4030
3021
|
.filter((e) => e != null)
|
|
4031
3022
|
.map((entry) => {
|
|
4032
|
-
if (entry === null) {
|
|
4033
|
-
return null;
|
|
4034
|
-
}
|
|
4035
3023
|
return de_Recipe(entry, context);
|
|
4036
3024
|
});
|
|
4037
3025
|
return retVal;
|
|
4038
3026
|
};
|
|
4039
|
-
const de_RecipeReference = (output, context) => {
|
|
4040
|
-
return {
|
|
4041
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4042
|
-
RecipeVersion: (0, smithy_client_1.expectString)(output.RecipeVersion),
|
|
4043
|
-
};
|
|
4044
|
-
};
|
|
4045
|
-
const de_RecipeStep = (output, context) => {
|
|
4046
|
-
return {
|
|
4047
|
-
Action: output.Action != null ? de_RecipeAction(output.Action, context) : undefined,
|
|
4048
|
-
ConditionExpressions: output.ConditionExpressions != null
|
|
4049
|
-
? de_ConditionExpressionList(output.ConditionExpressions, context)
|
|
4050
|
-
: undefined,
|
|
4051
|
-
};
|
|
4052
|
-
};
|
|
4053
|
-
const de_RecipeStepList = (output, context) => {
|
|
4054
|
-
const retVal = (output || [])
|
|
4055
|
-
.filter((e) => e != null)
|
|
4056
|
-
.map((entry) => {
|
|
4057
|
-
if (entry === null) {
|
|
4058
|
-
return null;
|
|
4059
|
-
}
|
|
4060
|
-
return de_RecipeStep(entry, context);
|
|
4061
|
-
});
|
|
4062
|
-
return retVal;
|
|
4063
|
-
};
|
|
4064
|
-
const de_RecipeVersionErrorDetail = (output, context) => {
|
|
4065
|
-
return {
|
|
4066
|
-
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
4067
|
-
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
4068
|
-
RecipeVersion: (0, smithy_client_1.expectString)(output.RecipeVersion),
|
|
4069
|
-
};
|
|
4070
|
-
};
|
|
4071
3027
|
const de_Rule = (output, context) => {
|
|
4072
|
-
return {
|
|
4073
|
-
CheckExpression:
|
|
4074
|
-
ColumnSelectors:
|
|
4075
|
-
Disabled:
|
|
4076
|
-
Name:
|
|
4077
|
-
SubstitutionMap:
|
|
4078
|
-
Threshold:
|
|
4079
|
-
};
|
|
3028
|
+
return (0, smithy_client_1.take)(output, {
|
|
3029
|
+
CheckExpression: smithy_client_1.expectString,
|
|
3030
|
+
ColumnSelectors: smithy_client_1._json,
|
|
3031
|
+
Disabled: smithy_client_1.expectBoolean,
|
|
3032
|
+
Name: smithy_client_1.expectString,
|
|
3033
|
+
SubstitutionMap: smithy_client_1._json,
|
|
3034
|
+
Threshold: (_) => de_Threshold(_, context),
|
|
3035
|
+
});
|
|
4080
3036
|
};
|
|
4081
3037
|
const de_RuleList = (output, context) => {
|
|
4082
3038
|
const retVal = (output || [])
|
|
4083
3039
|
.filter((e) => e != null)
|
|
4084
3040
|
.map((entry) => {
|
|
4085
|
-
if (entry === null) {
|
|
4086
|
-
return null;
|
|
4087
|
-
}
|
|
4088
3041
|
return de_Rule(entry, context);
|
|
4089
3042
|
});
|
|
4090
3043
|
return retVal;
|
|
4091
3044
|
};
|
|
4092
3045
|
const de_RulesetItem = (output, context) => {
|
|
4093
|
-
return {
|
|
4094
|
-
AccountId:
|
|
4095
|
-
CreateDate:
|
|
4096
|
-
CreatedBy:
|
|
4097
|
-
Description:
|
|
4098
|
-
LastModifiedBy:
|
|
4099
|
-
LastModifiedDate:
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
TargetArn: (0, smithy_client_1.expectString)(output.TargetArn),
|
|
4107
|
-
};
|
|
3046
|
+
return (0, smithy_client_1.take)(output, {
|
|
3047
|
+
AccountId: smithy_client_1.expectString,
|
|
3048
|
+
CreateDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3049
|
+
CreatedBy: smithy_client_1.expectString,
|
|
3050
|
+
Description: smithy_client_1.expectString,
|
|
3051
|
+
LastModifiedBy: smithy_client_1.expectString,
|
|
3052
|
+
LastModifiedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3053
|
+
Name: smithy_client_1.expectString,
|
|
3054
|
+
ResourceArn: smithy_client_1.expectString,
|
|
3055
|
+
RuleCount: smithy_client_1.expectInt32,
|
|
3056
|
+
Tags: smithy_client_1._json,
|
|
3057
|
+
TargetArn: smithy_client_1.expectString,
|
|
3058
|
+
});
|
|
4108
3059
|
};
|
|
4109
3060
|
const de_RulesetItemList = (output, context) => {
|
|
4110
3061
|
const retVal = (output || [])
|
|
4111
3062
|
.filter((e) => e != null)
|
|
4112
3063
|
.map((entry) => {
|
|
4113
|
-
if (entry === null) {
|
|
4114
|
-
return null;
|
|
4115
|
-
}
|
|
4116
3064
|
return de_RulesetItem(entry, context);
|
|
4117
3065
|
});
|
|
4118
3066
|
return retVal;
|
|
4119
3067
|
};
|
|
4120
|
-
const de_S3Location = (output, context) => {
|
|
4121
|
-
return {
|
|
4122
|
-
Bucket: (0, smithy_client_1.expectString)(output.Bucket),
|
|
4123
|
-
BucketOwner: (0, smithy_client_1.expectString)(output.BucketOwner),
|
|
4124
|
-
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
4125
|
-
};
|
|
4126
|
-
};
|
|
4127
|
-
const de_S3TableOutputOptions = (output, context) => {
|
|
4128
|
-
return {
|
|
4129
|
-
Location: output.Location != null ? de_S3Location(output.Location, context) : undefined,
|
|
4130
|
-
};
|
|
4131
|
-
};
|
|
4132
|
-
const de_Sample = (output, context) => {
|
|
4133
|
-
return {
|
|
4134
|
-
Size: (0, smithy_client_1.expectInt32)(output.Size),
|
|
4135
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
4136
|
-
};
|
|
4137
|
-
};
|
|
4138
3068
|
const de_Schedule = (output, context) => {
|
|
4139
|
-
return {
|
|
4140
|
-
AccountId:
|
|
4141
|
-
CreateDate:
|
|
4142
|
-
CreatedBy:
|
|
4143
|
-
CronExpression:
|
|
4144
|
-
JobNames:
|
|
4145
|
-
LastModifiedBy:
|
|
4146
|
-
LastModifiedDate:
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
Tags: output.Tags != null ? de_TagMap(output.Tags, context) : undefined,
|
|
4152
|
-
};
|
|
3069
|
+
return (0, smithy_client_1.take)(output, {
|
|
3070
|
+
AccountId: smithy_client_1.expectString,
|
|
3071
|
+
CreateDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3072
|
+
CreatedBy: smithy_client_1.expectString,
|
|
3073
|
+
CronExpression: smithy_client_1.expectString,
|
|
3074
|
+
JobNames: smithy_client_1._json,
|
|
3075
|
+
LastModifiedBy: smithy_client_1.expectString,
|
|
3076
|
+
LastModifiedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3077
|
+
Name: smithy_client_1.expectString,
|
|
3078
|
+
ResourceArn: smithy_client_1.expectString,
|
|
3079
|
+
Tags: smithy_client_1._json,
|
|
3080
|
+
});
|
|
4153
3081
|
};
|
|
4154
3082
|
const de_ScheduleList = (output, context) => {
|
|
4155
3083
|
const retVal = (output || [])
|
|
4156
3084
|
.filter((e) => e != null)
|
|
4157
3085
|
.map((entry) => {
|
|
4158
|
-
if (entry === null) {
|
|
4159
|
-
return null;
|
|
4160
|
-
}
|
|
4161
3086
|
return de_Schedule(entry, context);
|
|
4162
3087
|
});
|
|
4163
3088
|
return retVal;
|
|
4164
3089
|
};
|
|
4165
|
-
const de_SheetIndexList = (output, context) => {
|
|
4166
|
-
const retVal = (output || [])
|
|
4167
|
-
.filter((e) => e != null)
|
|
4168
|
-
.map((entry) => {
|
|
4169
|
-
if (entry === null) {
|
|
4170
|
-
return null;
|
|
4171
|
-
}
|
|
4172
|
-
return (0, smithy_client_1.expectInt32)(entry);
|
|
4173
|
-
});
|
|
4174
|
-
return retVal;
|
|
4175
|
-
};
|
|
4176
|
-
const de_SheetNameList = (output, context) => {
|
|
4177
|
-
const retVal = (output || [])
|
|
4178
|
-
.filter((e) => e != null)
|
|
4179
|
-
.map((entry) => {
|
|
4180
|
-
if (entry === null) {
|
|
4181
|
-
return null;
|
|
4182
|
-
}
|
|
4183
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
4184
|
-
});
|
|
4185
|
-
return retVal;
|
|
4186
|
-
};
|
|
4187
|
-
const de_StatisticList = (output, context) => {
|
|
4188
|
-
const retVal = (output || [])
|
|
4189
|
-
.filter((e) => e != null)
|
|
4190
|
-
.map((entry) => {
|
|
4191
|
-
if (entry === null) {
|
|
4192
|
-
return null;
|
|
4193
|
-
}
|
|
4194
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
4195
|
-
});
|
|
4196
|
-
return retVal;
|
|
4197
|
-
};
|
|
4198
|
-
const de_StatisticOverride = (output, context) => {
|
|
4199
|
-
return {
|
|
4200
|
-
Parameters: output.Parameters != null ? de_ParameterMap(output.Parameters, context) : undefined,
|
|
4201
|
-
Statistic: (0, smithy_client_1.expectString)(output.Statistic),
|
|
4202
|
-
};
|
|
4203
|
-
};
|
|
4204
|
-
const de_StatisticOverrideList = (output, context) => {
|
|
4205
|
-
const retVal = (output || [])
|
|
4206
|
-
.filter((e) => e != null)
|
|
4207
|
-
.map((entry) => {
|
|
4208
|
-
if (entry === null) {
|
|
4209
|
-
return null;
|
|
4210
|
-
}
|
|
4211
|
-
return de_StatisticOverride(entry, context);
|
|
4212
|
-
});
|
|
4213
|
-
return retVal;
|
|
4214
|
-
};
|
|
4215
|
-
const de_StatisticsConfiguration = (output, context) => {
|
|
4216
|
-
return {
|
|
4217
|
-
IncludedStatistics: output.IncludedStatistics != null ? de_StatisticList(output.IncludedStatistics, context) : undefined,
|
|
4218
|
-
Overrides: output.Overrides != null ? de_StatisticOverrideList(output.Overrides, context) : undefined,
|
|
4219
|
-
};
|
|
4220
|
-
};
|
|
4221
|
-
const de_TagMap = (output, context) => {
|
|
4222
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4223
|
-
if (value === null) {
|
|
4224
|
-
return acc;
|
|
4225
|
-
}
|
|
4226
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
4227
|
-
return acc;
|
|
4228
|
-
}, {});
|
|
4229
|
-
};
|
|
4230
3090
|
const de_Threshold = (output, context) => {
|
|
4231
|
-
return {
|
|
4232
|
-
Type:
|
|
4233
|
-
Unit:
|
|
4234
|
-
Value:
|
|
4235
|
-
};
|
|
4236
|
-
};
|
|
4237
|
-
const de_ValidationConfiguration = (output, context) => {
|
|
4238
|
-
return {
|
|
4239
|
-
RulesetArn: (0, smithy_client_1.expectString)(output.RulesetArn),
|
|
4240
|
-
ValidationMode: (0, smithy_client_1.expectString)(output.ValidationMode),
|
|
4241
|
-
};
|
|
4242
|
-
};
|
|
4243
|
-
const de_ValidationConfigurationList = (output, context) => {
|
|
4244
|
-
const retVal = (output || [])
|
|
4245
|
-
.filter((e) => e != null)
|
|
4246
|
-
.map((entry) => {
|
|
4247
|
-
if (entry === null) {
|
|
4248
|
-
return null;
|
|
4249
|
-
}
|
|
4250
|
-
return de_ValidationConfiguration(entry, context);
|
|
3091
|
+
return (0, smithy_client_1.take)(output, {
|
|
3092
|
+
Type: smithy_client_1.expectString,
|
|
3093
|
+
Unit: smithy_client_1.expectString,
|
|
3094
|
+
Value: smithy_client_1.limitedParseDouble,
|
|
4251
3095
|
});
|
|
4252
|
-
return retVal;
|
|
4253
|
-
};
|
|
4254
|
-
const de_ValuesMap = (output, context) => {
|
|
4255
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
4256
|
-
if (value === null) {
|
|
4257
|
-
return acc;
|
|
4258
|
-
}
|
|
4259
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
4260
|
-
return acc;
|
|
4261
|
-
}, {});
|
|
4262
3096
|
};
|
|
4263
3097
|
const deserializeMetadata = (output) => ({
|
|
4264
3098
|
httpStatusCode: output.statusCode,
|