@aws-sdk/client-transcribe-streaming 3.477.0 → 3.481.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/commands/StartCallAnalyticsStreamTranscriptionCommand.js +25 -47
- package/dist-cjs/commands/StartMedicalStreamTranscriptionCommand.js +25 -47
- package/dist-cjs/commands/StartStreamTranscriptionCommand.js +25 -47
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-es/commands/StartCallAnalyticsStreamTranscriptionCommand.js +25 -47
- package/dist-es/commands/StartMedicalStreamTranscriptionCommand.js +25 -47
- package/dist-es/commands/StartStreamTranscriptionCommand.js +25 -47
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-types/commands/StartCallAnalyticsStreamTranscriptionCommand.d.ts +6 -21
- package/dist-types/commands/StartMedicalStreamTranscriptionCommand.d.ts +6 -21
- package/dist-types/commands/StartStreamTranscriptionCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/commands/StartCallAnalyticsStreamTranscriptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartMedicalStreamTranscriptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartStreamTranscriptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/package.json +11 -11
|
@@ -7,54 +7,32 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
7
7
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
8
8
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
9
9
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
10
|
-
const
|
|
10
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
11
11
|
const models_0_1 = require("../models/models_0");
|
|
12
12
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
13
|
-
class StartCallAnalyticsStreamTranscriptionCommand extends smithy_client_1.Command
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
clientName,
|
|
38
|
-
commandName,
|
|
39
|
-
inputFilterSensitiveLog: models_0_1.StartCallAnalyticsStreamTranscriptionRequestFilterSensitiveLog,
|
|
40
|
-
outputFilterSensitiveLog: models_0_1.StartCallAnalyticsStreamTranscriptionResponseFilterSensitiveLog,
|
|
41
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
42
|
-
service: "Transcribe",
|
|
43
|
-
operation: "StartCallAnalyticsStreamTranscription",
|
|
44
|
-
eventStream: {
|
|
45
|
-
input: true,
|
|
46
|
-
output: true,
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
};
|
|
50
|
-
const { requestHandler } = configuration;
|
|
51
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
52
|
-
}
|
|
53
|
-
serialize(input, context) {
|
|
54
|
-
return (0, Aws_restJson1_1.se_StartCallAnalyticsStreamTranscriptionCommand)(input, context);
|
|
55
|
-
}
|
|
56
|
-
deserialize(output, context) {
|
|
57
|
-
return (0, Aws_restJson1_1.de_StartCallAnalyticsStreamTranscriptionCommand)(output, context);
|
|
58
|
-
}
|
|
13
|
+
class StartCallAnalyticsStreamTranscriptionCommand extends smithy_client_1.Command
|
|
14
|
+
.classBuilder()
|
|
15
|
+
.ep({
|
|
16
|
+
...EndpointParameters_1.commonParams,
|
|
17
|
+
})
|
|
18
|
+
.m(function (Command, cs, config, o) {
|
|
19
|
+
return [
|
|
20
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
21
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
22
|
+
(0, middleware_eventstream_1.getEventStreamPlugin)(config),
|
|
23
|
+
(0, middleware_websocket_1.getWebSocketPlugin)(config, { headerPrefix: "x-amzn-transcribe-" }),
|
|
24
|
+
];
|
|
25
|
+
})
|
|
26
|
+
.s("Transcribe", "StartCallAnalyticsStreamTranscription", {
|
|
27
|
+
eventStream: {
|
|
28
|
+
input: true,
|
|
29
|
+
output: true,
|
|
30
|
+
},
|
|
31
|
+
})
|
|
32
|
+
.n("TranscribeStreamingClient", "StartCallAnalyticsStreamTranscriptionCommand")
|
|
33
|
+
.f(models_0_1.StartCallAnalyticsStreamTranscriptionRequestFilterSensitiveLog, models_0_1.StartCallAnalyticsStreamTranscriptionResponseFilterSensitiveLog)
|
|
34
|
+
.ser(Aws_restJson1_1.se_StartCallAnalyticsStreamTranscriptionCommand)
|
|
35
|
+
.de(Aws_restJson1_1.de_StartCallAnalyticsStreamTranscriptionCommand)
|
|
36
|
+
.build() {
|
|
59
37
|
}
|
|
60
38
|
exports.StartCallAnalyticsStreamTranscriptionCommand = StartCallAnalyticsStreamTranscriptionCommand;
|
|
@@ -7,54 +7,32 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
7
7
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
8
8
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
9
9
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
10
|
-
const
|
|
10
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
11
11
|
const models_0_1 = require("../models/models_0");
|
|
12
12
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
13
|
-
class StartMedicalStreamTranscriptionCommand extends smithy_client_1.Command
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
clientName,
|
|
38
|
-
commandName,
|
|
39
|
-
inputFilterSensitiveLog: models_0_1.StartMedicalStreamTranscriptionRequestFilterSensitiveLog,
|
|
40
|
-
outputFilterSensitiveLog: models_0_1.StartMedicalStreamTranscriptionResponseFilterSensitiveLog,
|
|
41
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
42
|
-
service: "Transcribe",
|
|
43
|
-
operation: "StartMedicalStreamTranscription",
|
|
44
|
-
eventStream: {
|
|
45
|
-
input: true,
|
|
46
|
-
output: true,
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
};
|
|
50
|
-
const { requestHandler } = configuration;
|
|
51
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
52
|
-
}
|
|
53
|
-
serialize(input, context) {
|
|
54
|
-
return (0, Aws_restJson1_1.se_StartMedicalStreamTranscriptionCommand)(input, context);
|
|
55
|
-
}
|
|
56
|
-
deserialize(output, context) {
|
|
57
|
-
return (0, Aws_restJson1_1.de_StartMedicalStreamTranscriptionCommand)(output, context);
|
|
58
|
-
}
|
|
13
|
+
class StartMedicalStreamTranscriptionCommand extends smithy_client_1.Command
|
|
14
|
+
.classBuilder()
|
|
15
|
+
.ep({
|
|
16
|
+
...EndpointParameters_1.commonParams,
|
|
17
|
+
})
|
|
18
|
+
.m(function (Command, cs, config, o) {
|
|
19
|
+
return [
|
|
20
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
21
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
22
|
+
(0, middleware_eventstream_1.getEventStreamPlugin)(config),
|
|
23
|
+
(0, middleware_websocket_1.getWebSocketPlugin)(config, { headerPrefix: "x-amzn-transcribe-" }),
|
|
24
|
+
];
|
|
25
|
+
})
|
|
26
|
+
.s("Transcribe", "StartMedicalStreamTranscription", {
|
|
27
|
+
eventStream: {
|
|
28
|
+
input: true,
|
|
29
|
+
output: true,
|
|
30
|
+
},
|
|
31
|
+
})
|
|
32
|
+
.n("TranscribeStreamingClient", "StartMedicalStreamTranscriptionCommand")
|
|
33
|
+
.f(models_0_1.StartMedicalStreamTranscriptionRequestFilterSensitiveLog, models_0_1.StartMedicalStreamTranscriptionResponseFilterSensitiveLog)
|
|
34
|
+
.ser(Aws_restJson1_1.se_StartMedicalStreamTranscriptionCommand)
|
|
35
|
+
.de(Aws_restJson1_1.de_StartMedicalStreamTranscriptionCommand)
|
|
36
|
+
.build() {
|
|
59
37
|
}
|
|
60
38
|
exports.StartMedicalStreamTranscriptionCommand = StartMedicalStreamTranscriptionCommand;
|
|
@@ -7,54 +7,32 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
7
7
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
8
8
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
9
9
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
10
|
-
const
|
|
10
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
11
11
|
const models_0_1 = require("../models/models_0");
|
|
12
12
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
13
|
-
class StartStreamTranscriptionCommand extends smithy_client_1.Command
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
clientName,
|
|
38
|
-
commandName,
|
|
39
|
-
inputFilterSensitiveLog: models_0_1.StartStreamTranscriptionRequestFilterSensitiveLog,
|
|
40
|
-
outputFilterSensitiveLog: models_0_1.StartStreamTranscriptionResponseFilterSensitiveLog,
|
|
41
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
42
|
-
service: "Transcribe",
|
|
43
|
-
operation: "StartStreamTranscription",
|
|
44
|
-
eventStream: {
|
|
45
|
-
input: true,
|
|
46
|
-
output: true,
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
};
|
|
50
|
-
const { requestHandler } = configuration;
|
|
51
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
52
|
-
}
|
|
53
|
-
serialize(input, context) {
|
|
54
|
-
return (0, Aws_restJson1_1.se_StartStreamTranscriptionCommand)(input, context);
|
|
55
|
-
}
|
|
56
|
-
deserialize(output, context) {
|
|
57
|
-
return (0, Aws_restJson1_1.de_StartStreamTranscriptionCommand)(output, context);
|
|
58
|
-
}
|
|
13
|
+
class StartStreamTranscriptionCommand extends smithy_client_1.Command
|
|
14
|
+
.classBuilder()
|
|
15
|
+
.ep({
|
|
16
|
+
...EndpointParameters_1.commonParams,
|
|
17
|
+
})
|
|
18
|
+
.m(function (Command, cs, config, o) {
|
|
19
|
+
return [
|
|
20
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
21
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
22
|
+
(0, middleware_eventstream_1.getEventStreamPlugin)(config),
|
|
23
|
+
(0, middleware_websocket_1.getWebSocketPlugin)(config, { headerPrefix: "x-amzn-transcribe-" }),
|
|
24
|
+
];
|
|
25
|
+
})
|
|
26
|
+
.s("Transcribe", "StartStreamTranscription", {
|
|
27
|
+
eventStream: {
|
|
28
|
+
input: true,
|
|
29
|
+
output: true,
|
|
30
|
+
},
|
|
31
|
+
})
|
|
32
|
+
.n("TranscribeStreamingClient", "StartStreamTranscriptionCommand")
|
|
33
|
+
.f(models_0_1.StartStreamTranscriptionRequestFilterSensitiveLog, models_0_1.StartStreamTranscriptionResponseFilterSensitiveLog)
|
|
34
|
+
.ser(Aws_restJson1_1.se_StartStreamTranscriptionCommand)
|
|
35
|
+
.de(Aws_restJson1_1.de_StartStreamTranscriptionCommand)
|
|
36
|
+
.build() {
|
|
59
37
|
}
|
|
60
38
|
exports.StartStreamTranscriptionCommand = StartStreamTranscriptionCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -3,54 +3,32 @@ import { getWebSocketPlugin } from "@aws-sdk/middleware-websocket";
|
|
|
3
3
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
4
4
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
6
|
-
import {
|
|
6
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
7
7
|
import { StartCallAnalyticsStreamTranscriptionRequestFilterSensitiveLog, StartCallAnalyticsStreamTranscriptionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
8
8
|
import { de_StartCallAnalyticsStreamTranscriptionCommand, se_StartCallAnalyticsStreamTranscriptionCommand, } from "../protocols/Aws_restJson1";
|
|
9
9
|
export { $Command };
|
|
10
|
-
export class StartCallAnalyticsStreamTranscriptionCommand extends $Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
clientName,
|
|
35
|
-
commandName,
|
|
36
|
-
inputFilterSensitiveLog: StartCallAnalyticsStreamTranscriptionRequestFilterSensitiveLog,
|
|
37
|
-
outputFilterSensitiveLog: StartCallAnalyticsStreamTranscriptionResponseFilterSensitiveLog,
|
|
38
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
39
|
-
service: "Transcribe",
|
|
40
|
-
operation: "StartCallAnalyticsStreamTranscription",
|
|
41
|
-
eventStream: {
|
|
42
|
-
input: true,
|
|
43
|
-
output: true,
|
|
44
|
-
},
|
|
45
|
-
},
|
|
46
|
-
};
|
|
47
|
-
const { requestHandler } = configuration;
|
|
48
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
49
|
-
}
|
|
50
|
-
serialize(input, context) {
|
|
51
|
-
return se_StartCallAnalyticsStreamTranscriptionCommand(input, context);
|
|
52
|
-
}
|
|
53
|
-
deserialize(output, context) {
|
|
54
|
-
return de_StartCallAnalyticsStreamTranscriptionCommand(output, context);
|
|
55
|
-
}
|
|
10
|
+
export class StartCallAnalyticsStreamTranscriptionCommand extends $Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
18
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
getEventStreamPlugin(config),
|
|
20
|
+
getWebSocketPlugin(config, { headerPrefix: "x-amzn-transcribe-" }),
|
|
21
|
+
];
|
|
22
|
+
})
|
|
23
|
+
.s("Transcribe", "StartCallAnalyticsStreamTranscription", {
|
|
24
|
+
eventStream: {
|
|
25
|
+
input: true,
|
|
26
|
+
output: true,
|
|
27
|
+
},
|
|
28
|
+
})
|
|
29
|
+
.n("TranscribeStreamingClient", "StartCallAnalyticsStreamTranscriptionCommand")
|
|
30
|
+
.f(StartCallAnalyticsStreamTranscriptionRequestFilterSensitiveLog, StartCallAnalyticsStreamTranscriptionResponseFilterSensitiveLog)
|
|
31
|
+
.ser(se_StartCallAnalyticsStreamTranscriptionCommand)
|
|
32
|
+
.de(de_StartCallAnalyticsStreamTranscriptionCommand)
|
|
33
|
+
.build() {
|
|
56
34
|
}
|
|
@@ -3,54 +3,32 @@ import { getWebSocketPlugin } from "@aws-sdk/middleware-websocket";
|
|
|
3
3
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
4
4
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
6
|
-
import {
|
|
6
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
7
7
|
import { StartMedicalStreamTranscriptionRequestFilterSensitiveLog, StartMedicalStreamTranscriptionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
8
8
|
import { de_StartMedicalStreamTranscriptionCommand, se_StartMedicalStreamTranscriptionCommand, } from "../protocols/Aws_restJson1";
|
|
9
9
|
export { $Command };
|
|
10
|
-
export class StartMedicalStreamTranscriptionCommand extends $Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
clientName,
|
|
35
|
-
commandName,
|
|
36
|
-
inputFilterSensitiveLog: StartMedicalStreamTranscriptionRequestFilterSensitiveLog,
|
|
37
|
-
outputFilterSensitiveLog: StartMedicalStreamTranscriptionResponseFilterSensitiveLog,
|
|
38
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
39
|
-
service: "Transcribe",
|
|
40
|
-
operation: "StartMedicalStreamTranscription",
|
|
41
|
-
eventStream: {
|
|
42
|
-
input: true,
|
|
43
|
-
output: true,
|
|
44
|
-
},
|
|
45
|
-
},
|
|
46
|
-
};
|
|
47
|
-
const { requestHandler } = configuration;
|
|
48
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
49
|
-
}
|
|
50
|
-
serialize(input, context) {
|
|
51
|
-
return se_StartMedicalStreamTranscriptionCommand(input, context);
|
|
52
|
-
}
|
|
53
|
-
deserialize(output, context) {
|
|
54
|
-
return de_StartMedicalStreamTranscriptionCommand(output, context);
|
|
55
|
-
}
|
|
10
|
+
export class StartMedicalStreamTranscriptionCommand extends $Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
18
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
getEventStreamPlugin(config),
|
|
20
|
+
getWebSocketPlugin(config, { headerPrefix: "x-amzn-transcribe-" }),
|
|
21
|
+
];
|
|
22
|
+
})
|
|
23
|
+
.s("Transcribe", "StartMedicalStreamTranscription", {
|
|
24
|
+
eventStream: {
|
|
25
|
+
input: true,
|
|
26
|
+
output: true,
|
|
27
|
+
},
|
|
28
|
+
})
|
|
29
|
+
.n("TranscribeStreamingClient", "StartMedicalStreamTranscriptionCommand")
|
|
30
|
+
.f(StartMedicalStreamTranscriptionRequestFilterSensitiveLog, StartMedicalStreamTranscriptionResponseFilterSensitiveLog)
|
|
31
|
+
.ser(se_StartMedicalStreamTranscriptionCommand)
|
|
32
|
+
.de(de_StartMedicalStreamTranscriptionCommand)
|
|
33
|
+
.build() {
|
|
56
34
|
}
|
|
@@ -3,54 +3,32 @@ import { getWebSocketPlugin } from "@aws-sdk/middleware-websocket";
|
|
|
3
3
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
4
4
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
6
|
-
import {
|
|
6
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
7
7
|
import { StartStreamTranscriptionRequestFilterSensitiveLog, StartStreamTranscriptionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
8
8
|
import { de_StartStreamTranscriptionCommand, se_StartStreamTranscriptionCommand } from "../protocols/Aws_restJson1";
|
|
9
9
|
export { $Command };
|
|
10
|
-
export class StartStreamTranscriptionCommand extends $Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
clientName,
|
|
35
|
-
commandName,
|
|
36
|
-
inputFilterSensitiveLog: StartStreamTranscriptionRequestFilterSensitiveLog,
|
|
37
|
-
outputFilterSensitiveLog: StartStreamTranscriptionResponseFilterSensitiveLog,
|
|
38
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
39
|
-
service: "Transcribe",
|
|
40
|
-
operation: "StartStreamTranscription",
|
|
41
|
-
eventStream: {
|
|
42
|
-
input: true,
|
|
43
|
-
output: true,
|
|
44
|
-
},
|
|
45
|
-
},
|
|
46
|
-
};
|
|
47
|
-
const { requestHandler } = configuration;
|
|
48
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
49
|
-
}
|
|
50
|
-
serialize(input, context) {
|
|
51
|
-
return se_StartStreamTranscriptionCommand(input, context);
|
|
52
|
-
}
|
|
53
|
-
deserialize(output, context) {
|
|
54
|
-
return de_StartStreamTranscriptionCommand(output, context);
|
|
55
|
-
}
|
|
10
|
+
export class StartStreamTranscriptionCommand extends $Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
18
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
getEventStreamPlugin(config),
|
|
20
|
+
getWebSocketPlugin(config, { headerPrefix: "x-amzn-transcribe-" }),
|
|
21
|
+
];
|
|
22
|
+
})
|
|
23
|
+
.s("Transcribe", "StartStreamTranscription", {
|
|
24
|
+
eventStream: {
|
|
25
|
+
input: true,
|
|
26
|
+
output: true,
|
|
27
|
+
},
|
|
28
|
+
})
|
|
29
|
+
.n("TranscribeStreamingClient", "StartStreamTranscriptionCommand")
|
|
30
|
+
.f(StartStreamTranscriptionRequestFilterSensitiveLog, StartStreamTranscriptionResponseFilterSensitiveLog)
|
|
31
|
+
.ser(se_StartStreamTranscriptionCommand)
|
|
32
|
+
.de(de_StartStreamTranscriptionCommand)
|
|
33
|
+
.build() {
|
|
56
34
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "transcribe",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { StartCallAnalyticsStreamTranscriptionRequest, StartCallAnalyticsStreamTranscriptionResponse } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, TranscribeStreamingClientResolvedConfig } from "../TranscribeStreamingClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface StartCallAnalyticsStreamTranscriptionCommandInput extends Start
|
|
|
21
20
|
*/
|
|
22
21
|
export interface StartCallAnalyticsStreamTranscriptionCommandOutput extends StartCallAnalyticsStreamTranscriptionResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const StartCallAnalyticsStreamTranscriptionCommand_base: {
|
|
24
|
+
new (input: StartCallAnalyticsStreamTranscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<StartCallAnalyticsStreamTranscriptionCommandInput, StartCallAnalyticsStreamTranscriptionCommandOutput, TranscribeStreamingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to
|
|
@@ -206,23 +209,5 @@ export interface StartCallAnalyticsStreamTranscriptionCommandOutput extends Star
|
|
|
206
209
|
* <p>Base exception class for all service exceptions from TranscribeStreaming service.</p>
|
|
207
210
|
*
|
|
208
211
|
*/
|
|
209
|
-
export declare class StartCallAnalyticsStreamTranscriptionCommand extends
|
|
210
|
-
readonly input: StartCallAnalyticsStreamTranscriptionCommandInput;
|
|
211
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
212
|
-
/**
|
|
213
|
-
* @public
|
|
214
|
-
*/
|
|
215
|
-
constructor(input: StartCallAnalyticsStreamTranscriptionCommandInput);
|
|
216
|
-
/**
|
|
217
|
-
* @internal
|
|
218
|
-
*/
|
|
219
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranscribeStreamingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartCallAnalyticsStreamTranscriptionCommandInput, StartCallAnalyticsStreamTranscriptionCommandOutput>;
|
|
220
|
-
/**
|
|
221
|
-
* @internal
|
|
222
|
-
*/
|
|
223
|
-
private serialize;
|
|
224
|
-
/**
|
|
225
|
-
* @internal
|
|
226
|
-
*/
|
|
227
|
-
private deserialize;
|
|
212
|
+
export declare class StartCallAnalyticsStreamTranscriptionCommand extends StartCallAnalyticsStreamTranscriptionCommand_base {
|
|
228
213
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { StartMedicalStreamTranscriptionRequest, StartMedicalStreamTranscriptionResponse } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, TranscribeStreamingClientResolvedConfig } from "../TranscribeStreamingClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface StartMedicalStreamTranscriptionCommandInput extends StartMedica
|
|
|
21
20
|
*/
|
|
22
21
|
export interface StartMedicalStreamTranscriptionCommandOutput extends StartMedicalStreamTranscriptionResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const StartMedicalStreamTranscriptionCommand_base: {
|
|
24
|
+
new (input: StartMedicalStreamTranscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<StartMedicalStreamTranscriptionCommandInput, StartMedicalStreamTranscriptionCommandOutput, TranscribeStreamingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to
|
|
@@ -188,23 +191,5 @@ export interface StartMedicalStreamTranscriptionCommandOutput extends StartMedic
|
|
|
188
191
|
* <p>Base exception class for all service exceptions from TranscribeStreaming service.</p>
|
|
189
192
|
*
|
|
190
193
|
*/
|
|
191
|
-
export declare class StartMedicalStreamTranscriptionCommand extends
|
|
192
|
-
readonly input: StartMedicalStreamTranscriptionCommandInput;
|
|
193
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
194
|
-
/**
|
|
195
|
-
* @public
|
|
196
|
-
*/
|
|
197
|
-
constructor(input: StartMedicalStreamTranscriptionCommandInput);
|
|
198
|
-
/**
|
|
199
|
-
* @internal
|
|
200
|
-
*/
|
|
201
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranscribeStreamingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartMedicalStreamTranscriptionCommandInput, StartMedicalStreamTranscriptionCommandOutput>;
|
|
202
|
-
/**
|
|
203
|
-
* @internal
|
|
204
|
-
*/
|
|
205
|
-
private serialize;
|
|
206
|
-
/**
|
|
207
|
-
* @internal
|
|
208
|
-
*/
|
|
209
|
-
private deserialize;
|
|
194
|
+
export declare class StartMedicalStreamTranscriptionCommand extends StartMedicalStreamTranscriptionCommand_base {
|
|
210
195
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { StartStreamTranscriptionRequest, StartStreamTranscriptionResponse } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, TranscribeStreamingClientResolvedConfig } from "../TranscribeStreamingClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface StartStreamTranscriptionCommandInput extends StartStreamTranscr
|
|
|
21
20
|
*/
|
|
22
21
|
export interface StartStreamTranscriptionCommandOutput extends StartStreamTranscriptionResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const StartStreamTranscriptionCommand_base: {
|
|
24
|
+
new (input: StartStreamTranscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<StartStreamTranscriptionCommandInput, StartStreamTranscriptionCommandOutput, TranscribeStreamingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to
|
|
@@ -217,23 +220,5 @@ export interface StartStreamTranscriptionCommandOutput extends StartStreamTransc
|
|
|
217
220
|
* <p>Base exception class for all service exceptions from TranscribeStreaming service.</p>
|
|
218
221
|
*
|
|
219
222
|
*/
|
|
220
|
-
export declare class StartStreamTranscriptionCommand extends
|
|
221
|
-
readonly input: StartStreamTranscriptionCommandInput;
|
|
222
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
223
|
-
/**
|
|
224
|
-
* @public
|
|
225
|
-
*/
|
|
226
|
-
constructor(input: StartStreamTranscriptionCommandInput);
|
|
227
|
-
/**
|
|
228
|
-
* @internal
|
|
229
|
-
*/
|
|
230
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranscribeStreamingClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartStreamTranscriptionCommandInput, StartStreamTranscriptionCommandOutput>;
|
|
231
|
-
/**
|
|
232
|
-
* @internal
|
|
233
|
-
*/
|
|
234
|
-
private serialize;
|
|
235
|
-
/**
|
|
236
|
-
* @internal
|
|
237
|
-
*/
|
|
238
|
-
private deserialize;
|
|
223
|
+
export declare class StartStreamTranscriptionCommand extends StartStreamTranscriptionCommand_base {
|
|
239
224
|
}
|
|
@@ -14,6 +14,24 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
|
14
14
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
15
15
|
defaultSigningName: string;
|
|
16
16
|
};
|
|
17
|
+
export declare const commonParams: {
|
|
18
|
+
readonly UseFIPS: {
|
|
19
|
+
readonly type: "builtInParams";
|
|
20
|
+
readonly name: "useFipsEndpoint";
|
|
21
|
+
};
|
|
22
|
+
readonly Endpoint: {
|
|
23
|
+
readonly type: "builtInParams";
|
|
24
|
+
readonly name: "endpoint";
|
|
25
|
+
};
|
|
26
|
+
readonly Region: {
|
|
27
|
+
readonly type: "builtInParams";
|
|
28
|
+
readonly name: "region";
|
|
29
|
+
};
|
|
30
|
+
readonly UseDualStack: {
|
|
31
|
+
readonly type: "builtInParams";
|
|
32
|
+
readonly name: "useDualstackEndpoint";
|
|
33
|
+
};
|
|
34
|
+
};
|
|
17
35
|
export interface EndpointParameters extends __EndpointParameters {
|
|
18
36
|
Region?: string;
|
|
19
37
|
UseDualStack?: boolean;
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
Handler,
|
|
5
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
-
MetadataBearer as __MetadataBearer,
|
|
7
|
-
MiddlewareStack,
|
|
8
|
-
} from "@smithy/types";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
9
3
|
import {
|
|
10
4
|
StartCallAnalyticsStreamTranscriptionRequest,
|
|
11
5
|
StartCallAnalyticsStreamTranscriptionResponse,
|
|
@@ -21,22 +15,16 @@ export interface StartCallAnalyticsStreamTranscriptionCommandInput
|
|
|
21
15
|
export interface StartCallAnalyticsStreamTranscriptionCommandOutput
|
|
22
16
|
extends StartCallAnalyticsStreamTranscriptionResponse,
|
|
23
17
|
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
> {
|
|
29
|
-
readonly input: StartCallAnalyticsStreamTranscriptionCommandInput;
|
|
30
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
-
constructor(input: StartCallAnalyticsStreamTranscriptionCommandInput);
|
|
32
|
-
resolveMiddleware(
|
|
33
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
-
configuration: TranscribeStreamingClientResolvedConfig,
|
|
35
|
-
options?: __HttpHandlerOptions
|
|
36
|
-
): Handler<
|
|
18
|
+
declare const StartCallAnalyticsStreamTranscriptionCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: StartCallAnalyticsStreamTranscriptionCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
37
22
|
StartCallAnalyticsStreamTranscriptionCommandInput,
|
|
38
|
-
StartCallAnalyticsStreamTranscriptionCommandOutput
|
|
23
|
+
StartCallAnalyticsStreamTranscriptionCommandOutput,
|
|
24
|
+
TranscribeStreamingClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
39
27
|
>;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
30
|
+
export declare class StartCallAnalyticsStreamTranscriptionCommand extends StartCallAnalyticsStreamTranscriptionCommand_base {}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
Handler,
|
|
5
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
-
MetadataBearer as __MetadataBearer,
|
|
7
|
-
MiddlewareStack,
|
|
8
|
-
} from "@smithy/types";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
9
3
|
import {
|
|
10
4
|
StartMedicalStreamTranscriptionRequest,
|
|
11
5
|
StartMedicalStreamTranscriptionResponse,
|
|
@@ -21,22 +15,16 @@ export interface StartMedicalStreamTranscriptionCommandInput
|
|
|
21
15
|
export interface StartMedicalStreamTranscriptionCommandOutput
|
|
22
16
|
extends StartMedicalStreamTranscriptionResponse,
|
|
23
17
|
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
> {
|
|
29
|
-
readonly input: StartMedicalStreamTranscriptionCommandInput;
|
|
30
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
-
constructor(input: StartMedicalStreamTranscriptionCommandInput);
|
|
32
|
-
resolveMiddleware(
|
|
33
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
-
configuration: TranscribeStreamingClientResolvedConfig,
|
|
35
|
-
options?: __HttpHandlerOptions
|
|
36
|
-
): Handler<
|
|
18
|
+
declare const StartMedicalStreamTranscriptionCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: StartMedicalStreamTranscriptionCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
37
22
|
StartMedicalStreamTranscriptionCommandInput,
|
|
38
|
-
StartMedicalStreamTranscriptionCommandOutput
|
|
23
|
+
StartMedicalStreamTranscriptionCommandOutput,
|
|
24
|
+
TranscribeStreamingClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
39
27
|
>;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
30
|
+
export declare class StartMedicalStreamTranscriptionCommand extends StartMedicalStreamTranscriptionCommand_base {}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
4
|
-
Handler,
|
|
5
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
-
MetadataBearer as __MetadataBearer,
|
|
7
|
-
MiddlewareStack,
|
|
8
|
-
} from "@smithy/types";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
9
3
|
import {
|
|
10
4
|
StartStreamTranscriptionRequest,
|
|
11
5
|
StartStreamTranscriptionResponse,
|
|
@@ -21,22 +15,16 @@ export interface StartStreamTranscriptionCommandInput
|
|
|
21
15
|
export interface StartStreamTranscriptionCommandOutput
|
|
22
16
|
extends StartStreamTranscriptionResponse,
|
|
23
17
|
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
> {
|
|
29
|
-
readonly input: StartStreamTranscriptionCommandInput;
|
|
30
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
-
constructor(input: StartStreamTranscriptionCommandInput);
|
|
32
|
-
resolveMiddleware(
|
|
33
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
-
configuration: TranscribeStreamingClientResolvedConfig,
|
|
35
|
-
options?: __HttpHandlerOptions
|
|
36
|
-
): Handler<
|
|
18
|
+
declare const StartStreamTranscriptionCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: StartStreamTranscriptionCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
37
22
|
StartStreamTranscriptionCommandInput,
|
|
38
|
-
StartStreamTranscriptionCommandOutput
|
|
23
|
+
StartStreamTranscriptionCommandOutput,
|
|
24
|
+
TranscribeStreamingClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
39
27
|
>;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
30
|
+
export declare class StartStreamTranscriptionCommand extends StartStreamTranscriptionCommand_base {}
|
|
@@ -25,6 +25,24 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
25
25
|
ClientInputEndpointParameters & {
|
|
26
26
|
defaultSigningName: string;
|
|
27
27
|
};
|
|
28
|
+
export declare const commonParams: {
|
|
29
|
+
readonly UseFIPS: {
|
|
30
|
+
readonly type: "builtInParams";
|
|
31
|
+
readonly name: "useFipsEndpoint";
|
|
32
|
+
};
|
|
33
|
+
readonly Endpoint: {
|
|
34
|
+
readonly type: "builtInParams";
|
|
35
|
+
readonly name: "endpoint";
|
|
36
|
+
};
|
|
37
|
+
readonly Region: {
|
|
38
|
+
readonly type: "builtInParams";
|
|
39
|
+
readonly name: "region";
|
|
40
|
+
};
|
|
41
|
+
readonly UseDualStack: {
|
|
42
|
+
readonly type: "builtInParams";
|
|
43
|
+
readonly name: "useDualstackEndpoint";
|
|
44
|
+
};
|
|
45
|
+
};
|
|
28
46
|
export interface EndpointParameters extends __EndpointParameters {
|
|
29
47
|
Region?: string;
|
|
30
48
|
UseDualStack?: boolean;
|
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.481.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",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.481.0",
|
|
25
|
+
"@aws-sdk/core": "3.481.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.481.0",
|
|
27
27
|
"@aws-sdk/eventstream-handler-node": "3.468.0",
|
|
28
28
|
"@aws-sdk/middleware-eventstream": "3.468.0",
|
|
29
29
|
"@aws-sdk/middleware-host-header": "3.468.0",
|
|
@@ -31,15 +31,15 @@
|
|
|
31
31
|
"@aws-sdk/middleware-recursion-detection": "3.468.0",
|
|
32
32
|
"@aws-sdk/middleware-sdk-transcribe-streaming": "3.468.0",
|
|
33
33
|
"@aws-sdk/middleware-signing": "3.468.0",
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.478.0",
|
|
35
35
|
"@aws-sdk/middleware-websocket": "3.468.0",
|
|
36
36
|
"@aws-sdk/region-config-resolver": "3.470.0",
|
|
37
37
|
"@aws-sdk/types": "3.468.0",
|
|
38
|
-
"@aws-sdk/util-endpoints": "3.
|
|
38
|
+
"@aws-sdk/util-endpoints": "3.478.0",
|
|
39
39
|
"@aws-sdk/util-user-agent-browser": "3.468.0",
|
|
40
40
|
"@aws-sdk/util-user-agent-node": "3.470.0",
|
|
41
41
|
"@smithy/config-resolver": "^2.0.21",
|
|
42
|
-
"@smithy/core": "^1.2.
|
|
42
|
+
"@smithy/core": "^1.2.1",
|
|
43
43
|
"@smithy/eventstream-serde-browser": "^2.0.15",
|
|
44
44
|
"@smithy/eventstream-serde-config-resolver": "^2.0.15",
|
|
45
45
|
"@smithy/eventstream-serde-node": "^2.0.15",
|
|
@@ -48,20 +48,20 @@
|
|
|
48
48
|
"@smithy/invalid-dependency": "^2.0.15",
|
|
49
49
|
"@smithy/middleware-content-length": "^2.0.17",
|
|
50
50
|
"@smithy/middleware-endpoint": "^2.2.3",
|
|
51
|
-
"@smithy/middleware-retry": "^2.0.
|
|
51
|
+
"@smithy/middleware-retry": "^2.0.25",
|
|
52
52
|
"@smithy/middleware-serde": "^2.0.15",
|
|
53
53
|
"@smithy/middleware-stack": "^2.0.9",
|
|
54
54
|
"@smithy/node-config-provider": "^2.1.8",
|
|
55
55
|
"@smithy/node-http-handler": "^2.2.1",
|
|
56
56
|
"@smithy/protocol-http": "^3.0.11",
|
|
57
|
-
"@smithy/smithy-client": "^2.
|
|
57
|
+
"@smithy/smithy-client": "^2.2.0",
|
|
58
58
|
"@smithy/types": "^2.7.0",
|
|
59
59
|
"@smithy/url-parser": "^2.0.15",
|
|
60
60
|
"@smithy/util-base64": "^2.0.1",
|
|
61
61
|
"@smithy/util-body-length-browser": "^2.0.1",
|
|
62
62
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
63
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
64
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
63
|
+
"@smithy/util-defaults-mode-browser": "^2.0.23",
|
|
64
|
+
"@smithy/util-defaults-mode-node": "^2.0.30",
|
|
65
65
|
"@smithy/util-endpoints": "^1.0.7",
|
|
66
66
|
"@smithy/util-retry": "^2.0.8",
|
|
67
67
|
"@smithy/util-utf8": "^2.0.2",
|