@aws-sdk/client-kinesis-analytics 3.312.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_json1_1.js +109 -1129
- package/dist-es/protocols/Aws_json1_1.js +110 -1130
- package/package.json +6 -6
|
@@ -8,42 +8,42 @@ const models_0_1 = require("../models/models_0");
|
|
|
8
8
|
const se_AddApplicationCloudWatchLoggingOptionCommand = async (input, context) => {
|
|
9
9
|
const headers = sharedHeaders("AddApplicationCloudWatchLoggingOption");
|
|
10
10
|
let body;
|
|
11
|
-
body = JSON.stringify(
|
|
11
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
12
12
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
13
13
|
};
|
|
14
14
|
exports.se_AddApplicationCloudWatchLoggingOptionCommand = se_AddApplicationCloudWatchLoggingOptionCommand;
|
|
15
15
|
const se_AddApplicationInputCommand = async (input, context) => {
|
|
16
16
|
const headers = sharedHeaders("AddApplicationInput");
|
|
17
17
|
let body;
|
|
18
|
-
body = JSON.stringify(
|
|
18
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
19
19
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
20
20
|
};
|
|
21
21
|
exports.se_AddApplicationInputCommand = se_AddApplicationInputCommand;
|
|
22
22
|
const se_AddApplicationInputProcessingConfigurationCommand = async (input, context) => {
|
|
23
23
|
const headers = sharedHeaders("AddApplicationInputProcessingConfiguration");
|
|
24
24
|
let body;
|
|
25
|
-
body = JSON.stringify(
|
|
25
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
26
26
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
27
27
|
};
|
|
28
28
|
exports.se_AddApplicationInputProcessingConfigurationCommand = se_AddApplicationInputProcessingConfigurationCommand;
|
|
29
29
|
const se_AddApplicationOutputCommand = async (input, context) => {
|
|
30
30
|
const headers = sharedHeaders("AddApplicationOutput");
|
|
31
31
|
let body;
|
|
32
|
-
body = JSON.stringify(
|
|
32
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
33
33
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
34
34
|
};
|
|
35
35
|
exports.se_AddApplicationOutputCommand = se_AddApplicationOutputCommand;
|
|
36
36
|
const se_AddApplicationReferenceDataSourceCommand = async (input, context) => {
|
|
37
37
|
const headers = sharedHeaders("AddApplicationReferenceDataSource");
|
|
38
38
|
let body;
|
|
39
|
-
body = JSON.stringify(
|
|
39
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
40
40
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
41
|
};
|
|
42
42
|
exports.se_AddApplicationReferenceDataSourceCommand = se_AddApplicationReferenceDataSourceCommand;
|
|
43
43
|
const se_CreateApplicationCommand = async (input, context) => {
|
|
44
44
|
const headers = sharedHeaders("CreateApplication");
|
|
45
45
|
let body;
|
|
46
|
-
body = JSON.stringify(
|
|
46
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
47
47
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
48
48
|
};
|
|
49
49
|
exports.se_CreateApplicationCommand = se_CreateApplicationCommand;
|
|
@@ -57,91 +57,91 @@ exports.se_DeleteApplicationCommand = se_DeleteApplicationCommand;
|
|
|
57
57
|
const se_DeleteApplicationCloudWatchLoggingOptionCommand = async (input, context) => {
|
|
58
58
|
const headers = sharedHeaders("DeleteApplicationCloudWatchLoggingOption");
|
|
59
59
|
let body;
|
|
60
|
-
body = JSON.stringify(
|
|
60
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
61
61
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
62
62
|
};
|
|
63
63
|
exports.se_DeleteApplicationCloudWatchLoggingOptionCommand = se_DeleteApplicationCloudWatchLoggingOptionCommand;
|
|
64
64
|
const se_DeleteApplicationInputProcessingConfigurationCommand = async (input, context) => {
|
|
65
65
|
const headers = sharedHeaders("DeleteApplicationInputProcessingConfiguration");
|
|
66
66
|
let body;
|
|
67
|
-
body = JSON.stringify(
|
|
67
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
68
68
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
69
69
|
};
|
|
70
70
|
exports.se_DeleteApplicationInputProcessingConfigurationCommand = se_DeleteApplicationInputProcessingConfigurationCommand;
|
|
71
71
|
const se_DeleteApplicationOutputCommand = async (input, context) => {
|
|
72
72
|
const headers = sharedHeaders("DeleteApplicationOutput");
|
|
73
73
|
let body;
|
|
74
|
-
body = JSON.stringify(
|
|
74
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
75
75
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
76
76
|
};
|
|
77
77
|
exports.se_DeleteApplicationOutputCommand = se_DeleteApplicationOutputCommand;
|
|
78
78
|
const se_DeleteApplicationReferenceDataSourceCommand = async (input, context) => {
|
|
79
79
|
const headers = sharedHeaders("DeleteApplicationReferenceDataSource");
|
|
80
80
|
let body;
|
|
81
|
-
body = JSON.stringify(
|
|
81
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
82
82
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
83
83
|
};
|
|
84
84
|
exports.se_DeleteApplicationReferenceDataSourceCommand = se_DeleteApplicationReferenceDataSourceCommand;
|
|
85
85
|
const se_DescribeApplicationCommand = async (input, context) => {
|
|
86
86
|
const headers = sharedHeaders("DescribeApplication");
|
|
87
87
|
let body;
|
|
88
|
-
body = JSON.stringify(
|
|
88
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
89
89
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
90
90
|
};
|
|
91
91
|
exports.se_DescribeApplicationCommand = se_DescribeApplicationCommand;
|
|
92
92
|
const se_DiscoverInputSchemaCommand = async (input, context) => {
|
|
93
93
|
const headers = sharedHeaders("DiscoverInputSchema");
|
|
94
94
|
let body;
|
|
95
|
-
body = JSON.stringify(
|
|
95
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
96
96
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
97
97
|
};
|
|
98
98
|
exports.se_DiscoverInputSchemaCommand = se_DiscoverInputSchemaCommand;
|
|
99
99
|
const se_ListApplicationsCommand = async (input, context) => {
|
|
100
100
|
const headers = sharedHeaders("ListApplications");
|
|
101
101
|
let body;
|
|
102
|
-
body = JSON.stringify(
|
|
102
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
103
103
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
104
104
|
};
|
|
105
105
|
exports.se_ListApplicationsCommand = se_ListApplicationsCommand;
|
|
106
106
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
107
107
|
const headers = sharedHeaders("ListTagsForResource");
|
|
108
108
|
let body;
|
|
109
|
-
body = JSON.stringify(
|
|
109
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
110
110
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
111
111
|
};
|
|
112
112
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
113
113
|
const se_StartApplicationCommand = async (input, context) => {
|
|
114
114
|
const headers = sharedHeaders("StartApplication");
|
|
115
115
|
let body;
|
|
116
|
-
body = JSON.stringify(
|
|
116
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
117
117
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
118
118
|
};
|
|
119
119
|
exports.se_StartApplicationCommand = se_StartApplicationCommand;
|
|
120
120
|
const se_StopApplicationCommand = async (input, context) => {
|
|
121
121
|
const headers = sharedHeaders("StopApplication");
|
|
122
122
|
let body;
|
|
123
|
-
body = JSON.stringify(
|
|
123
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
124
124
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
125
125
|
};
|
|
126
126
|
exports.se_StopApplicationCommand = se_StopApplicationCommand;
|
|
127
127
|
const se_TagResourceCommand = async (input, context) => {
|
|
128
128
|
const headers = sharedHeaders("TagResource");
|
|
129
129
|
let body;
|
|
130
|
-
body = JSON.stringify(
|
|
130
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
131
131
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
132
132
|
};
|
|
133
133
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
134
134
|
const se_UntagResourceCommand = async (input, context) => {
|
|
135
135
|
const headers = sharedHeaders("UntagResource");
|
|
136
136
|
let body;
|
|
137
|
-
body = JSON.stringify(
|
|
137
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
138
138
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
139
139
|
};
|
|
140
140
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
141
141
|
const se_UpdateApplicationCommand = async (input, context) => {
|
|
142
142
|
const headers = sharedHeaders("UpdateApplication");
|
|
143
143
|
let body;
|
|
144
|
-
body = JSON.stringify(
|
|
144
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
145
145
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
146
146
|
};
|
|
147
147
|
exports.se_UpdateApplicationCommand = se_UpdateApplicationCommand;
|
|
@@ -151,12 +151,12 @@ const de_AddApplicationCloudWatchLoggingOptionCommand = async (output, context)
|
|
|
151
151
|
}
|
|
152
152
|
const data = await parseBody(output.body, context);
|
|
153
153
|
let contents = {};
|
|
154
|
-
contents =
|
|
154
|
+
contents = (0, smithy_client_1._json)(data);
|
|
155
155
|
const response = {
|
|
156
156
|
$metadata: deserializeMetadata(output),
|
|
157
157
|
...contents,
|
|
158
158
|
};
|
|
159
|
-
return
|
|
159
|
+
return response;
|
|
160
160
|
};
|
|
161
161
|
exports.de_AddApplicationCloudWatchLoggingOptionCommand = de_AddApplicationCloudWatchLoggingOptionCommand;
|
|
162
162
|
const de_AddApplicationCloudWatchLoggingOptionCommandError = async (output, context) => {
|
|
@@ -183,10 +183,9 @@ const de_AddApplicationCloudWatchLoggingOptionCommandError = async (output, cont
|
|
|
183
183
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
184
184
|
default:
|
|
185
185
|
const parsedBody = parsedOutput.body;
|
|
186
|
-
|
|
186
|
+
return throwDefaultError({
|
|
187
187
|
output,
|
|
188
188
|
parsedBody,
|
|
189
|
-
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
190
189
|
errorCode,
|
|
191
190
|
});
|
|
192
191
|
}
|
|
@@ -197,12 +196,12 @@ const de_AddApplicationInputCommand = async (output, context) => {
|
|
|
197
196
|
}
|
|
198
197
|
const data = await parseBody(output.body, context);
|
|
199
198
|
let contents = {};
|
|
200
|
-
contents =
|
|
199
|
+
contents = (0, smithy_client_1._json)(data);
|
|
201
200
|
const response = {
|
|
202
201
|
$metadata: deserializeMetadata(output),
|
|
203
202
|
...contents,
|
|
204
203
|
};
|
|
205
|
-
return
|
|
204
|
+
return response;
|
|
206
205
|
};
|
|
207
206
|
exports.de_AddApplicationInputCommand = de_AddApplicationInputCommand;
|
|
208
207
|
const de_AddApplicationInputCommandError = async (output, context) => {
|
|
@@ -232,10 +231,9 @@ const de_AddApplicationInputCommandError = async (output, context) => {
|
|
|
232
231
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
233
232
|
default:
|
|
234
233
|
const parsedBody = parsedOutput.body;
|
|
235
|
-
|
|
234
|
+
return throwDefaultError({
|
|
236
235
|
output,
|
|
237
236
|
parsedBody,
|
|
238
|
-
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
239
237
|
errorCode,
|
|
240
238
|
});
|
|
241
239
|
}
|
|
@@ -246,12 +244,12 @@ const de_AddApplicationInputProcessingConfigurationCommand = async (output, cont
|
|
|
246
244
|
}
|
|
247
245
|
const data = await parseBody(output.body, context);
|
|
248
246
|
let contents = {};
|
|
249
|
-
contents =
|
|
247
|
+
contents = (0, smithy_client_1._json)(data);
|
|
250
248
|
const response = {
|
|
251
249
|
$metadata: deserializeMetadata(output),
|
|
252
250
|
...contents,
|
|
253
251
|
};
|
|
254
|
-
return
|
|
252
|
+
return response;
|
|
255
253
|
};
|
|
256
254
|
exports.de_AddApplicationInputProcessingConfigurationCommand = de_AddApplicationInputProcessingConfigurationCommand;
|
|
257
255
|
const de_AddApplicationInputProcessingConfigurationCommandError = async (output, context) => {
|
|
@@ -278,10 +276,9 @@ const de_AddApplicationInputProcessingConfigurationCommandError = async (output,
|
|
|
278
276
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
279
277
|
default:
|
|
280
278
|
const parsedBody = parsedOutput.body;
|
|
281
|
-
|
|
279
|
+
return throwDefaultError({
|
|
282
280
|
output,
|
|
283
281
|
parsedBody,
|
|
284
|
-
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
285
282
|
errorCode,
|
|
286
283
|
});
|
|
287
284
|
}
|
|
@@ -292,12 +289,12 @@ const de_AddApplicationOutputCommand = async (output, context) => {
|
|
|
292
289
|
}
|
|
293
290
|
const data = await parseBody(output.body, context);
|
|
294
291
|
let contents = {};
|
|
295
|
-
contents =
|
|
292
|
+
contents = (0, smithy_client_1._json)(data);
|
|
296
293
|
const response = {
|
|
297
294
|
$metadata: deserializeMetadata(output),
|
|
298
295
|
...contents,
|
|
299
296
|
};
|
|
300
|
-
return
|
|
297
|
+
return response;
|
|
301
298
|
};
|
|
302
299
|
exports.de_AddApplicationOutputCommand = de_AddApplicationOutputCommand;
|
|
303
300
|
const de_AddApplicationOutputCommandError = async (output, context) => {
|
|
@@ -324,10 +321,9 @@ const de_AddApplicationOutputCommandError = async (output, context) => {
|
|
|
324
321
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
325
322
|
default:
|
|
326
323
|
const parsedBody = parsedOutput.body;
|
|
327
|
-
|
|
324
|
+
return throwDefaultError({
|
|
328
325
|
output,
|
|
329
326
|
parsedBody,
|
|
330
|
-
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
331
327
|
errorCode,
|
|
332
328
|
});
|
|
333
329
|
}
|
|
@@ -338,12 +334,12 @@ const de_AddApplicationReferenceDataSourceCommand = async (output, context) => {
|
|
|
338
334
|
}
|
|
339
335
|
const data = await parseBody(output.body, context);
|
|
340
336
|
let contents = {};
|
|
341
|
-
contents =
|
|
337
|
+
contents = (0, smithy_client_1._json)(data);
|
|
342
338
|
const response = {
|
|
343
339
|
$metadata: deserializeMetadata(output),
|
|
344
340
|
...contents,
|
|
345
341
|
};
|
|
346
|
-
return
|
|
342
|
+
return response;
|
|
347
343
|
};
|
|
348
344
|
exports.de_AddApplicationReferenceDataSourceCommand = de_AddApplicationReferenceDataSourceCommand;
|
|
349
345
|
const de_AddApplicationReferenceDataSourceCommandError = async (output, context) => {
|
|
@@ -370,10 +366,9 @@ const de_AddApplicationReferenceDataSourceCommandError = async (output, context)
|
|
|
370
366
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
371
367
|
default:
|
|
372
368
|
const parsedBody = parsedOutput.body;
|
|
373
|
-
|
|
369
|
+
return throwDefaultError({
|
|
374
370
|
output,
|
|
375
371
|
parsedBody,
|
|
376
|
-
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
377
372
|
errorCode,
|
|
378
373
|
});
|
|
379
374
|
}
|
|
@@ -384,12 +379,12 @@ const de_CreateApplicationCommand = async (output, context) => {
|
|
|
384
379
|
}
|
|
385
380
|
const data = await parseBody(output.body, context);
|
|
386
381
|
let contents = {};
|
|
387
|
-
contents =
|
|
382
|
+
contents = (0, smithy_client_1._json)(data);
|
|
388
383
|
const response = {
|
|
389
384
|
$metadata: deserializeMetadata(output),
|
|
390
385
|
...contents,
|
|
391
386
|
};
|
|
392
|
-
return
|
|
387
|
+
return response;
|
|
393
388
|
};
|
|
394
389
|
exports.de_CreateApplicationCommand = de_CreateApplicationCommand;
|
|
395
390
|
const de_CreateApplicationCommandError = async (output, context) => {
|
|
@@ -419,10 +414,9 @@ const de_CreateApplicationCommandError = async (output, context) => {
|
|
|
419
414
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
420
415
|
default:
|
|
421
416
|
const parsedBody = parsedOutput.body;
|
|
422
|
-
|
|
417
|
+
return throwDefaultError({
|
|
423
418
|
output,
|
|
424
419
|
parsedBody,
|
|
425
|
-
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
426
420
|
errorCode,
|
|
427
421
|
});
|
|
428
422
|
}
|
|
@@ -433,12 +427,12 @@ const de_DeleteApplicationCommand = async (output, context) => {
|
|
|
433
427
|
}
|
|
434
428
|
const data = await parseBody(output.body, context);
|
|
435
429
|
let contents = {};
|
|
436
|
-
contents =
|
|
430
|
+
contents = (0, smithy_client_1._json)(data);
|
|
437
431
|
const response = {
|
|
438
432
|
$metadata: deserializeMetadata(output),
|
|
439
433
|
...contents,
|
|
440
434
|
};
|
|
441
|
-
return
|
|
435
|
+
return response;
|
|
442
436
|
};
|
|
443
437
|
exports.de_DeleteApplicationCommand = de_DeleteApplicationCommand;
|
|
444
438
|
const de_DeleteApplicationCommandError = async (output, context) => {
|
|
@@ -462,10 +456,9 @@ const de_DeleteApplicationCommandError = async (output, context) => {
|
|
|
462
456
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
463
457
|
default:
|
|
464
458
|
const parsedBody = parsedOutput.body;
|
|
465
|
-
|
|
459
|
+
return throwDefaultError({
|
|
466
460
|
output,
|
|
467
461
|
parsedBody,
|
|
468
|
-
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
469
462
|
errorCode,
|
|
470
463
|
});
|
|
471
464
|
}
|
|
@@ -476,12 +469,12 @@ const de_DeleteApplicationCloudWatchLoggingOptionCommand = async (output, contex
|
|
|
476
469
|
}
|
|
477
470
|
const data = await parseBody(output.body, context);
|
|
478
471
|
let contents = {};
|
|
479
|
-
contents =
|
|
472
|
+
contents = (0, smithy_client_1._json)(data);
|
|
480
473
|
const response = {
|
|
481
474
|
$metadata: deserializeMetadata(output),
|
|
482
475
|
...contents,
|
|
483
476
|
};
|
|
484
|
-
return
|
|
477
|
+
return response;
|
|
485
478
|
};
|
|
486
479
|
exports.de_DeleteApplicationCloudWatchLoggingOptionCommand = de_DeleteApplicationCloudWatchLoggingOptionCommand;
|
|
487
480
|
const de_DeleteApplicationCloudWatchLoggingOptionCommandError = async (output, context) => {
|
|
@@ -508,10 +501,9 @@ const de_DeleteApplicationCloudWatchLoggingOptionCommandError = async (output, c
|
|
|
508
501
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
509
502
|
default:
|
|
510
503
|
const parsedBody = parsedOutput.body;
|
|
511
|
-
|
|
504
|
+
return throwDefaultError({
|
|
512
505
|
output,
|
|
513
506
|
parsedBody,
|
|
514
|
-
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
515
507
|
errorCode,
|
|
516
508
|
});
|
|
517
509
|
}
|
|
@@ -522,12 +514,12 @@ const de_DeleteApplicationInputProcessingConfigurationCommand = async (output, c
|
|
|
522
514
|
}
|
|
523
515
|
const data = await parseBody(output.body, context);
|
|
524
516
|
let contents = {};
|
|
525
|
-
contents =
|
|
517
|
+
contents = (0, smithy_client_1._json)(data);
|
|
526
518
|
const response = {
|
|
527
519
|
$metadata: deserializeMetadata(output),
|
|
528
520
|
...contents,
|
|
529
521
|
};
|
|
530
|
-
return
|
|
522
|
+
return response;
|
|
531
523
|
};
|
|
532
524
|
exports.de_DeleteApplicationInputProcessingConfigurationCommand = de_DeleteApplicationInputProcessingConfigurationCommand;
|
|
533
525
|
const de_DeleteApplicationInputProcessingConfigurationCommandError = async (output, context) => {
|
|
@@ -554,10 +546,9 @@ const de_DeleteApplicationInputProcessingConfigurationCommandError = async (outp
|
|
|
554
546
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
555
547
|
default:
|
|
556
548
|
const parsedBody = parsedOutput.body;
|
|
557
|
-
|
|
549
|
+
return throwDefaultError({
|
|
558
550
|
output,
|
|
559
551
|
parsedBody,
|
|
560
|
-
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
561
552
|
errorCode,
|
|
562
553
|
});
|
|
563
554
|
}
|
|
@@ -568,12 +559,12 @@ const de_DeleteApplicationOutputCommand = async (output, context) => {
|
|
|
568
559
|
}
|
|
569
560
|
const data = await parseBody(output.body, context);
|
|
570
561
|
let contents = {};
|
|
571
|
-
contents =
|
|
562
|
+
contents = (0, smithy_client_1._json)(data);
|
|
572
563
|
const response = {
|
|
573
564
|
$metadata: deserializeMetadata(output),
|
|
574
565
|
...contents,
|
|
575
566
|
};
|
|
576
|
-
return
|
|
567
|
+
return response;
|
|
577
568
|
};
|
|
578
569
|
exports.de_DeleteApplicationOutputCommand = de_DeleteApplicationOutputCommand;
|
|
579
570
|
const de_DeleteApplicationOutputCommandError = async (output, context) => {
|
|
@@ -600,10 +591,9 @@ const de_DeleteApplicationOutputCommandError = async (output, context) => {
|
|
|
600
591
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
601
592
|
default:
|
|
602
593
|
const parsedBody = parsedOutput.body;
|
|
603
|
-
|
|
594
|
+
return throwDefaultError({
|
|
604
595
|
output,
|
|
605
596
|
parsedBody,
|
|
606
|
-
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
607
597
|
errorCode,
|
|
608
598
|
});
|
|
609
599
|
}
|
|
@@ -614,12 +604,12 @@ const de_DeleteApplicationReferenceDataSourceCommand = async (output, context) =
|
|
|
614
604
|
}
|
|
615
605
|
const data = await parseBody(output.body, context);
|
|
616
606
|
let contents = {};
|
|
617
|
-
contents =
|
|
607
|
+
contents = (0, smithy_client_1._json)(data);
|
|
618
608
|
const response = {
|
|
619
609
|
$metadata: deserializeMetadata(output),
|
|
620
610
|
...contents,
|
|
621
611
|
};
|
|
622
|
-
return
|
|
612
|
+
return response;
|
|
623
613
|
};
|
|
624
614
|
exports.de_DeleteApplicationReferenceDataSourceCommand = de_DeleteApplicationReferenceDataSourceCommand;
|
|
625
615
|
const de_DeleteApplicationReferenceDataSourceCommandError = async (output, context) => {
|
|
@@ -646,10 +636,9 @@ const de_DeleteApplicationReferenceDataSourceCommandError = async (output, conte
|
|
|
646
636
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
647
637
|
default:
|
|
648
638
|
const parsedBody = parsedOutput.body;
|
|
649
|
-
|
|
639
|
+
return throwDefaultError({
|
|
650
640
|
output,
|
|
651
641
|
parsedBody,
|
|
652
|
-
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
653
642
|
errorCode,
|
|
654
643
|
});
|
|
655
644
|
}
|
|
@@ -665,7 +654,7 @@ const de_DescribeApplicationCommand = async (output, context) => {
|
|
|
665
654
|
$metadata: deserializeMetadata(output),
|
|
666
655
|
...contents,
|
|
667
656
|
};
|
|
668
|
-
return
|
|
657
|
+
return response;
|
|
669
658
|
};
|
|
670
659
|
exports.de_DescribeApplicationCommand = de_DescribeApplicationCommand;
|
|
671
660
|
const de_DescribeApplicationCommandError = async (output, context) => {
|
|
@@ -683,10 +672,9 @@ const de_DescribeApplicationCommandError = async (output, context) => {
|
|
|
683
672
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
684
673
|
default:
|
|
685
674
|
const parsedBody = parsedOutput.body;
|
|
686
|
-
|
|
675
|
+
return throwDefaultError({
|
|
687
676
|
output,
|
|
688
677
|
parsedBody,
|
|
689
|
-
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
690
678
|
errorCode,
|
|
691
679
|
});
|
|
692
680
|
}
|
|
@@ -697,12 +685,12 @@ const de_DiscoverInputSchemaCommand = async (output, context) => {
|
|
|
697
685
|
}
|
|
698
686
|
const data = await parseBody(output.body, context);
|
|
699
687
|
let contents = {};
|
|
700
|
-
contents =
|
|
688
|
+
contents = (0, smithy_client_1._json)(data);
|
|
701
689
|
const response = {
|
|
702
690
|
$metadata: deserializeMetadata(output),
|
|
703
691
|
...contents,
|
|
704
692
|
};
|
|
705
|
-
return
|
|
693
|
+
return response;
|
|
706
694
|
};
|
|
707
695
|
exports.de_DiscoverInputSchemaCommand = de_DiscoverInputSchemaCommand;
|
|
708
696
|
const de_DiscoverInputSchemaCommandError = async (output, context) => {
|
|
@@ -726,10 +714,9 @@ const de_DiscoverInputSchemaCommandError = async (output, context) => {
|
|
|
726
714
|
throw await de_UnableToDetectSchemaExceptionRes(parsedOutput, context);
|
|
727
715
|
default:
|
|
728
716
|
const parsedBody = parsedOutput.body;
|
|
729
|
-
|
|
717
|
+
return throwDefaultError({
|
|
730
718
|
output,
|
|
731
719
|
parsedBody,
|
|
732
|
-
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
733
720
|
errorCode,
|
|
734
721
|
});
|
|
735
722
|
}
|
|
@@ -740,12 +727,12 @@ const de_ListApplicationsCommand = async (output, context) => {
|
|
|
740
727
|
}
|
|
741
728
|
const data = await parseBody(output.body, context);
|
|
742
729
|
let contents = {};
|
|
743
|
-
contents =
|
|
730
|
+
contents = (0, smithy_client_1._json)(data);
|
|
744
731
|
const response = {
|
|
745
732
|
$metadata: deserializeMetadata(output),
|
|
746
733
|
...contents,
|
|
747
734
|
};
|
|
748
|
-
return
|
|
735
|
+
return response;
|
|
749
736
|
};
|
|
750
737
|
exports.de_ListApplicationsCommand = de_ListApplicationsCommand;
|
|
751
738
|
const de_ListApplicationsCommandError = async (output, context) => {
|
|
@@ -755,10 +742,9 @@ const de_ListApplicationsCommandError = async (output, context) => {
|
|
|
755
742
|
};
|
|
756
743
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
757
744
|
const parsedBody = parsedOutput.body;
|
|
758
|
-
|
|
745
|
+
return throwDefaultError({
|
|
759
746
|
output,
|
|
760
747
|
parsedBody,
|
|
761
|
-
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
762
748
|
errorCode,
|
|
763
749
|
});
|
|
764
750
|
};
|
|
@@ -768,12 +754,12 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
768
754
|
}
|
|
769
755
|
const data = await parseBody(output.body, context);
|
|
770
756
|
let contents = {};
|
|
771
|
-
contents =
|
|
757
|
+
contents = (0, smithy_client_1._json)(data);
|
|
772
758
|
const response = {
|
|
773
759
|
$metadata: deserializeMetadata(output),
|
|
774
760
|
...contents,
|
|
775
761
|
};
|
|
776
|
-
return
|
|
762
|
+
return response;
|
|
777
763
|
};
|
|
778
764
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
779
765
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -794,10 +780,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
794
780
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
795
781
|
default:
|
|
796
782
|
const parsedBody = parsedOutput.body;
|
|
797
|
-
|
|
783
|
+
return throwDefaultError({
|
|
798
784
|
output,
|
|
799
785
|
parsedBody,
|
|
800
|
-
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
801
786
|
errorCode,
|
|
802
787
|
});
|
|
803
788
|
}
|
|
@@ -808,12 +793,12 @@ const de_StartApplicationCommand = async (output, context) => {
|
|
|
808
793
|
}
|
|
809
794
|
const data = await parseBody(output.body, context);
|
|
810
795
|
let contents = {};
|
|
811
|
-
contents =
|
|
796
|
+
contents = (0, smithy_client_1._json)(data);
|
|
812
797
|
const response = {
|
|
813
798
|
$metadata: deserializeMetadata(output),
|
|
814
799
|
...contents,
|
|
815
800
|
};
|
|
816
|
-
return
|
|
801
|
+
return response;
|
|
817
802
|
};
|
|
818
803
|
exports.de_StartApplicationCommand = de_StartApplicationCommand;
|
|
819
804
|
const de_StartApplicationCommandError = async (output, context) => {
|
|
@@ -840,10 +825,9 @@ const de_StartApplicationCommandError = async (output, context) => {
|
|
|
840
825
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
841
826
|
default:
|
|
842
827
|
const parsedBody = parsedOutput.body;
|
|
843
|
-
|
|
828
|
+
return throwDefaultError({
|
|
844
829
|
output,
|
|
845
830
|
parsedBody,
|
|
846
|
-
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
847
831
|
errorCode,
|
|
848
832
|
});
|
|
849
833
|
}
|
|
@@ -854,12 +838,12 @@ const de_StopApplicationCommand = async (output, context) => {
|
|
|
854
838
|
}
|
|
855
839
|
const data = await parseBody(output.body, context);
|
|
856
840
|
let contents = {};
|
|
857
|
-
contents =
|
|
841
|
+
contents = (0, smithy_client_1._json)(data);
|
|
858
842
|
const response = {
|
|
859
843
|
$metadata: deserializeMetadata(output),
|
|
860
844
|
...contents,
|
|
861
845
|
};
|
|
862
|
-
return
|
|
846
|
+
return response;
|
|
863
847
|
};
|
|
864
848
|
exports.de_StopApplicationCommand = de_StopApplicationCommand;
|
|
865
849
|
const de_StopApplicationCommandError = async (output, context) => {
|
|
@@ -880,10 +864,9 @@ const de_StopApplicationCommandError = async (output, context) => {
|
|
|
880
864
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
881
865
|
default:
|
|
882
866
|
const parsedBody = parsedOutput.body;
|
|
883
|
-
|
|
867
|
+
return throwDefaultError({
|
|
884
868
|
output,
|
|
885
869
|
parsedBody,
|
|
886
|
-
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
887
870
|
errorCode,
|
|
888
871
|
});
|
|
889
872
|
}
|
|
@@ -894,12 +877,12 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
894
877
|
}
|
|
895
878
|
const data = await parseBody(output.body, context);
|
|
896
879
|
let contents = {};
|
|
897
|
-
contents =
|
|
880
|
+
contents = (0, smithy_client_1._json)(data);
|
|
898
881
|
const response = {
|
|
899
882
|
$metadata: deserializeMetadata(output),
|
|
900
883
|
...contents,
|
|
901
884
|
};
|
|
902
|
-
return
|
|
885
|
+
return response;
|
|
903
886
|
};
|
|
904
887
|
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
905
888
|
const de_TagResourceCommandError = async (output, context) => {
|
|
@@ -926,10 +909,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
926
909
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
927
910
|
default:
|
|
928
911
|
const parsedBody = parsedOutput.body;
|
|
929
|
-
|
|
912
|
+
return throwDefaultError({
|
|
930
913
|
output,
|
|
931
914
|
parsedBody,
|
|
932
|
-
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
933
915
|
errorCode,
|
|
934
916
|
});
|
|
935
917
|
}
|
|
@@ -940,12 +922,12 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
940
922
|
}
|
|
941
923
|
const data = await parseBody(output.body, context);
|
|
942
924
|
let contents = {};
|
|
943
|
-
contents =
|
|
925
|
+
contents = (0, smithy_client_1._json)(data);
|
|
944
926
|
const response = {
|
|
945
927
|
$metadata: deserializeMetadata(output),
|
|
946
928
|
...contents,
|
|
947
929
|
};
|
|
948
|
-
return
|
|
930
|
+
return response;
|
|
949
931
|
};
|
|
950
932
|
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
951
933
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
@@ -972,10 +954,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
972
954
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
973
955
|
default:
|
|
974
956
|
const parsedBody = parsedOutput.body;
|
|
975
|
-
|
|
957
|
+
return throwDefaultError({
|
|
976
958
|
output,
|
|
977
959
|
parsedBody,
|
|
978
|
-
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
979
960
|
errorCode,
|
|
980
961
|
});
|
|
981
962
|
}
|
|
@@ -986,12 +967,12 @@ const de_UpdateApplicationCommand = async (output, context) => {
|
|
|
986
967
|
}
|
|
987
968
|
const data = await parseBody(output.body, context);
|
|
988
969
|
let contents = {};
|
|
989
|
-
contents =
|
|
970
|
+
contents = (0, smithy_client_1._json)(data);
|
|
990
971
|
const response = {
|
|
991
972
|
$metadata: deserializeMetadata(output),
|
|
992
973
|
...contents,
|
|
993
974
|
};
|
|
994
|
-
return
|
|
975
|
+
return response;
|
|
995
976
|
};
|
|
996
977
|
exports.de_UpdateApplicationCommand = de_UpdateApplicationCommand;
|
|
997
978
|
const de_UpdateApplicationCommandError = async (output, context) => {
|
|
@@ -1021,17 +1002,16 @@ const de_UpdateApplicationCommandError = async (output, context) => {
|
|
|
1021
1002
|
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1022
1003
|
default:
|
|
1023
1004
|
const parsedBody = parsedOutput.body;
|
|
1024
|
-
|
|
1005
|
+
return throwDefaultError({
|
|
1025
1006
|
output,
|
|
1026
1007
|
parsedBody,
|
|
1027
|
-
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
1028
1008
|
errorCode,
|
|
1029
1009
|
});
|
|
1030
1010
|
}
|
|
1031
1011
|
};
|
|
1032
1012
|
const de_CodeValidationExceptionRes = async (parsedOutput, context) => {
|
|
1033
1013
|
const body = parsedOutput.body;
|
|
1034
|
-
const deserialized =
|
|
1014
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1035
1015
|
const exception = new models_0_1.CodeValidationException({
|
|
1036
1016
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1037
1017
|
...deserialized,
|
|
@@ -1040,7 +1020,7 @@ const de_CodeValidationExceptionRes = async (parsedOutput, context) => {
|
|
|
1040
1020
|
};
|
|
1041
1021
|
const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
|
|
1042
1022
|
const body = parsedOutput.body;
|
|
1043
|
-
const deserialized =
|
|
1023
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1044
1024
|
const exception = new models_0_1.ConcurrentModificationException({
|
|
1045
1025
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1046
1026
|
...deserialized,
|
|
@@ -1049,7 +1029,7 @@ const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
|
|
|
1049
1029
|
};
|
|
1050
1030
|
const de_InvalidApplicationConfigurationExceptionRes = async (parsedOutput, context) => {
|
|
1051
1031
|
const body = parsedOutput.body;
|
|
1052
|
-
const deserialized =
|
|
1032
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1053
1033
|
const exception = new models_0_1.InvalidApplicationConfigurationException({
|
|
1054
1034
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1055
1035
|
...deserialized,
|
|
@@ -1058,7 +1038,7 @@ const de_InvalidApplicationConfigurationExceptionRes = async (parsedOutput, cont
|
|
|
1058
1038
|
};
|
|
1059
1039
|
const de_InvalidArgumentExceptionRes = async (parsedOutput, context) => {
|
|
1060
1040
|
const body = parsedOutput.body;
|
|
1061
|
-
const deserialized =
|
|
1041
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1062
1042
|
const exception = new models_0_1.InvalidArgumentException({
|
|
1063
1043
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1064
1044
|
...deserialized,
|
|
@@ -1067,7 +1047,7 @@ const de_InvalidArgumentExceptionRes = async (parsedOutput, context) => {
|
|
|
1067
1047
|
};
|
|
1068
1048
|
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1069
1049
|
const body = parsedOutput.body;
|
|
1070
|
-
const deserialized =
|
|
1050
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1071
1051
|
const exception = new models_0_1.LimitExceededException({
|
|
1072
1052
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1073
1053
|
...deserialized,
|
|
@@ -1076,7 +1056,7 @@ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
1076
1056
|
};
|
|
1077
1057
|
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
1078
1058
|
const body = parsedOutput.body;
|
|
1079
|
-
const deserialized =
|
|
1059
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1080
1060
|
const exception = new models_0_1.ResourceInUseException({
|
|
1081
1061
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1082
1062
|
...deserialized,
|
|
@@ -1085,7 +1065,7 @@ const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
|
1085
1065
|
};
|
|
1086
1066
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1087
1067
|
const body = parsedOutput.body;
|
|
1088
|
-
const deserialized =
|
|
1068
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1089
1069
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
1090
1070
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1091
1071
|
...deserialized,
|
|
@@ -1094,7 +1074,7 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
1094
1074
|
};
|
|
1095
1075
|
const de_ResourceProvisionedThroughputExceededExceptionRes = async (parsedOutput, context) => {
|
|
1096
1076
|
const body = parsedOutput.body;
|
|
1097
|
-
const deserialized =
|
|
1077
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1098
1078
|
const exception = new models_0_1.ResourceProvisionedThroughputExceededException({
|
|
1099
1079
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1100
1080
|
...deserialized,
|
|
@@ -1103,7 +1083,7 @@ const de_ResourceProvisionedThroughputExceededExceptionRes = async (parsedOutput
|
|
|
1103
1083
|
};
|
|
1104
1084
|
const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
1105
1085
|
const body = parsedOutput.body;
|
|
1106
|
-
const deserialized =
|
|
1086
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1107
1087
|
const exception = new models_0_1.ServiceUnavailableException({
|
|
1108
1088
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1109
1089
|
...deserialized,
|
|
@@ -1112,7 +1092,7 @@ const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
|
1112
1092
|
};
|
|
1113
1093
|
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
1114
1094
|
const body = parsedOutput.body;
|
|
1115
|
-
const deserialized =
|
|
1095
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1116
1096
|
const exception = new models_0_1.TooManyTagsException({
|
|
1117
1097
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1118
1098
|
...deserialized,
|
|
@@ -1121,7 +1101,7 @@ const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
|
1121
1101
|
};
|
|
1122
1102
|
const de_UnableToDetectSchemaExceptionRes = async (parsedOutput, context) => {
|
|
1123
1103
|
const body = parsedOutput.body;
|
|
1124
|
-
const deserialized =
|
|
1104
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1125
1105
|
const exception = new models_0_1.UnableToDetectSchemaException({
|
|
1126
1106
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1127
1107
|
...deserialized,
|
|
@@ -1130,1040 +1110,39 @@ const de_UnableToDetectSchemaExceptionRes = async (parsedOutput, context) => {
|
|
|
1130
1110
|
};
|
|
1131
1111
|
const de_UnsupportedOperationExceptionRes = async (parsedOutput, context) => {
|
|
1132
1112
|
const body = parsedOutput.body;
|
|
1133
|
-
const deserialized =
|
|
1113
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1134
1114
|
const exception = new models_0_1.UnsupportedOperationException({
|
|
1135
1115
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1136
1116
|
...deserialized,
|
|
1137
1117
|
});
|
|
1138
1118
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1139
1119
|
};
|
|
1140
|
-
const se_AddApplicationCloudWatchLoggingOptionRequest = (input, context) => {
|
|
1141
|
-
return {
|
|
1142
|
-
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1143
|
-
...(input.CloudWatchLoggingOption != null && {
|
|
1144
|
-
CloudWatchLoggingOption: se_CloudWatchLoggingOption(input.CloudWatchLoggingOption, context),
|
|
1145
|
-
}),
|
|
1146
|
-
...(input.CurrentApplicationVersionId != null && {
|
|
1147
|
-
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1148
|
-
}),
|
|
1149
|
-
};
|
|
1150
|
-
};
|
|
1151
|
-
const se_AddApplicationInputProcessingConfigurationRequest = (input, context) => {
|
|
1152
|
-
return {
|
|
1153
|
-
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1154
|
-
...(input.CurrentApplicationVersionId != null && {
|
|
1155
|
-
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1156
|
-
}),
|
|
1157
|
-
...(input.InputId != null && { InputId: input.InputId }),
|
|
1158
|
-
...(input.InputProcessingConfiguration != null && {
|
|
1159
|
-
InputProcessingConfiguration: se_InputProcessingConfiguration(input.InputProcessingConfiguration, context),
|
|
1160
|
-
}),
|
|
1161
|
-
};
|
|
1162
|
-
};
|
|
1163
|
-
const se_AddApplicationInputRequest = (input, context) => {
|
|
1164
|
-
return {
|
|
1165
|
-
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1166
|
-
...(input.CurrentApplicationVersionId != null && {
|
|
1167
|
-
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1168
|
-
}),
|
|
1169
|
-
...(input.Input != null && { Input: se_Input(input.Input, context) }),
|
|
1170
|
-
};
|
|
1171
|
-
};
|
|
1172
|
-
const se_AddApplicationOutputRequest = (input, context) => {
|
|
1173
|
-
return {
|
|
1174
|
-
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1175
|
-
...(input.CurrentApplicationVersionId != null && {
|
|
1176
|
-
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1177
|
-
}),
|
|
1178
|
-
...(input.Output != null && { Output: se_Output(input.Output, context) }),
|
|
1179
|
-
};
|
|
1180
|
-
};
|
|
1181
|
-
const se_AddApplicationReferenceDataSourceRequest = (input, context) => {
|
|
1182
|
-
return {
|
|
1183
|
-
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1184
|
-
...(input.CurrentApplicationVersionId != null && {
|
|
1185
|
-
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1186
|
-
}),
|
|
1187
|
-
...(input.ReferenceDataSource != null && {
|
|
1188
|
-
ReferenceDataSource: se_ReferenceDataSource(input.ReferenceDataSource, context),
|
|
1189
|
-
}),
|
|
1190
|
-
};
|
|
1191
|
-
};
|
|
1192
|
-
const se_ApplicationUpdate = (input, context) => {
|
|
1193
|
-
return {
|
|
1194
|
-
...(input.ApplicationCodeUpdate != null && { ApplicationCodeUpdate: input.ApplicationCodeUpdate }),
|
|
1195
|
-
...(input.CloudWatchLoggingOptionUpdates != null && {
|
|
1196
|
-
CloudWatchLoggingOptionUpdates: se_CloudWatchLoggingOptionUpdates(input.CloudWatchLoggingOptionUpdates, context),
|
|
1197
|
-
}),
|
|
1198
|
-
...(input.InputUpdates != null && { InputUpdates: se_InputUpdates(input.InputUpdates, context) }),
|
|
1199
|
-
...(input.OutputUpdates != null && { OutputUpdates: se_OutputUpdates(input.OutputUpdates, context) }),
|
|
1200
|
-
...(input.ReferenceDataSourceUpdates != null && {
|
|
1201
|
-
ReferenceDataSourceUpdates: se_ReferenceDataSourceUpdates(input.ReferenceDataSourceUpdates, context),
|
|
1202
|
-
}),
|
|
1203
|
-
};
|
|
1204
|
-
};
|
|
1205
|
-
const se_CloudWatchLoggingOption = (input, context) => {
|
|
1206
|
-
return {
|
|
1207
|
-
...(input.LogStreamARN != null && { LogStreamARN: input.LogStreamARN }),
|
|
1208
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1209
|
-
};
|
|
1210
|
-
};
|
|
1211
|
-
const se_CloudWatchLoggingOptions = (input, context) => {
|
|
1212
|
-
return input
|
|
1213
|
-
.filter((e) => e != null)
|
|
1214
|
-
.map((entry) => {
|
|
1215
|
-
return se_CloudWatchLoggingOption(entry, context);
|
|
1216
|
-
});
|
|
1217
|
-
};
|
|
1218
|
-
const se_CloudWatchLoggingOptionUpdate = (input, context) => {
|
|
1219
|
-
return {
|
|
1220
|
-
...(input.CloudWatchLoggingOptionId != null && { CloudWatchLoggingOptionId: input.CloudWatchLoggingOptionId }),
|
|
1221
|
-
...(input.LogStreamARNUpdate != null && { LogStreamARNUpdate: input.LogStreamARNUpdate }),
|
|
1222
|
-
...(input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1223
|
-
};
|
|
1224
|
-
};
|
|
1225
|
-
const se_CloudWatchLoggingOptionUpdates = (input, context) => {
|
|
1226
|
-
return input
|
|
1227
|
-
.filter((e) => e != null)
|
|
1228
|
-
.map((entry) => {
|
|
1229
|
-
return se_CloudWatchLoggingOptionUpdate(entry, context);
|
|
1230
|
-
});
|
|
1231
|
-
};
|
|
1232
|
-
const se_CreateApplicationRequest = (input, context) => {
|
|
1233
|
-
return {
|
|
1234
|
-
...(input.ApplicationCode != null && { ApplicationCode: input.ApplicationCode }),
|
|
1235
|
-
...(input.ApplicationDescription != null && { ApplicationDescription: input.ApplicationDescription }),
|
|
1236
|
-
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1237
|
-
...(input.CloudWatchLoggingOptions != null && {
|
|
1238
|
-
CloudWatchLoggingOptions: se_CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1239
|
-
}),
|
|
1240
|
-
...(input.Inputs != null && { Inputs: se_Inputs(input.Inputs, context) }),
|
|
1241
|
-
...(input.Outputs != null && { Outputs: se_Outputs(input.Outputs, context) }),
|
|
1242
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
1243
|
-
};
|
|
1244
|
-
};
|
|
1245
|
-
const se_CSVMappingParameters = (input, context) => {
|
|
1246
|
-
return {
|
|
1247
|
-
...(input.RecordColumnDelimiter != null && { RecordColumnDelimiter: input.RecordColumnDelimiter }),
|
|
1248
|
-
...(input.RecordRowDelimiter != null && { RecordRowDelimiter: input.RecordRowDelimiter }),
|
|
1249
|
-
};
|
|
1250
|
-
};
|
|
1251
|
-
const se_DeleteApplicationCloudWatchLoggingOptionRequest = (input, context) => {
|
|
1252
|
-
return {
|
|
1253
|
-
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1254
|
-
...(input.CloudWatchLoggingOptionId != null && { CloudWatchLoggingOptionId: input.CloudWatchLoggingOptionId }),
|
|
1255
|
-
...(input.CurrentApplicationVersionId != null && {
|
|
1256
|
-
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1257
|
-
}),
|
|
1258
|
-
};
|
|
1259
|
-
};
|
|
1260
|
-
const se_DeleteApplicationInputProcessingConfigurationRequest = (input, context) => {
|
|
1261
|
-
return {
|
|
1262
|
-
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1263
|
-
...(input.CurrentApplicationVersionId != null && {
|
|
1264
|
-
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1265
|
-
}),
|
|
1266
|
-
...(input.InputId != null && { InputId: input.InputId }),
|
|
1267
|
-
};
|
|
1268
|
-
};
|
|
1269
|
-
const se_DeleteApplicationOutputRequest = (input, context) => {
|
|
1270
|
-
return {
|
|
1271
|
-
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1272
|
-
...(input.CurrentApplicationVersionId != null && {
|
|
1273
|
-
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1274
|
-
}),
|
|
1275
|
-
...(input.OutputId != null && { OutputId: input.OutputId }),
|
|
1276
|
-
};
|
|
1277
|
-
};
|
|
1278
|
-
const se_DeleteApplicationReferenceDataSourceRequest = (input, context) => {
|
|
1279
|
-
return {
|
|
1280
|
-
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1281
|
-
...(input.CurrentApplicationVersionId != null && {
|
|
1282
|
-
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1283
|
-
}),
|
|
1284
|
-
...(input.ReferenceId != null && { ReferenceId: input.ReferenceId }),
|
|
1285
|
-
};
|
|
1286
|
-
};
|
|
1287
1120
|
const se_DeleteApplicationRequest = (input, context) => {
|
|
1288
|
-
return {
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
};
|
|
1292
|
-
};
|
|
1293
|
-
const se_DescribeApplicationRequest = (input, context) => {
|
|
1294
|
-
return {
|
|
1295
|
-
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1296
|
-
};
|
|
1297
|
-
};
|
|
1298
|
-
const se_DestinationSchema = (input, context) => {
|
|
1299
|
-
return {
|
|
1300
|
-
...(input.RecordFormatType != null && { RecordFormatType: input.RecordFormatType }),
|
|
1301
|
-
};
|
|
1302
|
-
};
|
|
1303
|
-
const se_DiscoverInputSchemaRequest = (input, context) => {
|
|
1304
|
-
return {
|
|
1305
|
-
...(input.InputProcessingConfiguration != null && {
|
|
1306
|
-
InputProcessingConfiguration: se_InputProcessingConfiguration(input.InputProcessingConfiguration, context),
|
|
1307
|
-
}),
|
|
1308
|
-
...(input.InputStartingPositionConfiguration != null && {
|
|
1309
|
-
InputStartingPositionConfiguration: se_InputStartingPositionConfiguration(input.InputStartingPositionConfiguration, context),
|
|
1310
|
-
}),
|
|
1311
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1312
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1313
|
-
...(input.S3Configuration != null && { S3Configuration: se_S3Configuration(input.S3Configuration, context) }),
|
|
1314
|
-
};
|
|
1315
|
-
};
|
|
1316
|
-
const se_Input = (input, context) => {
|
|
1317
|
-
return {
|
|
1318
|
-
...(input.InputParallelism != null && { InputParallelism: se_InputParallelism(input.InputParallelism, context) }),
|
|
1319
|
-
...(input.InputProcessingConfiguration != null && {
|
|
1320
|
-
InputProcessingConfiguration: se_InputProcessingConfiguration(input.InputProcessingConfiguration, context),
|
|
1321
|
-
}),
|
|
1322
|
-
...(input.InputSchema != null && { InputSchema: se_SourceSchema(input.InputSchema, context) }),
|
|
1323
|
-
...(input.KinesisFirehoseInput != null && {
|
|
1324
|
-
KinesisFirehoseInput: se_KinesisFirehoseInput(input.KinesisFirehoseInput, context),
|
|
1325
|
-
}),
|
|
1326
|
-
...(input.KinesisStreamsInput != null && {
|
|
1327
|
-
KinesisStreamsInput: se_KinesisStreamsInput(input.KinesisStreamsInput, context),
|
|
1328
|
-
}),
|
|
1329
|
-
...(input.NamePrefix != null && { NamePrefix: input.NamePrefix }),
|
|
1330
|
-
};
|
|
1331
|
-
};
|
|
1332
|
-
const se_InputConfiguration = (input, context) => {
|
|
1333
|
-
return {
|
|
1334
|
-
...(input.Id != null && { Id: input.Id }),
|
|
1335
|
-
...(input.InputStartingPositionConfiguration != null && {
|
|
1336
|
-
InputStartingPositionConfiguration: se_InputStartingPositionConfiguration(input.InputStartingPositionConfiguration, context),
|
|
1337
|
-
}),
|
|
1338
|
-
};
|
|
1339
|
-
};
|
|
1340
|
-
const se_InputConfigurations = (input, context) => {
|
|
1341
|
-
return input
|
|
1342
|
-
.filter((e) => e != null)
|
|
1343
|
-
.map((entry) => {
|
|
1344
|
-
return se_InputConfiguration(entry, context);
|
|
1345
|
-
});
|
|
1346
|
-
};
|
|
1347
|
-
const se_InputLambdaProcessor = (input, context) => {
|
|
1348
|
-
return {
|
|
1349
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1350
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1351
|
-
};
|
|
1352
|
-
};
|
|
1353
|
-
const se_InputLambdaProcessorUpdate = (input, context) => {
|
|
1354
|
-
return {
|
|
1355
|
-
...(input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate }),
|
|
1356
|
-
...(input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1357
|
-
};
|
|
1358
|
-
};
|
|
1359
|
-
const se_InputParallelism = (input, context) => {
|
|
1360
|
-
return {
|
|
1361
|
-
...(input.Count != null && { Count: input.Count }),
|
|
1362
|
-
};
|
|
1363
|
-
};
|
|
1364
|
-
const se_InputParallelismUpdate = (input, context) => {
|
|
1365
|
-
return {
|
|
1366
|
-
...(input.CountUpdate != null && { CountUpdate: input.CountUpdate }),
|
|
1367
|
-
};
|
|
1368
|
-
};
|
|
1369
|
-
const se_InputProcessingConfiguration = (input, context) => {
|
|
1370
|
-
return {
|
|
1371
|
-
...(input.InputLambdaProcessor != null && {
|
|
1372
|
-
InputLambdaProcessor: se_InputLambdaProcessor(input.InputLambdaProcessor, context),
|
|
1373
|
-
}),
|
|
1374
|
-
};
|
|
1375
|
-
};
|
|
1376
|
-
const se_InputProcessingConfigurationUpdate = (input, context) => {
|
|
1377
|
-
return {
|
|
1378
|
-
...(input.InputLambdaProcessorUpdate != null && {
|
|
1379
|
-
InputLambdaProcessorUpdate: se_InputLambdaProcessorUpdate(input.InputLambdaProcessorUpdate, context),
|
|
1380
|
-
}),
|
|
1381
|
-
};
|
|
1382
|
-
};
|
|
1383
|
-
const se_Inputs = (input, context) => {
|
|
1384
|
-
return input
|
|
1385
|
-
.filter((e) => e != null)
|
|
1386
|
-
.map((entry) => {
|
|
1387
|
-
return se_Input(entry, context);
|
|
1388
|
-
});
|
|
1389
|
-
};
|
|
1390
|
-
const se_InputSchemaUpdate = (input, context) => {
|
|
1391
|
-
return {
|
|
1392
|
-
...(input.RecordColumnUpdates != null && {
|
|
1393
|
-
RecordColumnUpdates: se_RecordColumns(input.RecordColumnUpdates, context),
|
|
1394
|
-
}),
|
|
1395
|
-
...(input.RecordEncodingUpdate != null && { RecordEncodingUpdate: input.RecordEncodingUpdate }),
|
|
1396
|
-
...(input.RecordFormatUpdate != null && { RecordFormatUpdate: se_RecordFormat(input.RecordFormatUpdate, context) }),
|
|
1397
|
-
};
|
|
1398
|
-
};
|
|
1399
|
-
const se_InputStartingPositionConfiguration = (input, context) => {
|
|
1400
|
-
return {
|
|
1401
|
-
...(input.InputStartingPosition != null && { InputStartingPosition: input.InputStartingPosition }),
|
|
1402
|
-
};
|
|
1403
|
-
};
|
|
1404
|
-
const se_InputUpdate = (input, context) => {
|
|
1405
|
-
return {
|
|
1406
|
-
...(input.InputId != null && { InputId: input.InputId }),
|
|
1407
|
-
...(input.InputParallelismUpdate != null && {
|
|
1408
|
-
InputParallelismUpdate: se_InputParallelismUpdate(input.InputParallelismUpdate, context),
|
|
1409
|
-
}),
|
|
1410
|
-
...(input.InputProcessingConfigurationUpdate != null && {
|
|
1411
|
-
InputProcessingConfigurationUpdate: se_InputProcessingConfigurationUpdate(input.InputProcessingConfigurationUpdate, context),
|
|
1412
|
-
}),
|
|
1413
|
-
...(input.InputSchemaUpdate != null && {
|
|
1414
|
-
InputSchemaUpdate: se_InputSchemaUpdate(input.InputSchemaUpdate, context),
|
|
1415
|
-
}),
|
|
1416
|
-
...(input.KinesisFirehoseInputUpdate != null && {
|
|
1417
|
-
KinesisFirehoseInputUpdate: se_KinesisFirehoseInputUpdate(input.KinesisFirehoseInputUpdate, context),
|
|
1418
|
-
}),
|
|
1419
|
-
...(input.KinesisStreamsInputUpdate != null && {
|
|
1420
|
-
KinesisStreamsInputUpdate: se_KinesisStreamsInputUpdate(input.KinesisStreamsInputUpdate, context),
|
|
1421
|
-
}),
|
|
1422
|
-
...(input.NamePrefixUpdate != null && { NamePrefixUpdate: input.NamePrefixUpdate }),
|
|
1423
|
-
};
|
|
1424
|
-
};
|
|
1425
|
-
const se_InputUpdates = (input, context) => {
|
|
1426
|
-
return input
|
|
1427
|
-
.filter((e) => e != null)
|
|
1428
|
-
.map((entry) => {
|
|
1429
|
-
return se_InputUpdate(entry, context);
|
|
1430
|
-
});
|
|
1431
|
-
};
|
|
1432
|
-
const se_JSONMappingParameters = (input, context) => {
|
|
1433
|
-
return {
|
|
1434
|
-
...(input.RecordRowPath != null && { RecordRowPath: input.RecordRowPath }),
|
|
1435
|
-
};
|
|
1436
|
-
};
|
|
1437
|
-
const se_KinesisFirehoseInput = (input, context) => {
|
|
1438
|
-
return {
|
|
1439
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1440
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1441
|
-
};
|
|
1442
|
-
};
|
|
1443
|
-
const se_KinesisFirehoseInputUpdate = (input, context) => {
|
|
1444
|
-
return {
|
|
1445
|
-
...(input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate }),
|
|
1446
|
-
...(input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1447
|
-
};
|
|
1448
|
-
};
|
|
1449
|
-
const se_KinesisFirehoseOutput = (input, context) => {
|
|
1450
|
-
return {
|
|
1451
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1452
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1453
|
-
};
|
|
1454
|
-
};
|
|
1455
|
-
const se_KinesisFirehoseOutputUpdate = (input, context) => {
|
|
1456
|
-
return {
|
|
1457
|
-
...(input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate }),
|
|
1458
|
-
...(input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1459
|
-
};
|
|
1460
|
-
};
|
|
1461
|
-
const se_KinesisStreamsInput = (input, context) => {
|
|
1462
|
-
return {
|
|
1463
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1464
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1465
|
-
};
|
|
1466
|
-
};
|
|
1467
|
-
const se_KinesisStreamsInputUpdate = (input, context) => {
|
|
1468
|
-
return {
|
|
1469
|
-
...(input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate }),
|
|
1470
|
-
...(input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1471
|
-
};
|
|
1472
|
-
};
|
|
1473
|
-
const se_KinesisStreamsOutput = (input, context) => {
|
|
1474
|
-
return {
|
|
1475
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1476
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1477
|
-
};
|
|
1478
|
-
};
|
|
1479
|
-
const se_KinesisStreamsOutputUpdate = (input, context) => {
|
|
1480
|
-
return {
|
|
1481
|
-
...(input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate }),
|
|
1482
|
-
...(input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1483
|
-
};
|
|
1484
|
-
};
|
|
1485
|
-
const se_LambdaOutput = (input, context) => {
|
|
1486
|
-
return {
|
|
1487
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1488
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1489
|
-
};
|
|
1490
|
-
};
|
|
1491
|
-
const se_LambdaOutputUpdate = (input, context) => {
|
|
1492
|
-
return {
|
|
1493
|
-
...(input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate }),
|
|
1494
|
-
...(input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1495
|
-
};
|
|
1496
|
-
};
|
|
1497
|
-
const se_ListApplicationsRequest = (input, context) => {
|
|
1498
|
-
return {
|
|
1499
|
-
...(input.ExclusiveStartApplicationName != null && {
|
|
1500
|
-
ExclusiveStartApplicationName: input.ExclusiveStartApplicationName,
|
|
1501
|
-
}),
|
|
1502
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
1503
|
-
};
|
|
1504
|
-
};
|
|
1505
|
-
const se_ListTagsForResourceRequest = (input, context) => {
|
|
1506
|
-
return {
|
|
1507
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1508
|
-
};
|
|
1509
|
-
};
|
|
1510
|
-
const se_MappingParameters = (input, context) => {
|
|
1511
|
-
return {
|
|
1512
|
-
...(input.CSVMappingParameters != null && {
|
|
1513
|
-
CSVMappingParameters: se_CSVMappingParameters(input.CSVMappingParameters, context),
|
|
1514
|
-
}),
|
|
1515
|
-
...(input.JSONMappingParameters != null && {
|
|
1516
|
-
JSONMappingParameters: se_JSONMappingParameters(input.JSONMappingParameters, context),
|
|
1517
|
-
}),
|
|
1518
|
-
};
|
|
1519
|
-
};
|
|
1520
|
-
const se_Output = (input, context) => {
|
|
1521
|
-
return {
|
|
1522
|
-
...(input.DestinationSchema != null && {
|
|
1523
|
-
DestinationSchema: se_DestinationSchema(input.DestinationSchema, context),
|
|
1524
|
-
}),
|
|
1525
|
-
...(input.KinesisFirehoseOutput != null && {
|
|
1526
|
-
KinesisFirehoseOutput: se_KinesisFirehoseOutput(input.KinesisFirehoseOutput, context),
|
|
1527
|
-
}),
|
|
1528
|
-
...(input.KinesisStreamsOutput != null && {
|
|
1529
|
-
KinesisStreamsOutput: se_KinesisStreamsOutput(input.KinesisStreamsOutput, context),
|
|
1530
|
-
}),
|
|
1531
|
-
...(input.LambdaOutput != null && { LambdaOutput: se_LambdaOutput(input.LambdaOutput, context) }),
|
|
1532
|
-
...(input.Name != null && { Name: input.Name }),
|
|
1533
|
-
};
|
|
1534
|
-
};
|
|
1535
|
-
const se_Outputs = (input, context) => {
|
|
1536
|
-
return input
|
|
1537
|
-
.filter((e) => e != null)
|
|
1538
|
-
.map((entry) => {
|
|
1539
|
-
return se_Output(entry, context);
|
|
1540
|
-
});
|
|
1541
|
-
};
|
|
1542
|
-
const se_OutputUpdate = (input, context) => {
|
|
1543
|
-
return {
|
|
1544
|
-
...(input.DestinationSchemaUpdate != null && {
|
|
1545
|
-
DestinationSchemaUpdate: se_DestinationSchema(input.DestinationSchemaUpdate, context),
|
|
1546
|
-
}),
|
|
1547
|
-
...(input.KinesisFirehoseOutputUpdate != null && {
|
|
1548
|
-
KinesisFirehoseOutputUpdate: se_KinesisFirehoseOutputUpdate(input.KinesisFirehoseOutputUpdate, context),
|
|
1549
|
-
}),
|
|
1550
|
-
...(input.KinesisStreamsOutputUpdate != null && {
|
|
1551
|
-
KinesisStreamsOutputUpdate: se_KinesisStreamsOutputUpdate(input.KinesisStreamsOutputUpdate, context),
|
|
1552
|
-
}),
|
|
1553
|
-
...(input.LambdaOutputUpdate != null && {
|
|
1554
|
-
LambdaOutputUpdate: se_LambdaOutputUpdate(input.LambdaOutputUpdate, context),
|
|
1555
|
-
}),
|
|
1556
|
-
...(input.NameUpdate != null && { NameUpdate: input.NameUpdate }),
|
|
1557
|
-
...(input.OutputId != null && { OutputId: input.OutputId }),
|
|
1558
|
-
};
|
|
1559
|
-
};
|
|
1560
|
-
const se_OutputUpdates = (input, context) => {
|
|
1561
|
-
return input
|
|
1562
|
-
.filter((e) => e != null)
|
|
1563
|
-
.map((entry) => {
|
|
1564
|
-
return se_OutputUpdate(entry, context);
|
|
1565
|
-
});
|
|
1566
|
-
};
|
|
1567
|
-
const se_RecordColumn = (input, context) => {
|
|
1568
|
-
return {
|
|
1569
|
-
...(input.Mapping != null && { Mapping: input.Mapping }),
|
|
1570
|
-
...(input.Name != null && { Name: input.Name }),
|
|
1571
|
-
...(input.SqlType != null && { SqlType: input.SqlType }),
|
|
1572
|
-
};
|
|
1573
|
-
};
|
|
1574
|
-
const se_RecordColumns = (input, context) => {
|
|
1575
|
-
return input
|
|
1576
|
-
.filter((e) => e != null)
|
|
1577
|
-
.map((entry) => {
|
|
1578
|
-
return se_RecordColumn(entry, context);
|
|
1579
|
-
});
|
|
1580
|
-
};
|
|
1581
|
-
const se_RecordFormat = (input, context) => {
|
|
1582
|
-
return {
|
|
1583
|
-
...(input.MappingParameters != null && {
|
|
1584
|
-
MappingParameters: se_MappingParameters(input.MappingParameters, context),
|
|
1585
|
-
}),
|
|
1586
|
-
...(input.RecordFormatType != null && { RecordFormatType: input.RecordFormatType }),
|
|
1587
|
-
};
|
|
1588
|
-
};
|
|
1589
|
-
const se_ReferenceDataSource = (input, context) => {
|
|
1590
|
-
return {
|
|
1591
|
-
...(input.ReferenceSchema != null && { ReferenceSchema: se_SourceSchema(input.ReferenceSchema, context) }),
|
|
1592
|
-
...(input.S3ReferenceDataSource != null && {
|
|
1593
|
-
S3ReferenceDataSource: se_S3ReferenceDataSource(input.S3ReferenceDataSource, context),
|
|
1594
|
-
}),
|
|
1595
|
-
...(input.TableName != null && { TableName: input.TableName }),
|
|
1596
|
-
};
|
|
1597
|
-
};
|
|
1598
|
-
const se_ReferenceDataSourceUpdate = (input, context) => {
|
|
1599
|
-
return {
|
|
1600
|
-
...(input.ReferenceId != null && { ReferenceId: input.ReferenceId }),
|
|
1601
|
-
...(input.ReferenceSchemaUpdate != null && {
|
|
1602
|
-
ReferenceSchemaUpdate: se_SourceSchema(input.ReferenceSchemaUpdate, context),
|
|
1603
|
-
}),
|
|
1604
|
-
...(input.S3ReferenceDataSourceUpdate != null && {
|
|
1605
|
-
S3ReferenceDataSourceUpdate: se_S3ReferenceDataSourceUpdate(input.S3ReferenceDataSourceUpdate, context),
|
|
1606
|
-
}),
|
|
1607
|
-
...(input.TableNameUpdate != null && { TableNameUpdate: input.TableNameUpdate }),
|
|
1608
|
-
};
|
|
1609
|
-
};
|
|
1610
|
-
const se_ReferenceDataSourceUpdates = (input, context) => {
|
|
1611
|
-
return input
|
|
1612
|
-
.filter((e) => e != null)
|
|
1613
|
-
.map((entry) => {
|
|
1614
|
-
return se_ReferenceDataSourceUpdate(entry, context);
|
|
1615
|
-
});
|
|
1616
|
-
};
|
|
1617
|
-
const se_S3Configuration = (input, context) => {
|
|
1618
|
-
return {
|
|
1619
|
-
...(input.BucketARN != null && { BucketARN: input.BucketARN }),
|
|
1620
|
-
...(input.FileKey != null && { FileKey: input.FileKey }),
|
|
1621
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1622
|
-
};
|
|
1623
|
-
};
|
|
1624
|
-
const se_S3ReferenceDataSource = (input, context) => {
|
|
1625
|
-
return {
|
|
1626
|
-
...(input.BucketARN != null && { BucketARN: input.BucketARN }),
|
|
1627
|
-
...(input.FileKey != null && { FileKey: input.FileKey }),
|
|
1628
|
-
...(input.ReferenceRoleARN != null && { ReferenceRoleARN: input.ReferenceRoleARN }),
|
|
1629
|
-
};
|
|
1630
|
-
};
|
|
1631
|
-
const se_S3ReferenceDataSourceUpdate = (input, context) => {
|
|
1632
|
-
return {
|
|
1633
|
-
...(input.BucketARNUpdate != null && { BucketARNUpdate: input.BucketARNUpdate }),
|
|
1634
|
-
...(input.FileKeyUpdate != null && { FileKeyUpdate: input.FileKeyUpdate }),
|
|
1635
|
-
...(input.ReferenceRoleARNUpdate != null && { ReferenceRoleARNUpdate: input.ReferenceRoleARNUpdate }),
|
|
1636
|
-
};
|
|
1637
|
-
};
|
|
1638
|
-
const se_SourceSchema = (input, context) => {
|
|
1639
|
-
return {
|
|
1640
|
-
...(input.RecordColumns != null && { RecordColumns: se_RecordColumns(input.RecordColumns, context) }),
|
|
1641
|
-
...(input.RecordEncoding != null && { RecordEncoding: input.RecordEncoding }),
|
|
1642
|
-
...(input.RecordFormat != null && { RecordFormat: se_RecordFormat(input.RecordFormat, context) }),
|
|
1643
|
-
};
|
|
1644
|
-
};
|
|
1645
|
-
const se_StartApplicationRequest = (input, context) => {
|
|
1646
|
-
return {
|
|
1647
|
-
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1648
|
-
...(input.InputConfigurations != null && {
|
|
1649
|
-
InputConfigurations: se_InputConfigurations(input.InputConfigurations, context),
|
|
1650
|
-
}),
|
|
1651
|
-
};
|
|
1652
|
-
};
|
|
1653
|
-
const se_StopApplicationRequest = (input, context) => {
|
|
1654
|
-
return {
|
|
1655
|
-
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1656
|
-
};
|
|
1657
|
-
};
|
|
1658
|
-
const se_Tag = (input, context) => {
|
|
1659
|
-
return {
|
|
1660
|
-
...(input.Key != null && { Key: input.Key }),
|
|
1661
|
-
...(input.Value != null && { Value: input.Value }),
|
|
1662
|
-
};
|
|
1663
|
-
};
|
|
1664
|
-
const se_TagKeys = (input, context) => {
|
|
1665
|
-
return input
|
|
1666
|
-
.filter((e) => e != null)
|
|
1667
|
-
.map((entry) => {
|
|
1668
|
-
return entry;
|
|
1669
|
-
});
|
|
1670
|
-
};
|
|
1671
|
-
const se_TagResourceRequest = (input, context) => {
|
|
1672
|
-
return {
|
|
1673
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1674
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
1675
|
-
};
|
|
1676
|
-
};
|
|
1677
|
-
const se_Tags = (input, context) => {
|
|
1678
|
-
return input
|
|
1679
|
-
.filter((e) => e != null)
|
|
1680
|
-
.map((entry) => {
|
|
1681
|
-
return se_Tag(entry, context);
|
|
1121
|
+
return (0, smithy_client_1.take)(input, {
|
|
1122
|
+
ApplicationName: [],
|
|
1123
|
+
CreateTimestamp: (_) => Math.round(_.getTime() / 1000),
|
|
1682
1124
|
});
|
|
1683
1125
|
};
|
|
1684
|
-
const se_UntagResourceRequest = (input, context) => {
|
|
1685
|
-
return {
|
|
1686
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1687
|
-
...(input.TagKeys != null && { TagKeys: se_TagKeys(input.TagKeys, context) }),
|
|
1688
|
-
};
|
|
1689
|
-
};
|
|
1690
|
-
const se_UpdateApplicationRequest = (input, context) => {
|
|
1691
|
-
return {
|
|
1692
|
-
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1693
|
-
...(input.ApplicationUpdate != null && {
|
|
1694
|
-
ApplicationUpdate: se_ApplicationUpdate(input.ApplicationUpdate, context),
|
|
1695
|
-
}),
|
|
1696
|
-
...(input.CurrentApplicationVersionId != null && {
|
|
1697
|
-
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1698
|
-
}),
|
|
1699
|
-
};
|
|
1700
|
-
};
|
|
1701
|
-
const de_AddApplicationCloudWatchLoggingOptionResponse = (output, context) => {
|
|
1702
|
-
return {};
|
|
1703
|
-
};
|
|
1704
|
-
const de_AddApplicationInputProcessingConfigurationResponse = (output, context) => {
|
|
1705
|
-
return {};
|
|
1706
|
-
};
|
|
1707
|
-
const de_AddApplicationInputResponse = (output, context) => {
|
|
1708
|
-
return {};
|
|
1709
|
-
};
|
|
1710
|
-
const de_AddApplicationOutputResponse = (output, context) => {
|
|
1711
|
-
return {};
|
|
1712
|
-
};
|
|
1713
|
-
const de_AddApplicationReferenceDataSourceResponse = (output, context) => {
|
|
1714
|
-
return {};
|
|
1715
|
-
};
|
|
1716
1126
|
const de_ApplicationDetail = (output, context) => {
|
|
1717
|
-
return {
|
|
1718
|
-
ApplicationARN:
|
|
1719
|
-
ApplicationCode:
|
|
1720
|
-
ApplicationDescription:
|
|
1721
|
-
ApplicationName:
|
|
1722
|
-
ApplicationStatus:
|
|
1723
|
-
ApplicationVersionId:
|
|
1724
|
-
CloudWatchLoggingOptionDescriptions:
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
InputDescriptions: output.InputDescriptions != null ? de_InputDescriptions(output.InputDescriptions, context) : undefined,
|
|
1731
|
-
LastUpdateTimestamp: output.LastUpdateTimestamp != null
|
|
1732
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdateTimestamp)))
|
|
1733
|
-
: undefined,
|
|
1734
|
-
OutputDescriptions: output.OutputDescriptions != null ? de_OutputDescriptions(output.OutputDescriptions, context) : undefined,
|
|
1735
|
-
ReferenceDataSourceDescriptions: output.ReferenceDataSourceDescriptions != null
|
|
1736
|
-
? de_ReferenceDataSourceDescriptions(output.ReferenceDataSourceDescriptions, context)
|
|
1737
|
-
: undefined,
|
|
1738
|
-
};
|
|
1739
|
-
};
|
|
1740
|
-
const de_ApplicationSummaries = (output, context) => {
|
|
1741
|
-
const retVal = (output || [])
|
|
1742
|
-
.filter((e) => e != null)
|
|
1743
|
-
.map((entry) => {
|
|
1744
|
-
if (entry === null) {
|
|
1745
|
-
return null;
|
|
1746
|
-
}
|
|
1747
|
-
return de_ApplicationSummary(entry, context);
|
|
1748
|
-
});
|
|
1749
|
-
return retVal;
|
|
1750
|
-
};
|
|
1751
|
-
const de_ApplicationSummary = (output, context) => {
|
|
1752
|
-
return {
|
|
1753
|
-
ApplicationARN: (0, smithy_client_1.expectString)(output.ApplicationARN),
|
|
1754
|
-
ApplicationName: (0, smithy_client_1.expectString)(output.ApplicationName),
|
|
1755
|
-
ApplicationStatus: (0, smithy_client_1.expectString)(output.ApplicationStatus),
|
|
1756
|
-
};
|
|
1757
|
-
};
|
|
1758
|
-
const de_CloudWatchLoggingOptionDescription = (output, context) => {
|
|
1759
|
-
return {
|
|
1760
|
-
CloudWatchLoggingOptionId: (0, smithy_client_1.expectString)(output.CloudWatchLoggingOptionId),
|
|
1761
|
-
LogStreamARN: (0, smithy_client_1.expectString)(output.LogStreamARN),
|
|
1762
|
-
RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
|
|
1763
|
-
};
|
|
1764
|
-
};
|
|
1765
|
-
const de_CloudWatchLoggingOptionDescriptions = (output, context) => {
|
|
1766
|
-
const retVal = (output || [])
|
|
1767
|
-
.filter((e) => e != null)
|
|
1768
|
-
.map((entry) => {
|
|
1769
|
-
if (entry === null) {
|
|
1770
|
-
return null;
|
|
1771
|
-
}
|
|
1772
|
-
return de_CloudWatchLoggingOptionDescription(entry, context);
|
|
1127
|
+
return (0, smithy_client_1.take)(output, {
|
|
1128
|
+
ApplicationARN: smithy_client_1.expectString,
|
|
1129
|
+
ApplicationCode: smithy_client_1.expectString,
|
|
1130
|
+
ApplicationDescription: smithy_client_1.expectString,
|
|
1131
|
+
ApplicationName: smithy_client_1.expectString,
|
|
1132
|
+
ApplicationStatus: smithy_client_1.expectString,
|
|
1133
|
+
ApplicationVersionId: smithy_client_1.expectLong,
|
|
1134
|
+
CloudWatchLoggingOptionDescriptions: smithy_client_1._json,
|
|
1135
|
+
CreateTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1136
|
+
InputDescriptions: smithy_client_1._json,
|
|
1137
|
+
LastUpdateTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1138
|
+
OutputDescriptions: smithy_client_1._json,
|
|
1139
|
+
ReferenceDataSourceDescriptions: smithy_client_1._json,
|
|
1773
1140
|
});
|
|
1774
|
-
return retVal;
|
|
1775
|
-
};
|
|
1776
|
-
const de_CodeValidationException = (output, context) => {
|
|
1777
|
-
return {
|
|
1778
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
1779
|
-
};
|
|
1780
|
-
};
|
|
1781
|
-
const de_ConcurrentModificationException = (output, context) => {
|
|
1782
|
-
return {
|
|
1783
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
1784
|
-
};
|
|
1785
|
-
};
|
|
1786
|
-
const de_CreateApplicationResponse = (output, context) => {
|
|
1787
|
-
return {
|
|
1788
|
-
ApplicationSummary: output.ApplicationSummary != null ? de_ApplicationSummary(output.ApplicationSummary, context) : undefined,
|
|
1789
|
-
};
|
|
1790
|
-
};
|
|
1791
|
-
const de_CSVMappingParameters = (output, context) => {
|
|
1792
|
-
return {
|
|
1793
|
-
RecordColumnDelimiter: (0, smithy_client_1.expectString)(output.RecordColumnDelimiter),
|
|
1794
|
-
RecordRowDelimiter: (0, smithy_client_1.expectString)(output.RecordRowDelimiter),
|
|
1795
|
-
};
|
|
1796
|
-
};
|
|
1797
|
-
const de_DeleteApplicationCloudWatchLoggingOptionResponse = (output, context) => {
|
|
1798
|
-
return {};
|
|
1799
|
-
};
|
|
1800
|
-
const de_DeleteApplicationInputProcessingConfigurationResponse = (output, context) => {
|
|
1801
|
-
return {};
|
|
1802
|
-
};
|
|
1803
|
-
const de_DeleteApplicationOutputResponse = (output, context) => {
|
|
1804
|
-
return {};
|
|
1805
|
-
};
|
|
1806
|
-
const de_DeleteApplicationReferenceDataSourceResponse = (output, context) => {
|
|
1807
|
-
return {};
|
|
1808
|
-
};
|
|
1809
|
-
const de_DeleteApplicationResponse = (output, context) => {
|
|
1810
|
-
return {};
|
|
1811
1141
|
};
|
|
1812
1142
|
const de_DescribeApplicationResponse = (output, context) => {
|
|
1813
|
-
return {
|
|
1814
|
-
ApplicationDetail:
|
|
1815
|
-
};
|
|
1816
|
-
};
|
|
1817
|
-
const de_DestinationSchema = (output, context) => {
|
|
1818
|
-
return {
|
|
1819
|
-
RecordFormatType: (0, smithy_client_1.expectString)(output.RecordFormatType),
|
|
1820
|
-
};
|
|
1821
|
-
};
|
|
1822
|
-
const de_DiscoverInputSchemaResponse = (output, context) => {
|
|
1823
|
-
return {
|
|
1824
|
-
InputSchema: output.InputSchema != null ? de_SourceSchema(output.InputSchema, context) : undefined,
|
|
1825
|
-
ParsedInputRecords: output.ParsedInputRecords != null ? de_ParsedInputRecords(output.ParsedInputRecords, context) : undefined,
|
|
1826
|
-
ProcessedInputRecords: output.ProcessedInputRecords != null
|
|
1827
|
-
? de_ProcessedInputRecords(output.ProcessedInputRecords, context)
|
|
1828
|
-
: undefined,
|
|
1829
|
-
RawInputRecords: output.RawInputRecords != null ? de_RawInputRecords(output.RawInputRecords, context) : undefined,
|
|
1830
|
-
};
|
|
1831
|
-
};
|
|
1832
|
-
const de_InAppStreamNames = (output, context) => {
|
|
1833
|
-
const retVal = (output || [])
|
|
1834
|
-
.filter((e) => e != null)
|
|
1835
|
-
.map((entry) => {
|
|
1836
|
-
if (entry === null) {
|
|
1837
|
-
return null;
|
|
1838
|
-
}
|
|
1839
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
1840
|
-
});
|
|
1841
|
-
return retVal;
|
|
1842
|
-
};
|
|
1843
|
-
const de_InputDescription = (output, context) => {
|
|
1844
|
-
return {
|
|
1845
|
-
InAppStreamNames: output.InAppStreamNames != null ? de_InAppStreamNames(output.InAppStreamNames, context) : undefined,
|
|
1846
|
-
InputId: (0, smithy_client_1.expectString)(output.InputId),
|
|
1847
|
-
InputParallelism: output.InputParallelism != null ? de_InputParallelism(output.InputParallelism, context) : undefined,
|
|
1848
|
-
InputProcessingConfigurationDescription: output.InputProcessingConfigurationDescription != null
|
|
1849
|
-
? de_InputProcessingConfigurationDescription(output.InputProcessingConfigurationDescription, context)
|
|
1850
|
-
: undefined,
|
|
1851
|
-
InputSchema: output.InputSchema != null ? de_SourceSchema(output.InputSchema, context) : undefined,
|
|
1852
|
-
InputStartingPositionConfiguration: output.InputStartingPositionConfiguration != null
|
|
1853
|
-
? de_InputStartingPositionConfiguration(output.InputStartingPositionConfiguration, context)
|
|
1854
|
-
: undefined,
|
|
1855
|
-
KinesisFirehoseInputDescription: output.KinesisFirehoseInputDescription != null
|
|
1856
|
-
? de_KinesisFirehoseInputDescription(output.KinesisFirehoseInputDescription, context)
|
|
1857
|
-
: undefined,
|
|
1858
|
-
KinesisStreamsInputDescription: output.KinesisStreamsInputDescription != null
|
|
1859
|
-
? de_KinesisStreamsInputDescription(output.KinesisStreamsInputDescription, context)
|
|
1860
|
-
: undefined,
|
|
1861
|
-
NamePrefix: (0, smithy_client_1.expectString)(output.NamePrefix),
|
|
1862
|
-
};
|
|
1863
|
-
};
|
|
1864
|
-
const de_InputDescriptions = (output, context) => {
|
|
1865
|
-
const retVal = (output || [])
|
|
1866
|
-
.filter((e) => e != null)
|
|
1867
|
-
.map((entry) => {
|
|
1868
|
-
if (entry === null) {
|
|
1869
|
-
return null;
|
|
1870
|
-
}
|
|
1871
|
-
return de_InputDescription(entry, context);
|
|
1143
|
+
return (0, smithy_client_1.take)(output, {
|
|
1144
|
+
ApplicationDetail: (_) => de_ApplicationDetail(_, context),
|
|
1872
1145
|
});
|
|
1873
|
-
return retVal;
|
|
1874
|
-
};
|
|
1875
|
-
const de_InputLambdaProcessorDescription = (output, context) => {
|
|
1876
|
-
return {
|
|
1877
|
-
ResourceARN: (0, smithy_client_1.expectString)(output.ResourceARN),
|
|
1878
|
-
RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
|
|
1879
|
-
};
|
|
1880
|
-
};
|
|
1881
|
-
const de_InputParallelism = (output, context) => {
|
|
1882
|
-
return {
|
|
1883
|
-
Count: (0, smithy_client_1.expectInt32)(output.Count),
|
|
1884
|
-
};
|
|
1885
|
-
};
|
|
1886
|
-
const de_InputProcessingConfigurationDescription = (output, context) => {
|
|
1887
|
-
return {
|
|
1888
|
-
InputLambdaProcessorDescription: output.InputLambdaProcessorDescription != null
|
|
1889
|
-
? de_InputLambdaProcessorDescription(output.InputLambdaProcessorDescription, context)
|
|
1890
|
-
: undefined,
|
|
1891
|
-
};
|
|
1892
|
-
};
|
|
1893
|
-
const de_InputStartingPositionConfiguration = (output, context) => {
|
|
1894
|
-
return {
|
|
1895
|
-
InputStartingPosition: (0, smithy_client_1.expectString)(output.InputStartingPosition),
|
|
1896
|
-
};
|
|
1897
|
-
};
|
|
1898
|
-
const de_InvalidApplicationConfigurationException = (output, context) => {
|
|
1899
|
-
return {
|
|
1900
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
1901
|
-
};
|
|
1902
|
-
};
|
|
1903
|
-
const de_InvalidArgumentException = (output, context) => {
|
|
1904
|
-
return {
|
|
1905
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
1906
|
-
};
|
|
1907
|
-
};
|
|
1908
|
-
const de_JSONMappingParameters = (output, context) => {
|
|
1909
|
-
return {
|
|
1910
|
-
RecordRowPath: (0, smithy_client_1.expectString)(output.RecordRowPath),
|
|
1911
|
-
};
|
|
1912
|
-
};
|
|
1913
|
-
const de_KinesisFirehoseInputDescription = (output, context) => {
|
|
1914
|
-
return {
|
|
1915
|
-
ResourceARN: (0, smithy_client_1.expectString)(output.ResourceARN),
|
|
1916
|
-
RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
|
|
1917
|
-
};
|
|
1918
|
-
};
|
|
1919
|
-
const de_KinesisFirehoseOutputDescription = (output, context) => {
|
|
1920
|
-
return {
|
|
1921
|
-
ResourceARN: (0, smithy_client_1.expectString)(output.ResourceARN),
|
|
1922
|
-
RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
|
|
1923
|
-
};
|
|
1924
|
-
};
|
|
1925
|
-
const de_KinesisStreamsInputDescription = (output, context) => {
|
|
1926
|
-
return {
|
|
1927
|
-
ResourceARN: (0, smithy_client_1.expectString)(output.ResourceARN),
|
|
1928
|
-
RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
|
|
1929
|
-
};
|
|
1930
|
-
};
|
|
1931
|
-
const de_KinesisStreamsOutputDescription = (output, context) => {
|
|
1932
|
-
return {
|
|
1933
|
-
ResourceARN: (0, smithy_client_1.expectString)(output.ResourceARN),
|
|
1934
|
-
RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
|
|
1935
|
-
};
|
|
1936
|
-
};
|
|
1937
|
-
const de_LambdaOutputDescription = (output, context) => {
|
|
1938
|
-
return {
|
|
1939
|
-
ResourceARN: (0, smithy_client_1.expectString)(output.ResourceARN),
|
|
1940
|
-
RoleARN: (0, smithy_client_1.expectString)(output.RoleARN),
|
|
1941
|
-
};
|
|
1942
|
-
};
|
|
1943
|
-
const de_LimitExceededException = (output, context) => {
|
|
1944
|
-
return {
|
|
1945
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
1946
|
-
};
|
|
1947
|
-
};
|
|
1948
|
-
const de_ListApplicationsResponse = (output, context) => {
|
|
1949
|
-
return {
|
|
1950
|
-
ApplicationSummaries: output.ApplicationSummaries != null ? de_ApplicationSummaries(output.ApplicationSummaries, context) : undefined,
|
|
1951
|
-
HasMoreApplications: (0, smithy_client_1.expectBoolean)(output.HasMoreApplications),
|
|
1952
|
-
};
|
|
1953
|
-
};
|
|
1954
|
-
const de_ListTagsForResourceResponse = (output, context) => {
|
|
1955
|
-
return {
|
|
1956
|
-
Tags: output.Tags != null ? de_Tags(output.Tags, context) : undefined,
|
|
1957
|
-
};
|
|
1958
|
-
};
|
|
1959
|
-
const de_MappingParameters = (output, context) => {
|
|
1960
|
-
return {
|
|
1961
|
-
CSVMappingParameters: output.CSVMappingParameters != null ? de_CSVMappingParameters(output.CSVMappingParameters, context) : undefined,
|
|
1962
|
-
JSONMappingParameters: output.JSONMappingParameters != null
|
|
1963
|
-
? de_JSONMappingParameters(output.JSONMappingParameters, context)
|
|
1964
|
-
: undefined,
|
|
1965
|
-
};
|
|
1966
|
-
};
|
|
1967
|
-
const de_OutputDescription = (output, context) => {
|
|
1968
|
-
return {
|
|
1969
|
-
DestinationSchema: output.DestinationSchema != null ? de_DestinationSchema(output.DestinationSchema, context) : undefined,
|
|
1970
|
-
KinesisFirehoseOutputDescription: output.KinesisFirehoseOutputDescription != null
|
|
1971
|
-
? de_KinesisFirehoseOutputDescription(output.KinesisFirehoseOutputDescription, context)
|
|
1972
|
-
: undefined,
|
|
1973
|
-
KinesisStreamsOutputDescription: output.KinesisStreamsOutputDescription != null
|
|
1974
|
-
? de_KinesisStreamsOutputDescription(output.KinesisStreamsOutputDescription, context)
|
|
1975
|
-
: undefined,
|
|
1976
|
-
LambdaOutputDescription: output.LambdaOutputDescription != null
|
|
1977
|
-
? de_LambdaOutputDescription(output.LambdaOutputDescription, context)
|
|
1978
|
-
: undefined,
|
|
1979
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
1980
|
-
OutputId: (0, smithy_client_1.expectString)(output.OutputId),
|
|
1981
|
-
};
|
|
1982
|
-
};
|
|
1983
|
-
const de_OutputDescriptions = (output, context) => {
|
|
1984
|
-
const retVal = (output || [])
|
|
1985
|
-
.filter((e) => e != null)
|
|
1986
|
-
.map((entry) => {
|
|
1987
|
-
if (entry === null) {
|
|
1988
|
-
return null;
|
|
1989
|
-
}
|
|
1990
|
-
return de_OutputDescription(entry, context);
|
|
1991
|
-
});
|
|
1992
|
-
return retVal;
|
|
1993
|
-
};
|
|
1994
|
-
const de_ParsedInputRecord = (output, context) => {
|
|
1995
|
-
const retVal = (output || [])
|
|
1996
|
-
.filter((e) => e != null)
|
|
1997
|
-
.map((entry) => {
|
|
1998
|
-
if (entry === null) {
|
|
1999
|
-
return null;
|
|
2000
|
-
}
|
|
2001
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2002
|
-
});
|
|
2003
|
-
return retVal;
|
|
2004
|
-
};
|
|
2005
|
-
const de_ParsedInputRecords = (output, context) => {
|
|
2006
|
-
const retVal = (output || [])
|
|
2007
|
-
.filter((e) => e != null)
|
|
2008
|
-
.map((entry) => {
|
|
2009
|
-
if (entry === null) {
|
|
2010
|
-
return null;
|
|
2011
|
-
}
|
|
2012
|
-
return de_ParsedInputRecord(entry, context);
|
|
2013
|
-
});
|
|
2014
|
-
return retVal;
|
|
2015
|
-
};
|
|
2016
|
-
const de_ProcessedInputRecords = (output, context) => {
|
|
2017
|
-
const retVal = (output || [])
|
|
2018
|
-
.filter((e) => e != null)
|
|
2019
|
-
.map((entry) => {
|
|
2020
|
-
if (entry === null) {
|
|
2021
|
-
return null;
|
|
2022
|
-
}
|
|
2023
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2024
|
-
});
|
|
2025
|
-
return retVal;
|
|
2026
|
-
};
|
|
2027
|
-
const de_RawInputRecords = (output, context) => {
|
|
2028
|
-
const retVal = (output || [])
|
|
2029
|
-
.filter((e) => e != null)
|
|
2030
|
-
.map((entry) => {
|
|
2031
|
-
if (entry === null) {
|
|
2032
|
-
return null;
|
|
2033
|
-
}
|
|
2034
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2035
|
-
});
|
|
2036
|
-
return retVal;
|
|
2037
|
-
};
|
|
2038
|
-
const de_RecordColumn = (output, context) => {
|
|
2039
|
-
return {
|
|
2040
|
-
Mapping: (0, smithy_client_1.expectString)(output.Mapping),
|
|
2041
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2042
|
-
SqlType: (0, smithy_client_1.expectString)(output.SqlType),
|
|
2043
|
-
};
|
|
2044
|
-
};
|
|
2045
|
-
const de_RecordColumns = (output, context) => {
|
|
2046
|
-
const retVal = (output || [])
|
|
2047
|
-
.filter((e) => e != null)
|
|
2048
|
-
.map((entry) => {
|
|
2049
|
-
if (entry === null) {
|
|
2050
|
-
return null;
|
|
2051
|
-
}
|
|
2052
|
-
return de_RecordColumn(entry, context);
|
|
2053
|
-
});
|
|
2054
|
-
return retVal;
|
|
2055
|
-
};
|
|
2056
|
-
const de_RecordFormat = (output, context) => {
|
|
2057
|
-
return {
|
|
2058
|
-
MappingParameters: output.MappingParameters != null ? de_MappingParameters(output.MappingParameters, context) : undefined,
|
|
2059
|
-
RecordFormatType: (0, smithy_client_1.expectString)(output.RecordFormatType),
|
|
2060
|
-
};
|
|
2061
|
-
};
|
|
2062
|
-
const de_ReferenceDataSourceDescription = (output, context) => {
|
|
2063
|
-
return {
|
|
2064
|
-
ReferenceId: (0, smithy_client_1.expectString)(output.ReferenceId),
|
|
2065
|
-
ReferenceSchema: output.ReferenceSchema != null ? de_SourceSchema(output.ReferenceSchema, context) : undefined,
|
|
2066
|
-
S3ReferenceDataSourceDescription: output.S3ReferenceDataSourceDescription != null
|
|
2067
|
-
? de_S3ReferenceDataSourceDescription(output.S3ReferenceDataSourceDescription, context)
|
|
2068
|
-
: undefined,
|
|
2069
|
-
TableName: (0, smithy_client_1.expectString)(output.TableName),
|
|
2070
|
-
};
|
|
2071
|
-
};
|
|
2072
|
-
const de_ReferenceDataSourceDescriptions = (output, context) => {
|
|
2073
|
-
const retVal = (output || [])
|
|
2074
|
-
.filter((e) => e != null)
|
|
2075
|
-
.map((entry) => {
|
|
2076
|
-
if (entry === null) {
|
|
2077
|
-
return null;
|
|
2078
|
-
}
|
|
2079
|
-
return de_ReferenceDataSourceDescription(entry, context);
|
|
2080
|
-
});
|
|
2081
|
-
return retVal;
|
|
2082
|
-
};
|
|
2083
|
-
const de_ResourceInUseException = (output, context) => {
|
|
2084
|
-
return {
|
|
2085
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2086
|
-
};
|
|
2087
|
-
};
|
|
2088
|
-
const de_ResourceNotFoundException = (output, context) => {
|
|
2089
|
-
return {
|
|
2090
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2091
|
-
};
|
|
2092
|
-
};
|
|
2093
|
-
const de_ResourceProvisionedThroughputExceededException = (output, context) => {
|
|
2094
|
-
return {
|
|
2095
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2096
|
-
};
|
|
2097
|
-
};
|
|
2098
|
-
const de_S3ReferenceDataSourceDescription = (output, context) => {
|
|
2099
|
-
return {
|
|
2100
|
-
BucketARN: (0, smithy_client_1.expectString)(output.BucketARN),
|
|
2101
|
-
FileKey: (0, smithy_client_1.expectString)(output.FileKey),
|
|
2102
|
-
ReferenceRoleARN: (0, smithy_client_1.expectString)(output.ReferenceRoleARN),
|
|
2103
|
-
};
|
|
2104
|
-
};
|
|
2105
|
-
const de_ServiceUnavailableException = (output, context) => {
|
|
2106
|
-
return {
|
|
2107
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2108
|
-
};
|
|
2109
|
-
};
|
|
2110
|
-
const de_SourceSchema = (output, context) => {
|
|
2111
|
-
return {
|
|
2112
|
-
RecordColumns: output.RecordColumns != null ? de_RecordColumns(output.RecordColumns, context) : undefined,
|
|
2113
|
-
RecordEncoding: (0, smithy_client_1.expectString)(output.RecordEncoding),
|
|
2114
|
-
RecordFormat: output.RecordFormat != null ? de_RecordFormat(output.RecordFormat, context) : undefined,
|
|
2115
|
-
};
|
|
2116
|
-
};
|
|
2117
|
-
const de_StartApplicationResponse = (output, context) => {
|
|
2118
|
-
return {};
|
|
2119
|
-
};
|
|
2120
|
-
const de_StopApplicationResponse = (output, context) => {
|
|
2121
|
-
return {};
|
|
2122
|
-
};
|
|
2123
|
-
const de_Tag = (output, context) => {
|
|
2124
|
-
return {
|
|
2125
|
-
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
2126
|
-
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
2127
|
-
};
|
|
2128
|
-
};
|
|
2129
|
-
const de_TagResourceResponse = (output, context) => {
|
|
2130
|
-
return {};
|
|
2131
|
-
};
|
|
2132
|
-
const de_Tags = (output, context) => {
|
|
2133
|
-
const retVal = (output || [])
|
|
2134
|
-
.filter((e) => e != null)
|
|
2135
|
-
.map((entry) => {
|
|
2136
|
-
if (entry === null) {
|
|
2137
|
-
return null;
|
|
2138
|
-
}
|
|
2139
|
-
return de_Tag(entry, context);
|
|
2140
|
-
});
|
|
2141
|
-
return retVal;
|
|
2142
|
-
};
|
|
2143
|
-
const de_TooManyTagsException = (output, context) => {
|
|
2144
|
-
return {
|
|
2145
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2146
|
-
};
|
|
2147
|
-
};
|
|
2148
|
-
const de_UnableToDetectSchemaException = (output, context) => {
|
|
2149
|
-
return {
|
|
2150
|
-
ProcessedInputRecords: output.ProcessedInputRecords != null
|
|
2151
|
-
? de_ProcessedInputRecords(output.ProcessedInputRecords, context)
|
|
2152
|
-
: undefined,
|
|
2153
|
-
RawInputRecords: output.RawInputRecords != null ? de_RawInputRecords(output.RawInputRecords, context) : undefined,
|
|
2154
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2155
|
-
};
|
|
2156
|
-
};
|
|
2157
|
-
const de_UnsupportedOperationException = (output, context) => {
|
|
2158
|
-
return {
|
|
2159
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
2160
|
-
};
|
|
2161
|
-
};
|
|
2162
|
-
const de_UntagResourceResponse = (output, context) => {
|
|
2163
|
-
return {};
|
|
2164
|
-
};
|
|
2165
|
-
const de_UpdateApplicationResponse = (output, context) => {
|
|
2166
|
-
return {};
|
|
2167
1146
|
};
|
|
2168
1147
|
const deserializeMetadata = (output) => ({
|
|
2169
1148
|
httpStatusCode: output.statusCode,
|
|
@@ -2178,6 +1157,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
2178
1157
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
2179
1158
|
};
|
|
2180
1159
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
1160
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException);
|
|
2181
1161
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
2182
1162
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2183
1163
|
const contents = {
|