@aws-sdk/client-transcribe-streaming 3.1136.0 → 3.1138.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/index.js
CHANGED
|
@@ -74,7 +74,7 @@ const commonParams = {
|
|
|
74
74
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
75
75
|
};
|
|
76
76
|
|
|
77
|
-
var version = "3.
|
|
77
|
+
var version = "3.1137.0";
|
|
78
78
|
var packageInfo = {
|
|
79
79
|
version: version};
|
|
80
80
|
|
|
@@ -434,10 +434,10 @@ const _xatvfn_ = "x-amzn-transcribe-vocabulary-filter-names";
|
|
|
434
434
|
const _xatvn = "x-amzn-transcribe-vocabulary-name";
|
|
435
435
|
const _xatvn_ = "x-amzn-transcribe-vocabulary-names";
|
|
436
436
|
const n0 = "com.amazonaws.transcribestreaming";
|
|
437
|
-
const _s_registry = TypeRegistry
|
|
437
|
+
const _s_registry = new TypeRegistry(_s);
|
|
438
438
|
var TranscribeStreamingServiceException$ = [-3, _s, "TranscribeStreamingServiceException", 0, [], []];
|
|
439
439
|
_s_registry.registerError(TranscribeStreamingServiceException$, TranscribeStreamingServiceException);
|
|
440
|
-
const n0_registry = TypeRegistry
|
|
440
|
+
const n0_registry = new TypeRegistry(n0);
|
|
441
441
|
var BadRequestException$ = [-3, n0, _BRE,
|
|
442
442
|
{ [_e]: _c, [_hE]: 400 },
|
|
443
443
|
[_M],
|
|
@@ -207,10 +207,10 @@ const n0 = "com.amazonaws.transcribestreaming";
|
|
|
207
207
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
208
208
|
import { BadRequestException, ConflictException, InternalFailureException, LimitExceededException, ResourceNotFoundException, ServiceUnavailableException, } from "../models/errors";
|
|
209
209
|
import { TranscribeStreamingServiceException } from "../models/TranscribeStreamingServiceException";
|
|
210
|
-
const _s_registry = TypeRegistry
|
|
210
|
+
const _s_registry = new TypeRegistry(_s);
|
|
211
211
|
export var TranscribeStreamingServiceException$ = [-3, _s, "TranscribeStreamingServiceException", 0, [], []];
|
|
212
212
|
_s_registry.registerError(TranscribeStreamingServiceException$, TranscribeStreamingServiceException);
|
|
213
|
-
const n0_registry = TypeRegistry
|
|
213
|
+
const n0_registry = new TypeRegistry(n0);
|
|
214
214
|
export var BadRequestException$ = [-3, n0, _BRE,
|
|
215
215
|
{ [_e]: _c, [_hE]: 400 },
|
|
216
216
|
[_M],
|
|
@@ -1,41 +1,47 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder } from "@smithy/types";
|
|
2
2
|
import { type GetMedicalScribeStreamCommandInput, type GetMedicalScribeStreamCommandOutput } from "./commands/GetMedicalScribeStreamCommand";
|
|
3
3
|
import { type StartCallAnalyticsStreamTranscriptionCommandInput, type StartCallAnalyticsStreamTranscriptionCommandOutput } from "./commands/StartCallAnalyticsStreamTranscriptionCommand";
|
|
4
4
|
import { type StartMedicalScribeStreamCommandInput, type StartMedicalScribeStreamCommandOutput } from "./commands/StartMedicalScribeStreamCommand";
|
|
5
5
|
import { type StartMedicalStreamTranscriptionCommandInput, type StartMedicalStreamTranscriptionCommandOutput } from "./commands/StartMedicalStreamTranscriptionCommand";
|
|
6
6
|
import { type StartStreamTranscriptionCommandInput, type StartStreamTranscriptionCommandOutput } from "./commands/StartStreamTranscriptionCommand";
|
|
7
7
|
import { TranscribeStreamingClient } from "./TranscribeStreamingClient";
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export interface TranscribeStreamingRequestOptions extends __HttpHandlerOptions {
|
|
12
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
13
|
+
}
|
|
8
14
|
export interface TranscribeStreaming {
|
|
9
15
|
/**
|
|
10
16
|
* @see {@link GetMedicalScribeStreamCommand}
|
|
11
17
|
*/
|
|
12
|
-
getMedicalScribeStream(args: GetMedicalScribeStreamCommandInput, options?:
|
|
18
|
+
getMedicalScribeStream(args: GetMedicalScribeStreamCommandInput, options?: TranscribeStreamingRequestOptions): Promise<GetMedicalScribeStreamCommandOutput>;
|
|
13
19
|
getMedicalScribeStream(args: GetMedicalScribeStreamCommandInput, cb: (err: any, data?: GetMedicalScribeStreamCommandOutput) => void): void;
|
|
14
|
-
getMedicalScribeStream(args: GetMedicalScribeStreamCommandInput, options:
|
|
20
|
+
getMedicalScribeStream(args: GetMedicalScribeStreamCommandInput, options: TranscribeStreamingRequestOptions, cb: (err: any, data?: GetMedicalScribeStreamCommandOutput) => void): void;
|
|
15
21
|
/**
|
|
16
22
|
* @see {@link StartCallAnalyticsStreamTranscriptionCommand}
|
|
17
23
|
*/
|
|
18
|
-
startCallAnalyticsStreamTranscription(args: StartCallAnalyticsStreamTranscriptionCommandInput, options?:
|
|
24
|
+
startCallAnalyticsStreamTranscription(args: StartCallAnalyticsStreamTranscriptionCommandInput, options?: TranscribeStreamingRequestOptions): Promise<StartCallAnalyticsStreamTranscriptionCommandOutput>;
|
|
19
25
|
startCallAnalyticsStreamTranscription(args: StartCallAnalyticsStreamTranscriptionCommandInput, cb: (err: any, data?: StartCallAnalyticsStreamTranscriptionCommandOutput) => void): void;
|
|
20
|
-
startCallAnalyticsStreamTranscription(args: StartCallAnalyticsStreamTranscriptionCommandInput, options:
|
|
26
|
+
startCallAnalyticsStreamTranscription(args: StartCallAnalyticsStreamTranscriptionCommandInput, options: TranscribeStreamingRequestOptions, cb: (err: any, data?: StartCallAnalyticsStreamTranscriptionCommandOutput) => void): void;
|
|
21
27
|
/**
|
|
22
28
|
* @see {@link StartMedicalScribeStreamCommand}
|
|
23
29
|
*/
|
|
24
|
-
startMedicalScribeStream(args: StartMedicalScribeStreamCommandInput, options?:
|
|
30
|
+
startMedicalScribeStream(args: StartMedicalScribeStreamCommandInput, options?: TranscribeStreamingRequestOptions): Promise<StartMedicalScribeStreamCommandOutput>;
|
|
25
31
|
startMedicalScribeStream(args: StartMedicalScribeStreamCommandInput, cb: (err: any, data?: StartMedicalScribeStreamCommandOutput) => void): void;
|
|
26
|
-
startMedicalScribeStream(args: StartMedicalScribeStreamCommandInput, options:
|
|
32
|
+
startMedicalScribeStream(args: StartMedicalScribeStreamCommandInput, options: TranscribeStreamingRequestOptions, cb: (err: any, data?: StartMedicalScribeStreamCommandOutput) => void): void;
|
|
27
33
|
/**
|
|
28
34
|
* @see {@link StartMedicalStreamTranscriptionCommand}
|
|
29
35
|
*/
|
|
30
|
-
startMedicalStreamTranscription(args: StartMedicalStreamTranscriptionCommandInput, options?:
|
|
36
|
+
startMedicalStreamTranscription(args: StartMedicalStreamTranscriptionCommandInput, options?: TranscribeStreamingRequestOptions): Promise<StartMedicalStreamTranscriptionCommandOutput>;
|
|
31
37
|
startMedicalStreamTranscription(args: StartMedicalStreamTranscriptionCommandInput, cb: (err: any, data?: StartMedicalStreamTranscriptionCommandOutput) => void): void;
|
|
32
|
-
startMedicalStreamTranscription(args: StartMedicalStreamTranscriptionCommandInput, options:
|
|
38
|
+
startMedicalStreamTranscription(args: StartMedicalStreamTranscriptionCommandInput, options: TranscribeStreamingRequestOptions, cb: (err: any, data?: StartMedicalStreamTranscriptionCommandOutput) => void): void;
|
|
33
39
|
/**
|
|
34
40
|
* @see {@link StartStreamTranscriptionCommand}
|
|
35
41
|
*/
|
|
36
|
-
startStreamTranscription(args: StartStreamTranscriptionCommandInput, options?:
|
|
42
|
+
startStreamTranscription(args: StartStreamTranscriptionCommandInput, options?: TranscribeStreamingRequestOptions): Promise<StartStreamTranscriptionCommandOutput>;
|
|
37
43
|
startStreamTranscription(args: StartStreamTranscriptionCommandInput, cb: (err: any, data?: StartStreamTranscriptionCommandOutput) => void): void;
|
|
38
|
-
startStreamTranscription(args: StartStreamTranscriptionCommandInput, options:
|
|
44
|
+
startStreamTranscription(args: StartStreamTranscriptionCommandInput, options: TranscribeStreamingRequestOptions, cb: (err: any, data?: StartStreamTranscriptionCommandOutput) => void): void;
|
|
39
45
|
}
|
|
40
46
|
/**
|
|
41
47
|
* <p>Amazon Transcribe streaming offers four main types of real-time transcription:
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
4
|
+
} from "@smithy/types";
|
|
2
5
|
import {
|
|
3
6
|
GetMedicalScribeStreamCommandInput,
|
|
4
7
|
GetMedicalScribeStreamCommandOutput,
|
|
@@ -20,10 +23,13 @@ import {
|
|
|
20
23
|
StartStreamTranscriptionCommandOutput,
|
|
21
24
|
} from "./commands/StartStreamTranscriptionCommand";
|
|
22
25
|
import { TranscribeStreamingClient } from "./TranscribeStreamingClient";
|
|
26
|
+
export interface TranscribeStreamingRequestOptions extends __HttpHandlerOptions {
|
|
27
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
28
|
+
}
|
|
23
29
|
export interface TranscribeStreaming {
|
|
24
30
|
getMedicalScribeStream(
|
|
25
31
|
args: GetMedicalScribeStreamCommandInput,
|
|
26
|
-
options?:
|
|
32
|
+
options?: TranscribeStreamingRequestOptions,
|
|
27
33
|
): Promise<GetMedicalScribeStreamCommandOutput>;
|
|
28
34
|
getMedicalScribeStream(
|
|
29
35
|
args: GetMedicalScribeStreamCommandInput,
|
|
@@ -31,12 +37,12 @@ export interface TranscribeStreaming {
|
|
|
31
37
|
): void;
|
|
32
38
|
getMedicalScribeStream(
|
|
33
39
|
args: GetMedicalScribeStreamCommandInput,
|
|
34
|
-
options:
|
|
40
|
+
options: TranscribeStreamingRequestOptions,
|
|
35
41
|
cb: (err: any, data?: GetMedicalScribeStreamCommandOutput) => void,
|
|
36
42
|
): void;
|
|
37
43
|
startCallAnalyticsStreamTranscription(
|
|
38
44
|
args: StartCallAnalyticsStreamTranscriptionCommandInput,
|
|
39
|
-
options?:
|
|
45
|
+
options?: TranscribeStreamingRequestOptions,
|
|
40
46
|
): Promise<StartCallAnalyticsStreamTranscriptionCommandOutput>;
|
|
41
47
|
startCallAnalyticsStreamTranscription(
|
|
42
48
|
args: StartCallAnalyticsStreamTranscriptionCommandInput,
|
|
@@ -44,12 +50,12 @@ export interface TranscribeStreaming {
|
|
|
44
50
|
): void;
|
|
45
51
|
startCallAnalyticsStreamTranscription(
|
|
46
52
|
args: StartCallAnalyticsStreamTranscriptionCommandInput,
|
|
47
|
-
options:
|
|
53
|
+
options: TranscribeStreamingRequestOptions,
|
|
48
54
|
cb: (err: any, data?: StartCallAnalyticsStreamTranscriptionCommandOutput) => void,
|
|
49
55
|
): void;
|
|
50
56
|
startMedicalScribeStream(
|
|
51
57
|
args: StartMedicalScribeStreamCommandInput,
|
|
52
|
-
options?:
|
|
58
|
+
options?: TranscribeStreamingRequestOptions,
|
|
53
59
|
): Promise<StartMedicalScribeStreamCommandOutput>;
|
|
54
60
|
startMedicalScribeStream(
|
|
55
61
|
args: StartMedicalScribeStreamCommandInput,
|
|
@@ -57,12 +63,12 @@ export interface TranscribeStreaming {
|
|
|
57
63
|
): void;
|
|
58
64
|
startMedicalScribeStream(
|
|
59
65
|
args: StartMedicalScribeStreamCommandInput,
|
|
60
|
-
options:
|
|
66
|
+
options: TranscribeStreamingRequestOptions,
|
|
61
67
|
cb: (err: any, data?: StartMedicalScribeStreamCommandOutput) => void,
|
|
62
68
|
): void;
|
|
63
69
|
startMedicalStreamTranscription(
|
|
64
70
|
args: StartMedicalStreamTranscriptionCommandInput,
|
|
65
|
-
options?:
|
|
71
|
+
options?: TranscribeStreamingRequestOptions,
|
|
66
72
|
): Promise<StartMedicalStreamTranscriptionCommandOutput>;
|
|
67
73
|
startMedicalStreamTranscription(
|
|
68
74
|
args: StartMedicalStreamTranscriptionCommandInput,
|
|
@@ -70,12 +76,12 @@ export interface TranscribeStreaming {
|
|
|
70
76
|
): void;
|
|
71
77
|
startMedicalStreamTranscription(
|
|
72
78
|
args: StartMedicalStreamTranscriptionCommandInput,
|
|
73
|
-
options:
|
|
79
|
+
options: TranscribeStreamingRequestOptions,
|
|
74
80
|
cb: (err: any, data?: StartMedicalStreamTranscriptionCommandOutput) => void,
|
|
75
81
|
): void;
|
|
76
82
|
startStreamTranscription(
|
|
77
83
|
args: StartStreamTranscriptionCommandInput,
|
|
78
|
-
options?:
|
|
84
|
+
options?: TranscribeStreamingRequestOptions,
|
|
79
85
|
): Promise<StartStreamTranscriptionCommandOutput>;
|
|
80
86
|
startStreamTranscription(
|
|
81
87
|
args: StartStreamTranscriptionCommandInput,
|
|
@@ -83,7 +89,7 @@ export interface TranscribeStreaming {
|
|
|
83
89
|
): void;
|
|
84
90
|
startStreamTranscription(
|
|
85
91
|
args: StartStreamTranscriptionCommandInput,
|
|
86
|
-
options:
|
|
92
|
+
options: TranscribeStreamingRequestOptions,
|
|
87
93
|
cb: (err: any, data?: StartStreamTranscriptionCommandOutput) => void,
|
|
88
94
|
): void;
|
|
89
95
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-transcribe-streaming",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1138.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Transcribe Streaming Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-transcribe-streaming",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -54,17 +54,17 @@
|
|
|
54
54
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@aws-sdk/core": "^3.978.
|
|
58
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
59
|
-
"@aws-sdk/eventstream-handler-node": "^3.972.
|
|
60
|
-
"@aws-sdk/middleware-eventstream": "^3.972.
|
|
61
|
-
"@aws-sdk/middleware-sdk-transcribe-streaming": "^3.972.
|
|
62
|
-
"@aws-sdk/middleware-websocket": "^3.972.
|
|
63
|
-
"@aws-sdk/types": "^3.974.
|
|
64
|
-
"@smithy/core": "^3.
|
|
65
|
-
"@smithy/fetch-http-handler": "^5.
|
|
66
|
-
"@smithy/node-http-handler": "^4.
|
|
67
|
-
"@smithy/types": "^4.
|
|
57
|
+
"@aws-sdk/core": "^3.978.1",
|
|
58
|
+
"@aws-sdk/credential-provider-node": "^3.972.84",
|
|
59
|
+
"@aws-sdk/eventstream-handler-node": "^3.972.35",
|
|
60
|
+
"@aws-sdk/middleware-eventstream": "^3.972.30",
|
|
61
|
+
"@aws-sdk/middleware-sdk-transcribe-streaming": "^3.972.33",
|
|
62
|
+
"@aws-sdk/middleware-websocket": "^3.972.54",
|
|
63
|
+
"@aws-sdk/types": "^3.974.6",
|
|
64
|
+
"@smithy/core": "^3.35.0",
|
|
65
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
66
|
+
"@smithy/node-http-handler": "^4.12.1",
|
|
67
|
+
"@smithy/types": "^4.19.0",
|
|
68
68
|
"tslib": "^2.6.2"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|