@aws-sdk/client-transcribe-streaming 3.120.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_restJson1.js +22 -40
- package/dist-es/protocols/Aws_restJson1.js +22 -40
- package/package.json +32 -32
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-transcribe-streaming
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.123.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.122.0...v3.123.0) (2022-07-05)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-transcribe-streaming
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **clients:** fallback to status code for unmodeled errors ([#3752](https://github.com/aws/aws-sdk-js-v3/issues/3752)) ([49bcc4f](https://github.com/aws/aws-sdk-js-v3/commit/49bcc4f153e890e798a8e82fd5fc397b2dcc449f))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.120.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.119.0...v3.120.0) (2022-06-29)
|
|
7
34
|
|
|
8
35
|
|
|
@@ -206,8 +206,7 @@ const deserializeAws_restJson1StartMedicalStreamTranscriptionCommandError = asyn
|
|
|
206
206
|
body: await parseBody(output.body, context),
|
|
207
207
|
};
|
|
208
208
|
let response;
|
|
209
|
-
|
|
210
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
209
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
211
210
|
switch (errorCode) {
|
|
212
211
|
case "BadRequestException":
|
|
213
212
|
case "com.amazonaws.transcribestreaming#BadRequestException":
|
|
@@ -226,10 +225,12 @@ const deserializeAws_restJson1StartMedicalStreamTranscriptionCommandError = asyn
|
|
|
226
225
|
throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
227
226
|
default:
|
|
228
227
|
const parsedBody = parsedOutput.body;
|
|
228
|
+
const $metadata = deserializeMetadata(output);
|
|
229
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
229
230
|
response = new TranscribeStreamingServiceException_1.TranscribeStreamingServiceException({
|
|
230
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
231
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
231
232
|
$fault: "client",
|
|
232
|
-
$metadata
|
|
233
|
+
$metadata,
|
|
233
234
|
});
|
|
234
235
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
235
236
|
}
|
|
@@ -355,8 +356,7 @@ const deserializeAws_restJson1StartStreamTranscriptionCommandError = async (outp
|
|
|
355
356
|
body: await parseBody(output.body, context),
|
|
356
357
|
};
|
|
357
358
|
let response;
|
|
358
|
-
|
|
359
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
359
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
360
360
|
switch (errorCode) {
|
|
361
361
|
case "BadRequestException":
|
|
362
362
|
case "com.amazonaws.transcribestreaming#BadRequestException":
|
|
@@ -375,10 +375,12 @@ const deserializeAws_restJson1StartStreamTranscriptionCommandError = async (outp
|
|
|
375
375
|
throw await deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context);
|
|
376
376
|
default:
|
|
377
377
|
const parsedBody = parsedOutput.body;
|
|
378
|
+
const $metadata = deserializeMetadata(output);
|
|
379
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
378
380
|
response = new TranscribeStreamingServiceException_1.TranscribeStreamingServiceException({
|
|
379
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
381
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
380
382
|
$fault: "client",
|
|
381
|
-
$metadata
|
|
383
|
+
$metadata,
|
|
382
384
|
});
|
|
383
385
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
384
386
|
}
|
|
@@ -582,8 +584,7 @@ const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parse
|
|
|
582
584
|
};
|
|
583
585
|
const serializeAws_restJson1AudioEvent = (input, context) => {
|
|
584
586
|
return {
|
|
585
|
-
...(input.AudioChunk
|
|
586
|
-
input.AudioChunk !== null && { AudioChunk: context.base64Encoder(input.AudioChunk) }),
|
|
587
|
+
...(input.AudioChunk != null && { AudioChunk: context.base64Encoder(input.AudioChunk) }),
|
|
587
588
|
};
|
|
588
589
|
};
|
|
589
590
|
const serializeAws_restJson1AudioStream = (input, context) => {
|
|
@@ -594,12 +595,8 @@ const serializeAws_restJson1AudioStream = (input, context) => {
|
|
|
594
595
|
};
|
|
595
596
|
const deserializeAws_restJson1Alternative = (output, context) => {
|
|
596
597
|
return {
|
|
597
|
-
Entities: output.Entities
|
|
598
|
-
|
|
599
|
-
: undefined,
|
|
600
|
-
Items: output.Items !== undefined && output.Items !== null
|
|
601
|
-
? deserializeAws_restJson1ItemList(output.Items, context)
|
|
602
|
-
: undefined,
|
|
598
|
+
Entities: output.Entities != null ? deserializeAws_restJson1EntityList(output.Entities, context) : undefined,
|
|
599
|
+
Items: output.Items != null ? deserializeAws_restJson1ItemList(output.Items, context) : undefined,
|
|
603
600
|
Transcript: (0, smithy_client_1.expectString)(output.Transcript),
|
|
604
601
|
};
|
|
605
602
|
};
|
|
@@ -697,12 +694,8 @@ const deserializeAws_restJson1LimitExceededException = (output, context) => {
|
|
|
697
694
|
};
|
|
698
695
|
const deserializeAws_restJson1MedicalAlternative = (output, context) => {
|
|
699
696
|
return {
|
|
700
|
-
Entities: output.Entities
|
|
701
|
-
|
|
702
|
-
: undefined,
|
|
703
|
-
Items: output.Items !== undefined && output.Items !== null
|
|
704
|
-
? deserializeAws_restJson1MedicalItemList(output.Items, context)
|
|
705
|
-
: undefined,
|
|
697
|
+
Entities: output.Entities != null ? deserializeAws_restJson1MedicalEntityList(output.Entities, context) : undefined,
|
|
698
|
+
Items: output.Items != null ? deserializeAws_restJson1MedicalItemList(output.Items, context) : undefined,
|
|
706
699
|
Transcript: (0, smithy_client_1.expectString)(output.Transcript),
|
|
707
700
|
};
|
|
708
701
|
};
|
|
@@ -760,7 +753,7 @@ const deserializeAws_restJson1MedicalItemList = (output, context) => {
|
|
|
760
753
|
};
|
|
761
754
|
const deserializeAws_restJson1MedicalResult = (output, context) => {
|
|
762
755
|
return {
|
|
763
|
-
Alternatives: output.Alternatives
|
|
756
|
+
Alternatives: output.Alternatives != null
|
|
764
757
|
? deserializeAws_restJson1MedicalAlternativeList(output.Alternatives, context)
|
|
765
758
|
: undefined,
|
|
766
759
|
ChannelId: (0, smithy_client_1.expectString)(output.ChannelId),
|
|
@@ -783,16 +776,12 @@ const deserializeAws_restJson1MedicalResultList = (output, context) => {
|
|
|
783
776
|
};
|
|
784
777
|
const deserializeAws_restJson1MedicalTranscript = (output, context) => {
|
|
785
778
|
return {
|
|
786
|
-
Results: output.Results
|
|
787
|
-
? deserializeAws_restJson1MedicalResultList(output.Results, context)
|
|
788
|
-
: undefined,
|
|
779
|
+
Results: output.Results != null ? deserializeAws_restJson1MedicalResultList(output.Results, context) : undefined,
|
|
789
780
|
};
|
|
790
781
|
};
|
|
791
782
|
const deserializeAws_restJson1MedicalTranscriptEvent = (output, context) => {
|
|
792
783
|
return {
|
|
793
|
-
Transcript: output.Transcript
|
|
794
|
-
? deserializeAws_restJson1MedicalTranscript(output.Transcript, context)
|
|
795
|
-
: undefined,
|
|
784
|
+
Transcript: output.Transcript != null ? deserializeAws_restJson1MedicalTranscript(output.Transcript, context) : undefined,
|
|
796
785
|
};
|
|
797
786
|
};
|
|
798
787
|
const deserializeAws_restJson1MedicalTranscriptResultStream = (output, context) => {
|
|
@@ -830,14 +819,12 @@ const deserializeAws_restJson1MedicalTranscriptResultStream = (output, context)
|
|
|
830
819
|
};
|
|
831
820
|
const deserializeAws_restJson1Result = (output, context) => {
|
|
832
821
|
return {
|
|
833
|
-
Alternatives: output.Alternatives
|
|
834
|
-
? deserializeAws_restJson1AlternativeList(output.Alternatives, context)
|
|
835
|
-
: undefined,
|
|
822
|
+
Alternatives: output.Alternatives != null ? deserializeAws_restJson1AlternativeList(output.Alternatives, context) : undefined,
|
|
836
823
|
ChannelId: (0, smithy_client_1.expectString)(output.ChannelId),
|
|
837
824
|
EndTime: (0, smithy_client_1.limitedParseDouble)(output.EndTime),
|
|
838
825
|
IsPartial: (0, smithy_client_1.expectBoolean)(output.IsPartial),
|
|
839
826
|
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
840
|
-
LanguageIdentification: output.LanguageIdentification
|
|
827
|
+
LanguageIdentification: output.LanguageIdentification != null
|
|
841
828
|
? deserializeAws_restJson1LanguageIdentification(output.LanguageIdentification, context)
|
|
842
829
|
: undefined,
|
|
843
830
|
ResultId: (0, smithy_client_1.expectString)(output.ResultId),
|
|
@@ -862,16 +849,12 @@ const deserializeAws_restJson1ServiceUnavailableException = (output, context) =>
|
|
|
862
849
|
};
|
|
863
850
|
const deserializeAws_restJson1Transcript = (output, context) => {
|
|
864
851
|
return {
|
|
865
|
-
Results: output.Results
|
|
866
|
-
? deserializeAws_restJson1ResultList(output.Results, context)
|
|
867
|
-
: undefined,
|
|
852
|
+
Results: output.Results != null ? deserializeAws_restJson1ResultList(output.Results, context) : undefined,
|
|
868
853
|
};
|
|
869
854
|
};
|
|
870
855
|
const deserializeAws_restJson1TranscriptEvent = (output, context) => {
|
|
871
856
|
return {
|
|
872
|
-
Transcript: output.Transcript
|
|
873
|
-
? deserializeAws_restJson1Transcript(output.Transcript, context)
|
|
874
|
-
: undefined,
|
|
857
|
+
Transcript: output.Transcript != null ? deserializeAws_restJson1Transcript(output.Transcript, context) : undefined,
|
|
875
858
|
};
|
|
876
859
|
};
|
|
877
860
|
const deserializeAws_restJson1TranscriptResultStream = (output, context) => {
|
|
@@ -956,5 +939,4 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
956
939
|
if (data["__type"] !== undefined) {
|
|
957
940
|
return sanitizeErrorCode(data["__type"]);
|
|
958
941
|
}
|
|
959
|
-
return "";
|
|
960
942
|
};
|
|
@@ -189,7 +189,7 @@ export var deserializeAws_restJson1StartMedicalStreamTranscriptionCommand = func
|
|
|
189
189
|
});
|
|
190
190
|
}); };
|
|
191
191
|
var deserializeAws_restJson1StartMedicalStreamTranscriptionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
192
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
192
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
193
193
|
var _c;
|
|
194
194
|
return __generator(this, function (_d) {
|
|
195
195
|
switch (_d.label) {
|
|
@@ -199,7 +199,6 @@ var deserializeAws_restJson1StartMedicalStreamTranscriptionCommandError = functi
|
|
|
199
199
|
return [4, parseBody(output.body, context)];
|
|
200
200
|
case 1:
|
|
201
201
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
202
|
-
errorCode = "UnknownError";
|
|
203
202
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
204
203
|
_b = errorCode;
|
|
205
204
|
switch (_b) {
|
|
@@ -227,10 +226,12 @@ var deserializeAws_restJson1StartMedicalStreamTranscriptionCommandError = functi
|
|
|
227
226
|
case 11: throw _d.sent();
|
|
228
227
|
case 12:
|
|
229
228
|
parsedBody = parsedOutput.body;
|
|
229
|
+
$metadata = deserializeMetadata(output);
|
|
230
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
230
231
|
response = new __BaseException({
|
|
231
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
232
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
232
233
|
$fault: "client",
|
|
233
|
-
$metadata:
|
|
234
|
+
$metadata: $metadata,
|
|
234
235
|
});
|
|
235
236
|
throw __decorateServiceException(response, parsedBody);
|
|
236
237
|
}
|
|
@@ -362,7 +363,7 @@ export var deserializeAws_restJson1StartStreamTranscriptionCommand = function (o
|
|
|
362
363
|
});
|
|
363
364
|
}); };
|
|
364
365
|
var deserializeAws_restJson1StartStreamTranscriptionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
365
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
366
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
366
367
|
var _c;
|
|
367
368
|
return __generator(this, function (_d) {
|
|
368
369
|
switch (_d.label) {
|
|
@@ -372,7 +373,6 @@ var deserializeAws_restJson1StartStreamTranscriptionCommandError = function (out
|
|
|
372
373
|
return [4, parseBody(output.body, context)];
|
|
373
374
|
case 1:
|
|
374
375
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
375
|
-
errorCode = "UnknownError";
|
|
376
376
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
377
377
|
_b = errorCode;
|
|
378
378
|
switch (_b) {
|
|
@@ -400,10 +400,12 @@ var deserializeAws_restJson1StartStreamTranscriptionCommandError = function (out
|
|
|
400
400
|
case 11: throw _d.sent();
|
|
401
401
|
case 12:
|
|
402
402
|
parsedBody = parsedOutput.body;
|
|
403
|
+
$metadata = deserializeMetadata(output);
|
|
404
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
403
405
|
response = new __BaseException({
|
|
404
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
406
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
405
407
|
$fault: "client",
|
|
406
|
-
$metadata:
|
|
408
|
+
$metadata: $metadata,
|
|
407
409
|
});
|
|
408
410
|
throw __decorateServiceException(response, parsedBody);
|
|
409
411
|
}
|
|
@@ -679,8 +681,7 @@ var deserializeAws_restJson1ServiceUnavailableExceptionResponse = function (pars
|
|
|
679
681
|
});
|
|
680
682
|
}); };
|
|
681
683
|
var serializeAws_restJson1AudioEvent = function (input, context) {
|
|
682
|
-
return __assign({}, (input.AudioChunk
|
|
683
|
-
input.AudioChunk !== null && { AudioChunk: context.base64Encoder(input.AudioChunk) }));
|
|
684
|
+
return __assign({}, (input.AudioChunk != null && { AudioChunk: context.base64Encoder(input.AudioChunk) }));
|
|
684
685
|
};
|
|
685
686
|
var serializeAws_restJson1AudioStream = function (input, context) {
|
|
686
687
|
return AudioStream.visit(input, {
|
|
@@ -690,12 +691,8 @@ var serializeAws_restJson1AudioStream = function (input, context) {
|
|
|
690
691
|
};
|
|
691
692
|
var deserializeAws_restJson1Alternative = function (output, context) {
|
|
692
693
|
return {
|
|
693
|
-
Entities: output.Entities
|
|
694
|
-
|
|
695
|
-
: undefined,
|
|
696
|
-
Items: output.Items !== undefined && output.Items !== null
|
|
697
|
-
? deserializeAws_restJson1ItemList(output.Items, context)
|
|
698
|
-
: undefined,
|
|
694
|
+
Entities: output.Entities != null ? deserializeAws_restJson1EntityList(output.Entities, context) : undefined,
|
|
695
|
+
Items: output.Items != null ? deserializeAws_restJson1ItemList(output.Items, context) : undefined,
|
|
699
696
|
Transcript: __expectString(output.Transcript),
|
|
700
697
|
};
|
|
701
698
|
};
|
|
@@ -793,12 +790,8 @@ var deserializeAws_restJson1LimitExceededException = function (output, context)
|
|
|
793
790
|
};
|
|
794
791
|
var deserializeAws_restJson1MedicalAlternative = function (output, context) {
|
|
795
792
|
return {
|
|
796
|
-
Entities: output.Entities
|
|
797
|
-
|
|
798
|
-
: undefined,
|
|
799
|
-
Items: output.Items !== undefined && output.Items !== null
|
|
800
|
-
? deserializeAws_restJson1MedicalItemList(output.Items, context)
|
|
801
|
-
: undefined,
|
|
793
|
+
Entities: output.Entities != null ? deserializeAws_restJson1MedicalEntityList(output.Entities, context) : undefined,
|
|
794
|
+
Items: output.Items != null ? deserializeAws_restJson1MedicalItemList(output.Items, context) : undefined,
|
|
802
795
|
Transcript: __expectString(output.Transcript),
|
|
803
796
|
};
|
|
804
797
|
};
|
|
@@ -856,7 +849,7 @@ var deserializeAws_restJson1MedicalItemList = function (output, context) {
|
|
|
856
849
|
};
|
|
857
850
|
var deserializeAws_restJson1MedicalResult = function (output, context) {
|
|
858
851
|
return {
|
|
859
|
-
Alternatives: output.Alternatives
|
|
852
|
+
Alternatives: output.Alternatives != null
|
|
860
853
|
? deserializeAws_restJson1MedicalAlternativeList(output.Alternatives, context)
|
|
861
854
|
: undefined,
|
|
862
855
|
ChannelId: __expectString(output.ChannelId),
|
|
@@ -879,16 +872,12 @@ var deserializeAws_restJson1MedicalResultList = function (output, context) {
|
|
|
879
872
|
};
|
|
880
873
|
var deserializeAws_restJson1MedicalTranscript = function (output, context) {
|
|
881
874
|
return {
|
|
882
|
-
Results: output.Results
|
|
883
|
-
? deserializeAws_restJson1MedicalResultList(output.Results, context)
|
|
884
|
-
: undefined,
|
|
875
|
+
Results: output.Results != null ? deserializeAws_restJson1MedicalResultList(output.Results, context) : undefined,
|
|
885
876
|
};
|
|
886
877
|
};
|
|
887
878
|
var deserializeAws_restJson1MedicalTranscriptEvent = function (output, context) {
|
|
888
879
|
return {
|
|
889
|
-
Transcript: output.Transcript
|
|
890
|
-
? deserializeAws_restJson1MedicalTranscript(output.Transcript, context)
|
|
891
|
-
: undefined,
|
|
880
|
+
Transcript: output.Transcript != null ? deserializeAws_restJson1MedicalTranscript(output.Transcript, context) : undefined,
|
|
892
881
|
};
|
|
893
882
|
};
|
|
894
883
|
var deserializeAws_restJson1MedicalTranscriptResultStream = function (output, context) {
|
|
@@ -926,14 +915,12 @@ var deserializeAws_restJson1MedicalTranscriptResultStream = function (output, co
|
|
|
926
915
|
};
|
|
927
916
|
var deserializeAws_restJson1Result = function (output, context) {
|
|
928
917
|
return {
|
|
929
|
-
Alternatives: output.Alternatives
|
|
930
|
-
? deserializeAws_restJson1AlternativeList(output.Alternatives, context)
|
|
931
|
-
: undefined,
|
|
918
|
+
Alternatives: output.Alternatives != null ? deserializeAws_restJson1AlternativeList(output.Alternatives, context) : undefined,
|
|
932
919
|
ChannelId: __expectString(output.ChannelId),
|
|
933
920
|
EndTime: __limitedParseDouble(output.EndTime),
|
|
934
921
|
IsPartial: __expectBoolean(output.IsPartial),
|
|
935
922
|
LanguageCode: __expectString(output.LanguageCode),
|
|
936
|
-
LanguageIdentification: output.LanguageIdentification
|
|
923
|
+
LanguageIdentification: output.LanguageIdentification != null
|
|
937
924
|
? deserializeAws_restJson1LanguageIdentification(output.LanguageIdentification, context)
|
|
938
925
|
: undefined,
|
|
939
926
|
ResultId: __expectString(output.ResultId),
|
|
@@ -958,16 +945,12 @@ var deserializeAws_restJson1ServiceUnavailableException = function (output, cont
|
|
|
958
945
|
};
|
|
959
946
|
var deserializeAws_restJson1Transcript = function (output, context) {
|
|
960
947
|
return {
|
|
961
|
-
Results: output.Results
|
|
962
|
-
? deserializeAws_restJson1ResultList(output.Results, context)
|
|
963
|
-
: undefined,
|
|
948
|
+
Results: output.Results != null ? deserializeAws_restJson1ResultList(output.Results, context) : undefined,
|
|
964
949
|
};
|
|
965
950
|
};
|
|
966
951
|
var deserializeAws_restJson1TranscriptEvent = function (output, context) {
|
|
967
952
|
return {
|
|
968
|
-
Transcript: output.Transcript
|
|
969
|
-
? deserializeAws_restJson1Transcript(output.Transcript, context)
|
|
970
|
-
: undefined,
|
|
953
|
+
Transcript: output.Transcript != null ? deserializeAws_restJson1Transcript(output.Transcript, context) : undefined,
|
|
971
954
|
};
|
|
972
955
|
};
|
|
973
956
|
var deserializeAws_restJson1TranscriptResultStream = function (output, context) {
|
|
@@ -1059,5 +1042,4 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
1059
1042
|
if (data["__type"] !== undefined) {
|
|
1060
1043
|
return sanitizeErrorCode(data["__type"]);
|
|
1061
1044
|
}
|
|
1062
|
-
return "";
|
|
1063
1045
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-transcribe-streaming",
|
|
3
3
|
"description": "AWS SDK for JavaScript Transcribe Streaming Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.127.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,41 +19,41 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/eventstream-handler-node": "3.
|
|
26
|
-
"@aws-sdk/eventstream-serde-browser": "3.
|
|
27
|
-
"@aws-sdk/eventstream-serde-config-resolver": "3.
|
|
28
|
-
"@aws-sdk/eventstream-serde-node": "3.
|
|
29
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
30
|
-
"@aws-sdk/hash-node": "3.
|
|
31
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
32
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
33
|
-
"@aws-sdk/middleware-eventstream": "3.
|
|
34
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
35
|
-
"@aws-sdk/middleware-logger": "3.
|
|
36
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
37
|
-
"@aws-sdk/middleware-retry": "3.
|
|
38
|
-
"@aws-sdk/middleware-sdk-transcribe-streaming": "3.
|
|
39
|
-
"@aws-sdk/middleware-serde": "3.
|
|
40
|
-
"@aws-sdk/middleware-signing": "3.
|
|
41
|
-
"@aws-sdk/middleware-stack": "3.
|
|
42
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
43
|
-
"@aws-sdk/node-config-provider": "3.
|
|
44
|
-
"@aws-sdk/node-http-handler": "3.
|
|
45
|
-
"@aws-sdk/protocol-http": "3.
|
|
46
|
-
"@aws-sdk/smithy-client": "3.
|
|
47
|
-
"@aws-sdk/types": "3.
|
|
48
|
-
"@aws-sdk/url-parser": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.127.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.127.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.127.0",
|
|
25
|
+
"@aws-sdk/eventstream-handler-node": "3.127.0",
|
|
26
|
+
"@aws-sdk/eventstream-serde-browser": "3.127.0",
|
|
27
|
+
"@aws-sdk/eventstream-serde-config-resolver": "3.127.0",
|
|
28
|
+
"@aws-sdk/eventstream-serde-node": "3.127.0",
|
|
29
|
+
"@aws-sdk/fetch-http-handler": "3.127.0",
|
|
30
|
+
"@aws-sdk/hash-node": "3.127.0",
|
|
31
|
+
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
32
|
+
"@aws-sdk/middleware-content-length": "3.127.0",
|
|
33
|
+
"@aws-sdk/middleware-eventstream": "3.127.0",
|
|
34
|
+
"@aws-sdk/middleware-host-header": "3.127.0",
|
|
35
|
+
"@aws-sdk/middleware-logger": "3.127.0",
|
|
36
|
+
"@aws-sdk/middleware-recursion-detection": "3.127.0",
|
|
37
|
+
"@aws-sdk/middleware-retry": "3.127.0",
|
|
38
|
+
"@aws-sdk/middleware-sdk-transcribe-streaming": "3.127.0",
|
|
39
|
+
"@aws-sdk/middleware-serde": "3.127.0",
|
|
40
|
+
"@aws-sdk/middleware-signing": "3.127.0",
|
|
41
|
+
"@aws-sdk/middleware-stack": "3.127.0",
|
|
42
|
+
"@aws-sdk/middleware-user-agent": "3.127.0",
|
|
43
|
+
"@aws-sdk/node-config-provider": "3.127.0",
|
|
44
|
+
"@aws-sdk/node-http-handler": "3.127.0",
|
|
45
|
+
"@aws-sdk/protocol-http": "3.127.0",
|
|
46
|
+
"@aws-sdk/smithy-client": "3.127.0",
|
|
47
|
+
"@aws-sdk/types": "3.127.0",
|
|
48
|
+
"@aws-sdk/url-parser": "3.127.0",
|
|
49
49
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
50
50
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
51
51
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
52
52
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
53
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
54
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
56
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
53
|
+
"@aws-sdk/util-defaults-mode-browser": "3.127.0",
|
|
54
|
+
"@aws-sdk/util-defaults-mode-node": "3.127.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
56
|
+
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
57
57
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
58
58
|
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
59
59
|
"tslib": "^2.3.1"
|