@aws-sdk/client-transcribe-streaming 3.1086.0 → 3.1088.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 +1 -1
- package/dist-types/ts3.4/TranscribeStreaming.d.ts +15 -21
- package/dist-types/ts3.4/TranscribeStreamingClient.d.ts +7 -23
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -10
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +8 -14
- package/dist-types/ts3.4/commands/GetMedicalScribeStreamCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/StartCallAnalyticsStreamTranscriptionCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/StartMedicalScribeStreamCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/StartMedicalStreamTranscriptionCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/StartStreamTranscriptionCommand.d.ts +4 -6
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +2 -4
- package/dist-types/ts3.4/models/errors.d.ts +5 -15
- package/dist-types/ts3.4/models/models_0.d.ts +4 -12
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -19
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +10 -25
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -4
- package/dist-types/ts3.4/runtimeExtensions.d.ts +2 -4
- package/package.json +44 -44
package/dist-cjs/index.js
CHANGED
|
@@ -23,74 +23,68 @@ import { TranscribeStreamingClient } from "./TranscribeStreamingClient";
|
|
|
23
23
|
export interface TranscribeStreaming {
|
|
24
24
|
getMedicalScribeStream(
|
|
25
25
|
args: GetMedicalScribeStreamCommandInput,
|
|
26
|
-
options?: __HttpHandlerOptions
|
|
26
|
+
options?: __HttpHandlerOptions,
|
|
27
27
|
): Promise<GetMedicalScribeStreamCommandOutput>;
|
|
28
28
|
getMedicalScribeStream(
|
|
29
29
|
args: GetMedicalScribeStreamCommandInput,
|
|
30
|
-
cb: (err: any, data?: GetMedicalScribeStreamCommandOutput) => void
|
|
30
|
+
cb: (err: any, data?: GetMedicalScribeStreamCommandOutput) => void,
|
|
31
31
|
): void;
|
|
32
32
|
getMedicalScribeStream(
|
|
33
33
|
args: GetMedicalScribeStreamCommandInput,
|
|
34
34
|
options: __HttpHandlerOptions,
|
|
35
|
-
cb: (err: any, data?: GetMedicalScribeStreamCommandOutput) => void
|
|
35
|
+
cb: (err: any, data?: GetMedicalScribeStreamCommandOutput) => void,
|
|
36
36
|
): void;
|
|
37
37
|
startCallAnalyticsStreamTranscription(
|
|
38
38
|
args: StartCallAnalyticsStreamTranscriptionCommandInput,
|
|
39
|
-
options?: __HttpHandlerOptions
|
|
39
|
+
options?: __HttpHandlerOptions,
|
|
40
40
|
): Promise<StartCallAnalyticsStreamTranscriptionCommandOutput>;
|
|
41
41
|
startCallAnalyticsStreamTranscription(
|
|
42
42
|
args: StartCallAnalyticsStreamTranscriptionCommandInput,
|
|
43
|
-
cb: (
|
|
44
|
-
err: any,
|
|
45
|
-
data?: StartCallAnalyticsStreamTranscriptionCommandOutput
|
|
46
|
-
) => void
|
|
43
|
+
cb: (err: any, data?: StartCallAnalyticsStreamTranscriptionCommandOutput) => void,
|
|
47
44
|
): void;
|
|
48
45
|
startCallAnalyticsStreamTranscription(
|
|
49
46
|
args: StartCallAnalyticsStreamTranscriptionCommandInput,
|
|
50
47
|
options: __HttpHandlerOptions,
|
|
51
|
-
cb: (
|
|
52
|
-
err: any,
|
|
53
|
-
data?: StartCallAnalyticsStreamTranscriptionCommandOutput
|
|
54
|
-
) => void
|
|
48
|
+
cb: (err: any, data?: StartCallAnalyticsStreamTranscriptionCommandOutput) => void,
|
|
55
49
|
): void;
|
|
56
50
|
startMedicalScribeStream(
|
|
57
51
|
args: StartMedicalScribeStreamCommandInput,
|
|
58
|
-
options?: __HttpHandlerOptions
|
|
52
|
+
options?: __HttpHandlerOptions,
|
|
59
53
|
): Promise<StartMedicalScribeStreamCommandOutput>;
|
|
60
54
|
startMedicalScribeStream(
|
|
61
55
|
args: StartMedicalScribeStreamCommandInput,
|
|
62
|
-
cb: (err: any, data?: StartMedicalScribeStreamCommandOutput) => void
|
|
56
|
+
cb: (err: any, data?: StartMedicalScribeStreamCommandOutput) => void,
|
|
63
57
|
): void;
|
|
64
58
|
startMedicalScribeStream(
|
|
65
59
|
args: StartMedicalScribeStreamCommandInput,
|
|
66
60
|
options: __HttpHandlerOptions,
|
|
67
|
-
cb: (err: any, data?: StartMedicalScribeStreamCommandOutput) => void
|
|
61
|
+
cb: (err: any, data?: StartMedicalScribeStreamCommandOutput) => void,
|
|
68
62
|
): void;
|
|
69
63
|
startMedicalStreamTranscription(
|
|
70
64
|
args: StartMedicalStreamTranscriptionCommandInput,
|
|
71
|
-
options?: __HttpHandlerOptions
|
|
65
|
+
options?: __HttpHandlerOptions,
|
|
72
66
|
): Promise<StartMedicalStreamTranscriptionCommandOutput>;
|
|
73
67
|
startMedicalStreamTranscription(
|
|
74
68
|
args: StartMedicalStreamTranscriptionCommandInput,
|
|
75
|
-
cb: (err: any, data?: StartMedicalStreamTranscriptionCommandOutput) => void
|
|
69
|
+
cb: (err: any, data?: StartMedicalStreamTranscriptionCommandOutput) => void,
|
|
76
70
|
): void;
|
|
77
71
|
startMedicalStreamTranscription(
|
|
78
72
|
args: StartMedicalStreamTranscriptionCommandInput,
|
|
79
73
|
options: __HttpHandlerOptions,
|
|
80
|
-
cb: (err: any, data?: StartMedicalStreamTranscriptionCommandOutput) => void
|
|
74
|
+
cb: (err: any, data?: StartMedicalStreamTranscriptionCommandOutput) => void,
|
|
81
75
|
): void;
|
|
82
76
|
startStreamTranscription(
|
|
83
77
|
args: StartStreamTranscriptionCommandInput,
|
|
84
|
-
options?: __HttpHandlerOptions
|
|
78
|
+
options?: __HttpHandlerOptions,
|
|
85
79
|
): Promise<StartStreamTranscriptionCommandOutput>;
|
|
86
80
|
startStreamTranscription(
|
|
87
81
|
args: StartStreamTranscriptionCommandInput,
|
|
88
|
-
cb: (err: any, data?: StartStreamTranscriptionCommandOutput) => void
|
|
82
|
+
cb: (err: any, data?: StartStreamTranscriptionCommandOutput) => void,
|
|
89
83
|
): void;
|
|
90
84
|
startStreamTranscription(
|
|
91
85
|
args: StartStreamTranscriptionCommandInput,
|
|
92
86
|
options: __HttpHandlerOptions,
|
|
93
|
-
cb: (err: any, data?: StartStreamTranscriptionCommandOutput) => void
|
|
87
|
+
cb: (err: any, data?: StartStreamTranscriptionCommandOutput) => void,
|
|
94
88
|
): void;
|
|
95
89
|
}
|
|
96
90
|
export declare class TranscribeStreaming
|
|
@@ -4,14 +4,8 @@ import {
|
|
|
4
4
|
UserAgentInputConfig,
|
|
5
5
|
UserAgentResolvedConfig,
|
|
6
6
|
} from "@aws-sdk/core/client";
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
EventStreamResolvedConfig,
|
|
10
|
-
} from "@aws-sdk/middleware-eventstream";
|
|
11
|
-
import {
|
|
12
|
-
WebSocketInputConfig,
|
|
13
|
-
WebSocketResolvedConfig,
|
|
14
|
-
} from "@aws-sdk/middleware-websocket";
|
|
7
|
+
import { EventStreamInputConfig, EventStreamResolvedConfig } from "@aws-sdk/middleware-eventstream";
|
|
8
|
+
import { WebSocketInputConfig, WebSocketResolvedConfig } from "@aws-sdk/middleware-websocket";
|
|
15
9
|
import { EventStreamPayloadHandlerProvider as __EventStreamPayloadHandlerProvider } from "@aws-sdk/types";
|
|
16
10
|
import {
|
|
17
11
|
DefaultsMode as __DefaultsMode,
|
|
@@ -20,10 +14,7 @@ import {
|
|
|
20
14
|
Client as __Client,
|
|
21
15
|
} from "@smithy/core/client";
|
|
22
16
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
23
|
-
import {
|
|
24
|
-
EndpointInputConfig,
|
|
25
|
-
EndpointResolvedConfig,
|
|
26
|
-
} from "@smithy/core/endpoints";
|
|
17
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
27
18
|
import {
|
|
28
19
|
EventStreamSerdeInputConfig,
|
|
29
20
|
EventStreamSerdeResolvedConfig,
|
|
@@ -89,8 +80,7 @@ export type ServiceOutputTypes =
|
|
|
89
80
|
| StartMedicalScribeStreamCommandOutput
|
|
90
81
|
| StartMedicalStreamTranscriptionCommandOutput
|
|
91
82
|
| StartStreamTranscriptionCommandOutput;
|
|
92
|
-
export interface ClientDefaults
|
|
93
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
83
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
94
84
|
requestHandler?: __HttpHandlerUserInput;
|
|
95
85
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
96
86
|
urlParser?: __UrlParser;
|
|
@@ -131,8 +121,7 @@ export type TranscribeStreamingClientConfigType = Partial<
|
|
|
131
121
|
EventStreamInputConfig &
|
|
132
122
|
WebSocketInputConfig &
|
|
133
123
|
ClientInputEndpointParameters;
|
|
134
|
-
export interface TranscribeStreamingClientConfig
|
|
135
|
-
extends TranscribeStreamingClientConfigType {}
|
|
124
|
+
export interface TranscribeStreamingClientConfig extends TranscribeStreamingClientConfigType {}
|
|
136
125
|
export type TranscribeStreamingClientResolvedConfigType =
|
|
137
126
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
138
127
|
Required<ClientDefaults> &
|
|
@@ -147,8 +136,7 @@ export type TranscribeStreamingClientResolvedConfigType =
|
|
|
147
136
|
EventStreamResolvedConfig &
|
|
148
137
|
WebSocketResolvedConfig &
|
|
149
138
|
ClientResolvedEndpointParameters;
|
|
150
|
-
export interface TranscribeStreamingClientResolvedConfig
|
|
151
|
-
extends TranscribeStreamingClientResolvedConfigType {}
|
|
139
|
+
export interface TranscribeStreamingClientResolvedConfig extends TranscribeStreamingClientResolvedConfigType {}
|
|
152
140
|
export declare class TranscribeStreamingClient extends __Client<
|
|
153
141
|
__HttpHandlerOptions,
|
|
154
142
|
ServiceInputTypes,
|
|
@@ -156,10 +144,6 @@ export declare class TranscribeStreamingClient extends __Client<
|
|
|
156
144
|
TranscribeStreamingClientResolvedConfig
|
|
157
145
|
> {
|
|
158
146
|
readonly config: TranscribeStreamingClientResolvedConfig;
|
|
159
|
-
constructor(
|
|
160
|
-
...[
|
|
161
|
-
configuration,
|
|
162
|
-
]: __CheckOptionalClientConfig<TranscribeStreamingClientConfig>
|
|
163
|
-
);
|
|
147
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<TranscribeStreamingClientConfig>);
|
|
164
148
|
destroy(): void;
|
|
165
149
|
}
|
|
@@ -8,16 +8,11 @@ export interface HttpAuthExtensionConfiguration {
|
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
10
|
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: TranscribeStreamingHttpAuthSchemeProvider
|
|
11
|
+
httpAuthSchemeProvider: TranscribeStreamingHttpAuthSchemeProvider,
|
|
12
12
|
): void;
|
|
13
13
|
httpAuthSchemeProvider(): TranscribeStreamingHttpAuthSchemeProvider;
|
|
14
|
-
setCredentials(
|
|
15
|
-
|
|
16
|
-
): void;
|
|
17
|
-
credentials():
|
|
18
|
-
| AwsCredentialIdentity
|
|
19
|
-
| AwsCredentialIdentityProvider
|
|
20
|
-
| undefined;
|
|
14
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
15
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
21
16
|
}
|
|
22
17
|
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
18
|
httpAuthSchemes: HttpAuthScheme[];
|
|
@@ -25,8 +20,8 @@ export type HttpAuthRuntimeConfig = Partial<{
|
|
|
25
20
|
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
21
|
}>;
|
|
27
22
|
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
-
runtimeConfig: HttpAuthRuntimeConfig
|
|
23
|
+
runtimeConfig: HttpAuthRuntimeConfig,
|
|
29
24
|
) => HttpAuthExtensionConfiguration;
|
|
30
25
|
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
-
config: HttpAuthExtensionConfiguration
|
|
26
|
+
config: HttpAuthExtensionConfiguration,
|
|
32
27
|
) => HttpAuthRuntimeConfig;
|
|
@@ -12,36 +12,32 @@ import {
|
|
|
12
12
|
Provider,
|
|
13
13
|
} from "@smithy/types";
|
|
14
14
|
import { TranscribeStreamingClientResolvedConfig } from "../TranscribeStreamingClient";
|
|
15
|
-
export interface TranscribeStreamingHttpAuthSchemeParameters
|
|
16
|
-
extends HttpAuthSchemeParameters {
|
|
15
|
+
export interface TranscribeStreamingHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
17
16
|
region?: string;
|
|
18
17
|
}
|
|
19
|
-
export interface TranscribeStreamingHttpAuthSchemeParametersProvider
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
> {}
|
|
18
|
+
export interface TranscribeStreamingHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
TranscribeStreamingClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
TranscribeStreamingHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
26
24
|
export declare const defaultTranscribeStreamingHttpAuthSchemeParametersProvider: (
|
|
27
25
|
config: TranscribeStreamingClientResolvedConfig,
|
|
28
26
|
context: HandlerExecutionContext,
|
|
29
|
-
input: object
|
|
27
|
+
input: object,
|
|
30
28
|
) => Promise<TranscribeStreamingHttpAuthSchemeParameters>;
|
|
31
|
-
export interface TranscribeStreamingHttpAuthSchemeProvider
|
|
32
|
-
extends HttpAuthSchemeProvider<TranscribeStreamingHttpAuthSchemeParameters> {}
|
|
29
|
+
export interface TranscribeStreamingHttpAuthSchemeProvider extends HttpAuthSchemeProvider<TranscribeStreamingHttpAuthSchemeParameters> {}
|
|
33
30
|
export declare const defaultTranscribeStreamingHttpAuthSchemeProvider: TranscribeStreamingHttpAuthSchemeProvider;
|
|
34
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
34
|
httpAuthSchemeProvider?: TranscribeStreamingHttpAuthSchemeProvider;
|
|
38
35
|
}
|
|
39
|
-
export interface HttpAuthSchemeResolvedConfig
|
|
40
|
-
extends AwsSdkSigV4AuthResolvedConfig {
|
|
36
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
37
|
readonly authSchemePreference: Provider<string[]>;
|
|
42
38
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
43
39
|
readonly httpAuthSchemeProvider: TranscribeStreamingHttpAuthSchemeProvider;
|
|
44
40
|
}
|
|
45
41
|
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
-
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
42
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
|
|
47
43
|
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -4,22 +4,21 @@ import {
|
|
|
4
4
|
ServiceOutputTypes,
|
|
5
5
|
TranscribeStreamingClientResolvedConfig,
|
|
6
6
|
} from "./TranscribeStreamingClient";
|
|
7
|
-
export declare const command: <
|
|
8
|
-
I extends ServiceInputTypes,
|
|
9
|
-
O extends ServiceOutputTypes
|
|
10
|
-
>(
|
|
7
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
|
|
11
8
|
added: EndpointParameterInstructions,
|
|
12
9
|
plugins: (
|
|
13
10
|
CommandCtor: any,
|
|
14
11
|
clientStack: any,
|
|
15
12
|
config: any,
|
|
16
|
-
options: any
|
|
13
|
+
options: any,
|
|
17
14
|
) => import("@smithy/types").Pluggable<any, any>[],
|
|
18
15
|
op: string,
|
|
19
16
|
$: import("@smithy/types").StaticOperationSchema,
|
|
20
|
-
smithyContext?: Record<string, unknown
|
|
17
|
+
smithyContext?: Record<string, unknown>,
|
|
21
18
|
) => {
|
|
22
|
-
new (
|
|
19
|
+
new (
|
|
20
|
+
input: I,
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
22
|
I,
|
|
24
23
|
O,
|
|
25
24
|
TranscribeStreamingClientResolvedConfig,
|
|
@@ -38,15 +37,10 @@ export declare const command: <
|
|
|
38
37
|
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
38
|
};
|
|
40
39
|
export declare const _ep0: EndpointParameterInstructions;
|
|
41
|
-
export declare const _mw0: (
|
|
42
|
-
Command: any,
|
|
43
|
-
cs: any,
|
|
44
|
-
config: any,
|
|
45
|
-
o: any
|
|
46
|
-
) => never[];
|
|
40
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
47
41
|
export declare const _mw1: (
|
|
48
42
|
Command: any,
|
|
49
43
|
cs: any,
|
|
50
44
|
config: any,
|
|
51
|
-
o: any
|
|
45
|
+
o: any,
|
|
52
46
|
) => import("@smithy/types").Pluggable<any, any>[];
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
GetMedicalScribeStreamRequest,
|
|
4
|
-
GetMedicalScribeStreamResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { GetMedicalScribeStreamRequest, GetMedicalScribeStreamResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface GetMedicalScribeStreamCommandInput
|
|
8
|
-
extends GetMedicalScribeStreamRequest {}
|
|
4
|
+
export interface GetMedicalScribeStreamCommandInput extends GetMedicalScribeStreamRequest {}
|
|
9
5
|
export interface GetMedicalScribeStreamCommandOutput
|
|
10
|
-
extends GetMedicalScribeStreamResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends GetMedicalScribeStreamResponse, __MetadataBearer {}
|
|
12
7
|
declare const GetMedicalScribeStreamCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: GetMedicalScribeStreamCommandInput
|
|
9
|
+
input: GetMedicalScribeStreamCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
GetMedicalScribeStreamCommandInput,
|
|
17
12
|
GetMedicalScribeStreamCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const GetMedicalScribeStreamCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: GetMedicalScribeStreamCommandInput
|
|
18
|
+
input: GetMedicalScribeStreamCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
GetMedicalScribeStreamCommandInput,
|
|
26
21
|
GetMedicalScribeStreamCommandOutput,
|
|
@@ -4,14 +4,12 @@ import {
|
|
|
4
4
|
StartCallAnalyticsStreamTranscriptionResponse,
|
|
5
5
|
} from "../models/models_0";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
|
-
export interface StartCallAnalyticsStreamTranscriptionCommandInput
|
|
8
|
-
extends StartCallAnalyticsStreamTranscriptionRequest {}
|
|
7
|
+
export interface StartCallAnalyticsStreamTranscriptionCommandInput extends StartCallAnalyticsStreamTranscriptionRequest {}
|
|
9
8
|
export interface StartCallAnalyticsStreamTranscriptionCommandOutput
|
|
10
|
-
extends StartCallAnalyticsStreamTranscriptionResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
9
|
+
extends StartCallAnalyticsStreamTranscriptionResponse, __MetadataBearer {}
|
|
12
10
|
declare const StartCallAnalyticsStreamTranscriptionCommand_base: {
|
|
13
11
|
new (
|
|
14
|
-
input: StartCallAnalyticsStreamTranscriptionCommandInput
|
|
12
|
+
input: StartCallAnalyticsStreamTranscriptionCommandInput,
|
|
15
13
|
): import("@smithy/core/client").CommandImpl<
|
|
16
14
|
StartCallAnalyticsStreamTranscriptionCommandInput,
|
|
17
15
|
StartCallAnalyticsStreamTranscriptionCommandOutput,
|
|
@@ -20,7 +18,7 @@ declare const StartCallAnalyticsStreamTranscriptionCommand_base: {
|
|
|
20
18
|
import("..").ServiceOutputTypes
|
|
21
19
|
>;
|
|
22
20
|
new (
|
|
23
|
-
input: StartCallAnalyticsStreamTranscriptionCommandInput
|
|
21
|
+
input: StartCallAnalyticsStreamTranscriptionCommandInput,
|
|
24
22
|
): import("@smithy/core/client").CommandImpl<
|
|
25
23
|
StartCallAnalyticsStreamTranscriptionCommandInput,
|
|
26
24
|
StartCallAnalyticsStreamTranscriptionCommandOutput,
|
|
@@ -4,14 +4,12 @@ import {
|
|
|
4
4
|
StartMedicalScribeStreamResponse,
|
|
5
5
|
} from "../models/models_0";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
|
-
export interface StartMedicalScribeStreamCommandInput
|
|
8
|
-
extends StartMedicalScribeStreamRequest {}
|
|
7
|
+
export interface StartMedicalScribeStreamCommandInput extends StartMedicalScribeStreamRequest {}
|
|
9
8
|
export interface StartMedicalScribeStreamCommandOutput
|
|
10
|
-
extends StartMedicalScribeStreamResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
9
|
+
extends StartMedicalScribeStreamResponse, __MetadataBearer {}
|
|
12
10
|
declare const StartMedicalScribeStreamCommand_base: {
|
|
13
11
|
new (
|
|
14
|
-
input: StartMedicalScribeStreamCommandInput
|
|
12
|
+
input: StartMedicalScribeStreamCommandInput,
|
|
15
13
|
): import("@smithy/core/client").CommandImpl<
|
|
16
14
|
StartMedicalScribeStreamCommandInput,
|
|
17
15
|
StartMedicalScribeStreamCommandOutput,
|
|
@@ -20,7 +18,7 @@ declare const StartMedicalScribeStreamCommand_base: {
|
|
|
20
18
|
import("..").ServiceOutputTypes
|
|
21
19
|
>;
|
|
22
20
|
new (
|
|
23
|
-
input: StartMedicalScribeStreamCommandInput
|
|
21
|
+
input: StartMedicalScribeStreamCommandInput,
|
|
24
22
|
): import("@smithy/core/client").CommandImpl<
|
|
25
23
|
StartMedicalScribeStreamCommandInput,
|
|
26
24
|
StartMedicalScribeStreamCommandOutput,
|
|
@@ -4,14 +4,12 @@ import {
|
|
|
4
4
|
StartMedicalStreamTranscriptionResponse,
|
|
5
5
|
} from "../models/models_0";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
|
-
export interface StartMedicalStreamTranscriptionCommandInput
|
|
8
|
-
extends StartMedicalStreamTranscriptionRequest {}
|
|
7
|
+
export interface StartMedicalStreamTranscriptionCommandInput extends StartMedicalStreamTranscriptionRequest {}
|
|
9
8
|
export interface StartMedicalStreamTranscriptionCommandOutput
|
|
10
|
-
extends StartMedicalStreamTranscriptionResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
9
|
+
extends StartMedicalStreamTranscriptionResponse, __MetadataBearer {}
|
|
12
10
|
declare const StartMedicalStreamTranscriptionCommand_base: {
|
|
13
11
|
new (
|
|
14
|
-
input: StartMedicalStreamTranscriptionCommandInput
|
|
12
|
+
input: StartMedicalStreamTranscriptionCommandInput,
|
|
15
13
|
): import("@smithy/core/client").CommandImpl<
|
|
16
14
|
StartMedicalStreamTranscriptionCommandInput,
|
|
17
15
|
StartMedicalStreamTranscriptionCommandOutput,
|
|
@@ -20,7 +18,7 @@ declare const StartMedicalStreamTranscriptionCommand_base: {
|
|
|
20
18
|
import("..").ServiceOutputTypes
|
|
21
19
|
>;
|
|
22
20
|
new (
|
|
23
|
-
input: StartMedicalStreamTranscriptionCommandInput
|
|
21
|
+
input: StartMedicalStreamTranscriptionCommandInput,
|
|
24
22
|
): import("@smithy/core/client").CommandImpl<
|
|
25
23
|
StartMedicalStreamTranscriptionCommandInput,
|
|
26
24
|
StartMedicalStreamTranscriptionCommandOutput,
|
|
@@ -4,14 +4,12 @@ import {
|
|
|
4
4
|
StartStreamTranscriptionResponse,
|
|
5
5
|
} from "../models/models_0";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
|
-
export interface StartStreamTranscriptionCommandInput
|
|
8
|
-
extends StartStreamTranscriptionRequest {}
|
|
7
|
+
export interface StartStreamTranscriptionCommandInput extends StartStreamTranscriptionRequest {}
|
|
9
8
|
export interface StartStreamTranscriptionCommandOutput
|
|
10
|
-
extends StartStreamTranscriptionResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
9
|
+
extends StartStreamTranscriptionResponse, __MetadataBearer {}
|
|
12
10
|
declare const StartStreamTranscriptionCommand_base: {
|
|
13
11
|
new (
|
|
14
|
-
input: StartStreamTranscriptionCommandInput
|
|
12
|
+
input: StartStreamTranscriptionCommandInput,
|
|
15
13
|
): import("@smithy/core/client").CommandImpl<
|
|
16
14
|
StartStreamTranscriptionCommandInput,
|
|
17
15
|
StartStreamTranscriptionCommandOutput,
|
|
@@ -20,7 +18,7 @@ declare const StartStreamTranscriptionCommand_base: {
|
|
|
20
18
|
import("..").ServiceOutputTypes
|
|
21
19
|
>;
|
|
22
20
|
new (
|
|
23
|
-
input: StartStreamTranscriptionCommandInput
|
|
21
|
+
input: StartStreamTranscriptionCommandInput,
|
|
24
22
|
): import("@smithy/core/client").CommandImpl<
|
|
25
23
|
StartStreamTranscriptionCommandInput,
|
|
26
24
|
StartStreamTranscriptionCommandOutput,
|
|
@@ -23,7 +23,7 @@ export type ClientResolvedEndpointParameters = Pick<
|
|
|
23
23
|
defaultSigningName: string;
|
|
24
24
|
};
|
|
25
25
|
export declare const resolveClientEndpointParameters: <T>(
|
|
26
|
-
options: T & ClientInputEndpointParameters
|
|
26
|
+
options: T & ClientInputEndpointParameters,
|
|
27
27
|
) => T & ClientResolvedEndpointParameters;
|
|
28
28
|
export declare const commonParams: {
|
|
29
29
|
readonly UseFIPS: {
|
|
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
4
|
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
export interface TranscribeStreamingExtensionConfiguration
|
|
6
|
-
extends
|
|
6
|
+
extends
|
|
7
|
+
HttpHandlerExtensionConfiguration,
|
|
7
8
|
DefaultExtensionConfiguration,
|
|
8
9
|
AwsRegionExtensionConfiguration,
|
|
9
10
|
HttpAuthExtensionConfiguration {}
|
|
@@ -7,8 +7,7 @@ export declare const ParticipantRole: {
|
|
|
7
7
|
readonly AGENT: "AGENT";
|
|
8
8
|
readonly CUSTOMER: "CUSTOMER";
|
|
9
9
|
};
|
|
10
|
-
export type ParticipantRole =
|
|
11
|
-
(typeof ParticipantRole)[keyof typeof ParticipantRole];
|
|
10
|
+
export type ParticipantRole = (typeof ParticipantRole)[keyof typeof ParticipantRole];
|
|
12
11
|
export declare const ContentRedactionOutput: {
|
|
13
12
|
readonly REDACTED: "redacted";
|
|
14
13
|
readonly REDACTED_AND_UNREDACTED: "redacted_and_unredacted";
|
|
@@ -61,8 +60,7 @@ export type ContentIdentificationType =
|
|
|
61
60
|
export declare const ContentRedactionType: {
|
|
62
61
|
readonly PII: "PII";
|
|
63
62
|
};
|
|
64
|
-
export type ContentRedactionType =
|
|
65
|
-
(typeof ContentRedactionType)[keyof typeof ContentRedactionType];
|
|
63
|
+
export type ContentRedactionType = (typeof ContentRedactionType)[keyof typeof ContentRedactionType];
|
|
66
64
|
export declare const MedicalScribeParticipantRole: {
|
|
67
65
|
readonly CLINICIAN: "CLINICIAN";
|
|
68
66
|
readonly PATIENT: "PATIENT";
|
|
@@ -4,9 +4,7 @@ export declare class BadRequestException extends __BaseException {
|
|
|
4
4
|
readonly name: "BadRequestException";
|
|
5
5
|
readonly $fault: "client";
|
|
6
6
|
Message?: string | undefined;
|
|
7
|
-
constructor(
|
|
8
|
-
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
9
|
-
);
|
|
7
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
10
8
|
}
|
|
11
9
|
export declare class ConflictException extends __BaseException {
|
|
12
10
|
readonly name: "ConflictException";
|
|
@@ -18,31 +16,23 @@ export declare class InternalFailureException extends __BaseException {
|
|
|
18
16
|
readonly name: "InternalFailureException";
|
|
19
17
|
readonly $fault: "server";
|
|
20
18
|
Message?: string | undefined;
|
|
21
|
-
constructor(
|
|
22
|
-
opts: __ExceptionOptionType<InternalFailureException, __BaseException>
|
|
23
|
-
);
|
|
19
|
+
constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
|
|
24
20
|
}
|
|
25
21
|
export declare class LimitExceededException extends __BaseException {
|
|
26
22
|
readonly name: "LimitExceededException";
|
|
27
23
|
readonly $fault: "client";
|
|
28
24
|
Message?: string | undefined;
|
|
29
|
-
constructor(
|
|
30
|
-
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
31
|
-
);
|
|
25
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
32
26
|
}
|
|
33
27
|
export declare class ServiceUnavailableException extends __BaseException {
|
|
34
28
|
readonly name: "ServiceUnavailableException";
|
|
35
29
|
readonly $fault: "server";
|
|
36
30
|
Message?: string | undefined;
|
|
37
|
-
constructor(
|
|
38
|
-
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
39
|
-
);
|
|
31
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
40
32
|
}
|
|
41
33
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
42
34
|
readonly name: "ResourceNotFoundException";
|
|
43
35
|
readonly $fault: "client";
|
|
44
36
|
Message?: string | undefined;
|
|
45
|
-
constructor(
|
|
46
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
47
|
-
);
|
|
37
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
48
38
|
}
|
|
@@ -292,12 +292,8 @@ export interface MedicalScribeStreamDetails {
|
|
|
292
292
|
ChannelDefinitions?: MedicalScribeChannelDefinition[] | undefined;
|
|
293
293
|
EncryptionSettings?: MedicalScribeEncryptionSettings | undefined;
|
|
294
294
|
StreamStatus?: MedicalScribeStreamStatus | undefined;
|
|
295
|
-
PostStreamAnalyticsSettings?:
|
|
296
|
-
|
|
297
|
-
| undefined;
|
|
298
|
-
PostStreamAnalyticsResult?:
|
|
299
|
-
| MedicalScribePostStreamAnalyticsResult
|
|
300
|
-
| undefined;
|
|
295
|
+
PostStreamAnalyticsSettings?: MedicalScribePostStreamAnalyticsSettings | undefined;
|
|
296
|
+
PostStreamAnalyticsResult?: MedicalScribePostStreamAnalyticsResult | undefined;
|
|
301
297
|
MedicalScribeContextProvided?: boolean | undefined;
|
|
302
298
|
}
|
|
303
299
|
export interface GetMedicalScribeStreamResponse {
|
|
@@ -351,9 +347,7 @@ export interface MedicalScribeConfigurationEvent {
|
|
|
351
347
|
ResourceAccessRoleArn: string | undefined;
|
|
352
348
|
ChannelDefinitions?: MedicalScribeChannelDefinition[] | undefined;
|
|
353
349
|
EncryptionSettings?: MedicalScribeEncryptionSettings | undefined;
|
|
354
|
-
PostStreamAnalyticsSettings:
|
|
355
|
-
| MedicalScribePostStreamAnalyticsSettings
|
|
356
|
-
| undefined;
|
|
350
|
+
PostStreamAnalyticsSettings: MedicalScribePostStreamAnalyticsSettings | undefined;
|
|
357
351
|
MedicalScribeContext?: MedicalScribeContext | undefined;
|
|
358
352
|
}
|
|
359
353
|
export interface MedicalScribeSessionControlEvent {
|
|
@@ -680,9 +674,7 @@ export interface StartMedicalStreamTranscriptionResponse {
|
|
|
680
674
|
Type?: Type | undefined;
|
|
681
675
|
ShowSpeakerLabel?: boolean | undefined;
|
|
682
676
|
SessionId?: string | undefined;
|
|
683
|
-
TranscriptResultStream?:
|
|
684
|
-
| AsyncIterable<MedicalTranscriptResultStream>
|
|
685
|
-
| undefined;
|
|
677
|
+
TranscriptResultStream?: AsyncIterable<MedicalTranscriptResultStream> | undefined;
|
|
686
678
|
EnableChannelIdentification?: boolean | undefined;
|
|
687
679
|
NumberOfChannels?: number | undefined;
|
|
688
680
|
ContentIdentificationType?: MedicalContentIdentificationType | undefined;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { WebSocketFetchHandler as WebSocketRequestHandler } from "@aws-sdk/middleware-websocket";
|
|
2
2
|
import { TranscribeStreamingClientConfig } from "./TranscribeStreamingClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: TranscribeStreamingClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: TranscribeStreamingClientConfig) => {
|
|
6
4
|
runtime: string;
|
|
7
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
6
|
import("@smithy/core/client").ResolvedDefaultsMode
|
|
@@ -10,11 +8,9 @@ export declare const getRuntimeConfig: (
|
|
|
10
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
9
|
credentialDefaultProvider:
|
|
12
10
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
-
| ((
|
|
14
|
-
_: unknown
|
|
15
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
16
12
|
defaultUserAgentProvider: (
|
|
17
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
13
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
18
14
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
19
15
|
eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
|
|
20
16
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
@@ -23,11 +19,7 @@ export declare const getRuntimeConfig: (
|
|
|
23
19
|
requestHandler: WebSocketRequestHandler;
|
|
24
20
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
25
21
|
streamCollector: (
|
|
26
|
-
stream:
|
|
27
|
-
| import("stream").Readable
|
|
28
|
-
| import("stream/web").ReadableStream
|
|
29
|
-
| ReadableStream
|
|
30
|
-
| Blob
|
|
22
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
31
23
|
) => Promise<Uint8Array>;
|
|
32
24
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
33
25
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -55,13 +47,8 @@ export declare const getRuntimeConfig: (
|
|
|
55
47
|
logger: import("@smithy/types").Logger;
|
|
56
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
57
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
58
|
-
userAgentAppId?:
|
|
59
|
-
|
|
60
|
-
| undefined
|
|
61
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
62
|
-
retryStrategy?:
|
|
63
|
-
| import("@smithy/types").RetryStrategy
|
|
64
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
50
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
51
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
65
52
|
endpoint?:
|
|
66
53
|
| ((
|
|
67
54
|
| string
|
|
@@ -83,7 +70,7 @@ export declare const getRuntimeConfig: (
|
|
|
83
70
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
84
71
|
context?: {
|
|
85
72
|
logger?: import("@smithy/types").Logger;
|
|
86
|
-
}
|
|
73
|
+
},
|
|
87
74
|
) => import("@smithy/types").EndpointV2;
|
|
88
75
|
tls?: boolean;
|
|
89
76
|
serviceConfiguredEndpoint?: never;
|
|
@@ -96,13 +83,13 @@ export declare const getRuntimeConfig: (
|
|
|
96
83
|
signer?:
|
|
97
84
|
| import("@smithy/types").RequestSigner
|
|
98
85
|
| ((
|
|
99
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
86
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
100
87
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
101
88
|
signingEscapePath?: boolean;
|
|
102
89
|
systemClockOffset?: number;
|
|
103
90
|
signingRegion?: string;
|
|
104
91
|
signerConstructor?: new (
|
|
105
92
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
106
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
93
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
107
94
|
) => import("@smithy/types").RequestSigner;
|
|
108
95
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { NodeHttp2Handler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
2
|
import { TranscribeStreamingClientConfig } from "./TranscribeStreamingClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: TranscribeStreamingClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: TranscribeStreamingClientConfig) => {
|
|
6
4
|
runtime: string;
|
|
7
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
6
|
import("@smithy/core/client").ResolvedDefaultsMode
|
|
@@ -12,25 +10,19 @@ export declare const getRuntimeConfig: (
|
|
|
12
10
|
credentialDefaultProvider:
|
|
13
11
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
14
12
|
| ((
|
|
15
|
-
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
13
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
16
14
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
17
15
|
defaultUserAgentProvider: (
|
|
18
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
16
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
19
17
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
20
18
|
eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
|
|
21
19
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
22
20
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
23
21
|
region: string | import("@smithy/types").Provider<string>;
|
|
24
|
-
requestHandler:
|
|
25
|
-
| RequestHandler
|
|
26
|
-
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
22
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
27
23
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
24
|
streamCollector: (
|
|
29
|
-
stream:
|
|
30
|
-
| import("stream").Readable
|
|
31
|
-
| import("stream/web").ReadableStream
|
|
32
|
-
| ReadableStream
|
|
33
|
-
| Blob
|
|
25
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
34
26
|
) => Promise<Uint8Array>;
|
|
35
27
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
36
28
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -57,9 +49,7 @@ export declare const getRuntimeConfig: (
|
|
|
57
49
|
logger: import("@smithy/types").Logger;
|
|
58
50
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
59
51
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
60
|
-
retryStrategy?:
|
|
61
|
-
| import("@smithy/types").RetryStrategy
|
|
62
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
52
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
63
53
|
endpoint?:
|
|
64
54
|
| ((
|
|
65
55
|
| string
|
|
@@ -81,7 +71,7 @@ export declare const getRuntimeConfig: (
|
|
|
81
71
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
82
72
|
context?: {
|
|
83
73
|
logger?: import("@smithy/types").Logger;
|
|
84
|
-
}
|
|
74
|
+
},
|
|
85
75
|
) => import("@smithy/types").EndpointV2;
|
|
86
76
|
tls?: boolean;
|
|
87
77
|
serviceConfiguredEndpoint?: never;
|
|
@@ -93,13 +83,13 @@ export declare const getRuntimeConfig: (
|
|
|
93
83
|
signer?:
|
|
94
84
|
| import("@smithy/types").RequestSigner
|
|
95
85
|
| ((
|
|
96
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
86
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
97
87
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
98
88
|
signingEscapePath?: boolean;
|
|
99
89
|
systemClockOffset?: number;
|
|
100
90
|
signingRegion?: string;
|
|
101
91
|
signerConstructor?: new (
|
|
102
92
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
103
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
93
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
104
94
|
) => import("@smithy/types").RequestSigner;
|
|
105
95
|
};
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { TranscribeStreamingClientConfig } from "./TranscribeStreamingClient";
|
|
2
|
-
export declare const getRuntimeConfig: (
|
|
3
|
-
config: TranscribeStreamingClientConfig
|
|
4
|
-
) => {
|
|
2
|
+
export declare const getRuntimeConfig: (config: TranscribeStreamingClientConfig) => {
|
|
5
3
|
runtime: string;
|
|
6
4
|
eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
|
|
7
5
|
requestHandler:
|
|
@@ -36,11 +34,7 @@ export declare const getRuntimeConfig: (
|
|
|
36
34
|
urlParser: import("@smithy/types").UrlParser;
|
|
37
35
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
38
36
|
streamCollector: (
|
|
39
|
-
stream:
|
|
40
|
-
| import("stream").Readable
|
|
41
|
-
| import("stream/web").ReadableStream
|
|
42
|
-
| ReadableStream
|
|
43
|
-
| Blob
|
|
37
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
44
38
|
) => Promise<Uint8Array>;
|
|
45
39
|
base64Decoder: import("@smithy/types").Decoder;
|
|
46
40
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -55,13 +49,11 @@ export declare const getRuntimeConfig: (
|
|
|
55
49
|
region: string | import("@smithy/types").Provider<any>;
|
|
56
50
|
profile?: string;
|
|
57
51
|
defaultUserAgentProvider: (
|
|
58
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
52
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
59
53
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
60
54
|
credentialDefaultProvider:
|
|
61
55
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
62
|
-
| ((
|
|
63
|
-
_: unknown
|
|
64
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
56
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
65
57
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
66
58
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
67
59
|
logger: import("@smithy/types").Logger;
|
|
@@ -69,17 +61,10 @@ export declare const getRuntimeConfig: (
|
|
|
69
61
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
70
62
|
defaultsMode:
|
|
71
63
|
| import("@smithy/core/client").DefaultsMode
|
|
72
|
-
| import("@smithy/types").Provider<
|
|
73
|
-
import("@smithy/core/client").DefaultsMode
|
|
74
|
-
>;
|
|
64
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
75
65
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
76
|
-
userAgentAppId?:
|
|
77
|
-
|
|
78
|
-
| undefined
|
|
79
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
80
|
-
retryStrategy?:
|
|
81
|
-
| import("@smithy/types").RetryStrategy
|
|
82
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
66
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
67
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
83
68
|
endpoint?:
|
|
84
69
|
| ((
|
|
85
70
|
| string
|
|
@@ -101,7 +86,7 @@ export declare const getRuntimeConfig: (
|
|
|
101
86
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
102
87
|
context?: {
|
|
103
88
|
logger?: import("@smithy/types").Logger;
|
|
104
|
-
}
|
|
89
|
+
},
|
|
105
90
|
) => import("@smithy/types").EndpointV2;
|
|
106
91
|
tls?: boolean;
|
|
107
92
|
serviceConfiguredEndpoint?: never;
|
|
@@ -114,13 +99,13 @@ export declare const getRuntimeConfig: (
|
|
|
114
99
|
signer?:
|
|
115
100
|
| import("@smithy/types").RequestSigner
|
|
116
101
|
| ((
|
|
117
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
102
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
118
103
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
119
104
|
signingEscapePath?: boolean;
|
|
120
105
|
systemClockOffset?: number;
|
|
121
106
|
signingRegion?: string;
|
|
122
107
|
signerConstructor?: new (
|
|
123
108
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
124
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
109
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
125
110
|
) => import("@smithy/types").RequestSigner;
|
|
126
111
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
2
|
import { TranscribeStreamingClientConfig } from "./TranscribeStreamingClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: TranscribeStreamingClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: TranscribeStreamingClientConfig) => {
|
|
6
4
|
apiVersion: string;
|
|
7
5
|
base64Decoder: import("@smithy/types").Decoder;
|
|
8
6
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -11,7 +9,7 @@ export declare const getRuntimeConfig: (
|
|
|
11
9
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
12
10
|
context?: {
|
|
13
11
|
logger?: import("@smithy/types").Logger;
|
|
14
|
-
}
|
|
12
|
+
},
|
|
15
13
|
) => import("@smithy/types").EndpointV2;
|
|
16
14
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
17
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TranscribeStreamingHttpAuthSchemeProvider;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { TranscribeStreamingExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
export interface RuntimeExtension {
|
|
3
|
-
configure(
|
|
4
|
-
extensionConfiguration: TranscribeStreamingExtensionConfiguration
|
|
5
|
-
): void;
|
|
3
|
+
configure(extensionConfiguration: TranscribeStreamingExtensionConfiguration): void;
|
|
6
4
|
}
|
|
7
5
|
export interface RuntimeExtensionsConfig {
|
|
8
6
|
extensions: RuntimeExtension[];
|
|
9
7
|
}
|
|
10
8
|
export declare const resolveRuntimeExtensions: (
|
|
11
9
|
runtimeConfig: any,
|
|
12
|
-
extensions: RuntimeExtension[]
|
|
10
|
+
extensions: RuntimeExtension[],
|
|
13
11
|
) => any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-transcribe-streaming",
|
|
3
|
+
"version": "3.1088.0",
|
|
3
4
|
"description": "AWS SDK for JavaScript Transcribe Streaming Client for Node.js, Browser and React Native",
|
|
4
|
-
"
|
|
5
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-transcribe-streaming",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "AWS SDK for JavaScript Team",
|
|
9
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
14
|
+
"directory": "clients/client-transcribe-streaming"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist-*/**"
|
|
18
|
+
],
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"main": "./dist-cjs/index.js",
|
|
21
|
+
"module": "./dist-es/index.js",
|
|
22
|
+
"browser": {
|
|
23
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
24
|
+
},
|
|
25
|
+
"types": "./dist-types/index.d.ts",
|
|
26
|
+
"typesVersions": {
|
|
27
|
+
"<4.5": {
|
|
28
|
+
"dist-types/*": [
|
|
29
|
+
"dist-types/ts3.4/*"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"react-native": {
|
|
34
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
35
|
+
},
|
|
5
36
|
"scripts": {
|
|
6
37
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
38
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -22,26 +53,22 @@
|
|
|
22
53
|
"test:browser:watch": "yarn g:vitest watch -c vitest.config.browser.e2e.mts",
|
|
23
54
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
24
55
|
},
|
|
25
|
-
"main": "./dist-cjs/index.js",
|
|
26
|
-
"types": "./dist-types/index.d.ts",
|
|
27
|
-
"module": "./dist-es/index.js",
|
|
28
|
-
"sideEffects": false,
|
|
29
56
|
"dependencies": {
|
|
30
|
-
"@aws-sdk/core": "^3.975.
|
|
31
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
32
|
-
"@aws-sdk/eventstream-handler-node": "^3.972.
|
|
33
|
-
"@aws-sdk/middleware-eventstream": "^3.972.
|
|
34
|
-
"@aws-sdk/middleware-sdk-transcribe-streaming": "^3.972.
|
|
35
|
-
"@aws-sdk/middleware-websocket": "^3.972.
|
|
36
|
-
"@aws-sdk/types": "^3.974.
|
|
37
|
-
"@smithy/core": "^3.29.
|
|
38
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
39
|
-
"@smithy/node-http-handler": "^4.9.
|
|
40
|
-
"@smithy/types": "^4.16.
|
|
57
|
+
"@aws-sdk/core": "^3.975.3",
|
|
58
|
+
"@aws-sdk/credential-provider-node": "^3.972.69",
|
|
59
|
+
"@aws-sdk/eventstream-handler-node": "^3.972.28",
|
|
60
|
+
"@aws-sdk/middleware-eventstream": "^3.972.24",
|
|
61
|
+
"@aws-sdk/middleware-sdk-transcribe-streaming": "^3.972.27",
|
|
62
|
+
"@aws-sdk/middleware-websocket": "^3.972.41",
|
|
63
|
+
"@aws-sdk/types": "^3.974.2",
|
|
64
|
+
"@smithy/core": "^3.29.4",
|
|
65
|
+
"@smithy/fetch-http-handler": "^5.6.6",
|
|
66
|
+
"@smithy/node-http-handler": "^4.9.6",
|
|
67
|
+
"@smithy/types": "^4.16.1",
|
|
41
68
|
"tslib": "^2.6.2"
|
|
42
69
|
},
|
|
43
70
|
"devDependencies": {
|
|
44
|
-
"@smithy/snapshot-testing": "^2.2.
|
|
71
|
+
"@smithy/snapshot-testing": "^2.2.9",
|
|
45
72
|
"@tsconfig/node20": "20.1.8",
|
|
46
73
|
"@types/node": "^20.14.8",
|
|
47
74
|
"concurrently": "7.0.0",
|
|
@@ -52,32 +79,5 @@
|
|
|
52
79
|
},
|
|
53
80
|
"engines": {
|
|
54
81
|
"node": ">=20.0.0"
|
|
55
|
-
},
|
|
56
|
-
"typesVersions": {
|
|
57
|
-
"<4.5": {
|
|
58
|
-
"dist-types/*": [
|
|
59
|
-
"dist-types/ts3.4/*"
|
|
60
|
-
]
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
"files": [
|
|
64
|
-
"dist-*/**"
|
|
65
|
-
],
|
|
66
|
-
"author": {
|
|
67
|
-
"name": "AWS SDK for JavaScript Team",
|
|
68
|
-
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
69
|
-
},
|
|
70
|
-
"license": "Apache-2.0",
|
|
71
|
-
"browser": {
|
|
72
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
73
|
-
},
|
|
74
|
-
"react-native": {
|
|
75
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
76
|
-
},
|
|
77
|
-
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-transcribe-streaming",
|
|
78
|
-
"repository": {
|
|
79
|
-
"type": "git",
|
|
80
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
81
|
-
"directory": "clients/client-transcribe-streaming"
|
|
82
82
|
}
|
|
83
83
|
}
|