@aws-sdk/client-transcribe-streaming 3.170.0 → 3.178.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 +16 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/TranscribeStreaming.d.ts +0 -2
- package/dist-types/ts3.4/TranscribeStreamingClient.d.ts +0 -27
- package/dist-types/ts3.4/commands/StartMedicalStreamTranscriptionCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/StartStreamTranscriptionCommand.d.ts +0 -2
- package/dist-types/ts3.4/models/TranscribeStreamingServiceException.d.ts +0 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -162
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -1
- package/package.json +32 -32
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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.178.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.177.0...v3.178.0) (2022-09-23)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-transcribe-streaming
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.171.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.170.0...v3.171.0) (2022-09-14)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-transcribe-streaming
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @aws-sdk/client-transcribe-streaming
|
|
@@ -33,7 +33,7 @@ export declare const getRuntimeConfig: (config: TranscribeStreamingClientConfig)
|
|
|
33
33
|
tls?: boolean | undefined;
|
|
34
34
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
35
35
|
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
36
|
-
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").
|
|
36
|
+
signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
|
|
37
37
|
signingEscapePath?: boolean | undefined;
|
|
38
38
|
systemClockOffset?: number | undefined;
|
|
39
39
|
signingRegion?: string | undefined;
|
|
@@ -33,7 +33,7 @@ export declare const getRuntimeConfig: (config: TranscribeStreamingClientConfig)
|
|
|
33
33
|
tls?: boolean | undefined;
|
|
34
34
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
35
35
|
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
36
|
-
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").
|
|
36
|
+
signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
|
|
37
37
|
signingEscapePath?: boolean | undefined;
|
|
38
38
|
systemClockOffset?: number | undefined;
|
|
39
39
|
signingRegion?: string | undefined;
|
|
@@ -33,7 +33,7 @@ export declare const getRuntimeConfig: (config: TranscribeStreamingClientConfig)
|
|
|
33
33
|
tls?: boolean | undefined;
|
|
34
34
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
35
35
|
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
36
|
-
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").
|
|
36
|
+
signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
|
|
37
37
|
signingEscapePath?: boolean | undefined;
|
|
38
38
|
systemClockOffset?: number | undefined;
|
|
39
39
|
signingRegion?: string | undefined;
|
|
@@ -8,7 +8,6 @@ import {
|
|
|
8
8
|
StartStreamTranscriptionCommandOutput,
|
|
9
9
|
} from "./commands/StartStreamTranscriptionCommand";
|
|
10
10
|
import { TranscribeStreamingClient } from "./TranscribeStreamingClient";
|
|
11
|
-
|
|
12
11
|
export declare class TranscribeStreaming extends TranscribeStreamingClient {
|
|
13
12
|
startMedicalStreamTranscription(
|
|
14
13
|
args: StartMedicalStreamTranscriptionCommandInput,
|
|
@@ -23,7 +22,6 @@ export declare class TranscribeStreaming extends TranscribeStreamingClient {
|
|
|
23
22
|
options: __HttpHandlerOptions,
|
|
24
23
|
cb: (err: any, data?: StartMedicalStreamTranscriptionCommandOutput) => void
|
|
25
24
|
): void;
|
|
26
|
-
|
|
27
25
|
startStreamTranscription(
|
|
28
26
|
args: StartStreamTranscriptionCommandInput,
|
|
29
27
|
options?: __HttpHandlerOptions
|
|
@@ -73,51 +73,28 @@ export declare type ServiceOutputTypes =
|
|
|
73
73
|
export interface ClientDefaults
|
|
74
74
|
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
75
75
|
requestHandler?: __HttpHandler;
|
|
76
|
-
|
|
77
76
|
sha256?: __HashConstructor;
|
|
78
|
-
|
|
79
77
|
urlParser?: __UrlParser;
|
|
80
|
-
|
|
81
78
|
bodyLengthChecker?: __BodyLengthCalculator;
|
|
82
|
-
|
|
83
79
|
streamCollector?: __StreamCollector;
|
|
84
|
-
|
|
85
80
|
base64Decoder?: __Decoder;
|
|
86
|
-
|
|
87
81
|
base64Encoder?: __Encoder;
|
|
88
|
-
|
|
89
82
|
utf8Decoder?: __Decoder;
|
|
90
|
-
|
|
91
83
|
utf8Encoder?: __Encoder;
|
|
92
|
-
|
|
93
84
|
runtime?: string;
|
|
94
|
-
|
|
95
85
|
disableHostPrefix?: boolean;
|
|
96
|
-
|
|
97
86
|
maxAttempts?: number | __Provider<number>;
|
|
98
|
-
|
|
99
87
|
retryMode?: string | __Provider<string>;
|
|
100
|
-
|
|
101
88
|
logger?: __Logger;
|
|
102
|
-
|
|
103
89
|
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
104
|
-
|
|
105
90
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
106
|
-
|
|
107
91
|
serviceId?: string;
|
|
108
|
-
|
|
109
92
|
region?: string | __Provider<string>;
|
|
110
|
-
|
|
111
93
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
112
|
-
|
|
113
94
|
regionInfoProvider?: RegionInfoProvider;
|
|
114
|
-
|
|
115
95
|
eventStreamPayloadHandlerProvider?: __EventStreamPayloadHandlerProvider;
|
|
116
|
-
|
|
117
96
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
118
|
-
|
|
119
97
|
eventStreamSerdeProvider?: __EventStreamSerdeProvider;
|
|
120
|
-
|
|
121
98
|
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
122
99
|
}
|
|
123
100
|
declare type TranscribeStreamingClientConfigType = Partial<
|
|
@@ -133,7 +110,6 @@ declare type TranscribeStreamingClientConfigType = Partial<
|
|
|
133
110
|
WebSocketInputConfig &
|
|
134
111
|
UserAgentInputConfig &
|
|
135
112
|
EventStreamSerdeInputConfig;
|
|
136
|
-
|
|
137
113
|
export interface TranscribeStreamingClientConfig
|
|
138
114
|
extends TranscribeStreamingClientConfigType {}
|
|
139
115
|
declare type TranscribeStreamingClientResolvedConfigType =
|
|
@@ -148,10 +124,8 @@ declare type TranscribeStreamingClientResolvedConfigType =
|
|
|
148
124
|
WebSocketResolvedConfig &
|
|
149
125
|
UserAgentResolvedConfig &
|
|
150
126
|
EventStreamSerdeResolvedConfig;
|
|
151
|
-
|
|
152
127
|
export interface TranscribeStreamingClientResolvedConfig
|
|
153
128
|
extends TranscribeStreamingClientResolvedConfigType {}
|
|
154
|
-
|
|
155
129
|
export declare class TranscribeStreamingClient extends __Client<
|
|
156
130
|
__HttpHandlerOptions,
|
|
157
131
|
ServiceInputTypes,
|
|
@@ -160,7 +134,6 @@ export declare class TranscribeStreamingClient extends __Client<
|
|
|
160
134
|
> {
|
|
161
135
|
readonly config: TranscribeStreamingClientResolvedConfig;
|
|
162
136
|
constructor(configuration: TranscribeStreamingClientConfig);
|
|
163
|
-
|
|
164
137
|
destroy(): void;
|
|
165
138
|
}
|
|
166
139
|
export {};
|
|
@@ -19,7 +19,6 @@ export interface StartMedicalStreamTranscriptionCommandInput
|
|
|
19
19
|
export interface StartMedicalStreamTranscriptionCommandOutput
|
|
20
20
|
extends StartMedicalStreamTranscriptionResponse,
|
|
21
21
|
__MetadataBearer {}
|
|
22
|
-
|
|
23
22
|
export declare class StartMedicalStreamTranscriptionCommand extends $Command<
|
|
24
23
|
StartMedicalStreamTranscriptionCommandInput,
|
|
25
24
|
StartMedicalStreamTranscriptionCommandOutput,
|
|
@@ -27,7 +26,6 @@ export declare class StartMedicalStreamTranscriptionCommand extends $Command<
|
|
|
27
26
|
> {
|
|
28
27
|
readonly input: StartMedicalStreamTranscriptionCommandInput;
|
|
29
28
|
constructor(input: StartMedicalStreamTranscriptionCommandInput);
|
|
30
|
-
|
|
31
29
|
resolveMiddleware(
|
|
32
30
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
31
|
configuration: TranscribeStreamingClientResolvedConfig,
|
|
@@ -19,7 +19,6 @@ export interface StartStreamTranscriptionCommandInput
|
|
|
19
19
|
export interface StartStreamTranscriptionCommandOutput
|
|
20
20
|
extends StartStreamTranscriptionResponse,
|
|
21
21
|
__MetadataBearer {}
|
|
22
|
-
|
|
23
22
|
export declare class StartStreamTranscriptionCommand extends $Command<
|
|
24
23
|
StartStreamTranscriptionCommandInput,
|
|
25
24
|
StartStreamTranscriptionCommandOutput,
|
|
@@ -27,7 +26,6 @@ export declare class StartStreamTranscriptionCommand extends $Command<
|
|
|
27
26
|
> {
|
|
28
27
|
readonly input: StartStreamTranscriptionCommandInput;
|
|
29
28
|
constructor(input: StartStreamTranscriptionCommandInput);
|
|
30
|
-
|
|
31
29
|
resolveMiddleware(
|
|
32
30
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
31
|
configuration: TranscribeStreamingClientResolvedConfig,
|
|
@@ -2,7 +2,6 @@ import {
|
|
|
2
2
|
ServiceException as __ServiceException,
|
|
3
3
|
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
4
|
} from "@aws-sdk/smithy-client";
|
|
5
|
-
|
|
6
5
|
export declare class TranscribeStreamingServiceException extends __ServiceException {
|
|
7
6
|
constructor(options: __ServiceExceptionOptions);
|
|
8
7
|
}
|
|
@@ -1,54 +1,35 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { TranscribeStreamingServiceException as __BaseException } from "./TranscribeStreamingServiceException";
|
|
3
|
-
|
|
4
3
|
export interface Entity {
|
|
5
4
|
StartTime?: number;
|
|
6
|
-
|
|
7
5
|
EndTime?: number;
|
|
8
|
-
|
|
9
6
|
Category?: string;
|
|
10
|
-
|
|
11
7
|
Type?: string;
|
|
12
|
-
|
|
13
8
|
Content?: string;
|
|
14
|
-
|
|
15
9
|
Confidence?: number;
|
|
16
10
|
}
|
|
17
11
|
export declare enum ItemType {
|
|
18
12
|
PRONUNCIATION = "pronunciation",
|
|
19
13
|
PUNCTUATION = "punctuation",
|
|
20
14
|
}
|
|
21
|
-
|
|
22
15
|
export interface Item {
|
|
23
16
|
StartTime?: number;
|
|
24
|
-
|
|
25
17
|
EndTime?: number;
|
|
26
|
-
|
|
27
18
|
Type?: ItemType | string;
|
|
28
|
-
|
|
29
19
|
Content?: string;
|
|
30
|
-
|
|
31
20
|
VocabularyFilterMatch?: boolean;
|
|
32
|
-
|
|
33
21
|
Speaker?: string;
|
|
34
|
-
|
|
35
22
|
Confidence?: number;
|
|
36
|
-
|
|
37
23
|
Stable?: boolean;
|
|
38
24
|
}
|
|
39
|
-
|
|
40
25
|
export interface Alternative {
|
|
41
26
|
Transcript?: string;
|
|
42
|
-
|
|
43
27
|
Items?: Item[];
|
|
44
|
-
|
|
45
28
|
Entities?: Entity[];
|
|
46
29
|
}
|
|
47
|
-
|
|
48
30
|
export interface AudioEvent {
|
|
49
31
|
AudioChunk?: Uint8Array;
|
|
50
32
|
}
|
|
51
|
-
|
|
52
33
|
export declare type AudioStream =
|
|
53
34
|
| AudioStream.AudioEventMember
|
|
54
35
|
| AudioStream.$UnknownMember;
|
|
@@ -67,22 +48,18 @@ export declare namespace AudioStream {
|
|
|
67
48
|
}
|
|
68
49
|
const visit: <T>(value: AudioStream, visitor: Visitor<T>) => T;
|
|
69
50
|
}
|
|
70
|
-
|
|
71
51
|
export declare class BadRequestException extends __BaseException {
|
|
72
52
|
readonly name: "BadRequestException";
|
|
73
53
|
readonly $fault: "client";
|
|
74
54
|
Message?: string;
|
|
75
|
-
|
|
76
55
|
constructor(
|
|
77
56
|
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
78
57
|
);
|
|
79
58
|
}
|
|
80
|
-
|
|
81
59
|
export declare class ConflictException extends __BaseException {
|
|
82
60
|
readonly name: "ConflictException";
|
|
83
61
|
readonly $fault: "client";
|
|
84
62
|
Message?: string;
|
|
85
|
-
|
|
86
63
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
87
64
|
}
|
|
88
65
|
export declare enum ContentIdentificationType {
|
|
@@ -91,12 +68,10 @@ export declare enum ContentIdentificationType {
|
|
|
91
68
|
export declare enum ContentRedactionType {
|
|
92
69
|
PII = "PII",
|
|
93
70
|
}
|
|
94
|
-
|
|
95
71
|
export declare class InternalFailureException extends __BaseException {
|
|
96
72
|
readonly name: "InternalFailureException";
|
|
97
73
|
readonly $fault: "server";
|
|
98
74
|
Message?: string;
|
|
99
|
-
|
|
100
75
|
constructor(
|
|
101
76
|
opts: __ExceptionOptionType<InternalFailureException, __BaseException>
|
|
102
77
|
);
|
|
@@ -115,18 +90,14 @@ export declare enum LanguageCode {
|
|
|
115
90
|
PT_BR = "pt-BR",
|
|
116
91
|
ZH_CN = "zh-CN",
|
|
117
92
|
}
|
|
118
|
-
|
|
119
93
|
export interface LanguageWithScore {
|
|
120
94
|
LanguageCode?: LanguageCode | string;
|
|
121
|
-
|
|
122
95
|
Score?: number;
|
|
123
96
|
}
|
|
124
|
-
|
|
125
97
|
export declare class LimitExceededException extends __BaseException {
|
|
126
98
|
readonly name: "LimitExceededException";
|
|
127
99
|
readonly $fault: "client";
|
|
128
100
|
Message?: string;
|
|
129
|
-
|
|
130
101
|
constructor(
|
|
131
102
|
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
132
103
|
);
|
|
@@ -136,76 +107,51 @@ export declare enum MediaEncoding {
|
|
|
136
107
|
OGG_OPUS = "ogg-opus",
|
|
137
108
|
PCM = "pcm",
|
|
138
109
|
}
|
|
139
|
-
|
|
140
110
|
export interface MedicalEntity {
|
|
141
111
|
StartTime?: number;
|
|
142
|
-
|
|
143
112
|
EndTime?: number;
|
|
144
|
-
|
|
145
113
|
Category?: string;
|
|
146
|
-
|
|
147
114
|
Content?: string;
|
|
148
|
-
|
|
149
115
|
Confidence?: number;
|
|
150
116
|
}
|
|
151
|
-
|
|
152
117
|
export interface MedicalItem {
|
|
153
118
|
StartTime?: number;
|
|
154
|
-
|
|
155
119
|
EndTime?: number;
|
|
156
|
-
|
|
157
120
|
Type?: ItemType | string;
|
|
158
|
-
|
|
159
121
|
Content?: string;
|
|
160
|
-
|
|
161
122
|
Confidence?: number;
|
|
162
|
-
|
|
163
123
|
Speaker?: string;
|
|
164
124
|
}
|
|
165
|
-
|
|
166
125
|
export interface MedicalAlternative {
|
|
167
126
|
Transcript?: string;
|
|
168
|
-
|
|
169
127
|
Items?: MedicalItem[];
|
|
170
|
-
|
|
171
128
|
Entities?: MedicalEntity[];
|
|
172
129
|
}
|
|
173
130
|
export declare enum MedicalContentIdentificationType {
|
|
174
131
|
PHI = "PHI",
|
|
175
132
|
}
|
|
176
|
-
|
|
177
133
|
export interface MedicalResult {
|
|
178
134
|
ResultId?: string;
|
|
179
|
-
|
|
180
135
|
StartTime?: number;
|
|
181
|
-
|
|
182
136
|
EndTime?: number;
|
|
183
|
-
|
|
184
137
|
IsPartial?: boolean;
|
|
185
|
-
|
|
186
138
|
Alternatives?: MedicalAlternative[];
|
|
187
|
-
|
|
188
139
|
ChannelId?: string;
|
|
189
140
|
}
|
|
190
|
-
|
|
191
141
|
export interface MedicalTranscript {
|
|
192
142
|
Results?: MedicalResult[];
|
|
193
143
|
}
|
|
194
|
-
|
|
195
144
|
export interface MedicalTranscriptEvent {
|
|
196
145
|
Transcript?: MedicalTranscript;
|
|
197
146
|
}
|
|
198
|
-
|
|
199
147
|
export declare class ServiceUnavailableException extends __BaseException {
|
|
200
148
|
readonly name: "ServiceUnavailableException";
|
|
201
149
|
readonly $fault: "server";
|
|
202
150
|
Message?: string;
|
|
203
|
-
|
|
204
151
|
constructor(
|
|
205
152
|
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
206
153
|
);
|
|
207
154
|
}
|
|
208
|
-
|
|
209
155
|
export declare type MedicalTranscriptResultStream =
|
|
210
156
|
| MedicalTranscriptResultStream.BadRequestExceptionMember
|
|
211
157
|
| MedicalTranscriptResultStream.ConflictExceptionMember
|
|
@@ -224,7 +170,6 @@ export declare namespace MedicalTranscriptResultStream {
|
|
|
224
170
|
ServiceUnavailableException?: never;
|
|
225
171
|
$unknown?: never;
|
|
226
172
|
}
|
|
227
|
-
|
|
228
173
|
interface BadRequestExceptionMember {
|
|
229
174
|
TranscriptEvent?: never;
|
|
230
175
|
BadRequestException: BadRequestException;
|
|
@@ -234,7 +179,6 @@ export declare namespace MedicalTranscriptResultStream {
|
|
|
234
179
|
ServiceUnavailableException?: never;
|
|
235
180
|
$unknown?: never;
|
|
236
181
|
}
|
|
237
|
-
|
|
238
182
|
interface LimitExceededExceptionMember {
|
|
239
183
|
TranscriptEvent?: never;
|
|
240
184
|
BadRequestException?: never;
|
|
@@ -244,7 +188,6 @@ export declare namespace MedicalTranscriptResultStream {
|
|
|
244
188
|
ServiceUnavailableException?: never;
|
|
245
189
|
$unknown?: never;
|
|
246
190
|
}
|
|
247
|
-
|
|
248
191
|
interface InternalFailureExceptionMember {
|
|
249
192
|
TranscriptEvent?: never;
|
|
250
193
|
BadRequestException?: never;
|
|
@@ -254,7 +197,6 @@ export declare namespace MedicalTranscriptResultStream {
|
|
|
254
197
|
ServiceUnavailableException?: never;
|
|
255
198
|
$unknown?: never;
|
|
256
199
|
}
|
|
257
|
-
|
|
258
200
|
interface ConflictExceptionMember {
|
|
259
201
|
TranscriptEvent?: never;
|
|
260
202
|
BadRequestException?: never;
|
|
@@ -264,7 +206,6 @@ export declare namespace MedicalTranscriptResultStream {
|
|
|
264
206
|
ServiceUnavailableException?: never;
|
|
265
207
|
$unknown?: never;
|
|
266
208
|
}
|
|
267
|
-
|
|
268
209
|
interface ServiceUnavailableExceptionMember {
|
|
269
210
|
TranscriptEvent?: never;
|
|
270
211
|
BadRequestException?: never;
|
|
@@ -302,22 +243,14 @@ export declare enum PartialResultsStability {
|
|
|
302
243
|
LOW = "low",
|
|
303
244
|
MEDIUM = "medium",
|
|
304
245
|
}
|
|
305
|
-
|
|
306
246
|
export interface Result {
|
|
307
247
|
ResultId?: string;
|
|
308
|
-
|
|
309
248
|
StartTime?: number;
|
|
310
|
-
|
|
311
249
|
EndTime?: number;
|
|
312
|
-
|
|
313
250
|
IsPartial?: boolean;
|
|
314
|
-
|
|
315
251
|
Alternatives?: Alternative[];
|
|
316
|
-
|
|
317
252
|
ChannelId?: string;
|
|
318
|
-
|
|
319
253
|
LanguageCode?: LanguageCode | string;
|
|
320
|
-
|
|
321
254
|
LanguageIdentification?: LanguageWithScore[];
|
|
322
255
|
}
|
|
323
256
|
export declare enum Specialty {
|
|
@@ -334,54 +267,31 @@ export declare enum Type {
|
|
|
334
267
|
}
|
|
335
268
|
export interface StartMedicalStreamTranscriptionRequest {
|
|
336
269
|
LanguageCode: LanguageCode | string | undefined;
|
|
337
|
-
|
|
338
270
|
MediaSampleRateHertz: number | undefined;
|
|
339
|
-
|
|
340
271
|
MediaEncoding: MediaEncoding | string | undefined;
|
|
341
|
-
|
|
342
272
|
VocabularyName?: string;
|
|
343
|
-
|
|
344
273
|
Specialty: Specialty | string | undefined;
|
|
345
|
-
|
|
346
274
|
Type: Type | string | undefined;
|
|
347
|
-
|
|
348
275
|
ShowSpeakerLabel?: boolean;
|
|
349
|
-
|
|
350
276
|
SessionId?: string;
|
|
351
|
-
|
|
352
277
|
AudioStream: AsyncIterable<AudioStream> | undefined;
|
|
353
|
-
|
|
354
278
|
EnableChannelIdentification?: boolean;
|
|
355
|
-
|
|
356
279
|
NumberOfChannels?: number;
|
|
357
|
-
|
|
358
280
|
ContentIdentificationType?: MedicalContentIdentificationType | string;
|
|
359
281
|
}
|
|
360
282
|
export interface StartMedicalStreamTranscriptionResponse {
|
|
361
283
|
RequestId?: string;
|
|
362
|
-
|
|
363
284
|
LanguageCode?: LanguageCode | string;
|
|
364
|
-
|
|
365
285
|
MediaSampleRateHertz?: number;
|
|
366
|
-
|
|
367
286
|
MediaEncoding?: MediaEncoding | string;
|
|
368
|
-
|
|
369
287
|
VocabularyName?: string;
|
|
370
|
-
|
|
371
288
|
Specialty?: Specialty | string;
|
|
372
|
-
|
|
373
289
|
Type?: Type | string;
|
|
374
|
-
|
|
375
290
|
ShowSpeakerLabel?: boolean;
|
|
376
|
-
|
|
377
291
|
SessionId?: string;
|
|
378
|
-
|
|
379
292
|
TranscriptResultStream?: AsyncIterable<MedicalTranscriptResultStream>;
|
|
380
|
-
|
|
381
293
|
EnableChannelIdentification?: boolean;
|
|
382
|
-
|
|
383
294
|
NumberOfChannels?: number;
|
|
384
|
-
|
|
385
295
|
ContentIdentificationType?: MedicalContentIdentificationType | string;
|
|
386
296
|
}
|
|
387
297
|
export declare enum VocabularyFilterMethod {
|
|
@@ -391,58 +301,34 @@ export declare enum VocabularyFilterMethod {
|
|
|
391
301
|
}
|
|
392
302
|
export interface StartStreamTranscriptionRequest {
|
|
393
303
|
LanguageCode?: LanguageCode | string;
|
|
394
|
-
|
|
395
304
|
MediaSampleRateHertz: number | undefined;
|
|
396
|
-
|
|
397
305
|
MediaEncoding: MediaEncoding | string | undefined;
|
|
398
|
-
|
|
399
306
|
VocabularyName?: string;
|
|
400
|
-
|
|
401
307
|
SessionId?: string;
|
|
402
|
-
|
|
403
308
|
AudioStream: AsyncIterable<AudioStream> | undefined;
|
|
404
|
-
|
|
405
309
|
VocabularyFilterName?: string;
|
|
406
|
-
|
|
407
310
|
VocabularyFilterMethod?: VocabularyFilterMethod | string;
|
|
408
|
-
|
|
409
311
|
ShowSpeakerLabel?: boolean;
|
|
410
|
-
|
|
411
312
|
EnableChannelIdentification?: boolean;
|
|
412
|
-
|
|
413
313
|
NumberOfChannels?: number;
|
|
414
|
-
|
|
415
314
|
EnablePartialResultsStabilization?: boolean;
|
|
416
|
-
|
|
417
315
|
PartialResultsStability?: PartialResultsStability | string;
|
|
418
|
-
|
|
419
316
|
ContentIdentificationType?: ContentIdentificationType | string;
|
|
420
|
-
|
|
421
317
|
ContentRedactionType?: ContentRedactionType | string;
|
|
422
|
-
|
|
423
318
|
PiiEntityTypes?: string;
|
|
424
|
-
|
|
425
319
|
LanguageModelName?: string;
|
|
426
|
-
|
|
427
320
|
IdentifyLanguage?: boolean;
|
|
428
|
-
|
|
429
321
|
LanguageOptions?: string;
|
|
430
|
-
|
|
431
322
|
PreferredLanguage?: LanguageCode | string;
|
|
432
|
-
|
|
433
323
|
VocabularyNames?: string;
|
|
434
|
-
|
|
435
324
|
VocabularyFilterNames?: string;
|
|
436
325
|
}
|
|
437
|
-
|
|
438
326
|
export interface Transcript {
|
|
439
327
|
Results?: Result[];
|
|
440
328
|
}
|
|
441
|
-
|
|
442
329
|
export interface TranscriptEvent {
|
|
443
330
|
Transcript?: Transcript;
|
|
444
331
|
}
|
|
445
|
-
|
|
446
332
|
export declare type TranscriptResultStream =
|
|
447
333
|
| TranscriptResultStream.BadRequestExceptionMember
|
|
448
334
|
| TranscriptResultStream.ConflictExceptionMember
|
|
@@ -461,7 +347,6 @@ export declare namespace TranscriptResultStream {
|
|
|
461
347
|
ServiceUnavailableException?: never;
|
|
462
348
|
$unknown?: never;
|
|
463
349
|
}
|
|
464
|
-
|
|
465
350
|
interface BadRequestExceptionMember {
|
|
466
351
|
TranscriptEvent?: never;
|
|
467
352
|
BadRequestException: BadRequestException;
|
|
@@ -471,7 +356,6 @@ export declare namespace TranscriptResultStream {
|
|
|
471
356
|
ServiceUnavailableException?: never;
|
|
472
357
|
$unknown?: never;
|
|
473
358
|
}
|
|
474
|
-
|
|
475
359
|
interface LimitExceededExceptionMember {
|
|
476
360
|
TranscriptEvent?: never;
|
|
477
361
|
BadRequestException?: never;
|
|
@@ -481,7 +365,6 @@ export declare namespace TranscriptResultStream {
|
|
|
481
365
|
ServiceUnavailableException?: never;
|
|
482
366
|
$unknown?: never;
|
|
483
367
|
}
|
|
484
|
-
|
|
485
368
|
interface InternalFailureExceptionMember {
|
|
486
369
|
TranscriptEvent?: never;
|
|
487
370
|
BadRequestException?: never;
|
|
@@ -491,7 +374,6 @@ export declare namespace TranscriptResultStream {
|
|
|
491
374
|
ServiceUnavailableException?: never;
|
|
492
375
|
$unknown?: never;
|
|
493
376
|
}
|
|
494
|
-
|
|
495
377
|
interface ConflictExceptionMember {
|
|
496
378
|
TranscriptEvent?: never;
|
|
497
379
|
BadRequestException?: never;
|
|
@@ -501,7 +383,6 @@ export declare namespace TranscriptResultStream {
|
|
|
501
383
|
ServiceUnavailableException?: never;
|
|
502
384
|
$unknown?: never;
|
|
503
385
|
}
|
|
504
|
-
|
|
505
386
|
interface ServiceUnavailableExceptionMember {
|
|
506
387
|
TranscriptEvent?: never;
|
|
507
388
|
BadRequestException?: never;
|
|
@@ -533,116 +414,73 @@ export declare namespace TranscriptResultStream {
|
|
|
533
414
|
}
|
|
534
415
|
export interface StartStreamTranscriptionResponse {
|
|
535
416
|
RequestId?: string;
|
|
536
|
-
|
|
537
417
|
LanguageCode?: LanguageCode | string;
|
|
538
|
-
|
|
539
418
|
MediaSampleRateHertz?: number;
|
|
540
|
-
|
|
541
419
|
MediaEncoding?: MediaEncoding | string;
|
|
542
|
-
|
|
543
420
|
VocabularyName?: string;
|
|
544
|
-
|
|
545
421
|
SessionId?: string;
|
|
546
|
-
|
|
547
422
|
TranscriptResultStream?: AsyncIterable<TranscriptResultStream>;
|
|
548
|
-
|
|
549
423
|
VocabularyFilterName?: string;
|
|
550
|
-
|
|
551
424
|
VocabularyFilterMethod?: VocabularyFilterMethod | string;
|
|
552
|
-
|
|
553
425
|
ShowSpeakerLabel?: boolean;
|
|
554
|
-
|
|
555
426
|
EnableChannelIdentification?: boolean;
|
|
556
|
-
|
|
557
427
|
NumberOfChannels?: number;
|
|
558
|
-
|
|
559
428
|
EnablePartialResultsStabilization?: boolean;
|
|
560
|
-
|
|
561
429
|
PartialResultsStability?: PartialResultsStability | string;
|
|
562
|
-
|
|
563
430
|
ContentIdentificationType?: ContentIdentificationType | string;
|
|
564
|
-
|
|
565
431
|
ContentRedactionType?: ContentRedactionType | string;
|
|
566
|
-
|
|
567
432
|
PiiEntityTypes?: string;
|
|
568
|
-
|
|
569
433
|
LanguageModelName?: string;
|
|
570
|
-
|
|
571
434
|
IdentifyLanguage?: boolean;
|
|
572
|
-
|
|
573
435
|
LanguageOptions?: string;
|
|
574
|
-
|
|
575
436
|
PreferredLanguage?: LanguageCode | string;
|
|
576
|
-
|
|
577
437
|
VocabularyNames?: string;
|
|
578
|
-
|
|
579
438
|
VocabularyFilterNames?: string;
|
|
580
439
|
}
|
|
581
|
-
|
|
582
440
|
export declare const EntityFilterSensitiveLog: (obj: Entity) => any;
|
|
583
|
-
|
|
584
441
|
export declare const ItemFilterSensitiveLog: (obj: Item) => any;
|
|
585
|
-
|
|
586
442
|
export declare const AlternativeFilterSensitiveLog: (obj: Alternative) => any;
|
|
587
|
-
|
|
588
443
|
export declare const AudioEventFilterSensitiveLog: (obj: AudioEvent) => any;
|
|
589
|
-
|
|
590
444
|
export declare const AudioStreamFilterSensitiveLog: (obj: AudioStream) => any;
|
|
591
|
-
|
|
592
445
|
export declare const LanguageWithScoreFilterSensitiveLog: (
|
|
593
446
|
obj: LanguageWithScore
|
|
594
447
|
) => any;
|
|
595
|
-
|
|
596
448
|
export declare const MedicalEntityFilterSensitiveLog: (
|
|
597
449
|
obj: MedicalEntity
|
|
598
450
|
) => any;
|
|
599
|
-
|
|
600
451
|
export declare const MedicalItemFilterSensitiveLog: (obj: MedicalItem) => any;
|
|
601
|
-
|
|
602
452
|
export declare const MedicalAlternativeFilterSensitiveLog: (
|
|
603
453
|
obj: MedicalAlternative
|
|
604
454
|
) => any;
|
|
605
|
-
|
|
606
455
|
export declare const MedicalResultFilterSensitiveLog: (
|
|
607
456
|
obj: MedicalResult
|
|
608
457
|
) => any;
|
|
609
|
-
|
|
610
458
|
export declare const MedicalTranscriptFilterSensitiveLog: (
|
|
611
459
|
obj: MedicalTranscript
|
|
612
460
|
) => any;
|
|
613
|
-
|
|
614
461
|
export declare const MedicalTranscriptEventFilterSensitiveLog: (
|
|
615
462
|
obj: MedicalTranscriptEvent
|
|
616
463
|
) => any;
|
|
617
|
-
|
|
618
464
|
export declare const MedicalTranscriptResultStreamFilterSensitiveLog: (
|
|
619
465
|
obj: MedicalTranscriptResultStream
|
|
620
466
|
) => any;
|
|
621
|
-
|
|
622
467
|
export declare const ResultFilterSensitiveLog: (obj: Result) => any;
|
|
623
|
-
|
|
624
468
|
export declare const StartMedicalStreamTranscriptionRequestFilterSensitiveLog: (
|
|
625
469
|
obj: StartMedicalStreamTranscriptionRequest
|
|
626
470
|
) => any;
|
|
627
|
-
|
|
628
471
|
export declare const StartMedicalStreamTranscriptionResponseFilterSensitiveLog: (
|
|
629
472
|
obj: StartMedicalStreamTranscriptionResponse
|
|
630
473
|
) => any;
|
|
631
|
-
|
|
632
474
|
export declare const StartStreamTranscriptionRequestFilterSensitiveLog: (
|
|
633
475
|
obj: StartStreamTranscriptionRequest
|
|
634
476
|
) => any;
|
|
635
|
-
|
|
636
477
|
export declare const TranscriptFilterSensitiveLog: (obj: Transcript) => any;
|
|
637
|
-
|
|
638
478
|
export declare const TranscriptEventFilterSensitiveLog: (
|
|
639
479
|
obj: TranscriptEvent
|
|
640
480
|
) => any;
|
|
641
|
-
|
|
642
481
|
export declare const TranscriptResultStreamFilterSensitiveLog: (
|
|
643
482
|
obj: TranscriptResultStream
|
|
644
483
|
) => any;
|
|
645
|
-
|
|
646
484
|
export declare const StartStreamTranscriptionResponseFilterSensitiveLog: (
|
|
647
485
|
obj: StartStreamTranscriptionResponse
|
|
648
486
|
) => any;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { WebSocketHandler } from "@aws-sdk/middleware-sdk-transcribe-streaming";
|
|
2
2
|
import { TranscribeStreamingClientConfig } from "./TranscribeStreamingClient";
|
|
3
|
-
|
|
4
3
|
export declare const getRuntimeConfig: (
|
|
5
4
|
config: TranscribeStreamingClientConfig
|
|
6
5
|
) => {
|
|
@@ -55,7 +54,9 @@ export declare const getRuntimeConfig: (
|
|
|
55
54
|
| undefined;
|
|
56
55
|
signer?:
|
|
57
56
|
| import("@aws-sdk/types").RequestSigner
|
|
58
|
-
|
|
|
57
|
+
| ((
|
|
58
|
+
authScheme?: import("@aws-sdk/types").AuthScheme | undefined
|
|
59
|
+
) => Promise<import("@aws-sdk/types").RequestSigner>)
|
|
59
60
|
| undefined;
|
|
60
61
|
signingEscapePath?: boolean | undefined;
|
|
61
62
|
systemClockOffset?: number | undefined;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { NodeHttp2Handler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { TranscribeStreamingClientConfig } from "./TranscribeStreamingClient";
|
|
3
|
-
|
|
4
3
|
export declare const getRuntimeConfig: (
|
|
5
4
|
config: TranscribeStreamingClientConfig
|
|
6
5
|
) => {
|
|
@@ -55,7 +54,9 @@ export declare const getRuntimeConfig: (
|
|
|
55
54
|
| undefined;
|
|
56
55
|
signer?:
|
|
57
56
|
| import("@aws-sdk/types").RequestSigner
|
|
58
|
-
|
|
|
57
|
+
| ((
|
|
58
|
+
authScheme?: import("@aws-sdk/types").AuthScheme | undefined
|
|
59
|
+
) => Promise<import("@aws-sdk/types").RequestSigner>)
|
|
59
60
|
| undefined;
|
|
60
61
|
signingEscapePath?: boolean | undefined;
|
|
61
62
|
systemClockOffset?: number | undefined;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { WebSocketHandler } from "@aws-sdk/middleware-sdk-transcribe-streaming";
|
|
2
2
|
import { TranscribeStreamingClientConfig } from "./TranscribeStreamingClient";
|
|
3
|
-
|
|
4
3
|
export declare const getRuntimeConfig: (
|
|
5
4
|
config: TranscribeStreamingClientConfig
|
|
6
5
|
) => {
|
|
@@ -57,7 +56,9 @@ export declare const getRuntimeConfig: (
|
|
|
57
56
|
| undefined;
|
|
58
57
|
signer?:
|
|
59
58
|
| import("@aws-sdk/types").RequestSigner
|
|
60
|
-
|
|
|
59
|
+
| ((
|
|
60
|
+
authScheme?: import("@aws-sdk/types").AuthScheme | undefined
|
|
61
|
+
) => Promise<import("@aws-sdk/types").RequestSigner>)
|
|
61
62
|
| undefined;
|
|
62
63
|
signingEscapePath?: boolean | undefined;
|
|
63
64
|
systemClockOffset?: number | undefined;
|
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.178.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",
|
|
@@ -20,41 +20,41 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/eventstream-handler-node": "3.
|
|
27
|
-
"@aws-sdk/eventstream-serde-browser": "3.
|
|
28
|
-
"@aws-sdk/eventstream-serde-config-resolver": "3.
|
|
29
|
-
"@aws-sdk/eventstream-serde-node": "3.
|
|
30
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
31
|
-
"@aws-sdk/hash-node": "3.
|
|
32
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
33
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
34
|
-
"@aws-sdk/middleware-eventstream": "3.
|
|
35
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
36
|
-
"@aws-sdk/middleware-logger": "3.
|
|
37
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
38
|
-
"@aws-sdk/middleware-retry": "3.
|
|
39
|
-
"@aws-sdk/middleware-sdk-transcribe-streaming": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.178.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.178.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.178.0",
|
|
26
|
+
"@aws-sdk/eventstream-handler-node": "3.178.0",
|
|
27
|
+
"@aws-sdk/eventstream-serde-browser": "3.178.0",
|
|
28
|
+
"@aws-sdk/eventstream-serde-config-resolver": "3.178.0",
|
|
29
|
+
"@aws-sdk/eventstream-serde-node": "3.178.0",
|
|
30
|
+
"@aws-sdk/fetch-http-handler": "3.178.0",
|
|
31
|
+
"@aws-sdk/hash-node": "3.178.0",
|
|
32
|
+
"@aws-sdk/invalid-dependency": "3.178.0",
|
|
33
|
+
"@aws-sdk/middleware-content-length": "3.178.0",
|
|
34
|
+
"@aws-sdk/middleware-eventstream": "3.178.0",
|
|
35
|
+
"@aws-sdk/middleware-host-header": "3.178.0",
|
|
36
|
+
"@aws-sdk/middleware-logger": "3.178.0",
|
|
37
|
+
"@aws-sdk/middleware-recursion-detection": "3.178.0",
|
|
38
|
+
"@aws-sdk/middleware-retry": "3.178.0",
|
|
39
|
+
"@aws-sdk/middleware-sdk-transcribe-streaming": "3.178.0",
|
|
40
|
+
"@aws-sdk/middleware-serde": "3.178.0",
|
|
41
|
+
"@aws-sdk/middleware-signing": "3.178.0",
|
|
42
|
+
"@aws-sdk/middleware-stack": "3.178.0",
|
|
43
|
+
"@aws-sdk/middleware-user-agent": "3.178.0",
|
|
44
|
+
"@aws-sdk/node-config-provider": "3.178.0",
|
|
45
|
+
"@aws-sdk/node-http-handler": "3.178.0",
|
|
46
|
+
"@aws-sdk/protocol-http": "3.178.0",
|
|
47
|
+
"@aws-sdk/smithy-client": "3.178.0",
|
|
48
|
+
"@aws-sdk/types": "3.178.0",
|
|
49
|
+
"@aws-sdk/url-parser": "3.178.0",
|
|
50
50
|
"@aws-sdk/util-base64-browser": "3.170.0",
|
|
51
51
|
"@aws-sdk/util-base64-node": "3.170.0",
|
|
52
52
|
"@aws-sdk/util-body-length-browser": "3.170.0",
|
|
53
53
|
"@aws-sdk/util-body-length-node": "3.170.0",
|
|
54
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
55
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
56
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
57
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-defaults-mode-browser": "3.178.0",
|
|
55
|
+
"@aws-sdk/util-defaults-mode-node": "3.178.0",
|
|
56
|
+
"@aws-sdk/util-user-agent-browser": "3.178.0",
|
|
57
|
+
"@aws-sdk/util-user-agent-node": "3.178.0",
|
|
58
58
|
"@aws-sdk/util-utf8-browser": "3.170.0",
|
|
59
59
|
"@aws-sdk/util-utf8-node": "3.170.0",
|
|
60
60
|
"tslib": "^2.3.1"
|