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