@aws-sdk/client-transcribe-streaming 3.408.0 → 3.410.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/endpoint/ruleset.js +3 -3
- package/dist-cjs/runtimeExtensions.js +3 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/runtimeExtensions.js +3 -0
- package/dist-types/commands/StartMedicalStreamTranscriptionCommand.d.ts +6 -6
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +21 -21
- package/dist-types/runtimeConfig.browser.d.ts +4 -1
- package/dist-types/runtimeConfig.d.ts +4 -1
- package/dist-types/runtimeConfig.native.d.ts +4 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/package.json +35 -35
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://transcribestreaming-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://transcribestreaming-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://transcribestreaming.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://transcribestreaming.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveRuntimeExtensions = void 0;
|
|
4
|
+
const protocol_http_1 = require("@smithy/protocol-http");
|
|
4
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
6
|
const asPartial = (t) => t;
|
|
6
7
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
7
8
|
const extensionConfiguration = {
|
|
8
9
|
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
10
|
+
...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
|
9
11
|
};
|
|
10
12
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
11
13
|
return {
|
|
12
14
|
...runtimeConfig,
|
|
13
15
|
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
16
|
+
...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
14
17
|
};
|
|
15
18
|
};
|
|
16
19
|
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://transcribestreaming-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://transcribestreaming-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://transcribestreaming.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://transcribestreaming.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
+
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
|
1
2
|
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
2
3
|
const asPartial = (t) => t;
|
|
3
4
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
4
5
|
const extensionConfiguration = {
|
|
5
6
|
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
7
|
+
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
|
6
8
|
};
|
|
7
9
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
8
10
|
return {
|
|
9
11
|
...runtimeConfig,
|
|
10
12
|
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
13
|
+
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
|
11
14
|
};
|
|
12
15
|
};
|
|
@@ -26,25 +26,25 @@ export interface StartMedicalStreamTranscriptionCommandOutput extends StartMedic
|
|
|
26
26
|
* <p>Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to
|
|
27
27
|
* Amazon Transcribe Medical and the transcription results are streamed to your
|
|
28
28
|
* application.</p>
|
|
29
|
-
*
|
|
30
|
-
*
|
|
29
|
+
* <p>The following parameters are required:</p>
|
|
30
|
+
* <ul>
|
|
31
31
|
* <li>
|
|
32
|
-
*
|
|
32
|
+
* <p>
|
|
33
33
|
* <code>language-code</code>
|
|
34
34
|
* </p>
|
|
35
35
|
* </li>
|
|
36
36
|
* <li>
|
|
37
|
-
*
|
|
37
|
+
* <p>
|
|
38
38
|
* <code>media-encoding</code>
|
|
39
39
|
* </p>
|
|
40
40
|
* </li>
|
|
41
41
|
* <li>
|
|
42
|
-
*
|
|
42
|
+
* <p>
|
|
43
43
|
* <code>sample-rate</code>
|
|
44
44
|
* </p>
|
|
45
45
|
* </li>
|
|
46
46
|
* </ul>
|
|
47
|
-
*
|
|
47
|
+
* <p>For more information on streaming with Amazon Transcribe Medical, see
|
|
48
48
|
* <a href="https://docs.aws.amazon.com/transcribe/latest/dg/streaming.html">Transcribing
|
|
49
49
|
* streaming audio</a>.</p>
|
|
50
50
|
* @example
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
1
2
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
2
3
|
/**
|
|
3
4
|
* @internal
|
|
4
5
|
*/
|
|
5
|
-
export interface TranscribeStreamingExtensionConfiguration extends DefaultExtensionConfiguration {
|
|
6
|
+
export interface TranscribeStreamingExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration {
|
|
6
7
|
}
|
|
@@ -928,7 +928,7 @@ export interface MedicalEntity {
|
|
|
928
928
|
/**
|
|
929
929
|
* @public
|
|
930
930
|
* <p>The confidence score associated with the identified PHI entity in your audio.</p>
|
|
931
|
-
*
|
|
931
|
+
* <p>Confidence scores are values between 0 and 1. A larger value indicates a higher
|
|
932
932
|
* probability that the identified entity correctly matches the entity spoken in your
|
|
933
933
|
* media.</p>
|
|
934
934
|
*/
|
|
@@ -964,7 +964,7 @@ export interface MedicalItem {
|
|
|
964
964
|
/**
|
|
965
965
|
* @public
|
|
966
966
|
* <p>The confidence score associated with a word or phrase in your transcript.</p>
|
|
967
|
-
*
|
|
967
|
+
* <p>Confidence scores are values between 0 and 1. A larger value indicates a higher
|
|
968
968
|
* probability that the identified item correctly matches the item spoken in your
|
|
969
969
|
* media.</p>
|
|
970
970
|
*/
|
|
@@ -1015,7 +1015,7 @@ export type MedicalContentIdentificationType = (typeof MedicalContentIdentificat
|
|
|
1015
1015
|
* @public
|
|
1016
1016
|
* <p>The <code>Result</code> associated with a
|
|
1017
1017
|
* <code></code>.</p>
|
|
1018
|
-
*
|
|
1018
|
+
* <p>Contains a set of transcription results from one or more audio segments, along with
|
|
1019
1019
|
* additional information per your request parameters. This can include information relating to
|
|
1020
1020
|
* alternative transcriptions, channel identification, partial result stabilization, language
|
|
1021
1021
|
* identification, and other transcription-related data.</p>
|
|
@@ -1039,7 +1039,7 @@ export interface MedicalResult {
|
|
|
1039
1039
|
/**
|
|
1040
1040
|
* @public
|
|
1041
1041
|
* <p>Indicates if the segment is complete.</p>
|
|
1042
|
-
*
|
|
1042
|
+
* <p>If <code>IsPartial</code> is <code>true</code>, the segment is not complete. If
|
|
1043
1043
|
* <code>IsPartial</code> is <code>false</code>, the segment is complete.</p>
|
|
1044
1044
|
*/
|
|
1045
1045
|
IsPartial?: boolean;
|
|
@@ -1060,7 +1060,7 @@ export interface MedicalResult {
|
|
|
1060
1060
|
* @public
|
|
1061
1061
|
* <p>The <code>MedicalTranscript</code> associated with a
|
|
1062
1062
|
* <code></code>.</p>
|
|
1063
|
-
*
|
|
1063
|
+
* <p>
|
|
1064
1064
|
* <code>MedicalTranscript</code> contains <code>Results</code>, which contains a set of
|
|
1065
1065
|
* transcription results from one or more audio segments, along with additional information per your
|
|
1066
1066
|
* request parameters.</p>
|
|
@@ -1079,7 +1079,7 @@ export interface MedicalTranscript {
|
|
|
1079
1079
|
* @public
|
|
1080
1080
|
* <p>The <code>MedicalTranscriptEvent</code> associated with a
|
|
1081
1081
|
* <code>MedicalTranscriptResultStream</code>.</p>
|
|
1082
|
-
*
|
|
1082
|
+
* <p>Contains a set of transcription results from one or more audio segments, along with additional
|
|
1083
1083
|
* information per your request parameters.</p>
|
|
1084
1084
|
*/
|
|
1085
1085
|
export interface MedicalTranscriptEvent {
|
|
@@ -1105,7 +1105,7 @@ export declare namespace MedicalTranscriptResultStream {
|
|
|
1105
1105
|
* @public
|
|
1106
1106
|
* <p>The <code>MedicalTranscriptEvent</code> associated with a
|
|
1107
1107
|
* <code>MedicalTranscriptResultStream</code>.</p>
|
|
1108
|
-
*
|
|
1108
|
+
* <p>Contains a set of transcription results from one or more audio segments, along with
|
|
1109
1109
|
* additional information per your request parameters. This can include information relating to
|
|
1110
1110
|
* alternative transcriptions, channel identification, partial result stabilization, language
|
|
1111
1111
|
* identification, and other transcription-related data.</p>
|
|
@@ -1558,9 +1558,9 @@ export interface StartMedicalStreamTranscriptionRequest {
|
|
|
1558
1558
|
/**
|
|
1559
1559
|
* @public
|
|
1560
1560
|
* <p>Specify the language code that represents the language spoken in your audio.</p>
|
|
1561
|
-
*
|
|
1561
|
+
* <important>
|
|
1562
1562
|
* <p>Amazon Transcribe Medical only supports US English (<code>en-US</code>).</p>
|
|
1563
|
-
*
|
|
1563
|
+
* </important>
|
|
1564
1564
|
*/
|
|
1565
1565
|
LanguageCode: LanguageCode | string | undefined;
|
|
1566
1566
|
/**
|
|
@@ -1573,19 +1573,19 @@ export interface StartMedicalStreamTranscriptionRequest {
|
|
|
1573
1573
|
/**
|
|
1574
1574
|
* @public
|
|
1575
1575
|
* <p>Specify the encoding used for the input audio. Supported formats are:</p>
|
|
1576
|
-
*
|
|
1576
|
+
* <ul>
|
|
1577
1577
|
* <li>
|
|
1578
|
-
*
|
|
1578
|
+
* <p>FLAC</p>
|
|
1579
1579
|
* </li>
|
|
1580
1580
|
* <li>
|
|
1581
|
-
*
|
|
1581
|
+
* <p>OPUS-encoded audio in an Ogg container</p>
|
|
1582
1582
|
* </li>
|
|
1583
1583
|
* <li>
|
|
1584
|
-
*
|
|
1584
|
+
* <p>PCM (only signed 16-bit little-endian audio formats, which does not include
|
|
1585
1585
|
* WAV)</p>
|
|
1586
1586
|
* </li>
|
|
1587
1587
|
* </ul>
|
|
1588
|
-
*
|
|
1588
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/how-input.html#how-input-audio">Media formats</a>.</p>
|
|
1589
1589
|
*/
|
|
1590
1590
|
MediaEncoding: MediaEncoding | string | undefined;
|
|
1591
1591
|
/**
|
|
@@ -1610,7 +1610,7 @@ export interface StartMedicalStreamTranscriptionRequest {
|
|
|
1610
1610
|
* @public
|
|
1611
1611
|
* <p>Enables speaker partitioning (diarization) in your transcription output. Speaker
|
|
1612
1612
|
* partitioning labels the speech from individual speakers in your media file.</p>
|
|
1613
|
-
*
|
|
1613
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/diarization.html">Partitioning speakers (diarization)</a>.</p>
|
|
1614
1614
|
*/
|
|
1615
1615
|
ShowSpeakerLabel?: boolean;
|
|
1616
1616
|
/**
|
|
@@ -1618,7 +1618,7 @@ export interface StartMedicalStreamTranscriptionRequest {
|
|
|
1618
1618
|
* <p>Specify a name for your transcription session. If you don't include this parameter in
|
|
1619
1619
|
* your request, Amazon Transcribe Medical generates an ID and returns it in the
|
|
1620
1620
|
* response.</p>
|
|
1621
|
-
*
|
|
1621
|
+
* <p>You can use a session ID to retry a streaming session.</p>
|
|
1622
1622
|
*/
|
|
1623
1623
|
SessionId?: string;
|
|
1624
1624
|
/**
|
|
@@ -1631,11 +1631,11 @@ export interface StartMedicalStreamTranscriptionRequest {
|
|
|
1631
1631
|
/**
|
|
1632
1632
|
* @public
|
|
1633
1633
|
* <p>Enables channel identification in multi-channel audio.</p>
|
|
1634
|
-
*
|
|
1634
|
+
* <p>Channel identification transcribes the audio on each channel independently, then appends
|
|
1635
1635
|
* the output for each channel into one transcript.</p>
|
|
1636
|
-
*
|
|
1636
|
+
* <p>If you have multi-channel audio and do not enable channel identification, your audio is
|
|
1637
1637
|
* transcribed in a continuous manner and your transcript is not separated by channel.</p>
|
|
1638
|
-
*
|
|
1638
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/channel-id.html">Transcribing multi-channel audio</a>.</p>
|
|
1639
1639
|
*/
|
|
1640
1640
|
EnableChannelIdentification?: boolean;
|
|
1641
1641
|
/**
|
|
@@ -1647,9 +1647,9 @@ export interface StartMedicalStreamTranscriptionRequest {
|
|
|
1647
1647
|
/**
|
|
1648
1648
|
* @public
|
|
1649
1649
|
* <p>Labels all personal health information (PHI) identified in your transcript.</p>
|
|
1650
|
-
*
|
|
1650
|
+
* <p>Content identification is performed at the segment level; PHI is flagged upon complete
|
|
1651
1651
|
* transcription of an audio segment.</p>
|
|
1652
|
-
*
|
|
1652
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/phi-id.html">Identifying personal health information (PHI) in a
|
|
1653
1653
|
* transcription</a>.</p>
|
|
1654
1654
|
*/
|
|
1655
1655
|
ContentIdentificationType?: MedicalContentIdentificationType | string;
|
|
@@ -13,7 +13,10 @@ export declare const getRuntimeConfig: (config: TranscribeStreamingClientConfig)
|
|
|
13
13
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
14
14
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
15
15
|
region: string | import("@smithy/types").Provider<any>;
|
|
16
|
-
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").
|
|
16
|
+
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
17
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
18
|
+
httpHandlerConfigs(): {};
|
|
19
|
+
}) | WebSocketRequestHandler;
|
|
17
20
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
18
21
|
sha256: import("@smithy/types").HashConstructor;
|
|
19
22
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -13,7 +13,10 @@ export declare const getRuntimeConfig: (config: TranscribeStreamingClientConfig)
|
|
|
13
13
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
14
14
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
15
15
|
region: string | import("@smithy/types").Provider<string>;
|
|
16
|
-
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").
|
|
16
|
+
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
17
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
18
|
+
httpHandlerConfigs(): {};
|
|
19
|
+
}) | RequestHandler;
|
|
17
20
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
18
21
|
sha256: import("@smithy/types").HashConstructor;
|
|
19
22
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -6,7 +6,10 @@ export declare const getRuntimeConfig: (config: TranscribeStreamingClientConfig)
|
|
|
6
6
|
runtime: string;
|
|
7
7
|
eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
|
|
8
8
|
sha256: import("@smithy/types").HashConstructor;
|
|
9
|
-
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/protocol-http").
|
|
9
|
+
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
10
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
11
|
+
httpHandlerConfigs(): {};
|
|
12
|
+
}) | import("@aws-sdk/middleware-websocket").WebSocketFetchHandler;
|
|
10
13
|
apiVersion: string;
|
|
11
14
|
urlParser: import("@smithy/types").UrlParser;
|
|
12
15
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
@@ -3,7 +3,7 @@ import { TranscribeStreamingExtensionConfiguration } from "./extensionConfigurat
|
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
5
5
|
export interface RuntimeExtension {
|
|
6
|
-
configure(
|
|
6
|
+
configure(extensionConfiguration: TranscribeStreamingExtensionConfiguration): void;
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
9
|
* @public
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
1
2
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
2
3
|
export interface TranscribeStreamingExtensionConfiguration
|
|
3
|
-
extends
|
|
4
|
+
extends HttpHandlerExtensionConfiguration,
|
|
5
|
+
DefaultExtensionConfiguration {}
|
|
@@ -24,7 +24,14 @@ export declare const getRuntimeConfig: (
|
|
|
24
24
|
any,
|
|
25
25
|
import("@smithy/types").HttpHandlerOptions
|
|
26
26
|
> &
|
|
27
|
-
import("@smithy/
|
|
27
|
+
import("@smithy/types").RequestHandler<
|
|
28
|
+
import("@smithy/protocol-http").HttpRequest,
|
|
29
|
+
import("@smithy/protocol-http").HttpResponse,
|
|
30
|
+
import("@smithy/types").HttpHandlerOptions
|
|
31
|
+
> & {
|
|
32
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
33
|
+
httpHandlerConfigs(): {};
|
|
34
|
+
})
|
|
28
35
|
| WebSocketRequestHandler;
|
|
29
36
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
30
37
|
sha256: import("@smithy/types").HashConstructor;
|
|
@@ -24,7 +24,14 @@ export declare const getRuntimeConfig: (
|
|
|
24
24
|
any,
|
|
25
25
|
import("@smithy/types").HttpHandlerOptions
|
|
26
26
|
> &
|
|
27
|
-
import("@smithy/
|
|
27
|
+
import("@smithy/types").RequestHandler<
|
|
28
|
+
import("@smithy/protocol-http").HttpRequest,
|
|
29
|
+
import("@smithy/protocol-http").HttpResponse,
|
|
30
|
+
import("@smithy/types").HttpHandlerOptions
|
|
31
|
+
> & {
|
|
32
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
33
|
+
httpHandlerConfigs(): {};
|
|
34
|
+
})
|
|
28
35
|
| RequestHandler;
|
|
29
36
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
30
37
|
sha256: import("@smithy/types").HashConstructor;
|
|
@@ -11,7 +11,14 @@ export declare const getRuntimeConfig: (
|
|
|
11
11
|
any,
|
|
12
12
|
import("@smithy/types").HttpHandlerOptions
|
|
13
13
|
> &
|
|
14
|
-
import("@smithy/
|
|
14
|
+
import("@smithy/types").RequestHandler<
|
|
15
|
+
import("@smithy/protocol-http").HttpRequest,
|
|
16
|
+
import("@smithy/protocol-http").HttpResponse,
|
|
17
|
+
import("@smithy/types").HttpHandlerOptions
|
|
18
|
+
> & {
|
|
19
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
20
|
+
httpHandlerConfigs(): {};
|
|
21
|
+
})
|
|
15
22
|
| import("@aws-sdk/middleware-websocket").WebSocketFetchHandler;
|
|
16
23
|
apiVersion: string;
|
|
17
24
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TranscribeStreamingExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
export interface RuntimeExtension {
|
|
3
3
|
configure(
|
|
4
|
-
|
|
4
|
+
extensionConfiguration: TranscribeStreamingExtensionConfiguration
|
|
5
5
|
): void;
|
|
6
6
|
}
|
|
7
7
|
export interface RuntimeExtensionsConfig {
|
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.410.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,44 +22,44 @@
|
|
|
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.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/eventstream-handler-node": "3.
|
|
28
|
-
"@aws-sdk/middleware-eventstream": "3.
|
|
29
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
30
|
-
"@aws-sdk/middleware-logger": "3.
|
|
31
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
32
|
-
"@aws-sdk/middleware-sdk-transcribe-streaming": "3.
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/middleware-websocket": "3.
|
|
36
|
-
"@aws-sdk/types": "3.
|
|
37
|
-
"@aws-sdk/util-endpoints": "3.
|
|
38
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
39
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
40
|
-
"@smithy/config-resolver": "^2.0.
|
|
41
|
-
"@smithy/eventstream-serde-browser": "^2.0.
|
|
42
|
-
"@smithy/eventstream-serde-config-resolver": "^2.0.
|
|
43
|
-
"@smithy/eventstream-serde-node": "^2.0.
|
|
44
|
-
"@smithy/fetch-http-handler": "^2.
|
|
45
|
-
"@smithy/hash-node": "^2.0.
|
|
46
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
47
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
48
|
-
"@smithy/middleware-endpoint": "^2.0.
|
|
49
|
-
"@smithy/middleware-retry": "^2.0.
|
|
50
|
-
"@smithy/middleware-serde": "^2.0.
|
|
25
|
+
"@aws-sdk/client-sts": "3.410.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.410.0",
|
|
27
|
+
"@aws-sdk/eventstream-handler-node": "3.410.0",
|
|
28
|
+
"@aws-sdk/middleware-eventstream": "3.410.0",
|
|
29
|
+
"@aws-sdk/middleware-host-header": "3.410.0",
|
|
30
|
+
"@aws-sdk/middleware-logger": "3.410.0",
|
|
31
|
+
"@aws-sdk/middleware-recursion-detection": "3.410.0",
|
|
32
|
+
"@aws-sdk/middleware-sdk-transcribe-streaming": "3.410.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.410.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.410.0",
|
|
35
|
+
"@aws-sdk/middleware-websocket": "3.410.0",
|
|
36
|
+
"@aws-sdk/types": "3.410.0",
|
|
37
|
+
"@aws-sdk/util-endpoints": "3.410.0",
|
|
38
|
+
"@aws-sdk/util-user-agent-browser": "3.410.0",
|
|
39
|
+
"@aws-sdk/util-user-agent-node": "3.410.0",
|
|
40
|
+
"@smithy/config-resolver": "^2.0.7",
|
|
41
|
+
"@smithy/eventstream-serde-browser": "^2.0.6",
|
|
42
|
+
"@smithy/eventstream-serde-config-resolver": "^2.0.6",
|
|
43
|
+
"@smithy/eventstream-serde-node": "^2.0.6",
|
|
44
|
+
"@smithy/fetch-http-handler": "^2.1.2",
|
|
45
|
+
"@smithy/hash-node": "^2.0.6",
|
|
46
|
+
"@smithy/invalid-dependency": "^2.0.6",
|
|
47
|
+
"@smithy/middleware-content-length": "^2.0.8",
|
|
48
|
+
"@smithy/middleware-endpoint": "^2.0.6",
|
|
49
|
+
"@smithy/middleware-retry": "^2.0.9",
|
|
50
|
+
"@smithy/middleware-serde": "^2.0.6",
|
|
51
51
|
"@smithy/middleware-stack": "^2.0.0",
|
|
52
|
-
"@smithy/node-config-provider": "^2.0.
|
|
53
|
-
"@smithy/node-http-handler": "^2.
|
|
54
|
-
"@smithy/protocol-http": "^
|
|
55
|
-
"@smithy/smithy-client": "^2.
|
|
56
|
-
"@smithy/types": "^2.
|
|
57
|
-
"@smithy/url-parser": "^2.0.
|
|
52
|
+
"@smithy/node-config-provider": "^2.0.9",
|
|
53
|
+
"@smithy/node-http-handler": "^2.1.2",
|
|
54
|
+
"@smithy/protocol-http": "^3.0.2",
|
|
55
|
+
"@smithy/smithy-client": "^2.1.3",
|
|
56
|
+
"@smithy/types": "^2.3.0",
|
|
57
|
+
"@smithy/url-parser": "^2.0.6",
|
|
58
58
|
"@smithy/util-base64": "^2.0.0",
|
|
59
59
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
60
60
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
61
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
62
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
61
|
+
"@smithy/util-defaults-mode-browser": "^2.0.7",
|
|
62
|
+
"@smithy/util-defaults-mode-node": "^2.0.9",
|
|
63
63
|
"@smithy/util-retry": "^2.0.0",
|
|
64
64
|
"@smithy/util-utf8": "^2.0.0",
|
|
65
65
|
"tslib": "^2.5.0"
|