@aws-sdk/client-transcribe 3.118.0 → 3.127.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 +486 -627
- package/dist-es/protocols/Aws_json1_1.js +373 -514
- package/package.json +26 -26
|
@@ -451,7 +451,7 @@ export var deserializeAws_json1_1CreateCallAnalyticsCategoryCommand = function (
|
|
|
451
451
|
});
|
|
452
452
|
}); };
|
|
453
453
|
var deserializeAws_json1_1CreateCallAnalyticsCategoryCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
454
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
454
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
455
455
|
var _c;
|
|
456
456
|
return __generator(this, function (_d) {
|
|
457
457
|
switch (_d.label) {
|
|
@@ -461,7 +461,6 @@ var deserializeAws_json1_1CreateCallAnalyticsCategoryCommandError = function (ou
|
|
|
461
461
|
return [4, parseBody(output.body, context)];
|
|
462
462
|
case 1:
|
|
463
463
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
464
|
-
errorCode = "UnknownError";
|
|
465
464
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
466
465
|
_b = errorCode;
|
|
467
466
|
switch (_b) {
|
|
@@ -485,10 +484,12 @@ var deserializeAws_json1_1CreateCallAnalyticsCategoryCommandError = function (ou
|
|
|
485
484
|
case 9: throw _d.sent();
|
|
486
485
|
case 10:
|
|
487
486
|
parsedBody = parsedOutput.body;
|
|
487
|
+
$metadata = deserializeMetadata(output);
|
|
488
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
488
489
|
response = new __BaseException({
|
|
489
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
490
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
490
491
|
$fault: "client",
|
|
491
|
-
$metadata:
|
|
492
|
+
$metadata: $metadata,
|
|
492
493
|
});
|
|
493
494
|
throw __decorateServiceException(response, parsedBody);
|
|
494
495
|
}
|
|
@@ -513,7 +514,7 @@ export var deserializeAws_json1_1CreateLanguageModelCommand = function (output,
|
|
|
513
514
|
});
|
|
514
515
|
}); };
|
|
515
516
|
var deserializeAws_json1_1CreateLanguageModelCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
516
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
517
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
517
518
|
var _c;
|
|
518
519
|
return __generator(this, function (_d) {
|
|
519
520
|
switch (_d.label) {
|
|
@@ -523,7 +524,6 @@ var deserializeAws_json1_1CreateLanguageModelCommandError = function (output, co
|
|
|
523
524
|
return [4, parseBody(output.body, context)];
|
|
524
525
|
case 1:
|
|
525
526
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
526
|
-
errorCode = "UnknownError";
|
|
527
527
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
528
528
|
_b = errorCode;
|
|
529
529
|
switch (_b) {
|
|
@@ -547,10 +547,12 @@ var deserializeAws_json1_1CreateLanguageModelCommandError = function (output, co
|
|
|
547
547
|
case 9: throw _d.sent();
|
|
548
548
|
case 10:
|
|
549
549
|
parsedBody = parsedOutput.body;
|
|
550
|
+
$metadata = deserializeMetadata(output);
|
|
551
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
550
552
|
response = new __BaseException({
|
|
551
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
553
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
552
554
|
$fault: "client",
|
|
553
|
-
$metadata:
|
|
555
|
+
$metadata: $metadata,
|
|
554
556
|
});
|
|
555
557
|
throw __decorateServiceException(response, parsedBody);
|
|
556
558
|
}
|
|
@@ -575,7 +577,7 @@ export var deserializeAws_json1_1CreateMedicalVocabularyCommand = function (outp
|
|
|
575
577
|
});
|
|
576
578
|
}); };
|
|
577
579
|
var deserializeAws_json1_1CreateMedicalVocabularyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
578
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
580
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
579
581
|
var _c;
|
|
580
582
|
return __generator(this, function (_d) {
|
|
581
583
|
switch (_d.label) {
|
|
@@ -585,7 +587,6 @@ var deserializeAws_json1_1CreateMedicalVocabularyCommandError = function (output
|
|
|
585
587
|
return [4, parseBody(output.body, context)];
|
|
586
588
|
case 1:
|
|
587
589
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
588
|
-
errorCode = "UnknownError";
|
|
589
590
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
590
591
|
_b = errorCode;
|
|
591
592
|
switch (_b) {
|
|
@@ -609,10 +610,12 @@ var deserializeAws_json1_1CreateMedicalVocabularyCommandError = function (output
|
|
|
609
610
|
case 9: throw _d.sent();
|
|
610
611
|
case 10:
|
|
611
612
|
parsedBody = parsedOutput.body;
|
|
613
|
+
$metadata = deserializeMetadata(output);
|
|
614
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
612
615
|
response = new __BaseException({
|
|
613
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
616
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
614
617
|
$fault: "client",
|
|
615
|
-
$metadata:
|
|
618
|
+
$metadata: $metadata,
|
|
616
619
|
});
|
|
617
620
|
throw __decorateServiceException(response, parsedBody);
|
|
618
621
|
}
|
|
@@ -637,7 +640,7 @@ export var deserializeAws_json1_1CreateVocabularyCommand = function (output, con
|
|
|
637
640
|
});
|
|
638
641
|
}); };
|
|
639
642
|
var deserializeAws_json1_1CreateVocabularyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
640
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
643
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
641
644
|
var _c;
|
|
642
645
|
return __generator(this, function (_d) {
|
|
643
646
|
switch (_d.label) {
|
|
@@ -647,7 +650,6 @@ var deserializeAws_json1_1CreateVocabularyCommandError = function (output, conte
|
|
|
647
650
|
return [4, parseBody(output.body, context)];
|
|
648
651
|
case 1:
|
|
649
652
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
650
|
-
errorCode = "UnknownError";
|
|
651
653
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
652
654
|
_b = errorCode;
|
|
653
655
|
switch (_b) {
|
|
@@ -671,10 +673,12 @@ var deserializeAws_json1_1CreateVocabularyCommandError = function (output, conte
|
|
|
671
673
|
case 9: throw _d.sent();
|
|
672
674
|
case 10:
|
|
673
675
|
parsedBody = parsedOutput.body;
|
|
676
|
+
$metadata = deserializeMetadata(output);
|
|
677
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
674
678
|
response = new __BaseException({
|
|
675
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
679
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
676
680
|
$fault: "client",
|
|
677
|
-
$metadata:
|
|
681
|
+
$metadata: $metadata,
|
|
678
682
|
});
|
|
679
683
|
throw __decorateServiceException(response, parsedBody);
|
|
680
684
|
}
|
|
@@ -699,7 +703,7 @@ export var deserializeAws_json1_1CreateVocabularyFilterCommand = function (outpu
|
|
|
699
703
|
});
|
|
700
704
|
}); };
|
|
701
705
|
var deserializeAws_json1_1CreateVocabularyFilterCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
702
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
706
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
703
707
|
var _c;
|
|
704
708
|
return __generator(this, function (_d) {
|
|
705
709
|
switch (_d.label) {
|
|
@@ -709,7 +713,6 @@ var deserializeAws_json1_1CreateVocabularyFilterCommandError = function (output,
|
|
|
709
713
|
return [4, parseBody(output.body, context)];
|
|
710
714
|
case 1:
|
|
711
715
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
712
|
-
errorCode = "UnknownError";
|
|
713
716
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
714
717
|
_b = errorCode;
|
|
715
718
|
switch (_b) {
|
|
@@ -733,10 +736,12 @@ var deserializeAws_json1_1CreateVocabularyFilterCommandError = function (output,
|
|
|
733
736
|
case 9: throw _d.sent();
|
|
734
737
|
case 10:
|
|
735
738
|
parsedBody = parsedOutput.body;
|
|
739
|
+
$metadata = deserializeMetadata(output);
|
|
740
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
736
741
|
response = new __BaseException({
|
|
737
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
742
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
738
743
|
$fault: "client",
|
|
739
|
-
$metadata:
|
|
744
|
+
$metadata: $metadata,
|
|
740
745
|
});
|
|
741
746
|
throw __decorateServiceException(response, parsedBody);
|
|
742
747
|
}
|
|
@@ -761,7 +766,7 @@ export var deserializeAws_json1_1DeleteCallAnalyticsCategoryCommand = function (
|
|
|
761
766
|
});
|
|
762
767
|
}); };
|
|
763
768
|
var deserializeAws_json1_1DeleteCallAnalyticsCategoryCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
764
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
769
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
765
770
|
var _c;
|
|
766
771
|
return __generator(this, function (_d) {
|
|
767
772
|
switch (_d.label) {
|
|
@@ -771,7 +776,6 @@ var deserializeAws_json1_1DeleteCallAnalyticsCategoryCommandError = function (ou
|
|
|
771
776
|
return [4, parseBody(output.body, context)];
|
|
772
777
|
case 1:
|
|
773
778
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
774
|
-
errorCode = "UnknownError";
|
|
775
779
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
776
780
|
_b = errorCode;
|
|
777
781
|
switch (_b) {
|
|
@@ -795,10 +799,12 @@ var deserializeAws_json1_1DeleteCallAnalyticsCategoryCommandError = function (ou
|
|
|
795
799
|
case 9: throw _d.sent();
|
|
796
800
|
case 10:
|
|
797
801
|
parsedBody = parsedOutput.body;
|
|
802
|
+
$metadata = deserializeMetadata(output);
|
|
803
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
798
804
|
response = new __BaseException({
|
|
799
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
805
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
800
806
|
$fault: "client",
|
|
801
|
-
$metadata:
|
|
807
|
+
$metadata: $metadata,
|
|
802
808
|
});
|
|
803
809
|
throw __decorateServiceException(response, parsedBody);
|
|
804
810
|
}
|
|
@@ -823,7 +829,7 @@ export var deserializeAws_json1_1DeleteCallAnalyticsJobCommand = function (outpu
|
|
|
823
829
|
});
|
|
824
830
|
}); };
|
|
825
831
|
var deserializeAws_json1_1DeleteCallAnalyticsJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
826
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
832
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
827
833
|
var _c;
|
|
828
834
|
return __generator(this, function (_d) {
|
|
829
835
|
switch (_d.label) {
|
|
@@ -833,7 +839,6 @@ var deserializeAws_json1_1DeleteCallAnalyticsJobCommandError = function (output,
|
|
|
833
839
|
return [4, parseBody(output.body, context)];
|
|
834
840
|
case 1:
|
|
835
841
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
836
|
-
errorCode = "UnknownError";
|
|
837
842
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
838
843
|
_b = errorCode;
|
|
839
844
|
switch (_b) {
|
|
@@ -853,10 +858,12 @@ var deserializeAws_json1_1DeleteCallAnalyticsJobCommandError = function (output,
|
|
|
853
858
|
case 7: throw _d.sent();
|
|
854
859
|
case 8:
|
|
855
860
|
parsedBody = parsedOutput.body;
|
|
861
|
+
$metadata = deserializeMetadata(output);
|
|
862
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
856
863
|
response = new __BaseException({
|
|
857
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
864
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
858
865
|
$fault: "client",
|
|
859
|
-
$metadata:
|
|
866
|
+
$metadata: $metadata,
|
|
860
867
|
});
|
|
861
868
|
throw __decorateServiceException(response, parsedBody);
|
|
862
869
|
}
|
|
@@ -881,7 +888,7 @@ export var deserializeAws_json1_1DeleteLanguageModelCommand = function (output,
|
|
|
881
888
|
});
|
|
882
889
|
}); };
|
|
883
890
|
var deserializeAws_json1_1DeleteLanguageModelCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
884
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
891
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
885
892
|
var _c;
|
|
886
893
|
return __generator(this, function (_d) {
|
|
887
894
|
switch (_d.label) {
|
|
@@ -891,7 +898,6 @@ var deserializeAws_json1_1DeleteLanguageModelCommandError = function (output, co
|
|
|
891
898
|
return [4, parseBody(output.body, context)];
|
|
892
899
|
case 1:
|
|
893
900
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
894
|
-
errorCode = "UnknownError";
|
|
895
901
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
896
902
|
_b = errorCode;
|
|
897
903
|
switch (_b) {
|
|
@@ -911,10 +917,12 @@ var deserializeAws_json1_1DeleteLanguageModelCommandError = function (output, co
|
|
|
911
917
|
case 7: throw _d.sent();
|
|
912
918
|
case 8:
|
|
913
919
|
parsedBody = parsedOutput.body;
|
|
920
|
+
$metadata = deserializeMetadata(output);
|
|
921
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
914
922
|
response = new __BaseException({
|
|
915
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
923
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
916
924
|
$fault: "client",
|
|
917
|
-
$metadata:
|
|
925
|
+
$metadata: $metadata,
|
|
918
926
|
});
|
|
919
927
|
throw __decorateServiceException(response, parsedBody);
|
|
920
928
|
}
|
|
@@ -939,7 +947,7 @@ export var deserializeAws_json1_1DeleteMedicalTranscriptionJobCommand = function
|
|
|
939
947
|
});
|
|
940
948
|
}); };
|
|
941
949
|
var deserializeAws_json1_1DeleteMedicalTranscriptionJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
942
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
950
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
943
951
|
var _c;
|
|
944
952
|
return __generator(this, function (_d) {
|
|
945
953
|
switch (_d.label) {
|
|
@@ -949,7 +957,6 @@ var deserializeAws_json1_1DeleteMedicalTranscriptionJobCommandError = function (
|
|
|
949
957
|
return [4, parseBody(output.body, context)];
|
|
950
958
|
case 1:
|
|
951
959
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
952
|
-
errorCode = "UnknownError";
|
|
953
960
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
954
961
|
_b = errorCode;
|
|
955
962
|
switch (_b) {
|
|
@@ -969,10 +976,12 @@ var deserializeAws_json1_1DeleteMedicalTranscriptionJobCommandError = function (
|
|
|
969
976
|
case 7: throw _d.sent();
|
|
970
977
|
case 8:
|
|
971
978
|
parsedBody = parsedOutput.body;
|
|
979
|
+
$metadata = deserializeMetadata(output);
|
|
980
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
972
981
|
response = new __BaseException({
|
|
973
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
982
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
974
983
|
$fault: "client",
|
|
975
|
-
$metadata:
|
|
984
|
+
$metadata: $metadata,
|
|
976
985
|
});
|
|
977
986
|
throw __decorateServiceException(response, parsedBody);
|
|
978
987
|
}
|
|
@@ -997,7 +1006,7 @@ export var deserializeAws_json1_1DeleteMedicalVocabularyCommand = function (outp
|
|
|
997
1006
|
});
|
|
998
1007
|
}); };
|
|
999
1008
|
var deserializeAws_json1_1DeleteMedicalVocabularyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1000
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1009
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1001
1010
|
var _c;
|
|
1002
1011
|
return __generator(this, function (_d) {
|
|
1003
1012
|
switch (_d.label) {
|
|
@@ -1007,7 +1016,6 @@ var deserializeAws_json1_1DeleteMedicalVocabularyCommandError = function (output
|
|
|
1007
1016
|
return [4, parseBody(output.body, context)];
|
|
1008
1017
|
case 1:
|
|
1009
1018
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1010
|
-
errorCode = "UnknownError";
|
|
1011
1019
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1012
1020
|
_b = errorCode;
|
|
1013
1021
|
switch (_b) {
|
|
@@ -1031,10 +1039,12 @@ var deserializeAws_json1_1DeleteMedicalVocabularyCommandError = function (output
|
|
|
1031
1039
|
case 9: throw _d.sent();
|
|
1032
1040
|
case 10:
|
|
1033
1041
|
parsedBody = parsedOutput.body;
|
|
1042
|
+
$metadata = deserializeMetadata(output);
|
|
1043
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1034
1044
|
response = new __BaseException({
|
|
1035
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1045
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1036
1046
|
$fault: "client",
|
|
1037
|
-
$metadata:
|
|
1047
|
+
$metadata: $metadata,
|
|
1038
1048
|
});
|
|
1039
1049
|
throw __decorateServiceException(response, parsedBody);
|
|
1040
1050
|
}
|
|
@@ -1059,7 +1069,7 @@ export var deserializeAws_json1_1DeleteTranscriptionJobCommand = function (outpu
|
|
|
1059
1069
|
});
|
|
1060
1070
|
}); };
|
|
1061
1071
|
var deserializeAws_json1_1DeleteTranscriptionJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1062
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1072
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1063
1073
|
var _c;
|
|
1064
1074
|
return __generator(this, function (_d) {
|
|
1065
1075
|
switch (_d.label) {
|
|
@@ -1069,7 +1079,6 @@ var deserializeAws_json1_1DeleteTranscriptionJobCommandError = function (output,
|
|
|
1069
1079
|
return [4, parseBody(output.body, context)];
|
|
1070
1080
|
case 1:
|
|
1071
1081
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1072
|
-
errorCode = "UnknownError";
|
|
1073
1082
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1074
1083
|
_b = errorCode;
|
|
1075
1084
|
switch (_b) {
|
|
@@ -1089,10 +1098,12 @@ var deserializeAws_json1_1DeleteTranscriptionJobCommandError = function (output,
|
|
|
1089
1098
|
case 7: throw _d.sent();
|
|
1090
1099
|
case 8:
|
|
1091
1100
|
parsedBody = parsedOutput.body;
|
|
1101
|
+
$metadata = deserializeMetadata(output);
|
|
1102
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1092
1103
|
response = new __BaseException({
|
|
1093
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1104
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1094
1105
|
$fault: "client",
|
|
1095
|
-
$metadata:
|
|
1106
|
+
$metadata: $metadata,
|
|
1096
1107
|
});
|
|
1097
1108
|
throw __decorateServiceException(response, parsedBody);
|
|
1098
1109
|
}
|
|
@@ -1117,7 +1128,7 @@ export var deserializeAws_json1_1DeleteVocabularyCommand = function (output, con
|
|
|
1117
1128
|
});
|
|
1118
1129
|
}); };
|
|
1119
1130
|
var deserializeAws_json1_1DeleteVocabularyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1120
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1131
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1121
1132
|
var _c;
|
|
1122
1133
|
return __generator(this, function (_d) {
|
|
1123
1134
|
switch (_d.label) {
|
|
@@ -1127,7 +1138,6 @@ var deserializeAws_json1_1DeleteVocabularyCommandError = function (output, conte
|
|
|
1127
1138
|
return [4, parseBody(output.body, context)];
|
|
1128
1139
|
case 1:
|
|
1129
1140
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1130
|
-
errorCode = "UnknownError";
|
|
1131
1141
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1132
1142
|
_b = errorCode;
|
|
1133
1143
|
switch (_b) {
|
|
@@ -1151,10 +1161,12 @@ var deserializeAws_json1_1DeleteVocabularyCommandError = function (output, conte
|
|
|
1151
1161
|
case 9: throw _d.sent();
|
|
1152
1162
|
case 10:
|
|
1153
1163
|
parsedBody = parsedOutput.body;
|
|
1164
|
+
$metadata = deserializeMetadata(output);
|
|
1165
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1154
1166
|
response = new __BaseException({
|
|
1155
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1167
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1156
1168
|
$fault: "client",
|
|
1157
|
-
$metadata:
|
|
1169
|
+
$metadata: $metadata,
|
|
1158
1170
|
});
|
|
1159
1171
|
throw __decorateServiceException(response, parsedBody);
|
|
1160
1172
|
}
|
|
@@ -1179,7 +1191,7 @@ export var deserializeAws_json1_1DeleteVocabularyFilterCommand = function (outpu
|
|
|
1179
1191
|
});
|
|
1180
1192
|
}); };
|
|
1181
1193
|
var deserializeAws_json1_1DeleteVocabularyFilterCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1182
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1194
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1183
1195
|
var _c;
|
|
1184
1196
|
return __generator(this, function (_d) {
|
|
1185
1197
|
switch (_d.label) {
|
|
@@ -1189,7 +1201,6 @@ var deserializeAws_json1_1DeleteVocabularyFilterCommandError = function (output,
|
|
|
1189
1201
|
return [4, parseBody(output.body, context)];
|
|
1190
1202
|
case 1:
|
|
1191
1203
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1192
|
-
errorCode = "UnknownError";
|
|
1193
1204
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1194
1205
|
_b = errorCode;
|
|
1195
1206
|
switch (_b) {
|
|
@@ -1213,10 +1224,12 @@ var deserializeAws_json1_1DeleteVocabularyFilterCommandError = function (output,
|
|
|
1213
1224
|
case 9: throw _d.sent();
|
|
1214
1225
|
case 10:
|
|
1215
1226
|
parsedBody = parsedOutput.body;
|
|
1227
|
+
$metadata = deserializeMetadata(output);
|
|
1228
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1216
1229
|
response = new __BaseException({
|
|
1217
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1230
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1218
1231
|
$fault: "client",
|
|
1219
|
-
$metadata:
|
|
1232
|
+
$metadata: $metadata,
|
|
1220
1233
|
});
|
|
1221
1234
|
throw __decorateServiceException(response, parsedBody);
|
|
1222
1235
|
}
|
|
@@ -1241,7 +1254,7 @@ export var deserializeAws_json1_1DescribeLanguageModelCommand = function (output
|
|
|
1241
1254
|
});
|
|
1242
1255
|
}); };
|
|
1243
1256
|
var deserializeAws_json1_1DescribeLanguageModelCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1244
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1257
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1245
1258
|
var _c;
|
|
1246
1259
|
return __generator(this, function (_d) {
|
|
1247
1260
|
switch (_d.label) {
|
|
@@ -1251,7 +1264,6 @@ var deserializeAws_json1_1DescribeLanguageModelCommandError = function (output,
|
|
|
1251
1264
|
return [4, parseBody(output.body, context)];
|
|
1252
1265
|
case 1:
|
|
1253
1266
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1254
|
-
errorCode = "UnknownError";
|
|
1255
1267
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1256
1268
|
_b = errorCode;
|
|
1257
1269
|
switch (_b) {
|
|
@@ -1275,10 +1287,12 @@ var deserializeAws_json1_1DescribeLanguageModelCommandError = function (output,
|
|
|
1275
1287
|
case 9: throw _d.sent();
|
|
1276
1288
|
case 10:
|
|
1277
1289
|
parsedBody = parsedOutput.body;
|
|
1290
|
+
$metadata = deserializeMetadata(output);
|
|
1291
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1278
1292
|
response = new __BaseException({
|
|
1279
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1293
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1280
1294
|
$fault: "client",
|
|
1281
|
-
$metadata:
|
|
1295
|
+
$metadata: $metadata,
|
|
1282
1296
|
});
|
|
1283
1297
|
throw __decorateServiceException(response, parsedBody);
|
|
1284
1298
|
}
|
|
@@ -1303,7 +1317,7 @@ export var deserializeAws_json1_1GetCallAnalyticsCategoryCommand = function (out
|
|
|
1303
1317
|
});
|
|
1304
1318
|
}); };
|
|
1305
1319
|
var deserializeAws_json1_1GetCallAnalyticsCategoryCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1306
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1320
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1307
1321
|
var _c;
|
|
1308
1322
|
return __generator(this, function (_d) {
|
|
1309
1323
|
switch (_d.label) {
|
|
@@ -1313,7 +1327,6 @@ var deserializeAws_json1_1GetCallAnalyticsCategoryCommandError = function (outpu
|
|
|
1313
1327
|
return [4, parseBody(output.body, context)];
|
|
1314
1328
|
case 1:
|
|
1315
1329
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1316
|
-
errorCode = "UnknownError";
|
|
1317
1330
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1318
1331
|
_b = errorCode;
|
|
1319
1332
|
switch (_b) {
|
|
@@ -1337,10 +1350,12 @@ var deserializeAws_json1_1GetCallAnalyticsCategoryCommandError = function (outpu
|
|
|
1337
1350
|
case 9: throw _d.sent();
|
|
1338
1351
|
case 10:
|
|
1339
1352
|
parsedBody = parsedOutput.body;
|
|
1353
|
+
$metadata = deserializeMetadata(output);
|
|
1354
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1340
1355
|
response = new __BaseException({
|
|
1341
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1356
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1342
1357
|
$fault: "client",
|
|
1343
|
-
$metadata:
|
|
1358
|
+
$metadata: $metadata,
|
|
1344
1359
|
});
|
|
1345
1360
|
throw __decorateServiceException(response, parsedBody);
|
|
1346
1361
|
}
|
|
@@ -1365,7 +1380,7 @@ export var deserializeAws_json1_1GetCallAnalyticsJobCommand = function (output,
|
|
|
1365
1380
|
});
|
|
1366
1381
|
}); };
|
|
1367
1382
|
var deserializeAws_json1_1GetCallAnalyticsJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1368
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1383
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1369
1384
|
var _c;
|
|
1370
1385
|
return __generator(this, function (_d) {
|
|
1371
1386
|
switch (_d.label) {
|
|
@@ -1375,7 +1390,6 @@ var deserializeAws_json1_1GetCallAnalyticsJobCommandError = function (output, co
|
|
|
1375
1390
|
return [4, parseBody(output.body, context)];
|
|
1376
1391
|
case 1:
|
|
1377
1392
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1378
|
-
errorCode = "UnknownError";
|
|
1379
1393
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1380
1394
|
_b = errorCode;
|
|
1381
1395
|
switch (_b) {
|
|
@@ -1399,10 +1413,12 @@ var deserializeAws_json1_1GetCallAnalyticsJobCommandError = function (output, co
|
|
|
1399
1413
|
case 9: throw _d.sent();
|
|
1400
1414
|
case 10:
|
|
1401
1415
|
parsedBody = parsedOutput.body;
|
|
1416
|
+
$metadata = deserializeMetadata(output);
|
|
1417
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1402
1418
|
response = new __BaseException({
|
|
1403
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1419
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1404
1420
|
$fault: "client",
|
|
1405
|
-
$metadata:
|
|
1421
|
+
$metadata: $metadata,
|
|
1406
1422
|
});
|
|
1407
1423
|
throw __decorateServiceException(response, parsedBody);
|
|
1408
1424
|
}
|
|
@@ -1427,7 +1443,7 @@ export var deserializeAws_json1_1GetMedicalTranscriptionJobCommand = function (o
|
|
|
1427
1443
|
});
|
|
1428
1444
|
}); };
|
|
1429
1445
|
var deserializeAws_json1_1GetMedicalTranscriptionJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1430
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1446
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1431
1447
|
var _c;
|
|
1432
1448
|
return __generator(this, function (_d) {
|
|
1433
1449
|
switch (_d.label) {
|
|
@@ -1437,7 +1453,6 @@ var deserializeAws_json1_1GetMedicalTranscriptionJobCommandError = function (out
|
|
|
1437
1453
|
return [4, parseBody(output.body, context)];
|
|
1438
1454
|
case 1:
|
|
1439
1455
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1440
|
-
errorCode = "UnknownError";
|
|
1441
1456
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1442
1457
|
_b = errorCode;
|
|
1443
1458
|
switch (_b) {
|
|
@@ -1461,10 +1476,12 @@ var deserializeAws_json1_1GetMedicalTranscriptionJobCommandError = function (out
|
|
|
1461
1476
|
case 9: throw _d.sent();
|
|
1462
1477
|
case 10:
|
|
1463
1478
|
parsedBody = parsedOutput.body;
|
|
1479
|
+
$metadata = deserializeMetadata(output);
|
|
1480
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1464
1481
|
response = new __BaseException({
|
|
1465
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1482
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1466
1483
|
$fault: "client",
|
|
1467
|
-
$metadata:
|
|
1484
|
+
$metadata: $metadata,
|
|
1468
1485
|
});
|
|
1469
1486
|
throw __decorateServiceException(response, parsedBody);
|
|
1470
1487
|
}
|
|
@@ -1489,7 +1506,7 @@ export var deserializeAws_json1_1GetMedicalVocabularyCommand = function (output,
|
|
|
1489
1506
|
});
|
|
1490
1507
|
}); };
|
|
1491
1508
|
var deserializeAws_json1_1GetMedicalVocabularyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1492
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1509
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1493
1510
|
var _c;
|
|
1494
1511
|
return __generator(this, function (_d) {
|
|
1495
1512
|
switch (_d.label) {
|
|
@@ -1499,7 +1516,6 @@ var deserializeAws_json1_1GetMedicalVocabularyCommandError = function (output, c
|
|
|
1499
1516
|
return [4, parseBody(output.body, context)];
|
|
1500
1517
|
case 1:
|
|
1501
1518
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1502
|
-
errorCode = "UnknownError";
|
|
1503
1519
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1504
1520
|
_b = errorCode;
|
|
1505
1521
|
switch (_b) {
|
|
@@ -1523,10 +1539,12 @@ var deserializeAws_json1_1GetMedicalVocabularyCommandError = function (output, c
|
|
|
1523
1539
|
case 9: throw _d.sent();
|
|
1524
1540
|
case 10:
|
|
1525
1541
|
parsedBody = parsedOutput.body;
|
|
1542
|
+
$metadata = deserializeMetadata(output);
|
|
1543
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1526
1544
|
response = new __BaseException({
|
|
1527
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1545
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1528
1546
|
$fault: "client",
|
|
1529
|
-
$metadata:
|
|
1547
|
+
$metadata: $metadata,
|
|
1530
1548
|
});
|
|
1531
1549
|
throw __decorateServiceException(response, parsedBody);
|
|
1532
1550
|
}
|
|
@@ -1551,7 +1569,7 @@ export var deserializeAws_json1_1GetTranscriptionJobCommand = function (output,
|
|
|
1551
1569
|
});
|
|
1552
1570
|
}); };
|
|
1553
1571
|
var deserializeAws_json1_1GetTranscriptionJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1554
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1572
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1555
1573
|
var _c;
|
|
1556
1574
|
return __generator(this, function (_d) {
|
|
1557
1575
|
switch (_d.label) {
|
|
@@ -1561,7 +1579,6 @@ var deserializeAws_json1_1GetTranscriptionJobCommandError = function (output, co
|
|
|
1561
1579
|
return [4, parseBody(output.body, context)];
|
|
1562
1580
|
case 1:
|
|
1563
1581
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1564
|
-
errorCode = "UnknownError";
|
|
1565
1582
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1566
1583
|
_b = errorCode;
|
|
1567
1584
|
switch (_b) {
|
|
@@ -1585,10 +1602,12 @@ var deserializeAws_json1_1GetTranscriptionJobCommandError = function (output, co
|
|
|
1585
1602
|
case 9: throw _d.sent();
|
|
1586
1603
|
case 10:
|
|
1587
1604
|
parsedBody = parsedOutput.body;
|
|
1605
|
+
$metadata = deserializeMetadata(output);
|
|
1606
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1588
1607
|
response = new __BaseException({
|
|
1589
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1608
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1590
1609
|
$fault: "client",
|
|
1591
|
-
$metadata:
|
|
1610
|
+
$metadata: $metadata,
|
|
1592
1611
|
});
|
|
1593
1612
|
throw __decorateServiceException(response, parsedBody);
|
|
1594
1613
|
}
|
|
@@ -1613,7 +1632,7 @@ export var deserializeAws_json1_1GetVocabularyCommand = function (output, contex
|
|
|
1613
1632
|
});
|
|
1614
1633
|
}); };
|
|
1615
1634
|
var deserializeAws_json1_1GetVocabularyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1616
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1635
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1617
1636
|
var _c;
|
|
1618
1637
|
return __generator(this, function (_d) {
|
|
1619
1638
|
switch (_d.label) {
|
|
@@ -1623,7 +1642,6 @@ var deserializeAws_json1_1GetVocabularyCommandError = function (output, context)
|
|
|
1623
1642
|
return [4, parseBody(output.body, context)];
|
|
1624
1643
|
case 1:
|
|
1625
1644
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1626
|
-
errorCode = "UnknownError";
|
|
1627
1645
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1628
1646
|
_b = errorCode;
|
|
1629
1647
|
switch (_b) {
|
|
@@ -1647,10 +1665,12 @@ var deserializeAws_json1_1GetVocabularyCommandError = function (output, context)
|
|
|
1647
1665
|
case 9: throw _d.sent();
|
|
1648
1666
|
case 10:
|
|
1649
1667
|
parsedBody = parsedOutput.body;
|
|
1668
|
+
$metadata = deserializeMetadata(output);
|
|
1669
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1650
1670
|
response = new __BaseException({
|
|
1651
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1671
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1652
1672
|
$fault: "client",
|
|
1653
|
-
$metadata:
|
|
1673
|
+
$metadata: $metadata,
|
|
1654
1674
|
});
|
|
1655
1675
|
throw __decorateServiceException(response, parsedBody);
|
|
1656
1676
|
}
|
|
@@ -1675,7 +1695,7 @@ export var deserializeAws_json1_1GetVocabularyFilterCommand = function (output,
|
|
|
1675
1695
|
});
|
|
1676
1696
|
}); };
|
|
1677
1697
|
var deserializeAws_json1_1GetVocabularyFilterCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1678
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1698
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1679
1699
|
var _c;
|
|
1680
1700
|
return __generator(this, function (_d) {
|
|
1681
1701
|
switch (_d.label) {
|
|
@@ -1685,7 +1705,6 @@ var deserializeAws_json1_1GetVocabularyFilterCommandError = function (output, co
|
|
|
1685
1705
|
return [4, parseBody(output.body, context)];
|
|
1686
1706
|
case 1:
|
|
1687
1707
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1688
|
-
errorCode = "UnknownError";
|
|
1689
1708
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1690
1709
|
_b = errorCode;
|
|
1691
1710
|
switch (_b) {
|
|
@@ -1709,10 +1728,12 @@ var deserializeAws_json1_1GetVocabularyFilterCommandError = function (output, co
|
|
|
1709
1728
|
case 9: throw _d.sent();
|
|
1710
1729
|
case 10:
|
|
1711
1730
|
parsedBody = parsedOutput.body;
|
|
1731
|
+
$metadata = deserializeMetadata(output);
|
|
1732
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1712
1733
|
response = new __BaseException({
|
|
1713
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1734
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1714
1735
|
$fault: "client",
|
|
1715
|
-
$metadata:
|
|
1736
|
+
$metadata: $metadata,
|
|
1716
1737
|
});
|
|
1717
1738
|
throw __decorateServiceException(response, parsedBody);
|
|
1718
1739
|
}
|
|
@@ -1737,7 +1758,7 @@ export var deserializeAws_json1_1ListCallAnalyticsCategoriesCommand = function (
|
|
|
1737
1758
|
});
|
|
1738
1759
|
}); };
|
|
1739
1760
|
var deserializeAws_json1_1ListCallAnalyticsCategoriesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1740
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1761
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1741
1762
|
var _c;
|
|
1742
1763
|
return __generator(this, function (_d) {
|
|
1743
1764
|
switch (_d.label) {
|
|
@@ -1747,7 +1768,6 @@ var deserializeAws_json1_1ListCallAnalyticsCategoriesCommandError = function (ou
|
|
|
1747
1768
|
return [4, parseBody(output.body, context)];
|
|
1748
1769
|
case 1:
|
|
1749
1770
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1750
|
-
errorCode = "UnknownError";
|
|
1751
1771
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1752
1772
|
_b = errorCode;
|
|
1753
1773
|
switch (_b) {
|
|
@@ -1767,10 +1787,12 @@ var deserializeAws_json1_1ListCallAnalyticsCategoriesCommandError = function (ou
|
|
|
1767
1787
|
case 7: throw _d.sent();
|
|
1768
1788
|
case 8:
|
|
1769
1789
|
parsedBody = parsedOutput.body;
|
|
1790
|
+
$metadata = deserializeMetadata(output);
|
|
1791
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1770
1792
|
response = new __BaseException({
|
|
1771
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1793
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1772
1794
|
$fault: "client",
|
|
1773
|
-
$metadata:
|
|
1795
|
+
$metadata: $metadata,
|
|
1774
1796
|
});
|
|
1775
1797
|
throw __decorateServiceException(response, parsedBody);
|
|
1776
1798
|
}
|
|
@@ -1795,7 +1817,7 @@ export var deserializeAws_json1_1ListCallAnalyticsJobsCommand = function (output
|
|
|
1795
1817
|
});
|
|
1796
1818
|
}); };
|
|
1797
1819
|
var deserializeAws_json1_1ListCallAnalyticsJobsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1798
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1820
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1799
1821
|
var _c;
|
|
1800
1822
|
return __generator(this, function (_d) {
|
|
1801
1823
|
switch (_d.label) {
|
|
@@ -1805,7 +1827,6 @@ var deserializeAws_json1_1ListCallAnalyticsJobsCommandError = function (output,
|
|
|
1805
1827
|
return [4, parseBody(output.body, context)];
|
|
1806
1828
|
case 1:
|
|
1807
1829
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1808
|
-
errorCode = "UnknownError";
|
|
1809
1830
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1810
1831
|
_b = errorCode;
|
|
1811
1832
|
switch (_b) {
|
|
@@ -1825,10 +1846,12 @@ var deserializeAws_json1_1ListCallAnalyticsJobsCommandError = function (output,
|
|
|
1825
1846
|
case 7: throw _d.sent();
|
|
1826
1847
|
case 8:
|
|
1827
1848
|
parsedBody = parsedOutput.body;
|
|
1849
|
+
$metadata = deserializeMetadata(output);
|
|
1850
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1828
1851
|
response = new __BaseException({
|
|
1829
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1852
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1830
1853
|
$fault: "client",
|
|
1831
|
-
$metadata:
|
|
1854
|
+
$metadata: $metadata,
|
|
1832
1855
|
});
|
|
1833
1856
|
throw __decorateServiceException(response, parsedBody);
|
|
1834
1857
|
}
|
|
@@ -1853,7 +1876,7 @@ export var deserializeAws_json1_1ListLanguageModelsCommand = function (output, c
|
|
|
1853
1876
|
});
|
|
1854
1877
|
}); };
|
|
1855
1878
|
var deserializeAws_json1_1ListLanguageModelsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1856
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1879
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1857
1880
|
var _c;
|
|
1858
1881
|
return __generator(this, function (_d) {
|
|
1859
1882
|
switch (_d.label) {
|
|
@@ -1863,7 +1886,6 @@ var deserializeAws_json1_1ListLanguageModelsCommandError = function (output, con
|
|
|
1863
1886
|
return [4, parseBody(output.body, context)];
|
|
1864
1887
|
case 1:
|
|
1865
1888
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1866
|
-
errorCode = "UnknownError";
|
|
1867
1889
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1868
1890
|
_b = errorCode;
|
|
1869
1891
|
switch (_b) {
|
|
@@ -1883,10 +1905,12 @@ var deserializeAws_json1_1ListLanguageModelsCommandError = function (output, con
|
|
|
1883
1905
|
case 7: throw _d.sent();
|
|
1884
1906
|
case 8:
|
|
1885
1907
|
parsedBody = parsedOutput.body;
|
|
1908
|
+
$metadata = deserializeMetadata(output);
|
|
1909
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1886
1910
|
response = new __BaseException({
|
|
1887
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1911
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1888
1912
|
$fault: "client",
|
|
1889
|
-
$metadata:
|
|
1913
|
+
$metadata: $metadata,
|
|
1890
1914
|
});
|
|
1891
1915
|
throw __decorateServiceException(response, parsedBody);
|
|
1892
1916
|
}
|
|
@@ -1911,7 +1935,7 @@ export var deserializeAws_json1_1ListMedicalTranscriptionJobsCommand = function
|
|
|
1911
1935
|
});
|
|
1912
1936
|
}); };
|
|
1913
1937
|
var deserializeAws_json1_1ListMedicalTranscriptionJobsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1914
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1938
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1915
1939
|
var _c;
|
|
1916
1940
|
return __generator(this, function (_d) {
|
|
1917
1941
|
switch (_d.label) {
|
|
@@ -1921,7 +1945,6 @@ var deserializeAws_json1_1ListMedicalTranscriptionJobsCommandError = function (o
|
|
|
1921
1945
|
return [4, parseBody(output.body, context)];
|
|
1922
1946
|
case 1:
|
|
1923
1947
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1924
|
-
errorCode = "UnknownError";
|
|
1925
1948
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1926
1949
|
_b = errorCode;
|
|
1927
1950
|
switch (_b) {
|
|
@@ -1941,10 +1964,12 @@ var deserializeAws_json1_1ListMedicalTranscriptionJobsCommandError = function (o
|
|
|
1941
1964
|
case 7: throw _d.sent();
|
|
1942
1965
|
case 8:
|
|
1943
1966
|
parsedBody = parsedOutput.body;
|
|
1967
|
+
$metadata = deserializeMetadata(output);
|
|
1968
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1944
1969
|
response = new __BaseException({
|
|
1945
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1970
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1946
1971
|
$fault: "client",
|
|
1947
|
-
$metadata:
|
|
1972
|
+
$metadata: $metadata,
|
|
1948
1973
|
});
|
|
1949
1974
|
throw __decorateServiceException(response, parsedBody);
|
|
1950
1975
|
}
|
|
@@ -1969,7 +1994,7 @@ export var deserializeAws_json1_1ListMedicalVocabulariesCommand = function (outp
|
|
|
1969
1994
|
});
|
|
1970
1995
|
}); };
|
|
1971
1996
|
var deserializeAws_json1_1ListMedicalVocabulariesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1972
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1997
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1973
1998
|
var _c;
|
|
1974
1999
|
return __generator(this, function (_d) {
|
|
1975
2000
|
switch (_d.label) {
|
|
@@ -1979,7 +2004,6 @@ var deserializeAws_json1_1ListMedicalVocabulariesCommandError = function (output
|
|
|
1979
2004
|
return [4, parseBody(output.body, context)];
|
|
1980
2005
|
case 1:
|
|
1981
2006
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1982
|
-
errorCode = "UnknownError";
|
|
1983
2007
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1984
2008
|
_b = errorCode;
|
|
1985
2009
|
switch (_b) {
|
|
@@ -1999,10 +2023,12 @@ var deserializeAws_json1_1ListMedicalVocabulariesCommandError = function (output
|
|
|
1999
2023
|
case 7: throw _d.sent();
|
|
2000
2024
|
case 8:
|
|
2001
2025
|
parsedBody = parsedOutput.body;
|
|
2026
|
+
$metadata = deserializeMetadata(output);
|
|
2027
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2002
2028
|
response = new __BaseException({
|
|
2003
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2029
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2004
2030
|
$fault: "client",
|
|
2005
|
-
$metadata:
|
|
2031
|
+
$metadata: $metadata,
|
|
2006
2032
|
});
|
|
2007
2033
|
throw __decorateServiceException(response, parsedBody);
|
|
2008
2034
|
}
|
|
@@ -2027,7 +2053,7 @@ export var deserializeAws_json1_1ListTagsForResourceCommand = function (output,
|
|
|
2027
2053
|
});
|
|
2028
2054
|
}); };
|
|
2029
2055
|
var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2030
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2056
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2031
2057
|
var _c;
|
|
2032
2058
|
return __generator(this, function (_d) {
|
|
2033
2059
|
switch (_d.label) {
|
|
@@ -2037,7 +2063,6 @@ var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, co
|
|
|
2037
2063
|
return [4, parseBody(output.body, context)];
|
|
2038
2064
|
case 1:
|
|
2039
2065
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2040
|
-
errorCode = "UnknownError";
|
|
2041
2066
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2042
2067
|
_b = errorCode;
|
|
2043
2068
|
switch (_b) {
|
|
@@ -2061,10 +2086,12 @@ var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, co
|
|
|
2061
2086
|
case 9: throw _d.sent();
|
|
2062
2087
|
case 10:
|
|
2063
2088
|
parsedBody = parsedOutput.body;
|
|
2089
|
+
$metadata = deserializeMetadata(output);
|
|
2090
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2064
2091
|
response = new __BaseException({
|
|
2065
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2092
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2066
2093
|
$fault: "client",
|
|
2067
|
-
$metadata:
|
|
2094
|
+
$metadata: $metadata,
|
|
2068
2095
|
});
|
|
2069
2096
|
throw __decorateServiceException(response, parsedBody);
|
|
2070
2097
|
}
|
|
@@ -2089,7 +2116,7 @@ export var deserializeAws_json1_1ListTranscriptionJobsCommand = function (output
|
|
|
2089
2116
|
});
|
|
2090
2117
|
}); };
|
|
2091
2118
|
var deserializeAws_json1_1ListTranscriptionJobsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2092
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2119
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2093
2120
|
var _c;
|
|
2094
2121
|
return __generator(this, function (_d) {
|
|
2095
2122
|
switch (_d.label) {
|
|
@@ -2099,7 +2126,6 @@ var deserializeAws_json1_1ListTranscriptionJobsCommandError = function (output,
|
|
|
2099
2126
|
return [4, parseBody(output.body, context)];
|
|
2100
2127
|
case 1:
|
|
2101
2128
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2102
|
-
errorCode = "UnknownError";
|
|
2103
2129
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2104
2130
|
_b = errorCode;
|
|
2105
2131
|
switch (_b) {
|
|
@@ -2119,10 +2145,12 @@ var deserializeAws_json1_1ListTranscriptionJobsCommandError = function (output,
|
|
|
2119
2145
|
case 7: throw _d.sent();
|
|
2120
2146
|
case 8:
|
|
2121
2147
|
parsedBody = parsedOutput.body;
|
|
2148
|
+
$metadata = deserializeMetadata(output);
|
|
2149
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2122
2150
|
response = new __BaseException({
|
|
2123
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2151
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2124
2152
|
$fault: "client",
|
|
2125
|
-
$metadata:
|
|
2153
|
+
$metadata: $metadata,
|
|
2126
2154
|
});
|
|
2127
2155
|
throw __decorateServiceException(response, parsedBody);
|
|
2128
2156
|
}
|
|
@@ -2147,7 +2175,7 @@ export var deserializeAws_json1_1ListVocabulariesCommand = function (output, con
|
|
|
2147
2175
|
});
|
|
2148
2176
|
}); };
|
|
2149
2177
|
var deserializeAws_json1_1ListVocabulariesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2150
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2178
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2151
2179
|
var _c;
|
|
2152
2180
|
return __generator(this, function (_d) {
|
|
2153
2181
|
switch (_d.label) {
|
|
@@ -2157,7 +2185,6 @@ var deserializeAws_json1_1ListVocabulariesCommandError = function (output, conte
|
|
|
2157
2185
|
return [4, parseBody(output.body, context)];
|
|
2158
2186
|
case 1:
|
|
2159
2187
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2160
|
-
errorCode = "UnknownError";
|
|
2161
2188
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2162
2189
|
_b = errorCode;
|
|
2163
2190
|
switch (_b) {
|
|
@@ -2177,10 +2204,12 @@ var deserializeAws_json1_1ListVocabulariesCommandError = function (output, conte
|
|
|
2177
2204
|
case 7: throw _d.sent();
|
|
2178
2205
|
case 8:
|
|
2179
2206
|
parsedBody = parsedOutput.body;
|
|
2207
|
+
$metadata = deserializeMetadata(output);
|
|
2208
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2180
2209
|
response = new __BaseException({
|
|
2181
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2210
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2182
2211
|
$fault: "client",
|
|
2183
|
-
$metadata:
|
|
2212
|
+
$metadata: $metadata,
|
|
2184
2213
|
});
|
|
2185
2214
|
throw __decorateServiceException(response, parsedBody);
|
|
2186
2215
|
}
|
|
@@ -2205,7 +2234,7 @@ export var deserializeAws_json1_1ListVocabularyFiltersCommand = function (output
|
|
|
2205
2234
|
});
|
|
2206
2235
|
}); };
|
|
2207
2236
|
var deserializeAws_json1_1ListVocabularyFiltersCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2208
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2237
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2209
2238
|
var _c;
|
|
2210
2239
|
return __generator(this, function (_d) {
|
|
2211
2240
|
switch (_d.label) {
|
|
@@ -2215,7 +2244,6 @@ var deserializeAws_json1_1ListVocabularyFiltersCommandError = function (output,
|
|
|
2215
2244
|
return [4, parseBody(output.body, context)];
|
|
2216
2245
|
case 1:
|
|
2217
2246
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2218
|
-
errorCode = "UnknownError";
|
|
2219
2247
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2220
2248
|
_b = errorCode;
|
|
2221
2249
|
switch (_b) {
|
|
@@ -2235,10 +2263,12 @@ var deserializeAws_json1_1ListVocabularyFiltersCommandError = function (output,
|
|
|
2235
2263
|
case 7: throw _d.sent();
|
|
2236
2264
|
case 8:
|
|
2237
2265
|
parsedBody = parsedOutput.body;
|
|
2266
|
+
$metadata = deserializeMetadata(output);
|
|
2267
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2238
2268
|
response = new __BaseException({
|
|
2239
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2269
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2240
2270
|
$fault: "client",
|
|
2241
|
-
$metadata:
|
|
2271
|
+
$metadata: $metadata,
|
|
2242
2272
|
});
|
|
2243
2273
|
throw __decorateServiceException(response, parsedBody);
|
|
2244
2274
|
}
|
|
@@ -2263,7 +2293,7 @@ export var deserializeAws_json1_1StartCallAnalyticsJobCommand = function (output
|
|
|
2263
2293
|
});
|
|
2264
2294
|
}); };
|
|
2265
2295
|
var deserializeAws_json1_1StartCallAnalyticsJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2266
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2296
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2267
2297
|
var _c;
|
|
2268
2298
|
return __generator(this, function (_d) {
|
|
2269
2299
|
switch (_d.label) {
|
|
@@ -2273,7 +2303,6 @@ var deserializeAws_json1_1StartCallAnalyticsJobCommandError = function (output,
|
|
|
2273
2303
|
return [4, parseBody(output.body, context)];
|
|
2274
2304
|
case 1:
|
|
2275
2305
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2276
|
-
errorCode = "UnknownError";
|
|
2277
2306
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2278
2307
|
_b = errorCode;
|
|
2279
2308
|
switch (_b) {
|
|
@@ -2297,10 +2326,12 @@ var deserializeAws_json1_1StartCallAnalyticsJobCommandError = function (output,
|
|
|
2297
2326
|
case 9: throw _d.sent();
|
|
2298
2327
|
case 10:
|
|
2299
2328
|
parsedBody = parsedOutput.body;
|
|
2329
|
+
$metadata = deserializeMetadata(output);
|
|
2330
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2300
2331
|
response = new __BaseException({
|
|
2301
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2332
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2302
2333
|
$fault: "client",
|
|
2303
|
-
$metadata:
|
|
2334
|
+
$metadata: $metadata,
|
|
2304
2335
|
});
|
|
2305
2336
|
throw __decorateServiceException(response, parsedBody);
|
|
2306
2337
|
}
|
|
@@ -2325,7 +2356,7 @@ export var deserializeAws_json1_1StartMedicalTranscriptionJobCommand = function
|
|
|
2325
2356
|
});
|
|
2326
2357
|
}); };
|
|
2327
2358
|
var deserializeAws_json1_1StartMedicalTranscriptionJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2328
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2359
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2329
2360
|
var _c;
|
|
2330
2361
|
return __generator(this, function (_d) {
|
|
2331
2362
|
switch (_d.label) {
|
|
@@ -2335,7 +2366,6 @@ var deserializeAws_json1_1StartMedicalTranscriptionJobCommandError = function (o
|
|
|
2335
2366
|
return [4, parseBody(output.body, context)];
|
|
2336
2367
|
case 1:
|
|
2337
2368
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2338
|
-
errorCode = "UnknownError";
|
|
2339
2369
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2340
2370
|
_b = errorCode;
|
|
2341
2371
|
switch (_b) {
|
|
@@ -2359,10 +2389,12 @@ var deserializeAws_json1_1StartMedicalTranscriptionJobCommandError = function (o
|
|
|
2359
2389
|
case 9: throw _d.sent();
|
|
2360
2390
|
case 10:
|
|
2361
2391
|
parsedBody = parsedOutput.body;
|
|
2392
|
+
$metadata = deserializeMetadata(output);
|
|
2393
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2362
2394
|
response = new __BaseException({
|
|
2363
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2395
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2364
2396
|
$fault: "client",
|
|
2365
|
-
$metadata:
|
|
2397
|
+
$metadata: $metadata,
|
|
2366
2398
|
});
|
|
2367
2399
|
throw __decorateServiceException(response, parsedBody);
|
|
2368
2400
|
}
|
|
@@ -2387,7 +2419,7 @@ export var deserializeAws_json1_1StartTranscriptionJobCommand = function (output
|
|
|
2387
2419
|
});
|
|
2388
2420
|
}); };
|
|
2389
2421
|
var deserializeAws_json1_1StartTranscriptionJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2390
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2422
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2391
2423
|
var _c;
|
|
2392
2424
|
return __generator(this, function (_d) {
|
|
2393
2425
|
switch (_d.label) {
|
|
@@ -2397,7 +2429,6 @@ var deserializeAws_json1_1StartTranscriptionJobCommandError = function (output,
|
|
|
2397
2429
|
return [4, parseBody(output.body, context)];
|
|
2398
2430
|
case 1:
|
|
2399
2431
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2400
|
-
errorCode = "UnknownError";
|
|
2401
2432
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2402
2433
|
_b = errorCode;
|
|
2403
2434
|
switch (_b) {
|
|
@@ -2421,10 +2452,12 @@ var deserializeAws_json1_1StartTranscriptionJobCommandError = function (output,
|
|
|
2421
2452
|
case 9: throw _d.sent();
|
|
2422
2453
|
case 10:
|
|
2423
2454
|
parsedBody = parsedOutput.body;
|
|
2455
|
+
$metadata = deserializeMetadata(output);
|
|
2456
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2424
2457
|
response = new __BaseException({
|
|
2425
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2458
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2426
2459
|
$fault: "client",
|
|
2427
|
-
$metadata:
|
|
2460
|
+
$metadata: $metadata,
|
|
2428
2461
|
});
|
|
2429
2462
|
throw __decorateServiceException(response, parsedBody);
|
|
2430
2463
|
}
|
|
@@ -2449,7 +2482,7 @@ export var deserializeAws_json1_1TagResourceCommand = function (output, context)
|
|
|
2449
2482
|
});
|
|
2450
2483
|
}); };
|
|
2451
2484
|
var deserializeAws_json1_1TagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2452
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2485
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2453
2486
|
var _c;
|
|
2454
2487
|
return __generator(this, function (_d) {
|
|
2455
2488
|
switch (_d.label) {
|
|
@@ -2459,7 +2492,6 @@ var deserializeAws_json1_1TagResourceCommandError = function (output, context) {
|
|
|
2459
2492
|
return [4, parseBody(output.body, context)];
|
|
2460
2493
|
case 1:
|
|
2461
2494
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2462
|
-
errorCode = "UnknownError";
|
|
2463
2495
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2464
2496
|
_b = errorCode;
|
|
2465
2497
|
switch (_b) {
|
|
@@ -2487,10 +2519,12 @@ var deserializeAws_json1_1TagResourceCommandError = function (output, context) {
|
|
|
2487
2519
|
case 11: throw _d.sent();
|
|
2488
2520
|
case 12:
|
|
2489
2521
|
parsedBody = parsedOutput.body;
|
|
2522
|
+
$metadata = deserializeMetadata(output);
|
|
2523
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2490
2524
|
response = new __BaseException({
|
|
2491
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2525
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2492
2526
|
$fault: "client",
|
|
2493
|
-
$metadata:
|
|
2527
|
+
$metadata: $metadata,
|
|
2494
2528
|
});
|
|
2495
2529
|
throw __decorateServiceException(response, parsedBody);
|
|
2496
2530
|
}
|
|
@@ -2515,7 +2549,7 @@ export var deserializeAws_json1_1UntagResourceCommand = function (output, contex
|
|
|
2515
2549
|
});
|
|
2516
2550
|
}); };
|
|
2517
2551
|
var deserializeAws_json1_1UntagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2518
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2552
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2519
2553
|
var _c;
|
|
2520
2554
|
return __generator(this, function (_d) {
|
|
2521
2555
|
switch (_d.label) {
|
|
@@ -2525,7 +2559,6 @@ var deserializeAws_json1_1UntagResourceCommandError = function (output, context)
|
|
|
2525
2559
|
return [4, parseBody(output.body, context)];
|
|
2526
2560
|
case 1:
|
|
2527
2561
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2528
|
-
errorCode = "UnknownError";
|
|
2529
2562
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2530
2563
|
_b = errorCode;
|
|
2531
2564
|
switch (_b) {
|
|
@@ -2553,10 +2586,12 @@ var deserializeAws_json1_1UntagResourceCommandError = function (output, context)
|
|
|
2553
2586
|
case 11: throw _d.sent();
|
|
2554
2587
|
case 12:
|
|
2555
2588
|
parsedBody = parsedOutput.body;
|
|
2589
|
+
$metadata = deserializeMetadata(output);
|
|
2590
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2556
2591
|
response = new __BaseException({
|
|
2557
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2592
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2558
2593
|
$fault: "client",
|
|
2559
|
-
$metadata:
|
|
2594
|
+
$metadata: $metadata,
|
|
2560
2595
|
});
|
|
2561
2596
|
throw __decorateServiceException(response, parsedBody);
|
|
2562
2597
|
}
|
|
@@ -2581,7 +2616,7 @@ export var deserializeAws_json1_1UpdateCallAnalyticsCategoryCommand = function (
|
|
|
2581
2616
|
});
|
|
2582
2617
|
}); };
|
|
2583
2618
|
var deserializeAws_json1_1UpdateCallAnalyticsCategoryCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2584
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2619
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2585
2620
|
var _c;
|
|
2586
2621
|
return __generator(this, function (_d) {
|
|
2587
2622
|
switch (_d.label) {
|
|
@@ -2591,7 +2626,6 @@ var deserializeAws_json1_1UpdateCallAnalyticsCategoryCommandError = function (ou
|
|
|
2591
2626
|
return [4, parseBody(output.body, context)];
|
|
2592
2627
|
case 1:
|
|
2593
2628
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2594
|
-
errorCode = "UnknownError";
|
|
2595
2629
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2596
2630
|
_b = errorCode;
|
|
2597
2631
|
switch (_b) {
|
|
@@ -2619,10 +2653,12 @@ var deserializeAws_json1_1UpdateCallAnalyticsCategoryCommandError = function (ou
|
|
|
2619
2653
|
case 11: throw _d.sent();
|
|
2620
2654
|
case 12:
|
|
2621
2655
|
parsedBody = parsedOutput.body;
|
|
2656
|
+
$metadata = deserializeMetadata(output);
|
|
2657
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2622
2658
|
response = new __BaseException({
|
|
2623
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2659
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2624
2660
|
$fault: "client",
|
|
2625
|
-
$metadata:
|
|
2661
|
+
$metadata: $metadata,
|
|
2626
2662
|
});
|
|
2627
2663
|
throw __decorateServiceException(response, parsedBody);
|
|
2628
2664
|
}
|
|
@@ -2647,7 +2683,7 @@ export var deserializeAws_json1_1UpdateMedicalVocabularyCommand = function (outp
|
|
|
2647
2683
|
});
|
|
2648
2684
|
}); };
|
|
2649
2685
|
var deserializeAws_json1_1UpdateMedicalVocabularyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2650
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2686
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2651
2687
|
var _c;
|
|
2652
2688
|
return __generator(this, function (_d) {
|
|
2653
2689
|
switch (_d.label) {
|
|
@@ -2657,7 +2693,6 @@ var deserializeAws_json1_1UpdateMedicalVocabularyCommandError = function (output
|
|
|
2657
2693
|
return [4, parseBody(output.body, context)];
|
|
2658
2694
|
case 1:
|
|
2659
2695
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2660
|
-
errorCode = "UnknownError";
|
|
2661
2696
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2662
2697
|
_b = errorCode;
|
|
2663
2698
|
switch (_b) {
|
|
@@ -2685,10 +2720,12 @@ var deserializeAws_json1_1UpdateMedicalVocabularyCommandError = function (output
|
|
|
2685
2720
|
case 11: throw _d.sent();
|
|
2686
2721
|
case 12:
|
|
2687
2722
|
parsedBody = parsedOutput.body;
|
|
2723
|
+
$metadata = deserializeMetadata(output);
|
|
2724
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2688
2725
|
response = new __BaseException({
|
|
2689
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2726
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2690
2727
|
$fault: "client",
|
|
2691
|
-
$metadata:
|
|
2728
|
+
$metadata: $metadata,
|
|
2692
2729
|
});
|
|
2693
2730
|
throw __decorateServiceException(response, parsedBody);
|
|
2694
2731
|
}
|
|
@@ -2713,7 +2750,7 @@ export var deserializeAws_json1_1UpdateVocabularyCommand = function (output, con
|
|
|
2713
2750
|
});
|
|
2714
2751
|
}); };
|
|
2715
2752
|
var deserializeAws_json1_1UpdateVocabularyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2716
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2753
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2717
2754
|
var _c;
|
|
2718
2755
|
return __generator(this, function (_d) {
|
|
2719
2756
|
switch (_d.label) {
|
|
@@ -2723,7 +2760,6 @@ var deserializeAws_json1_1UpdateVocabularyCommandError = function (output, conte
|
|
|
2723
2760
|
return [4, parseBody(output.body, context)];
|
|
2724
2761
|
case 1:
|
|
2725
2762
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2726
|
-
errorCode = "UnknownError";
|
|
2727
2763
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2728
2764
|
_b = errorCode;
|
|
2729
2765
|
switch (_b) {
|
|
@@ -2751,10 +2787,12 @@ var deserializeAws_json1_1UpdateVocabularyCommandError = function (output, conte
|
|
|
2751
2787
|
case 11: throw _d.sent();
|
|
2752
2788
|
case 12:
|
|
2753
2789
|
parsedBody = parsedOutput.body;
|
|
2790
|
+
$metadata = deserializeMetadata(output);
|
|
2791
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2754
2792
|
response = new __BaseException({
|
|
2755
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2793
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2756
2794
|
$fault: "client",
|
|
2757
|
-
$metadata:
|
|
2795
|
+
$metadata: $metadata,
|
|
2758
2796
|
});
|
|
2759
2797
|
throw __decorateServiceException(response, parsedBody);
|
|
2760
2798
|
}
|
|
@@ -2779,7 +2817,7 @@ export var deserializeAws_json1_1UpdateVocabularyFilterCommand = function (outpu
|
|
|
2779
2817
|
});
|
|
2780
2818
|
}); };
|
|
2781
2819
|
var deserializeAws_json1_1UpdateVocabularyFilterCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2782
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2820
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2783
2821
|
var _c;
|
|
2784
2822
|
return __generator(this, function (_d) {
|
|
2785
2823
|
switch (_d.label) {
|
|
@@ -2789,7 +2827,6 @@ var deserializeAws_json1_1UpdateVocabularyFilterCommandError = function (output,
|
|
|
2789
2827
|
return [4, parseBody(output.body, context)];
|
|
2790
2828
|
case 1:
|
|
2791
2829
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2792
|
-
errorCode = "UnknownError";
|
|
2793
2830
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2794
2831
|
_b = errorCode;
|
|
2795
2832
|
switch (_b) {
|
|
@@ -2813,10 +2850,12 @@ var deserializeAws_json1_1UpdateVocabularyFilterCommandError = function (output,
|
|
|
2813
2850
|
case 9: throw _d.sent();
|
|
2814
2851
|
case 10:
|
|
2815
2852
|
parsedBody = parsedOutput.body;
|
|
2853
|
+
$metadata = deserializeMetadata(output);
|
|
2854
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2816
2855
|
response = new __BaseException({
|
|
2817
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2856
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2818
2857
|
$fault: "client",
|
|
2819
|
-
$metadata:
|
|
2858
|
+
$metadata: $metadata,
|
|
2820
2859
|
});
|
|
2821
2860
|
throw __decorateServiceException(response, parsedBody);
|
|
2822
2861
|
}
|
|
@@ -2868,27 +2907,19 @@ var deserializeAws_json1_1NotFoundExceptionResponse = function (parsedOutput, co
|
|
|
2868
2907
|
});
|
|
2869
2908
|
}); };
|
|
2870
2909
|
var serializeAws_json1_1AbsoluteTimeRange = function (input, context) {
|
|
2871
|
-
return __assign(__assign(__assign(__assign({}, (input.EndTime
|
|
2910
|
+
return __assign(__assign(__assign(__assign({}, (input.EndTime != null && { EndTime: input.EndTime })), (input.First != null && { First: input.First })), (input.Last != null && { Last: input.Last })), (input.StartTime != null && { StartTime: input.StartTime }));
|
|
2872
2911
|
};
|
|
2873
2912
|
var serializeAws_json1_1CallAnalyticsJobSettings = function (input, context) {
|
|
2874
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContentRedaction
|
|
2875
|
-
input.ContentRedaction !== null && {
|
|
2913
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContentRedaction != null && {
|
|
2876
2914
|
ContentRedaction: serializeAws_json1_1ContentRedaction(input.ContentRedaction, context),
|
|
2877
|
-
})), (input.LanguageIdSettings
|
|
2878
|
-
input.LanguageIdSettings !== null && {
|
|
2915
|
+
})), (input.LanguageIdSettings != null && {
|
|
2879
2916
|
LanguageIdSettings: serializeAws_json1_1LanguageIdSettingsMap(input.LanguageIdSettings, context),
|
|
2880
|
-
})), (input.LanguageModelName
|
|
2881
|
-
input.LanguageModelName !== null && { LanguageModelName: input.LanguageModelName })), (input.LanguageOptions !== undefined &&
|
|
2882
|
-
input.LanguageOptions !== null && {
|
|
2917
|
+
})), (input.LanguageModelName != null && { LanguageModelName: input.LanguageModelName })), (input.LanguageOptions != null && {
|
|
2883
2918
|
LanguageOptions: serializeAws_json1_1LanguageOptions(input.LanguageOptions, context),
|
|
2884
|
-
})), (input.VocabularyFilterMethod
|
|
2885
|
-
input.VocabularyFilterMethod !== null && { VocabularyFilterMethod: input.VocabularyFilterMethod })), (input.VocabularyFilterName !== undefined &&
|
|
2886
|
-
input.VocabularyFilterName !== null && { VocabularyFilterName: input.VocabularyFilterName })), (input.VocabularyName !== undefined &&
|
|
2887
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }));
|
|
2919
|
+
})), (input.VocabularyFilterMethod != null && { VocabularyFilterMethod: input.VocabularyFilterMethod })), (input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName })), (input.VocabularyName != null && { VocabularyName: input.VocabularyName }));
|
|
2888
2920
|
};
|
|
2889
2921
|
var serializeAws_json1_1ChannelDefinition = function (input, context) {
|
|
2890
|
-
return __assign(__assign({}, (input.ChannelId
|
|
2891
|
-
input.ParticipantRole !== null && { ParticipantRole: input.ParticipantRole }));
|
|
2922
|
+
return __assign(__assign({}, (input.ChannelId != null && { ChannelId: input.ChannelId })), (input.ParticipantRole != null && { ParticipantRole: input.ParticipantRole }));
|
|
2892
2923
|
};
|
|
2893
2924
|
var serializeAws_json1_1ChannelDefinitions = function (input, context) {
|
|
2894
2925
|
return input
|
|
@@ -2901,118 +2932,91 @@ var serializeAws_json1_1ChannelDefinitions = function (input, context) {
|
|
|
2901
2932
|
});
|
|
2902
2933
|
};
|
|
2903
2934
|
var serializeAws_json1_1ContentRedaction = function (input, context) {
|
|
2904
|
-
return __assign(__assign(__assign({}, (input.PiiEntityTypes
|
|
2905
|
-
input.PiiEntityTypes !== null && {
|
|
2935
|
+
return __assign(__assign(__assign({}, (input.PiiEntityTypes != null && {
|
|
2906
2936
|
PiiEntityTypes: serializeAws_json1_1PiiEntityTypes(input.PiiEntityTypes, context),
|
|
2907
|
-
})), (input.RedactionOutput
|
|
2908
|
-
input.RedactionOutput !== null && { RedactionOutput: input.RedactionOutput })), (input.RedactionType !== undefined && input.RedactionType !== null && { RedactionType: input.RedactionType }));
|
|
2937
|
+
})), (input.RedactionOutput != null && { RedactionOutput: input.RedactionOutput })), (input.RedactionType != null && { RedactionType: input.RedactionType }));
|
|
2909
2938
|
};
|
|
2910
2939
|
var serializeAws_json1_1CreateCallAnalyticsCategoryRequest = function (input, context) {
|
|
2911
|
-
return __assign(__assign({}, (input.CategoryName
|
|
2912
|
-
input.Rules !== null && { Rules: serializeAws_json1_1RuleList(input.Rules, context) }));
|
|
2940
|
+
return __assign(__assign({}, (input.CategoryName != null && { CategoryName: input.CategoryName })), (input.Rules != null && { Rules: serializeAws_json1_1RuleList(input.Rules, context) }));
|
|
2913
2941
|
};
|
|
2914
2942
|
var serializeAws_json1_1CreateLanguageModelRequest = function (input, context) {
|
|
2915
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.BaseModelName
|
|
2916
|
-
input.InputDataConfig !== null && {
|
|
2943
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.BaseModelName != null && { BaseModelName: input.BaseModelName })), (input.InputDataConfig != null && {
|
|
2917
2944
|
InputDataConfig: serializeAws_json1_1InputDataConfig(input.InputDataConfig, context),
|
|
2918
|
-
})), (input.LanguageCode
|
|
2945
|
+
})), (input.LanguageCode != null && { LanguageCode: input.LanguageCode })), (input.ModelName != null && { ModelName: input.ModelName })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
2919
2946
|
};
|
|
2920
2947
|
var serializeAws_json1_1CreateMedicalVocabularyRequest = function (input, context) {
|
|
2921
|
-
return __assign(__assign(__assign(__assign({}, (input.LanguageCode
|
|
2922
|
-
input.VocabularyFileUri !== null && { VocabularyFileUri: input.VocabularyFileUri })), (input.VocabularyName !== undefined &&
|
|
2923
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }));
|
|
2948
|
+
return __assign(__assign(__assign(__assign({}, (input.LanguageCode != null && { LanguageCode: input.LanguageCode })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.VocabularyFileUri != null && { VocabularyFileUri: input.VocabularyFileUri })), (input.VocabularyName != null && { VocabularyName: input.VocabularyName }));
|
|
2924
2949
|
};
|
|
2925
2950
|
var serializeAws_json1_1CreateVocabularyFilterRequest = function (input, context) {
|
|
2926
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.LanguageCode
|
|
2927
|
-
input.VocabularyFilterFileUri !== null && { VocabularyFilterFileUri: input.VocabularyFilterFileUri })), (input.VocabularyFilterName !== undefined &&
|
|
2928
|
-
input.VocabularyFilterName !== null && { VocabularyFilterName: input.VocabularyFilterName })), (input.Words !== undefined &&
|
|
2929
|
-
input.Words !== null && { Words: serializeAws_json1_1Words(input.Words, context) }));
|
|
2951
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.LanguageCode != null && { LanguageCode: input.LanguageCode })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.VocabularyFilterFileUri != null && { VocabularyFilterFileUri: input.VocabularyFilterFileUri })), (input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName })), (input.Words != null && { Words: serializeAws_json1_1Words(input.Words, context) }));
|
|
2930
2952
|
};
|
|
2931
2953
|
var serializeAws_json1_1CreateVocabularyRequest = function (input, context) {
|
|
2932
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.LanguageCode
|
|
2933
|
-
input.Phrases !== null && { Phrases: serializeAws_json1_1Phrases(input.Phrases, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.VocabularyFileUri !== undefined &&
|
|
2934
|
-
input.VocabularyFileUri !== null && { VocabularyFileUri: input.VocabularyFileUri })), (input.VocabularyName !== undefined &&
|
|
2935
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }));
|
|
2954
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.LanguageCode != null && { LanguageCode: input.LanguageCode })), (input.Phrases != null && { Phrases: serializeAws_json1_1Phrases(input.Phrases, context) })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.VocabularyFileUri != null && { VocabularyFileUri: input.VocabularyFileUri })), (input.VocabularyName != null && { VocabularyName: input.VocabularyName }));
|
|
2936
2955
|
};
|
|
2937
2956
|
var serializeAws_json1_1DeleteCallAnalyticsCategoryRequest = function (input, context) {
|
|
2938
|
-
return __assign({}, (input.CategoryName
|
|
2957
|
+
return __assign({}, (input.CategoryName != null && { CategoryName: input.CategoryName }));
|
|
2939
2958
|
};
|
|
2940
2959
|
var serializeAws_json1_1DeleteCallAnalyticsJobRequest = function (input, context) {
|
|
2941
|
-
return __assign({}, (input.CallAnalyticsJobName
|
|
2942
|
-
input.CallAnalyticsJobName !== null && { CallAnalyticsJobName: input.CallAnalyticsJobName }));
|
|
2960
|
+
return __assign({}, (input.CallAnalyticsJobName != null && { CallAnalyticsJobName: input.CallAnalyticsJobName }));
|
|
2943
2961
|
};
|
|
2944
2962
|
var serializeAws_json1_1DeleteLanguageModelRequest = function (input, context) {
|
|
2945
|
-
return __assign({}, (input.ModelName
|
|
2963
|
+
return __assign({}, (input.ModelName != null && { ModelName: input.ModelName }));
|
|
2946
2964
|
};
|
|
2947
2965
|
var serializeAws_json1_1DeleteMedicalTranscriptionJobRequest = function (input, context) {
|
|
2948
|
-
return __assign({}, (input.MedicalTranscriptionJobName
|
|
2949
|
-
|
|
2966
|
+
return __assign({}, (input.MedicalTranscriptionJobName != null && {
|
|
2967
|
+
MedicalTranscriptionJobName: input.MedicalTranscriptionJobName,
|
|
2968
|
+
}));
|
|
2950
2969
|
};
|
|
2951
2970
|
var serializeAws_json1_1DeleteMedicalVocabularyRequest = function (input, context) {
|
|
2952
|
-
return __assign({}, (input.VocabularyName
|
|
2953
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }));
|
|
2971
|
+
return __assign({}, (input.VocabularyName != null && { VocabularyName: input.VocabularyName }));
|
|
2954
2972
|
};
|
|
2955
2973
|
var serializeAws_json1_1DeleteTranscriptionJobRequest = function (input, context) {
|
|
2956
|
-
return __assign({}, (input.TranscriptionJobName
|
|
2957
|
-
input.TranscriptionJobName !== null && { TranscriptionJobName: input.TranscriptionJobName }));
|
|
2974
|
+
return __assign({}, (input.TranscriptionJobName != null && { TranscriptionJobName: input.TranscriptionJobName }));
|
|
2958
2975
|
};
|
|
2959
2976
|
var serializeAws_json1_1DeleteVocabularyFilterRequest = function (input, context) {
|
|
2960
|
-
return __assign({}, (input.VocabularyFilterName
|
|
2961
|
-
input.VocabularyFilterName !== null && { VocabularyFilterName: input.VocabularyFilterName }));
|
|
2977
|
+
return __assign({}, (input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName }));
|
|
2962
2978
|
};
|
|
2963
2979
|
var serializeAws_json1_1DeleteVocabularyRequest = function (input, context) {
|
|
2964
|
-
return __assign({}, (input.VocabularyName
|
|
2965
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }));
|
|
2980
|
+
return __assign({}, (input.VocabularyName != null && { VocabularyName: input.VocabularyName }));
|
|
2966
2981
|
};
|
|
2967
2982
|
var serializeAws_json1_1DescribeLanguageModelRequest = function (input, context) {
|
|
2968
|
-
return __assign({}, (input.ModelName
|
|
2983
|
+
return __assign({}, (input.ModelName != null && { ModelName: input.ModelName }));
|
|
2969
2984
|
};
|
|
2970
2985
|
var serializeAws_json1_1GetCallAnalyticsCategoryRequest = function (input, context) {
|
|
2971
|
-
return __assign({}, (input.CategoryName
|
|
2986
|
+
return __assign({}, (input.CategoryName != null && { CategoryName: input.CategoryName }));
|
|
2972
2987
|
};
|
|
2973
2988
|
var serializeAws_json1_1GetCallAnalyticsJobRequest = function (input, context) {
|
|
2974
|
-
return __assign({}, (input.CallAnalyticsJobName
|
|
2975
|
-
input.CallAnalyticsJobName !== null && { CallAnalyticsJobName: input.CallAnalyticsJobName }));
|
|
2989
|
+
return __assign({}, (input.CallAnalyticsJobName != null && { CallAnalyticsJobName: input.CallAnalyticsJobName }));
|
|
2976
2990
|
};
|
|
2977
2991
|
var serializeAws_json1_1GetMedicalTranscriptionJobRequest = function (input, context) {
|
|
2978
|
-
return __assign({}, (input.MedicalTranscriptionJobName
|
|
2979
|
-
|
|
2992
|
+
return __assign({}, (input.MedicalTranscriptionJobName != null && {
|
|
2993
|
+
MedicalTranscriptionJobName: input.MedicalTranscriptionJobName,
|
|
2994
|
+
}));
|
|
2980
2995
|
};
|
|
2981
2996
|
var serializeAws_json1_1GetMedicalVocabularyRequest = function (input, context) {
|
|
2982
|
-
return __assign({}, (input.VocabularyName
|
|
2983
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }));
|
|
2997
|
+
return __assign({}, (input.VocabularyName != null && { VocabularyName: input.VocabularyName }));
|
|
2984
2998
|
};
|
|
2985
2999
|
var serializeAws_json1_1GetTranscriptionJobRequest = function (input, context) {
|
|
2986
|
-
return __assign({}, (input.TranscriptionJobName
|
|
2987
|
-
input.TranscriptionJobName !== null && { TranscriptionJobName: input.TranscriptionJobName }));
|
|
3000
|
+
return __assign({}, (input.TranscriptionJobName != null && { TranscriptionJobName: input.TranscriptionJobName }));
|
|
2988
3001
|
};
|
|
2989
3002
|
var serializeAws_json1_1GetVocabularyFilterRequest = function (input, context) {
|
|
2990
|
-
return __assign({}, (input.VocabularyFilterName
|
|
2991
|
-
input.VocabularyFilterName !== null && { VocabularyFilterName: input.VocabularyFilterName }));
|
|
3003
|
+
return __assign({}, (input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName }));
|
|
2992
3004
|
};
|
|
2993
3005
|
var serializeAws_json1_1GetVocabularyRequest = function (input, context) {
|
|
2994
|
-
return __assign({}, (input.VocabularyName
|
|
2995
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }));
|
|
3006
|
+
return __assign({}, (input.VocabularyName != null && { VocabularyName: input.VocabularyName }));
|
|
2996
3007
|
};
|
|
2997
3008
|
var serializeAws_json1_1InputDataConfig = function (input, context) {
|
|
2998
|
-
return __assign(__assign(__assign({}, (input.DataAccessRoleArn
|
|
2999
|
-
input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn })), (input.S3Uri !== undefined && input.S3Uri !== null && { S3Uri: input.S3Uri })), (input.TuningDataS3Uri !== undefined &&
|
|
3000
|
-
input.TuningDataS3Uri !== null && { TuningDataS3Uri: input.TuningDataS3Uri }));
|
|
3009
|
+
return __assign(__assign(__assign({}, (input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn })), (input.S3Uri != null && { S3Uri: input.S3Uri })), (input.TuningDataS3Uri != null && { TuningDataS3Uri: input.TuningDataS3Uri }));
|
|
3001
3010
|
};
|
|
3002
3011
|
var serializeAws_json1_1InterruptionFilter = function (input, context) {
|
|
3003
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.AbsoluteTimeRange
|
|
3004
|
-
input.AbsoluteTimeRange !== null && {
|
|
3012
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.AbsoluteTimeRange != null && {
|
|
3005
3013
|
AbsoluteTimeRange: serializeAws_json1_1AbsoluteTimeRange(input.AbsoluteTimeRange, context),
|
|
3006
|
-
})), (input.Negate
|
|
3007
|
-
input.ParticipantRole !== null && { ParticipantRole: input.ParticipantRole })), (input.RelativeTimeRange !== undefined &&
|
|
3008
|
-
input.RelativeTimeRange !== null && {
|
|
3014
|
+
})), (input.Negate != null && { Negate: input.Negate })), (input.ParticipantRole != null && { ParticipantRole: input.ParticipantRole })), (input.RelativeTimeRange != null && {
|
|
3009
3015
|
RelativeTimeRange: serializeAws_json1_1RelativeTimeRange(input.RelativeTimeRange, context),
|
|
3010
|
-
})), (input.Threshold
|
|
3016
|
+
})), (input.Threshold != null && { Threshold: input.Threshold }));
|
|
3011
3017
|
};
|
|
3012
3018
|
var serializeAws_json1_1JobExecutionSettings = function (input, context) {
|
|
3013
|
-
return __assign(__assign({}, (input.AllowDeferredExecution
|
|
3014
|
-
input.AllowDeferredExecution !== null && { AllowDeferredExecution: input.AllowDeferredExecution })), (input.DataAccessRoleArn !== undefined &&
|
|
3015
|
-
input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn }));
|
|
3019
|
+
return __assign(__assign({}, (input.AllowDeferredExecution != null && { AllowDeferredExecution: input.AllowDeferredExecution })), (input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }));
|
|
3016
3020
|
};
|
|
3017
3021
|
var serializeAws_json1_1KMSEncryptionContextMap = function (input, context) {
|
|
3018
3022
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -3025,10 +3029,7 @@ var serializeAws_json1_1KMSEncryptionContextMap = function (input, context) {
|
|
|
3025
3029
|
}, {});
|
|
3026
3030
|
};
|
|
3027
3031
|
var serializeAws_json1_1LanguageIdSettings = function (input, context) {
|
|
3028
|
-
return __assign(__assign(__assign({}, (input.LanguageModelName
|
|
3029
|
-
input.LanguageModelName !== null && { LanguageModelName: input.LanguageModelName })), (input.VocabularyFilterName !== undefined &&
|
|
3030
|
-
input.VocabularyFilterName !== null && { VocabularyFilterName: input.VocabularyFilterName })), (input.VocabularyName !== undefined &&
|
|
3031
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }));
|
|
3032
|
+
return __assign(__assign(__assign({}, (input.LanguageModelName != null && { LanguageModelName: input.LanguageModelName })), (input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName })), (input.VocabularyName != null && { VocabularyName: input.VocabularyName }));
|
|
3032
3033
|
};
|
|
3033
3034
|
var serializeAws_json1_1LanguageIdSettingsMap = function (input, context) {
|
|
3034
3035
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -3051,60 +3052,47 @@ var serializeAws_json1_1LanguageOptions = function (input, context) {
|
|
|
3051
3052
|
});
|
|
3052
3053
|
};
|
|
3053
3054
|
var serializeAws_json1_1ListCallAnalyticsCategoriesRequest = function (input, context) {
|
|
3054
|
-
return __assign(__assign({}, (input.MaxResults
|
|
3055
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
3055
3056
|
};
|
|
3056
3057
|
var serializeAws_json1_1ListCallAnalyticsJobsRequest = function (input, context) {
|
|
3057
|
-
return __assign(__assign(__assign(__assign({}, (input.JobNameContains
|
|
3058
|
-
input.JobNameContains !== null && { JobNameContains: input.JobNameContains })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.Status !== undefined && input.Status !== null && { Status: input.Status }));
|
|
3058
|
+
return __assign(__assign(__assign(__assign({}, (input.JobNameContains != null && { JobNameContains: input.JobNameContains })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.Status != null && { Status: input.Status }));
|
|
3059
3059
|
};
|
|
3060
3060
|
var serializeAws_json1_1ListLanguageModelsRequest = function (input, context) {
|
|
3061
|
-
return __assign(__assign(__assign(__assign({}, (input.MaxResults
|
|
3061
|
+
return __assign(__assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NameContains != null && { NameContains: input.NameContains })), (input.NextToken != null && { NextToken: input.NextToken })), (input.StatusEquals != null && { StatusEquals: input.StatusEquals }));
|
|
3062
3062
|
};
|
|
3063
3063
|
var serializeAws_json1_1ListMedicalTranscriptionJobsRequest = function (input, context) {
|
|
3064
|
-
return __assign(__assign(__assign(__assign({}, (input.JobNameContains
|
|
3065
|
-
input.JobNameContains !== null && { JobNameContains: input.JobNameContains })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.Status !== undefined && input.Status !== null && { Status: input.Status }));
|
|
3064
|
+
return __assign(__assign(__assign(__assign({}, (input.JobNameContains != null && { JobNameContains: input.JobNameContains })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.Status != null && { Status: input.Status }));
|
|
3066
3065
|
};
|
|
3067
3066
|
var serializeAws_json1_1ListMedicalVocabulariesRequest = function (input, context) {
|
|
3068
|
-
return __assign(__assign(__assign(__assign({}, (input.MaxResults
|
|
3067
|
+
return __assign(__assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NameContains != null && { NameContains: input.NameContains })), (input.NextToken != null && { NextToken: input.NextToken })), (input.StateEquals != null && { StateEquals: input.StateEquals }));
|
|
3069
3068
|
};
|
|
3070
3069
|
var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
|
|
3071
|
-
return __assign({}, (input.ResourceArn
|
|
3070
|
+
return __assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn }));
|
|
3072
3071
|
};
|
|
3073
3072
|
var serializeAws_json1_1ListTranscriptionJobsRequest = function (input, context) {
|
|
3074
|
-
return __assign(__assign(__assign(__assign({}, (input.JobNameContains
|
|
3075
|
-
input.JobNameContains !== null && { JobNameContains: input.JobNameContains })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.Status !== undefined && input.Status !== null && { Status: input.Status }));
|
|
3073
|
+
return __assign(__assign(__assign(__assign({}, (input.JobNameContains != null && { JobNameContains: input.JobNameContains })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.Status != null && { Status: input.Status }));
|
|
3076
3074
|
};
|
|
3077
3075
|
var serializeAws_json1_1ListVocabulariesRequest = function (input, context) {
|
|
3078
|
-
return __assign(__assign(__assign(__assign({}, (input.MaxResults
|
|
3076
|
+
return __assign(__assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NameContains != null && { NameContains: input.NameContains })), (input.NextToken != null && { NextToken: input.NextToken })), (input.StateEquals != null && { StateEquals: input.StateEquals }));
|
|
3079
3077
|
};
|
|
3080
3078
|
var serializeAws_json1_1ListVocabularyFiltersRequest = function (input, context) {
|
|
3081
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
3079
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NameContains != null && { NameContains: input.NameContains })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
3082
3080
|
};
|
|
3083
3081
|
var serializeAws_json1_1Media = function (input, context) {
|
|
3084
|
-
return __assign(__assign({}, (input.MediaFileUri
|
|
3085
|
-
input.RedactedMediaFileUri !== null && { RedactedMediaFileUri: input.RedactedMediaFileUri }));
|
|
3082
|
+
return __assign(__assign({}, (input.MediaFileUri != null && { MediaFileUri: input.MediaFileUri })), (input.RedactedMediaFileUri != null && { RedactedMediaFileUri: input.RedactedMediaFileUri }));
|
|
3086
3083
|
};
|
|
3087
3084
|
var serializeAws_json1_1MedicalTranscriptionSetting = function (input, context) {
|
|
3088
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ChannelIdentification
|
|
3089
|
-
input.ChannelIdentification !== null && { ChannelIdentification: input.ChannelIdentification })), (input.MaxAlternatives !== undefined &&
|
|
3090
|
-
input.MaxAlternatives !== null && { MaxAlternatives: input.MaxAlternatives })), (input.MaxSpeakerLabels !== undefined &&
|
|
3091
|
-
input.MaxSpeakerLabels !== null && { MaxSpeakerLabels: input.MaxSpeakerLabels })), (input.ShowAlternatives !== undefined &&
|
|
3092
|
-
input.ShowAlternatives !== null && { ShowAlternatives: input.ShowAlternatives })), (input.ShowSpeakerLabels !== undefined &&
|
|
3093
|
-
input.ShowSpeakerLabels !== null && { ShowSpeakerLabels: input.ShowSpeakerLabels })), (input.VocabularyName !== undefined &&
|
|
3094
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }));
|
|
3085
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ChannelIdentification != null && { ChannelIdentification: input.ChannelIdentification })), (input.MaxAlternatives != null && { MaxAlternatives: input.MaxAlternatives })), (input.MaxSpeakerLabels != null && { MaxSpeakerLabels: input.MaxSpeakerLabels })), (input.ShowAlternatives != null && { ShowAlternatives: input.ShowAlternatives })), (input.ShowSpeakerLabels != null && { ShowSpeakerLabels: input.ShowSpeakerLabels })), (input.VocabularyName != null && { VocabularyName: input.VocabularyName }));
|
|
3095
3086
|
};
|
|
3096
3087
|
var serializeAws_json1_1ModelSettings = function (input, context) {
|
|
3097
|
-
return __assign({}, (input.LanguageModelName
|
|
3098
|
-
input.LanguageModelName !== null && { LanguageModelName: input.LanguageModelName }));
|
|
3088
|
+
return __assign({}, (input.LanguageModelName != null && { LanguageModelName: input.LanguageModelName }));
|
|
3099
3089
|
};
|
|
3100
3090
|
var serializeAws_json1_1NonTalkTimeFilter = function (input, context) {
|
|
3101
|
-
return __assign(__assign(__assign(__assign({}, (input.AbsoluteTimeRange
|
|
3102
|
-
input.AbsoluteTimeRange !== null && {
|
|
3091
|
+
return __assign(__assign(__assign(__assign({}, (input.AbsoluteTimeRange != null && {
|
|
3103
3092
|
AbsoluteTimeRange: serializeAws_json1_1AbsoluteTimeRange(input.AbsoluteTimeRange, context),
|
|
3104
|
-
})), (input.Negate
|
|
3105
|
-
input.RelativeTimeRange !== null && {
|
|
3093
|
+
})), (input.Negate != null && { Negate: input.Negate })), (input.RelativeTimeRange != null && {
|
|
3106
3094
|
RelativeTimeRange: serializeAws_json1_1RelativeTimeRange(input.RelativeTimeRange, context),
|
|
3107
|
-
})), (input.Threshold
|
|
3095
|
+
})), (input.Threshold != null && { Threshold: input.Threshold }));
|
|
3108
3096
|
};
|
|
3109
3097
|
var serializeAws_json1_1Phrases = function (input, context) {
|
|
3110
3098
|
return input
|
|
@@ -3127,8 +3115,7 @@ var serializeAws_json1_1PiiEntityTypes = function (input, context) {
|
|
|
3127
3115
|
});
|
|
3128
3116
|
};
|
|
3129
3117
|
var serializeAws_json1_1RelativeTimeRange = function (input, context) {
|
|
3130
|
-
return __assign(__assign(__assign(__assign({}, (input.EndPercentage
|
|
3131
|
-
input.StartPercentage !== null && { StartPercentage: input.StartPercentage }));
|
|
3118
|
+
return __assign(__assign(__assign(__assign({}, (input.EndPercentage != null && { EndPercentage: input.EndPercentage })), (input.First != null && { First: input.First })), (input.Last != null && { Last: input.Last })), (input.StartPercentage != null && { StartPercentage: input.StartPercentage }));
|
|
3132
3119
|
};
|
|
3133
3120
|
var serializeAws_json1_1Rule = function (input, context) {
|
|
3134
3121
|
return Rule.visit(input, {
|
|
@@ -3150,15 +3137,11 @@ var serializeAws_json1_1RuleList = function (input, context) {
|
|
|
3150
3137
|
});
|
|
3151
3138
|
};
|
|
3152
3139
|
var serializeAws_json1_1SentimentFilter = function (input, context) {
|
|
3153
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.AbsoluteTimeRange
|
|
3154
|
-
input.AbsoluteTimeRange !== null && {
|
|
3140
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.AbsoluteTimeRange != null && {
|
|
3155
3141
|
AbsoluteTimeRange: serializeAws_json1_1AbsoluteTimeRange(input.AbsoluteTimeRange, context),
|
|
3156
|
-
})), (input.Negate
|
|
3157
|
-
input.ParticipantRole !== null && { ParticipantRole: input.ParticipantRole })), (input.RelativeTimeRange !== undefined &&
|
|
3158
|
-
input.RelativeTimeRange !== null && {
|
|
3142
|
+
})), (input.Negate != null && { Negate: input.Negate })), (input.ParticipantRole != null && { ParticipantRole: input.ParticipantRole })), (input.RelativeTimeRange != null && {
|
|
3159
3143
|
RelativeTimeRange: serializeAws_json1_1RelativeTimeRange(input.RelativeTimeRange, context),
|
|
3160
|
-
})), (input.Sentiments
|
|
3161
|
-
input.Sentiments !== null && { Sentiments: serializeAws_json1_1SentimentValueList(input.Sentiments, context) }));
|
|
3144
|
+
})), (input.Sentiments != null && { Sentiments: serializeAws_json1_1SentimentValueList(input.Sentiments, context) }));
|
|
3162
3145
|
};
|
|
3163
3146
|
var serializeAws_json1_1SentimentValueList = function (input, context) {
|
|
3164
3147
|
return input
|
|
@@ -3171,72 +3154,36 @@ var serializeAws_json1_1SentimentValueList = function (input, context) {
|
|
|
3171
3154
|
});
|
|
3172
3155
|
};
|
|
3173
3156
|
var serializeAws_json1_1Settings = function (input, context) {
|
|
3174
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ChannelIdentification
|
|
3175
|
-
input.ChannelIdentification !== null && { ChannelIdentification: input.ChannelIdentification })), (input.MaxAlternatives !== undefined &&
|
|
3176
|
-
input.MaxAlternatives !== null && { MaxAlternatives: input.MaxAlternatives })), (input.MaxSpeakerLabels !== undefined &&
|
|
3177
|
-
input.MaxSpeakerLabels !== null && { MaxSpeakerLabels: input.MaxSpeakerLabels })), (input.ShowAlternatives !== undefined &&
|
|
3178
|
-
input.ShowAlternatives !== null && { ShowAlternatives: input.ShowAlternatives })), (input.ShowSpeakerLabels !== undefined &&
|
|
3179
|
-
input.ShowSpeakerLabels !== null && { ShowSpeakerLabels: input.ShowSpeakerLabels })), (input.VocabularyFilterMethod !== undefined &&
|
|
3180
|
-
input.VocabularyFilterMethod !== null && { VocabularyFilterMethod: input.VocabularyFilterMethod })), (input.VocabularyFilterName !== undefined &&
|
|
3181
|
-
input.VocabularyFilterName !== null && { VocabularyFilterName: input.VocabularyFilterName })), (input.VocabularyName !== undefined &&
|
|
3182
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }));
|
|
3157
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ChannelIdentification != null && { ChannelIdentification: input.ChannelIdentification })), (input.MaxAlternatives != null && { MaxAlternatives: input.MaxAlternatives })), (input.MaxSpeakerLabels != null && { MaxSpeakerLabels: input.MaxSpeakerLabels })), (input.ShowAlternatives != null && { ShowAlternatives: input.ShowAlternatives })), (input.ShowSpeakerLabels != null && { ShowSpeakerLabels: input.ShowSpeakerLabels })), (input.VocabularyFilterMethod != null && { VocabularyFilterMethod: input.VocabularyFilterMethod })), (input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName })), (input.VocabularyName != null && { VocabularyName: input.VocabularyName }));
|
|
3183
3158
|
};
|
|
3184
3159
|
var serializeAws_json1_1StartCallAnalyticsJobRequest = function (input, context) {
|
|
3185
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CallAnalyticsJobName
|
|
3186
|
-
input.CallAnalyticsJobName !== null && { CallAnalyticsJobName: input.CallAnalyticsJobName })), (input.ChannelDefinitions !== undefined &&
|
|
3187
|
-
input.ChannelDefinitions !== null && {
|
|
3160
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CallAnalyticsJobName != null && { CallAnalyticsJobName: input.CallAnalyticsJobName })), (input.ChannelDefinitions != null && {
|
|
3188
3161
|
ChannelDefinitions: serializeAws_json1_1ChannelDefinitions(input.ChannelDefinitions, context),
|
|
3189
|
-
})), (input.DataAccessRoleArn
|
|
3190
|
-
input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn })), (input.Media !== undefined &&
|
|
3191
|
-
input.Media !== null && { Media: serializeAws_json1_1Media(input.Media, context) })), (input.OutputEncryptionKMSKeyId !== undefined &&
|
|
3192
|
-
input.OutputEncryptionKMSKeyId !== null && { OutputEncryptionKMSKeyId: input.OutputEncryptionKMSKeyId })), (input.OutputLocation !== undefined &&
|
|
3193
|
-
input.OutputLocation !== null && { OutputLocation: input.OutputLocation })), (input.Settings !== undefined &&
|
|
3194
|
-
input.Settings !== null && { Settings: serializeAws_json1_1CallAnalyticsJobSettings(input.Settings, context) }));
|
|
3162
|
+
})), (input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn })), (input.Media != null && { Media: serializeAws_json1_1Media(input.Media, context) })), (input.OutputEncryptionKMSKeyId != null && { OutputEncryptionKMSKeyId: input.OutputEncryptionKMSKeyId })), (input.OutputLocation != null && { OutputLocation: input.OutputLocation })), (input.Settings != null && { Settings: serializeAws_json1_1CallAnalyticsJobSettings(input.Settings, context) }));
|
|
3195
3163
|
};
|
|
3196
3164
|
var serializeAws_json1_1StartMedicalTranscriptionJobRequest = function (input, context) {
|
|
3197
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContentIdentificationType
|
|
3198
|
-
input.ContentIdentificationType !== null && { ContentIdentificationType: input.ContentIdentificationType })), (input.KMSEncryptionContext !== undefined &&
|
|
3199
|
-
input.KMSEncryptionContext !== null && {
|
|
3165
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContentIdentificationType != null && { ContentIdentificationType: input.ContentIdentificationType })), (input.KMSEncryptionContext != null && {
|
|
3200
3166
|
KMSEncryptionContext: serializeAws_json1_1KMSEncryptionContextMap(input.KMSEncryptionContext, context),
|
|
3201
|
-
})), (input.LanguageCode
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
input.MedicalTranscriptionJobName !== null && { MedicalTranscriptionJobName: input.MedicalTranscriptionJobName })), (input.OutputBucketName !== undefined &&
|
|
3205
|
-
input.OutputBucketName !== null && { OutputBucketName: input.OutputBucketName })), (input.OutputEncryptionKMSKeyId !== undefined &&
|
|
3206
|
-
input.OutputEncryptionKMSKeyId !== null && { OutputEncryptionKMSKeyId: input.OutputEncryptionKMSKeyId })), (input.OutputKey !== undefined && input.OutputKey !== null && { OutputKey: input.OutputKey })), (input.Settings !== undefined &&
|
|
3207
|
-
input.Settings !== null && {
|
|
3167
|
+
})), (input.LanguageCode != null && { LanguageCode: input.LanguageCode })), (input.Media != null && { Media: serializeAws_json1_1Media(input.Media, context) })), (input.MediaFormat != null && { MediaFormat: input.MediaFormat })), (input.MediaSampleRateHertz != null && { MediaSampleRateHertz: input.MediaSampleRateHertz })), (input.MedicalTranscriptionJobName != null && {
|
|
3168
|
+
MedicalTranscriptionJobName: input.MedicalTranscriptionJobName,
|
|
3169
|
+
})), (input.OutputBucketName != null && { OutputBucketName: input.OutputBucketName })), (input.OutputEncryptionKMSKeyId != null && { OutputEncryptionKMSKeyId: input.OutputEncryptionKMSKeyId })), (input.OutputKey != null && { OutputKey: input.OutputKey })), (input.Settings != null && {
|
|
3208
3170
|
Settings: serializeAws_json1_1MedicalTranscriptionSetting(input.Settings, context),
|
|
3209
|
-
})), (input.Specialty
|
|
3171
|
+
})), (input.Specialty != null && { Specialty: input.Specialty })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.Type != null && { Type: input.Type }));
|
|
3210
3172
|
};
|
|
3211
3173
|
var serializeAws_json1_1StartTranscriptionJobRequest = function (input, context) {
|
|
3212
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContentRedaction
|
|
3213
|
-
input.ContentRedaction !== null && {
|
|
3174
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContentRedaction != null && {
|
|
3214
3175
|
ContentRedaction: serializeAws_json1_1ContentRedaction(input.ContentRedaction, context),
|
|
3215
|
-
})), (input.IdentifyLanguage
|
|
3216
|
-
input.IdentifyLanguage !== null && { IdentifyLanguage: input.IdentifyLanguage })), (input.IdentifyMultipleLanguages !== undefined &&
|
|
3217
|
-
input.IdentifyMultipleLanguages !== null && { IdentifyMultipleLanguages: input.IdentifyMultipleLanguages })), (input.JobExecutionSettings !== undefined &&
|
|
3218
|
-
input.JobExecutionSettings !== null && {
|
|
3176
|
+
})), (input.IdentifyLanguage != null && { IdentifyLanguage: input.IdentifyLanguage })), (input.IdentifyMultipleLanguages != null && { IdentifyMultipleLanguages: input.IdentifyMultipleLanguages })), (input.JobExecutionSettings != null && {
|
|
3219
3177
|
JobExecutionSettings: serializeAws_json1_1JobExecutionSettings(input.JobExecutionSettings, context),
|
|
3220
|
-
})), (input.KMSEncryptionContext
|
|
3221
|
-
input.KMSEncryptionContext !== null && {
|
|
3178
|
+
})), (input.KMSEncryptionContext != null && {
|
|
3222
3179
|
KMSEncryptionContext: serializeAws_json1_1KMSEncryptionContextMap(input.KMSEncryptionContext, context),
|
|
3223
|
-
})), (input.LanguageCode
|
|
3224
|
-
input.LanguageIdSettings !== null && {
|
|
3180
|
+
})), (input.LanguageCode != null && { LanguageCode: input.LanguageCode })), (input.LanguageIdSettings != null && {
|
|
3225
3181
|
LanguageIdSettings: serializeAws_json1_1LanguageIdSettingsMap(input.LanguageIdSettings, context),
|
|
3226
|
-
})), (input.LanguageOptions
|
|
3227
|
-
input.LanguageOptions !== null && {
|
|
3182
|
+
})), (input.LanguageOptions != null && {
|
|
3228
3183
|
LanguageOptions: serializeAws_json1_1LanguageOptions(input.LanguageOptions, context),
|
|
3229
|
-
})), (input.Media
|
|
3230
|
-
input.Media !== null && { Media: serializeAws_json1_1Media(input.Media, context) })), (input.MediaFormat !== undefined && input.MediaFormat !== null && { MediaFormat: input.MediaFormat })), (input.MediaSampleRateHertz !== undefined &&
|
|
3231
|
-
input.MediaSampleRateHertz !== null && { MediaSampleRateHertz: input.MediaSampleRateHertz })), (input.ModelSettings !== undefined &&
|
|
3232
|
-
input.ModelSettings !== null && {
|
|
3184
|
+
})), (input.Media != null && { Media: serializeAws_json1_1Media(input.Media, context) })), (input.MediaFormat != null && { MediaFormat: input.MediaFormat })), (input.MediaSampleRateHertz != null && { MediaSampleRateHertz: input.MediaSampleRateHertz })), (input.ModelSettings != null && {
|
|
3233
3185
|
ModelSettings: serializeAws_json1_1ModelSettings(input.ModelSettings, context),
|
|
3234
|
-
})), (input.OutputBucketName
|
|
3235
|
-
input.OutputBucketName !== null && { OutputBucketName: input.OutputBucketName })), (input.OutputEncryptionKMSKeyId !== undefined &&
|
|
3236
|
-
input.OutputEncryptionKMSKeyId !== null && { OutputEncryptionKMSKeyId: input.OutputEncryptionKMSKeyId })), (input.OutputKey !== undefined && input.OutputKey !== null && { OutputKey: input.OutputKey })), (input.Settings !== undefined &&
|
|
3237
|
-
input.Settings !== null && { Settings: serializeAws_json1_1Settings(input.Settings, context) })), (input.Subtitles !== undefined &&
|
|
3238
|
-
input.Subtitles !== null && { Subtitles: serializeAws_json1_1Subtitles(input.Subtitles, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.TranscriptionJobName !== undefined &&
|
|
3239
|
-
input.TranscriptionJobName !== null && { TranscriptionJobName: input.TranscriptionJobName }));
|
|
3186
|
+
})), (input.OutputBucketName != null && { OutputBucketName: input.OutputBucketName })), (input.OutputEncryptionKMSKeyId != null && { OutputEncryptionKMSKeyId: input.OutputEncryptionKMSKeyId })), (input.OutputKey != null && { OutputKey: input.OutputKey })), (input.Settings != null && { Settings: serializeAws_json1_1Settings(input.Settings, context) })), (input.Subtitles != null && { Subtitles: serializeAws_json1_1Subtitles(input.Subtitles, context) })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.TranscriptionJobName != null && { TranscriptionJobName: input.TranscriptionJobName }));
|
|
3240
3187
|
};
|
|
3241
3188
|
var serializeAws_json1_1StringTargetList = function (input, context) {
|
|
3242
3189
|
return input
|
|
@@ -3259,12 +3206,10 @@ var serializeAws_json1_1SubtitleFormats = function (input, context) {
|
|
|
3259
3206
|
});
|
|
3260
3207
|
};
|
|
3261
3208
|
var serializeAws_json1_1Subtitles = function (input, context) {
|
|
3262
|
-
return __assign(__assign({}, (input.Formats
|
|
3263
|
-
input.Formats !== null && { Formats: serializeAws_json1_1SubtitleFormats(input.Formats, context) })), (input.OutputStartIndex !== undefined &&
|
|
3264
|
-
input.OutputStartIndex !== null && { OutputStartIndex: input.OutputStartIndex }));
|
|
3209
|
+
return __assign(__assign({}, (input.Formats != null && { Formats: serializeAws_json1_1SubtitleFormats(input.Formats, context) })), (input.OutputStartIndex != null && { OutputStartIndex: input.OutputStartIndex }));
|
|
3265
3210
|
};
|
|
3266
3211
|
var serializeAws_json1_1Tag = function (input, context) {
|
|
3267
|
-
return __assign(__assign({}, (input.Key
|
|
3212
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
3268
3213
|
};
|
|
3269
3214
|
var serializeAws_json1_1TagKeyList = function (input, context) {
|
|
3270
3215
|
return input
|
|
@@ -3287,44 +3232,29 @@ var serializeAws_json1_1TagList = function (input, context) {
|
|
|
3287
3232
|
});
|
|
3288
3233
|
};
|
|
3289
3234
|
var serializeAws_json1_1TagResourceRequest = function (input, context) {
|
|
3290
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
3235
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
3291
3236
|
};
|
|
3292
3237
|
var serializeAws_json1_1TranscriptFilter = function (input, context) {
|
|
3293
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AbsoluteTimeRange
|
|
3294
|
-
input.AbsoluteTimeRange !== null && {
|
|
3238
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AbsoluteTimeRange != null && {
|
|
3295
3239
|
AbsoluteTimeRange: serializeAws_json1_1AbsoluteTimeRange(input.AbsoluteTimeRange, context),
|
|
3296
|
-
})), (input.Negate
|
|
3297
|
-
input.ParticipantRole !== null && { ParticipantRole: input.ParticipantRole })), (input.RelativeTimeRange !== undefined &&
|
|
3298
|
-
input.RelativeTimeRange !== null && {
|
|
3240
|
+
})), (input.Negate != null && { Negate: input.Negate })), (input.ParticipantRole != null && { ParticipantRole: input.ParticipantRole })), (input.RelativeTimeRange != null && {
|
|
3299
3241
|
RelativeTimeRange: serializeAws_json1_1RelativeTimeRange(input.RelativeTimeRange, context),
|
|
3300
|
-
})), (input.Targets
|
|
3301
|
-
input.Targets !== null && { Targets: serializeAws_json1_1StringTargetList(input.Targets, context) })), (input.TranscriptFilterType !== undefined &&
|
|
3302
|
-
input.TranscriptFilterType !== null && { TranscriptFilterType: input.TranscriptFilterType }));
|
|
3242
|
+
})), (input.Targets != null && { Targets: serializeAws_json1_1StringTargetList(input.Targets, context) })), (input.TranscriptFilterType != null && { TranscriptFilterType: input.TranscriptFilterType }));
|
|
3303
3243
|
};
|
|
3304
3244
|
var serializeAws_json1_1UntagResourceRequest = function (input, context) {
|
|
3305
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
3306
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
3245
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
3307
3246
|
};
|
|
3308
3247
|
var serializeAws_json1_1UpdateCallAnalyticsCategoryRequest = function (input, context) {
|
|
3309
|
-
return __assign(__assign({}, (input.CategoryName
|
|
3310
|
-
input.Rules !== null && { Rules: serializeAws_json1_1RuleList(input.Rules, context) }));
|
|
3248
|
+
return __assign(__assign({}, (input.CategoryName != null && { CategoryName: input.CategoryName })), (input.Rules != null && { Rules: serializeAws_json1_1RuleList(input.Rules, context) }));
|
|
3311
3249
|
};
|
|
3312
3250
|
var serializeAws_json1_1UpdateMedicalVocabularyRequest = function (input, context) {
|
|
3313
|
-
return __assign(__assign(__assign({}, (input.LanguageCode
|
|
3314
|
-
input.VocabularyFileUri !== null && { VocabularyFileUri: input.VocabularyFileUri })), (input.VocabularyName !== undefined &&
|
|
3315
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }));
|
|
3251
|
+
return __assign(__assign(__assign({}, (input.LanguageCode != null && { LanguageCode: input.LanguageCode })), (input.VocabularyFileUri != null && { VocabularyFileUri: input.VocabularyFileUri })), (input.VocabularyName != null && { VocabularyName: input.VocabularyName }));
|
|
3316
3252
|
};
|
|
3317
3253
|
var serializeAws_json1_1UpdateVocabularyFilterRequest = function (input, context) {
|
|
3318
|
-
return __assign(__assign(__assign({}, (input.VocabularyFilterFileUri
|
|
3319
|
-
input.VocabularyFilterFileUri !== null && { VocabularyFilterFileUri: input.VocabularyFilterFileUri })), (input.VocabularyFilterName !== undefined &&
|
|
3320
|
-
input.VocabularyFilterName !== null && { VocabularyFilterName: input.VocabularyFilterName })), (input.Words !== undefined &&
|
|
3321
|
-
input.Words !== null && { Words: serializeAws_json1_1Words(input.Words, context) }));
|
|
3254
|
+
return __assign(__assign(__assign({}, (input.VocabularyFilterFileUri != null && { VocabularyFilterFileUri: input.VocabularyFilterFileUri })), (input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName })), (input.Words != null && { Words: serializeAws_json1_1Words(input.Words, context) }));
|
|
3322
3255
|
};
|
|
3323
3256
|
var serializeAws_json1_1UpdateVocabularyRequest = function (input, context) {
|
|
3324
|
-
return __assign(__assign(__assign(__assign({}, (input.LanguageCode
|
|
3325
|
-
input.Phrases !== null && { Phrases: serializeAws_json1_1Phrases(input.Phrases, context) })), (input.VocabularyFileUri !== undefined &&
|
|
3326
|
-
input.VocabularyFileUri !== null && { VocabularyFileUri: input.VocabularyFileUri })), (input.VocabularyName !== undefined &&
|
|
3327
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }));
|
|
3257
|
+
return __assign(__assign(__assign(__assign({}, (input.LanguageCode != null && { LanguageCode: input.LanguageCode })), (input.Phrases != null && { Phrases: serializeAws_json1_1Phrases(input.Phrases, context) })), (input.VocabularyFileUri != null && { VocabularyFileUri: input.VocabularyFileUri })), (input.VocabularyName != null && { VocabularyName: input.VocabularyName }));
|
|
3328
3258
|
};
|
|
3329
3259
|
var serializeAws_json1_1Words = function (input, context) {
|
|
3330
3260
|
return input
|
|
@@ -3353,45 +3283,37 @@ var deserializeAws_json1_1CallAnalyticsJob = function (output, context) {
|
|
|
3353
3283
|
return {
|
|
3354
3284
|
CallAnalyticsJobName: __expectString(output.CallAnalyticsJobName),
|
|
3355
3285
|
CallAnalyticsJobStatus: __expectString(output.CallAnalyticsJobStatus),
|
|
3356
|
-
ChannelDefinitions: output.ChannelDefinitions
|
|
3286
|
+
ChannelDefinitions: output.ChannelDefinitions != null
|
|
3357
3287
|
? deserializeAws_json1_1ChannelDefinitions(output.ChannelDefinitions, context)
|
|
3358
3288
|
: undefined,
|
|
3359
|
-
CompletionTime: output.CompletionTime
|
|
3289
|
+
CompletionTime: output.CompletionTime != null
|
|
3360
3290
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletionTime)))
|
|
3361
3291
|
: undefined,
|
|
3362
|
-
CreationTime: output.CreationTime
|
|
3292
|
+
CreationTime: output.CreationTime != null
|
|
3363
3293
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3364
3294
|
: undefined,
|
|
3365
3295
|
DataAccessRoleArn: __expectString(output.DataAccessRoleArn),
|
|
3366
3296
|
FailureReason: __expectString(output.FailureReason),
|
|
3367
3297
|
IdentifiedLanguageScore: __limitedParseFloat32(output.IdentifiedLanguageScore),
|
|
3368
3298
|
LanguageCode: __expectString(output.LanguageCode),
|
|
3369
|
-
Media: output.Media
|
|
3370
|
-
? deserializeAws_json1_1Media(output.Media, context)
|
|
3371
|
-
: undefined,
|
|
3299
|
+
Media: output.Media != null ? deserializeAws_json1_1Media(output.Media, context) : undefined,
|
|
3372
3300
|
MediaFormat: __expectString(output.MediaFormat),
|
|
3373
3301
|
MediaSampleRateHertz: __expectInt32(output.MediaSampleRateHertz),
|
|
3374
|
-
Settings: output.Settings
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
3378
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
3379
|
-
: undefined,
|
|
3380
|
-
Transcript: output.Transcript !== undefined && output.Transcript !== null
|
|
3381
|
-
? deserializeAws_json1_1Transcript(output.Transcript, context)
|
|
3382
|
-
: undefined,
|
|
3302
|
+
Settings: output.Settings != null ? deserializeAws_json1_1CallAnalyticsJobSettings(output.Settings, context) : undefined,
|
|
3303
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
3304
|
+
Transcript: output.Transcript != null ? deserializeAws_json1_1Transcript(output.Transcript, context) : undefined,
|
|
3383
3305
|
};
|
|
3384
3306
|
};
|
|
3385
3307
|
var deserializeAws_json1_1CallAnalyticsJobSettings = function (output, context) {
|
|
3386
3308
|
return {
|
|
3387
|
-
ContentRedaction: output.ContentRedaction
|
|
3309
|
+
ContentRedaction: output.ContentRedaction != null
|
|
3388
3310
|
? deserializeAws_json1_1ContentRedaction(output.ContentRedaction, context)
|
|
3389
3311
|
: undefined,
|
|
3390
|
-
LanguageIdSettings: output.LanguageIdSettings
|
|
3312
|
+
LanguageIdSettings: output.LanguageIdSettings != null
|
|
3391
3313
|
? deserializeAws_json1_1LanguageIdSettingsMap(output.LanguageIdSettings, context)
|
|
3392
3314
|
: undefined,
|
|
3393
3315
|
LanguageModelName: __expectString(output.LanguageModelName),
|
|
3394
|
-
LanguageOptions: output.LanguageOptions
|
|
3316
|
+
LanguageOptions: output.LanguageOptions != null
|
|
3395
3317
|
? deserializeAws_json1_1LanguageOptions(output.LanguageOptions, context)
|
|
3396
3318
|
: undefined,
|
|
3397
3319
|
VocabularyFilterMethod: __expectString(output.VocabularyFilterMethod),
|
|
@@ -3414,31 +3336,25 @@ var deserializeAws_json1_1CallAnalyticsJobSummary = function (output, context) {
|
|
|
3414
3336
|
return {
|
|
3415
3337
|
CallAnalyticsJobName: __expectString(output.CallAnalyticsJobName),
|
|
3416
3338
|
CallAnalyticsJobStatus: __expectString(output.CallAnalyticsJobStatus),
|
|
3417
|
-
CompletionTime: output.CompletionTime
|
|
3339
|
+
CompletionTime: output.CompletionTime != null
|
|
3418
3340
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletionTime)))
|
|
3419
3341
|
: undefined,
|
|
3420
|
-
CreationTime: output.CreationTime
|
|
3342
|
+
CreationTime: output.CreationTime != null
|
|
3421
3343
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3422
3344
|
: undefined,
|
|
3423
3345
|
FailureReason: __expectString(output.FailureReason),
|
|
3424
3346
|
LanguageCode: __expectString(output.LanguageCode),
|
|
3425
|
-
StartTime: output.StartTime
|
|
3426
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
3427
|
-
: undefined,
|
|
3347
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
3428
3348
|
};
|
|
3429
3349
|
};
|
|
3430
3350
|
var deserializeAws_json1_1CategoryProperties = function (output, context) {
|
|
3431
3351
|
return {
|
|
3432
3352
|
CategoryName: __expectString(output.CategoryName),
|
|
3433
|
-
CreateTime: output.CreateTime
|
|
3434
|
-
|
|
3435
|
-
: undefined,
|
|
3436
|
-
LastUpdateTime: output.LastUpdateTime !== undefined && output.LastUpdateTime !== null
|
|
3353
|
+
CreateTime: output.CreateTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateTime))) : undefined,
|
|
3354
|
+
LastUpdateTime: output.LastUpdateTime != null
|
|
3437
3355
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateTime)))
|
|
3438
3356
|
: undefined,
|
|
3439
|
-
Rules: output.Rules
|
|
3440
|
-
? deserializeAws_json1_1RuleList(output.Rules, context)
|
|
3441
|
-
: undefined,
|
|
3357
|
+
Rules: output.Rules != null ? deserializeAws_json1_1RuleList(output.Rules, context) : undefined,
|
|
3442
3358
|
};
|
|
3443
3359
|
};
|
|
3444
3360
|
var deserializeAws_json1_1CategoryPropertiesList = function (output, context) {
|
|
@@ -3476,16 +3392,14 @@ var deserializeAws_json1_1ConflictException = function (output, context) {
|
|
|
3476
3392
|
};
|
|
3477
3393
|
var deserializeAws_json1_1ContentRedaction = function (output, context) {
|
|
3478
3394
|
return {
|
|
3479
|
-
PiiEntityTypes: output.PiiEntityTypes
|
|
3480
|
-
? deserializeAws_json1_1PiiEntityTypes(output.PiiEntityTypes, context)
|
|
3481
|
-
: undefined,
|
|
3395
|
+
PiiEntityTypes: output.PiiEntityTypes != null ? deserializeAws_json1_1PiiEntityTypes(output.PiiEntityTypes, context) : undefined,
|
|
3482
3396
|
RedactionOutput: __expectString(output.RedactionOutput),
|
|
3483
3397
|
RedactionType: __expectString(output.RedactionType),
|
|
3484
3398
|
};
|
|
3485
3399
|
};
|
|
3486
3400
|
var deserializeAws_json1_1CreateCallAnalyticsCategoryResponse = function (output, context) {
|
|
3487
3401
|
return {
|
|
3488
|
-
CategoryProperties: output.CategoryProperties
|
|
3402
|
+
CategoryProperties: output.CategoryProperties != null
|
|
3489
3403
|
? deserializeAws_json1_1CategoryProperties(output.CategoryProperties, context)
|
|
3490
3404
|
: undefined,
|
|
3491
3405
|
};
|
|
@@ -3493,7 +3407,7 @@ var deserializeAws_json1_1CreateCallAnalyticsCategoryResponse = function (output
|
|
|
3493
3407
|
var deserializeAws_json1_1CreateLanguageModelResponse = function (output, context) {
|
|
3494
3408
|
return {
|
|
3495
3409
|
BaseModelName: __expectString(output.BaseModelName),
|
|
3496
|
-
InputDataConfig: output.InputDataConfig
|
|
3410
|
+
InputDataConfig: output.InputDataConfig != null
|
|
3497
3411
|
? deserializeAws_json1_1InputDataConfig(output.InputDataConfig, context)
|
|
3498
3412
|
: undefined,
|
|
3499
3413
|
LanguageCode: __expectString(output.LanguageCode),
|
|
@@ -3505,7 +3419,7 @@ var deserializeAws_json1_1CreateMedicalVocabularyResponse = function (output, co
|
|
|
3505
3419
|
return {
|
|
3506
3420
|
FailureReason: __expectString(output.FailureReason),
|
|
3507
3421
|
LanguageCode: __expectString(output.LanguageCode),
|
|
3508
|
-
LastModifiedTime: output.LastModifiedTime
|
|
3422
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
3509
3423
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
3510
3424
|
: undefined,
|
|
3511
3425
|
VocabularyName: __expectString(output.VocabularyName),
|
|
@@ -3515,7 +3429,7 @@ var deserializeAws_json1_1CreateMedicalVocabularyResponse = function (output, co
|
|
|
3515
3429
|
var deserializeAws_json1_1CreateVocabularyFilterResponse = function (output, context) {
|
|
3516
3430
|
return {
|
|
3517
3431
|
LanguageCode: __expectString(output.LanguageCode),
|
|
3518
|
-
LastModifiedTime: output.LastModifiedTime
|
|
3432
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
3519
3433
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
3520
3434
|
: undefined,
|
|
3521
3435
|
VocabularyFilterName: __expectString(output.VocabularyFilterName),
|
|
@@ -3525,7 +3439,7 @@ var deserializeAws_json1_1CreateVocabularyResponse = function (output, context)
|
|
|
3525
3439
|
return {
|
|
3526
3440
|
FailureReason: __expectString(output.FailureReason),
|
|
3527
3441
|
LanguageCode: __expectString(output.LanguageCode),
|
|
3528
|
-
LastModifiedTime: output.LastModifiedTime
|
|
3442
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
3529
3443
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
3530
3444
|
: undefined,
|
|
3531
3445
|
VocabularyName: __expectString(output.VocabularyName),
|
|
@@ -3540,28 +3454,26 @@ var deserializeAws_json1_1DeleteCallAnalyticsJobResponse = function (output, con
|
|
|
3540
3454
|
};
|
|
3541
3455
|
var deserializeAws_json1_1DescribeLanguageModelResponse = function (output, context) {
|
|
3542
3456
|
return {
|
|
3543
|
-
LanguageModel: output.LanguageModel
|
|
3544
|
-
? deserializeAws_json1_1LanguageModel(output.LanguageModel, context)
|
|
3545
|
-
: undefined,
|
|
3457
|
+
LanguageModel: output.LanguageModel != null ? deserializeAws_json1_1LanguageModel(output.LanguageModel, context) : undefined,
|
|
3546
3458
|
};
|
|
3547
3459
|
};
|
|
3548
3460
|
var deserializeAws_json1_1GetCallAnalyticsCategoryResponse = function (output, context) {
|
|
3549
3461
|
return {
|
|
3550
|
-
CategoryProperties: output.CategoryProperties
|
|
3462
|
+
CategoryProperties: output.CategoryProperties != null
|
|
3551
3463
|
? deserializeAws_json1_1CategoryProperties(output.CategoryProperties, context)
|
|
3552
3464
|
: undefined,
|
|
3553
3465
|
};
|
|
3554
3466
|
};
|
|
3555
3467
|
var deserializeAws_json1_1GetCallAnalyticsJobResponse = function (output, context) {
|
|
3556
3468
|
return {
|
|
3557
|
-
CallAnalyticsJob: output.CallAnalyticsJob
|
|
3469
|
+
CallAnalyticsJob: output.CallAnalyticsJob != null
|
|
3558
3470
|
? deserializeAws_json1_1CallAnalyticsJob(output.CallAnalyticsJob, context)
|
|
3559
3471
|
: undefined,
|
|
3560
3472
|
};
|
|
3561
3473
|
};
|
|
3562
3474
|
var deserializeAws_json1_1GetMedicalTranscriptionJobResponse = function (output, context) {
|
|
3563
3475
|
return {
|
|
3564
|
-
MedicalTranscriptionJob: output.MedicalTranscriptionJob
|
|
3476
|
+
MedicalTranscriptionJob: output.MedicalTranscriptionJob != null
|
|
3565
3477
|
? deserializeAws_json1_1MedicalTranscriptionJob(output.MedicalTranscriptionJob, context)
|
|
3566
3478
|
: undefined,
|
|
3567
3479
|
};
|
|
@@ -3571,7 +3483,7 @@ var deserializeAws_json1_1GetMedicalVocabularyResponse = function (output, conte
|
|
|
3571
3483
|
DownloadUri: __expectString(output.DownloadUri),
|
|
3572
3484
|
FailureReason: __expectString(output.FailureReason),
|
|
3573
3485
|
LanguageCode: __expectString(output.LanguageCode),
|
|
3574
|
-
LastModifiedTime: output.LastModifiedTime
|
|
3486
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
3575
3487
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
3576
3488
|
: undefined,
|
|
3577
3489
|
VocabularyName: __expectString(output.VocabularyName),
|
|
@@ -3580,7 +3492,7 @@ var deserializeAws_json1_1GetMedicalVocabularyResponse = function (output, conte
|
|
|
3580
3492
|
};
|
|
3581
3493
|
var deserializeAws_json1_1GetTranscriptionJobResponse = function (output, context) {
|
|
3582
3494
|
return {
|
|
3583
|
-
TranscriptionJob: output.TranscriptionJob
|
|
3495
|
+
TranscriptionJob: output.TranscriptionJob != null
|
|
3584
3496
|
? deserializeAws_json1_1TranscriptionJob(output.TranscriptionJob, context)
|
|
3585
3497
|
: undefined,
|
|
3586
3498
|
};
|
|
@@ -3589,7 +3501,7 @@ var deserializeAws_json1_1GetVocabularyFilterResponse = function (output, contex
|
|
|
3589
3501
|
return {
|
|
3590
3502
|
DownloadUri: __expectString(output.DownloadUri),
|
|
3591
3503
|
LanguageCode: __expectString(output.LanguageCode),
|
|
3592
|
-
LastModifiedTime: output.LastModifiedTime
|
|
3504
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
3593
3505
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
3594
3506
|
: undefined,
|
|
3595
3507
|
VocabularyFilterName: __expectString(output.VocabularyFilterName),
|
|
@@ -3600,7 +3512,7 @@ var deserializeAws_json1_1GetVocabularyResponse = function (output, context) {
|
|
|
3600
3512
|
DownloadUri: __expectString(output.DownloadUri),
|
|
3601
3513
|
FailureReason: __expectString(output.FailureReason),
|
|
3602
3514
|
LanguageCode: __expectString(output.LanguageCode),
|
|
3603
|
-
LastModifiedTime: output.LastModifiedTime
|
|
3515
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
3604
3516
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
3605
3517
|
: undefined,
|
|
3606
3518
|
VocabularyName: __expectString(output.VocabularyName),
|
|
@@ -3621,12 +3533,12 @@ var deserializeAws_json1_1InternalFailureException = function (output, context)
|
|
|
3621
3533
|
};
|
|
3622
3534
|
var deserializeAws_json1_1InterruptionFilter = function (output, context) {
|
|
3623
3535
|
return {
|
|
3624
|
-
AbsoluteTimeRange: output.AbsoluteTimeRange
|
|
3536
|
+
AbsoluteTimeRange: output.AbsoluteTimeRange != null
|
|
3625
3537
|
? deserializeAws_json1_1AbsoluteTimeRange(output.AbsoluteTimeRange, context)
|
|
3626
3538
|
: undefined,
|
|
3627
3539
|
Negate: __expectBoolean(output.Negate),
|
|
3628
3540
|
ParticipantRole: __expectString(output.ParticipantRole),
|
|
3629
|
-
RelativeTimeRange: output.RelativeTimeRange
|
|
3541
|
+
RelativeTimeRange: output.RelativeTimeRange != null
|
|
3630
3542
|
? deserializeAws_json1_1RelativeTimeRange(output.RelativeTimeRange, context)
|
|
3631
3543
|
: undefined,
|
|
3632
3544
|
Threshold: __expectLong(output.Threshold),
|
|
@@ -3675,15 +3587,13 @@ var deserializeAws_json1_1LanguageIdSettingsMap = function (output, context) {
|
|
|
3675
3587
|
var deserializeAws_json1_1LanguageModel = function (output, context) {
|
|
3676
3588
|
return {
|
|
3677
3589
|
BaseModelName: __expectString(output.BaseModelName),
|
|
3678
|
-
CreateTime: output.CreateTime
|
|
3679
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateTime)))
|
|
3680
|
-
: undefined,
|
|
3590
|
+
CreateTime: output.CreateTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateTime))) : undefined,
|
|
3681
3591
|
FailureReason: __expectString(output.FailureReason),
|
|
3682
|
-
InputDataConfig: output.InputDataConfig
|
|
3592
|
+
InputDataConfig: output.InputDataConfig != null
|
|
3683
3593
|
? deserializeAws_json1_1InputDataConfig(output.InputDataConfig, context)
|
|
3684
3594
|
: undefined,
|
|
3685
3595
|
LanguageCode: __expectString(output.LanguageCode),
|
|
3686
|
-
LastModifiedTime: output.LastModifiedTime
|
|
3596
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
3687
3597
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
3688
3598
|
: undefined,
|
|
3689
3599
|
ModelName: __expectString(output.ModelName),
|
|
@@ -3709,15 +3619,13 @@ var deserializeAws_json1_1LimitExceededException = function (output, context) {
|
|
|
3709
3619
|
};
|
|
3710
3620
|
var deserializeAws_json1_1ListCallAnalyticsCategoriesResponse = function (output, context) {
|
|
3711
3621
|
return {
|
|
3712
|
-
Categories: output.Categories
|
|
3713
|
-
? deserializeAws_json1_1CategoryPropertiesList(output.Categories, context)
|
|
3714
|
-
: undefined,
|
|
3622
|
+
Categories: output.Categories != null ? deserializeAws_json1_1CategoryPropertiesList(output.Categories, context) : undefined,
|
|
3715
3623
|
NextToken: __expectString(output.NextToken),
|
|
3716
3624
|
};
|
|
3717
3625
|
};
|
|
3718
3626
|
var deserializeAws_json1_1ListCallAnalyticsJobsResponse = function (output, context) {
|
|
3719
3627
|
return {
|
|
3720
|
-
CallAnalyticsJobSummaries: output.CallAnalyticsJobSummaries
|
|
3628
|
+
CallAnalyticsJobSummaries: output.CallAnalyticsJobSummaries != null
|
|
3721
3629
|
? deserializeAws_json1_1CallAnalyticsJobSummaries(output.CallAnalyticsJobSummaries, context)
|
|
3722
3630
|
: undefined,
|
|
3723
3631
|
NextToken: __expectString(output.NextToken),
|
|
@@ -3726,15 +3634,13 @@ var deserializeAws_json1_1ListCallAnalyticsJobsResponse = function (output, cont
|
|
|
3726
3634
|
};
|
|
3727
3635
|
var deserializeAws_json1_1ListLanguageModelsResponse = function (output, context) {
|
|
3728
3636
|
return {
|
|
3729
|
-
Models: output.Models
|
|
3730
|
-
? deserializeAws_json1_1Models(output.Models, context)
|
|
3731
|
-
: undefined,
|
|
3637
|
+
Models: output.Models != null ? deserializeAws_json1_1Models(output.Models, context) : undefined,
|
|
3732
3638
|
NextToken: __expectString(output.NextToken),
|
|
3733
3639
|
};
|
|
3734
3640
|
};
|
|
3735
3641
|
var deserializeAws_json1_1ListMedicalTranscriptionJobsResponse = function (output, context) {
|
|
3736
3642
|
return {
|
|
3737
|
-
MedicalTranscriptionJobSummaries: output.MedicalTranscriptionJobSummaries
|
|
3643
|
+
MedicalTranscriptionJobSummaries: output.MedicalTranscriptionJobSummaries != null
|
|
3738
3644
|
? deserializeAws_json1_1MedicalTranscriptionJobSummaries(output.MedicalTranscriptionJobSummaries, context)
|
|
3739
3645
|
: undefined,
|
|
3740
3646
|
NextToken: __expectString(output.NextToken),
|
|
@@ -3745,24 +3651,20 @@ var deserializeAws_json1_1ListMedicalVocabulariesResponse = function (output, co
|
|
|
3745
3651
|
return {
|
|
3746
3652
|
NextToken: __expectString(output.NextToken),
|
|
3747
3653
|
Status: __expectString(output.Status),
|
|
3748
|
-
Vocabularies: output.Vocabularies
|
|
3749
|
-
? deserializeAws_json1_1Vocabularies(output.Vocabularies, context)
|
|
3750
|
-
: undefined,
|
|
3654
|
+
Vocabularies: output.Vocabularies != null ? deserializeAws_json1_1Vocabularies(output.Vocabularies, context) : undefined,
|
|
3751
3655
|
};
|
|
3752
3656
|
};
|
|
3753
3657
|
var deserializeAws_json1_1ListTagsForResourceResponse = function (output, context) {
|
|
3754
3658
|
return {
|
|
3755
3659
|
ResourceArn: __expectString(output.ResourceArn),
|
|
3756
|
-
Tags: output.Tags
|
|
3757
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
3758
|
-
: undefined,
|
|
3660
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
3759
3661
|
};
|
|
3760
3662
|
};
|
|
3761
3663
|
var deserializeAws_json1_1ListTranscriptionJobsResponse = function (output, context) {
|
|
3762
3664
|
return {
|
|
3763
3665
|
NextToken: __expectString(output.NextToken),
|
|
3764
3666
|
Status: __expectString(output.Status),
|
|
3765
|
-
TranscriptionJobSummaries: output.TranscriptionJobSummaries
|
|
3667
|
+
TranscriptionJobSummaries: output.TranscriptionJobSummaries != null
|
|
3766
3668
|
? deserializeAws_json1_1TranscriptionJobSummaries(output.TranscriptionJobSummaries, context)
|
|
3767
3669
|
: undefined,
|
|
3768
3670
|
};
|
|
@@ -3771,15 +3673,13 @@ var deserializeAws_json1_1ListVocabulariesResponse = function (output, context)
|
|
|
3771
3673
|
return {
|
|
3772
3674
|
NextToken: __expectString(output.NextToken),
|
|
3773
3675
|
Status: __expectString(output.Status),
|
|
3774
|
-
Vocabularies: output.Vocabularies
|
|
3775
|
-
? deserializeAws_json1_1Vocabularies(output.Vocabularies, context)
|
|
3776
|
-
: undefined,
|
|
3676
|
+
Vocabularies: output.Vocabularies != null ? deserializeAws_json1_1Vocabularies(output.Vocabularies, context) : undefined,
|
|
3777
3677
|
};
|
|
3778
3678
|
};
|
|
3779
3679
|
var deserializeAws_json1_1ListVocabularyFiltersResponse = function (output, context) {
|
|
3780
3680
|
return {
|
|
3781
3681
|
NextToken: __expectString(output.NextToken),
|
|
3782
|
-
VocabularyFilters: output.VocabularyFilters
|
|
3682
|
+
VocabularyFilters: output.VocabularyFilters != null
|
|
3783
3683
|
? deserializeAws_json1_1VocabularyFilters(output.VocabularyFilters, context)
|
|
3784
3684
|
: undefined,
|
|
3785
3685
|
};
|
|
@@ -3797,34 +3697,24 @@ var deserializeAws_json1_1MedicalTranscript = function (output, context) {
|
|
|
3797
3697
|
};
|
|
3798
3698
|
var deserializeAws_json1_1MedicalTranscriptionJob = function (output, context) {
|
|
3799
3699
|
return {
|
|
3800
|
-
CompletionTime: output.CompletionTime
|
|
3700
|
+
CompletionTime: output.CompletionTime != null
|
|
3801
3701
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletionTime)))
|
|
3802
3702
|
: undefined,
|
|
3803
3703
|
ContentIdentificationType: __expectString(output.ContentIdentificationType),
|
|
3804
|
-
CreationTime: output.CreationTime
|
|
3704
|
+
CreationTime: output.CreationTime != null
|
|
3805
3705
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3806
3706
|
: undefined,
|
|
3807
3707
|
FailureReason: __expectString(output.FailureReason),
|
|
3808
3708
|
LanguageCode: __expectString(output.LanguageCode),
|
|
3809
|
-
Media: output.Media
|
|
3810
|
-
? deserializeAws_json1_1Media(output.Media, context)
|
|
3811
|
-
: undefined,
|
|
3709
|
+
Media: output.Media != null ? deserializeAws_json1_1Media(output.Media, context) : undefined,
|
|
3812
3710
|
MediaFormat: __expectString(output.MediaFormat),
|
|
3813
3711
|
MediaSampleRateHertz: __expectInt32(output.MediaSampleRateHertz),
|
|
3814
3712
|
MedicalTranscriptionJobName: __expectString(output.MedicalTranscriptionJobName),
|
|
3815
|
-
Settings: output.Settings
|
|
3816
|
-
? deserializeAws_json1_1MedicalTranscriptionSetting(output.Settings, context)
|
|
3817
|
-
: undefined,
|
|
3713
|
+
Settings: output.Settings != null ? deserializeAws_json1_1MedicalTranscriptionSetting(output.Settings, context) : undefined,
|
|
3818
3714
|
Specialty: __expectString(output.Specialty),
|
|
3819
|
-
StartTime: output.StartTime
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
Tags: output.Tags !== undefined && output.Tags !== null
|
|
3823
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
3824
|
-
: undefined,
|
|
3825
|
-
Transcript: output.Transcript !== undefined && output.Transcript !== null
|
|
3826
|
-
? deserializeAws_json1_1MedicalTranscript(output.Transcript, context)
|
|
3827
|
-
: undefined,
|
|
3715
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
3716
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
3717
|
+
Transcript: output.Transcript != null ? deserializeAws_json1_1MedicalTranscript(output.Transcript, context) : undefined,
|
|
3828
3718
|
TranscriptionJobStatus: __expectString(output.TranscriptionJobStatus),
|
|
3829
3719
|
Type: __expectString(output.Type),
|
|
3830
3720
|
};
|
|
@@ -3842,11 +3732,11 @@ var deserializeAws_json1_1MedicalTranscriptionJobSummaries = function (output, c
|
|
|
3842
3732
|
};
|
|
3843
3733
|
var deserializeAws_json1_1MedicalTranscriptionJobSummary = function (output, context) {
|
|
3844
3734
|
return {
|
|
3845
|
-
CompletionTime: output.CompletionTime
|
|
3735
|
+
CompletionTime: output.CompletionTime != null
|
|
3846
3736
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletionTime)))
|
|
3847
3737
|
: undefined,
|
|
3848
3738
|
ContentIdentificationType: __expectString(output.ContentIdentificationType),
|
|
3849
|
-
CreationTime: output.CreationTime
|
|
3739
|
+
CreationTime: output.CreationTime != null
|
|
3850
3740
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3851
3741
|
: undefined,
|
|
3852
3742
|
FailureReason: __expectString(output.FailureReason),
|
|
@@ -3854,9 +3744,7 @@ var deserializeAws_json1_1MedicalTranscriptionJobSummary = function (output, con
|
|
|
3854
3744
|
MedicalTranscriptionJobName: __expectString(output.MedicalTranscriptionJobName),
|
|
3855
3745
|
OutputLocationType: __expectString(output.OutputLocationType),
|
|
3856
3746
|
Specialty: __expectString(output.Specialty),
|
|
3857
|
-
StartTime: output.StartTime
|
|
3858
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
3859
|
-
: undefined,
|
|
3747
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
3860
3748
|
TranscriptionJobStatus: __expectString(output.TranscriptionJobStatus),
|
|
3861
3749
|
Type: __expectString(output.Type),
|
|
3862
3750
|
};
|
|
@@ -3889,11 +3777,11 @@ var deserializeAws_json1_1ModelSettings = function (output, context) {
|
|
|
3889
3777
|
};
|
|
3890
3778
|
var deserializeAws_json1_1NonTalkTimeFilter = function (output, context) {
|
|
3891
3779
|
return {
|
|
3892
|
-
AbsoluteTimeRange: output.AbsoluteTimeRange
|
|
3780
|
+
AbsoluteTimeRange: output.AbsoluteTimeRange != null
|
|
3893
3781
|
? deserializeAws_json1_1AbsoluteTimeRange(output.AbsoluteTimeRange, context)
|
|
3894
3782
|
: undefined,
|
|
3895
3783
|
Negate: __expectBoolean(output.Negate),
|
|
3896
|
-
RelativeTimeRange: output.RelativeTimeRange
|
|
3784
|
+
RelativeTimeRange: output.RelativeTimeRange != null
|
|
3897
3785
|
? deserializeAws_json1_1RelativeTimeRange(output.RelativeTimeRange, context)
|
|
3898
3786
|
: undefined,
|
|
3899
3787
|
Threshold: __expectLong(output.Threshold),
|
|
@@ -3959,17 +3847,15 @@ var deserializeAws_json1_1RuleList = function (output, context) {
|
|
|
3959
3847
|
};
|
|
3960
3848
|
var deserializeAws_json1_1SentimentFilter = function (output, context) {
|
|
3961
3849
|
return {
|
|
3962
|
-
AbsoluteTimeRange: output.AbsoluteTimeRange
|
|
3850
|
+
AbsoluteTimeRange: output.AbsoluteTimeRange != null
|
|
3963
3851
|
? deserializeAws_json1_1AbsoluteTimeRange(output.AbsoluteTimeRange, context)
|
|
3964
3852
|
: undefined,
|
|
3965
3853
|
Negate: __expectBoolean(output.Negate),
|
|
3966
3854
|
ParticipantRole: __expectString(output.ParticipantRole),
|
|
3967
|
-
RelativeTimeRange: output.RelativeTimeRange
|
|
3855
|
+
RelativeTimeRange: output.RelativeTimeRange != null
|
|
3968
3856
|
? deserializeAws_json1_1RelativeTimeRange(output.RelativeTimeRange, context)
|
|
3969
3857
|
: undefined,
|
|
3970
|
-
Sentiments: output.Sentiments
|
|
3971
|
-
? deserializeAws_json1_1SentimentValueList(output.Sentiments, context)
|
|
3972
|
-
: undefined,
|
|
3858
|
+
Sentiments: output.Sentiments != null ? deserializeAws_json1_1SentimentValueList(output.Sentiments, context) : undefined,
|
|
3973
3859
|
};
|
|
3974
3860
|
};
|
|
3975
3861
|
var deserializeAws_json1_1SentimentValueList = function (output, context) {
|
|
@@ -3997,21 +3883,21 @@ var deserializeAws_json1_1Settings = function (output, context) {
|
|
|
3997
3883
|
};
|
|
3998
3884
|
var deserializeAws_json1_1StartCallAnalyticsJobResponse = function (output, context) {
|
|
3999
3885
|
return {
|
|
4000
|
-
CallAnalyticsJob: output.CallAnalyticsJob
|
|
3886
|
+
CallAnalyticsJob: output.CallAnalyticsJob != null
|
|
4001
3887
|
? deserializeAws_json1_1CallAnalyticsJob(output.CallAnalyticsJob, context)
|
|
4002
3888
|
: undefined,
|
|
4003
3889
|
};
|
|
4004
3890
|
};
|
|
4005
3891
|
var deserializeAws_json1_1StartMedicalTranscriptionJobResponse = function (output, context) {
|
|
4006
3892
|
return {
|
|
4007
|
-
MedicalTranscriptionJob: output.MedicalTranscriptionJob
|
|
3893
|
+
MedicalTranscriptionJob: output.MedicalTranscriptionJob != null
|
|
4008
3894
|
? deserializeAws_json1_1MedicalTranscriptionJob(output.MedicalTranscriptionJob, context)
|
|
4009
3895
|
: undefined,
|
|
4010
3896
|
};
|
|
4011
3897
|
};
|
|
4012
3898
|
var deserializeAws_json1_1StartTranscriptionJobResponse = function (output, context) {
|
|
4013
3899
|
return {
|
|
4014
|
-
TranscriptionJob: output.TranscriptionJob
|
|
3900
|
+
TranscriptionJob: output.TranscriptionJob != null
|
|
4015
3901
|
? deserializeAws_json1_1TranscriptionJob(output.TranscriptionJob, context)
|
|
4016
3902
|
: undefined,
|
|
4017
3903
|
};
|
|
@@ -4051,11 +3937,9 @@ var deserializeAws_json1_1SubtitleFormats = function (output, context) {
|
|
|
4051
3937
|
};
|
|
4052
3938
|
var deserializeAws_json1_1SubtitlesOutput = function (output, context) {
|
|
4053
3939
|
return {
|
|
4054
|
-
Formats: output.Formats
|
|
4055
|
-
? deserializeAws_json1_1SubtitleFormats(output.Formats, context)
|
|
4056
|
-
: undefined,
|
|
3940
|
+
Formats: output.Formats != null ? deserializeAws_json1_1SubtitleFormats(output.Formats, context) : undefined,
|
|
4057
3941
|
OutputStartIndex: __expectInt32(output.OutputStartIndex),
|
|
4058
|
-
SubtitleFileUris: output.SubtitleFileUris
|
|
3942
|
+
SubtitleFileUris: output.SubtitleFileUris != null
|
|
4059
3943
|
? deserializeAws_json1_1SubtitleFileUris(output.SubtitleFileUris, context)
|
|
4060
3944
|
: undefined,
|
|
4061
3945
|
};
|
|
@@ -4088,71 +3972,53 @@ var deserializeAws_json1_1Transcript = function (output, context) {
|
|
|
4088
3972
|
};
|
|
4089
3973
|
var deserializeAws_json1_1TranscriptFilter = function (output, context) {
|
|
4090
3974
|
return {
|
|
4091
|
-
AbsoluteTimeRange: output.AbsoluteTimeRange
|
|
3975
|
+
AbsoluteTimeRange: output.AbsoluteTimeRange != null
|
|
4092
3976
|
? deserializeAws_json1_1AbsoluteTimeRange(output.AbsoluteTimeRange, context)
|
|
4093
3977
|
: undefined,
|
|
4094
3978
|
Negate: __expectBoolean(output.Negate),
|
|
4095
3979
|
ParticipantRole: __expectString(output.ParticipantRole),
|
|
4096
|
-
RelativeTimeRange: output.RelativeTimeRange
|
|
3980
|
+
RelativeTimeRange: output.RelativeTimeRange != null
|
|
4097
3981
|
? deserializeAws_json1_1RelativeTimeRange(output.RelativeTimeRange, context)
|
|
4098
3982
|
: undefined,
|
|
4099
|
-
Targets: output.Targets
|
|
4100
|
-
? deserializeAws_json1_1StringTargetList(output.Targets, context)
|
|
4101
|
-
: undefined,
|
|
3983
|
+
Targets: output.Targets != null ? deserializeAws_json1_1StringTargetList(output.Targets, context) : undefined,
|
|
4102
3984
|
TranscriptFilterType: __expectString(output.TranscriptFilterType),
|
|
4103
3985
|
};
|
|
4104
3986
|
};
|
|
4105
3987
|
var deserializeAws_json1_1TranscriptionJob = function (output, context) {
|
|
4106
3988
|
return {
|
|
4107
|
-
CompletionTime: output.CompletionTime
|
|
3989
|
+
CompletionTime: output.CompletionTime != null
|
|
4108
3990
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletionTime)))
|
|
4109
3991
|
: undefined,
|
|
4110
|
-
ContentRedaction: output.ContentRedaction
|
|
3992
|
+
ContentRedaction: output.ContentRedaction != null
|
|
4111
3993
|
? deserializeAws_json1_1ContentRedaction(output.ContentRedaction, context)
|
|
4112
3994
|
: undefined,
|
|
4113
|
-
CreationTime: output.CreationTime
|
|
3995
|
+
CreationTime: output.CreationTime != null
|
|
4114
3996
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4115
3997
|
: undefined,
|
|
4116
3998
|
FailureReason: __expectString(output.FailureReason),
|
|
4117
3999
|
IdentifiedLanguageScore: __limitedParseFloat32(output.IdentifiedLanguageScore),
|
|
4118
4000
|
IdentifyLanguage: __expectBoolean(output.IdentifyLanguage),
|
|
4119
4001
|
IdentifyMultipleLanguages: __expectBoolean(output.IdentifyMultipleLanguages),
|
|
4120
|
-
JobExecutionSettings: output.JobExecutionSettings
|
|
4002
|
+
JobExecutionSettings: output.JobExecutionSettings != null
|
|
4121
4003
|
? deserializeAws_json1_1JobExecutionSettings(output.JobExecutionSettings, context)
|
|
4122
4004
|
: undefined,
|
|
4123
4005
|
LanguageCode: __expectString(output.LanguageCode),
|
|
4124
|
-
LanguageCodes: output.LanguageCodes
|
|
4125
|
-
|
|
4126
|
-
: undefined,
|
|
4127
|
-
LanguageIdSettings: output.LanguageIdSettings !== undefined && output.LanguageIdSettings !== null
|
|
4006
|
+
LanguageCodes: output.LanguageCodes != null ? deserializeAws_json1_1LanguageCodeList(output.LanguageCodes, context) : undefined,
|
|
4007
|
+
LanguageIdSettings: output.LanguageIdSettings != null
|
|
4128
4008
|
? deserializeAws_json1_1LanguageIdSettingsMap(output.LanguageIdSettings, context)
|
|
4129
4009
|
: undefined,
|
|
4130
|
-
LanguageOptions: output.LanguageOptions
|
|
4010
|
+
LanguageOptions: output.LanguageOptions != null
|
|
4131
4011
|
? deserializeAws_json1_1LanguageOptions(output.LanguageOptions, context)
|
|
4132
4012
|
: undefined,
|
|
4133
|
-
Media: output.Media
|
|
4134
|
-
? deserializeAws_json1_1Media(output.Media, context)
|
|
4135
|
-
: undefined,
|
|
4013
|
+
Media: output.Media != null ? deserializeAws_json1_1Media(output.Media, context) : undefined,
|
|
4136
4014
|
MediaFormat: __expectString(output.MediaFormat),
|
|
4137
4015
|
MediaSampleRateHertz: __expectInt32(output.MediaSampleRateHertz),
|
|
4138
|
-
ModelSettings: output.ModelSettings
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
4145
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
4146
|
-
: undefined,
|
|
4147
|
-
Subtitles: output.Subtitles !== undefined && output.Subtitles !== null
|
|
4148
|
-
? deserializeAws_json1_1SubtitlesOutput(output.Subtitles, context)
|
|
4149
|
-
: undefined,
|
|
4150
|
-
Tags: output.Tags !== undefined && output.Tags !== null
|
|
4151
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
4152
|
-
: undefined,
|
|
4153
|
-
Transcript: output.Transcript !== undefined && output.Transcript !== null
|
|
4154
|
-
? deserializeAws_json1_1Transcript(output.Transcript, context)
|
|
4155
|
-
: undefined,
|
|
4016
|
+
ModelSettings: output.ModelSettings != null ? deserializeAws_json1_1ModelSettings(output.ModelSettings, context) : undefined,
|
|
4017
|
+
Settings: output.Settings != null ? deserializeAws_json1_1Settings(output.Settings, context) : undefined,
|
|
4018
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
4019
|
+
Subtitles: output.Subtitles != null ? deserializeAws_json1_1SubtitlesOutput(output.Subtitles, context) : undefined,
|
|
4020
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
4021
|
+
Transcript: output.Transcript != null ? deserializeAws_json1_1Transcript(output.Transcript, context) : undefined,
|
|
4156
4022
|
TranscriptionJobName: __expectString(output.TranscriptionJobName),
|
|
4157
4023
|
TranscriptionJobStatus: __expectString(output.TranscriptionJobStatus),
|
|
4158
4024
|
};
|
|
@@ -4170,13 +4036,13 @@ var deserializeAws_json1_1TranscriptionJobSummaries = function (output, context)
|
|
|
4170
4036
|
};
|
|
4171
4037
|
var deserializeAws_json1_1TranscriptionJobSummary = function (output, context) {
|
|
4172
4038
|
return {
|
|
4173
|
-
CompletionTime: output.CompletionTime
|
|
4039
|
+
CompletionTime: output.CompletionTime != null
|
|
4174
4040
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletionTime)))
|
|
4175
4041
|
: undefined,
|
|
4176
|
-
ContentRedaction: output.ContentRedaction
|
|
4042
|
+
ContentRedaction: output.ContentRedaction != null
|
|
4177
4043
|
? deserializeAws_json1_1ContentRedaction(output.ContentRedaction, context)
|
|
4178
4044
|
: undefined,
|
|
4179
|
-
CreationTime: output.CreationTime
|
|
4045
|
+
CreationTime: output.CreationTime != null
|
|
4180
4046
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4181
4047
|
: undefined,
|
|
4182
4048
|
FailureReason: __expectString(output.FailureReason),
|
|
@@ -4184,16 +4050,10 @@ var deserializeAws_json1_1TranscriptionJobSummary = function (output, context) {
|
|
|
4184
4050
|
IdentifyLanguage: __expectBoolean(output.IdentifyLanguage),
|
|
4185
4051
|
IdentifyMultipleLanguages: __expectBoolean(output.IdentifyMultipleLanguages),
|
|
4186
4052
|
LanguageCode: __expectString(output.LanguageCode),
|
|
4187
|
-
LanguageCodes: output.LanguageCodes
|
|
4188
|
-
|
|
4189
|
-
: undefined,
|
|
4190
|
-
ModelSettings: output.ModelSettings !== undefined && output.ModelSettings !== null
|
|
4191
|
-
? deserializeAws_json1_1ModelSettings(output.ModelSettings, context)
|
|
4192
|
-
: undefined,
|
|
4053
|
+
LanguageCodes: output.LanguageCodes != null ? deserializeAws_json1_1LanguageCodeList(output.LanguageCodes, context) : undefined,
|
|
4054
|
+
ModelSettings: output.ModelSettings != null ? deserializeAws_json1_1ModelSettings(output.ModelSettings, context) : undefined,
|
|
4193
4055
|
OutputLocationType: __expectString(output.OutputLocationType),
|
|
4194
|
-
StartTime: output.StartTime
|
|
4195
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
4196
|
-
: undefined,
|
|
4056
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
4197
4057
|
TranscriptionJobName: __expectString(output.TranscriptionJobName),
|
|
4198
4058
|
TranscriptionJobStatus: __expectString(output.TranscriptionJobStatus),
|
|
4199
4059
|
};
|
|
@@ -4203,7 +4063,7 @@ var deserializeAws_json1_1UntagResourceResponse = function (output, context) {
|
|
|
4203
4063
|
};
|
|
4204
4064
|
var deserializeAws_json1_1UpdateCallAnalyticsCategoryResponse = function (output, context) {
|
|
4205
4065
|
return {
|
|
4206
|
-
CategoryProperties: output.CategoryProperties
|
|
4066
|
+
CategoryProperties: output.CategoryProperties != null
|
|
4207
4067
|
? deserializeAws_json1_1CategoryProperties(output.CategoryProperties, context)
|
|
4208
4068
|
: undefined,
|
|
4209
4069
|
};
|
|
@@ -4211,7 +4071,7 @@ var deserializeAws_json1_1UpdateCallAnalyticsCategoryResponse = function (output
|
|
|
4211
4071
|
var deserializeAws_json1_1UpdateMedicalVocabularyResponse = function (output, context) {
|
|
4212
4072
|
return {
|
|
4213
4073
|
LanguageCode: __expectString(output.LanguageCode),
|
|
4214
|
-
LastModifiedTime: output.LastModifiedTime
|
|
4074
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
4215
4075
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
4216
4076
|
: undefined,
|
|
4217
4077
|
VocabularyName: __expectString(output.VocabularyName),
|
|
@@ -4221,7 +4081,7 @@ var deserializeAws_json1_1UpdateMedicalVocabularyResponse = function (output, co
|
|
|
4221
4081
|
var deserializeAws_json1_1UpdateVocabularyFilterResponse = function (output, context) {
|
|
4222
4082
|
return {
|
|
4223
4083
|
LanguageCode: __expectString(output.LanguageCode),
|
|
4224
|
-
LastModifiedTime: output.LastModifiedTime
|
|
4084
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
4225
4085
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
4226
4086
|
: undefined,
|
|
4227
4087
|
VocabularyFilterName: __expectString(output.VocabularyFilterName),
|
|
@@ -4230,7 +4090,7 @@ var deserializeAws_json1_1UpdateVocabularyFilterResponse = function (output, con
|
|
|
4230
4090
|
var deserializeAws_json1_1UpdateVocabularyResponse = function (output, context) {
|
|
4231
4091
|
return {
|
|
4232
4092
|
LanguageCode: __expectString(output.LanguageCode),
|
|
4233
|
-
LastModifiedTime: output.LastModifiedTime
|
|
4093
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
4234
4094
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
4235
4095
|
: undefined,
|
|
4236
4096
|
VocabularyName: __expectString(output.VocabularyName),
|
|
@@ -4251,7 +4111,7 @@ var deserializeAws_json1_1Vocabularies = function (output, context) {
|
|
|
4251
4111
|
var deserializeAws_json1_1VocabularyFilterInfo = function (output, context) {
|
|
4252
4112
|
return {
|
|
4253
4113
|
LanguageCode: __expectString(output.LanguageCode),
|
|
4254
|
-
LastModifiedTime: output.LastModifiedTime
|
|
4114
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
4255
4115
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
4256
4116
|
: undefined,
|
|
4257
4117
|
VocabularyFilterName: __expectString(output.VocabularyFilterName),
|
|
@@ -4271,7 +4131,7 @@ var deserializeAws_json1_1VocabularyFilters = function (output, context) {
|
|
|
4271
4131
|
var deserializeAws_json1_1VocabularyInfo = function (output, context) {
|
|
4272
4132
|
return {
|
|
4273
4133
|
LanguageCode: __expectString(output.LanguageCode),
|
|
4274
|
-
LastModifiedTime: output.LastModifiedTime
|
|
4134
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
4275
4135
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
4276
4136
|
: undefined,
|
|
4277
4137
|
VocabularyName: __expectString(output.VocabularyName),
|
|
@@ -4352,5 +4212,4 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
4352
4212
|
if (data["__type"] !== undefined) {
|
|
4353
4213
|
return sanitizeErrorCode(data["__type"]);
|
|
4354
4214
|
}
|
|
4355
|
-
return "";
|
|
4356
4215
|
};
|