@aws-sdk/client-kinesis-analytics 3.118.1 → 3.128.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 +27 -0
- package/dist-cjs/protocols/Aws_json1_1.js +311 -384
- package/dist-es/protocols/Aws_json1_1.js +246 -319
- package/package.json +26 -26
|
@@ -242,7 +242,7 @@ export var deserializeAws_json1_1AddApplicationCloudWatchLoggingOptionCommand =
|
|
|
242
242
|
});
|
|
243
243
|
}); };
|
|
244
244
|
var deserializeAws_json1_1AddApplicationCloudWatchLoggingOptionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
245
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
245
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
246
246
|
var _c;
|
|
247
247
|
return __generator(this, function (_d) {
|
|
248
248
|
switch (_d.label) {
|
|
@@ -252,7 +252,6 @@ var deserializeAws_json1_1AddApplicationCloudWatchLoggingOptionCommandError = fu
|
|
|
252
252
|
return [4, parseBody(output.body, context)];
|
|
253
253
|
case 1:
|
|
254
254
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
255
|
-
errorCode = "UnknownError";
|
|
256
255
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
257
256
|
_b = errorCode;
|
|
258
257
|
switch (_b) {
|
|
@@ -280,10 +279,12 @@ var deserializeAws_json1_1AddApplicationCloudWatchLoggingOptionCommandError = fu
|
|
|
280
279
|
case 11: throw _d.sent();
|
|
281
280
|
case 12:
|
|
282
281
|
parsedBody = parsedOutput.body;
|
|
282
|
+
$metadata = deserializeMetadata(output);
|
|
283
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
283
284
|
response = new __BaseException({
|
|
284
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
285
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
285
286
|
$fault: "client",
|
|
286
|
-
$metadata:
|
|
287
|
+
$metadata: $metadata,
|
|
287
288
|
});
|
|
288
289
|
throw __decorateServiceException(response, parsedBody);
|
|
289
290
|
}
|
|
@@ -308,7 +309,7 @@ export var deserializeAws_json1_1AddApplicationInputCommand = function (output,
|
|
|
308
309
|
});
|
|
309
310
|
}); };
|
|
310
311
|
var deserializeAws_json1_1AddApplicationInputCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
311
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
312
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
312
313
|
var _c;
|
|
313
314
|
return __generator(this, function (_d) {
|
|
314
315
|
switch (_d.label) {
|
|
@@ -318,7 +319,6 @@ var deserializeAws_json1_1AddApplicationInputCommandError = function (output, co
|
|
|
318
319
|
return [4, parseBody(output.body, context)];
|
|
319
320
|
case 1:
|
|
320
321
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
321
|
-
errorCode = "UnknownError";
|
|
322
322
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
323
323
|
_b = errorCode;
|
|
324
324
|
switch (_b) {
|
|
@@ -350,10 +350,12 @@ var deserializeAws_json1_1AddApplicationInputCommandError = function (output, co
|
|
|
350
350
|
case 13: throw _d.sent();
|
|
351
351
|
case 14:
|
|
352
352
|
parsedBody = parsedOutput.body;
|
|
353
|
+
$metadata = deserializeMetadata(output);
|
|
354
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
353
355
|
response = new __BaseException({
|
|
354
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
356
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
355
357
|
$fault: "client",
|
|
356
|
-
$metadata:
|
|
358
|
+
$metadata: $metadata,
|
|
357
359
|
});
|
|
358
360
|
throw __decorateServiceException(response, parsedBody);
|
|
359
361
|
}
|
|
@@ -378,7 +380,7 @@ export var deserializeAws_json1_1AddApplicationInputProcessingConfigurationComma
|
|
|
378
380
|
});
|
|
379
381
|
}); };
|
|
380
382
|
var deserializeAws_json1_1AddApplicationInputProcessingConfigurationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
381
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
383
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
382
384
|
var _c;
|
|
383
385
|
return __generator(this, function (_d) {
|
|
384
386
|
switch (_d.label) {
|
|
@@ -388,7 +390,6 @@ var deserializeAws_json1_1AddApplicationInputProcessingConfigurationCommandError
|
|
|
388
390
|
return [4, parseBody(output.body, context)];
|
|
389
391
|
case 1:
|
|
390
392
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
391
|
-
errorCode = "UnknownError";
|
|
392
393
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
393
394
|
_b = errorCode;
|
|
394
395
|
switch (_b) {
|
|
@@ -416,10 +417,12 @@ var deserializeAws_json1_1AddApplicationInputProcessingConfigurationCommandError
|
|
|
416
417
|
case 11: throw _d.sent();
|
|
417
418
|
case 12:
|
|
418
419
|
parsedBody = parsedOutput.body;
|
|
420
|
+
$metadata = deserializeMetadata(output);
|
|
421
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
419
422
|
response = new __BaseException({
|
|
420
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
423
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
421
424
|
$fault: "client",
|
|
422
|
-
$metadata:
|
|
425
|
+
$metadata: $metadata,
|
|
423
426
|
});
|
|
424
427
|
throw __decorateServiceException(response, parsedBody);
|
|
425
428
|
}
|
|
@@ -444,7 +447,7 @@ export var deserializeAws_json1_1AddApplicationOutputCommand = function (output,
|
|
|
444
447
|
});
|
|
445
448
|
}); };
|
|
446
449
|
var deserializeAws_json1_1AddApplicationOutputCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
447
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
450
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
448
451
|
var _c;
|
|
449
452
|
return __generator(this, function (_d) {
|
|
450
453
|
switch (_d.label) {
|
|
@@ -454,7 +457,6 @@ var deserializeAws_json1_1AddApplicationOutputCommandError = function (output, c
|
|
|
454
457
|
return [4, parseBody(output.body, context)];
|
|
455
458
|
case 1:
|
|
456
459
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
457
|
-
errorCode = "UnknownError";
|
|
458
460
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
459
461
|
_b = errorCode;
|
|
460
462
|
switch (_b) {
|
|
@@ -482,10 +484,12 @@ var deserializeAws_json1_1AddApplicationOutputCommandError = function (output, c
|
|
|
482
484
|
case 11: throw _d.sent();
|
|
483
485
|
case 12:
|
|
484
486
|
parsedBody = parsedOutput.body;
|
|
487
|
+
$metadata = deserializeMetadata(output);
|
|
488
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
485
489
|
response = new __BaseException({
|
|
486
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
490
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
487
491
|
$fault: "client",
|
|
488
|
-
$metadata:
|
|
492
|
+
$metadata: $metadata,
|
|
489
493
|
});
|
|
490
494
|
throw __decorateServiceException(response, parsedBody);
|
|
491
495
|
}
|
|
@@ -510,7 +514,7 @@ export var deserializeAws_json1_1AddApplicationReferenceDataSourceCommand = func
|
|
|
510
514
|
});
|
|
511
515
|
}); };
|
|
512
516
|
var deserializeAws_json1_1AddApplicationReferenceDataSourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
513
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
517
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
514
518
|
var _c;
|
|
515
519
|
return __generator(this, function (_d) {
|
|
516
520
|
switch (_d.label) {
|
|
@@ -520,7 +524,6 @@ var deserializeAws_json1_1AddApplicationReferenceDataSourceCommandError = functi
|
|
|
520
524
|
return [4, parseBody(output.body, context)];
|
|
521
525
|
case 1:
|
|
522
526
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
523
|
-
errorCode = "UnknownError";
|
|
524
527
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
525
528
|
_b = errorCode;
|
|
526
529
|
switch (_b) {
|
|
@@ -548,10 +551,12 @@ var deserializeAws_json1_1AddApplicationReferenceDataSourceCommandError = functi
|
|
|
548
551
|
case 11: throw _d.sent();
|
|
549
552
|
case 12:
|
|
550
553
|
parsedBody = parsedOutput.body;
|
|
554
|
+
$metadata = deserializeMetadata(output);
|
|
555
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
551
556
|
response = new __BaseException({
|
|
552
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
557
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
553
558
|
$fault: "client",
|
|
554
|
-
$metadata:
|
|
559
|
+
$metadata: $metadata,
|
|
555
560
|
});
|
|
556
561
|
throw __decorateServiceException(response, parsedBody);
|
|
557
562
|
}
|
|
@@ -576,7 +581,7 @@ export var deserializeAws_json1_1CreateApplicationCommand = function (output, co
|
|
|
576
581
|
});
|
|
577
582
|
}); };
|
|
578
583
|
var deserializeAws_json1_1CreateApplicationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
579
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
584
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
580
585
|
var _c;
|
|
581
586
|
return __generator(this, function (_d) {
|
|
582
587
|
switch (_d.label) {
|
|
@@ -586,7 +591,6 @@ var deserializeAws_json1_1CreateApplicationCommandError = function (output, cont
|
|
|
586
591
|
return [4, parseBody(output.body, context)];
|
|
587
592
|
case 1:
|
|
588
593
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
589
|
-
errorCode = "UnknownError";
|
|
590
594
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
591
595
|
_b = errorCode;
|
|
592
596
|
switch (_b) {
|
|
@@ -618,10 +622,12 @@ var deserializeAws_json1_1CreateApplicationCommandError = function (output, cont
|
|
|
618
622
|
case 13: throw _d.sent();
|
|
619
623
|
case 14:
|
|
620
624
|
parsedBody = parsedOutput.body;
|
|
625
|
+
$metadata = deserializeMetadata(output);
|
|
626
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
621
627
|
response = new __BaseException({
|
|
622
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
628
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
623
629
|
$fault: "client",
|
|
624
|
-
$metadata:
|
|
630
|
+
$metadata: $metadata,
|
|
625
631
|
});
|
|
626
632
|
throw __decorateServiceException(response, parsedBody);
|
|
627
633
|
}
|
|
@@ -646,7 +652,7 @@ export var deserializeAws_json1_1DeleteApplicationCommand = function (output, co
|
|
|
646
652
|
});
|
|
647
653
|
}); };
|
|
648
654
|
var deserializeAws_json1_1DeleteApplicationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
649
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
655
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
650
656
|
var _c;
|
|
651
657
|
return __generator(this, function (_d) {
|
|
652
658
|
switch (_d.label) {
|
|
@@ -656,7 +662,6 @@ var deserializeAws_json1_1DeleteApplicationCommandError = function (output, cont
|
|
|
656
662
|
return [4, parseBody(output.body, context)];
|
|
657
663
|
case 1:
|
|
658
664
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
659
|
-
errorCode = "UnknownError";
|
|
660
665
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
661
666
|
_b = errorCode;
|
|
662
667
|
switch (_b) {
|
|
@@ -680,10 +685,12 @@ var deserializeAws_json1_1DeleteApplicationCommandError = function (output, cont
|
|
|
680
685
|
case 9: throw _d.sent();
|
|
681
686
|
case 10:
|
|
682
687
|
parsedBody = parsedOutput.body;
|
|
688
|
+
$metadata = deserializeMetadata(output);
|
|
689
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
683
690
|
response = new __BaseException({
|
|
684
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
691
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
685
692
|
$fault: "client",
|
|
686
|
-
$metadata:
|
|
693
|
+
$metadata: $metadata,
|
|
687
694
|
});
|
|
688
695
|
throw __decorateServiceException(response, parsedBody);
|
|
689
696
|
}
|
|
@@ -708,7 +715,7 @@ export var deserializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionCommand
|
|
|
708
715
|
});
|
|
709
716
|
}); };
|
|
710
717
|
var deserializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
711
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
718
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
712
719
|
var _c;
|
|
713
720
|
return __generator(this, function (_d) {
|
|
714
721
|
switch (_d.label) {
|
|
@@ -718,7 +725,6 @@ var deserializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionCommandError =
|
|
|
718
725
|
return [4, parseBody(output.body, context)];
|
|
719
726
|
case 1:
|
|
720
727
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
721
|
-
errorCode = "UnknownError";
|
|
722
728
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
723
729
|
_b = errorCode;
|
|
724
730
|
switch (_b) {
|
|
@@ -746,10 +752,12 @@ var deserializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionCommandError =
|
|
|
746
752
|
case 11: throw _d.sent();
|
|
747
753
|
case 12:
|
|
748
754
|
parsedBody = parsedOutput.body;
|
|
755
|
+
$metadata = deserializeMetadata(output);
|
|
756
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
749
757
|
response = new __BaseException({
|
|
750
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
758
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
751
759
|
$fault: "client",
|
|
752
|
-
$metadata:
|
|
760
|
+
$metadata: $metadata,
|
|
753
761
|
});
|
|
754
762
|
throw __decorateServiceException(response, parsedBody);
|
|
755
763
|
}
|
|
@@ -774,7 +782,7 @@ export var deserializeAws_json1_1DeleteApplicationInputProcessingConfigurationCo
|
|
|
774
782
|
});
|
|
775
783
|
}); };
|
|
776
784
|
var deserializeAws_json1_1DeleteApplicationInputProcessingConfigurationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
777
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
785
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
778
786
|
var _c;
|
|
779
787
|
return __generator(this, function (_d) {
|
|
780
788
|
switch (_d.label) {
|
|
@@ -784,7 +792,6 @@ var deserializeAws_json1_1DeleteApplicationInputProcessingConfigurationCommandEr
|
|
|
784
792
|
return [4, parseBody(output.body, context)];
|
|
785
793
|
case 1:
|
|
786
794
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
787
|
-
errorCode = "UnknownError";
|
|
788
795
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
789
796
|
_b = errorCode;
|
|
790
797
|
switch (_b) {
|
|
@@ -812,10 +819,12 @@ var deserializeAws_json1_1DeleteApplicationInputProcessingConfigurationCommandEr
|
|
|
812
819
|
case 11: throw _d.sent();
|
|
813
820
|
case 12:
|
|
814
821
|
parsedBody = parsedOutput.body;
|
|
822
|
+
$metadata = deserializeMetadata(output);
|
|
823
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
815
824
|
response = new __BaseException({
|
|
816
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
825
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
817
826
|
$fault: "client",
|
|
818
|
-
$metadata:
|
|
827
|
+
$metadata: $metadata,
|
|
819
828
|
});
|
|
820
829
|
throw __decorateServiceException(response, parsedBody);
|
|
821
830
|
}
|
|
@@ -840,7 +849,7 @@ export var deserializeAws_json1_1DeleteApplicationOutputCommand = function (outp
|
|
|
840
849
|
});
|
|
841
850
|
}); };
|
|
842
851
|
var deserializeAws_json1_1DeleteApplicationOutputCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
843
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
852
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
844
853
|
var _c;
|
|
845
854
|
return __generator(this, function (_d) {
|
|
846
855
|
switch (_d.label) {
|
|
@@ -850,7 +859,6 @@ var deserializeAws_json1_1DeleteApplicationOutputCommandError = function (output
|
|
|
850
859
|
return [4, parseBody(output.body, context)];
|
|
851
860
|
case 1:
|
|
852
861
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
853
|
-
errorCode = "UnknownError";
|
|
854
862
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
855
863
|
_b = errorCode;
|
|
856
864
|
switch (_b) {
|
|
@@ -878,10 +886,12 @@ var deserializeAws_json1_1DeleteApplicationOutputCommandError = function (output
|
|
|
878
886
|
case 11: throw _d.sent();
|
|
879
887
|
case 12:
|
|
880
888
|
parsedBody = parsedOutput.body;
|
|
889
|
+
$metadata = deserializeMetadata(output);
|
|
890
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
881
891
|
response = new __BaseException({
|
|
882
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
892
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
883
893
|
$fault: "client",
|
|
884
|
-
$metadata:
|
|
894
|
+
$metadata: $metadata,
|
|
885
895
|
});
|
|
886
896
|
throw __decorateServiceException(response, parsedBody);
|
|
887
897
|
}
|
|
@@ -906,7 +916,7 @@ export var deserializeAws_json1_1DeleteApplicationReferenceDataSourceCommand = f
|
|
|
906
916
|
});
|
|
907
917
|
}); };
|
|
908
918
|
var deserializeAws_json1_1DeleteApplicationReferenceDataSourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
909
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
919
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
910
920
|
var _c;
|
|
911
921
|
return __generator(this, function (_d) {
|
|
912
922
|
switch (_d.label) {
|
|
@@ -916,7 +926,6 @@ var deserializeAws_json1_1DeleteApplicationReferenceDataSourceCommandError = fun
|
|
|
916
926
|
return [4, parseBody(output.body, context)];
|
|
917
927
|
case 1:
|
|
918
928
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
919
|
-
errorCode = "UnknownError";
|
|
920
929
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
921
930
|
_b = errorCode;
|
|
922
931
|
switch (_b) {
|
|
@@ -944,10 +953,12 @@ var deserializeAws_json1_1DeleteApplicationReferenceDataSourceCommandError = fun
|
|
|
944
953
|
case 11: throw _d.sent();
|
|
945
954
|
case 12:
|
|
946
955
|
parsedBody = parsedOutput.body;
|
|
956
|
+
$metadata = deserializeMetadata(output);
|
|
957
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
947
958
|
response = new __BaseException({
|
|
948
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
959
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
949
960
|
$fault: "client",
|
|
950
|
-
$metadata:
|
|
961
|
+
$metadata: $metadata,
|
|
951
962
|
});
|
|
952
963
|
throw __decorateServiceException(response, parsedBody);
|
|
953
964
|
}
|
|
@@ -972,7 +983,7 @@ export var deserializeAws_json1_1DescribeApplicationCommand = function (output,
|
|
|
972
983
|
});
|
|
973
984
|
}); };
|
|
974
985
|
var deserializeAws_json1_1DescribeApplicationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
975
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
986
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
976
987
|
var _c;
|
|
977
988
|
return __generator(this, function (_d) {
|
|
978
989
|
switch (_d.label) {
|
|
@@ -982,7 +993,6 @@ var deserializeAws_json1_1DescribeApplicationCommandError = function (output, co
|
|
|
982
993
|
return [4, parseBody(output.body, context)];
|
|
983
994
|
case 1:
|
|
984
995
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
985
|
-
errorCode = "UnknownError";
|
|
986
996
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
987
997
|
_b = errorCode;
|
|
988
998
|
switch (_b) {
|
|
@@ -998,10 +1008,12 @@ var deserializeAws_json1_1DescribeApplicationCommandError = function (output, co
|
|
|
998
1008
|
case 5: throw _d.sent();
|
|
999
1009
|
case 6:
|
|
1000
1010
|
parsedBody = parsedOutput.body;
|
|
1011
|
+
$metadata = deserializeMetadata(output);
|
|
1012
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1001
1013
|
response = new __BaseException({
|
|
1002
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1014
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1003
1015
|
$fault: "client",
|
|
1004
|
-
$metadata:
|
|
1016
|
+
$metadata: $metadata,
|
|
1005
1017
|
});
|
|
1006
1018
|
throw __decorateServiceException(response, parsedBody);
|
|
1007
1019
|
}
|
|
@@ -1026,7 +1038,7 @@ export var deserializeAws_json1_1DiscoverInputSchemaCommand = function (output,
|
|
|
1026
1038
|
});
|
|
1027
1039
|
}); };
|
|
1028
1040
|
var deserializeAws_json1_1DiscoverInputSchemaCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1029
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1041
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1030
1042
|
var _c;
|
|
1031
1043
|
return __generator(this, function (_d) {
|
|
1032
1044
|
switch (_d.label) {
|
|
@@ -1036,7 +1048,6 @@ var deserializeAws_json1_1DiscoverInputSchemaCommandError = function (output, co
|
|
|
1036
1048
|
return [4, parseBody(output.body, context)];
|
|
1037
1049
|
case 1:
|
|
1038
1050
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1039
|
-
errorCode = "UnknownError";
|
|
1040
1051
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1041
1052
|
_b = errorCode;
|
|
1042
1053
|
switch (_b) {
|
|
@@ -1060,10 +1071,12 @@ var deserializeAws_json1_1DiscoverInputSchemaCommandError = function (output, co
|
|
|
1060
1071
|
case 9: throw _d.sent();
|
|
1061
1072
|
case 10:
|
|
1062
1073
|
parsedBody = parsedOutput.body;
|
|
1074
|
+
$metadata = deserializeMetadata(output);
|
|
1075
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1063
1076
|
response = new __BaseException({
|
|
1064
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1077
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1065
1078
|
$fault: "client",
|
|
1066
|
-
$metadata:
|
|
1079
|
+
$metadata: $metadata,
|
|
1067
1080
|
});
|
|
1068
1081
|
throw __decorateServiceException(response, parsedBody);
|
|
1069
1082
|
}
|
|
@@ -1088,7 +1101,7 @@ export var deserializeAws_json1_1ListApplicationsCommand = function (output, con
|
|
|
1088
1101
|
});
|
|
1089
1102
|
}); };
|
|
1090
1103
|
var deserializeAws_json1_1ListApplicationsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1091
|
-
var parsedOutput, _a, response, errorCode, parsedBody;
|
|
1104
|
+
var parsedOutput, _a, response, errorCode, parsedBody, $metadata, statusCode;
|
|
1092
1105
|
var _b;
|
|
1093
1106
|
return __generator(this, function (_c) {
|
|
1094
1107
|
switch (_c.label) {
|
|
@@ -1098,15 +1111,16 @@ var deserializeAws_json1_1ListApplicationsCommandError = function (output, conte
|
|
|
1098
1111
|
return [4, parseBody(output.body, context)];
|
|
1099
1112
|
case 1:
|
|
1100
1113
|
parsedOutput = __assign.apply(void 0, _a.concat([(_b.body = _c.sent(), _b)]));
|
|
1101
|
-
errorCode = "UnknownError";
|
|
1102
1114
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1103
1115
|
switch (errorCode) {
|
|
1104
1116
|
default:
|
|
1105
1117
|
parsedBody = parsedOutput.body;
|
|
1118
|
+
$metadata = deserializeMetadata(output);
|
|
1119
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1106
1120
|
response = new __BaseException({
|
|
1107
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1121
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1108
1122
|
$fault: "client",
|
|
1109
|
-
$metadata:
|
|
1123
|
+
$metadata: $metadata,
|
|
1110
1124
|
});
|
|
1111
1125
|
throw __decorateServiceException(response, parsedBody);
|
|
1112
1126
|
}
|
|
@@ -1133,7 +1147,7 @@ export var deserializeAws_json1_1ListTagsForResourceCommand = function (output,
|
|
|
1133
1147
|
});
|
|
1134
1148
|
}); };
|
|
1135
1149
|
var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1136
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1150
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1137
1151
|
var _c;
|
|
1138
1152
|
return __generator(this, function (_d) {
|
|
1139
1153
|
switch (_d.label) {
|
|
@@ -1143,7 +1157,6 @@ var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, co
|
|
|
1143
1157
|
return [4, parseBody(output.body, context)];
|
|
1144
1158
|
case 1:
|
|
1145
1159
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1146
|
-
errorCode = "UnknownError";
|
|
1147
1160
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1148
1161
|
_b = errorCode;
|
|
1149
1162
|
switch (_b) {
|
|
@@ -1163,10 +1176,12 @@ var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, co
|
|
|
1163
1176
|
case 7: throw _d.sent();
|
|
1164
1177
|
case 8:
|
|
1165
1178
|
parsedBody = parsedOutput.body;
|
|
1179
|
+
$metadata = deserializeMetadata(output);
|
|
1180
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1166
1181
|
response = new __BaseException({
|
|
1167
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1182
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1168
1183
|
$fault: "client",
|
|
1169
|
-
$metadata:
|
|
1184
|
+
$metadata: $metadata,
|
|
1170
1185
|
});
|
|
1171
1186
|
throw __decorateServiceException(response, parsedBody);
|
|
1172
1187
|
}
|
|
@@ -1191,7 +1206,7 @@ export var deserializeAws_json1_1StartApplicationCommand = function (output, con
|
|
|
1191
1206
|
});
|
|
1192
1207
|
}); };
|
|
1193
1208
|
var deserializeAws_json1_1StartApplicationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1194
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1209
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1195
1210
|
var _c;
|
|
1196
1211
|
return __generator(this, function (_d) {
|
|
1197
1212
|
switch (_d.label) {
|
|
@@ -1201,7 +1216,6 @@ var deserializeAws_json1_1StartApplicationCommandError = function (output, conte
|
|
|
1201
1216
|
return [4, parseBody(output.body, context)];
|
|
1202
1217
|
case 1:
|
|
1203
1218
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1204
|
-
errorCode = "UnknownError";
|
|
1205
1219
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1206
1220
|
_b = errorCode;
|
|
1207
1221
|
switch (_b) {
|
|
@@ -1229,10 +1243,12 @@ var deserializeAws_json1_1StartApplicationCommandError = function (output, conte
|
|
|
1229
1243
|
case 11: throw _d.sent();
|
|
1230
1244
|
case 12:
|
|
1231
1245
|
parsedBody = parsedOutput.body;
|
|
1246
|
+
$metadata = deserializeMetadata(output);
|
|
1247
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1232
1248
|
response = new __BaseException({
|
|
1233
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1249
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1234
1250
|
$fault: "client",
|
|
1235
|
-
$metadata:
|
|
1251
|
+
$metadata: $metadata,
|
|
1236
1252
|
});
|
|
1237
1253
|
throw __decorateServiceException(response, parsedBody);
|
|
1238
1254
|
}
|
|
@@ -1257,7 +1273,7 @@ export var deserializeAws_json1_1StopApplicationCommand = function (output, cont
|
|
|
1257
1273
|
});
|
|
1258
1274
|
}); };
|
|
1259
1275
|
var deserializeAws_json1_1StopApplicationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1260
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1276
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1261
1277
|
var _c;
|
|
1262
1278
|
return __generator(this, function (_d) {
|
|
1263
1279
|
switch (_d.label) {
|
|
@@ -1267,7 +1283,6 @@ var deserializeAws_json1_1StopApplicationCommandError = function (output, contex
|
|
|
1267
1283
|
return [4, parseBody(output.body, context)];
|
|
1268
1284
|
case 1:
|
|
1269
1285
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1270
|
-
errorCode = "UnknownError";
|
|
1271
1286
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1272
1287
|
_b = errorCode;
|
|
1273
1288
|
switch (_b) {
|
|
@@ -1287,10 +1302,12 @@ var deserializeAws_json1_1StopApplicationCommandError = function (output, contex
|
|
|
1287
1302
|
case 7: throw _d.sent();
|
|
1288
1303
|
case 8:
|
|
1289
1304
|
parsedBody = parsedOutput.body;
|
|
1305
|
+
$metadata = deserializeMetadata(output);
|
|
1306
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1290
1307
|
response = new __BaseException({
|
|
1291
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1308
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1292
1309
|
$fault: "client",
|
|
1293
|
-
$metadata:
|
|
1310
|
+
$metadata: $metadata,
|
|
1294
1311
|
});
|
|
1295
1312
|
throw __decorateServiceException(response, parsedBody);
|
|
1296
1313
|
}
|
|
@@ -1315,7 +1332,7 @@ export var deserializeAws_json1_1TagResourceCommand = function (output, context)
|
|
|
1315
1332
|
});
|
|
1316
1333
|
}); };
|
|
1317
1334
|
var deserializeAws_json1_1TagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1318
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1335
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1319
1336
|
var _c;
|
|
1320
1337
|
return __generator(this, function (_d) {
|
|
1321
1338
|
switch (_d.label) {
|
|
@@ -1325,7 +1342,6 @@ var deserializeAws_json1_1TagResourceCommandError = function (output, context) {
|
|
|
1325
1342
|
return [4, parseBody(output.body, context)];
|
|
1326
1343
|
case 1:
|
|
1327
1344
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1328
|
-
errorCode = "UnknownError";
|
|
1329
1345
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1330
1346
|
_b = errorCode;
|
|
1331
1347
|
switch (_b) {
|
|
@@ -1353,10 +1369,12 @@ var deserializeAws_json1_1TagResourceCommandError = function (output, context) {
|
|
|
1353
1369
|
case 11: throw _d.sent();
|
|
1354
1370
|
case 12:
|
|
1355
1371
|
parsedBody = parsedOutput.body;
|
|
1372
|
+
$metadata = deserializeMetadata(output);
|
|
1373
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1356
1374
|
response = new __BaseException({
|
|
1357
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1375
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1358
1376
|
$fault: "client",
|
|
1359
|
-
$metadata:
|
|
1377
|
+
$metadata: $metadata,
|
|
1360
1378
|
});
|
|
1361
1379
|
throw __decorateServiceException(response, parsedBody);
|
|
1362
1380
|
}
|
|
@@ -1381,7 +1399,7 @@ export var deserializeAws_json1_1UntagResourceCommand = function (output, contex
|
|
|
1381
1399
|
});
|
|
1382
1400
|
}); };
|
|
1383
1401
|
var deserializeAws_json1_1UntagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1384
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1402
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1385
1403
|
var _c;
|
|
1386
1404
|
return __generator(this, function (_d) {
|
|
1387
1405
|
switch (_d.label) {
|
|
@@ -1391,7 +1409,6 @@ var deserializeAws_json1_1UntagResourceCommandError = function (output, context)
|
|
|
1391
1409
|
return [4, parseBody(output.body, context)];
|
|
1392
1410
|
case 1:
|
|
1393
1411
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1394
|
-
errorCode = "UnknownError";
|
|
1395
1412
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1396
1413
|
_b = errorCode;
|
|
1397
1414
|
switch (_b) {
|
|
@@ -1419,10 +1436,12 @@ var deserializeAws_json1_1UntagResourceCommandError = function (output, context)
|
|
|
1419
1436
|
case 11: throw _d.sent();
|
|
1420
1437
|
case 12:
|
|
1421
1438
|
parsedBody = parsedOutput.body;
|
|
1439
|
+
$metadata = deserializeMetadata(output);
|
|
1440
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1422
1441
|
response = new __BaseException({
|
|
1423
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1442
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1424
1443
|
$fault: "client",
|
|
1425
|
-
$metadata:
|
|
1444
|
+
$metadata: $metadata,
|
|
1426
1445
|
});
|
|
1427
1446
|
throw __decorateServiceException(response, parsedBody);
|
|
1428
1447
|
}
|
|
@@ -1447,7 +1466,7 @@ export var deserializeAws_json1_1UpdateApplicationCommand = function (output, co
|
|
|
1447
1466
|
});
|
|
1448
1467
|
}); };
|
|
1449
1468
|
var deserializeAws_json1_1UpdateApplicationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1450
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1469
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1451
1470
|
var _c;
|
|
1452
1471
|
return __generator(this, function (_d) {
|
|
1453
1472
|
switch (_d.label) {
|
|
@@ -1457,7 +1476,6 @@ var deserializeAws_json1_1UpdateApplicationCommandError = function (output, cont
|
|
|
1457
1476
|
return [4, parseBody(output.body, context)];
|
|
1458
1477
|
case 1:
|
|
1459
1478
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1460
|
-
errorCode = "UnknownError";
|
|
1461
1479
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1462
1480
|
_b = errorCode;
|
|
1463
1481
|
switch (_b) {
|
|
@@ -1489,10 +1507,12 @@ var deserializeAws_json1_1UpdateApplicationCommandError = function (output, cont
|
|
|
1489
1507
|
case 13: throw _d.sent();
|
|
1490
1508
|
case 14:
|
|
1491
1509
|
parsedBody = parsedOutput.body;
|
|
1510
|
+
$metadata = deserializeMetadata(output);
|
|
1511
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1492
1512
|
response = new __BaseException({
|
|
1493
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1513
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1494
1514
|
$fault: "client",
|
|
1495
|
-
$metadata:
|
|
1515
|
+
$metadata: $metadata,
|
|
1496
1516
|
});
|
|
1497
1517
|
throw __decorateServiceException(response, parsedBody);
|
|
1498
1518
|
}
|
|
@@ -1607,57 +1627,47 @@ var deserializeAws_json1_1UnsupportedOperationExceptionResponse = function (pars
|
|
|
1607
1627
|
});
|
|
1608
1628
|
}); };
|
|
1609
1629
|
var serializeAws_json1_1AddApplicationCloudWatchLoggingOptionRequest = function (input, context) {
|
|
1610
|
-
return __assign(__assign(__assign({}, (input.ApplicationName
|
|
1611
|
-
input.ApplicationName !== null && { ApplicationName: input.ApplicationName })), (input.CloudWatchLoggingOption !== undefined &&
|
|
1612
|
-
input.CloudWatchLoggingOption !== null && {
|
|
1630
|
+
return __assign(__assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CloudWatchLoggingOption != null && {
|
|
1613
1631
|
CloudWatchLoggingOption: serializeAws_json1_1CloudWatchLoggingOption(input.CloudWatchLoggingOption, context),
|
|
1614
|
-
})), (input.CurrentApplicationVersionId
|
|
1615
|
-
|
|
1632
|
+
})), (input.CurrentApplicationVersionId != null && {
|
|
1633
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1634
|
+
}));
|
|
1616
1635
|
};
|
|
1617
1636
|
var serializeAws_json1_1AddApplicationInputProcessingConfigurationRequest = function (input, context) {
|
|
1618
|
-
return __assign(__assign(__assign(__assign({}, (input.ApplicationName
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
input.InputProcessingConfiguration !== null && {
|
|
1637
|
+
return __assign(__assign(__assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CurrentApplicationVersionId != null && {
|
|
1638
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1639
|
+
})), (input.InputId != null && { InputId: input.InputId })), (input.InputProcessingConfiguration != null && {
|
|
1622
1640
|
InputProcessingConfiguration: serializeAws_json1_1InputProcessingConfiguration(input.InputProcessingConfiguration, context),
|
|
1623
1641
|
}));
|
|
1624
1642
|
};
|
|
1625
1643
|
var serializeAws_json1_1AddApplicationInputRequest = function (input, context) {
|
|
1626
|
-
return __assign(__assign(__assign({}, (input.ApplicationName
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
input.Input !== null && { Input: serializeAws_json1_1Input(input.Input, context) }));
|
|
1644
|
+
return __assign(__assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CurrentApplicationVersionId != null && {
|
|
1645
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1646
|
+
})), (input.Input != null && { Input: serializeAws_json1_1Input(input.Input, context) }));
|
|
1630
1647
|
};
|
|
1631
1648
|
var serializeAws_json1_1AddApplicationOutputRequest = function (input, context) {
|
|
1632
|
-
return __assign(__assign(__assign({}, (input.ApplicationName
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
input.Output !== null && { Output: serializeAws_json1_1Output(input.Output, context) }));
|
|
1649
|
+
return __assign(__assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CurrentApplicationVersionId != null && {
|
|
1650
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1651
|
+
})), (input.Output != null && { Output: serializeAws_json1_1Output(input.Output, context) }));
|
|
1636
1652
|
};
|
|
1637
1653
|
var serializeAws_json1_1AddApplicationReferenceDataSourceRequest = function (input, context) {
|
|
1638
|
-
return __assign(__assign(__assign({}, (input.ApplicationName
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
input.ReferenceDataSource !== null && {
|
|
1654
|
+
return __assign(__assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CurrentApplicationVersionId != null && {
|
|
1655
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1656
|
+
})), (input.ReferenceDataSource != null && {
|
|
1642
1657
|
ReferenceDataSource: serializeAws_json1_1ReferenceDataSource(input.ReferenceDataSource, context),
|
|
1643
1658
|
}));
|
|
1644
1659
|
};
|
|
1645
1660
|
var serializeAws_json1_1ApplicationUpdate = function (input, context) {
|
|
1646
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.ApplicationCodeUpdate
|
|
1647
|
-
input.ApplicationCodeUpdate !== null && { ApplicationCodeUpdate: input.ApplicationCodeUpdate })), (input.CloudWatchLoggingOptionUpdates !== undefined &&
|
|
1648
|
-
input.CloudWatchLoggingOptionUpdates !== null && {
|
|
1661
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.ApplicationCodeUpdate != null && { ApplicationCodeUpdate: input.ApplicationCodeUpdate })), (input.CloudWatchLoggingOptionUpdates != null && {
|
|
1649
1662
|
CloudWatchLoggingOptionUpdates: serializeAws_json1_1CloudWatchLoggingOptionUpdates(input.CloudWatchLoggingOptionUpdates, context),
|
|
1650
|
-
})), (input.InputUpdates
|
|
1651
|
-
input.InputUpdates !== null && { InputUpdates: serializeAws_json1_1InputUpdates(input.InputUpdates, context) })), (input.OutputUpdates !== undefined &&
|
|
1652
|
-
input.OutputUpdates !== null && {
|
|
1663
|
+
})), (input.InputUpdates != null && { InputUpdates: serializeAws_json1_1InputUpdates(input.InputUpdates, context) })), (input.OutputUpdates != null && {
|
|
1653
1664
|
OutputUpdates: serializeAws_json1_1OutputUpdates(input.OutputUpdates, context),
|
|
1654
|
-
})), (input.ReferenceDataSourceUpdates
|
|
1655
|
-
input.ReferenceDataSourceUpdates !== null && {
|
|
1665
|
+
})), (input.ReferenceDataSourceUpdates != null && {
|
|
1656
1666
|
ReferenceDataSourceUpdates: serializeAws_json1_1ReferenceDataSourceUpdates(input.ReferenceDataSourceUpdates, context),
|
|
1657
1667
|
}));
|
|
1658
1668
|
};
|
|
1659
1669
|
var serializeAws_json1_1CloudWatchLoggingOption = function (input, context) {
|
|
1660
|
-
return __assign(__assign({}, (input.LogStreamARN
|
|
1670
|
+
return __assign(__assign({}, (input.LogStreamARN != null && { LogStreamARN: input.LogStreamARN })), (input.RoleARN != null && { RoleARN: input.RoleARN }));
|
|
1661
1671
|
};
|
|
1662
1672
|
var serializeAws_json1_1CloudWatchLoggingOptions = function (input, context) {
|
|
1663
1673
|
return input
|
|
@@ -1670,9 +1680,7 @@ var serializeAws_json1_1CloudWatchLoggingOptions = function (input, context) {
|
|
|
1670
1680
|
});
|
|
1671
1681
|
};
|
|
1672
1682
|
var serializeAws_json1_1CloudWatchLoggingOptionUpdate = function (input, context) {
|
|
1673
|
-
return __assign(__assign(__assign({}, (input.CloudWatchLoggingOptionId
|
|
1674
|
-
input.CloudWatchLoggingOptionId !== null && { CloudWatchLoggingOptionId: input.CloudWatchLoggingOptionId })), (input.LogStreamARNUpdate !== undefined &&
|
|
1675
|
-
input.LogStreamARNUpdate !== null && { LogStreamARNUpdate: input.LogStreamARNUpdate })), (input.RoleARNUpdate !== undefined && input.RoleARNUpdate !== null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1683
|
+
return __assign(__assign(__assign({}, (input.CloudWatchLoggingOptionId != null && { CloudWatchLoggingOptionId: input.CloudWatchLoggingOptionId })), (input.LogStreamARNUpdate != null && { LogStreamARNUpdate: input.LogStreamARNUpdate })), (input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1676
1684
|
};
|
|
1677
1685
|
var serializeAws_json1_1CloudWatchLoggingOptionUpdates = function (input, context) {
|
|
1678
1686
|
return input
|
|
@@ -1685,86 +1693,64 @@ var serializeAws_json1_1CloudWatchLoggingOptionUpdates = function (input, contex
|
|
|
1685
1693
|
});
|
|
1686
1694
|
};
|
|
1687
1695
|
var serializeAws_json1_1CreateApplicationRequest = function (input, context) {
|
|
1688
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ApplicationCode
|
|
1689
|
-
input.ApplicationCode !== null && { ApplicationCode: input.ApplicationCode })), (input.ApplicationDescription !== undefined &&
|
|
1690
|
-
input.ApplicationDescription !== null && { ApplicationDescription: input.ApplicationDescription })), (input.ApplicationName !== undefined &&
|
|
1691
|
-
input.ApplicationName !== null && { ApplicationName: input.ApplicationName })), (input.CloudWatchLoggingOptions !== undefined &&
|
|
1692
|
-
input.CloudWatchLoggingOptions !== null && {
|
|
1696
|
+
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 && {
|
|
1693
1697
|
CloudWatchLoggingOptions: serializeAws_json1_1CloudWatchLoggingOptions(input.CloudWatchLoggingOptions, context),
|
|
1694
|
-
})), (input.Inputs
|
|
1695
|
-
input.Inputs !== null && { Inputs: serializeAws_json1_1Inputs(input.Inputs, context) })), (input.Outputs !== undefined &&
|
|
1696
|
-
input.Outputs !== null && { Outputs: serializeAws_json1_1Outputs(input.Outputs, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
1698
|
+
})), (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) }));
|
|
1697
1699
|
};
|
|
1698
1700
|
var serializeAws_json1_1CSVMappingParameters = function (input, context) {
|
|
1699
|
-
return __assign(__assign({}, (input.RecordColumnDelimiter
|
|
1700
|
-
input.RecordColumnDelimiter !== null && { RecordColumnDelimiter: input.RecordColumnDelimiter })), (input.RecordRowDelimiter !== undefined &&
|
|
1701
|
-
input.RecordRowDelimiter !== null && { RecordRowDelimiter: input.RecordRowDelimiter }));
|
|
1701
|
+
return __assign(__assign({}, (input.RecordColumnDelimiter != null && { RecordColumnDelimiter: input.RecordColumnDelimiter })), (input.RecordRowDelimiter != null && { RecordRowDelimiter: input.RecordRowDelimiter }));
|
|
1702
1702
|
};
|
|
1703
1703
|
var serializeAws_json1_1DeleteApplicationCloudWatchLoggingOptionRequest = function (input, context) {
|
|
1704
|
-
return __assign(__assign(__assign({}, (input.ApplicationName
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
input.CurrentApplicationVersionId !== null && { CurrentApplicationVersionId: input.CurrentApplicationVersionId }));
|
|
1704
|
+
return __assign(__assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CloudWatchLoggingOptionId != null && { CloudWatchLoggingOptionId: input.CloudWatchLoggingOptionId })), (input.CurrentApplicationVersionId != null && {
|
|
1705
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1706
|
+
}));
|
|
1708
1707
|
};
|
|
1709
1708
|
var serializeAws_json1_1DeleteApplicationInputProcessingConfigurationRequest = function (input, context) {
|
|
1710
|
-
return __assign(__assign(__assign({}, (input.ApplicationName
|
|
1711
|
-
|
|
1712
|
-
|
|
1709
|
+
return __assign(__assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CurrentApplicationVersionId != null && {
|
|
1710
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1711
|
+
})), (input.InputId != null && { InputId: input.InputId }));
|
|
1713
1712
|
};
|
|
1714
1713
|
var serializeAws_json1_1DeleteApplicationOutputRequest = function (input, context) {
|
|
1715
|
-
return __assign(__assign(__assign({}, (input.ApplicationName
|
|
1716
|
-
|
|
1717
|
-
|
|
1714
|
+
return __assign(__assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CurrentApplicationVersionId != null && {
|
|
1715
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1716
|
+
})), (input.OutputId != null && { OutputId: input.OutputId }));
|
|
1718
1717
|
};
|
|
1719
1718
|
var serializeAws_json1_1DeleteApplicationReferenceDataSourceRequest = function (input, context) {
|
|
1720
|
-
return __assign(__assign(__assign({}, (input.ApplicationName
|
|
1721
|
-
|
|
1722
|
-
|
|
1719
|
+
return __assign(__assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CurrentApplicationVersionId != null && {
|
|
1720
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
1721
|
+
})), (input.ReferenceId != null && { ReferenceId: input.ReferenceId }));
|
|
1723
1722
|
};
|
|
1724
1723
|
var serializeAws_json1_1DeleteApplicationRequest = function (input, context) {
|
|
1725
|
-
return __assign(__assign({}, (input.ApplicationName
|
|
1726
|
-
input.ApplicationName !== null && { ApplicationName: input.ApplicationName })), (input.CreateTimestamp !== undefined &&
|
|
1727
|
-
input.CreateTimestamp !== null && { CreateTimestamp: Math.round(input.CreateTimestamp.getTime() / 1000) }));
|
|
1724
|
+
return __assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.CreateTimestamp != null && { CreateTimestamp: Math.round(input.CreateTimestamp.getTime() / 1000) }));
|
|
1728
1725
|
};
|
|
1729
1726
|
var serializeAws_json1_1DescribeApplicationRequest = function (input, context) {
|
|
1730
|
-
return __assign({}, (input.ApplicationName
|
|
1731
|
-
input.ApplicationName !== null && { ApplicationName: input.ApplicationName }));
|
|
1727
|
+
return __assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName }));
|
|
1732
1728
|
};
|
|
1733
1729
|
var serializeAws_json1_1DestinationSchema = function (input, context) {
|
|
1734
|
-
return __assign({}, (input.RecordFormatType
|
|
1735
|
-
input.RecordFormatType !== null && { RecordFormatType: input.RecordFormatType }));
|
|
1730
|
+
return __assign({}, (input.RecordFormatType != null && { RecordFormatType: input.RecordFormatType }));
|
|
1736
1731
|
};
|
|
1737
1732
|
var serializeAws_json1_1DiscoverInputSchemaRequest = function (input, context) {
|
|
1738
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.InputProcessingConfiguration
|
|
1739
|
-
input.InputProcessingConfiguration !== null && {
|
|
1733
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.InputProcessingConfiguration != null && {
|
|
1740
1734
|
InputProcessingConfiguration: serializeAws_json1_1InputProcessingConfiguration(input.InputProcessingConfiguration, context),
|
|
1741
|
-
})), (input.InputStartingPositionConfiguration
|
|
1742
|
-
input.InputStartingPositionConfiguration !== null && {
|
|
1735
|
+
})), (input.InputStartingPositionConfiguration != null && {
|
|
1743
1736
|
InputStartingPositionConfiguration: serializeAws_json1_1InputStartingPositionConfiguration(input.InputStartingPositionConfiguration, context),
|
|
1744
|
-
})), (input.ResourceARN
|
|
1745
|
-
input.S3Configuration !== null && {
|
|
1737
|
+
})), (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.RoleARN != null && { RoleARN: input.RoleARN })), (input.S3Configuration != null && {
|
|
1746
1738
|
S3Configuration: serializeAws_json1_1S3Configuration(input.S3Configuration, context),
|
|
1747
1739
|
}));
|
|
1748
1740
|
};
|
|
1749
1741
|
var serializeAws_json1_1Input = function (input, context) {
|
|
1750
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.InputParallelism
|
|
1751
|
-
input.InputParallelism !== null && {
|
|
1742
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.InputParallelism != null && {
|
|
1752
1743
|
InputParallelism: serializeAws_json1_1InputParallelism(input.InputParallelism, context),
|
|
1753
|
-
})), (input.InputProcessingConfiguration
|
|
1754
|
-
input.InputProcessingConfiguration !== null && {
|
|
1744
|
+
})), (input.InputProcessingConfiguration != null && {
|
|
1755
1745
|
InputProcessingConfiguration: serializeAws_json1_1InputProcessingConfiguration(input.InputProcessingConfiguration, context),
|
|
1756
|
-
})), (input.InputSchema
|
|
1757
|
-
input.InputSchema !== null && { InputSchema: serializeAws_json1_1SourceSchema(input.InputSchema, context) })), (input.KinesisFirehoseInput !== undefined &&
|
|
1758
|
-
input.KinesisFirehoseInput !== null && {
|
|
1746
|
+
})), (input.InputSchema != null && { InputSchema: serializeAws_json1_1SourceSchema(input.InputSchema, context) })), (input.KinesisFirehoseInput != null && {
|
|
1759
1747
|
KinesisFirehoseInput: serializeAws_json1_1KinesisFirehoseInput(input.KinesisFirehoseInput, context),
|
|
1760
|
-
})), (input.KinesisStreamsInput
|
|
1761
|
-
input.KinesisStreamsInput !== null && {
|
|
1748
|
+
})), (input.KinesisStreamsInput != null && {
|
|
1762
1749
|
KinesisStreamsInput: serializeAws_json1_1KinesisStreamsInput(input.KinesisStreamsInput, context),
|
|
1763
|
-
})), (input.NamePrefix
|
|
1750
|
+
})), (input.NamePrefix != null && { NamePrefix: input.NamePrefix }));
|
|
1764
1751
|
};
|
|
1765
1752
|
var serializeAws_json1_1InputConfiguration = function (input, context) {
|
|
1766
|
-
return __assign(__assign({}, (input.Id
|
|
1767
|
-
input.InputStartingPositionConfiguration !== null && {
|
|
1753
|
+
return __assign(__assign({}, (input.Id != null && { Id: input.Id })), (input.InputStartingPositionConfiguration != null && {
|
|
1768
1754
|
InputStartingPositionConfiguration: serializeAws_json1_1InputStartingPositionConfiguration(input.InputStartingPositionConfiguration, context),
|
|
1769
1755
|
}));
|
|
1770
1756
|
};
|
|
@@ -1779,27 +1765,24 @@ var serializeAws_json1_1InputConfigurations = function (input, context) {
|
|
|
1779
1765
|
});
|
|
1780
1766
|
};
|
|
1781
1767
|
var serializeAws_json1_1InputLambdaProcessor = function (input, context) {
|
|
1782
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
1768
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.RoleARN != null && { RoleARN: input.RoleARN }));
|
|
1783
1769
|
};
|
|
1784
1770
|
var serializeAws_json1_1InputLambdaProcessorUpdate = function (input, context) {
|
|
1785
|
-
return __assign(__assign({}, (input.ResourceARNUpdate
|
|
1786
|
-
input.ResourceARNUpdate !== null && { ResourceARNUpdate: input.ResourceARNUpdate })), (input.RoleARNUpdate !== undefined && input.RoleARNUpdate !== null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1771
|
+
return __assign(__assign({}, (input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate })), (input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1787
1772
|
};
|
|
1788
1773
|
var serializeAws_json1_1InputParallelism = function (input, context) {
|
|
1789
|
-
return __assign({}, (input.Count
|
|
1774
|
+
return __assign({}, (input.Count != null && { Count: input.Count }));
|
|
1790
1775
|
};
|
|
1791
1776
|
var serializeAws_json1_1InputParallelismUpdate = function (input, context) {
|
|
1792
|
-
return __assign({}, (input.CountUpdate
|
|
1777
|
+
return __assign({}, (input.CountUpdate != null && { CountUpdate: input.CountUpdate }));
|
|
1793
1778
|
};
|
|
1794
1779
|
var serializeAws_json1_1InputProcessingConfiguration = function (input, context) {
|
|
1795
|
-
return __assign({}, (input.InputLambdaProcessor
|
|
1796
|
-
input.InputLambdaProcessor !== null && {
|
|
1780
|
+
return __assign({}, (input.InputLambdaProcessor != null && {
|
|
1797
1781
|
InputLambdaProcessor: serializeAws_json1_1InputLambdaProcessor(input.InputLambdaProcessor, context),
|
|
1798
1782
|
}));
|
|
1799
1783
|
};
|
|
1800
1784
|
var serializeAws_json1_1InputProcessingConfigurationUpdate = function (input, context) {
|
|
1801
|
-
return __assign({}, (input.InputLambdaProcessorUpdate
|
|
1802
|
-
input.InputLambdaProcessorUpdate !== null && {
|
|
1785
|
+
return __assign({}, (input.InputLambdaProcessorUpdate != null && {
|
|
1803
1786
|
InputLambdaProcessorUpdate: serializeAws_json1_1InputLambdaProcessorUpdate(input.InputLambdaProcessorUpdate, context),
|
|
1804
1787
|
}));
|
|
1805
1788
|
};
|
|
@@ -1814,37 +1797,27 @@ var serializeAws_json1_1Inputs = function (input, context) {
|
|
|
1814
1797
|
});
|
|
1815
1798
|
};
|
|
1816
1799
|
var serializeAws_json1_1InputSchemaUpdate = function (input, context) {
|
|
1817
|
-
return __assign(__assign(__assign({}, (input.RecordColumnUpdates
|
|
1818
|
-
input.RecordColumnUpdates !== null && {
|
|
1800
|
+
return __assign(__assign(__assign({}, (input.RecordColumnUpdates != null && {
|
|
1819
1801
|
RecordColumnUpdates: serializeAws_json1_1RecordColumns(input.RecordColumnUpdates, context),
|
|
1820
|
-
})), (input.RecordEncodingUpdate
|
|
1821
|
-
input.RecordEncodingUpdate !== null && { RecordEncodingUpdate: input.RecordEncodingUpdate })), (input.RecordFormatUpdate !== undefined &&
|
|
1822
|
-
input.RecordFormatUpdate !== null && {
|
|
1802
|
+
})), (input.RecordEncodingUpdate != null && { RecordEncodingUpdate: input.RecordEncodingUpdate })), (input.RecordFormatUpdate != null && {
|
|
1823
1803
|
RecordFormatUpdate: serializeAws_json1_1RecordFormat(input.RecordFormatUpdate, context),
|
|
1824
1804
|
}));
|
|
1825
1805
|
};
|
|
1826
1806
|
var serializeAws_json1_1InputStartingPositionConfiguration = function (input, context) {
|
|
1827
|
-
return __assign({}, (input.InputStartingPosition
|
|
1828
|
-
input.InputStartingPosition !== null && { InputStartingPosition: input.InputStartingPosition }));
|
|
1807
|
+
return __assign({}, (input.InputStartingPosition != null && { InputStartingPosition: input.InputStartingPosition }));
|
|
1829
1808
|
};
|
|
1830
1809
|
var serializeAws_json1_1InputUpdate = function (input, context) {
|
|
1831
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.InputId
|
|
1832
|
-
input.InputParallelismUpdate !== null && {
|
|
1810
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.InputId != null && { InputId: input.InputId })), (input.InputParallelismUpdate != null && {
|
|
1833
1811
|
InputParallelismUpdate: serializeAws_json1_1InputParallelismUpdate(input.InputParallelismUpdate, context),
|
|
1834
|
-
})), (input.InputProcessingConfigurationUpdate
|
|
1835
|
-
input.InputProcessingConfigurationUpdate !== null && {
|
|
1812
|
+
})), (input.InputProcessingConfigurationUpdate != null && {
|
|
1836
1813
|
InputProcessingConfigurationUpdate: serializeAws_json1_1InputProcessingConfigurationUpdate(input.InputProcessingConfigurationUpdate, context),
|
|
1837
|
-
})), (input.InputSchemaUpdate
|
|
1838
|
-
input.InputSchemaUpdate !== null && {
|
|
1814
|
+
})), (input.InputSchemaUpdate != null && {
|
|
1839
1815
|
InputSchemaUpdate: serializeAws_json1_1InputSchemaUpdate(input.InputSchemaUpdate, context),
|
|
1840
|
-
})), (input.KinesisFirehoseInputUpdate
|
|
1841
|
-
input.KinesisFirehoseInputUpdate !== null && {
|
|
1816
|
+
})), (input.KinesisFirehoseInputUpdate != null && {
|
|
1842
1817
|
KinesisFirehoseInputUpdate: serializeAws_json1_1KinesisFirehoseInputUpdate(input.KinesisFirehoseInputUpdate, context),
|
|
1843
|
-
})), (input.KinesisStreamsInputUpdate
|
|
1844
|
-
input.KinesisStreamsInputUpdate !== null && {
|
|
1818
|
+
})), (input.KinesisStreamsInputUpdate != null && {
|
|
1845
1819
|
KinesisStreamsInputUpdate: serializeAws_json1_1KinesisStreamsInputUpdate(input.KinesisStreamsInputUpdate, context),
|
|
1846
|
-
})), (input.NamePrefixUpdate
|
|
1847
|
-
input.NamePrefixUpdate !== null && { NamePrefixUpdate: input.NamePrefixUpdate }));
|
|
1820
|
+
})), (input.NamePrefixUpdate != null && { NamePrefixUpdate: input.NamePrefixUpdate }));
|
|
1848
1821
|
};
|
|
1849
1822
|
var serializeAws_json1_1InputUpdates = function (input, context) {
|
|
1850
1823
|
return input
|
|
@@ -1857,73 +1830,61 @@ var serializeAws_json1_1InputUpdates = function (input, context) {
|
|
|
1857
1830
|
});
|
|
1858
1831
|
};
|
|
1859
1832
|
var serializeAws_json1_1JSONMappingParameters = function (input, context) {
|
|
1860
|
-
return __assign({}, (input.RecordRowPath
|
|
1833
|
+
return __assign({}, (input.RecordRowPath != null && { RecordRowPath: input.RecordRowPath }));
|
|
1861
1834
|
};
|
|
1862
1835
|
var serializeAws_json1_1KinesisFirehoseInput = function (input, context) {
|
|
1863
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
1836
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.RoleARN != null && { RoleARN: input.RoleARN }));
|
|
1864
1837
|
};
|
|
1865
1838
|
var serializeAws_json1_1KinesisFirehoseInputUpdate = function (input, context) {
|
|
1866
|
-
return __assign(__assign({}, (input.ResourceARNUpdate
|
|
1867
|
-
input.ResourceARNUpdate !== null && { ResourceARNUpdate: input.ResourceARNUpdate })), (input.RoleARNUpdate !== undefined && input.RoleARNUpdate !== null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1839
|
+
return __assign(__assign({}, (input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate })), (input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1868
1840
|
};
|
|
1869
1841
|
var serializeAws_json1_1KinesisFirehoseOutput = function (input, context) {
|
|
1870
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
1842
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.RoleARN != null && { RoleARN: input.RoleARN }));
|
|
1871
1843
|
};
|
|
1872
1844
|
var serializeAws_json1_1KinesisFirehoseOutputUpdate = function (input, context) {
|
|
1873
|
-
return __assign(__assign({}, (input.ResourceARNUpdate
|
|
1874
|
-
input.ResourceARNUpdate !== null && { ResourceARNUpdate: input.ResourceARNUpdate })), (input.RoleARNUpdate !== undefined && input.RoleARNUpdate !== null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1845
|
+
return __assign(__assign({}, (input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate })), (input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1875
1846
|
};
|
|
1876
1847
|
var serializeAws_json1_1KinesisStreamsInput = function (input, context) {
|
|
1877
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
1848
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.RoleARN != null && { RoleARN: input.RoleARN }));
|
|
1878
1849
|
};
|
|
1879
1850
|
var serializeAws_json1_1KinesisStreamsInputUpdate = function (input, context) {
|
|
1880
|
-
return __assign(__assign({}, (input.ResourceARNUpdate
|
|
1881
|
-
input.ResourceARNUpdate !== null && { ResourceARNUpdate: input.ResourceARNUpdate })), (input.RoleARNUpdate !== undefined && input.RoleARNUpdate !== null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1851
|
+
return __assign(__assign({}, (input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate })), (input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1882
1852
|
};
|
|
1883
1853
|
var serializeAws_json1_1KinesisStreamsOutput = function (input, context) {
|
|
1884
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
1854
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.RoleARN != null && { RoleARN: input.RoleARN }));
|
|
1885
1855
|
};
|
|
1886
1856
|
var serializeAws_json1_1KinesisStreamsOutputUpdate = function (input, context) {
|
|
1887
|
-
return __assign(__assign({}, (input.ResourceARNUpdate
|
|
1888
|
-
input.ResourceARNUpdate !== null && { ResourceARNUpdate: input.ResourceARNUpdate })), (input.RoleARNUpdate !== undefined && input.RoleARNUpdate !== null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1857
|
+
return __assign(__assign({}, (input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate })), (input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1889
1858
|
};
|
|
1890
1859
|
var serializeAws_json1_1LambdaOutput = function (input, context) {
|
|
1891
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
1860
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.RoleARN != null && { RoleARN: input.RoleARN }));
|
|
1892
1861
|
};
|
|
1893
1862
|
var serializeAws_json1_1LambdaOutputUpdate = function (input, context) {
|
|
1894
|
-
return __assign(__assign({}, (input.ResourceARNUpdate
|
|
1895
|
-
input.ResourceARNUpdate !== null && { ResourceARNUpdate: input.ResourceARNUpdate })), (input.RoleARNUpdate !== undefined && input.RoleARNUpdate !== null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1863
|
+
return __assign(__assign({}, (input.ResourceARNUpdate != null && { ResourceARNUpdate: input.ResourceARNUpdate })), (input.RoleARNUpdate != null && { RoleARNUpdate: input.RoleARNUpdate }));
|
|
1896
1864
|
};
|
|
1897
1865
|
var serializeAws_json1_1ListApplicationsRequest = function (input, context) {
|
|
1898
|
-
return __assign(__assign({}, (input.ExclusiveStartApplicationName
|
|
1899
|
-
input.ExclusiveStartApplicationName !== null && {
|
|
1866
|
+
return __assign(__assign({}, (input.ExclusiveStartApplicationName != null && {
|
|
1900
1867
|
ExclusiveStartApplicationName: input.ExclusiveStartApplicationName,
|
|
1901
|
-
})), (input.Limit
|
|
1868
|
+
})), (input.Limit != null && { Limit: input.Limit }));
|
|
1902
1869
|
};
|
|
1903
1870
|
var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
|
|
1904
|
-
return __assign({}, (input.ResourceARN
|
|
1871
|
+
return __assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN }));
|
|
1905
1872
|
};
|
|
1906
1873
|
var serializeAws_json1_1MappingParameters = function (input, context) {
|
|
1907
|
-
return __assign(__assign({}, (input.CSVMappingParameters
|
|
1908
|
-
input.CSVMappingParameters !== null && {
|
|
1874
|
+
return __assign(__assign({}, (input.CSVMappingParameters != null && {
|
|
1909
1875
|
CSVMappingParameters: serializeAws_json1_1CSVMappingParameters(input.CSVMappingParameters, context),
|
|
1910
|
-
})), (input.JSONMappingParameters
|
|
1911
|
-
input.JSONMappingParameters !== null && {
|
|
1876
|
+
})), (input.JSONMappingParameters != null && {
|
|
1912
1877
|
JSONMappingParameters: serializeAws_json1_1JSONMappingParameters(input.JSONMappingParameters, context),
|
|
1913
1878
|
}));
|
|
1914
1879
|
};
|
|
1915
1880
|
var serializeAws_json1_1Output = function (input, context) {
|
|
1916
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.DestinationSchema
|
|
1917
|
-
input.DestinationSchema !== null && {
|
|
1881
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.DestinationSchema != null && {
|
|
1918
1882
|
DestinationSchema: serializeAws_json1_1DestinationSchema(input.DestinationSchema, context),
|
|
1919
|
-
})), (input.KinesisFirehoseOutput
|
|
1920
|
-
input.KinesisFirehoseOutput !== null && {
|
|
1883
|
+
})), (input.KinesisFirehoseOutput != null && {
|
|
1921
1884
|
KinesisFirehoseOutput: serializeAws_json1_1KinesisFirehoseOutput(input.KinesisFirehoseOutput, context),
|
|
1922
|
-
})), (input.KinesisStreamsOutput
|
|
1923
|
-
input.KinesisStreamsOutput !== null && {
|
|
1885
|
+
})), (input.KinesisStreamsOutput != null && {
|
|
1924
1886
|
KinesisStreamsOutput: serializeAws_json1_1KinesisStreamsOutput(input.KinesisStreamsOutput, context),
|
|
1925
|
-
})), (input.LambdaOutput
|
|
1926
|
-
input.LambdaOutput !== null && { LambdaOutput: serializeAws_json1_1LambdaOutput(input.LambdaOutput, context) })), (input.Name !== undefined && input.Name !== null && { Name: input.Name }));
|
|
1887
|
+
})), (input.LambdaOutput != null && { LambdaOutput: serializeAws_json1_1LambdaOutput(input.LambdaOutput, context) })), (input.Name != null && { Name: input.Name }));
|
|
1927
1888
|
};
|
|
1928
1889
|
var serializeAws_json1_1Outputs = function (input, context) {
|
|
1929
1890
|
return input
|
|
@@ -1936,19 +1897,15 @@ var serializeAws_json1_1Outputs = function (input, context) {
|
|
|
1936
1897
|
});
|
|
1937
1898
|
};
|
|
1938
1899
|
var serializeAws_json1_1OutputUpdate = function (input, context) {
|
|
1939
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.DestinationSchemaUpdate
|
|
1940
|
-
input.DestinationSchemaUpdate !== null && {
|
|
1900
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.DestinationSchemaUpdate != null && {
|
|
1941
1901
|
DestinationSchemaUpdate: serializeAws_json1_1DestinationSchema(input.DestinationSchemaUpdate, context),
|
|
1942
|
-
})), (input.KinesisFirehoseOutputUpdate
|
|
1943
|
-
input.KinesisFirehoseOutputUpdate !== null && {
|
|
1902
|
+
})), (input.KinesisFirehoseOutputUpdate != null && {
|
|
1944
1903
|
KinesisFirehoseOutputUpdate: serializeAws_json1_1KinesisFirehoseOutputUpdate(input.KinesisFirehoseOutputUpdate, context),
|
|
1945
|
-
})), (input.KinesisStreamsOutputUpdate
|
|
1946
|
-
input.KinesisStreamsOutputUpdate !== null && {
|
|
1904
|
+
})), (input.KinesisStreamsOutputUpdate != null && {
|
|
1947
1905
|
KinesisStreamsOutputUpdate: serializeAws_json1_1KinesisStreamsOutputUpdate(input.KinesisStreamsOutputUpdate, context),
|
|
1948
|
-
})), (input.LambdaOutputUpdate
|
|
1949
|
-
input.LambdaOutputUpdate !== null && {
|
|
1906
|
+
})), (input.LambdaOutputUpdate != null && {
|
|
1950
1907
|
LambdaOutputUpdate: serializeAws_json1_1LambdaOutputUpdate(input.LambdaOutputUpdate, context),
|
|
1951
|
-
})), (input.NameUpdate
|
|
1908
|
+
})), (input.NameUpdate != null && { NameUpdate: input.NameUpdate })), (input.OutputId != null && { OutputId: input.OutputId }));
|
|
1952
1909
|
};
|
|
1953
1910
|
var serializeAws_json1_1OutputUpdates = function (input, context) {
|
|
1954
1911
|
return input
|
|
@@ -1961,7 +1918,7 @@ var serializeAws_json1_1OutputUpdates = function (input, context) {
|
|
|
1961
1918
|
});
|
|
1962
1919
|
};
|
|
1963
1920
|
var serializeAws_json1_1RecordColumn = function (input, context) {
|
|
1964
|
-
return __assign(__assign(__assign({}, (input.Mapping
|
|
1921
|
+
return __assign(__assign(__assign({}, (input.Mapping != null && { Mapping: input.Mapping })), (input.Name != null && { Name: input.Name })), (input.SqlType != null && { SqlType: input.SqlType }));
|
|
1965
1922
|
};
|
|
1966
1923
|
var serializeAws_json1_1RecordColumns = function (input, context) {
|
|
1967
1924
|
return input
|
|
@@ -1974,30 +1931,23 @@ var serializeAws_json1_1RecordColumns = function (input, context) {
|
|
|
1974
1931
|
});
|
|
1975
1932
|
};
|
|
1976
1933
|
var serializeAws_json1_1RecordFormat = function (input, context) {
|
|
1977
|
-
return __assign(__assign({}, (input.MappingParameters
|
|
1978
|
-
input.MappingParameters !== null && {
|
|
1934
|
+
return __assign(__assign({}, (input.MappingParameters != null && {
|
|
1979
1935
|
MappingParameters: serializeAws_json1_1MappingParameters(input.MappingParameters, context),
|
|
1980
|
-
})), (input.RecordFormatType
|
|
1981
|
-
input.RecordFormatType !== null && { RecordFormatType: input.RecordFormatType }));
|
|
1936
|
+
})), (input.RecordFormatType != null && { RecordFormatType: input.RecordFormatType }));
|
|
1982
1937
|
};
|
|
1983
1938
|
var serializeAws_json1_1ReferenceDataSource = function (input, context) {
|
|
1984
|
-
return __assign(__assign(__assign({}, (input.ReferenceSchema
|
|
1985
|
-
input.ReferenceSchema !== null && {
|
|
1939
|
+
return __assign(__assign(__assign({}, (input.ReferenceSchema != null && {
|
|
1986
1940
|
ReferenceSchema: serializeAws_json1_1SourceSchema(input.ReferenceSchema, context),
|
|
1987
|
-
})), (input.S3ReferenceDataSource
|
|
1988
|
-
input.S3ReferenceDataSource !== null && {
|
|
1941
|
+
})), (input.S3ReferenceDataSource != null && {
|
|
1989
1942
|
S3ReferenceDataSource: serializeAws_json1_1S3ReferenceDataSource(input.S3ReferenceDataSource, context),
|
|
1990
|
-
})), (input.TableName
|
|
1943
|
+
})), (input.TableName != null && { TableName: input.TableName }));
|
|
1991
1944
|
};
|
|
1992
1945
|
var serializeAws_json1_1ReferenceDataSourceUpdate = function (input, context) {
|
|
1993
|
-
return __assign(__assign(__assign(__assign({}, (input.ReferenceId
|
|
1994
|
-
input.ReferenceSchemaUpdate !== null && {
|
|
1946
|
+
return __assign(__assign(__assign(__assign({}, (input.ReferenceId != null && { ReferenceId: input.ReferenceId })), (input.ReferenceSchemaUpdate != null && {
|
|
1995
1947
|
ReferenceSchemaUpdate: serializeAws_json1_1SourceSchema(input.ReferenceSchemaUpdate, context),
|
|
1996
|
-
})), (input.S3ReferenceDataSourceUpdate
|
|
1997
|
-
input.S3ReferenceDataSourceUpdate !== null && {
|
|
1948
|
+
})), (input.S3ReferenceDataSourceUpdate != null && {
|
|
1998
1949
|
S3ReferenceDataSourceUpdate: serializeAws_json1_1S3ReferenceDataSourceUpdate(input.S3ReferenceDataSourceUpdate, context),
|
|
1999
|
-
})), (input.TableNameUpdate
|
|
2000
|
-
input.TableNameUpdate !== null && { TableNameUpdate: input.TableNameUpdate }));
|
|
1950
|
+
})), (input.TableNameUpdate != null && { TableNameUpdate: input.TableNameUpdate }));
|
|
2001
1951
|
};
|
|
2002
1952
|
var serializeAws_json1_1ReferenceDataSourceUpdates = function (input, context) {
|
|
2003
1953
|
return input
|
|
@@ -2010,38 +1960,29 @@ var serializeAws_json1_1ReferenceDataSourceUpdates = function (input, context) {
|
|
|
2010
1960
|
});
|
|
2011
1961
|
};
|
|
2012
1962
|
var serializeAws_json1_1S3Configuration = function (input, context) {
|
|
2013
|
-
return __assign(__assign(__assign({}, (input.BucketARN
|
|
1963
|
+
return __assign(__assign(__assign({}, (input.BucketARN != null && { BucketARN: input.BucketARN })), (input.FileKey != null && { FileKey: input.FileKey })), (input.RoleARN != null && { RoleARN: input.RoleARN }));
|
|
2014
1964
|
};
|
|
2015
1965
|
var serializeAws_json1_1S3ReferenceDataSource = function (input, context) {
|
|
2016
|
-
return __assign(__assign(__assign({}, (input.BucketARN
|
|
2017
|
-
input.ReferenceRoleARN !== null && { ReferenceRoleARN: input.ReferenceRoleARN }));
|
|
1966
|
+
return __assign(__assign(__assign({}, (input.BucketARN != null && { BucketARN: input.BucketARN })), (input.FileKey != null && { FileKey: input.FileKey })), (input.ReferenceRoleARN != null && { ReferenceRoleARN: input.ReferenceRoleARN }));
|
|
2018
1967
|
};
|
|
2019
1968
|
var serializeAws_json1_1S3ReferenceDataSourceUpdate = function (input, context) {
|
|
2020
|
-
return __assign(__assign(__assign({}, (input.BucketARNUpdate
|
|
2021
|
-
input.BucketARNUpdate !== null && { BucketARNUpdate: input.BucketARNUpdate })), (input.FileKeyUpdate !== undefined && input.FileKeyUpdate !== null && { FileKeyUpdate: input.FileKeyUpdate })), (input.ReferenceRoleARNUpdate !== undefined &&
|
|
2022
|
-
input.ReferenceRoleARNUpdate !== null && { ReferenceRoleARNUpdate: input.ReferenceRoleARNUpdate }));
|
|
1969
|
+
return __assign(__assign(__assign({}, (input.BucketARNUpdate != null && { BucketARNUpdate: input.BucketARNUpdate })), (input.FileKeyUpdate != null && { FileKeyUpdate: input.FileKeyUpdate })), (input.ReferenceRoleARNUpdate != null && { ReferenceRoleARNUpdate: input.ReferenceRoleARNUpdate }));
|
|
2023
1970
|
};
|
|
2024
1971
|
var serializeAws_json1_1SourceSchema = function (input, context) {
|
|
2025
|
-
return __assign(__assign(__assign({}, (input.RecordColumns
|
|
2026
|
-
input.RecordColumns !== null && {
|
|
1972
|
+
return __assign(__assign(__assign({}, (input.RecordColumns != null && {
|
|
2027
1973
|
RecordColumns: serializeAws_json1_1RecordColumns(input.RecordColumns, context),
|
|
2028
|
-
})), (input.RecordEncoding
|
|
2029
|
-
input.RecordEncoding !== null && { RecordEncoding: input.RecordEncoding })), (input.RecordFormat !== undefined &&
|
|
2030
|
-
input.RecordFormat !== null && { RecordFormat: serializeAws_json1_1RecordFormat(input.RecordFormat, context) }));
|
|
1974
|
+
})), (input.RecordEncoding != null && { RecordEncoding: input.RecordEncoding })), (input.RecordFormat != null && { RecordFormat: serializeAws_json1_1RecordFormat(input.RecordFormat, context) }));
|
|
2031
1975
|
};
|
|
2032
1976
|
var serializeAws_json1_1StartApplicationRequest = function (input, context) {
|
|
2033
|
-
return __assign(__assign({}, (input.ApplicationName
|
|
2034
|
-
input.ApplicationName !== null && { ApplicationName: input.ApplicationName })), (input.InputConfigurations !== undefined &&
|
|
2035
|
-
input.InputConfigurations !== null && {
|
|
1977
|
+
return __assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.InputConfigurations != null && {
|
|
2036
1978
|
InputConfigurations: serializeAws_json1_1InputConfigurations(input.InputConfigurations, context),
|
|
2037
1979
|
}));
|
|
2038
1980
|
};
|
|
2039
1981
|
var serializeAws_json1_1StopApplicationRequest = function (input, context) {
|
|
2040
|
-
return __assign({}, (input.ApplicationName
|
|
2041
|
-
input.ApplicationName !== null && { ApplicationName: input.ApplicationName }));
|
|
1982
|
+
return __assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName }));
|
|
2042
1983
|
};
|
|
2043
1984
|
var serializeAws_json1_1Tag = function (input, context) {
|
|
2044
|
-
return __assign(__assign({}, (input.Key
|
|
1985
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
2045
1986
|
};
|
|
2046
1987
|
var serializeAws_json1_1TagKeys = function (input, context) {
|
|
2047
1988
|
return input
|
|
@@ -2054,7 +1995,7 @@ var serializeAws_json1_1TagKeys = function (input, context) {
|
|
|
2054
1995
|
});
|
|
2055
1996
|
};
|
|
2056
1997
|
var serializeAws_json1_1TagResourceRequest = function (input, context) {
|
|
2057
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
1998
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }));
|
|
2058
1999
|
};
|
|
2059
2000
|
var serializeAws_json1_1Tags = function (input, context) {
|
|
2060
2001
|
return input
|
|
@@ -2067,16 +2008,14 @@ var serializeAws_json1_1Tags = function (input, context) {
|
|
|
2067
2008
|
});
|
|
2068
2009
|
};
|
|
2069
2010
|
var serializeAws_json1_1UntagResourceRequest = function (input, context) {
|
|
2070
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
2071
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeys(input.TagKeys, context) }));
|
|
2011
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeys(input.TagKeys, context) }));
|
|
2072
2012
|
};
|
|
2073
2013
|
var serializeAws_json1_1UpdateApplicationRequest = function (input, context) {
|
|
2074
|
-
return __assign(__assign(__assign({}, (input.ApplicationName
|
|
2075
|
-
input.ApplicationName !== null && { ApplicationName: input.ApplicationName })), (input.ApplicationUpdate !== undefined &&
|
|
2076
|
-
input.ApplicationUpdate !== null && {
|
|
2014
|
+
return __assign(__assign(__assign({}, (input.ApplicationName != null && { ApplicationName: input.ApplicationName })), (input.ApplicationUpdate != null && {
|
|
2077
2015
|
ApplicationUpdate: serializeAws_json1_1ApplicationUpdate(input.ApplicationUpdate, context),
|
|
2078
|
-
})), (input.CurrentApplicationVersionId
|
|
2079
|
-
|
|
2016
|
+
})), (input.CurrentApplicationVersionId != null && {
|
|
2017
|
+
CurrentApplicationVersionId: input.CurrentApplicationVersionId,
|
|
2018
|
+
}));
|
|
2080
2019
|
};
|
|
2081
2020
|
var deserializeAws_json1_1AddApplicationCloudWatchLoggingOptionResponse = function (output, context) {
|
|
2082
2021
|
return {};
|
|
@@ -2101,22 +2040,22 @@ var deserializeAws_json1_1ApplicationDetail = function (output, context) {
|
|
|
2101
2040
|
ApplicationName: __expectString(output.ApplicationName),
|
|
2102
2041
|
ApplicationStatus: __expectString(output.ApplicationStatus),
|
|
2103
2042
|
ApplicationVersionId: __expectLong(output.ApplicationVersionId),
|
|
2104
|
-
CloudWatchLoggingOptionDescriptions: output.CloudWatchLoggingOptionDescriptions
|
|
2043
|
+
CloudWatchLoggingOptionDescriptions: output.CloudWatchLoggingOptionDescriptions != null
|
|
2105
2044
|
? deserializeAws_json1_1CloudWatchLoggingOptionDescriptions(output.CloudWatchLoggingOptionDescriptions, context)
|
|
2106
2045
|
: undefined,
|
|
2107
|
-
CreateTimestamp: output.CreateTimestamp
|
|
2046
|
+
CreateTimestamp: output.CreateTimestamp != null
|
|
2108
2047
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateTimestamp)))
|
|
2109
2048
|
: undefined,
|
|
2110
|
-
InputDescriptions: output.InputDescriptions
|
|
2049
|
+
InputDescriptions: output.InputDescriptions != null
|
|
2111
2050
|
? deserializeAws_json1_1InputDescriptions(output.InputDescriptions, context)
|
|
2112
2051
|
: undefined,
|
|
2113
|
-
LastUpdateTimestamp: output.LastUpdateTimestamp
|
|
2052
|
+
LastUpdateTimestamp: output.LastUpdateTimestamp != null
|
|
2114
2053
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateTimestamp)))
|
|
2115
2054
|
: undefined,
|
|
2116
|
-
OutputDescriptions: output.OutputDescriptions
|
|
2055
|
+
OutputDescriptions: output.OutputDescriptions != null
|
|
2117
2056
|
? deserializeAws_json1_1OutputDescriptions(output.OutputDescriptions, context)
|
|
2118
2057
|
: undefined,
|
|
2119
|
-
ReferenceDataSourceDescriptions: output.ReferenceDataSourceDescriptions
|
|
2058
|
+
ReferenceDataSourceDescriptions: output.ReferenceDataSourceDescriptions != null
|
|
2120
2059
|
? deserializeAws_json1_1ReferenceDataSourceDescriptions(output.ReferenceDataSourceDescriptions, context)
|
|
2121
2060
|
: undefined,
|
|
2122
2061
|
};
|
|
@@ -2169,7 +2108,7 @@ var deserializeAws_json1_1ConcurrentModificationException = function (output, co
|
|
|
2169
2108
|
};
|
|
2170
2109
|
var deserializeAws_json1_1CreateApplicationResponse = function (output, context) {
|
|
2171
2110
|
return {
|
|
2172
|
-
ApplicationSummary: output.ApplicationSummary
|
|
2111
|
+
ApplicationSummary: output.ApplicationSummary != null
|
|
2173
2112
|
? deserializeAws_json1_1ApplicationSummary(output.ApplicationSummary, context)
|
|
2174
2113
|
: undefined,
|
|
2175
2114
|
};
|
|
@@ -2197,7 +2136,7 @@ var deserializeAws_json1_1DeleteApplicationResponse = function (output, context)
|
|
|
2197
2136
|
};
|
|
2198
2137
|
var deserializeAws_json1_1DescribeApplicationResponse = function (output, context) {
|
|
2199
2138
|
return {
|
|
2200
|
-
ApplicationDetail: output.ApplicationDetail
|
|
2139
|
+
ApplicationDetail: output.ApplicationDetail != null
|
|
2201
2140
|
? deserializeAws_json1_1ApplicationDetail(output.ApplicationDetail, context)
|
|
2202
2141
|
: undefined,
|
|
2203
2142
|
};
|
|
@@ -2209,16 +2148,14 @@ var deserializeAws_json1_1DestinationSchema = function (output, context) {
|
|
|
2209
2148
|
};
|
|
2210
2149
|
var deserializeAws_json1_1DiscoverInputSchemaResponse = function (output, context) {
|
|
2211
2150
|
return {
|
|
2212
|
-
InputSchema: output.InputSchema
|
|
2213
|
-
|
|
2214
|
-
: undefined,
|
|
2215
|
-
ParsedInputRecords: output.ParsedInputRecords !== undefined && output.ParsedInputRecords !== null
|
|
2151
|
+
InputSchema: output.InputSchema != null ? deserializeAws_json1_1SourceSchema(output.InputSchema, context) : undefined,
|
|
2152
|
+
ParsedInputRecords: output.ParsedInputRecords != null
|
|
2216
2153
|
? deserializeAws_json1_1ParsedInputRecords(output.ParsedInputRecords, context)
|
|
2217
2154
|
: undefined,
|
|
2218
|
-
ProcessedInputRecords: output.ProcessedInputRecords
|
|
2155
|
+
ProcessedInputRecords: output.ProcessedInputRecords != null
|
|
2219
2156
|
? deserializeAws_json1_1ProcessedInputRecords(output.ProcessedInputRecords, context)
|
|
2220
2157
|
: undefined,
|
|
2221
|
-
RawInputRecords: output.RawInputRecords
|
|
2158
|
+
RawInputRecords: output.RawInputRecords != null
|
|
2222
2159
|
? deserializeAws_json1_1RawInputRecords(output.RawInputRecords, context)
|
|
2223
2160
|
: undefined,
|
|
2224
2161
|
};
|
|
@@ -2236,27 +2173,24 @@ var deserializeAws_json1_1InAppStreamNames = function (output, context) {
|
|
|
2236
2173
|
};
|
|
2237
2174
|
var deserializeAws_json1_1InputDescription = function (output, context) {
|
|
2238
2175
|
return {
|
|
2239
|
-
InAppStreamNames: output.InAppStreamNames
|
|
2176
|
+
InAppStreamNames: output.InAppStreamNames != null
|
|
2240
2177
|
? deserializeAws_json1_1InAppStreamNames(output.InAppStreamNames, context)
|
|
2241
2178
|
: undefined,
|
|
2242
2179
|
InputId: __expectString(output.InputId),
|
|
2243
|
-
InputParallelism: output.InputParallelism
|
|
2180
|
+
InputParallelism: output.InputParallelism != null
|
|
2244
2181
|
? deserializeAws_json1_1InputParallelism(output.InputParallelism, context)
|
|
2245
2182
|
: undefined,
|
|
2246
|
-
InputProcessingConfigurationDescription: output.InputProcessingConfigurationDescription
|
|
2247
|
-
output.InputProcessingConfigurationDescription !== null
|
|
2183
|
+
InputProcessingConfigurationDescription: output.InputProcessingConfigurationDescription != null
|
|
2248
2184
|
? deserializeAws_json1_1InputProcessingConfigurationDescription(output.InputProcessingConfigurationDescription, context)
|
|
2249
2185
|
: undefined,
|
|
2250
|
-
InputSchema: output.InputSchema
|
|
2251
|
-
|
|
2252
|
-
: undefined,
|
|
2253
|
-
InputStartingPositionConfiguration: output.InputStartingPositionConfiguration !== undefined && output.InputStartingPositionConfiguration !== null
|
|
2186
|
+
InputSchema: output.InputSchema != null ? deserializeAws_json1_1SourceSchema(output.InputSchema, context) : undefined,
|
|
2187
|
+
InputStartingPositionConfiguration: output.InputStartingPositionConfiguration != null
|
|
2254
2188
|
? deserializeAws_json1_1InputStartingPositionConfiguration(output.InputStartingPositionConfiguration, context)
|
|
2255
2189
|
: undefined,
|
|
2256
|
-
KinesisFirehoseInputDescription: output.KinesisFirehoseInputDescription
|
|
2190
|
+
KinesisFirehoseInputDescription: output.KinesisFirehoseInputDescription != null
|
|
2257
2191
|
? deserializeAws_json1_1KinesisFirehoseInputDescription(output.KinesisFirehoseInputDescription, context)
|
|
2258
2192
|
: undefined,
|
|
2259
|
-
KinesisStreamsInputDescription: output.KinesisStreamsInputDescription
|
|
2193
|
+
KinesisStreamsInputDescription: output.KinesisStreamsInputDescription != null
|
|
2260
2194
|
? deserializeAws_json1_1KinesisStreamsInputDescription(output.KinesisStreamsInputDescription, context)
|
|
2261
2195
|
: undefined,
|
|
2262
2196
|
NamePrefix: __expectString(output.NamePrefix),
|
|
@@ -2286,7 +2220,7 @@ var deserializeAws_json1_1InputParallelism = function (output, context) {
|
|
|
2286
2220
|
};
|
|
2287
2221
|
var deserializeAws_json1_1InputProcessingConfigurationDescription = function (output, context) {
|
|
2288
2222
|
return {
|
|
2289
|
-
InputLambdaProcessorDescription: output.InputLambdaProcessorDescription
|
|
2223
|
+
InputLambdaProcessorDescription: output.InputLambdaProcessorDescription != null
|
|
2290
2224
|
? deserializeAws_json1_1InputLambdaProcessorDescription(output.InputLambdaProcessorDescription, context)
|
|
2291
2225
|
: undefined,
|
|
2292
2226
|
};
|
|
@@ -2348,7 +2282,7 @@ var deserializeAws_json1_1LimitExceededException = function (output, context) {
|
|
|
2348
2282
|
};
|
|
2349
2283
|
var deserializeAws_json1_1ListApplicationsResponse = function (output, context) {
|
|
2350
2284
|
return {
|
|
2351
|
-
ApplicationSummaries: output.ApplicationSummaries
|
|
2285
|
+
ApplicationSummaries: output.ApplicationSummaries != null
|
|
2352
2286
|
? deserializeAws_json1_1ApplicationSummaries(output.ApplicationSummaries, context)
|
|
2353
2287
|
: undefined,
|
|
2354
2288
|
HasMoreApplications: __expectBoolean(output.HasMoreApplications),
|
|
@@ -2356,31 +2290,31 @@ var deserializeAws_json1_1ListApplicationsResponse = function (output, context)
|
|
|
2356
2290
|
};
|
|
2357
2291
|
var deserializeAws_json1_1ListTagsForResourceResponse = function (output, context) {
|
|
2358
2292
|
return {
|
|
2359
|
-
Tags: output.Tags
|
|
2293
|
+
Tags: output.Tags != null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
|
|
2360
2294
|
};
|
|
2361
2295
|
};
|
|
2362
2296
|
var deserializeAws_json1_1MappingParameters = function (output, context) {
|
|
2363
2297
|
return {
|
|
2364
|
-
CSVMappingParameters: output.CSVMappingParameters
|
|
2298
|
+
CSVMappingParameters: output.CSVMappingParameters != null
|
|
2365
2299
|
? deserializeAws_json1_1CSVMappingParameters(output.CSVMappingParameters, context)
|
|
2366
2300
|
: undefined,
|
|
2367
|
-
JSONMappingParameters: output.JSONMappingParameters
|
|
2301
|
+
JSONMappingParameters: output.JSONMappingParameters != null
|
|
2368
2302
|
? deserializeAws_json1_1JSONMappingParameters(output.JSONMappingParameters, context)
|
|
2369
2303
|
: undefined,
|
|
2370
2304
|
};
|
|
2371
2305
|
};
|
|
2372
2306
|
var deserializeAws_json1_1OutputDescription = function (output, context) {
|
|
2373
2307
|
return {
|
|
2374
|
-
DestinationSchema: output.DestinationSchema
|
|
2308
|
+
DestinationSchema: output.DestinationSchema != null
|
|
2375
2309
|
? deserializeAws_json1_1DestinationSchema(output.DestinationSchema, context)
|
|
2376
2310
|
: undefined,
|
|
2377
|
-
KinesisFirehoseOutputDescription: output.KinesisFirehoseOutputDescription
|
|
2311
|
+
KinesisFirehoseOutputDescription: output.KinesisFirehoseOutputDescription != null
|
|
2378
2312
|
? deserializeAws_json1_1KinesisFirehoseOutputDescription(output.KinesisFirehoseOutputDescription, context)
|
|
2379
2313
|
: undefined,
|
|
2380
|
-
KinesisStreamsOutputDescription: output.KinesisStreamsOutputDescription
|
|
2314
|
+
KinesisStreamsOutputDescription: output.KinesisStreamsOutputDescription != null
|
|
2381
2315
|
? deserializeAws_json1_1KinesisStreamsOutputDescription(output.KinesisStreamsOutputDescription, context)
|
|
2382
2316
|
: undefined,
|
|
2383
|
-
LambdaOutputDescription: output.LambdaOutputDescription
|
|
2317
|
+
LambdaOutputDescription: output.LambdaOutputDescription != null
|
|
2384
2318
|
? deserializeAws_json1_1LambdaOutputDescription(output.LambdaOutputDescription, context)
|
|
2385
2319
|
: undefined,
|
|
2386
2320
|
Name: __expectString(output.Name),
|
|
@@ -2462,7 +2396,7 @@ var deserializeAws_json1_1RecordColumns = function (output, context) {
|
|
|
2462
2396
|
};
|
|
2463
2397
|
var deserializeAws_json1_1RecordFormat = function (output, context) {
|
|
2464
2398
|
return {
|
|
2465
|
-
MappingParameters: output.MappingParameters
|
|
2399
|
+
MappingParameters: output.MappingParameters != null
|
|
2466
2400
|
? deserializeAws_json1_1MappingParameters(output.MappingParameters, context)
|
|
2467
2401
|
: undefined,
|
|
2468
2402
|
RecordFormatType: __expectString(output.RecordFormatType),
|
|
@@ -2471,10 +2405,8 @@ var deserializeAws_json1_1RecordFormat = function (output, context) {
|
|
|
2471
2405
|
var deserializeAws_json1_1ReferenceDataSourceDescription = function (output, context) {
|
|
2472
2406
|
return {
|
|
2473
2407
|
ReferenceId: __expectString(output.ReferenceId),
|
|
2474
|
-
ReferenceSchema: output.ReferenceSchema
|
|
2475
|
-
|
|
2476
|
-
: undefined,
|
|
2477
|
-
S3ReferenceDataSourceDescription: output.S3ReferenceDataSourceDescription !== undefined && output.S3ReferenceDataSourceDescription !== null
|
|
2408
|
+
ReferenceSchema: output.ReferenceSchema != null ? deserializeAws_json1_1SourceSchema(output.ReferenceSchema, context) : undefined,
|
|
2409
|
+
S3ReferenceDataSourceDescription: output.S3ReferenceDataSourceDescription != null
|
|
2478
2410
|
? deserializeAws_json1_1S3ReferenceDataSourceDescription(output.S3ReferenceDataSourceDescription, context)
|
|
2479
2411
|
: undefined,
|
|
2480
2412
|
TableName: __expectString(output.TableName),
|
|
@@ -2520,13 +2452,9 @@ var deserializeAws_json1_1ServiceUnavailableException = function (output, contex
|
|
|
2520
2452
|
};
|
|
2521
2453
|
var deserializeAws_json1_1SourceSchema = function (output, context) {
|
|
2522
2454
|
return {
|
|
2523
|
-
RecordColumns: output.RecordColumns
|
|
2524
|
-
? deserializeAws_json1_1RecordColumns(output.RecordColumns, context)
|
|
2525
|
-
: undefined,
|
|
2455
|
+
RecordColumns: output.RecordColumns != null ? deserializeAws_json1_1RecordColumns(output.RecordColumns, context) : undefined,
|
|
2526
2456
|
RecordEncoding: __expectString(output.RecordEncoding),
|
|
2527
|
-
RecordFormat: output.RecordFormat
|
|
2528
|
-
? deserializeAws_json1_1RecordFormat(output.RecordFormat, context)
|
|
2529
|
-
: undefined,
|
|
2457
|
+
RecordFormat: output.RecordFormat != null ? deserializeAws_json1_1RecordFormat(output.RecordFormat, context) : undefined,
|
|
2530
2458
|
};
|
|
2531
2459
|
};
|
|
2532
2460
|
var deserializeAws_json1_1StartApplicationResponse = function (output, context) {
|
|
@@ -2562,10 +2490,10 @@ var deserializeAws_json1_1TooManyTagsException = function (output, context) {
|
|
|
2562
2490
|
};
|
|
2563
2491
|
var deserializeAws_json1_1UnableToDetectSchemaException = function (output, context) {
|
|
2564
2492
|
return {
|
|
2565
|
-
ProcessedInputRecords: output.ProcessedInputRecords
|
|
2493
|
+
ProcessedInputRecords: output.ProcessedInputRecords != null
|
|
2566
2494
|
? deserializeAws_json1_1ProcessedInputRecords(output.ProcessedInputRecords, context)
|
|
2567
2495
|
: undefined,
|
|
2568
|
-
RawInputRecords: output.RawInputRecords
|
|
2496
|
+
RawInputRecords: output.RawInputRecords != null
|
|
2569
2497
|
? deserializeAws_json1_1RawInputRecords(output.RawInputRecords, context)
|
|
2570
2498
|
: undefined,
|
|
2571
2499
|
message: __expectString(output.message),
|
|
@@ -2656,5 +2584,4 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
2656
2584
|
if (data["__type"] !== undefined) {
|
|
2657
2585
|
return sanitizeErrorCode(data["__type"]);
|
|
2658
2586
|
}
|
|
2659
|
-
return "";
|
|
2660
2587
|
};
|