@aws-sdk/client-transcribe-streaming 3.721.0 → 3.726.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 +64 -44
- package/dist-es/TranscribeStreamingClient.js +1 -0
- package/dist-es/models/models_0.js +15 -10
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +50 -50
package/dist-cjs/index.js
CHANGED
|
@@ -163,7 +163,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
|
|
|
163
163
|
}, "resolveRuntimeExtensions");
|
|
164
164
|
|
|
165
165
|
// src/TranscribeStreamingClient.ts
|
|
166
|
-
var
|
|
166
|
+
var TranscribeStreamingClient = class extends import_smithy_client.Client {
|
|
167
|
+
static {
|
|
168
|
+
__name(this, "TranscribeStreamingClient");
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* The resolved configuration of TranscribeStreamingClient class. This is resolved and normalized from the {@link TranscribeStreamingClientConfig | constructor configuration interface}.
|
|
172
|
+
*/
|
|
173
|
+
config;
|
|
167
174
|
constructor(...[configuration]) {
|
|
168
175
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
169
176
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -176,7 +183,7 @@ var _TranscribeStreamingClient = class _TranscribeStreamingClient extends import
|
|
|
176
183
|
const _config_8 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_7);
|
|
177
184
|
const _config_9 = (0, import_middleware_eventstream.resolveEventStreamConfig)(_config_8);
|
|
178
185
|
const _config_10 = (0, import_middleware_websocket.resolveWebSocketConfig)(_config_9);
|
|
179
|
-
const _config_11 = resolveRuntimeExtensions(_config_10,
|
|
186
|
+
const _config_11 = resolveRuntimeExtensions(_config_10, configuration?.extensions || []);
|
|
180
187
|
super(_config_11);
|
|
181
188
|
this.config = _config_11;
|
|
182
189
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
@@ -204,8 +211,6 @@ var _TranscribeStreamingClient = class _TranscribeStreamingClient extends import
|
|
|
204
211
|
super.destroy();
|
|
205
212
|
}
|
|
206
213
|
};
|
|
207
|
-
__name(_TranscribeStreamingClient, "TranscribeStreamingClient");
|
|
208
|
-
var TranscribeStreamingClient = _TranscribeStreamingClient;
|
|
209
214
|
|
|
210
215
|
// src/TranscribeStreaming.ts
|
|
211
216
|
|
|
@@ -220,7 +225,10 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
220
225
|
|
|
221
226
|
// src/models/TranscribeStreamingServiceException.ts
|
|
222
227
|
|
|
223
|
-
var
|
|
228
|
+
var TranscribeStreamingServiceException = class _TranscribeStreamingServiceException extends import_smithy_client.ServiceException {
|
|
229
|
+
static {
|
|
230
|
+
__name(this, "TranscribeStreamingServiceException");
|
|
231
|
+
}
|
|
224
232
|
/**
|
|
225
233
|
* @internal
|
|
226
234
|
*/
|
|
@@ -229,8 +237,6 @@ var _TranscribeStreamingServiceException = class _TranscribeStreamingServiceExce
|
|
|
229
237
|
Object.setPrototypeOf(this, _TranscribeStreamingServiceException.prototype);
|
|
230
238
|
}
|
|
231
239
|
};
|
|
232
|
-
__name(_TranscribeStreamingServiceException, "TranscribeStreamingServiceException");
|
|
233
|
-
var TranscribeStreamingServiceException = _TranscribeStreamingServiceException;
|
|
234
240
|
|
|
235
241
|
// src/models/models_0.ts
|
|
236
242
|
var ItemType = {
|
|
@@ -255,7 +261,13 @@ var AudioStream;
|
|
|
255
261
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
256
262
|
}, "visit");
|
|
257
263
|
})(AudioStream || (AudioStream = {}));
|
|
258
|
-
var
|
|
264
|
+
var BadRequestException = class _BadRequestException extends TranscribeStreamingServiceException {
|
|
265
|
+
static {
|
|
266
|
+
__name(this, "BadRequestException");
|
|
267
|
+
}
|
|
268
|
+
name = "BadRequestException";
|
|
269
|
+
$fault = "client";
|
|
270
|
+
Message;
|
|
259
271
|
/**
|
|
260
272
|
* @internal
|
|
261
273
|
*/
|
|
@@ -265,14 +277,10 @@ var _BadRequestException = class _BadRequestException extends TranscribeStreamin
|
|
|
265
277
|
$fault: "client",
|
|
266
278
|
...opts
|
|
267
279
|
});
|
|
268
|
-
this.name = "BadRequestException";
|
|
269
|
-
this.$fault = "client";
|
|
270
280
|
Object.setPrototypeOf(this, _BadRequestException.prototype);
|
|
271
281
|
this.Message = opts.Message;
|
|
272
282
|
}
|
|
273
283
|
};
|
|
274
|
-
__name(_BadRequestException, "BadRequestException");
|
|
275
|
-
var BadRequestException = _BadRequestException;
|
|
276
284
|
var CallAnalyticsLanguageCode = {
|
|
277
285
|
DE_DE: "de-DE",
|
|
278
286
|
EN_AU: "en-AU",
|
|
@@ -284,7 +292,13 @@ var CallAnalyticsLanguageCode = {
|
|
|
284
292
|
IT_IT: "it-IT",
|
|
285
293
|
PT_BR: "pt-BR"
|
|
286
294
|
};
|
|
287
|
-
var
|
|
295
|
+
var ConflictException = class _ConflictException extends TranscribeStreamingServiceException {
|
|
296
|
+
static {
|
|
297
|
+
__name(this, "ConflictException");
|
|
298
|
+
}
|
|
299
|
+
name = "ConflictException";
|
|
300
|
+
$fault = "client";
|
|
301
|
+
Message;
|
|
288
302
|
/**
|
|
289
303
|
* @internal
|
|
290
304
|
*/
|
|
@@ -294,15 +308,17 @@ var _ConflictException = class _ConflictException extends TranscribeStreamingSer
|
|
|
294
308
|
$fault: "client",
|
|
295
309
|
...opts
|
|
296
310
|
});
|
|
297
|
-
this.name = "ConflictException";
|
|
298
|
-
this.$fault = "client";
|
|
299
311
|
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
300
312
|
this.Message = opts.Message;
|
|
301
313
|
}
|
|
302
314
|
};
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
315
|
+
var InternalFailureException = class _InternalFailureException extends TranscribeStreamingServiceException {
|
|
316
|
+
static {
|
|
317
|
+
__name(this, "InternalFailureException");
|
|
318
|
+
}
|
|
319
|
+
name = "InternalFailureException";
|
|
320
|
+
$fault = "server";
|
|
321
|
+
Message;
|
|
306
322
|
/**
|
|
307
323
|
* @internal
|
|
308
324
|
*/
|
|
@@ -312,15 +328,17 @@ var _InternalFailureException = class _InternalFailureException extends Transcri
|
|
|
312
328
|
$fault: "server",
|
|
313
329
|
...opts
|
|
314
330
|
});
|
|
315
|
-
this.name = "InternalFailureException";
|
|
316
|
-
this.$fault = "server";
|
|
317
331
|
Object.setPrototypeOf(this, _InternalFailureException.prototype);
|
|
318
332
|
this.Message = opts.Message;
|
|
319
333
|
}
|
|
320
334
|
};
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
335
|
+
var LimitExceededException = class _LimitExceededException extends TranscribeStreamingServiceException {
|
|
336
|
+
static {
|
|
337
|
+
__name(this, "LimitExceededException");
|
|
338
|
+
}
|
|
339
|
+
name = "LimitExceededException";
|
|
340
|
+
$fault = "client";
|
|
341
|
+
Message;
|
|
324
342
|
/**
|
|
325
343
|
* @internal
|
|
326
344
|
*/
|
|
@@ -330,15 +348,17 @@ var _LimitExceededException = class _LimitExceededException extends TranscribeSt
|
|
|
330
348
|
$fault: "client",
|
|
331
349
|
...opts
|
|
332
350
|
});
|
|
333
|
-
this.name = "LimitExceededException";
|
|
334
|
-
this.$fault = "client";
|
|
335
351
|
Object.setPrototypeOf(this, _LimitExceededException.prototype);
|
|
336
352
|
this.Message = opts.Message;
|
|
337
353
|
}
|
|
338
354
|
};
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
355
|
+
var ServiceUnavailableException = class _ServiceUnavailableException extends TranscribeStreamingServiceException {
|
|
356
|
+
static {
|
|
357
|
+
__name(this, "ServiceUnavailableException");
|
|
358
|
+
}
|
|
359
|
+
name = "ServiceUnavailableException";
|
|
360
|
+
$fault = "server";
|
|
361
|
+
Message;
|
|
342
362
|
/**
|
|
343
363
|
* @internal
|
|
344
364
|
*/
|
|
@@ -348,14 +368,10 @@ var _ServiceUnavailableException = class _ServiceUnavailableException extends Tr
|
|
|
348
368
|
$fault: "server",
|
|
349
369
|
...opts
|
|
350
370
|
});
|
|
351
|
-
this.name = "ServiceUnavailableException";
|
|
352
|
-
this.$fault = "server";
|
|
353
371
|
Object.setPrototypeOf(this, _ServiceUnavailableException.prototype);
|
|
354
372
|
this.Message = opts.Message;
|
|
355
373
|
}
|
|
356
374
|
};
|
|
357
|
-
__name(_ServiceUnavailableException, "ServiceUnavailableException");
|
|
358
|
-
var ServiceUnavailableException = _ServiceUnavailableException;
|
|
359
375
|
var Sentiment = {
|
|
360
376
|
MIXED: "MIXED",
|
|
361
377
|
NEGATIVE: "NEGATIVE",
|
|
@@ -1332,7 +1348,7 @@ var _xatvn = "x-amzn-transcribe-vocabulary-name";
|
|
|
1332
1348
|
var _xatvn_ = "x-amzn-transcribe-vocabulary-names";
|
|
1333
1349
|
|
|
1334
1350
|
// src/commands/StartCallAnalyticsStreamTranscriptionCommand.ts
|
|
1335
|
-
var
|
|
1351
|
+
var StartCallAnalyticsStreamTranscriptionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1336
1352
|
return [
|
|
1337
1353
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1338
1354
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1354,9 +1370,10 @@ var _StartCallAnalyticsStreamTranscriptionCommand = class _StartCallAnalyticsStr
|
|
|
1354
1370
|
StartCallAnalyticsStreamTranscriptionRequestFilterSensitiveLog,
|
|
1355
1371
|
StartCallAnalyticsStreamTranscriptionResponseFilterSensitiveLog
|
|
1356
1372
|
).ser(se_StartCallAnalyticsStreamTranscriptionCommand).de(de_StartCallAnalyticsStreamTranscriptionCommand).build() {
|
|
1373
|
+
static {
|
|
1374
|
+
__name(this, "StartCallAnalyticsStreamTranscriptionCommand");
|
|
1375
|
+
}
|
|
1357
1376
|
};
|
|
1358
|
-
__name(_StartCallAnalyticsStreamTranscriptionCommand, "StartCallAnalyticsStreamTranscriptionCommand");
|
|
1359
|
-
var StartCallAnalyticsStreamTranscriptionCommand = _StartCallAnalyticsStreamTranscriptionCommand;
|
|
1360
1377
|
|
|
1361
1378
|
// src/commands/StartMedicalStreamTranscriptionCommand.ts
|
|
1362
1379
|
|
|
@@ -1365,7 +1382,7 @@ var StartCallAnalyticsStreamTranscriptionCommand = _StartCallAnalyticsStreamTran
|
|
|
1365
1382
|
|
|
1366
1383
|
|
|
1367
1384
|
|
|
1368
|
-
var
|
|
1385
|
+
var StartMedicalStreamTranscriptionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1369
1386
|
return [
|
|
1370
1387
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1371
1388
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1387,9 +1404,10 @@ var _StartMedicalStreamTranscriptionCommand = class _StartMedicalStreamTranscrip
|
|
|
1387
1404
|
StartMedicalStreamTranscriptionRequestFilterSensitiveLog,
|
|
1388
1405
|
StartMedicalStreamTranscriptionResponseFilterSensitiveLog
|
|
1389
1406
|
).ser(se_StartMedicalStreamTranscriptionCommand).de(de_StartMedicalStreamTranscriptionCommand).build() {
|
|
1407
|
+
static {
|
|
1408
|
+
__name(this, "StartMedicalStreamTranscriptionCommand");
|
|
1409
|
+
}
|
|
1390
1410
|
};
|
|
1391
|
-
__name(_StartMedicalStreamTranscriptionCommand, "StartMedicalStreamTranscriptionCommand");
|
|
1392
|
-
var StartMedicalStreamTranscriptionCommand = _StartMedicalStreamTranscriptionCommand;
|
|
1393
1411
|
|
|
1394
1412
|
// src/commands/StartStreamTranscriptionCommand.ts
|
|
1395
1413
|
|
|
@@ -1398,7 +1416,7 @@ var StartMedicalStreamTranscriptionCommand = _StartMedicalStreamTranscriptionCom
|
|
|
1398
1416
|
|
|
1399
1417
|
|
|
1400
1418
|
|
|
1401
|
-
var
|
|
1419
|
+
var StartStreamTranscriptionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1402
1420
|
return [
|
|
1403
1421
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1404
1422
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
@@ -1417,9 +1435,10 @@ var _StartStreamTranscriptionCommand = class _StartStreamTranscriptionCommand ex
|
|
|
1417
1435
|
output: true
|
|
1418
1436
|
}
|
|
1419
1437
|
}).n("TranscribeStreamingClient", "StartStreamTranscriptionCommand").f(StartStreamTranscriptionRequestFilterSensitiveLog, StartStreamTranscriptionResponseFilterSensitiveLog).ser(se_StartStreamTranscriptionCommand).de(de_StartStreamTranscriptionCommand).build() {
|
|
1438
|
+
static {
|
|
1439
|
+
__name(this, "StartStreamTranscriptionCommand");
|
|
1440
|
+
}
|
|
1420
1441
|
};
|
|
1421
|
-
__name(_StartStreamTranscriptionCommand, "StartStreamTranscriptionCommand");
|
|
1422
|
-
var StartStreamTranscriptionCommand = _StartStreamTranscriptionCommand;
|
|
1423
1442
|
|
|
1424
1443
|
// src/TranscribeStreaming.ts
|
|
1425
1444
|
var commands = {
|
|
@@ -1427,10 +1446,11 @@ var commands = {
|
|
|
1427
1446
|
StartMedicalStreamTranscriptionCommand,
|
|
1428
1447
|
StartStreamTranscriptionCommand
|
|
1429
1448
|
};
|
|
1430
|
-
var
|
|
1449
|
+
var TranscribeStreaming = class extends TranscribeStreamingClient {
|
|
1450
|
+
static {
|
|
1451
|
+
__name(this, "TranscribeStreaming");
|
|
1452
|
+
}
|
|
1431
1453
|
};
|
|
1432
|
-
__name(_TranscribeStreaming, "TranscribeStreaming");
|
|
1433
|
-
var TranscribeStreaming = _TranscribeStreaming;
|
|
1434
1454
|
(0, import_smithy_client.createAggregatedClient)(commands, TranscribeStreaming);
|
|
1435
1455
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1436
1456
|
|
|
@@ -17,6 +17,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
17
17
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
18
18
|
export { __Client };
|
|
19
19
|
export class TranscribeStreamingClient extends __Client {
|
|
20
|
+
config;
|
|
20
21
|
constructor(...[configuration]) {
|
|
21
22
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
22
23
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -22,14 +22,15 @@ export var AudioStream;
|
|
|
22
22
|
};
|
|
23
23
|
})(AudioStream || (AudioStream = {}));
|
|
24
24
|
export class BadRequestException extends __BaseException {
|
|
25
|
+
name = "BadRequestException";
|
|
26
|
+
$fault = "client";
|
|
27
|
+
Message;
|
|
25
28
|
constructor(opts) {
|
|
26
29
|
super({
|
|
27
30
|
name: "BadRequestException",
|
|
28
31
|
$fault: "client",
|
|
29
32
|
...opts,
|
|
30
33
|
});
|
|
31
|
-
this.name = "BadRequestException";
|
|
32
|
-
this.$fault = "client";
|
|
33
34
|
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
34
35
|
this.Message = opts.Message;
|
|
35
36
|
}
|
|
@@ -46,53 +47,57 @@ export const CallAnalyticsLanguageCode = {
|
|
|
46
47
|
PT_BR: "pt-BR",
|
|
47
48
|
};
|
|
48
49
|
export class ConflictException extends __BaseException {
|
|
50
|
+
name = "ConflictException";
|
|
51
|
+
$fault = "client";
|
|
52
|
+
Message;
|
|
49
53
|
constructor(opts) {
|
|
50
54
|
super({
|
|
51
55
|
name: "ConflictException",
|
|
52
56
|
$fault: "client",
|
|
53
57
|
...opts,
|
|
54
58
|
});
|
|
55
|
-
this.name = "ConflictException";
|
|
56
|
-
this.$fault = "client";
|
|
57
59
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
58
60
|
this.Message = opts.Message;
|
|
59
61
|
}
|
|
60
62
|
}
|
|
61
63
|
export class InternalFailureException extends __BaseException {
|
|
64
|
+
name = "InternalFailureException";
|
|
65
|
+
$fault = "server";
|
|
66
|
+
Message;
|
|
62
67
|
constructor(opts) {
|
|
63
68
|
super({
|
|
64
69
|
name: "InternalFailureException",
|
|
65
70
|
$fault: "server",
|
|
66
71
|
...opts,
|
|
67
72
|
});
|
|
68
|
-
this.name = "InternalFailureException";
|
|
69
|
-
this.$fault = "server";
|
|
70
73
|
Object.setPrototypeOf(this, InternalFailureException.prototype);
|
|
71
74
|
this.Message = opts.Message;
|
|
72
75
|
}
|
|
73
76
|
}
|
|
74
77
|
export class LimitExceededException extends __BaseException {
|
|
78
|
+
name = "LimitExceededException";
|
|
79
|
+
$fault = "client";
|
|
80
|
+
Message;
|
|
75
81
|
constructor(opts) {
|
|
76
82
|
super({
|
|
77
83
|
name: "LimitExceededException",
|
|
78
84
|
$fault: "client",
|
|
79
85
|
...opts,
|
|
80
86
|
});
|
|
81
|
-
this.name = "LimitExceededException";
|
|
82
|
-
this.$fault = "client";
|
|
83
87
|
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
84
88
|
this.Message = opts.Message;
|
|
85
89
|
}
|
|
86
90
|
}
|
|
87
91
|
export class ServiceUnavailableException extends __BaseException {
|
|
92
|
+
name = "ServiceUnavailableException";
|
|
93
|
+
$fault = "server";
|
|
94
|
+
Message;
|
|
88
95
|
constructor(opts) {
|
|
89
96
|
super({
|
|
90
97
|
name: "ServiceUnavailableException",
|
|
91
98
|
$fault: "server",
|
|
92
99
|
...opts,
|
|
93
100
|
});
|
|
94
|
-
this.name = "ServiceUnavailableException";
|
|
95
|
-
this.$fault = "server";
|
|
96
101
|
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
97
102
|
this.Message = opts.Message;
|
|
98
103
|
}
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: TranscribeStreamingClientConfig)
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
|
|
13
13
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: TranscribeStreamingClientConfig)
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
|
|
13
13
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
@@ -26,7 +26,7 @@ export declare const getRuntimeConfig: (config: TranscribeStreamingClientConfig)
|
|
|
26
26
|
region: string | import("@smithy/types").Provider<any>;
|
|
27
27
|
profile?: string | undefined;
|
|
28
28
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
29
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
29
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
30
30
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
31
31
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
32
32
|
logger: import("@smithy/types").Logger;
|
|
@@ -36,7 +36,7 @@ export declare const getRuntimeConfig: (config: TranscribeStreamingClientConfig)
|
|
|
36
36
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
37
37
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
38
38
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
39
|
-
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
39
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
40
40
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
41
41
|
logger?: import("@smithy/types").Logger | undefined;
|
|
42
42
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -8,9 +8,11 @@ export declare const getRuntimeConfig: (
|
|
|
8
8
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
-
credentialDefaultProvider:
|
|
12
|
-
input: any
|
|
13
|
-
|
|
11
|
+
credentialDefaultProvider:
|
|
12
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
+
| ((
|
|
14
|
+
_: unknown
|
|
15
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
16
|
defaultUserAgentProvider: (
|
|
15
17
|
config?:
|
|
16
18
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -8,13 +8,15 @@ export declare const getRuntimeConfig: (
|
|
|
8
8
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
-
credentialDefaultProvider:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
credentialDefaultProvider:
|
|
12
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
+
| ((
|
|
14
|
+
init?:
|
|
15
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
16
|
+
| undefined
|
|
17
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
18
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
19
|
+
>);
|
|
18
20
|
defaultUserAgentProvider: (
|
|
19
21
|
config?:
|
|
20
22
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -43,9 +43,11 @@ export declare const getRuntimeConfig: (
|
|
|
43
43
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
44
44
|
| undefined
|
|
45
45
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
46
|
-
credentialDefaultProvider:
|
|
47
|
-
input: any
|
|
48
|
-
|
|
46
|
+
credentialDefaultProvider:
|
|
47
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
48
|
+
| ((
|
|
49
|
+
_: unknown
|
|
50
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
49
51
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
50
52
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
51
53
|
logger: import("@smithy/types").Logger;
|
|
@@ -66,11 +68,21 @@ export declare const getRuntimeConfig: (
|
|
|
66
68
|
| import("@smithy/types").RetryStrategyV2
|
|
67
69
|
| undefined;
|
|
68
70
|
endpoint?:
|
|
69
|
-
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
| ((
|
|
72
|
+
| string
|
|
73
|
+
| import("@smithy/types").Endpoint
|
|
74
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
75
|
+
| import("@smithy/types").EndpointV2
|
|
76
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
77
|
+
) &
|
|
78
|
+
(
|
|
79
|
+
| string
|
|
80
|
+
| import("@smithy/types").Provider<string>
|
|
81
|
+
| import("@smithy/types").Endpoint
|
|
82
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
83
|
+
| import("@smithy/types").EndpointV2
|
|
84
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
85
|
+
))
|
|
74
86
|
| undefined;
|
|
75
87
|
endpointProvider: (
|
|
76
88
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
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.726.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-transcribe-streaming",
|
|
@@ -22,63 +22,63 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
25
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
26
|
-
"@aws-sdk/client-sts": "3.
|
|
27
|
-
"@aws-sdk/core": "3.
|
|
28
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
29
|
-
"@aws-sdk/eventstream-handler-node": "3.
|
|
30
|
-
"@aws-sdk/middleware-eventstream": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-sdk-transcribe-streaming": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/middleware-websocket": "3.
|
|
37
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
38
|
-
"@aws-sdk/types": "3.
|
|
39
|
-
"@aws-sdk/util-endpoints": "3.
|
|
40
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
41
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
42
|
-
"@smithy/config-resolver": "^
|
|
43
|
-
"@smithy/core": "^
|
|
44
|
-
"@smithy/eventstream-serde-browser": "^
|
|
45
|
-
"@smithy/eventstream-serde-config-resolver": "^
|
|
46
|
-
"@smithy/eventstream-serde-node": "^
|
|
47
|
-
"@smithy/fetch-http-handler": "^
|
|
48
|
-
"@smithy/hash-node": "^
|
|
49
|
-
"@smithy/invalid-dependency": "^
|
|
50
|
-
"@smithy/middleware-content-length": "^
|
|
51
|
-
"@smithy/middleware-endpoint": "^
|
|
52
|
-
"@smithy/middleware-retry": "^
|
|
53
|
-
"@smithy/middleware-serde": "^
|
|
54
|
-
"@smithy/middleware-stack": "^
|
|
55
|
-
"@smithy/node-config-provider": "^
|
|
56
|
-
"@smithy/node-http-handler": "^
|
|
57
|
-
"@smithy/protocol-http": "^
|
|
58
|
-
"@smithy/smithy-client": "^
|
|
59
|
-
"@smithy/types": "^
|
|
60
|
-
"@smithy/url-parser": "^
|
|
61
|
-
"@smithy/util-base64": "^
|
|
62
|
-
"@smithy/util-body-length-browser": "^
|
|
63
|
-
"@smithy/util-body-length-node": "^
|
|
64
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
65
|
-
"@smithy/util-defaults-mode-node": "^
|
|
66
|
-
"@smithy/util-endpoints": "^
|
|
67
|
-
"@smithy/util-middleware": "^
|
|
68
|
-
"@smithy/util-retry": "^
|
|
69
|
-
"@smithy/util-utf8": "^
|
|
25
|
+
"@aws-sdk/client-sso-oidc": "3.726.0",
|
|
26
|
+
"@aws-sdk/client-sts": "3.726.0",
|
|
27
|
+
"@aws-sdk/core": "3.723.0",
|
|
28
|
+
"@aws-sdk/credential-provider-node": "3.726.0",
|
|
29
|
+
"@aws-sdk/eventstream-handler-node": "3.723.0",
|
|
30
|
+
"@aws-sdk/middleware-eventstream": "3.723.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.723.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
34
|
+
"@aws-sdk/middleware-sdk-transcribe-streaming": "3.723.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.726.0",
|
|
36
|
+
"@aws-sdk/middleware-websocket": "3.723.0",
|
|
37
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
38
|
+
"@aws-sdk/types": "3.723.0",
|
|
39
|
+
"@aws-sdk/util-endpoints": "3.726.0",
|
|
40
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
41
|
+
"@aws-sdk/util-user-agent-node": "3.726.0",
|
|
42
|
+
"@smithy/config-resolver": "^4.0.0",
|
|
43
|
+
"@smithy/core": "^3.0.0",
|
|
44
|
+
"@smithy/eventstream-serde-browser": "^4.0.0",
|
|
45
|
+
"@smithy/eventstream-serde-config-resolver": "^4.0.0",
|
|
46
|
+
"@smithy/eventstream-serde-node": "^4.0.0",
|
|
47
|
+
"@smithy/fetch-http-handler": "^5.0.0",
|
|
48
|
+
"@smithy/hash-node": "^4.0.0",
|
|
49
|
+
"@smithy/invalid-dependency": "^4.0.0",
|
|
50
|
+
"@smithy/middleware-content-length": "^4.0.0",
|
|
51
|
+
"@smithy/middleware-endpoint": "^4.0.0",
|
|
52
|
+
"@smithy/middleware-retry": "^4.0.0",
|
|
53
|
+
"@smithy/middleware-serde": "^4.0.0",
|
|
54
|
+
"@smithy/middleware-stack": "^4.0.0",
|
|
55
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
56
|
+
"@smithy/node-http-handler": "^4.0.0",
|
|
57
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
58
|
+
"@smithy/smithy-client": "^4.0.0",
|
|
59
|
+
"@smithy/types": "^4.0.0",
|
|
60
|
+
"@smithy/url-parser": "^4.0.0",
|
|
61
|
+
"@smithy/util-base64": "^4.0.0",
|
|
62
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
63
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
64
|
+
"@smithy/util-defaults-mode-browser": "^4.0.0",
|
|
65
|
+
"@smithy/util-defaults-mode-node": "^4.0.0",
|
|
66
|
+
"@smithy/util-endpoints": "^3.0.0",
|
|
67
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
68
|
+
"@smithy/util-retry": "^4.0.0",
|
|
69
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
70
70
|
"tslib": "^2.6.2"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@tsconfig/
|
|
74
|
-
"@types/node": "^
|
|
73
|
+
"@tsconfig/node18": "18.2.4",
|
|
74
|
+
"@types/node": "^18.19.69",
|
|
75
75
|
"concurrently": "7.0.0",
|
|
76
76
|
"downlevel-dts": "0.10.1",
|
|
77
77
|
"rimraf": "3.0.2",
|
|
78
|
-
"typescript": "~
|
|
78
|
+
"typescript": "~5.2.2"
|
|
79
79
|
},
|
|
80
80
|
"engines": {
|
|
81
|
-
"node": ">=
|
|
81
|
+
"node": ">=18.0.0"
|
|
82
82
|
},
|
|
83
83
|
"typesVersions": {
|
|
84
84
|
"<4.0": {
|