@aws-sdk/client-kinesis-analytics 3.137.0 → 3.145.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 +30 -0
- package/README.md +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +102 -198
- package/dist-es/protocols/Aws_json1_1.js +161 -199
- package/package.json +11 -6
|
@@ -224,7 +224,6 @@ const deserializeAws_json1_1AddApplicationCloudWatchLoggingOptionCommandError =
|
|
|
224
224
|
...output,
|
|
225
225
|
body: await parseBody(output.body, context),
|
|
226
226
|
};
|
|
227
|
-
let response;
|
|
228
227
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
229
228
|
switch (errorCode) {
|
|
230
229
|
case "ConcurrentModificationException":
|
|
@@ -244,14 +243,12 @@ const deserializeAws_json1_1AddApplicationCloudWatchLoggingOptionCommandError =
|
|
|
244
243
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
245
244
|
default:
|
|
246
245
|
const parsedBody = parsedOutput.body;
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
$metadata,
|
|
246
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
247
|
+
output,
|
|
248
|
+
parsedBody,
|
|
249
|
+
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
250
|
+
errorCode,
|
|
253
251
|
});
|
|
254
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
255
252
|
}
|
|
256
253
|
};
|
|
257
254
|
const deserializeAws_json1_1AddApplicationInputCommand = async (output, context) => {
|
|
@@ -273,7 +270,6 @@ const deserializeAws_json1_1AddApplicationInputCommandError = async (output, con
|
|
|
273
270
|
...output,
|
|
274
271
|
body: await parseBody(output.body, context),
|
|
275
272
|
};
|
|
276
|
-
let response;
|
|
277
273
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
278
274
|
switch (errorCode) {
|
|
279
275
|
case "CodeValidationException":
|
|
@@ -296,14 +292,12 @@ const deserializeAws_json1_1AddApplicationInputCommandError = async (output, con
|
|
|
296
292
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
297
293
|
default:
|
|
298
294
|
const parsedBody = parsedOutput.body;
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
$metadata,
|
|
295
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
296
|
+
output,
|
|
297
|
+
parsedBody,
|
|
298
|
+
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
299
|
+
errorCode,
|
|
305
300
|
});
|
|
306
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
307
301
|
}
|
|
308
302
|
};
|
|
309
303
|
const deserializeAws_json1_1AddApplicationInputProcessingConfigurationCommand = async (output, context) => {
|
|
@@ -325,7 +319,6 @@ const deserializeAws_json1_1AddApplicationInputProcessingConfigurationCommandErr
|
|
|
325
319
|
...output,
|
|
326
320
|
body: await parseBody(output.body, context),
|
|
327
321
|
};
|
|
328
|
-
let response;
|
|
329
322
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
330
323
|
switch (errorCode) {
|
|
331
324
|
case "ConcurrentModificationException":
|
|
@@ -345,14 +338,12 @@ const deserializeAws_json1_1AddApplicationInputProcessingConfigurationCommandErr
|
|
|
345
338
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
346
339
|
default:
|
|
347
340
|
const parsedBody = parsedOutput.body;
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
$metadata,
|
|
341
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
342
|
+
output,
|
|
343
|
+
parsedBody,
|
|
344
|
+
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
345
|
+
errorCode,
|
|
354
346
|
});
|
|
355
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
356
347
|
}
|
|
357
348
|
};
|
|
358
349
|
const deserializeAws_json1_1AddApplicationOutputCommand = async (output, context) => {
|
|
@@ -374,7 +365,6 @@ const deserializeAws_json1_1AddApplicationOutputCommandError = async (output, co
|
|
|
374
365
|
...output,
|
|
375
366
|
body: await parseBody(output.body, context),
|
|
376
367
|
};
|
|
377
|
-
let response;
|
|
378
368
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
379
369
|
switch (errorCode) {
|
|
380
370
|
case "ConcurrentModificationException":
|
|
@@ -394,14 +384,12 @@ const deserializeAws_json1_1AddApplicationOutputCommandError = async (output, co
|
|
|
394
384
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
395
385
|
default:
|
|
396
386
|
const parsedBody = parsedOutput.body;
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
$metadata,
|
|
387
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
388
|
+
output,
|
|
389
|
+
parsedBody,
|
|
390
|
+
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
391
|
+
errorCode,
|
|
403
392
|
});
|
|
404
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
405
393
|
}
|
|
406
394
|
};
|
|
407
395
|
const deserializeAws_json1_1AddApplicationReferenceDataSourceCommand = async (output, context) => {
|
|
@@ -423,7 +411,6 @@ const deserializeAws_json1_1AddApplicationReferenceDataSourceCommandError = asyn
|
|
|
423
411
|
...output,
|
|
424
412
|
body: await parseBody(output.body, context),
|
|
425
413
|
};
|
|
426
|
-
let response;
|
|
427
414
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
428
415
|
switch (errorCode) {
|
|
429
416
|
case "ConcurrentModificationException":
|
|
@@ -443,14 +430,12 @@ const deserializeAws_json1_1AddApplicationReferenceDataSourceCommandError = asyn
|
|
|
443
430
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
444
431
|
default:
|
|
445
432
|
const parsedBody = parsedOutput.body;
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
$metadata,
|
|
433
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
434
|
+
output,
|
|
435
|
+
parsedBody,
|
|
436
|
+
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
437
|
+
errorCode,
|
|
452
438
|
});
|
|
453
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
454
439
|
}
|
|
455
440
|
};
|
|
456
441
|
const deserializeAws_json1_1CreateApplicationCommand = async (output, context) => {
|
|
@@ -472,7 +457,6 @@ const deserializeAws_json1_1CreateApplicationCommandError = async (output, conte
|
|
|
472
457
|
...output,
|
|
473
458
|
body: await parseBody(output.body, context),
|
|
474
459
|
};
|
|
475
|
-
let response;
|
|
476
460
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
477
461
|
switch (errorCode) {
|
|
478
462
|
case "CodeValidationException":
|
|
@@ -495,14 +479,12 @@ const deserializeAws_json1_1CreateApplicationCommandError = async (output, conte
|
|
|
495
479
|
throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
|
|
496
480
|
default:
|
|
497
481
|
const parsedBody = parsedOutput.body;
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
$metadata,
|
|
482
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
483
|
+
output,
|
|
484
|
+
parsedBody,
|
|
485
|
+
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
486
|
+
errorCode,
|
|
504
487
|
});
|
|
505
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
506
488
|
}
|
|
507
489
|
};
|
|
508
490
|
const deserializeAws_json1_1DeleteApplicationCommand = async (output, context) => {
|
|
@@ -524,7 +506,6 @@ const deserializeAws_json1_1DeleteApplicationCommandError = async (output, conte
|
|
|
524
506
|
...output,
|
|
525
507
|
body: await parseBody(output.body, context),
|
|
526
508
|
};
|
|
527
|
-
let response;
|
|
528
509
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
529
510
|
switch (errorCode) {
|
|
530
511
|
case "ConcurrentModificationException":
|
|
@@ -541,14 +522,12 @@ const deserializeAws_json1_1DeleteApplicationCommandError = async (output, conte
|
|
|
541
522
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
542
523
|
default:
|
|
543
524
|
const parsedBody = parsedOutput.body;
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
$metadata,
|
|
525
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
526
|
+
output,
|
|
527
|
+
parsedBody,
|
|
528
|
+
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
529
|
+
errorCode,
|
|
550
530
|
});
|
|
551
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
552
531
|
}
|
|
553
532
|
};
|
|
554
533
|
const deserializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionCommand = async (output, context) => {
|
|
@@ -570,7 +549,6 @@ const deserializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionCommandError
|
|
|
570
549
|
...output,
|
|
571
550
|
body: await parseBody(output.body, context),
|
|
572
551
|
};
|
|
573
|
-
let response;
|
|
574
552
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
575
553
|
switch (errorCode) {
|
|
576
554
|
case "ConcurrentModificationException":
|
|
@@ -590,14 +568,12 @@ const deserializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionCommandError
|
|
|
590
568
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
591
569
|
default:
|
|
592
570
|
const parsedBody = parsedOutput.body;
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
$metadata,
|
|
571
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
572
|
+
output,
|
|
573
|
+
parsedBody,
|
|
574
|
+
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
575
|
+
errorCode,
|
|
599
576
|
});
|
|
600
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
601
577
|
}
|
|
602
578
|
};
|
|
603
579
|
const deserializeAws_json1_1DeleteApplicationInputProcessingConfigurationCommand = async (output, context) => {
|
|
@@ -619,7 +595,6 @@ const deserializeAws_json1_1DeleteApplicationInputProcessingConfigurationCommand
|
|
|
619
595
|
...output,
|
|
620
596
|
body: await parseBody(output.body, context),
|
|
621
597
|
};
|
|
622
|
-
let response;
|
|
623
598
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
624
599
|
switch (errorCode) {
|
|
625
600
|
case "ConcurrentModificationException":
|
|
@@ -639,14 +614,12 @@ const deserializeAws_json1_1DeleteApplicationInputProcessingConfigurationCommand
|
|
|
639
614
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
640
615
|
default:
|
|
641
616
|
const parsedBody = parsedOutput.body;
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
$metadata,
|
|
617
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
618
|
+
output,
|
|
619
|
+
parsedBody,
|
|
620
|
+
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
621
|
+
errorCode,
|
|
648
622
|
});
|
|
649
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
650
623
|
}
|
|
651
624
|
};
|
|
652
625
|
const deserializeAws_json1_1DeleteApplicationOutputCommand = async (output, context) => {
|
|
@@ -668,7 +641,6 @@ const deserializeAws_json1_1DeleteApplicationOutputCommandError = async (output,
|
|
|
668
641
|
...output,
|
|
669
642
|
body: await parseBody(output.body, context),
|
|
670
643
|
};
|
|
671
|
-
let response;
|
|
672
644
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
673
645
|
switch (errorCode) {
|
|
674
646
|
case "ConcurrentModificationException":
|
|
@@ -688,14 +660,12 @@ const deserializeAws_json1_1DeleteApplicationOutputCommandError = async (output,
|
|
|
688
660
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
689
661
|
default:
|
|
690
662
|
const parsedBody = parsedOutput.body;
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
$metadata,
|
|
663
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
664
|
+
output,
|
|
665
|
+
parsedBody,
|
|
666
|
+
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
667
|
+
errorCode,
|
|
697
668
|
});
|
|
698
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
699
669
|
}
|
|
700
670
|
};
|
|
701
671
|
const deserializeAws_json1_1DeleteApplicationReferenceDataSourceCommand = async (output, context) => {
|
|
@@ -717,7 +687,6 @@ const deserializeAws_json1_1DeleteApplicationReferenceDataSourceCommandError = a
|
|
|
717
687
|
...output,
|
|
718
688
|
body: await parseBody(output.body, context),
|
|
719
689
|
};
|
|
720
|
-
let response;
|
|
721
690
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
722
691
|
switch (errorCode) {
|
|
723
692
|
case "ConcurrentModificationException":
|
|
@@ -737,14 +706,12 @@ const deserializeAws_json1_1DeleteApplicationReferenceDataSourceCommandError = a
|
|
|
737
706
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
738
707
|
default:
|
|
739
708
|
const parsedBody = parsedOutput.body;
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
$metadata,
|
|
709
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
710
|
+
output,
|
|
711
|
+
parsedBody,
|
|
712
|
+
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
713
|
+
errorCode,
|
|
746
714
|
});
|
|
747
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
748
715
|
}
|
|
749
716
|
};
|
|
750
717
|
const deserializeAws_json1_1DescribeApplicationCommand = async (output, context) => {
|
|
@@ -766,7 +733,6 @@ const deserializeAws_json1_1DescribeApplicationCommandError = async (output, con
|
|
|
766
733
|
...output,
|
|
767
734
|
body: await parseBody(output.body, context),
|
|
768
735
|
};
|
|
769
|
-
let response;
|
|
770
736
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
771
737
|
switch (errorCode) {
|
|
772
738
|
case "ResourceNotFoundException":
|
|
@@ -777,14 +743,12 @@ const deserializeAws_json1_1DescribeApplicationCommandError = async (output, con
|
|
|
777
743
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
778
744
|
default:
|
|
779
745
|
const parsedBody = parsedOutput.body;
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
$metadata,
|
|
746
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
747
|
+
output,
|
|
748
|
+
parsedBody,
|
|
749
|
+
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
750
|
+
errorCode,
|
|
786
751
|
});
|
|
787
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
788
752
|
}
|
|
789
753
|
};
|
|
790
754
|
const deserializeAws_json1_1DiscoverInputSchemaCommand = async (output, context) => {
|
|
@@ -806,7 +770,6 @@ const deserializeAws_json1_1DiscoverInputSchemaCommandError = async (output, con
|
|
|
806
770
|
...output,
|
|
807
771
|
body: await parseBody(output.body, context),
|
|
808
772
|
};
|
|
809
|
-
let response;
|
|
810
773
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
811
774
|
switch (errorCode) {
|
|
812
775
|
case "InvalidArgumentException":
|
|
@@ -823,14 +786,12 @@ const deserializeAws_json1_1DiscoverInputSchemaCommandError = async (output, con
|
|
|
823
786
|
throw await deserializeAws_json1_1UnableToDetectSchemaExceptionResponse(parsedOutput, context);
|
|
824
787
|
default:
|
|
825
788
|
const parsedBody = parsedOutput.body;
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
$metadata,
|
|
789
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
790
|
+
output,
|
|
791
|
+
parsedBody,
|
|
792
|
+
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
793
|
+
errorCode,
|
|
832
794
|
});
|
|
833
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
834
795
|
}
|
|
835
796
|
};
|
|
836
797
|
const deserializeAws_json1_1ListApplicationsCommand = async (output, context) => {
|
|
@@ -852,20 +813,14 @@ const deserializeAws_json1_1ListApplicationsCommandError = async (output, contex
|
|
|
852
813
|
...output,
|
|
853
814
|
body: await parseBody(output.body, context),
|
|
854
815
|
};
|
|
855
|
-
let response;
|
|
856
816
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
$fault: "client",
|
|
865
|
-
$metadata,
|
|
866
|
-
});
|
|
867
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
868
|
-
}
|
|
817
|
+
const parsedBody = parsedOutput.body;
|
|
818
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
819
|
+
output,
|
|
820
|
+
parsedBody,
|
|
821
|
+
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
822
|
+
errorCode,
|
|
823
|
+
});
|
|
869
824
|
};
|
|
870
825
|
const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
|
|
871
826
|
if (output.statusCode >= 300) {
|
|
@@ -886,7 +841,6 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
886
841
|
...output,
|
|
887
842
|
body: await parseBody(output.body, context),
|
|
888
843
|
};
|
|
889
|
-
let response;
|
|
890
844
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
891
845
|
switch (errorCode) {
|
|
892
846
|
case "ConcurrentModificationException":
|
|
@@ -900,14 +854,12 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
900
854
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
901
855
|
default:
|
|
902
856
|
const parsedBody = parsedOutput.body;
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
$metadata,
|
|
857
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
858
|
+
output,
|
|
859
|
+
parsedBody,
|
|
860
|
+
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
861
|
+
errorCode,
|
|
909
862
|
});
|
|
910
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
911
863
|
}
|
|
912
864
|
};
|
|
913
865
|
const deserializeAws_json1_1StartApplicationCommand = async (output, context) => {
|
|
@@ -929,7 +881,6 @@ const deserializeAws_json1_1StartApplicationCommandError = async (output, contex
|
|
|
929
881
|
...output,
|
|
930
882
|
body: await parseBody(output.body, context),
|
|
931
883
|
};
|
|
932
|
-
let response;
|
|
933
884
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
934
885
|
switch (errorCode) {
|
|
935
886
|
case "InvalidApplicationConfigurationException":
|
|
@@ -949,14 +900,12 @@ const deserializeAws_json1_1StartApplicationCommandError = async (output, contex
|
|
|
949
900
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
950
901
|
default:
|
|
951
902
|
const parsedBody = parsedOutput.body;
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
$metadata,
|
|
903
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
904
|
+
output,
|
|
905
|
+
parsedBody,
|
|
906
|
+
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
907
|
+
errorCode,
|
|
958
908
|
});
|
|
959
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
960
909
|
}
|
|
961
910
|
};
|
|
962
911
|
const deserializeAws_json1_1StopApplicationCommand = async (output, context) => {
|
|
@@ -978,7 +927,6 @@ const deserializeAws_json1_1StopApplicationCommandError = async (output, context
|
|
|
978
927
|
...output,
|
|
979
928
|
body: await parseBody(output.body, context),
|
|
980
929
|
};
|
|
981
|
-
let response;
|
|
982
930
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
983
931
|
switch (errorCode) {
|
|
984
932
|
case "ResourceInUseException":
|
|
@@ -992,14 +940,12 @@ const deserializeAws_json1_1StopApplicationCommandError = async (output, context
|
|
|
992
940
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
993
941
|
default:
|
|
994
942
|
const parsedBody = parsedOutput.body;
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
$metadata,
|
|
943
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
944
|
+
output,
|
|
945
|
+
parsedBody,
|
|
946
|
+
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
947
|
+
errorCode,
|
|
1001
948
|
});
|
|
1002
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1003
949
|
}
|
|
1004
950
|
};
|
|
1005
951
|
const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
|
|
@@ -1021,7 +967,6 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1021
967
|
...output,
|
|
1022
968
|
body: await parseBody(output.body, context),
|
|
1023
969
|
};
|
|
1024
|
-
let response;
|
|
1025
970
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1026
971
|
switch (errorCode) {
|
|
1027
972
|
case "ConcurrentModificationException":
|
|
@@ -1041,14 +986,12 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1041
986
|
throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
|
|
1042
987
|
default:
|
|
1043
988
|
const parsedBody = parsedOutput.body;
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
$metadata,
|
|
989
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
990
|
+
output,
|
|
991
|
+
parsedBody,
|
|
992
|
+
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
993
|
+
errorCode,
|
|
1050
994
|
});
|
|
1051
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1052
995
|
}
|
|
1053
996
|
};
|
|
1054
997
|
const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
|
|
@@ -1070,7 +1013,6 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1070
1013
|
...output,
|
|
1071
1014
|
body: await parseBody(output.body, context),
|
|
1072
1015
|
};
|
|
1073
|
-
let response;
|
|
1074
1016
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1075
1017
|
switch (errorCode) {
|
|
1076
1018
|
case "ConcurrentModificationException":
|
|
@@ -1090,14 +1032,12 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1090
1032
|
throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
|
|
1091
1033
|
default:
|
|
1092
1034
|
const parsedBody = parsedOutput.body;
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
$metadata,
|
|
1035
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1036
|
+
output,
|
|
1037
|
+
parsedBody,
|
|
1038
|
+
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
1039
|
+
errorCode,
|
|
1099
1040
|
});
|
|
1100
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1101
1041
|
}
|
|
1102
1042
|
};
|
|
1103
1043
|
const deserializeAws_json1_1UpdateApplicationCommand = async (output, context) => {
|
|
@@ -1119,7 +1059,6 @@ const deserializeAws_json1_1UpdateApplicationCommandError = async (output, conte
|
|
|
1119
1059
|
...output,
|
|
1120
1060
|
body: await parseBody(output.body, context),
|
|
1121
1061
|
};
|
|
1122
|
-
let response;
|
|
1123
1062
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1124
1063
|
switch (errorCode) {
|
|
1125
1064
|
case "CodeValidationException":
|
|
@@ -1142,14 +1081,12 @@ const deserializeAws_json1_1UpdateApplicationCommandError = async (output, conte
|
|
|
1142
1081
|
throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
|
|
1143
1082
|
default:
|
|
1144
1083
|
const parsedBody = parsedOutput.body;
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
$metadata,
|
|
1084
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1085
|
+
output,
|
|
1086
|
+
parsedBody,
|
|
1087
|
+
exceptionCtor: KinesisAnalyticsServiceException_1.KinesisAnalyticsServiceException,
|
|
1088
|
+
errorCode,
|
|
1151
1089
|
});
|
|
1152
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1153
1090
|
}
|
|
1154
1091
|
};
|
|
1155
1092
|
const deserializeAws_json1_1CodeValidationExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -1337,9 +1274,6 @@ const serializeAws_json1_1CloudWatchLoggingOptions = (input, context) => {
|
|
|
1337
1274
|
return input
|
|
1338
1275
|
.filter((e) => e != null)
|
|
1339
1276
|
.map((entry) => {
|
|
1340
|
-
if (entry === null) {
|
|
1341
|
-
return null;
|
|
1342
|
-
}
|
|
1343
1277
|
return serializeAws_json1_1CloudWatchLoggingOption(entry, context);
|
|
1344
1278
|
});
|
|
1345
1279
|
};
|
|
@@ -1354,9 +1288,6 @@ const serializeAws_json1_1CloudWatchLoggingOptionUpdates = (input, context) => {
|
|
|
1354
1288
|
return input
|
|
1355
1289
|
.filter((e) => e != null)
|
|
1356
1290
|
.map((entry) => {
|
|
1357
|
-
if (entry === null) {
|
|
1358
|
-
return null;
|
|
1359
|
-
}
|
|
1360
1291
|
return serializeAws_json1_1CloudWatchLoggingOptionUpdate(entry, context);
|
|
1361
1292
|
});
|
|
1362
1293
|
};
|
|
@@ -1476,9 +1407,6 @@ const serializeAws_json1_1InputConfigurations = (input, context) => {
|
|
|
1476
1407
|
return input
|
|
1477
1408
|
.filter((e) => e != null)
|
|
1478
1409
|
.map((entry) => {
|
|
1479
|
-
if (entry === null) {
|
|
1480
|
-
return null;
|
|
1481
|
-
}
|
|
1482
1410
|
return serializeAws_json1_1InputConfiguration(entry, context);
|
|
1483
1411
|
});
|
|
1484
1412
|
};
|
|
@@ -1522,9 +1450,6 @@ const serializeAws_json1_1Inputs = (input, context) => {
|
|
|
1522
1450
|
return input
|
|
1523
1451
|
.filter((e) => e != null)
|
|
1524
1452
|
.map((entry) => {
|
|
1525
|
-
if (entry === null) {
|
|
1526
|
-
return null;
|
|
1527
|
-
}
|
|
1528
1453
|
return serializeAws_json1_1Input(entry, context);
|
|
1529
1454
|
});
|
|
1530
1455
|
};
|
|
@@ -1569,9 +1494,6 @@ const serializeAws_json1_1InputUpdates = (input, context) => {
|
|
|
1569
1494
|
return input
|
|
1570
1495
|
.filter((e) => e != null)
|
|
1571
1496
|
.map((entry) => {
|
|
1572
|
-
if (entry === null) {
|
|
1573
|
-
return null;
|
|
1574
|
-
}
|
|
1575
1497
|
return serializeAws_json1_1InputUpdate(entry, context);
|
|
1576
1498
|
});
|
|
1577
1499
|
};
|
|
@@ -1682,9 +1604,6 @@ const serializeAws_json1_1Outputs = (input, context) => {
|
|
|
1682
1604
|
return input
|
|
1683
1605
|
.filter((e) => e != null)
|
|
1684
1606
|
.map((entry) => {
|
|
1685
|
-
if (entry === null) {
|
|
1686
|
-
return null;
|
|
1687
|
-
}
|
|
1688
1607
|
return serializeAws_json1_1Output(entry, context);
|
|
1689
1608
|
});
|
|
1690
1609
|
};
|
|
@@ -1710,9 +1629,6 @@ const serializeAws_json1_1OutputUpdates = (input, context) => {
|
|
|
1710
1629
|
return input
|
|
1711
1630
|
.filter((e) => e != null)
|
|
1712
1631
|
.map((entry) => {
|
|
1713
|
-
if (entry === null) {
|
|
1714
|
-
return null;
|
|
1715
|
-
}
|
|
1716
1632
|
return serializeAws_json1_1OutputUpdate(entry, context);
|
|
1717
1633
|
});
|
|
1718
1634
|
};
|
|
@@ -1727,9 +1643,6 @@ const serializeAws_json1_1RecordColumns = (input, context) => {
|
|
|
1727
1643
|
return input
|
|
1728
1644
|
.filter((e) => e != null)
|
|
1729
1645
|
.map((entry) => {
|
|
1730
|
-
if (entry === null) {
|
|
1731
|
-
return null;
|
|
1732
|
-
}
|
|
1733
1646
|
return serializeAws_json1_1RecordColumn(entry, context);
|
|
1734
1647
|
});
|
|
1735
1648
|
};
|
|
@@ -1768,9 +1681,6 @@ const serializeAws_json1_1ReferenceDataSourceUpdates = (input, context) => {
|
|
|
1768
1681
|
return input
|
|
1769
1682
|
.filter((e) => e != null)
|
|
1770
1683
|
.map((entry) => {
|
|
1771
|
-
if (entry === null) {
|
|
1772
|
-
return null;
|
|
1773
|
-
}
|
|
1774
1684
|
return serializeAws_json1_1ReferenceDataSourceUpdate(entry, context);
|
|
1775
1685
|
});
|
|
1776
1686
|
};
|
|
@@ -1827,9 +1737,6 @@ const serializeAws_json1_1TagKeys = (input, context) => {
|
|
|
1827
1737
|
return input
|
|
1828
1738
|
.filter((e) => e != null)
|
|
1829
1739
|
.map((entry) => {
|
|
1830
|
-
if (entry === null) {
|
|
1831
|
-
return null;
|
|
1832
|
-
}
|
|
1833
1740
|
return entry;
|
|
1834
1741
|
});
|
|
1835
1742
|
};
|
|
@@ -1843,9 +1750,6 @@ const serializeAws_json1_1Tags = (input, context) => {
|
|
|
1843
1750
|
return input
|
|
1844
1751
|
.filter((e) => e != null)
|
|
1845
1752
|
.map((entry) => {
|
|
1846
|
-
if (entry === null) {
|
|
1847
|
-
return null;
|
|
1848
|
-
}
|
|
1849
1753
|
return serializeAws_json1_1Tag(entry, context);
|
|
1850
1754
|
});
|
|
1851
1755
|
};
|