@aws-sdk/client-kinesis-analytics 3.183.0 → 3.185.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/KinesisAnalytics.js +89 -82
- package/dist-es/KinesisAnalyticsClient.js +28 -22
- package/dist-es/commands/AddApplicationCloudWatchLoggingOptionCommand.js +28 -21
- package/dist-es/commands/AddApplicationInputCommand.js +28 -21
- package/dist-es/commands/AddApplicationInputProcessingConfigurationCommand.js +28 -21
- package/dist-es/commands/AddApplicationOutputCommand.js +28 -21
- package/dist-es/commands/AddApplicationReferenceDataSourceCommand.js +28 -21
- package/dist-es/commands/CreateApplicationCommand.js +28 -21
- package/dist-es/commands/DeleteApplicationCloudWatchLoggingOptionCommand.js +28 -21
- package/dist-es/commands/DeleteApplicationCommand.js +28 -21
- package/dist-es/commands/DeleteApplicationInputProcessingConfigurationCommand.js +28 -21
- package/dist-es/commands/DeleteApplicationOutputCommand.js +28 -21
- package/dist-es/commands/DeleteApplicationReferenceDataSourceCommand.js +28 -21
- package/dist-es/commands/DescribeApplicationCommand.js +28 -21
- package/dist-es/commands/DiscoverInputSchemaCommand.js +28 -21
- package/dist-es/commands/ListApplicationsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/StartApplicationCommand.js +28 -21
- package/dist-es/commands/StopApplicationCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateApplicationCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/KinesisAnalyticsServiceException.js +10 -5
- package/dist-es/models/models_0.js +228 -413
- package/dist-es/protocols/Aws_json1_1.js +2068 -1793
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
|
@@ -1,1748 +1,2000 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
3
|
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { KinesisAnalyticsServiceException as __BaseException } from "../models/KinesisAnalyticsServiceException";
|
|
4
5
|
import { CodeValidationException, ConcurrentModificationException, InvalidApplicationConfigurationException, InvalidArgumentException, LimitExceededException, ResourceInUseException, ResourceNotFoundException, ResourceProvisionedThroughputExceededException, ServiceUnavailableException, TooManyTagsException, UnableToDetectSchemaException, UnsupportedOperationException, } from "../models/models_0";
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
return
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
};
|
|
104
|
-
export
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
};
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
};
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
};
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
return
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
};
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
};
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
output
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
throw
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
};
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
output
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
throw
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
};
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
throw
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
throw
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
}
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
}
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
throw
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
throw
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
throw
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
};
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
}
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
output
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
};
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
};
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
});
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
});
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
};
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
};
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
return
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
};
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
};
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
6
|
+
export var serializeAws_json1_1AddApplicationCloudWatchLoggingOptionCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
7
|
+
var headers, body;
|
|
8
|
+
return __generator(this, function (_a) {
|
|
9
|
+
headers = {
|
|
10
|
+
"content-type": "application/x-amz-json-1.1",
|
|
11
|
+
"x-amz-target": "KinesisAnalytics_20150814.AddApplicationCloudWatchLoggingOption",
|
|
12
|
+
};
|
|
13
|
+
body = JSON.stringify(serializeAws_json1_1AddApplicationCloudWatchLoggingOptionRequest(input, context));
|
|
14
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
15
|
+
});
|
|
16
|
+
}); };
|
|
17
|
+
export var serializeAws_json1_1AddApplicationInputCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
18
|
+
var headers, body;
|
|
19
|
+
return __generator(this, function (_a) {
|
|
20
|
+
headers = {
|
|
21
|
+
"content-type": "application/x-amz-json-1.1",
|
|
22
|
+
"x-amz-target": "KinesisAnalytics_20150814.AddApplicationInput",
|
|
23
|
+
};
|
|
24
|
+
body = JSON.stringify(serializeAws_json1_1AddApplicationInputRequest(input, context));
|
|
25
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
26
|
+
});
|
|
27
|
+
}); };
|
|
28
|
+
export var serializeAws_json1_1AddApplicationInputProcessingConfigurationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
29
|
+
var headers, body;
|
|
30
|
+
return __generator(this, function (_a) {
|
|
31
|
+
headers = {
|
|
32
|
+
"content-type": "application/x-amz-json-1.1",
|
|
33
|
+
"x-amz-target": "KinesisAnalytics_20150814.AddApplicationInputProcessingConfiguration",
|
|
34
|
+
};
|
|
35
|
+
body = JSON.stringify(serializeAws_json1_1AddApplicationInputProcessingConfigurationRequest(input, context));
|
|
36
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
37
|
+
});
|
|
38
|
+
}); };
|
|
39
|
+
export var serializeAws_json1_1AddApplicationOutputCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
40
|
+
var headers, body;
|
|
41
|
+
return __generator(this, function (_a) {
|
|
42
|
+
headers = {
|
|
43
|
+
"content-type": "application/x-amz-json-1.1",
|
|
44
|
+
"x-amz-target": "KinesisAnalytics_20150814.AddApplicationOutput",
|
|
45
|
+
};
|
|
46
|
+
body = JSON.stringify(serializeAws_json1_1AddApplicationOutputRequest(input, context));
|
|
47
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
48
|
+
});
|
|
49
|
+
}); };
|
|
50
|
+
export var serializeAws_json1_1AddApplicationReferenceDataSourceCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
51
|
+
var headers, body;
|
|
52
|
+
return __generator(this, function (_a) {
|
|
53
|
+
headers = {
|
|
54
|
+
"content-type": "application/x-amz-json-1.1",
|
|
55
|
+
"x-amz-target": "KinesisAnalytics_20150814.AddApplicationReferenceDataSource",
|
|
56
|
+
};
|
|
57
|
+
body = JSON.stringify(serializeAws_json1_1AddApplicationReferenceDataSourceRequest(input, context));
|
|
58
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
59
|
+
});
|
|
60
|
+
}); };
|
|
61
|
+
export var serializeAws_json1_1CreateApplicationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
62
|
+
var headers, body;
|
|
63
|
+
return __generator(this, function (_a) {
|
|
64
|
+
headers = {
|
|
65
|
+
"content-type": "application/x-amz-json-1.1",
|
|
66
|
+
"x-amz-target": "KinesisAnalytics_20150814.CreateApplication",
|
|
67
|
+
};
|
|
68
|
+
body = JSON.stringify(serializeAws_json1_1CreateApplicationRequest(input, context));
|
|
69
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
70
|
+
});
|
|
71
|
+
}); };
|
|
72
|
+
export var serializeAws_json1_1DeleteApplicationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
73
|
+
var headers, body;
|
|
74
|
+
return __generator(this, function (_a) {
|
|
75
|
+
headers = {
|
|
76
|
+
"content-type": "application/x-amz-json-1.1",
|
|
77
|
+
"x-amz-target": "KinesisAnalytics_20150814.DeleteApplication",
|
|
78
|
+
};
|
|
79
|
+
body = JSON.stringify(serializeAws_json1_1DeleteApplicationRequest(input, context));
|
|
80
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
81
|
+
});
|
|
82
|
+
}); };
|
|
83
|
+
export var serializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
84
|
+
var headers, body;
|
|
85
|
+
return __generator(this, function (_a) {
|
|
86
|
+
headers = {
|
|
87
|
+
"content-type": "application/x-amz-json-1.1",
|
|
88
|
+
"x-amz-target": "KinesisAnalytics_20150814.DeleteApplicationCloudWatchLoggingOption",
|
|
89
|
+
};
|
|
90
|
+
body = JSON.stringify(serializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionRequest(input, context));
|
|
91
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
92
|
+
});
|
|
93
|
+
}); };
|
|
94
|
+
export var serializeAws_json1_1DeleteApplicationInputProcessingConfigurationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
95
|
+
var headers, body;
|
|
96
|
+
return __generator(this, function (_a) {
|
|
97
|
+
headers = {
|
|
98
|
+
"content-type": "application/x-amz-json-1.1",
|
|
99
|
+
"x-amz-target": "KinesisAnalytics_20150814.DeleteApplicationInputProcessingConfiguration",
|
|
100
|
+
};
|
|
101
|
+
body = JSON.stringify(serializeAws_json1_1DeleteApplicationInputProcessingConfigurationRequest(input, context));
|
|
102
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
103
|
+
});
|
|
104
|
+
}); };
|
|
105
|
+
export var serializeAws_json1_1DeleteApplicationOutputCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
106
|
+
var headers, body;
|
|
107
|
+
return __generator(this, function (_a) {
|
|
108
|
+
headers = {
|
|
109
|
+
"content-type": "application/x-amz-json-1.1",
|
|
110
|
+
"x-amz-target": "KinesisAnalytics_20150814.DeleteApplicationOutput",
|
|
111
|
+
};
|
|
112
|
+
body = JSON.stringify(serializeAws_json1_1DeleteApplicationOutputRequest(input, context));
|
|
113
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
114
|
+
});
|
|
115
|
+
}); };
|
|
116
|
+
export var serializeAws_json1_1DeleteApplicationReferenceDataSourceCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
117
|
+
var headers, body;
|
|
118
|
+
return __generator(this, function (_a) {
|
|
119
|
+
headers = {
|
|
120
|
+
"content-type": "application/x-amz-json-1.1",
|
|
121
|
+
"x-amz-target": "KinesisAnalytics_20150814.DeleteApplicationReferenceDataSource",
|
|
122
|
+
};
|
|
123
|
+
body = JSON.stringify(serializeAws_json1_1DeleteApplicationReferenceDataSourceRequest(input, context));
|
|
124
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
125
|
+
});
|
|
126
|
+
}); };
|
|
127
|
+
export var serializeAws_json1_1DescribeApplicationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
128
|
+
var headers, body;
|
|
129
|
+
return __generator(this, function (_a) {
|
|
130
|
+
headers = {
|
|
131
|
+
"content-type": "application/x-amz-json-1.1",
|
|
132
|
+
"x-amz-target": "KinesisAnalytics_20150814.DescribeApplication",
|
|
133
|
+
};
|
|
134
|
+
body = JSON.stringify(serializeAws_json1_1DescribeApplicationRequest(input, context));
|
|
135
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
136
|
+
});
|
|
137
|
+
}); };
|
|
138
|
+
export var serializeAws_json1_1DiscoverInputSchemaCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
139
|
+
var headers, body;
|
|
140
|
+
return __generator(this, function (_a) {
|
|
141
|
+
headers = {
|
|
142
|
+
"content-type": "application/x-amz-json-1.1",
|
|
143
|
+
"x-amz-target": "KinesisAnalytics_20150814.DiscoverInputSchema",
|
|
144
|
+
};
|
|
145
|
+
body = JSON.stringify(serializeAws_json1_1DiscoverInputSchemaRequest(input, context));
|
|
146
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
147
|
+
});
|
|
148
|
+
}); };
|
|
149
|
+
export var serializeAws_json1_1ListApplicationsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
150
|
+
var headers, body;
|
|
151
|
+
return __generator(this, function (_a) {
|
|
152
|
+
headers = {
|
|
153
|
+
"content-type": "application/x-amz-json-1.1",
|
|
154
|
+
"x-amz-target": "KinesisAnalytics_20150814.ListApplications",
|
|
155
|
+
};
|
|
156
|
+
body = JSON.stringify(serializeAws_json1_1ListApplicationsRequest(input, context));
|
|
157
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
158
|
+
});
|
|
159
|
+
}); };
|
|
160
|
+
export var serializeAws_json1_1ListTagsForResourceCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
161
|
+
var headers, body;
|
|
162
|
+
return __generator(this, function (_a) {
|
|
163
|
+
headers = {
|
|
164
|
+
"content-type": "application/x-amz-json-1.1",
|
|
165
|
+
"x-amz-target": "KinesisAnalytics_20150814.ListTagsForResource",
|
|
166
|
+
};
|
|
167
|
+
body = JSON.stringify(serializeAws_json1_1ListTagsForResourceRequest(input, context));
|
|
168
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
169
|
+
});
|
|
170
|
+
}); };
|
|
171
|
+
export var serializeAws_json1_1StartApplicationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
172
|
+
var headers, body;
|
|
173
|
+
return __generator(this, function (_a) {
|
|
174
|
+
headers = {
|
|
175
|
+
"content-type": "application/x-amz-json-1.1",
|
|
176
|
+
"x-amz-target": "KinesisAnalytics_20150814.StartApplication",
|
|
177
|
+
};
|
|
178
|
+
body = JSON.stringify(serializeAws_json1_1StartApplicationRequest(input, context));
|
|
179
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
180
|
+
});
|
|
181
|
+
}); };
|
|
182
|
+
export var serializeAws_json1_1StopApplicationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
183
|
+
var headers, body;
|
|
184
|
+
return __generator(this, function (_a) {
|
|
185
|
+
headers = {
|
|
186
|
+
"content-type": "application/x-amz-json-1.1",
|
|
187
|
+
"x-amz-target": "KinesisAnalytics_20150814.StopApplication",
|
|
188
|
+
};
|
|
189
|
+
body = JSON.stringify(serializeAws_json1_1StopApplicationRequest(input, context));
|
|
190
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
191
|
+
});
|
|
192
|
+
}); };
|
|
193
|
+
export var serializeAws_json1_1TagResourceCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
194
|
+
var headers, body;
|
|
195
|
+
return __generator(this, function (_a) {
|
|
196
|
+
headers = {
|
|
197
|
+
"content-type": "application/x-amz-json-1.1",
|
|
198
|
+
"x-amz-target": "KinesisAnalytics_20150814.TagResource",
|
|
199
|
+
};
|
|
200
|
+
body = JSON.stringify(serializeAws_json1_1TagResourceRequest(input, context));
|
|
201
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
202
|
+
});
|
|
203
|
+
}); };
|
|
204
|
+
export var serializeAws_json1_1UntagResourceCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
205
|
+
var headers, body;
|
|
206
|
+
return __generator(this, function (_a) {
|
|
207
|
+
headers = {
|
|
208
|
+
"content-type": "application/x-amz-json-1.1",
|
|
209
|
+
"x-amz-target": "KinesisAnalytics_20150814.UntagResource",
|
|
210
|
+
};
|
|
211
|
+
body = JSON.stringify(serializeAws_json1_1UntagResourceRequest(input, context));
|
|
212
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
213
|
+
});
|
|
214
|
+
}); };
|
|
215
|
+
export var serializeAws_json1_1UpdateApplicationCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
216
|
+
var headers, body;
|
|
217
|
+
return __generator(this, function (_a) {
|
|
218
|
+
headers = {
|
|
219
|
+
"content-type": "application/x-amz-json-1.1",
|
|
220
|
+
"x-amz-target": "KinesisAnalytics_20150814.UpdateApplication",
|
|
221
|
+
};
|
|
222
|
+
body = JSON.stringify(serializeAws_json1_1UpdateApplicationRequest(input, context));
|
|
223
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
224
|
+
});
|
|
225
|
+
}); };
|
|
226
|
+
export var deserializeAws_json1_1AddApplicationCloudWatchLoggingOptionCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
227
|
+
var data, contents, response;
|
|
228
|
+
return __generator(this, function (_a) {
|
|
229
|
+
switch (_a.label) {
|
|
230
|
+
case 0:
|
|
231
|
+
if (output.statusCode >= 300) {
|
|
232
|
+
return [2, deserializeAws_json1_1AddApplicationCloudWatchLoggingOptionCommandError(output, context)];
|
|
233
|
+
}
|
|
234
|
+
return [4, parseBody(output.body, context)];
|
|
235
|
+
case 1:
|
|
236
|
+
data = _a.sent();
|
|
237
|
+
contents = {};
|
|
238
|
+
contents = deserializeAws_json1_1AddApplicationCloudWatchLoggingOptionResponse(data, context);
|
|
239
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
240
|
+
return [2, Promise.resolve(response)];
|
|
241
|
+
}
|
|
242
|
+
});
|
|
243
|
+
}); };
|
|
244
|
+
var deserializeAws_json1_1AddApplicationCloudWatchLoggingOptionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
245
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
246
|
+
var _c;
|
|
247
|
+
return __generator(this, function (_d) {
|
|
248
|
+
switch (_d.label) {
|
|
249
|
+
case 0:
|
|
250
|
+
_a = [__assign({}, output)];
|
|
251
|
+
_c = {};
|
|
252
|
+
return [4, parseErrorBody(output.body, context)];
|
|
253
|
+
case 1:
|
|
254
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
255
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
256
|
+
_b = errorCode;
|
|
257
|
+
switch (_b) {
|
|
258
|
+
case "ConcurrentModificationException": return [3, 2];
|
|
259
|
+
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException": return [3, 2];
|
|
260
|
+
case "InvalidArgumentException": return [3, 4];
|
|
261
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException": return [3, 4];
|
|
262
|
+
case "ResourceInUseException": return [3, 6];
|
|
263
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException": return [3, 6];
|
|
264
|
+
case "ResourceNotFoundException": return [3, 8];
|
|
265
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException": return [3, 8];
|
|
266
|
+
case "UnsupportedOperationException": return [3, 10];
|
|
267
|
+
case "com.amazonaws.kinesisanalytics#UnsupportedOperationException": return [3, 10];
|
|
268
|
+
}
|
|
269
|
+
return [3, 12];
|
|
270
|
+
case 2: return [4, deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)];
|
|
271
|
+
case 3: throw _d.sent();
|
|
272
|
+
case 4: return [4, deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)];
|
|
273
|
+
case 5: throw _d.sent();
|
|
274
|
+
case 6: return [4, deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)];
|
|
275
|
+
case 7: throw _d.sent();
|
|
276
|
+
case 8: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
277
|
+
case 9: throw _d.sent();
|
|
278
|
+
case 10: return [4, deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context)];
|
|
279
|
+
case 11: throw _d.sent();
|
|
280
|
+
case 12:
|
|
281
|
+
parsedBody = parsedOutput.body;
|
|
282
|
+
throwDefaultError({
|
|
283
|
+
output: output,
|
|
284
|
+
parsedBody: parsedBody,
|
|
285
|
+
exceptionCtor: __BaseException,
|
|
286
|
+
errorCode: errorCode,
|
|
287
|
+
});
|
|
288
|
+
_d.label = 13;
|
|
289
|
+
case 13: return [2];
|
|
290
|
+
}
|
|
291
|
+
});
|
|
292
|
+
}); };
|
|
293
|
+
export var deserializeAws_json1_1AddApplicationInputCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
294
|
+
var data, contents, response;
|
|
295
|
+
return __generator(this, function (_a) {
|
|
296
|
+
switch (_a.label) {
|
|
297
|
+
case 0:
|
|
298
|
+
if (output.statusCode >= 300) {
|
|
299
|
+
return [2, deserializeAws_json1_1AddApplicationInputCommandError(output, context)];
|
|
300
|
+
}
|
|
301
|
+
return [4, parseBody(output.body, context)];
|
|
302
|
+
case 1:
|
|
303
|
+
data = _a.sent();
|
|
304
|
+
contents = {};
|
|
305
|
+
contents = deserializeAws_json1_1AddApplicationInputResponse(data, context);
|
|
306
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
307
|
+
return [2, Promise.resolve(response)];
|
|
308
|
+
}
|
|
309
|
+
});
|
|
310
|
+
}); };
|
|
311
|
+
var deserializeAws_json1_1AddApplicationInputCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
312
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
313
|
+
var _c;
|
|
314
|
+
return __generator(this, function (_d) {
|
|
315
|
+
switch (_d.label) {
|
|
316
|
+
case 0:
|
|
317
|
+
_a = [__assign({}, output)];
|
|
318
|
+
_c = {};
|
|
319
|
+
return [4, parseErrorBody(output.body, context)];
|
|
320
|
+
case 1:
|
|
321
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
322
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
323
|
+
_b = errorCode;
|
|
324
|
+
switch (_b) {
|
|
325
|
+
case "CodeValidationException": return [3, 2];
|
|
326
|
+
case "com.amazonaws.kinesisanalytics#CodeValidationException": return [3, 2];
|
|
327
|
+
case "ConcurrentModificationException": return [3, 4];
|
|
328
|
+
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException": return [3, 4];
|
|
329
|
+
case "InvalidArgumentException": return [3, 6];
|
|
330
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException": return [3, 6];
|
|
331
|
+
case "ResourceInUseException": return [3, 8];
|
|
332
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException": return [3, 8];
|
|
333
|
+
case "ResourceNotFoundException": return [3, 10];
|
|
334
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException": return [3, 10];
|
|
335
|
+
case "UnsupportedOperationException": return [3, 12];
|
|
336
|
+
case "com.amazonaws.kinesisanalytics#UnsupportedOperationException": return [3, 12];
|
|
337
|
+
}
|
|
338
|
+
return [3, 14];
|
|
339
|
+
case 2: return [4, deserializeAws_json1_1CodeValidationExceptionResponse(parsedOutput, context)];
|
|
340
|
+
case 3: throw _d.sent();
|
|
341
|
+
case 4: return [4, deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)];
|
|
342
|
+
case 5: throw _d.sent();
|
|
343
|
+
case 6: return [4, deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)];
|
|
344
|
+
case 7: throw _d.sent();
|
|
345
|
+
case 8: return [4, deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)];
|
|
346
|
+
case 9: throw _d.sent();
|
|
347
|
+
case 10: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
348
|
+
case 11: throw _d.sent();
|
|
349
|
+
case 12: return [4, deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context)];
|
|
350
|
+
case 13: throw _d.sent();
|
|
351
|
+
case 14:
|
|
352
|
+
parsedBody = parsedOutput.body;
|
|
353
|
+
throwDefaultError({
|
|
354
|
+
output: output,
|
|
355
|
+
parsedBody: parsedBody,
|
|
356
|
+
exceptionCtor: __BaseException,
|
|
357
|
+
errorCode: errorCode,
|
|
358
|
+
});
|
|
359
|
+
_d.label = 15;
|
|
360
|
+
case 15: return [2];
|
|
361
|
+
}
|
|
362
|
+
});
|
|
363
|
+
}); };
|
|
364
|
+
export var deserializeAws_json1_1AddApplicationInputProcessingConfigurationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
365
|
+
var data, contents, response;
|
|
366
|
+
return __generator(this, function (_a) {
|
|
367
|
+
switch (_a.label) {
|
|
368
|
+
case 0:
|
|
369
|
+
if (output.statusCode >= 300) {
|
|
370
|
+
return [2, deserializeAws_json1_1AddApplicationInputProcessingConfigurationCommandError(output, context)];
|
|
371
|
+
}
|
|
372
|
+
return [4, parseBody(output.body, context)];
|
|
373
|
+
case 1:
|
|
374
|
+
data = _a.sent();
|
|
375
|
+
contents = {};
|
|
376
|
+
contents = deserializeAws_json1_1AddApplicationInputProcessingConfigurationResponse(data, context);
|
|
377
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
378
|
+
return [2, Promise.resolve(response)];
|
|
379
|
+
}
|
|
380
|
+
});
|
|
381
|
+
}); };
|
|
382
|
+
var deserializeAws_json1_1AddApplicationInputProcessingConfigurationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
383
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
384
|
+
var _c;
|
|
385
|
+
return __generator(this, function (_d) {
|
|
386
|
+
switch (_d.label) {
|
|
387
|
+
case 0:
|
|
388
|
+
_a = [__assign({}, output)];
|
|
389
|
+
_c = {};
|
|
390
|
+
return [4, parseErrorBody(output.body, context)];
|
|
391
|
+
case 1:
|
|
392
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
393
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
394
|
+
_b = errorCode;
|
|
395
|
+
switch (_b) {
|
|
396
|
+
case "ConcurrentModificationException": return [3, 2];
|
|
397
|
+
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException": return [3, 2];
|
|
398
|
+
case "InvalidArgumentException": return [3, 4];
|
|
399
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException": return [3, 4];
|
|
400
|
+
case "ResourceInUseException": return [3, 6];
|
|
401
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException": return [3, 6];
|
|
402
|
+
case "ResourceNotFoundException": return [3, 8];
|
|
403
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException": return [3, 8];
|
|
404
|
+
case "UnsupportedOperationException": return [3, 10];
|
|
405
|
+
case "com.amazonaws.kinesisanalytics#UnsupportedOperationException": return [3, 10];
|
|
406
|
+
}
|
|
407
|
+
return [3, 12];
|
|
408
|
+
case 2: return [4, deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)];
|
|
409
|
+
case 3: throw _d.sent();
|
|
410
|
+
case 4: return [4, deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)];
|
|
411
|
+
case 5: throw _d.sent();
|
|
412
|
+
case 6: return [4, deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)];
|
|
413
|
+
case 7: throw _d.sent();
|
|
414
|
+
case 8: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
415
|
+
case 9: throw _d.sent();
|
|
416
|
+
case 10: return [4, deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context)];
|
|
417
|
+
case 11: throw _d.sent();
|
|
418
|
+
case 12:
|
|
419
|
+
parsedBody = parsedOutput.body;
|
|
420
|
+
throwDefaultError({
|
|
421
|
+
output: output,
|
|
422
|
+
parsedBody: parsedBody,
|
|
423
|
+
exceptionCtor: __BaseException,
|
|
424
|
+
errorCode: errorCode,
|
|
425
|
+
});
|
|
426
|
+
_d.label = 13;
|
|
427
|
+
case 13: return [2];
|
|
428
|
+
}
|
|
429
|
+
});
|
|
430
|
+
}); };
|
|
431
|
+
export var deserializeAws_json1_1AddApplicationOutputCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
432
|
+
var data, contents, response;
|
|
433
|
+
return __generator(this, function (_a) {
|
|
434
|
+
switch (_a.label) {
|
|
435
|
+
case 0:
|
|
436
|
+
if (output.statusCode >= 300) {
|
|
437
|
+
return [2, deserializeAws_json1_1AddApplicationOutputCommandError(output, context)];
|
|
438
|
+
}
|
|
439
|
+
return [4, parseBody(output.body, context)];
|
|
440
|
+
case 1:
|
|
441
|
+
data = _a.sent();
|
|
442
|
+
contents = {};
|
|
443
|
+
contents = deserializeAws_json1_1AddApplicationOutputResponse(data, context);
|
|
444
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
445
|
+
return [2, Promise.resolve(response)];
|
|
446
|
+
}
|
|
447
|
+
});
|
|
448
|
+
}); };
|
|
449
|
+
var deserializeAws_json1_1AddApplicationOutputCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
450
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
451
|
+
var _c;
|
|
452
|
+
return __generator(this, function (_d) {
|
|
453
|
+
switch (_d.label) {
|
|
454
|
+
case 0:
|
|
455
|
+
_a = [__assign({}, output)];
|
|
456
|
+
_c = {};
|
|
457
|
+
return [4, parseErrorBody(output.body, context)];
|
|
458
|
+
case 1:
|
|
459
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
460
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
461
|
+
_b = errorCode;
|
|
462
|
+
switch (_b) {
|
|
463
|
+
case "ConcurrentModificationException": return [3, 2];
|
|
464
|
+
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException": return [3, 2];
|
|
465
|
+
case "InvalidArgumentException": return [3, 4];
|
|
466
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException": return [3, 4];
|
|
467
|
+
case "ResourceInUseException": return [3, 6];
|
|
468
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException": return [3, 6];
|
|
469
|
+
case "ResourceNotFoundException": return [3, 8];
|
|
470
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException": return [3, 8];
|
|
471
|
+
case "UnsupportedOperationException": return [3, 10];
|
|
472
|
+
case "com.amazonaws.kinesisanalytics#UnsupportedOperationException": return [3, 10];
|
|
473
|
+
}
|
|
474
|
+
return [3, 12];
|
|
475
|
+
case 2: return [4, deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)];
|
|
476
|
+
case 3: throw _d.sent();
|
|
477
|
+
case 4: return [4, deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)];
|
|
478
|
+
case 5: throw _d.sent();
|
|
479
|
+
case 6: return [4, deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)];
|
|
480
|
+
case 7: throw _d.sent();
|
|
481
|
+
case 8: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
482
|
+
case 9: throw _d.sent();
|
|
483
|
+
case 10: return [4, deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context)];
|
|
484
|
+
case 11: throw _d.sent();
|
|
485
|
+
case 12:
|
|
486
|
+
parsedBody = parsedOutput.body;
|
|
487
|
+
throwDefaultError({
|
|
488
|
+
output: output,
|
|
489
|
+
parsedBody: parsedBody,
|
|
490
|
+
exceptionCtor: __BaseException,
|
|
491
|
+
errorCode: errorCode,
|
|
492
|
+
});
|
|
493
|
+
_d.label = 13;
|
|
494
|
+
case 13: return [2];
|
|
495
|
+
}
|
|
496
|
+
});
|
|
497
|
+
}); };
|
|
498
|
+
export var deserializeAws_json1_1AddApplicationReferenceDataSourceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
499
|
+
var data, contents, response;
|
|
500
|
+
return __generator(this, function (_a) {
|
|
501
|
+
switch (_a.label) {
|
|
502
|
+
case 0:
|
|
503
|
+
if (output.statusCode >= 300) {
|
|
504
|
+
return [2, deserializeAws_json1_1AddApplicationReferenceDataSourceCommandError(output, context)];
|
|
505
|
+
}
|
|
506
|
+
return [4, parseBody(output.body, context)];
|
|
507
|
+
case 1:
|
|
508
|
+
data = _a.sent();
|
|
509
|
+
contents = {};
|
|
510
|
+
contents = deserializeAws_json1_1AddApplicationReferenceDataSourceResponse(data, context);
|
|
511
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
512
|
+
return [2, Promise.resolve(response)];
|
|
513
|
+
}
|
|
514
|
+
});
|
|
515
|
+
}); };
|
|
516
|
+
var deserializeAws_json1_1AddApplicationReferenceDataSourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
517
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
518
|
+
var _c;
|
|
519
|
+
return __generator(this, function (_d) {
|
|
520
|
+
switch (_d.label) {
|
|
521
|
+
case 0:
|
|
522
|
+
_a = [__assign({}, output)];
|
|
523
|
+
_c = {};
|
|
524
|
+
return [4, parseErrorBody(output.body, context)];
|
|
525
|
+
case 1:
|
|
526
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
527
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
528
|
+
_b = errorCode;
|
|
529
|
+
switch (_b) {
|
|
530
|
+
case "ConcurrentModificationException": return [3, 2];
|
|
531
|
+
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException": return [3, 2];
|
|
532
|
+
case "InvalidArgumentException": return [3, 4];
|
|
533
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException": return [3, 4];
|
|
534
|
+
case "ResourceInUseException": return [3, 6];
|
|
535
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException": return [3, 6];
|
|
536
|
+
case "ResourceNotFoundException": return [3, 8];
|
|
537
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException": return [3, 8];
|
|
538
|
+
case "UnsupportedOperationException": return [3, 10];
|
|
539
|
+
case "com.amazonaws.kinesisanalytics#UnsupportedOperationException": return [3, 10];
|
|
540
|
+
}
|
|
541
|
+
return [3, 12];
|
|
542
|
+
case 2: return [4, deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)];
|
|
543
|
+
case 3: throw _d.sent();
|
|
544
|
+
case 4: return [4, deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)];
|
|
545
|
+
case 5: throw _d.sent();
|
|
546
|
+
case 6: return [4, deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)];
|
|
547
|
+
case 7: throw _d.sent();
|
|
548
|
+
case 8: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
549
|
+
case 9: throw _d.sent();
|
|
550
|
+
case 10: return [4, deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context)];
|
|
551
|
+
case 11: throw _d.sent();
|
|
552
|
+
case 12:
|
|
553
|
+
parsedBody = parsedOutput.body;
|
|
554
|
+
throwDefaultError({
|
|
555
|
+
output: output,
|
|
556
|
+
parsedBody: parsedBody,
|
|
557
|
+
exceptionCtor: __BaseException,
|
|
558
|
+
errorCode: errorCode,
|
|
559
|
+
});
|
|
560
|
+
_d.label = 13;
|
|
561
|
+
case 13: return [2];
|
|
562
|
+
}
|
|
563
|
+
});
|
|
564
|
+
}); };
|
|
565
|
+
export var deserializeAws_json1_1CreateApplicationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
566
|
+
var data, contents, response;
|
|
567
|
+
return __generator(this, function (_a) {
|
|
568
|
+
switch (_a.label) {
|
|
569
|
+
case 0:
|
|
570
|
+
if (output.statusCode >= 300) {
|
|
571
|
+
return [2, deserializeAws_json1_1CreateApplicationCommandError(output, context)];
|
|
572
|
+
}
|
|
573
|
+
return [4, parseBody(output.body, context)];
|
|
574
|
+
case 1:
|
|
575
|
+
data = _a.sent();
|
|
576
|
+
contents = {};
|
|
577
|
+
contents = deserializeAws_json1_1CreateApplicationResponse(data, context);
|
|
578
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
579
|
+
return [2, Promise.resolve(response)];
|
|
580
|
+
}
|
|
581
|
+
});
|
|
582
|
+
}); };
|
|
583
|
+
var deserializeAws_json1_1CreateApplicationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
584
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
585
|
+
var _c;
|
|
586
|
+
return __generator(this, function (_d) {
|
|
587
|
+
switch (_d.label) {
|
|
588
|
+
case 0:
|
|
589
|
+
_a = [__assign({}, output)];
|
|
590
|
+
_c = {};
|
|
591
|
+
return [4, parseErrorBody(output.body, context)];
|
|
592
|
+
case 1:
|
|
593
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
594
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
595
|
+
_b = errorCode;
|
|
596
|
+
switch (_b) {
|
|
597
|
+
case "CodeValidationException": return [3, 2];
|
|
598
|
+
case "com.amazonaws.kinesisanalytics#CodeValidationException": return [3, 2];
|
|
599
|
+
case "ConcurrentModificationException": return [3, 4];
|
|
600
|
+
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException": return [3, 4];
|
|
601
|
+
case "InvalidArgumentException": return [3, 6];
|
|
602
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException": return [3, 6];
|
|
603
|
+
case "LimitExceededException": return [3, 8];
|
|
604
|
+
case "com.amazonaws.kinesisanalytics#LimitExceededException": return [3, 8];
|
|
605
|
+
case "ResourceInUseException": return [3, 10];
|
|
606
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException": return [3, 10];
|
|
607
|
+
case "TooManyTagsException": return [3, 12];
|
|
608
|
+
case "com.amazonaws.kinesisanalytics#TooManyTagsException": return [3, 12];
|
|
609
|
+
}
|
|
610
|
+
return [3, 14];
|
|
611
|
+
case 2: return [4, deserializeAws_json1_1CodeValidationExceptionResponse(parsedOutput, context)];
|
|
612
|
+
case 3: throw _d.sent();
|
|
613
|
+
case 4: return [4, deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)];
|
|
614
|
+
case 5: throw _d.sent();
|
|
615
|
+
case 6: return [4, deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)];
|
|
616
|
+
case 7: throw _d.sent();
|
|
617
|
+
case 8: return [4, deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context)];
|
|
618
|
+
case 9: throw _d.sent();
|
|
619
|
+
case 10: return [4, deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)];
|
|
620
|
+
case 11: throw _d.sent();
|
|
621
|
+
case 12: return [4, deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context)];
|
|
622
|
+
case 13: throw _d.sent();
|
|
623
|
+
case 14:
|
|
624
|
+
parsedBody = parsedOutput.body;
|
|
625
|
+
throwDefaultError({
|
|
626
|
+
output: output,
|
|
627
|
+
parsedBody: parsedBody,
|
|
628
|
+
exceptionCtor: __BaseException,
|
|
629
|
+
errorCode: errorCode,
|
|
630
|
+
});
|
|
631
|
+
_d.label = 15;
|
|
632
|
+
case 15: return [2];
|
|
633
|
+
}
|
|
634
|
+
});
|
|
635
|
+
}); };
|
|
636
|
+
export var deserializeAws_json1_1DeleteApplicationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
637
|
+
var data, contents, response;
|
|
638
|
+
return __generator(this, function (_a) {
|
|
639
|
+
switch (_a.label) {
|
|
640
|
+
case 0:
|
|
641
|
+
if (output.statusCode >= 300) {
|
|
642
|
+
return [2, deserializeAws_json1_1DeleteApplicationCommandError(output, context)];
|
|
643
|
+
}
|
|
644
|
+
return [4, parseBody(output.body, context)];
|
|
645
|
+
case 1:
|
|
646
|
+
data = _a.sent();
|
|
647
|
+
contents = {};
|
|
648
|
+
contents = deserializeAws_json1_1DeleteApplicationResponse(data, context);
|
|
649
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
650
|
+
return [2, Promise.resolve(response)];
|
|
651
|
+
}
|
|
652
|
+
});
|
|
653
|
+
}); };
|
|
654
|
+
var deserializeAws_json1_1DeleteApplicationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
655
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
656
|
+
var _c;
|
|
657
|
+
return __generator(this, function (_d) {
|
|
658
|
+
switch (_d.label) {
|
|
659
|
+
case 0:
|
|
660
|
+
_a = [__assign({}, output)];
|
|
661
|
+
_c = {};
|
|
662
|
+
return [4, parseErrorBody(output.body, context)];
|
|
663
|
+
case 1:
|
|
664
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
665
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
666
|
+
_b = errorCode;
|
|
667
|
+
switch (_b) {
|
|
668
|
+
case "ConcurrentModificationException": return [3, 2];
|
|
669
|
+
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException": return [3, 2];
|
|
670
|
+
case "ResourceInUseException": return [3, 4];
|
|
671
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException": return [3, 4];
|
|
672
|
+
case "ResourceNotFoundException": return [3, 6];
|
|
673
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException": return [3, 6];
|
|
674
|
+
case "UnsupportedOperationException": return [3, 8];
|
|
675
|
+
case "com.amazonaws.kinesisanalytics#UnsupportedOperationException": return [3, 8];
|
|
676
|
+
}
|
|
677
|
+
return [3, 10];
|
|
678
|
+
case 2: return [4, deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)];
|
|
679
|
+
case 3: throw _d.sent();
|
|
680
|
+
case 4: return [4, deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)];
|
|
681
|
+
case 5: throw _d.sent();
|
|
682
|
+
case 6: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
683
|
+
case 7: throw _d.sent();
|
|
684
|
+
case 8: return [4, deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context)];
|
|
685
|
+
case 9: throw _d.sent();
|
|
686
|
+
case 10:
|
|
687
|
+
parsedBody = parsedOutput.body;
|
|
688
|
+
throwDefaultError({
|
|
689
|
+
output: output,
|
|
690
|
+
parsedBody: parsedBody,
|
|
691
|
+
exceptionCtor: __BaseException,
|
|
692
|
+
errorCode: errorCode,
|
|
693
|
+
});
|
|
694
|
+
_d.label = 11;
|
|
695
|
+
case 11: return [2];
|
|
696
|
+
}
|
|
697
|
+
});
|
|
698
|
+
}); };
|
|
699
|
+
export var deserializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
700
|
+
var data, contents, response;
|
|
701
|
+
return __generator(this, function (_a) {
|
|
702
|
+
switch (_a.label) {
|
|
703
|
+
case 0:
|
|
704
|
+
if (output.statusCode >= 300) {
|
|
705
|
+
return [2, deserializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionCommandError(output, context)];
|
|
706
|
+
}
|
|
707
|
+
return [4, parseBody(output.body, context)];
|
|
708
|
+
case 1:
|
|
709
|
+
data = _a.sent();
|
|
710
|
+
contents = {};
|
|
711
|
+
contents = deserializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionResponse(data, context);
|
|
712
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
713
|
+
return [2, Promise.resolve(response)];
|
|
714
|
+
}
|
|
715
|
+
});
|
|
716
|
+
}); };
|
|
717
|
+
var deserializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
718
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
719
|
+
var _c;
|
|
720
|
+
return __generator(this, function (_d) {
|
|
721
|
+
switch (_d.label) {
|
|
722
|
+
case 0:
|
|
723
|
+
_a = [__assign({}, output)];
|
|
724
|
+
_c = {};
|
|
725
|
+
return [4, parseErrorBody(output.body, context)];
|
|
726
|
+
case 1:
|
|
727
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
728
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
729
|
+
_b = errorCode;
|
|
730
|
+
switch (_b) {
|
|
731
|
+
case "ConcurrentModificationException": return [3, 2];
|
|
732
|
+
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException": return [3, 2];
|
|
733
|
+
case "InvalidArgumentException": return [3, 4];
|
|
734
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException": return [3, 4];
|
|
735
|
+
case "ResourceInUseException": return [3, 6];
|
|
736
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException": return [3, 6];
|
|
737
|
+
case "ResourceNotFoundException": return [3, 8];
|
|
738
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException": return [3, 8];
|
|
739
|
+
case "UnsupportedOperationException": return [3, 10];
|
|
740
|
+
case "com.amazonaws.kinesisanalytics#UnsupportedOperationException": return [3, 10];
|
|
741
|
+
}
|
|
742
|
+
return [3, 12];
|
|
743
|
+
case 2: return [4, deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)];
|
|
744
|
+
case 3: throw _d.sent();
|
|
745
|
+
case 4: return [4, deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)];
|
|
746
|
+
case 5: throw _d.sent();
|
|
747
|
+
case 6: return [4, deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)];
|
|
748
|
+
case 7: throw _d.sent();
|
|
749
|
+
case 8: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
750
|
+
case 9: throw _d.sent();
|
|
751
|
+
case 10: return [4, deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context)];
|
|
752
|
+
case 11: throw _d.sent();
|
|
753
|
+
case 12:
|
|
754
|
+
parsedBody = parsedOutput.body;
|
|
755
|
+
throwDefaultError({
|
|
756
|
+
output: output,
|
|
757
|
+
parsedBody: parsedBody,
|
|
758
|
+
exceptionCtor: __BaseException,
|
|
759
|
+
errorCode: errorCode,
|
|
760
|
+
});
|
|
761
|
+
_d.label = 13;
|
|
762
|
+
case 13: return [2];
|
|
763
|
+
}
|
|
764
|
+
});
|
|
765
|
+
}); };
|
|
766
|
+
export var deserializeAws_json1_1DeleteApplicationInputProcessingConfigurationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
767
|
+
var data, contents, response;
|
|
768
|
+
return __generator(this, function (_a) {
|
|
769
|
+
switch (_a.label) {
|
|
770
|
+
case 0:
|
|
771
|
+
if (output.statusCode >= 300) {
|
|
772
|
+
return [2, deserializeAws_json1_1DeleteApplicationInputProcessingConfigurationCommandError(output, context)];
|
|
773
|
+
}
|
|
774
|
+
return [4, parseBody(output.body, context)];
|
|
775
|
+
case 1:
|
|
776
|
+
data = _a.sent();
|
|
777
|
+
contents = {};
|
|
778
|
+
contents = deserializeAws_json1_1DeleteApplicationInputProcessingConfigurationResponse(data, context);
|
|
779
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
780
|
+
return [2, Promise.resolve(response)];
|
|
781
|
+
}
|
|
782
|
+
});
|
|
783
|
+
}); };
|
|
784
|
+
var deserializeAws_json1_1DeleteApplicationInputProcessingConfigurationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
785
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
786
|
+
var _c;
|
|
787
|
+
return __generator(this, function (_d) {
|
|
788
|
+
switch (_d.label) {
|
|
789
|
+
case 0:
|
|
790
|
+
_a = [__assign({}, output)];
|
|
791
|
+
_c = {};
|
|
792
|
+
return [4, parseErrorBody(output.body, context)];
|
|
793
|
+
case 1:
|
|
794
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
795
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
796
|
+
_b = errorCode;
|
|
797
|
+
switch (_b) {
|
|
798
|
+
case "ConcurrentModificationException": return [3, 2];
|
|
799
|
+
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException": return [3, 2];
|
|
800
|
+
case "InvalidArgumentException": return [3, 4];
|
|
801
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException": return [3, 4];
|
|
802
|
+
case "ResourceInUseException": return [3, 6];
|
|
803
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException": return [3, 6];
|
|
804
|
+
case "ResourceNotFoundException": return [3, 8];
|
|
805
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException": return [3, 8];
|
|
806
|
+
case "UnsupportedOperationException": return [3, 10];
|
|
807
|
+
case "com.amazonaws.kinesisanalytics#UnsupportedOperationException": return [3, 10];
|
|
808
|
+
}
|
|
809
|
+
return [3, 12];
|
|
810
|
+
case 2: return [4, deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)];
|
|
811
|
+
case 3: throw _d.sent();
|
|
812
|
+
case 4: return [4, deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)];
|
|
813
|
+
case 5: throw _d.sent();
|
|
814
|
+
case 6: return [4, deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)];
|
|
815
|
+
case 7: throw _d.sent();
|
|
816
|
+
case 8: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
817
|
+
case 9: throw _d.sent();
|
|
818
|
+
case 10: return [4, deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context)];
|
|
819
|
+
case 11: throw _d.sent();
|
|
820
|
+
case 12:
|
|
821
|
+
parsedBody = parsedOutput.body;
|
|
822
|
+
throwDefaultError({
|
|
823
|
+
output: output,
|
|
824
|
+
parsedBody: parsedBody,
|
|
825
|
+
exceptionCtor: __BaseException,
|
|
826
|
+
errorCode: errorCode,
|
|
827
|
+
});
|
|
828
|
+
_d.label = 13;
|
|
829
|
+
case 13: return [2];
|
|
830
|
+
}
|
|
831
|
+
});
|
|
832
|
+
}); };
|
|
833
|
+
export var deserializeAws_json1_1DeleteApplicationOutputCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
834
|
+
var data, contents, response;
|
|
835
|
+
return __generator(this, function (_a) {
|
|
836
|
+
switch (_a.label) {
|
|
837
|
+
case 0:
|
|
838
|
+
if (output.statusCode >= 300) {
|
|
839
|
+
return [2, deserializeAws_json1_1DeleteApplicationOutputCommandError(output, context)];
|
|
840
|
+
}
|
|
841
|
+
return [4, parseBody(output.body, context)];
|
|
842
|
+
case 1:
|
|
843
|
+
data = _a.sent();
|
|
844
|
+
contents = {};
|
|
845
|
+
contents = deserializeAws_json1_1DeleteApplicationOutputResponse(data, context);
|
|
846
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
847
|
+
return [2, Promise.resolve(response)];
|
|
848
|
+
}
|
|
849
|
+
});
|
|
850
|
+
}); };
|
|
851
|
+
var deserializeAws_json1_1DeleteApplicationOutputCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
852
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
853
|
+
var _c;
|
|
854
|
+
return __generator(this, function (_d) {
|
|
855
|
+
switch (_d.label) {
|
|
856
|
+
case 0:
|
|
857
|
+
_a = [__assign({}, output)];
|
|
858
|
+
_c = {};
|
|
859
|
+
return [4, parseErrorBody(output.body, context)];
|
|
860
|
+
case 1:
|
|
861
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
862
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
863
|
+
_b = errorCode;
|
|
864
|
+
switch (_b) {
|
|
865
|
+
case "ConcurrentModificationException": return [3, 2];
|
|
866
|
+
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException": return [3, 2];
|
|
867
|
+
case "InvalidArgumentException": return [3, 4];
|
|
868
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException": return [3, 4];
|
|
869
|
+
case "ResourceInUseException": return [3, 6];
|
|
870
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException": return [3, 6];
|
|
871
|
+
case "ResourceNotFoundException": return [3, 8];
|
|
872
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException": return [3, 8];
|
|
873
|
+
case "UnsupportedOperationException": return [3, 10];
|
|
874
|
+
case "com.amazonaws.kinesisanalytics#UnsupportedOperationException": return [3, 10];
|
|
875
|
+
}
|
|
876
|
+
return [3, 12];
|
|
877
|
+
case 2: return [4, deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)];
|
|
878
|
+
case 3: throw _d.sent();
|
|
879
|
+
case 4: return [4, deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)];
|
|
880
|
+
case 5: throw _d.sent();
|
|
881
|
+
case 6: return [4, deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)];
|
|
882
|
+
case 7: throw _d.sent();
|
|
883
|
+
case 8: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
884
|
+
case 9: throw _d.sent();
|
|
885
|
+
case 10: return [4, deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context)];
|
|
886
|
+
case 11: throw _d.sent();
|
|
887
|
+
case 12:
|
|
888
|
+
parsedBody = parsedOutput.body;
|
|
889
|
+
throwDefaultError({
|
|
890
|
+
output: output,
|
|
891
|
+
parsedBody: parsedBody,
|
|
892
|
+
exceptionCtor: __BaseException,
|
|
893
|
+
errorCode: errorCode,
|
|
894
|
+
});
|
|
895
|
+
_d.label = 13;
|
|
896
|
+
case 13: return [2];
|
|
897
|
+
}
|
|
898
|
+
});
|
|
899
|
+
}); };
|
|
900
|
+
export var deserializeAws_json1_1DeleteApplicationReferenceDataSourceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
901
|
+
var data, contents, response;
|
|
902
|
+
return __generator(this, function (_a) {
|
|
903
|
+
switch (_a.label) {
|
|
904
|
+
case 0:
|
|
905
|
+
if (output.statusCode >= 300) {
|
|
906
|
+
return [2, deserializeAws_json1_1DeleteApplicationReferenceDataSourceCommandError(output, context)];
|
|
907
|
+
}
|
|
908
|
+
return [4, parseBody(output.body, context)];
|
|
909
|
+
case 1:
|
|
910
|
+
data = _a.sent();
|
|
911
|
+
contents = {};
|
|
912
|
+
contents = deserializeAws_json1_1DeleteApplicationReferenceDataSourceResponse(data, context);
|
|
913
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
914
|
+
return [2, Promise.resolve(response)];
|
|
915
|
+
}
|
|
916
|
+
});
|
|
917
|
+
}); };
|
|
918
|
+
var deserializeAws_json1_1DeleteApplicationReferenceDataSourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
919
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
920
|
+
var _c;
|
|
921
|
+
return __generator(this, function (_d) {
|
|
922
|
+
switch (_d.label) {
|
|
923
|
+
case 0:
|
|
924
|
+
_a = [__assign({}, output)];
|
|
925
|
+
_c = {};
|
|
926
|
+
return [4, parseErrorBody(output.body, context)];
|
|
927
|
+
case 1:
|
|
928
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
929
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
930
|
+
_b = errorCode;
|
|
931
|
+
switch (_b) {
|
|
932
|
+
case "ConcurrentModificationException": return [3, 2];
|
|
933
|
+
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException": return [3, 2];
|
|
934
|
+
case "InvalidArgumentException": return [3, 4];
|
|
935
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException": return [3, 4];
|
|
936
|
+
case "ResourceInUseException": return [3, 6];
|
|
937
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException": return [3, 6];
|
|
938
|
+
case "ResourceNotFoundException": return [3, 8];
|
|
939
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException": return [3, 8];
|
|
940
|
+
case "UnsupportedOperationException": return [3, 10];
|
|
941
|
+
case "com.amazonaws.kinesisanalytics#UnsupportedOperationException": return [3, 10];
|
|
942
|
+
}
|
|
943
|
+
return [3, 12];
|
|
944
|
+
case 2: return [4, deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)];
|
|
945
|
+
case 3: throw _d.sent();
|
|
946
|
+
case 4: return [4, deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)];
|
|
947
|
+
case 5: throw _d.sent();
|
|
948
|
+
case 6: return [4, deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)];
|
|
949
|
+
case 7: throw _d.sent();
|
|
950
|
+
case 8: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
951
|
+
case 9: throw _d.sent();
|
|
952
|
+
case 10: return [4, deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context)];
|
|
953
|
+
case 11: throw _d.sent();
|
|
954
|
+
case 12:
|
|
955
|
+
parsedBody = parsedOutput.body;
|
|
956
|
+
throwDefaultError({
|
|
957
|
+
output: output,
|
|
958
|
+
parsedBody: parsedBody,
|
|
959
|
+
exceptionCtor: __BaseException,
|
|
960
|
+
errorCode: errorCode,
|
|
961
|
+
});
|
|
962
|
+
_d.label = 13;
|
|
963
|
+
case 13: return [2];
|
|
964
|
+
}
|
|
965
|
+
});
|
|
966
|
+
}); };
|
|
967
|
+
export var deserializeAws_json1_1DescribeApplicationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
968
|
+
var data, contents, response;
|
|
969
|
+
return __generator(this, function (_a) {
|
|
970
|
+
switch (_a.label) {
|
|
971
|
+
case 0:
|
|
972
|
+
if (output.statusCode >= 300) {
|
|
973
|
+
return [2, deserializeAws_json1_1DescribeApplicationCommandError(output, context)];
|
|
974
|
+
}
|
|
975
|
+
return [4, parseBody(output.body, context)];
|
|
976
|
+
case 1:
|
|
977
|
+
data = _a.sent();
|
|
978
|
+
contents = {};
|
|
979
|
+
contents = deserializeAws_json1_1DescribeApplicationResponse(data, context);
|
|
980
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
981
|
+
return [2, Promise.resolve(response)];
|
|
982
|
+
}
|
|
983
|
+
});
|
|
984
|
+
}); };
|
|
985
|
+
var deserializeAws_json1_1DescribeApplicationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
986
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
987
|
+
var _c;
|
|
988
|
+
return __generator(this, function (_d) {
|
|
989
|
+
switch (_d.label) {
|
|
990
|
+
case 0:
|
|
991
|
+
_a = [__assign({}, output)];
|
|
992
|
+
_c = {};
|
|
993
|
+
return [4, parseErrorBody(output.body, context)];
|
|
994
|
+
case 1:
|
|
995
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
996
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
997
|
+
_b = errorCode;
|
|
998
|
+
switch (_b) {
|
|
999
|
+
case "ResourceNotFoundException": return [3, 2];
|
|
1000
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException": return [3, 2];
|
|
1001
|
+
case "UnsupportedOperationException": return [3, 4];
|
|
1002
|
+
case "com.amazonaws.kinesisanalytics#UnsupportedOperationException": return [3, 4];
|
|
1003
|
+
}
|
|
1004
|
+
return [3, 6];
|
|
1005
|
+
case 2: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1006
|
+
case 3: throw _d.sent();
|
|
1007
|
+
case 4: return [4, deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context)];
|
|
1008
|
+
case 5: throw _d.sent();
|
|
1009
|
+
case 6:
|
|
1010
|
+
parsedBody = parsedOutput.body;
|
|
1011
|
+
throwDefaultError({
|
|
1012
|
+
output: output,
|
|
1013
|
+
parsedBody: parsedBody,
|
|
1014
|
+
exceptionCtor: __BaseException,
|
|
1015
|
+
errorCode: errorCode,
|
|
1016
|
+
});
|
|
1017
|
+
_d.label = 7;
|
|
1018
|
+
case 7: return [2];
|
|
1019
|
+
}
|
|
1020
|
+
});
|
|
1021
|
+
}); };
|
|
1022
|
+
export var deserializeAws_json1_1DiscoverInputSchemaCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1023
|
+
var data, contents, response;
|
|
1024
|
+
return __generator(this, function (_a) {
|
|
1025
|
+
switch (_a.label) {
|
|
1026
|
+
case 0:
|
|
1027
|
+
if (output.statusCode >= 300) {
|
|
1028
|
+
return [2, deserializeAws_json1_1DiscoverInputSchemaCommandError(output, context)];
|
|
1029
|
+
}
|
|
1030
|
+
return [4, parseBody(output.body, context)];
|
|
1031
|
+
case 1:
|
|
1032
|
+
data = _a.sent();
|
|
1033
|
+
contents = {};
|
|
1034
|
+
contents = deserializeAws_json1_1DiscoverInputSchemaResponse(data, context);
|
|
1035
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1036
|
+
return [2, Promise.resolve(response)];
|
|
1037
|
+
}
|
|
1038
|
+
});
|
|
1039
|
+
}); };
|
|
1040
|
+
var deserializeAws_json1_1DiscoverInputSchemaCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1041
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1042
|
+
var _c;
|
|
1043
|
+
return __generator(this, function (_d) {
|
|
1044
|
+
switch (_d.label) {
|
|
1045
|
+
case 0:
|
|
1046
|
+
_a = [__assign({}, output)];
|
|
1047
|
+
_c = {};
|
|
1048
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1049
|
+
case 1:
|
|
1050
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1051
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1052
|
+
_b = errorCode;
|
|
1053
|
+
switch (_b) {
|
|
1054
|
+
case "InvalidArgumentException": return [3, 2];
|
|
1055
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException": return [3, 2];
|
|
1056
|
+
case "ResourceProvisionedThroughputExceededException": return [3, 4];
|
|
1057
|
+
case "com.amazonaws.kinesisanalytics#ResourceProvisionedThroughputExceededException": return [3, 4];
|
|
1058
|
+
case "ServiceUnavailableException": return [3, 6];
|
|
1059
|
+
case "com.amazonaws.kinesisanalytics#ServiceUnavailableException": return [3, 6];
|
|
1060
|
+
case "UnableToDetectSchemaException": return [3, 8];
|
|
1061
|
+
case "com.amazonaws.kinesisanalytics#UnableToDetectSchemaException": return [3, 8];
|
|
1062
|
+
}
|
|
1063
|
+
return [3, 10];
|
|
1064
|
+
case 2: return [4, deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)];
|
|
1065
|
+
case 3: throw _d.sent();
|
|
1066
|
+
case 4: return [4, deserializeAws_json1_1ResourceProvisionedThroughputExceededExceptionResponse(parsedOutput, context)];
|
|
1067
|
+
case 5: throw _d.sent();
|
|
1068
|
+
case 6: return [4, deserializeAws_json1_1ServiceUnavailableExceptionResponse(parsedOutput, context)];
|
|
1069
|
+
case 7: throw _d.sent();
|
|
1070
|
+
case 8: return [4, deserializeAws_json1_1UnableToDetectSchemaExceptionResponse(parsedOutput, context)];
|
|
1071
|
+
case 9: throw _d.sent();
|
|
1072
|
+
case 10:
|
|
1073
|
+
parsedBody = parsedOutput.body;
|
|
1074
|
+
throwDefaultError({
|
|
1075
|
+
output: output,
|
|
1076
|
+
parsedBody: parsedBody,
|
|
1077
|
+
exceptionCtor: __BaseException,
|
|
1078
|
+
errorCode: errorCode,
|
|
1079
|
+
});
|
|
1080
|
+
_d.label = 11;
|
|
1081
|
+
case 11: return [2];
|
|
1082
|
+
}
|
|
1083
|
+
});
|
|
1084
|
+
}); };
|
|
1085
|
+
export var deserializeAws_json1_1ListApplicationsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1086
|
+
var data, contents, response;
|
|
1087
|
+
return __generator(this, function (_a) {
|
|
1088
|
+
switch (_a.label) {
|
|
1089
|
+
case 0:
|
|
1090
|
+
if (output.statusCode >= 300) {
|
|
1091
|
+
return [2, deserializeAws_json1_1ListApplicationsCommandError(output, context)];
|
|
1092
|
+
}
|
|
1093
|
+
return [4, parseBody(output.body, context)];
|
|
1094
|
+
case 1:
|
|
1095
|
+
data = _a.sent();
|
|
1096
|
+
contents = {};
|
|
1097
|
+
contents = deserializeAws_json1_1ListApplicationsResponse(data, context);
|
|
1098
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1099
|
+
return [2, Promise.resolve(response)];
|
|
1100
|
+
}
|
|
1101
|
+
});
|
|
1102
|
+
}); };
|
|
1103
|
+
var deserializeAws_json1_1ListApplicationsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1104
|
+
var parsedOutput, _a, errorCode, parsedBody;
|
|
1105
|
+
var _b;
|
|
1106
|
+
return __generator(this, function (_c) {
|
|
1107
|
+
switch (_c.label) {
|
|
1108
|
+
case 0:
|
|
1109
|
+
_a = [__assign({}, output)];
|
|
1110
|
+
_b = {};
|
|
1111
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1112
|
+
case 1:
|
|
1113
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_b.body = _c.sent(), _b)]));
|
|
1114
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1115
|
+
parsedBody = parsedOutput.body;
|
|
1116
|
+
throwDefaultError({
|
|
1117
|
+
output: output,
|
|
1118
|
+
parsedBody: parsedBody,
|
|
1119
|
+
exceptionCtor: __BaseException,
|
|
1120
|
+
errorCode: errorCode,
|
|
1121
|
+
});
|
|
1122
|
+
return [2];
|
|
1123
|
+
}
|
|
1124
|
+
});
|
|
1125
|
+
}); };
|
|
1126
|
+
export var deserializeAws_json1_1ListTagsForResourceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1127
|
+
var data, contents, response;
|
|
1128
|
+
return __generator(this, function (_a) {
|
|
1129
|
+
switch (_a.label) {
|
|
1130
|
+
case 0:
|
|
1131
|
+
if (output.statusCode >= 300) {
|
|
1132
|
+
return [2, deserializeAws_json1_1ListTagsForResourceCommandError(output, context)];
|
|
1133
|
+
}
|
|
1134
|
+
return [4, parseBody(output.body, context)];
|
|
1135
|
+
case 1:
|
|
1136
|
+
data = _a.sent();
|
|
1137
|
+
contents = {};
|
|
1138
|
+
contents = deserializeAws_json1_1ListTagsForResourceResponse(data, context);
|
|
1139
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1140
|
+
return [2, Promise.resolve(response)];
|
|
1141
|
+
}
|
|
1142
|
+
});
|
|
1143
|
+
}); };
|
|
1144
|
+
var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1145
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1146
|
+
var _c;
|
|
1147
|
+
return __generator(this, function (_d) {
|
|
1148
|
+
switch (_d.label) {
|
|
1149
|
+
case 0:
|
|
1150
|
+
_a = [__assign({}, output)];
|
|
1151
|
+
_c = {};
|
|
1152
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1153
|
+
case 1:
|
|
1154
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1155
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1156
|
+
_b = errorCode;
|
|
1157
|
+
switch (_b) {
|
|
1158
|
+
case "ConcurrentModificationException": return [3, 2];
|
|
1159
|
+
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException": return [3, 2];
|
|
1160
|
+
case "InvalidArgumentException": return [3, 4];
|
|
1161
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException": return [3, 4];
|
|
1162
|
+
case "ResourceNotFoundException": return [3, 6];
|
|
1163
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException": return [3, 6];
|
|
1164
|
+
}
|
|
1165
|
+
return [3, 8];
|
|
1166
|
+
case 2: return [4, deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)];
|
|
1167
|
+
case 3: throw _d.sent();
|
|
1168
|
+
case 4: return [4, deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)];
|
|
1169
|
+
case 5: throw _d.sent();
|
|
1170
|
+
case 6: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1171
|
+
case 7: throw _d.sent();
|
|
1172
|
+
case 8:
|
|
1173
|
+
parsedBody = parsedOutput.body;
|
|
1174
|
+
throwDefaultError({
|
|
1175
|
+
output: output,
|
|
1176
|
+
parsedBody: parsedBody,
|
|
1177
|
+
exceptionCtor: __BaseException,
|
|
1178
|
+
errorCode: errorCode,
|
|
1179
|
+
});
|
|
1180
|
+
_d.label = 9;
|
|
1181
|
+
case 9: return [2];
|
|
1182
|
+
}
|
|
1183
|
+
});
|
|
1184
|
+
}); };
|
|
1185
|
+
export var deserializeAws_json1_1StartApplicationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1186
|
+
var data, contents, response;
|
|
1187
|
+
return __generator(this, function (_a) {
|
|
1188
|
+
switch (_a.label) {
|
|
1189
|
+
case 0:
|
|
1190
|
+
if (output.statusCode >= 300) {
|
|
1191
|
+
return [2, deserializeAws_json1_1StartApplicationCommandError(output, context)];
|
|
1192
|
+
}
|
|
1193
|
+
return [4, parseBody(output.body, context)];
|
|
1194
|
+
case 1:
|
|
1195
|
+
data = _a.sent();
|
|
1196
|
+
contents = {};
|
|
1197
|
+
contents = deserializeAws_json1_1StartApplicationResponse(data, context);
|
|
1198
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1199
|
+
return [2, Promise.resolve(response)];
|
|
1200
|
+
}
|
|
1201
|
+
});
|
|
1202
|
+
}); };
|
|
1203
|
+
var deserializeAws_json1_1StartApplicationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1204
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1205
|
+
var _c;
|
|
1206
|
+
return __generator(this, function (_d) {
|
|
1207
|
+
switch (_d.label) {
|
|
1208
|
+
case 0:
|
|
1209
|
+
_a = [__assign({}, output)];
|
|
1210
|
+
_c = {};
|
|
1211
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1212
|
+
case 1:
|
|
1213
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1214
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1215
|
+
_b = errorCode;
|
|
1216
|
+
switch (_b) {
|
|
1217
|
+
case "InvalidApplicationConfigurationException": return [3, 2];
|
|
1218
|
+
case "com.amazonaws.kinesisanalytics#InvalidApplicationConfigurationException": return [3, 2];
|
|
1219
|
+
case "InvalidArgumentException": return [3, 4];
|
|
1220
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException": return [3, 4];
|
|
1221
|
+
case "ResourceInUseException": return [3, 6];
|
|
1222
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException": return [3, 6];
|
|
1223
|
+
case "ResourceNotFoundException": return [3, 8];
|
|
1224
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException": return [3, 8];
|
|
1225
|
+
case "UnsupportedOperationException": return [3, 10];
|
|
1226
|
+
case "com.amazonaws.kinesisanalytics#UnsupportedOperationException": return [3, 10];
|
|
1227
|
+
}
|
|
1228
|
+
return [3, 12];
|
|
1229
|
+
case 2: return [4, deserializeAws_json1_1InvalidApplicationConfigurationExceptionResponse(parsedOutput, context)];
|
|
1230
|
+
case 3: throw _d.sent();
|
|
1231
|
+
case 4: return [4, deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)];
|
|
1232
|
+
case 5: throw _d.sent();
|
|
1233
|
+
case 6: return [4, deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)];
|
|
1234
|
+
case 7: throw _d.sent();
|
|
1235
|
+
case 8: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1236
|
+
case 9: throw _d.sent();
|
|
1237
|
+
case 10: return [4, deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context)];
|
|
1238
|
+
case 11: throw _d.sent();
|
|
1239
|
+
case 12:
|
|
1240
|
+
parsedBody = parsedOutput.body;
|
|
1241
|
+
throwDefaultError({
|
|
1242
|
+
output: output,
|
|
1243
|
+
parsedBody: parsedBody,
|
|
1244
|
+
exceptionCtor: __BaseException,
|
|
1245
|
+
errorCode: errorCode,
|
|
1246
|
+
});
|
|
1247
|
+
_d.label = 13;
|
|
1248
|
+
case 13: return [2];
|
|
1249
|
+
}
|
|
1250
|
+
});
|
|
1251
|
+
}); };
|
|
1252
|
+
export var deserializeAws_json1_1StopApplicationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1253
|
+
var data, contents, response;
|
|
1254
|
+
return __generator(this, function (_a) {
|
|
1255
|
+
switch (_a.label) {
|
|
1256
|
+
case 0:
|
|
1257
|
+
if (output.statusCode >= 300) {
|
|
1258
|
+
return [2, deserializeAws_json1_1StopApplicationCommandError(output, context)];
|
|
1259
|
+
}
|
|
1260
|
+
return [4, parseBody(output.body, context)];
|
|
1261
|
+
case 1:
|
|
1262
|
+
data = _a.sent();
|
|
1263
|
+
contents = {};
|
|
1264
|
+
contents = deserializeAws_json1_1StopApplicationResponse(data, context);
|
|
1265
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1266
|
+
return [2, Promise.resolve(response)];
|
|
1267
|
+
}
|
|
1268
|
+
});
|
|
1269
|
+
}); };
|
|
1270
|
+
var deserializeAws_json1_1StopApplicationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1271
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1272
|
+
var _c;
|
|
1273
|
+
return __generator(this, function (_d) {
|
|
1274
|
+
switch (_d.label) {
|
|
1275
|
+
case 0:
|
|
1276
|
+
_a = [__assign({}, output)];
|
|
1277
|
+
_c = {};
|
|
1278
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1279
|
+
case 1:
|
|
1280
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1281
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1282
|
+
_b = errorCode;
|
|
1283
|
+
switch (_b) {
|
|
1284
|
+
case "ResourceInUseException": return [3, 2];
|
|
1285
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException": return [3, 2];
|
|
1286
|
+
case "ResourceNotFoundException": return [3, 4];
|
|
1287
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException": return [3, 4];
|
|
1288
|
+
case "UnsupportedOperationException": return [3, 6];
|
|
1289
|
+
case "com.amazonaws.kinesisanalytics#UnsupportedOperationException": return [3, 6];
|
|
1290
|
+
}
|
|
1291
|
+
return [3, 8];
|
|
1292
|
+
case 2: return [4, deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)];
|
|
1293
|
+
case 3: throw _d.sent();
|
|
1294
|
+
case 4: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1295
|
+
case 5: throw _d.sent();
|
|
1296
|
+
case 6: return [4, deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context)];
|
|
1297
|
+
case 7: throw _d.sent();
|
|
1298
|
+
case 8:
|
|
1299
|
+
parsedBody = parsedOutput.body;
|
|
1300
|
+
throwDefaultError({
|
|
1301
|
+
output: output,
|
|
1302
|
+
parsedBody: parsedBody,
|
|
1303
|
+
exceptionCtor: __BaseException,
|
|
1304
|
+
errorCode: errorCode,
|
|
1305
|
+
});
|
|
1306
|
+
_d.label = 9;
|
|
1307
|
+
case 9: return [2];
|
|
1308
|
+
}
|
|
1309
|
+
});
|
|
1310
|
+
}); };
|
|
1311
|
+
export var deserializeAws_json1_1TagResourceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1312
|
+
var data, contents, response;
|
|
1313
|
+
return __generator(this, function (_a) {
|
|
1314
|
+
switch (_a.label) {
|
|
1315
|
+
case 0:
|
|
1316
|
+
if (output.statusCode >= 300) {
|
|
1317
|
+
return [2, deserializeAws_json1_1TagResourceCommandError(output, context)];
|
|
1318
|
+
}
|
|
1319
|
+
return [4, parseBody(output.body, context)];
|
|
1320
|
+
case 1:
|
|
1321
|
+
data = _a.sent();
|
|
1322
|
+
contents = {};
|
|
1323
|
+
contents = deserializeAws_json1_1TagResourceResponse(data, context);
|
|
1324
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1325
|
+
return [2, Promise.resolve(response)];
|
|
1326
|
+
}
|
|
1327
|
+
});
|
|
1328
|
+
}); };
|
|
1329
|
+
var deserializeAws_json1_1TagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1330
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1331
|
+
var _c;
|
|
1332
|
+
return __generator(this, function (_d) {
|
|
1333
|
+
switch (_d.label) {
|
|
1334
|
+
case 0:
|
|
1335
|
+
_a = [__assign({}, output)];
|
|
1336
|
+
_c = {};
|
|
1337
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1338
|
+
case 1:
|
|
1339
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1340
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1341
|
+
_b = errorCode;
|
|
1342
|
+
switch (_b) {
|
|
1343
|
+
case "ConcurrentModificationException": return [3, 2];
|
|
1344
|
+
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException": return [3, 2];
|
|
1345
|
+
case "InvalidArgumentException": return [3, 4];
|
|
1346
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException": return [3, 4];
|
|
1347
|
+
case "ResourceInUseException": return [3, 6];
|
|
1348
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException": return [3, 6];
|
|
1349
|
+
case "ResourceNotFoundException": return [3, 8];
|
|
1350
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException": return [3, 8];
|
|
1351
|
+
case "TooManyTagsException": return [3, 10];
|
|
1352
|
+
case "com.amazonaws.kinesisanalytics#TooManyTagsException": return [3, 10];
|
|
1353
|
+
}
|
|
1354
|
+
return [3, 12];
|
|
1355
|
+
case 2: return [4, deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)];
|
|
1356
|
+
case 3: throw _d.sent();
|
|
1357
|
+
case 4: return [4, deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)];
|
|
1358
|
+
case 5: throw _d.sent();
|
|
1359
|
+
case 6: return [4, deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)];
|
|
1360
|
+
case 7: throw _d.sent();
|
|
1361
|
+
case 8: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1362
|
+
case 9: throw _d.sent();
|
|
1363
|
+
case 10: return [4, deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context)];
|
|
1364
|
+
case 11: throw _d.sent();
|
|
1365
|
+
case 12:
|
|
1366
|
+
parsedBody = parsedOutput.body;
|
|
1367
|
+
throwDefaultError({
|
|
1368
|
+
output: output,
|
|
1369
|
+
parsedBody: parsedBody,
|
|
1370
|
+
exceptionCtor: __BaseException,
|
|
1371
|
+
errorCode: errorCode,
|
|
1372
|
+
});
|
|
1373
|
+
_d.label = 13;
|
|
1374
|
+
case 13: return [2];
|
|
1375
|
+
}
|
|
1376
|
+
});
|
|
1377
|
+
}); };
|
|
1378
|
+
export var deserializeAws_json1_1UntagResourceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1379
|
+
var data, contents, response;
|
|
1380
|
+
return __generator(this, function (_a) {
|
|
1381
|
+
switch (_a.label) {
|
|
1382
|
+
case 0:
|
|
1383
|
+
if (output.statusCode >= 300) {
|
|
1384
|
+
return [2, deserializeAws_json1_1UntagResourceCommandError(output, context)];
|
|
1385
|
+
}
|
|
1386
|
+
return [4, parseBody(output.body, context)];
|
|
1387
|
+
case 1:
|
|
1388
|
+
data = _a.sent();
|
|
1389
|
+
contents = {};
|
|
1390
|
+
contents = deserializeAws_json1_1UntagResourceResponse(data, context);
|
|
1391
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1392
|
+
return [2, Promise.resolve(response)];
|
|
1393
|
+
}
|
|
1394
|
+
});
|
|
1395
|
+
}); };
|
|
1396
|
+
var deserializeAws_json1_1UntagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1397
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1398
|
+
var _c;
|
|
1399
|
+
return __generator(this, function (_d) {
|
|
1400
|
+
switch (_d.label) {
|
|
1401
|
+
case 0:
|
|
1402
|
+
_a = [__assign({}, output)];
|
|
1403
|
+
_c = {};
|
|
1404
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1405
|
+
case 1:
|
|
1406
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1407
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1408
|
+
_b = errorCode;
|
|
1409
|
+
switch (_b) {
|
|
1410
|
+
case "ConcurrentModificationException": return [3, 2];
|
|
1411
|
+
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException": return [3, 2];
|
|
1412
|
+
case "InvalidArgumentException": return [3, 4];
|
|
1413
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException": return [3, 4];
|
|
1414
|
+
case "ResourceInUseException": return [3, 6];
|
|
1415
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException": return [3, 6];
|
|
1416
|
+
case "ResourceNotFoundException": return [3, 8];
|
|
1417
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException": return [3, 8];
|
|
1418
|
+
case "TooManyTagsException": return [3, 10];
|
|
1419
|
+
case "com.amazonaws.kinesisanalytics#TooManyTagsException": return [3, 10];
|
|
1420
|
+
}
|
|
1421
|
+
return [3, 12];
|
|
1422
|
+
case 2: return [4, deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)];
|
|
1423
|
+
case 3: throw _d.sent();
|
|
1424
|
+
case 4: return [4, deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)];
|
|
1425
|
+
case 5: throw _d.sent();
|
|
1426
|
+
case 6: return [4, deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)];
|
|
1427
|
+
case 7: throw _d.sent();
|
|
1428
|
+
case 8: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1429
|
+
case 9: throw _d.sent();
|
|
1430
|
+
case 10: return [4, deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context)];
|
|
1431
|
+
case 11: throw _d.sent();
|
|
1432
|
+
case 12:
|
|
1433
|
+
parsedBody = parsedOutput.body;
|
|
1434
|
+
throwDefaultError({
|
|
1435
|
+
output: output,
|
|
1436
|
+
parsedBody: parsedBody,
|
|
1437
|
+
exceptionCtor: __BaseException,
|
|
1438
|
+
errorCode: errorCode,
|
|
1439
|
+
});
|
|
1440
|
+
_d.label = 13;
|
|
1441
|
+
case 13: return [2];
|
|
1442
|
+
}
|
|
1443
|
+
});
|
|
1444
|
+
}); };
|
|
1445
|
+
export var deserializeAws_json1_1UpdateApplicationCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1446
|
+
var data, contents, response;
|
|
1447
|
+
return __generator(this, function (_a) {
|
|
1448
|
+
switch (_a.label) {
|
|
1449
|
+
case 0:
|
|
1450
|
+
if (output.statusCode >= 300) {
|
|
1451
|
+
return [2, deserializeAws_json1_1UpdateApplicationCommandError(output, context)];
|
|
1452
|
+
}
|
|
1453
|
+
return [4, parseBody(output.body, context)];
|
|
1454
|
+
case 1:
|
|
1455
|
+
data = _a.sent();
|
|
1456
|
+
contents = {};
|
|
1457
|
+
contents = deserializeAws_json1_1UpdateApplicationResponse(data, context);
|
|
1458
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1459
|
+
return [2, Promise.resolve(response)];
|
|
1460
|
+
}
|
|
1461
|
+
});
|
|
1462
|
+
}); };
|
|
1463
|
+
var deserializeAws_json1_1UpdateApplicationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1464
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1465
|
+
var _c;
|
|
1466
|
+
return __generator(this, function (_d) {
|
|
1467
|
+
switch (_d.label) {
|
|
1468
|
+
case 0:
|
|
1469
|
+
_a = [__assign({}, output)];
|
|
1470
|
+
_c = {};
|
|
1471
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1472
|
+
case 1:
|
|
1473
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1474
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1475
|
+
_b = errorCode;
|
|
1476
|
+
switch (_b) {
|
|
1477
|
+
case "CodeValidationException": return [3, 2];
|
|
1478
|
+
case "com.amazonaws.kinesisanalytics#CodeValidationException": return [3, 2];
|
|
1479
|
+
case "ConcurrentModificationException": return [3, 4];
|
|
1480
|
+
case "com.amazonaws.kinesisanalytics#ConcurrentModificationException": return [3, 4];
|
|
1481
|
+
case "InvalidArgumentException": return [3, 6];
|
|
1482
|
+
case "com.amazonaws.kinesisanalytics#InvalidArgumentException": return [3, 6];
|
|
1483
|
+
case "ResourceInUseException": return [3, 8];
|
|
1484
|
+
case "com.amazonaws.kinesisanalytics#ResourceInUseException": return [3, 8];
|
|
1485
|
+
case "ResourceNotFoundException": return [3, 10];
|
|
1486
|
+
case "com.amazonaws.kinesisanalytics#ResourceNotFoundException": return [3, 10];
|
|
1487
|
+
case "UnsupportedOperationException": return [3, 12];
|
|
1488
|
+
case "com.amazonaws.kinesisanalytics#UnsupportedOperationException": return [3, 12];
|
|
1489
|
+
}
|
|
1490
|
+
return [3, 14];
|
|
1491
|
+
case 2: return [4, deserializeAws_json1_1CodeValidationExceptionResponse(parsedOutput, context)];
|
|
1492
|
+
case 3: throw _d.sent();
|
|
1493
|
+
case 4: return [4, deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)];
|
|
1494
|
+
case 5: throw _d.sent();
|
|
1495
|
+
case 6: return [4, deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context)];
|
|
1496
|
+
case 7: throw _d.sent();
|
|
1497
|
+
case 8: return [4, deserializeAws_json1_1ResourceInUseExceptionResponse(parsedOutput, context)];
|
|
1498
|
+
case 9: throw _d.sent();
|
|
1499
|
+
case 10: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1500
|
+
case 11: throw _d.sent();
|
|
1501
|
+
case 12: return [4, deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context)];
|
|
1502
|
+
case 13: throw _d.sent();
|
|
1503
|
+
case 14:
|
|
1504
|
+
parsedBody = parsedOutput.body;
|
|
1505
|
+
throwDefaultError({
|
|
1506
|
+
output: output,
|
|
1507
|
+
parsedBody: parsedBody,
|
|
1508
|
+
exceptionCtor: __BaseException,
|
|
1509
|
+
errorCode: errorCode,
|
|
1510
|
+
});
|
|
1511
|
+
_d.label = 15;
|
|
1512
|
+
case 15: return [2];
|
|
1513
|
+
}
|
|
1514
|
+
});
|
|
1515
|
+
}); };
|
|
1516
|
+
var deserializeAws_json1_1CodeValidationExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1517
|
+
var body, deserialized, exception;
|
|
1518
|
+
return __generator(this, function (_a) {
|
|
1519
|
+
body = parsedOutput.body;
|
|
1520
|
+
deserialized = deserializeAws_json1_1CodeValidationException(body, context);
|
|
1521
|
+
exception = new CodeValidationException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
1522
|
+
return [2, __decorateServiceException(exception, body)];
|
|
1523
|
+
});
|
|
1524
|
+
}); };
|
|
1525
|
+
var deserializeAws_json1_1ConcurrentModificationExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1526
|
+
var body, deserialized, exception;
|
|
1527
|
+
return __generator(this, function (_a) {
|
|
1528
|
+
body = parsedOutput.body;
|
|
1529
|
+
deserialized = deserializeAws_json1_1ConcurrentModificationException(body, context);
|
|
1530
|
+
exception = new ConcurrentModificationException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
1531
|
+
return [2, __decorateServiceException(exception, body)];
|
|
1532
|
+
});
|
|
1533
|
+
}); };
|
|
1534
|
+
var deserializeAws_json1_1InvalidApplicationConfigurationExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1535
|
+
var body, deserialized, exception;
|
|
1536
|
+
return __generator(this, function (_a) {
|
|
1537
|
+
body = parsedOutput.body;
|
|
1538
|
+
deserialized = deserializeAws_json1_1InvalidApplicationConfigurationException(body, context);
|
|
1539
|
+
exception = new InvalidApplicationConfigurationException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
1540
|
+
return [2, __decorateServiceException(exception, body)];
|
|
1541
|
+
});
|
|
1542
|
+
}); };
|
|
1543
|
+
var deserializeAws_json1_1InvalidArgumentExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1544
|
+
var body, deserialized, exception;
|
|
1545
|
+
return __generator(this, function (_a) {
|
|
1546
|
+
body = parsedOutput.body;
|
|
1547
|
+
deserialized = deserializeAws_json1_1InvalidArgumentException(body, context);
|
|
1548
|
+
exception = new InvalidArgumentException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
1549
|
+
return [2, __decorateServiceException(exception, body)];
|
|
1550
|
+
});
|
|
1551
|
+
}); };
|
|
1552
|
+
var deserializeAws_json1_1LimitExceededExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1553
|
+
var body, deserialized, exception;
|
|
1554
|
+
return __generator(this, function (_a) {
|
|
1555
|
+
body = parsedOutput.body;
|
|
1556
|
+
deserialized = deserializeAws_json1_1LimitExceededException(body, context);
|
|
1557
|
+
exception = new LimitExceededException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
1558
|
+
return [2, __decorateServiceException(exception, body)];
|
|
1559
|
+
});
|
|
1560
|
+
}); };
|
|
1561
|
+
var deserializeAws_json1_1ResourceInUseExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1562
|
+
var body, deserialized, exception;
|
|
1563
|
+
return __generator(this, function (_a) {
|
|
1564
|
+
body = parsedOutput.body;
|
|
1565
|
+
deserialized = deserializeAws_json1_1ResourceInUseException(body, context);
|
|
1566
|
+
exception = new ResourceInUseException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
1567
|
+
return [2, __decorateServiceException(exception, body)];
|
|
1568
|
+
});
|
|
1569
|
+
}); };
|
|
1570
|
+
var deserializeAws_json1_1ResourceNotFoundExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1571
|
+
var body, deserialized, exception;
|
|
1572
|
+
return __generator(this, function (_a) {
|
|
1573
|
+
body = parsedOutput.body;
|
|
1574
|
+
deserialized = deserializeAws_json1_1ResourceNotFoundException(body, context);
|
|
1575
|
+
exception = new ResourceNotFoundException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
1576
|
+
return [2, __decorateServiceException(exception, body)];
|
|
1577
|
+
});
|
|
1578
|
+
}); };
|
|
1579
|
+
var deserializeAws_json1_1ResourceProvisionedThroughputExceededExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1580
|
+
var body, deserialized, exception;
|
|
1581
|
+
return __generator(this, function (_a) {
|
|
1582
|
+
body = parsedOutput.body;
|
|
1583
|
+
deserialized = deserializeAws_json1_1ResourceProvisionedThroughputExceededException(body, context);
|
|
1584
|
+
exception = new ResourceProvisionedThroughputExceededException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
1585
|
+
return [2, __decorateServiceException(exception, body)];
|
|
1586
|
+
});
|
|
1587
|
+
}); };
|
|
1588
|
+
var deserializeAws_json1_1ServiceUnavailableExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1589
|
+
var body, deserialized, exception;
|
|
1590
|
+
return __generator(this, function (_a) {
|
|
1591
|
+
body = parsedOutput.body;
|
|
1592
|
+
deserialized = deserializeAws_json1_1ServiceUnavailableException(body, context);
|
|
1593
|
+
exception = new ServiceUnavailableException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
1594
|
+
return [2, __decorateServiceException(exception, body)];
|
|
1595
|
+
});
|
|
1596
|
+
}); };
|
|
1597
|
+
var deserializeAws_json1_1TooManyTagsExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1598
|
+
var body, deserialized, exception;
|
|
1599
|
+
return __generator(this, function (_a) {
|
|
1600
|
+
body = parsedOutput.body;
|
|
1601
|
+
deserialized = deserializeAws_json1_1TooManyTagsException(body, context);
|
|
1602
|
+
exception = new TooManyTagsException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
1603
|
+
return [2, __decorateServiceException(exception, body)];
|
|
1604
|
+
});
|
|
1605
|
+
}); };
|
|
1606
|
+
var deserializeAws_json1_1UnableToDetectSchemaExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1607
|
+
var body, deserialized, exception;
|
|
1608
|
+
return __generator(this, function (_a) {
|
|
1609
|
+
body = parsedOutput.body;
|
|
1610
|
+
deserialized = deserializeAws_json1_1UnableToDetectSchemaException(body, context);
|
|
1611
|
+
exception = new UnableToDetectSchemaException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
1612
|
+
return [2, __decorateServiceException(exception, body)];
|
|
1613
|
+
});
|
|
1614
|
+
}); };
|
|
1615
|
+
var deserializeAws_json1_1UnsupportedOperationExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1616
|
+
var body, deserialized, exception;
|
|
1617
|
+
return __generator(this, function (_a) {
|
|
1618
|
+
body = parsedOutput.body;
|
|
1619
|
+
deserialized = deserializeAws_json1_1UnsupportedOperationException(body, context);
|
|
1620
|
+
exception = new UnsupportedOperationException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
1621
|
+
return [2, __decorateServiceException(exception, body)];
|
|
1622
|
+
});
|
|
1623
|
+
}); };
|
|
1624
|
+
var serializeAws_json1_1AddApplicationCloudWatchLoggingOptionRequest = function (input, context) {
|
|
1625
|
+
return __assign(__assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CloudWatchLoggingOption != null && {
|
|
1626
|
+
CloudWatchLoggingOption: serializeAws_json1_1CloudWatchLoggingOption(input.CloudWatchLoggingOption, context),
|
|
1627
|
+
})), (input.CurrentApplicationVersionId != null && {
|
|
1628
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1629
|
+
}));
|
|
1630
|
+
};
|
|
1631
|
+
var serializeAws_json1_1AddApplicationInputProcessingConfigurationRequest = function (input, context) {
|
|
1632
|
+
return __assign(__assign(__assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CurrentApplicationVersionId != null && {
|
|
1633
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1634
|
+
})), (input.InputId != null && { InputId: input.InputId })), (input.InputProcessingConfiguration != null && {
|
|
1635
|
+
InputProcessingConfiguration: serializeAws_json1_1InputProcessingConfiguration(input.InputProcessingConfiguration, context),
|
|
1636
|
+
}));
|
|
1637
|
+
};
|
|
1638
|
+
var serializeAws_json1_1AddApplicationInputRequest = function (input, context) {
|
|
1639
|
+
return __assign(__assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CurrentApplicationVersionId != null && {
|
|
1640
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1641
|
+
})), (input.Input != null && { Input: serializeAws_json1_1Input(input.Input, context) }));
|
|
1642
|
+
};
|
|
1643
|
+
var serializeAws_json1_1AddApplicationOutputRequest = function (input, context) {
|
|
1644
|
+
return __assign(__assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CurrentApplicationVersionId != null && {
|
|
1645
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1646
|
+
})), (input.Output != null && { Output: serializeAws_json1_1Output(input.Output, context) }));
|
|
1647
|
+
};
|
|
1648
|
+
var serializeAws_json1_1AddApplicationReferenceDataSourceRequest = function (input, context) {
|
|
1649
|
+
return __assign(__assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CurrentApplicationVersionId != null && {
|
|
1650
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1651
|
+
})), (input.ReferenceDataSource != null && {
|
|
1652
|
+
ReferenceDataSource: serializeAws_json1_1ReferenceDataSource(input.ReferenceDataSource, context),
|
|
1653
|
+
}));
|
|
1654
|
+
};
|
|
1655
|
+
var serializeAws_json1_1ApplicationUpdate = function (input, context) {
|
|
1656
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.ApplicationCodeUpdate != null && { ApplicationCodeUpdate: input.ApplicationCodeUpdate })), (input.CloudWatchLoggingOptionUpdates != null && {
|
|
1657
|
+
CloudWatchLoggingOptionUpdates: serializeAws_json1_1CloudWatchLoggingOptionUpdates(input.CloudWatchLoggingOptionUpdates, context),
|
|
1658
|
+
})), (input.InputUpdates != null && { InputUpdates: serializeAws_json1_1InputUpdates(input.InputUpdates, context) })), (input.OutputUpdates != null && {
|
|
1659
|
+
OutputUpdates: serializeAws_json1_1OutputUpdates(input.OutputUpdates, context),
|
|
1660
|
+
})), (input.ReferenceDataSourceUpdates != null && {
|
|
1661
|
+
ReferenceDataSourceUpdates: serializeAws_json1_1ReferenceDataSourceUpdates(input.ReferenceDataSourceUpdates, context),
|
|
1662
|
+
}));
|
|
1663
|
+
};
|
|
1664
|
+
var serializeAws_json1_1CloudWatchLoggingOption = function (input, context) {
|
|
1665
|
+
return __assign(__assign({}, (input.LogStreamARN != null && { LogStreamARN: input.LogStreamARN })), (input.RoleARN != null && { RoleARN: input.RoleARN }));
|
|
1666
|
+
};
|
|
1667
|
+
var serializeAws_json1_1CloudWatchLoggingOptions = function (input, context) {
|
|
1231
1668
|
return input
|
|
1232
|
-
.filter((e)
|
|
1233
|
-
.map((entry)
|
|
1669
|
+
.filter(function (e) { return e != null; })
|
|
1670
|
+
.map(function (entry) {
|
|
1234
1671
|
return serializeAws_json1_1CloudWatchLoggingOption(entry, context);
|
|
1235
1672
|
});
|
|
1236
1673
|
};
|
|
1237
|
-
|
|
1238
|
-
return {
|
|
1239
|
-
...(input.CloudWatchLoggingOptionId != null && { CloudWatchLoggingOptionId: input.CloudWatchLoggingOptionId }),
|
|
1240
|
-
...(input.LogStreamARNUpdate != null && { LogStreamARNUpdate: input.LogStreamARNUpdate }),
|
|
1241
|
-
...(input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1242
|
-
};
|
|
1674
|
+
var serializeAws_json1_1CloudWatchLoggingOptionUpdate = function (input, context) {
|
|
1675
|
+
return __assign(__assign(__assign({}, (input.CloudWatchLoggingOptionId != null && { CloudWatchLoggingOptionId: input.CloudWatchLoggingOptionId })), (input.LogStreamARNUpdate != null && { LogStreamARNUpdate: input.LogStreamARNUpdate })), (input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1243
1676
|
};
|
|
1244
|
-
|
|
1677
|
+
var serializeAws_json1_1CloudWatchLoggingOptionUpdates = function (input, context) {
|
|
1245
1678
|
return input
|
|
1246
|
-
.filter((e)
|
|
1247
|
-
.map((entry)
|
|
1679
|
+
.filter(function (e) { return e != null; })
|
|
1680
|
+
.map(function (entry) {
|
|
1248
1681
|
return serializeAws_json1_1CloudWatchLoggingOptionUpdate(entry, context);
|
|
1249
1682
|
});
|
|
1250
1683
|
};
|
|
1251
|
-
|
|
1252
|
-
return {
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
};
|
|
1263
|
-
};
|
|
1264
|
-
|
|
1265
|
-
return {
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
};
|
|
1278
|
-
};
|
|
1279
|
-
|
|
1280
|
-
return {
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
};
|
|
1287
|
-
};
|
|
1288
|
-
|
|
1289
|
-
return {
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
};
|
|
1296
|
-
};
|
|
1297
|
-
|
|
1298
|
-
return {
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
}
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
};
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1315
|
-
};
|
|
1316
|
-
};
|
|
1317
|
-
const serializeAws_json1_1DestinationSchema = (input, context) => {
|
|
1318
|
-
return {
|
|
1319
|
-
...(input.RecordFormatType != null && { RecordFormatType: input.RecordFormatType }),
|
|
1320
|
-
};
|
|
1321
|
-
};
|
|
1322
|
-
const serializeAws_json1_1DiscoverInputSchemaRequest = (input, context) => {
|
|
1323
|
-
return {
|
|
1324
|
-
...(input.InputProcessingConfiguration != null && {
|
|
1325
|
-
InputProcessingConfiguration: serializeAws_json1_1InputProcessingConfiguration(input.InputProcessingConfiguration, context),
|
|
1326
|
-
}),
|
|
1327
|
-
...(input.InputStartingPositionConfiguration != null && {
|
|
1328
|
-
InputStartingPositionConfiguration: serializeAws_json1_1InputStartingPositionConfiguration(input.InputStartingPositionConfiguration, context),
|
|
1329
|
-
}),
|
|
1330
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1331
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1332
|
-
...(input.S3Configuration != null && {
|
|
1333
|
-
S3Configuration: serializeAws_json1_1S3Configuration(input.S3Configuration, context),
|
|
1334
|
-
}),
|
|
1335
|
-
};
|
|
1336
|
-
};
|
|
1337
|
-
const serializeAws_json1_1Input = (input, context) => {
|
|
1338
|
-
return {
|
|
1339
|
-
...(input.InputParallelism != null && {
|
|
1340
|
-
InputParallelism: serializeAws_json1_1InputParallelism(input.InputParallelism, context),
|
|
1341
|
-
}),
|
|
1342
|
-
...(input.InputProcessingConfiguration != null && {
|
|
1343
|
-
InputProcessingConfiguration: serializeAws_json1_1InputProcessingConfiguration(input.InputProcessingConfiguration, context),
|
|
1344
|
-
}),
|
|
1345
|
-
...(input.InputSchema != null && { InputSchema: serializeAws_json1_1SourceSchema(input.InputSchema, context) }),
|
|
1346
|
-
...(input.KinesisFirehoseInput != null && {
|
|
1347
|
-
KinesisFirehoseInput: serializeAws_json1_1KinesisFirehoseInput(input.KinesisFirehoseInput, context),
|
|
1348
|
-
}),
|
|
1349
|
-
...(input.KinesisStreamsInput != null && {
|
|
1350
|
-
KinesisStreamsInput: serializeAws_json1_1KinesisStreamsInput(input.KinesisStreamsInput, context),
|
|
1351
|
-
}),
|
|
1352
|
-
...(input.NamePrefix != null && { NamePrefix: input.NamePrefix }),
|
|
1353
|
-
};
|
|
1354
|
-
};
|
|
1355
|
-
const serializeAws_json1_1InputConfiguration = (input, context) => {
|
|
1356
|
-
return {
|
|
1357
|
-
...(input.Id != null && { Id: input.Id }),
|
|
1358
|
-
...(input.InputStartingPositionConfiguration != null && {
|
|
1359
|
-
InputStartingPositionConfiguration: serializeAws_json1_1InputStartingPositionConfiguration(input.InputStartingPositionConfiguration, context),
|
|
1360
|
-
}),
|
|
1361
|
-
};
|
|
1362
|
-
};
|
|
1363
|
-
const serializeAws_json1_1InputConfigurations = (input, context) => {
|
|
1684
|
+
var serializeAws_json1_1CreateApplicationRequest = function (input, context) {
|
|
1685
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApplicationCode != null && { ApplicationCode: input.ApplicationCode })), (input.ApplicationDescription != null && { ApplicationDescription: input.ApplicationDescription })), (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CloudWatchLoggingOptions != null && {
|
|
1686
|
+
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1687
|
+
})), (input.Inputs != null && { Inputs: serializeAws_json1_1Inputs(input.Inputs, context) })), (input.Outputs != null && { Outputs: serializeAws_json1_1Outputs(input.Outputs, context) })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
1688
|
+
};
|
|
1689
|
+
var serializeAws_json1_1CSVMappingParameters = function (input, context) {
|
|
1690
|
+
return __assign(__assign({}, (input.RecordColumnDelimiter != null && { RecordColumnDelimiter: input.RecordColumnDelimiter })), (input.RecordRowDelimiter != null && { RecordRowDelimiter: input.RecordRowDelimiter }));
|
|
1691
|
+
};
|
|
1692
|
+
var serializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionRequest = function (input, context) {
|
|
1693
|
+
return __assign(__assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CloudWatchLoggingOptionId != null && { CloudWatchLoggingOptionId: input.CloudWatchLoggingOptionId })), (input.CurrentApplicationVersionId != null && {
|
|
1694
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1695
|
+
}));
|
|
1696
|
+
};
|
|
1697
|
+
var serializeAws_json1_1DeleteApplicationInputProcessingConfigurationRequest = function (input, context) {
|
|
1698
|
+
return __assign(__assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CurrentApplicationVersionId != null && {
|
|
1699
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1700
|
+
})), (input.InputId != null && { InputId: input.InputId }));
|
|
1701
|
+
};
|
|
1702
|
+
var serializeAws_json1_1DeleteApplicationOutputRequest = function (input, context) {
|
|
1703
|
+
return __assign(__assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CurrentApplicationVersionId != null && {
|
|
1704
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1705
|
+
})), (input.OutputId != null && { OutputId: input.OutputId }));
|
|
1706
|
+
};
|
|
1707
|
+
var serializeAws_json1_1DeleteApplicationReferenceDataSourceRequest = function (input, context) {
|
|
1708
|
+
return __assign(__assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CurrentApplicationVersionId != null && {
|
|
1709
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1710
|
+
})), (input.ReferenceId != null && { ReferenceId: input.ReferenceId }));
|
|
1711
|
+
};
|
|
1712
|
+
var serializeAws_json1_1DeleteApplicationRequest = function (input, context) {
|
|
1713
|
+
return __assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CreateTimestamp != null && { CreateTimestamp: Math.round(input.CreateTimestamp.getTime() / 1000) }));
|
|
1714
|
+
};
|
|
1715
|
+
var serializeAws_json1_1DescribeApplicationRequest = function (input, context) {
|
|
1716
|
+
return __assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName }));
|
|
1717
|
+
};
|
|
1718
|
+
var serializeAws_json1_1DestinationSchema = function (input, context) {
|
|
1719
|
+
return __assign({}, (input.RecordFormatType != null && { RecordFormatType: input.RecordFormatType }));
|
|
1720
|
+
};
|
|
1721
|
+
var serializeAws_json1_1DiscoverInputSchemaRequest = function (input, context) {
|
|
1722
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.InputProcessingConfiguration != null && {
|
|
1723
|
+
InputProcessingConfiguration: serializeAws_json1_1InputProcessingConfiguration(input.InputProcessingConfiguration, context),
|
|
1724
|
+
})), (input.InputStartingPositionConfiguration != null && {
|
|
1725
|
+
InputStartingPositionConfiguration: serializeAws_json1_1InputStartingPositionConfiguration(input.InputStartingPositionConfiguration, context),
|
|
1726
|
+
})), (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.RoleARN != null && { RoleARN: input.RoleARN })), (input.S3Configuration != null && {
|
|
1727
|
+
S3Configuration: serializeAws_json1_1S3Configuration(input.S3Configuration, context),
|
|
1728
|
+
}));
|
|
1729
|
+
};
|
|
1730
|
+
var serializeAws_json1_1Input = function (input, context) {
|
|
1731
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.InputParallelism != null && {
|
|
1732
|
+
InputParallelism: serializeAws_json1_1InputParallelism(input.InputParallelism, context),
|
|
1733
|
+
})), (input.InputProcessingConfiguration != null && {
|
|
1734
|
+
InputProcessingConfiguration: serializeAws_json1_1InputProcessingConfiguration(input.InputProcessingConfiguration, context),
|
|
1735
|
+
})), (input.InputSchema != null && { InputSchema: serializeAws_json1_1SourceSchema(input.InputSchema, context) })), (input.KinesisFirehoseInput != null && {
|
|
1736
|
+
KinesisFirehoseInput: serializeAws_json1_1KinesisFirehoseInput(input.KinesisFirehoseInput, context),
|
|
1737
|
+
})), (input.KinesisStreamsInput != null && {
|
|
1738
|
+
KinesisStreamsInput: serializeAws_json1_1KinesisStreamsInput(input.KinesisStreamsInput, context),
|
|
1739
|
+
})), (input.NamePrefix != null && { NamePrefix: input.NamePrefix }));
|
|
1740
|
+
};
|
|
1741
|
+
var serializeAws_json1_1InputConfiguration = function (input, context) {
|
|
1742
|
+
return __assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.InputStartingPositionConfiguration != null && {
|
|
1743
|
+
InputStartingPositionConfiguration: serializeAws_json1_1InputStartingPositionConfiguration(input.InputStartingPositionConfiguration, context),
|
|
1744
|
+
}));
|
|
1745
|
+
};
|
|
1746
|
+
var serializeAws_json1_1InputConfigurations = function (input, context) {
|
|
1364
1747
|
return input
|
|
1365
|
-
.filter((e)
|
|
1366
|
-
.map((entry)
|
|
1748
|
+
.filter(function (e) { return e != null; })
|
|
1749
|
+
.map(function (entry) {
|
|
1367
1750
|
return serializeAws_json1_1InputConfiguration(entry, context);
|
|
1368
1751
|
});
|
|
1369
1752
|
};
|
|
1370
|
-
|
|
1371
|
-
return {
|
|
1372
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1373
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1374
|
-
};
|
|
1753
|
+
var serializeAws_json1_1InputLambdaProcessor = function (input, context) {
|
|
1754
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.RoleARN != null && { RoleARN: input.RoleARN }));
|
|
1375
1755
|
};
|
|
1376
|
-
|
|
1377
|
-
return {
|
|
1378
|
-
...(input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate }),
|
|
1379
|
-
...(input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1380
|
-
};
|
|
1756
|
+
var serializeAws_json1_1InputLambdaProcessorUpdate = function (input, context) {
|
|
1757
|
+
return __assign(__assign({}, (input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate })), (input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1381
1758
|
};
|
|
1382
|
-
|
|
1383
|
-
return {
|
|
1384
|
-
...(input.Count != null && { Count: input.Count }),
|
|
1385
|
-
};
|
|
1759
|
+
var serializeAws_json1_1InputParallelism = function (input, context) {
|
|
1760
|
+
return __assign({}, (input.Count != null && { Count: input.Count }));
|
|
1386
1761
|
};
|
|
1387
|
-
|
|
1388
|
-
return {
|
|
1389
|
-
...(input.CountUpdate != null && { CountUpdate: input.CountUpdate }),
|
|
1390
|
-
};
|
|
1762
|
+
var serializeAws_json1_1InputParallelismUpdate = function (input, context) {
|
|
1763
|
+
return __assign({}, (input.CountUpdate != null && { CountUpdate: input.CountUpdate }));
|
|
1391
1764
|
};
|
|
1392
|
-
|
|
1393
|
-
return {
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
}),
|
|
1397
|
-
};
|
|
1765
|
+
var serializeAws_json1_1InputProcessingConfiguration = function (input, context) {
|
|
1766
|
+
return __assign({}, (input.InputLambdaProcessor != null && {
|
|
1767
|
+
InputLambdaProcessor: serializeAws_json1_1InputLambdaProcessor(input.InputLambdaProcessor, context),
|
|
1768
|
+
}));
|
|
1398
1769
|
};
|
|
1399
|
-
|
|
1400
|
-
return {
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
}),
|
|
1404
|
-
};
|
|
1770
|
+
var serializeAws_json1_1InputProcessingConfigurationUpdate = function (input, context) {
|
|
1771
|
+
return __assign({}, (input.InputLambdaProcessorUpdate != null && {
|
|
1772
|
+
InputLambdaProcessorUpdate: serializeAws_json1_1InputLambdaProcessorUpdate(input.InputLambdaProcessorUpdate, context),
|
|
1773
|
+
}));
|
|
1405
1774
|
};
|
|
1406
|
-
|
|
1775
|
+
var serializeAws_json1_1Inputs = function (input, context) {
|
|
1407
1776
|
return input
|
|
1408
|
-
.filter((e)
|
|
1409
|
-
.map((entry)
|
|
1777
|
+
.filter(function (e) { return e != null; })
|
|
1778
|
+
.map(function (entry) {
|
|
1410
1779
|
return serializeAws_json1_1Input(entry, context);
|
|
1411
1780
|
});
|
|
1412
1781
|
};
|
|
1413
|
-
|
|
1414
|
-
return {
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
}
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
}),
|
|
1438
|
-
...(input.InputSchemaUpdate != null && {
|
|
1439
|
-
InputSchemaUpdate: serializeAws_json1_1InputSchemaUpdate(input.InputSchemaUpdate, context),
|
|
1440
|
-
}),
|
|
1441
|
-
...(input.KinesisFirehoseInputUpdate != null && {
|
|
1442
|
-
KinesisFirehoseInputUpdate: serializeAws_json1_1KinesisFirehoseInputUpdate(input.KinesisFirehoseInputUpdate, context),
|
|
1443
|
-
}),
|
|
1444
|
-
...(input.KinesisStreamsInputUpdate != null && {
|
|
1445
|
-
KinesisStreamsInputUpdate: serializeAws_json1_1KinesisStreamsInputUpdate(input.KinesisStreamsInputUpdate, context),
|
|
1446
|
-
}),
|
|
1447
|
-
...(input.NamePrefixUpdate != null && { NamePrefixUpdate: input.NamePrefixUpdate }),
|
|
1448
|
-
};
|
|
1449
|
-
};
|
|
1450
|
-
const serializeAws_json1_1InputUpdates = (input, context) => {
|
|
1782
|
+
var serializeAws_json1_1InputSchemaUpdate = function (input, context) {
|
|
1783
|
+
return __assign(__assign(__assign({}, (input.RecordColumnUpdates != null && {
|
|
1784
|
+
RecordColumnUpdates: serializeAws_json1_1RecordColumns(input.RecordColumnUpdates, context),
|
|
1785
|
+
})), (input.RecordEncodingUpdate != null && { RecordEncodingUpdate: input.RecordEncodingUpdate })), (input.RecordFormatUpdate != null && {
|
|
1786
|
+
RecordFormatUpdate: serializeAws_json1_1RecordFormat(input.RecordFormatUpdate, context),
|
|
1787
|
+
}));
|
|
1788
|
+
};
|
|
1789
|
+
var serializeAws_json1_1InputStartingPositionConfiguration = function (input, context) {
|
|
1790
|
+
return __assign({}, (input.InputStartingPosition != null && { InputStartingPosition: input.InputStartingPosition }));
|
|
1791
|
+
};
|
|
1792
|
+
var serializeAws_json1_1InputUpdate = function (input, context) {
|
|
1793
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.InputId != null && { InputId: input.InputId })), (input.InputParallelismUpdate != null && {
|
|
1794
|
+
InputParallelismUpdate: serializeAws_json1_1InputParallelismUpdate(input.InputParallelismUpdate, context),
|
|
1795
|
+
})), (input.InputProcessingConfigurationUpdate != null && {
|
|
1796
|
+
InputProcessingConfigurationUpdate: serializeAws_json1_1InputProcessingConfigurationUpdate(input.InputProcessingConfigurationUpdate, context),
|
|
1797
|
+
})), (input.InputSchemaUpdate != null && {
|
|
1798
|
+
InputSchemaUpdate: serializeAws_json1_1InputSchemaUpdate(input.InputSchemaUpdate, context),
|
|
1799
|
+
})), (input.KinesisFirehoseInputUpdate != null && {
|
|
1800
|
+
KinesisFirehoseInputUpdate: serializeAws_json1_1KinesisFirehoseInputUpdate(input.KinesisFirehoseInputUpdate, context),
|
|
1801
|
+
})), (input.KinesisStreamsInputUpdate != null && {
|
|
1802
|
+
KinesisStreamsInputUpdate: serializeAws_json1_1KinesisStreamsInputUpdate(input.KinesisStreamsInputUpdate, context),
|
|
1803
|
+
})), (input.NamePrefixUpdate != null && { NamePrefixUpdate: input.NamePrefixUpdate }));
|
|
1804
|
+
};
|
|
1805
|
+
var serializeAws_json1_1InputUpdates = function (input, context) {
|
|
1451
1806
|
return input
|
|
1452
|
-
.filter((e)
|
|
1453
|
-
.map((entry)
|
|
1807
|
+
.filter(function (e) { return e != null; })
|
|
1808
|
+
.map(function (entry) {
|
|
1454
1809
|
return serializeAws_json1_1InputUpdate(entry, context);
|
|
1455
1810
|
});
|
|
1456
1811
|
};
|
|
1457
|
-
|
|
1458
|
-
return {
|
|
1459
|
-
...(input.RecordRowPath != null && { RecordRowPath: input.RecordRowPath }),
|
|
1460
|
-
};
|
|
1812
|
+
var serializeAws_json1_1JSONMappingParameters = function (input, context) {
|
|
1813
|
+
return __assign({}, (input.RecordRowPath != null && { RecordRowPath: input.RecordRowPath }));
|
|
1461
1814
|
};
|
|
1462
|
-
|
|
1463
|
-
return {
|
|
1464
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1465
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1466
|
-
};
|
|
1815
|
+
var serializeAws_json1_1KinesisFirehoseInput = function (input, context) {
|
|
1816
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.RoleARN != null && { RoleARN: input.RoleARN }));
|
|
1467
1817
|
};
|
|
1468
|
-
|
|
1469
|
-
return {
|
|
1470
|
-
...(input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate }),
|
|
1471
|
-
...(input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1472
|
-
};
|
|
1818
|
+
var serializeAws_json1_1KinesisFirehoseInputUpdate = function (input, context) {
|
|
1819
|
+
return __assign(__assign({}, (input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate })), (input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1473
1820
|
};
|
|
1474
|
-
|
|
1475
|
-
return {
|
|
1476
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1477
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1478
|
-
};
|
|
1821
|
+
var serializeAws_json1_1KinesisFirehoseOutput = function (input, context) {
|
|
1822
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.RoleARN != null && { RoleARN: input.RoleARN }));
|
|
1479
1823
|
};
|
|
1480
|
-
|
|
1481
|
-
return {
|
|
1482
|
-
...(input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate }),
|
|
1483
|
-
...(input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1484
|
-
};
|
|
1824
|
+
var serializeAws_json1_1KinesisFirehoseOutputUpdate = function (input, context) {
|
|
1825
|
+
return __assign(__assign({}, (input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate })), (input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1485
1826
|
};
|
|
1486
|
-
|
|
1487
|
-
return {
|
|
1488
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1489
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1490
|
-
};
|
|
1827
|
+
var serializeAws_json1_1KinesisStreamsInput = function (input, context) {
|
|
1828
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.RoleARN != null && { RoleARN: input.RoleARN }));
|
|
1491
1829
|
};
|
|
1492
|
-
|
|
1493
|
-
return {
|
|
1494
|
-
...(input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate }),
|
|
1495
|
-
...(input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1496
|
-
};
|
|
1830
|
+
var serializeAws_json1_1KinesisStreamsInputUpdate = function (input, context) {
|
|
1831
|
+
return __assign(__assign({}, (input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate })), (input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1497
1832
|
};
|
|
1498
|
-
|
|
1499
|
-
return {
|
|
1500
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1501
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1502
|
-
};
|
|
1833
|
+
var serializeAws_json1_1KinesisStreamsOutput = function (input, context) {
|
|
1834
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.RoleARN != null && { RoleARN: input.RoleARN }));
|
|
1503
1835
|
};
|
|
1504
|
-
|
|
1505
|
-
return {
|
|
1506
|
-
...(input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate }),
|
|
1507
|
-
...(input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1508
|
-
};
|
|
1836
|
+
var serializeAws_json1_1KinesisStreamsOutputUpdate = function (input, context) {
|
|
1837
|
+
return __assign(__assign({}, (input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate })), (input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1509
1838
|
};
|
|
1510
|
-
|
|
1511
|
-
return {
|
|
1512
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1513
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1514
|
-
};
|
|
1839
|
+
var serializeAws_json1_1LambdaOutput = function (input, context) {
|
|
1840
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.RoleARN != null && { RoleARN: input.RoleARN }));
|
|
1515
1841
|
};
|
|
1516
|
-
|
|
1517
|
-
return {
|
|
1518
|
-
...(input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate }),
|
|
1519
|
-
...(input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }),
|
|
1520
|
-
};
|
|
1842
|
+
var serializeAws_json1_1LambdaOutputUpdate = function (input, context) {
|
|
1843
|
+
return __assign(__assign({}, (input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate })), (input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1521
1844
|
};
|
|
1522
|
-
|
|
1523
|
-
return {
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
}),
|
|
1527
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
1528
|
-
};
|
|
1845
|
+
var serializeAws_json1_1ListApplicationsRequest = function (input, context) {
|
|
1846
|
+
return __assign(__assign({}, (input.ExclusiveStartApplicationName != null && {
|
|
1847
|
+
ExclusiveStartApplicationName: input.ExclusiveStartApplicationName,
|
|
1848
|
+
})), (input.Limit != null && { Limit: input.Limit }));
|
|
1529
1849
|
};
|
|
1530
|
-
|
|
1531
|
-
return {
|
|
1532
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1533
|
-
};
|
|
1850
|
+
var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
|
|
1851
|
+
return __assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN }));
|
|
1534
1852
|
};
|
|
1535
|
-
|
|
1536
|
-
return {
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
JSONMappingParameters: serializeAws_json1_1JSONMappingParameters(input.JSONMappingParameters, context),
|
|
1542
|
-
}),
|
|
1543
|
-
};
|
|
1853
|
+
var serializeAws_json1_1MappingParameters = function (input, context) {
|
|
1854
|
+
return __assign(__assign({}, (input.CSVMappingParameters != null && {
|
|
1855
|
+
CSVMappingParameters: serializeAws_json1_1CSVMappingParameters(input.CSVMappingParameters, context),
|
|
1856
|
+
})), (input.JSONMappingParameters != null && {
|
|
1857
|
+
JSONMappingParameters: serializeAws_json1_1JSONMappingParameters(input.JSONMappingParameters, context),
|
|
1858
|
+
}));
|
|
1544
1859
|
};
|
|
1545
|
-
|
|
1546
|
-
return {
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
...(input.KinesisStreamsOutput != null && {
|
|
1554
|
-
KinesisStreamsOutput: serializeAws_json1_1KinesisStreamsOutput(input.KinesisStreamsOutput, context),
|
|
1555
|
-
}),
|
|
1556
|
-
...(input.LambdaOutput != null && { LambdaOutput: serializeAws_json1_1LambdaOutput(input.LambdaOutput, context) }),
|
|
1557
|
-
...(input.Name != null && { Name: input.Name }),
|
|
1558
|
-
};
|
|
1860
|
+
var serializeAws_json1_1Output = function (input, context) {
|
|
1861
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.DestinationSchema != null && {
|
|
1862
|
+
DestinationSchema: serializeAws_json1_1DestinationSchema(input.DestinationSchema, context),
|
|
1863
|
+
})), (input.KinesisFirehoseOutput != null && {
|
|
1864
|
+
KinesisFirehoseOutput: serializeAws_json1_1KinesisFirehoseOutput(input.KinesisFirehoseOutput, context),
|
|
1865
|
+
})), (input.KinesisStreamsOutput != null && {
|
|
1866
|
+
KinesisStreamsOutput: serializeAws_json1_1KinesisStreamsOutput(input.KinesisStreamsOutput, context),
|
|
1867
|
+
})), (input.LambdaOutput != null && { LambdaOutput: serializeAws_json1_1LambdaOutput(input.LambdaOutput, context) })), (input.Name != null && { Name: input.Name }));
|
|
1559
1868
|
};
|
|
1560
|
-
|
|
1869
|
+
var serializeAws_json1_1Outputs = function (input, context) {
|
|
1561
1870
|
return input
|
|
1562
|
-
.filter((e)
|
|
1563
|
-
.map((entry)
|
|
1871
|
+
.filter(function (e) { return e != null; })
|
|
1872
|
+
.map(function (entry) {
|
|
1564
1873
|
return serializeAws_json1_1Output(entry, context);
|
|
1565
1874
|
});
|
|
1566
1875
|
};
|
|
1567
|
-
|
|
1568
|
-
return {
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
LambdaOutputUpdate: serializeAws_json1_1LambdaOutputUpdate(input.LambdaOutputUpdate, context),
|
|
1580
|
-
}),
|
|
1581
|
-
...(input.NameUpdate != null && { NameUpdate: input.NameUpdate }),
|
|
1582
|
-
...(input.OutputId != null && { OutputId: input.OutputId }),
|
|
1583
|
-
};
|
|
1584
|
-
};
|
|
1585
|
-
const serializeAws_json1_1OutputUpdates = (input, context) => {
|
|
1876
|
+
var serializeAws_json1_1OutputUpdate = function (input, context) {
|
|
1877
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.DestinationSchemaUpdate != null && {
|
|
1878
|
+
DestinationSchemaUpdate: serializeAws_json1_1DestinationSchema(input.DestinationSchemaUpdate, context),
|
|
1879
|
+
})), (input.KinesisFirehoseOutputUpdate != null && {
|
|
1880
|
+
KinesisFirehoseOutputUpdate: serializeAws_json1_1KinesisFirehoseOutputUpdate(input.KinesisFirehoseOutputUpdate, context),
|
|
1881
|
+
})), (input.KinesisStreamsOutputUpdate != null && {
|
|
1882
|
+
KinesisStreamsOutputUpdate: serializeAws_json1_1KinesisStreamsOutputUpdate(input.KinesisStreamsOutputUpdate, context),
|
|
1883
|
+
})), (input.LambdaOutputUpdate != null && {
|
|
1884
|
+
LambdaOutputUpdate: serializeAws_json1_1LambdaOutputUpdate(input.LambdaOutputUpdate, context),
|
|
1885
|
+
})), (input.NameUpdate != null && { NameUpdate: input.NameUpdate })), (input.OutputId != null && { OutputId: input.OutputId }));
|
|
1886
|
+
};
|
|
1887
|
+
var serializeAws_json1_1OutputUpdates = function (input, context) {
|
|
1586
1888
|
return input
|
|
1587
|
-
.filter((e)
|
|
1588
|
-
.map((entry)
|
|
1889
|
+
.filter(function (e) { return e != null; })
|
|
1890
|
+
.map(function (entry) {
|
|
1589
1891
|
return serializeAws_json1_1OutputUpdate(entry, context);
|
|
1590
1892
|
});
|
|
1591
1893
|
};
|
|
1592
|
-
|
|
1593
|
-
return {
|
|
1594
|
-
...(input.Mapping != null && { Mapping: input.Mapping }),
|
|
1595
|
-
...(input.Name != null && { Name: input.Name }),
|
|
1596
|
-
...(input.SqlType != null && { SqlType: input.SqlType }),
|
|
1597
|
-
};
|
|
1894
|
+
var serializeAws_json1_1RecordColumn = function (input, context) {
|
|
1895
|
+
return __assign(__assign(__assign({}, (input.Mapping != null && { Mapping: input.Mapping })), (input.Name != null && { Name: input.Name })), (input.SqlType != null && { SqlType: input.SqlType }));
|
|
1598
1896
|
};
|
|
1599
|
-
|
|
1897
|
+
var serializeAws_json1_1RecordColumns = function (input, context) {
|
|
1600
1898
|
return input
|
|
1601
|
-
.filter((e)
|
|
1602
|
-
.map((entry)
|
|
1899
|
+
.filter(function (e) { return e != null; })
|
|
1900
|
+
.map(function (entry) {
|
|
1603
1901
|
return serializeAws_json1_1RecordColumn(entry, context);
|
|
1604
1902
|
});
|
|
1605
1903
|
};
|
|
1606
|
-
|
|
1607
|
-
return {
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
}
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
};
|
|
1624
|
-
};
|
|
1625
|
-
|
|
1626
|
-
return {
|
|
1627
|
-
...(input.ReferenceId != null && { ReferenceId: input.ReferenceId }),
|
|
1628
|
-
...(input.ReferenceSchemaUpdate != null && {
|
|
1629
|
-
ReferenceSchemaUpdate: serializeAws_json1_1SourceSchema(input.ReferenceSchemaUpdate, context),
|
|
1630
|
-
}),
|
|
1631
|
-
...(input.S3ReferenceDataSourceUpdate != null && {
|
|
1632
|
-
S3ReferenceDataSourceUpdate: serializeAws_json1_1S3ReferenceDataSourceUpdate(input.S3ReferenceDataSourceUpdate, context),
|
|
1633
|
-
}),
|
|
1634
|
-
...(input.TableNameUpdate != null && { TableNameUpdate: input.TableNameUpdate }),
|
|
1635
|
-
};
|
|
1636
|
-
};
|
|
1637
|
-
const serializeAws_json1_1ReferenceDataSourceUpdates = (input, context) => {
|
|
1904
|
+
var serializeAws_json1_1RecordFormat = function (input, context) {
|
|
1905
|
+
return __assign(__assign({}, (input.MappingParameters != null && {
|
|
1906
|
+
MappingParameters: serializeAws_json1_1MappingParameters(input.MappingParameters, context),
|
|
1907
|
+
})), (input.RecordFormatType != null && { RecordFormatType: input.RecordFormatType }));
|
|
1908
|
+
};
|
|
1909
|
+
var serializeAws_json1_1ReferenceDataSource = function (input, context) {
|
|
1910
|
+
return __assign(__assign(__assign({}, (input.ReferenceSchema != null && {
|
|
1911
|
+
ReferenceSchema: serializeAws_json1_1SourceSchema(input.ReferenceSchema, context),
|
|
1912
|
+
})), (input.S3ReferenceDataSource != null && {
|
|
1913
|
+
S3ReferenceDataSource: serializeAws_json1_1S3ReferenceDataSource(input.S3ReferenceDataSource, context),
|
|
1914
|
+
})), (input.TableName != null && { TableName: input.TableName }));
|
|
1915
|
+
};
|
|
1916
|
+
var serializeAws_json1_1ReferenceDataSourceUpdate = function (input, context) {
|
|
1917
|
+
return __assign(__assign(__assign(__assign({}, (input.ReferenceId != null && { ReferenceId: input.ReferenceId })), (input.ReferenceSchemaUpdate != null && {
|
|
1918
|
+
ReferenceSchemaUpdate: serializeAws_json1_1SourceSchema(input.ReferenceSchemaUpdate, context),
|
|
1919
|
+
})), (input.S3ReferenceDataSourceUpdate != null && {
|
|
1920
|
+
S3ReferenceDataSourceUpdate: serializeAws_json1_1S3ReferenceDataSourceUpdate(input.S3ReferenceDataSourceUpdate, context),
|
|
1921
|
+
})), (input.TableNameUpdate != null && { TableNameUpdate: input.TableNameUpdate }));
|
|
1922
|
+
};
|
|
1923
|
+
var serializeAws_json1_1ReferenceDataSourceUpdates = function (input, context) {
|
|
1638
1924
|
return input
|
|
1639
|
-
.filter((e)
|
|
1640
|
-
.map((entry)
|
|
1925
|
+
.filter(function (e) { return e != null; })
|
|
1926
|
+
.map(function (entry) {
|
|
1641
1927
|
return serializeAws_json1_1ReferenceDataSourceUpdate(entry, context);
|
|
1642
1928
|
});
|
|
1643
1929
|
};
|
|
1644
|
-
|
|
1645
|
-
return {
|
|
1646
|
-
...(input.BucketARN != null && { BucketARN: input.BucketARN }),
|
|
1647
|
-
...(input.FileKey != null && { FileKey: input.FileKey }),
|
|
1648
|
-
...(input.RoleARN != null && { RoleARN: input.RoleARN }),
|
|
1649
|
-
};
|
|
1930
|
+
var serializeAws_json1_1S3Configuration = function (input, context) {
|
|
1931
|
+
return __assign(__assign(__assign({}, (input.BucketARN != null && { BucketARN: input.BucketARN })), (input.FileKey != null && { FileKey: input.FileKey })), (input.RoleARN != null && { RoleARN: input.RoleARN }));
|
|
1650
1932
|
};
|
|
1651
|
-
|
|
1652
|
-
return {
|
|
1653
|
-
...(input.BucketARN != null && { BucketARN: input.BucketARN }),
|
|
1654
|
-
...(input.FileKey != null && { FileKey: input.FileKey }),
|
|
1655
|
-
...(input.ReferenceRoleARN != null && { ReferenceRoleARN: input.ReferenceRoleARN }),
|
|
1656
|
-
};
|
|
1933
|
+
var serializeAws_json1_1S3ReferenceDataSource = function (input, context) {
|
|
1934
|
+
return __assign(__assign(__assign({}, (input.BucketARN != null && { BucketARN: input.BucketARN })), (input.FileKey != null && { FileKey: input.FileKey })), (input.ReferenceRoleARN != null && { ReferenceRoleARN: input.ReferenceRoleARN }));
|
|
1657
1935
|
};
|
|
1658
|
-
|
|
1659
|
-
return {
|
|
1660
|
-
...(input.BucketARNUpdate != null && { BucketARNUpdate: input.BucketARNUpdate }),
|
|
1661
|
-
...(input.FileKeyUpdate != null && { FileKeyUpdate: input.FileKeyUpdate }),
|
|
1662
|
-
...(input.ReferenceRoleARNUpdate != null && { ReferenceRoleARNUpdate: input.ReferenceRoleARNUpdate }),
|
|
1663
|
-
};
|
|
1936
|
+
var serializeAws_json1_1S3ReferenceDataSourceUpdate = function (input, context) {
|
|
1937
|
+
return __assign(__assign(__assign({}, (input.BucketARNUpdate != null && { BucketARNUpdate: input.BucketARNUpdate })), (input.FileKeyUpdate != null && { FileKeyUpdate: input.FileKeyUpdate })), (input.ReferenceRoleARNUpdate != null && { ReferenceRoleARNUpdate: input.ReferenceRoleARNUpdate }));
|
|
1664
1938
|
};
|
|
1665
|
-
|
|
1666
|
-
return {
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
}),
|
|
1670
|
-
...(input.RecordEncoding != null && { RecordEncoding: input.RecordEncoding }),
|
|
1671
|
-
...(input.RecordFormat != null && { RecordFormat: serializeAws_json1_1RecordFormat(input.RecordFormat, context) }),
|
|
1672
|
-
};
|
|
1939
|
+
var serializeAws_json1_1SourceSchema = function (input, context) {
|
|
1940
|
+
return __assign(__assign(__assign({}, (input.RecordColumns != null && {
|
|
1941
|
+
RecordColumns: serializeAws_json1_1RecordColumns(input.RecordColumns, context),
|
|
1942
|
+
})), (input.RecordEncoding != null && { RecordEncoding: input.RecordEncoding })), (input.RecordFormat != null && { RecordFormat: serializeAws_json1_1RecordFormat(input.RecordFormat, context) }));
|
|
1673
1943
|
};
|
|
1674
|
-
|
|
1675
|
-
return {
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
InputConfigurations: serializeAws_json1_1InputConfigurations(input.InputConfigurations, context),
|
|
1679
|
-
}),
|
|
1680
|
-
};
|
|
1944
|
+
var serializeAws_json1_1StartApplicationRequest = function (input, context) {
|
|
1945
|
+
return __assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.InputConfigurations != null && {
|
|
1946
|
+
InputConfigurations: serializeAws_json1_1InputConfigurations(input.InputConfigurations, context),
|
|
1947
|
+
}));
|
|
1681
1948
|
};
|
|
1682
|
-
|
|
1683
|
-
return {
|
|
1684
|
-
...(input.ApplicationName != null && { ApplicationName: input.ApplicationName }),
|
|
1685
|
-
};
|
|
1949
|
+
var serializeAws_json1_1StopApplicationRequest = function (input, context) {
|
|
1950
|
+
return __assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName }));
|
|
1686
1951
|
};
|
|
1687
|
-
|
|
1688
|
-
return {
|
|
1689
|
-
...(input.Key != null && { Key: input.Key }),
|
|
1690
|
-
...(input.Value != null && { Value: input.Value }),
|
|
1691
|
-
};
|
|
1952
|
+
var serializeAws_json1_1Tag = function (input, context) {
|
|
1953
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
1692
1954
|
};
|
|
1693
|
-
|
|
1955
|
+
var serializeAws_json1_1TagKeys = function (input, context) {
|
|
1694
1956
|
return input
|
|
1695
|
-
.filter((e)
|
|
1696
|
-
.map((entry)
|
|
1957
|
+
.filter(function (e) { return e != null; })
|
|
1958
|
+
.map(function (entry) {
|
|
1697
1959
|
return entry;
|
|
1698
1960
|
});
|
|
1699
1961
|
};
|
|
1700
|
-
|
|
1701
|
-
return {
|
|
1702
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1703
|
-
...(input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }),
|
|
1704
|
-
};
|
|
1962
|
+
var serializeAws_json1_1TagResourceRequest = function (input, context) {
|
|
1963
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
1705
1964
|
};
|
|
1706
|
-
|
|
1965
|
+
var serializeAws_json1_1Tags = function (input, context) {
|
|
1707
1966
|
return input
|
|
1708
|
-
.filter((e)
|
|
1709
|
-
.map((entry)
|
|
1967
|
+
.filter(function (e) { return e != null; })
|
|
1968
|
+
.map(function (entry) {
|
|
1710
1969
|
return serializeAws_json1_1Tag(entry, context);
|
|
1711
1970
|
});
|
|
1712
1971
|
};
|
|
1713
|
-
|
|
1714
|
-
return {
|
|
1715
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
1716
|
-
...(input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeys(input.TagKeys, context) }),
|
|
1717
|
-
};
|
|
1972
|
+
var serializeAws_json1_1UntagResourceRequest = function (input, context) {
|
|
1973
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeys(input.TagKeys, context) }));
|
|
1718
1974
|
};
|
|
1719
|
-
|
|
1720
|
-
return {
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
...(input.CurrentApplicationVersionId != null && {
|
|
1726
|
-
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1727
|
-
}),
|
|
1728
|
-
};
|
|
1975
|
+
var serializeAws_json1_1UpdateApplicationRequest = function (input, context) {
|
|
1976
|
+
return __assign(__assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.ApplicationUpdate != null && {
|
|
1977
|
+
ApplicationUpdate: serializeAws_json1_1ApplicationUpdate(input.ApplicationUpdate, context),
|
|
1978
|
+
})), (input.CurrentApplicationVersionId != null && {
|
|
1979
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1980
|
+
}));
|
|
1729
1981
|
};
|
|
1730
|
-
|
|
1982
|
+
var deserializeAws_json1_1AddApplicationCloudWatchLoggingOptionResponse = function (output, context) {
|
|
1731
1983
|
return {};
|
|
1732
1984
|
};
|
|
1733
|
-
|
|
1985
|
+
var deserializeAws_json1_1AddApplicationInputProcessingConfigurationResponse = function (output, context) {
|
|
1734
1986
|
return {};
|
|
1735
1987
|
};
|
|
1736
|
-
|
|
1988
|
+
var deserializeAws_json1_1AddApplicationInputResponse = function (output, context) {
|
|
1737
1989
|
return {};
|
|
1738
1990
|
};
|
|
1739
|
-
|
|
1991
|
+
var deserializeAws_json1_1AddApplicationOutputResponse = function (output, context) {
|
|
1740
1992
|
return {};
|
|
1741
1993
|
};
|
|
1742
|
-
|
|
1994
|
+
var deserializeAws_json1_1AddApplicationReferenceDataSourceResponse = function (output, context) {
|
|
1743
1995
|
return {};
|
|
1744
1996
|
};
|
|
1745
|
-
|
|
1997
|
+
var deserializeAws_json1_1ApplicationDetail = function (output, context) {
|
|
1746
1998
|
return {
|
|
1747
1999
|
ApplicationARN: __expectString(output.ApplicationARN),
|
|
1748
2000
|
ApplicationCode: __expectString(output.ApplicationCode),
|
|
@@ -1770,10 +2022,10 @@ const deserializeAws_json1_1ApplicationDetail = (output, context) => {
|
|
|
1770
2022
|
: undefined,
|
|
1771
2023
|
};
|
|
1772
2024
|
};
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
.filter((e)
|
|
1776
|
-
.map((entry)
|
|
2025
|
+
var deserializeAws_json1_1ApplicationSummaries = function (output, context) {
|
|
2026
|
+
var retVal = (output || [])
|
|
2027
|
+
.filter(function (e) { return e != null; })
|
|
2028
|
+
.map(function (entry) {
|
|
1777
2029
|
if (entry === null) {
|
|
1778
2030
|
return null;
|
|
1779
2031
|
}
|
|
@@ -1781,24 +2033,24 @@ const deserializeAws_json1_1ApplicationSummaries = (output, context) => {
|
|
|
1781
2033
|
});
|
|
1782
2034
|
return retVal;
|
|
1783
2035
|
};
|
|
1784
|
-
|
|
2036
|
+
var deserializeAws_json1_1ApplicationSummary = function (output, context) {
|
|
1785
2037
|
return {
|
|
1786
2038
|
ApplicationARN: __expectString(output.ApplicationARN),
|
|
1787
2039
|
ApplicationName: __expectString(output.ApplicationName),
|
|
1788
2040
|
ApplicationStatus: __expectString(output.ApplicationStatus),
|
|
1789
2041
|
};
|
|
1790
2042
|
};
|
|
1791
|
-
|
|
2043
|
+
var deserializeAws_json1_1CloudWatchLoggingOptionDescription = function (output, context) {
|
|
1792
2044
|
return {
|
|
1793
2045
|
CloudWatchLoggingOptionId: __expectString(output.CloudWatchLoggingOptionId),
|
|
1794
2046
|
LogStreamARN: __expectString(output.LogStreamARN),
|
|
1795
2047
|
RoleARN: __expectString(output.RoleARN),
|
|
1796
2048
|
};
|
|
1797
2049
|
};
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
.filter((e)
|
|
1801
|
-
.map((entry)
|
|
2050
|
+
var deserializeAws_json1_1CloudWatchLoggingOptionDescriptions = function (output, context) {
|
|
2051
|
+
var retVal = (output || [])
|
|
2052
|
+
.filter(function (e) { return e != null; })
|
|
2053
|
+
.map(function (entry) {
|
|
1802
2054
|
if (entry === null) {
|
|
1803
2055
|
return null;
|
|
1804
2056
|
}
|
|
@@ -1806,57 +2058,57 @@ const deserializeAws_json1_1CloudWatchLoggingOptionDescriptions = (output, conte
|
|
|
1806
2058
|
});
|
|
1807
2059
|
return retVal;
|
|
1808
2060
|
};
|
|
1809
|
-
|
|
2061
|
+
var deserializeAws_json1_1CodeValidationException = function (output, context) {
|
|
1810
2062
|
return {
|
|
1811
2063
|
message: __expectString(output.message),
|
|
1812
2064
|
};
|
|
1813
2065
|
};
|
|
1814
|
-
|
|
2066
|
+
var deserializeAws_json1_1ConcurrentModificationException = function (output, context) {
|
|
1815
2067
|
return {
|
|
1816
2068
|
message: __expectString(output.message),
|
|
1817
2069
|
};
|
|
1818
2070
|
};
|
|
1819
|
-
|
|
2071
|
+
var deserializeAws_json1_1CreateApplicationResponse = function (output, context) {
|
|
1820
2072
|
return {
|
|
1821
2073
|
ApplicationSummary: output.ApplicationSummary != null
|
|
1822
2074
|
? deserializeAws_json1_1ApplicationSummary(output.ApplicationSummary, context)
|
|
1823
2075
|
: undefined,
|
|
1824
2076
|
};
|
|
1825
2077
|
};
|
|
1826
|
-
|
|
2078
|
+
var deserializeAws_json1_1CSVMappingParameters = function (output, context) {
|
|
1827
2079
|
return {
|
|
1828
2080
|
RecordColumnDelimiter: __expectString(output.RecordColumnDelimiter),
|
|
1829
2081
|
RecordRowDelimiter: __expectString(output.RecordRowDelimiter),
|
|
1830
2082
|
};
|
|
1831
2083
|
};
|
|
1832
|
-
|
|
2084
|
+
var deserializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionResponse = function (output, context) {
|
|
1833
2085
|
return {};
|
|
1834
2086
|
};
|
|
1835
|
-
|
|
2087
|
+
var deserializeAws_json1_1DeleteApplicationInputProcessingConfigurationResponse = function (output, context) {
|
|
1836
2088
|
return {};
|
|
1837
2089
|
};
|
|
1838
|
-
|
|
2090
|
+
var deserializeAws_json1_1DeleteApplicationOutputResponse = function (output, context) {
|
|
1839
2091
|
return {};
|
|
1840
2092
|
};
|
|
1841
|
-
|
|
2093
|
+
var deserializeAws_json1_1DeleteApplicationReferenceDataSourceResponse = function (output, context) {
|
|
1842
2094
|
return {};
|
|
1843
2095
|
};
|
|
1844
|
-
|
|
2096
|
+
var deserializeAws_json1_1DeleteApplicationResponse = function (output, context) {
|
|
1845
2097
|
return {};
|
|
1846
2098
|
};
|
|
1847
|
-
|
|
2099
|
+
var deserializeAws_json1_1DescribeApplicationResponse = function (output, context) {
|
|
1848
2100
|
return {
|
|
1849
2101
|
ApplicationDetail: output.ApplicationDetail != null
|
|
1850
2102
|
? deserializeAws_json1_1ApplicationDetail(output.ApplicationDetail, context)
|
|
1851
2103
|
: undefined,
|
|
1852
2104
|
};
|
|
1853
2105
|
};
|
|
1854
|
-
|
|
2106
|
+
var deserializeAws_json1_1DestinationSchema = function (output, context) {
|
|
1855
2107
|
return {
|
|
1856
2108
|
RecordFormatType: __expectString(output.RecordFormatType),
|
|
1857
2109
|
};
|
|
1858
2110
|
};
|
|
1859
|
-
|
|
2111
|
+
var deserializeAws_json1_1DiscoverInputSchemaResponse = function (output, context) {
|
|
1860
2112
|
return {
|
|
1861
2113
|
InputSchema: output.InputSchema != null ? deserializeAws_json1_1SourceSchema(output.InputSchema, context) : undefined,
|
|
1862
2114
|
ParsedInputRecords: output.ParsedInputRecords != null
|
|
@@ -1870,10 +2122,10 @@ const deserializeAws_json1_1DiscoverInputSchemaResponse = (output, context) => {
|
|
|
1870
2122
|
: undefined,
|
|
1871
2123
|
};
|
|
1872
2124
|
};
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
.filter((e)
|
|
1876
|
-
.map((entry)
|
|
2125
|
+
var deserializeAws_json1_1InAppStreamNames = function (output, context) {
|
|
2126
|
+
var retVal = (output || [])
|
|
2127
|
+
.filter(function (e) { return e != null; })
|
|
2128
|
+
.map(function (entry) {
|
|
1877
2129
|
if (entry === null) {
|
|
1878
2130
|
return null;
|
|
1879
2131
|
}
|
|
@@ -1881,7 +2133,7 @@ const deserializeAws_json1_1InAppStreamNames = (output, context) => {
|
|
|
1881
2133
|
});
|
|
1882
2134
|
return retVal;
|
|
1883
2135
|
};
|
|
1884
|
-
|
|
2136
|
+
var deserializeAws_json1_1InputDescription = function (output, context) {
|
|
1885
2137
|
return {
|
|
1886
2138
|
InAppStreamNames: output.InAppStreamNames != null
|
|
1887
2139
|
? deserializeAws_json1_1InAppStreamNames(output.InAppStreamNames, context)
|
|
@@ -1906,10 +2158,10 @@ const deserializeAws_json1_1InputDescription = (output, context) => {
|
|
|
1906
2158
|
NamePrefix: __expectString(output.NamePrefix),
|
|
1907
2159
|
};
|
|
1908
2160
|
};
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
.filter((e)
|
|
1912
|
-
.map((entry)
|
|
2161
|
+
var deserializeAws_json1_1InputDescriptions = function (output, context) {
|
|
2162
|
+
var retVal = (output || [])
|
|
2163
|
+
.filter(function (e) { return e != null; })
|
|
2164
|
+
.map(function (entry) {
|
|
1913
2165
|
if (entry === null) {
|
|
1914
2166
|
return null;
|
|
1915
2167
|
}
|
|
@@ -1917,80 +2169,80 @@ const deserializeAws_json1_1InputDescriptions = (output, context) => {
|
|
|
1917
2169
|
});
|
|
1918
2170
|
return retVal;
|
|
1919
2171
|
};
|
|
1920
|
-
|
|
2172
|
+
var deserializeAws_json1_1InputLambdaProcessorDescription = function (output, context) {
|
|
1921
2173
|
return {
|
|
1922
2174
|
ResourceARN: __expectString(output.ResourceARN),
|
|
1923
2175
|
RoleARN: __expectString(output.RoleARN),
|
|
1924
2176
|
};
|
|
1925
2177
|
};
|
|
1926
|
-
|
|
2178
|
+
var deserializeAws_json1_1InputParallelism = function (output, context) {
|
|
1927
2179
|
return {
|
|
1928
2180
|
Count: __expectInt32(output.Count),
|
|
1929
2181
|
};
|
|
1930
2182
|
};
|
|
1931
|
-
|
|
2183
|
+
var deserializeAws_json1_1InputProcessingConfigurationDescription = function (output, context) {
|
|
1932
2184
|
return {
|
|
1933
2185
|
InputLambdaProcessorDescription: output.InputLambdaProcessorDescription != null
|
|
1934
2186
|
? deserializeAws_json1_1InputLambdaProcessorDescription(output.InputLambdaProcessorDescription, context)
|
|
1935
2187
|
: undefined,
|
|
1936
2188
|
};
|
|
1937
2189
|
};
|
|
1938
|
-
|
|
2190
|
+
var deserializeAws_json1_1InputStartingPositionConfiguration = function (output, context) {
|
|
1939
2191
|
return {
|
|
1940
2192
|
InputStartingPosition: __expectString(output.InputStartingPosition),
|
|
1941
2193
|
};
|
|
1942
2194
|
};
|
|
1943
|
-
|
|
2195
|
+
var deserializeAws_json1_1InvalidApplicationConfigurationException = function (output, context) {
|
|
1944
2196
|
return {
|
|
1945
2197
|
message: __expectString(output.message),
|
|
1946
2198
|
};
|
|
1947
2199
|
};
|
|
1948
|
-
|
|
2200
|
+
var deserializeAws_json1_1InvalidArgumentException = function (output, context) {
|
|
1949
2201
|
return {
|
|
1950
2202
|
message: __expectString(output.message),
|
|
1951
2203
|
};
|
|
1952
2204
|
};
|
|
1953
|
-
|
|
2205
|
+
var deserializeAws_json1_1JSONMappingParameters = function (output, context) {
|
|
1954
2206
|
return {
|
|
1955
2207
|
RecordRowPath: __expectString(output.RecordRowPath),
|
|
1956
2208
|
};
|
|
1957
2209
|
};
|
|
1958
|
-
|
|
2210
|
+
var deserializeAws_json1_1KinesisFirehoseInputDescription = function (output, context) {
|
|
1959
2211
|
return {
|
|
1960
2212
|
ResourceARN: __expectString(output.ResourceARN),
|
|
1961
2213
|
RoleARN: __expectString(output.RoleARN),
|
|
1962
2214
|
};
|
|
1963
2215
|
};
|
|
1964
|
-
|
|
2216
|
+
var deserializeAws_json1_1KinesisFirehoseOutputDescription = function (output, context) {
|
|
1965
2217
|
return {
|
|
1966
2218
|
ResourceARN: __expectString(output.ResourceARN),
|
|
1967
2219
|
RoleARN: __expectString(output.RoleARN),
|
|
1968
2220
|
};
|
|
1969
2221
|
};
|
|
1970
|
-
|
|
2222
|
+
var deserializeAws_json1_1KinesisStreamsInputDescription = function (output, context) {
|
|
1971
2223
|
return {
|
|
1972
2224
|
ResourceARN: __expectString(output.ResourceARN),
|
|
1973
2225
|
RoleARN: __expectString(output.RoleARN),
|
|
1974
2226
|
};
|
|
1975
2227
|
};
|
|
1976
|
-
|
|
2228
|
+
var deserializeAws_json1_1KinesisStreamsOutputDescription = function (output, context) {
|
|
1977
2229
|
return {
|
|
1978
2230
|
ResourceARN: __expectString(output.ResourceARN),
|
|
1979
2231
|
RoleARN: __expectString(output.RoleARN),
|
|
1980
2232
|
};
|
|
1981
2233
|
};
|
|
1982
|
-
|
|
2234
|
+
var deserializeAws_json1_1LambdaOutputDescription = function (output, context) {
|
|
1983
2235
|
return {
|
|
1984
2236
|
ResourceARN: __expectString(output.ResourceARN),
|
|
1985
2237
|
RoleARN: __expectString(output.RoleARN),
|
|
1986
2238
|
};
|
|
1987
2239
|
};
|
|
1988
|
-
|
|
2240
|
+
var deserializeAws_json1_1LimitExceededException = function (output, context) {
|
|
1989
2241
|
return {
|
|
1990
2242
|
message: __expectString(output.message),
|
|
1991
2243
|
};
|
|
1992
2244
|
};
|
|
1993
|
-
|
|
2245
|
+
var deserializeAws_json1_1ListApplicationsResponse = function (output, context) {
|
|
1994
2246
|
return {
|
|
1995
2247
|
ApplicationSummaries: output.ApplicationSummaries != null
|
|
1996
2248
|
? deserializeAws_json1_1ApplicationSummaries(output.ApplicationSummaries, context)
|
|
@@ -1998,12 +2250,12 @@ const deserializeAws_json1_1ListApplicationsResponse = (output, context) => {
|
|
|
1998
2250
|
HasMoreApplications: __expectBoolean(output.HasMoreApplications),
|
|
1999
2251
|
};
|
|
2000
2252
|
};
|
|
2001
|
-
|
|
2253
|
+
var deserializeAws_json1_1ListTagsForResourceResponse = function (output, context) {
|
|
2002
2254
|
return {
|
|
2003
2255
|
Tags: output.Tags != null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
2004
2256
|
};
|
|
2005
2257
|
};
|
|
2006
|
-
|
|
2258
|
+
var deserializeAws_json1_1MappingParameters = function (output, context) {
|
|
2007
2259
|
return {
|
|
2008
2260
|
CSVMappingParameters: output.CSVMappingParameters != null
|
|
2009
2261
|
? deserializeAws_json1_1CSVMappingParameters(output.CSVMappingParameters, context)
|
|
@@ -2013,7 +2265,7 @@ const deserializeAws_json1_1MappingParameters = (output, context) => {
|
|
|
2013
2265
|
: undefined,
|
|
2014
2266
|
};
|
|
2015
2267
|
};
|
|
2016
|
-
|
|
2268
|
+
var deserializeAws_json1_1OutputDescription = function (output, context) {
|
|
2017
2269
|
return {
|
|
2018
2270
|
DestinationSchema: output.DestinationSchema != null
|
|
2019
2271
|
? deserializeAws_json1_1DestinationSchema(output.DestinationSchema, context)
|
|
@@ -2031,10 +2283,10 @@ const deserializeAws_json1_1OutputDescription = (output, context) => {
|
|
|
2031
2283
|
OutputId: __expectString(output.OutputId),
|
|
2032
2284
|
};
|
|
2033
2285
|
};
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
.filter((e)
|
|
2037
|
-
.map((entry)
|
|
2286
|
+
var deserializeAws_json1_1OutputDescriptions = function (output, context) {
|
|
2287
|
+
var retVal = (output || [])
|
|
2288
|
+
.filter(function (e) { return e != null; })
|
|
2289
|
+
.map(function (entry) {
|
|
2038
2290
|
if (entry === null) {
|
|
2039
2291
|
return null;
|
|
2040
2292
|
}
|
|
@@ -2042,10 +2294,10 @@ const deserializeAws_json1_1OutputDescriptions = (output, context) => {
|
|
|
2042
2294
|
});
|
|
2043
2295
|
return retVal;
|
|
2044
2296
|
};
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
.filter((e)
|
|
2048
|
-
.map((entry)
|
|
2297
|
+
var deserializeAws_json1_1ParsedInputRecord = function (output, context) {
|
|
2298
|
+
var retVal = (output || [])
|
|
2299
|
+
.filter(function (e) { return e != null; })
|
|
2300
|
+
.map(function (entry) {
|
|
2049
2301
|
if (entry === null) {
|
|
2050
2302
|
return null;
|
|
2051
2303
|
}
|
|
@@ -2053,10 +2305,10 @@ const deserializeAws_json1_1ParsedInputRecord = (output, context) => {
|
|
|
2053
2305
|
});
|
|
2054
2306
|
return retVal;
|
|
2055
2307
|
};
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
.filter((e)
|
|
2059
|
-
.map((entry)
|
|
2308
|
+
var deserializeAws_json1_1ParsedInputRecords = function (output, context) {
|
|
2309
|
+
var retVal = (output || [])
|
|
2310
|
+
.filter(function (e) { return e != null; })
|
|
2311
|
+
.map(function (entry) {
|
|
2060
2312
|
if (entry === null) {
|
|
2061
2313
|
return null;
|
|
2062
2314
|
}
|
|
@@ -2064,10 +2316,10 @@ const deserializeAws_json1_1ParsedInputRecords = (output, context) => {
|
|
|
2064
2316
|
});
|
|
2065
2317
|
return retVal;
|
|
2066
2318
|
};
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
.filter((e)
|
|
2070
|
-
.map((entry)
|
|
2319
|
+
var deserializeAws_json1_1ProcessedInputRecords = function (output, context) {
|
|
2320
|
+
var retVal = (output || [])
|
|
2321
|
+
.filter(function (e) { return e != null; })
|
|
2322
|
+
.map(function (entry) {
|
|
2071
2323
|
if (entry === null) {
|
|
2072
2324
|
return null;
|
|
2073
2325
|
}
|
|
@@ -2075,10 +2327,10 @@ const deserializeAws_json1_1ProcessedInputRecords = (output, context) => {
|
|
|
2075
2327
|
});
|
|
2076
2328
|
return retVal;
|
|
2077
2329
|
};
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
.filter((e)
|
|
2081
|
-
.map((entry)
|
|
2330
|
+
var deserializeAws_json1_1RawInputRecords = function (output, context) {
|
|
2331
|
+
var retVal = (output || [])
|
|
2332
|
+
.filter(function (e) { return e != null; })
|
|
2333
|
+
.map(function (entry) {
|
|
2082
2334
|
if (entry === null) {
|
|
2083
2335
|
return null;
|
|
2084
2336
|
}
|
|
@@ -2086,17 +2338,17 @@ const deserializeAws_json1_1RawInputRecords = (output, context) => {
|
|
|
2086
2338
|
});
|
|
2087
2339
|
return retVal;
|
|
2088
2340
|
};
|
|
2089
|
-
|
|
2341
|
+
var deserializeAws_json1_1RecordColumn = function (output, context) {
|
|
2090
2342
|
return {
|
|
2091
2343
|
Mapping: __expectString(output.Mapping),
|
|
2092
2344
|
Name: __expectString(output.Name),
|
|
2093
2345
|
SqlType: __expectString(output.SqlType),
|
|
2094
2346
|
};
|
|
2095
2347
|
};
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
.filter((e)
|
|
2099
|
-
.map((entry)
|
|
2348
|
+
var deserializeAws_json1_1RecordColumns = function (output, context) {
|
|
2349
|
+
var retVal = (output || [])
|
|
2350
|
+
.filter(function (e) { return e != null; })
|
|
2351
|
+
.map(function (entry) {
|
|
2100
2352
|
if (entry === null) {
|
|
2101
2353
|
return null;
|
|
2102
2354
|
}
|
|
@@ -2104,7 +2356,7 @@ const deserializeAws_json1_1RecordColumns = (output, context) => {
|
|
|
2104
2356
|
});
|
|
2105
2357
|
return retVal;
|
|
2106
2358
|
};
|
|
2107
|
-
|
|
2359
|
+
var deserializeAws_json1_1RecordFormat = function (output, context) {
|
|
2108
2360
|
return {
|
|
2109
2361
|
MappingParameters: output.MappingParameters != null
|
|
2110
2362
|
? deserializeAws_json1_1MappingParameters(output.MappingParameters, context)
|
|
@@ -2112,7 +2364,7 @@ const deserializeAws_json1_1RecordFormat = (output, context) => {
|
|
|
2112
2364
|
RecordFormatType: __expectString(output.RecordFormatType),
|
|
2113
2365
|
};
|
|
2114
2366
|
};
|
|
2115
|
-
|
|
2367
|
+
var deserializeAws_json1_1ReferenceDataSourceDescription = function (output, context) {
|
|
2116
2368
|
return {
|
|
2117
2369
|
ReferenceId: __expectString(output.ReferenceId),
|
|
2118
2370
|
ReferenceSchema: output.ReferenceSchema != null ? deserializeAws_json1_1SourceSchema(output.ReferenceSchema, context) : undefined,
|
|
@@ -2122,10 +2374,10 @@ const deserializeAws_json1_1ReferenceDataSourceDescription = (output, context) =
|
|
|
2122
2374
|
TableName: __expectString(output.TableName),
|
|
2123
2375
|
};
|
|
2124
2376
|
};
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
.filter((e)
|
|
2128
|
-
.map((entry)
|
|
2377
|
+
var deserializeAws_json1_1ReferenceDataSourceDescriptions = function (output, context) {
|
|
2378
|
+
var retVal = (output || [])
|
|
2379
|
+
.filter(function (e) { return e != null; })
|
|
2380
|
+
.map(function (entry) {
|
|
2129
2381
|
if (entry === null) {
|
|
2130
2382
|
return null;
|
|
2131
2383
|
}
|
|
@@ -2133,59 +2385,59 @@ const deserializeAws_json1_1ReferenceDataSourceDescriptions = (output, context)
|
|
|
2133
2385
|
});
|
|
2134
2386
|
return retVal;
|
|
2135
2387
|
};
|
|
2136
|
-
|
|
2388
|
+
var deserializeAws_json1_1ResourceInUseException = function (output, context) {
|
|
2137
2389
|
return {
|
|
2138
2390
|
message: __expectString(output.message),
|
|
2139
2391
|
};
|
|
2140
2392
|
};
|
|
2141
|
-
|
|
2393
|
+
var deserializeAws_json1_1ResourceNotFoundException = function (output, context) {
|
|
2142
2394
|
return {
|
|
2143
2395
|
message: __expectString(output.message),
|
|
2144
2396
|
};
|
|
2145
2397
|
};
|
|
2146
|
-
|
|
2398
|
+
var deserializeAws_json1_1ResourceProvisionedThroughputExceededException = function (output, context) {
|
|
2147
2399
|
return {
|
|
2148
2400
|
message: __expectString(output.message),
|
|
2149
2401
|
};
|
|
2150
2402
|
};
|
|
2151
|
-
|
|
2403
|
+
var deserializeAws_json1_1S3ReferenceDataSourceDescription = function (output, context) {
|
|
2152
2404
|
return {
|
|
2153
2405
|
BucketARN: __expectString(output.BucketARN),
|
|
2154
2406
|
FileKey: __expectString(output.FileKey),
|
|
2155
2407
|
ReferenceRoleARN: __expectString(output.ReferenceRoleARN),
|
|
2156
2408
|
};
|
|
2157
2409
|
};
|
|
2158
|
-
|
|
2410
|
+
var deserializeAws_json1_1ServiceUnavailableException = function (output, context) {
|
|
2159
2411
|
return {
|
|
2160
2412
|
message: __expectString(output.message),
|
|
2161
2413
|
};
|
|
2162
2414
|
};
|
|
2163
|
-
|
|
2415
|
+
var deserializeAws_json1_1SourceSchema = function (output, context) {
|
|
2164
2416
|
return {
|
|
2165
2417
|
RecordColumns: output.RecordColumns != null ? deserializeAws_json1_1RecordColumns(output.RecordColumns, context) : undefined,
|
|
2166
2418
|
RecordEncoding: __expectString(output.RecordEncoding),
|
|
2167
2419
|
RecordFormat: output.RecordFormat != null ? deserializeAws_json1_1RecordFormat(output.RecordFormat, context) : undefined,
|
|
2168
2420
|
};
|
|
2169
2421
|
};
|
|
2170
|
-
|
|
2422
|
+
var deserializeAws_json1_1StartApplicationResponse = function (output, context) {
|
|
2171
2423
|
return {};
|
|
2172
2424
|
};
|
|
2173
|
-
|
|
2425
|
+
var deserializeAws_json1_1StopApplicationResponse = function (output, context) {
|
|
2174
2426
|
return {};
|
|
2175
2427
|
};
|
|
2176
|
-
|
|
2428
|
+
var deserializeAws_json1_1Tag = function (output, context) {
|
|
2177
2429
|
return {
|
|
2178
2430
|
Key: __expectString(output.Key),
|
|
2179
2431
|
Value: __expectString(output.Value),
|
|
2180
2432
|
};
|
|
2181
2433
|
};
|
|
2182
|
-
|
|
2434
|
+
var deserializeAws_json1_1TagResourceResponse = function (output, context) {
|
|
2183
2435
|
return {};
|
|
2184
2436
|
};
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
.filter((e)
|
|
2188
|
-
.map((entry)
|
|
2437
|
+
var deserializeAws_json1_1Tags = function (output, context) {
|
|
2438
|
+
var retVal = (output || [])
|
|
2439
|
+
.filter(function (e) { return e != null; })
|
|
2440
|
+
.map(function (entry) {
|
|
2189
2441
|
if (entry === null) {
|
|
2190
2442
|
return null;
|
|
2191
2443
|
}
|
|
@@ -2193,12 +2445,12 @@ const deserializeAws_json1_1Tags = (output, context) => {
|
|
|
2193
2445
|
});
|
|
2194
2446
|
return retVal;
|
|
2195
2447
|
};
|
|
2196
|
-
|
|
2448
|
+
var deserializeAws_json1_1TooManyTagsException = function (output, context) {
|
|
2197
2449
|
return {
|
|
2198
2450
|
message: __expectString(output.message),
|
|
2199
2451
|
};
|
|
2200
2452
|
};
|
|
2201
|
-
|
|
2453
|
+
var deserializeAws_json1_1UnableToDetectSchemaException = function (output, context) {
|
|
2202
2454
|
return {
|
|
2203
2455
|
ProcessedInputRecords: output.ProcessedInputRecords != null
|
|
2204
2456
|
? deserializeAws_json1_1ProcessedInputRecords(output.ProcessedInputRecords, context)
|
|
@@ -2209,63 +2461,86 @@ const deserializeAws_json1_1UnableToDetectSchemaException = (output, context) =>
|
|
|
2209
2461
|
message: __expectString(output.message),
|
|
2210
2462
|
};
|
|
2211
2463
|
};
|
|
2212
|
-
|
|
2464
|
+
var deserializeAws_json1_1UnsupportedOperationException = function (output, context) {
|
|
2213
2465
|
return {
|
|
2214
2466
|
message: __expectString(output.message),
|
|
2215
2467
|
};
|
|
2216
2468
|
};
|
|
2217
|
-
|
|
2469
|
+
var deserializeAws_json1_1UntagResourceResponse = function (output, context) {
|
|
2218
2470
|
return {};
|
|
2219
2471
|
};
|
|
2220
|
-
|
|
2472
|
+
var deserializeAws_json1_1UpdateApplicationResponse = function (output, context) {
|
|
2221
2473
|
return {};
|
|
2222
2474
|
};
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2475
|
+
var deserializeMetadata = function (output) {
|
|
2476
|
+
var _a, _b;
|
|
2477
|
+
return ({
|
|
2478
|
+
httpStatusCode: output.statusCode,
|
|
2479
|
+
requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
|
|
2480
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2481
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
2482
|
+
});
|
|
2483
|
+
};
|
|
2484
|
+
var collectBody = function (streamBody, context) {
|
|
2485
|
+
if (streamBody === void 0) { streamBody = new Uint8Array(); }
|
|
2230
2486
|
if (streamBody instanceof Uint8Array) {
|
|
2231
2487
|
return Promise.resolve(streamBody);
|
|
2232
2488
|
}
|
|
2233
2489
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
2234
2490
|
};
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2491
|
+
var collectBodyString = function (streamBody, context) {
|
|
2492
|
+
return collectBody(streamBody, context).then(function (body) { return context.utf8Encoder(body); });
|
|
2493
|
+
};
|
|
2494
|
+
var buildHttpRpcRequest = function (context, headers, path, resolvedHostname, body) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2495
|
+
var _a, hostname, _b, protocol, port, basePath, contents;
|
|
2496
|
+
return __generator(this, function (_c) {
|
|
2497
|
+
switch (_c.label) {
|
|
2498
|
+
case 0: return [4, context.endpoint()];
|
|
2499
|
+
case 1:
|
|
2500
|
+
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2501
|
+
contents = {
|
|
2502
|
+
protocol: protocol,
|
|
2503
|
+
hostname: hostname,
|
|
2504
|
+
port: port,
|
|
2505
|
+
method: "POST",
|
|
2506
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
2507
|
+
headers: headers,
|
|
2508
|
+
};
|
|
2509
|
+
if (resolvedHostname !== undefined) {
|
|
2510
|
+
contents.hostname = resolvedHostname;
|
|
2511
|
+
}
|
|
2512
|
+
if (body !== undefined) {
|
|
2513
|
+
contents.body = body;
|
|
2514
|
+
}
|
|
2515
|
+
return [2, new __HttpRequest(contents)];
|
|
2516
|
+
}
|
|
2517
|
+
});
|
|
2518
|
+
}); };
|
|
2519
|
+
var parseBody = function (streamBody, context) {
|
|
2520
|
+
return collectBodyString(streamBody, context).then(function (encoded) {
|
|
2521
|
+
if (encoded.length) {
|
|
2522
|
+
return JSON.parse(encoded);
|
|
2523
|
+
}
|
|
2524
|
+
return {};
|
|
2525
|
+
});
|
|
2253
2526
|
};
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
}
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2527
|
+
var parseErrorBody = function (errorBody, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2528
|
+
var value;
|
|
2529
|
+
var _a;
|
|
2530
|
+
return __generator(this, function (_b) {
|
|
2531
|
+
switch (_b.label) {
|
|
2532
|
+
case 0: return [4, parseBody(errorBody, context)];
|
|
2533
|
+
case 1:
|
|
2534
|
+
value = _b.sent();
|
|
2535
|
+
value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
|
|
2536
|
+
return [2, value];
|
|
2537
|
+
}
|
|
2538
|
+
});
|
|
2539
|
+
}); };
|
|
2540
|
+
var loadRestJsonErrorCode = function (output, data) {
|
|
2541
|
+
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
2542
|
+
var sanitizeErrorCode = function (rawValue) {
|
|
2543
|
+
var cleanValue = rawValue;
|
|
2269
2544
|
if (typeof cleanValue === "number") {
|
|
2270
2545
|
cleanValue = cleanValue.toString();
|
|
2271
2546
|
}
|
|
@@ -2280,7 +2555,7 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
2280
2555
|
}
|
|
2281
2556
|
return cleanValue;
|
|
2282
2557
|
};
|
|
2283
|
-
|
|
2558
|
+
var headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
2284
2559
|
if (headerKey !== undefined) {
|
|
2285
2560
|
return sanitizeErrorCode(output.headers[headerKey]);
|
|
2286
2561
|
}
|