@aws-sdk/client-transcribe-streaming 3.312.0 → 3.316.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/dist-cjs/TranscribeStreaming.js +7 -42
- package/dist-cjs/protocols/Aws_restJson1.js +143 -277
- package/dist-es/TranscribeStreaming.js +7 -42
- package/dist-es/protocols/Aws_restJson1.js +133 -267
- package/dist-types/TranscribeStreaming.d.ts +21 -86
- package/dist-types/ts3.4/TranscribeStreaming.d.ts +4 -1
- package/package.json +6 -6
|
@@ -3,6 +3,26 @@ import { StartCallAnalyticsStreamTranscriptionCommandInput, StartCallAnalyticsSt
|
|
|
3
3
|
import { StartMedicalStreamTranscriptionCommandInput, StartMedicalStreamTranscriptionCommandOutput } from "./commands/StartMedicalStreamTranscriptionCommand";
|
|
4
4
|
import { StartStreamTranscriptionCommandInput, StartStreamTranscriptionCommandOutput } from "./commands/StartStreamTranscriptionCommand";
|
|
5
5
|
import { TranscribeStreamingClient } from "./TranscribeStreamingClient";
|
|
6
|
+
export interface TranscribeStreaming {
|
|
7
|
+
/**
|
|
8
|
+
* @see {@link StartCallAnalyticsStreamTranscriptionCommand}
|
|
9
|
+
*/
|
|
10
|
+
startCallAnalyticsStreamTranscription(args: StartCallAnalyticsStreamTranscriptionCommandInput, options?: __HttpHandlerOptions): Promise<StartCallAnalyticsStreamTranscriptionCommandOutput>;
|
|
11
|
+
startCallAnalyticsStreamTranscription(args: StartCallAnalyticsStreamTranscriptionCommandInput, cb: (err: any, data?: StartCallAnalyticsStreamTranscriptionCommandOutput) => void): void;
|
|
12
|
+
startCallAnalyticsStreamTranscription(args: StartCallAnalyticsStreamTranscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartCallAnalyticsStreamTranscriptionCommandOutput) => void): void;
|
|
13
|
+
/**
|
|
14
|
+
* @see {@link StartMedicalStreamTranscriptionCommand}
|
|
15
|
+
*/
|
|
16
|
+
startMedicalStreamTranscription(args: StartMedicalStreamTranscriptionCommandInput, options?: __HttpHandlerOptions): Promise<StartMedicalStreamTranscriptionCommandOutput>;
|
|
17
|
+
startMedicalStreamTranscription(args: StartMedicalStreamTranscriptionCommandInput, cb: (err: any, data?: StartMedicalStreamTranscriptionCommandOutput) => void): void;
|
|
18
|
+
startMedicalStreamTranscription(args: StartMedicalStreamTranscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartMedicalStreamTranscriptionCommandOutput) => void): void;
|
|
19
|
+
/**
|
|
20
|
+
* @see {@link StartStreamTranscriptionCommand}
|
|
21
|
+
*/
|
|
22
|
+
startStreamTranscription(args: StartStreamTranscriptionCommandInput, options?: __HttpHandlerOptions): Promise<StartStreamTranscriptionCommandOutput>;
|
|
23
|
+
startStreamTranscription(args: StartStreamTranscriptionCommandInput, cb: (err: any, data?: StartStreamTranscriptionCommandOutput) => void): void;
|
|
24
|
+
startStreamTranscription(args: StartStreamTranscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartStreamTranscriptionCommandOutput) => void): void;
|
|
25
|
+
}
|
|
6
26
|
/**
|
|
7
27
|
* @public
|
|
8
28
|
* <p>Amazon Transcribe streaming offers three main types of real-time transcription:
|
|
@@ -29,90 +49,5 @@ import { TranscribeStreamingClient } from "./TranscribeStreamingClient";
|
|
|
29
49
|
* </li>
|
|
30
50
|
* </ul>
|
|
31
51
|
*/
|
|
32
|
-
export declare class TranscribeStreaming extends TranscribeStreamingClient {
|
|
33
|
-
/**
|
|
34
|
-
* @public
|
|
35
|
-
* <p>Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to
|
|
36
|
-
* Amazon Transcribe and the transcription results are streamed to your application. Use this operation
|
|
37
|
-
* for <a href="https://docs.aws.amazon.com/transcribe/latest/dg/call-analytics.html">Call Analytics</a> transcriptions.</p>
|
|
38
|
-
* <p>The following parameters are required:</p>
|
|
39
|
-
* <ul>
|
|
40
|
-
* <li>
|
|
41
|
-
* <p>
|
|
42
|
-
* <code>language-code</code>
|
|
43
|
-
* </p>
|
|
44
|
-
* </li>
|
|
45
|
-
* <li>
|
|
46
|
-
* <p>
|
|
47
|
-
* <code>media-encoding</code>
|
|
48
|
-
* </p>
|
|
49
|
-
* </li>
|
|
50
|
-
* <li>
|
|
51
|
-
* <p>
|
|
52
|
-
* <code>sample-rate</code>
|
|
53
|
-
* </p>
|
|
54
|
-
* </li>
|
|
55
|
-
* </ul>
|
|
56
|
-
* <p>For more information on streaming with Amazon Transcribe, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/streaming.html">Transcribing streaming audio</a>.</p>
|
|
57
|
-
*/
|
|
58
|
-
startCallAnalyticsStreamTranscription(args: StartCallAnalyticsStreamTranscriptionCommandInput, options?: __HttpHandlerOptions): Promise<StartCallAnalyticsStreamTranscriptionCommandOutput>;
|
|
59
|
-
startCallAnalyticsStreamTranscription(args: StartCallAnalyticsStreamTranscriptionCommandInput, cb: (err: any, data?: StartCallAnalyticsStreamTranscriptionCommandOutput) => void): void;
|
|
60
|
-
startCallAnalyticsStreamTranscription(args: StartCallAnalyticsStreamTranscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartCallAnalyticsStreamTranscriptionCommandOutput) => void): void;
|
|
61
|
-
/**
|
|
62
|
-
* @public
|
|
63
|
-
* <p>Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to
|
|
64
|
-
* Amazon Transcribe Medical and the transcription results are streamed to your
|
|
65
|
-
* application.</p>
|
|
66
|
-
* <p>The following parameters are required:</p>
|
|
67
|
-
* <ul>
|
|
68
|
-
* <li>
|
|
69
|
-
* <p>
|
|
70
|
-
* <code>language-code</code>
|
|
71
|
-
* </p>
|
|
72
|
-
* </li>
|
|
73
|
-
* <li>
|
|
74
|
-
* <p>
|
|
75
|
-
* <code>media-encoding</code>
|
|
76
|
-
* </p>
|
|
77
|
-
* </li>
|
|
78
|
-
* <li>
|
|
79
|
-
* <p>
|
|
80
|
-
* <code>sample-rate</code>
|
|
81
|
-
* </p>
|
|
82
|
-
* </li>
|
|
83
|
-
* </ul>
|
|
84
|
-
* <p>For more information on streaming with Amazon Transcribe Medical, see
|
|
85
|
-
* <a href="https://docs.aws.amazon.com/transcribe/latest/dg/streaming.html">Transcribing
|
|
86
|
-
* streaming audio</a>.</p>
|
|
87
|
-
*/
|
|
88
|
-
startMedicalStreamTranscription(args: StartMedicalStreamTranscriptionCommandInput, options?: __HttpHandlerOptions): Promise<StartMedicalStreamTranscriptionCommandOutput>;
|
|
89
|
-
startMedicalStreamTranscription(args: StartMedicalStreamTranscriptionCommandInput, cb: (err: any, data?: StartMedicalStreamTranscriptionCommandOutput) => void): void;
|
|
90
|
-
startMedicalStreamTranscription(args: StartMedicalStreamTranscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartMedicalStreamTranscriptionCommandOutput) => void): void;
|
|
91
|
-
/**
|
|
92
|
-
* @public
|
|
93
|
-
* <p>Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to
|
|
94
|
-
* Amazon Transcribe and the transcription results are streamed to your application.</p>
|
|
95
|
-
* <p>The following parameters are required:</p>
|
|
96
|
-
* <ul>
|
|
97
|
-
* <li>
|
|
98
|
-
* <p>
|
|
99
|
-
* <code>language-code</code> or <code>identify-language</code>
|
|
100
|
-
* </p>
|
|
101
|
-
* </li>
|
|
102
|
-
* <li>
|
|
103
|
-
* <p>
|
|
104
|
-
* <code>media-encoding</code>
|
|
105
|
-
* </p>
|
|
106
|
-
* </li>
|
|
107
|
-
* <li>
|
|
108
|
-
* <p>
|
|
109
|
-
* <code>sample-rate</code>
|
|
110
|
-
* </p>
|
|
111
|
-
* </li>
|
|
112
|
-
* </ul>
|
|
113
|
-
* <p>For more information on streaming with Amazon Transcribe, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/streaming.html">Transcribing streaming audio</a>.</p>
|
|
114
|
-
*/
|
|
115
|
-
startStreamTranscription(args: StartStreamTranscriptionCommandInput, options?: __HttpHandlerOptions): Promise<StartStreamTranscriptionCommandOutput>;
|
|
116
|
-
startStreamTranscription(args: StartStreamTranscriptionCommandInput, cb: (err: any, data?: StartStreamTranscriptionCommandOutput) => void): void;
|
|
117
|
-
startStreamTranscription(args: StartStreamTranscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartStreamTranscriptionCommandOutput) => void): void;
|
|
52
|
+
export declare class TranscribeStreaming extends TranscribeStreamingClient implements TranscribeStreaming {
|
|
118
53
|
}
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
StartStreamTranscriptionCommandOutput,
|
|
13
13
|
} from "./commands/StartStreamTranscriptionCommand";
|
|
14
14
|
import { TranscribeStreamingClient } from "./TranscribeStreamingClient";
|
|
15
|
-
export
|
|
15
|
+
export interface TranscribeStreaming {
|
|
16
16
|
startCallAnalyticsStreamTranscription(
|
|
17
17
|
args: StartCallAnalyticsStreamTranscriptionCommandInput,
|
|
18
18
|
options?: __HttpHandlerOptions
|
|
@@ -59,3 +59,6 @@ export declare class TranscribeStreaming extends TranscribeStreamingClient {
|
|
|
59
59
|
cb: (err: any, data?: StartStreamTranscriptionCommandOutput) => void
|
|
60
60
|
): void;
|
|
61
61
|
}
|
|
62
|
+
export declare class TranscribeStreaming
|
|
63
|
+
extends TranscribeStreamingClient
|
|
64
|
+
implements TranscribeStreaming {}
|
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.316.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",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
25
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
+
"@aws-sdk/client-sts": "3.316.0",
|
|
26
26
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.316.0",
|
|
28
28
|
"@aws-sdk/eventstream-handler-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/eventstream-serde-browser": "3.310.0",
|
|
30
30
|
"@aws-sdk/eventstream-serde-config-resolver": "3.310.0",
|
|
@@ -48,14 +48,14 @@
|
|
|
48
48
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
49
49
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
50
50
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
51
|
-
"@aws-sdk/smithy-client": "3.
|
|
51
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
52
52
|
"@aws-sdk/types": "3.310.0",
|
|
53
53
|
"@aws-sdk/url-parser": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-base64": "3.310.0",
|
|
55
55
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
56
56
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
57
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
58
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
57
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
58
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
59
59
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
60
60
|
"@aws-sdk/util-retry": "3.310.0",
|
|
61
61
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|