@aws-sdk/client-transcribe-streaming 3.1076.0 → 3.1078.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.
Files changed (35) hide show
  1. package/dist-cjs/index.js +23 -103
  2. package/dist-es/commandBuilder.js +16 -0
  3. package/dist-es/commands/GetMedicalScribeStreamCommand.js +2 -14
  4. package/dist-es/commands/StartCallAnalyticsStreamTranscriptionCommand.js +2 -29
  5. package/dist-es/commands/StartMedicalScribeStreamCommand.js +2 -29
  6. package/dist-es/commands/StartMedicalStreamTranscriptionCommand.js +2 -29
  7. package/dist-es/commands/StartStreamTranscriptionCommand.js +2 -29
  8. package/dist-es/index.js +1 -0
  9. package/dist-es/runtimeConfig.browser.js +0 -2
  10. package/dist-es/runtimeConfig.js +1 -2
  11. package/dist-es/runtimeConfig.native.js +0 -2
  12. package/dist-es/runtimeConfig.shared.js +2 -0
  13. package/dist-types/commandBuilder.d.ts +22 -0
  14. package/dist-types/commands/GetMedicalScribeStreamCommand.d.ts +3 -8
  15. package/dist-types/commands/StartCallAnalyticsStreamTranscriptionCommand.d.ts +3 -8
  16. package/dist-types/commands/StartMedicalScribeStreamCommand.d.ts +3 -8
  17. package/dist-types/commands/StartMedicalStreamTranscriptionCommand.d.ts +3 -8
  18. package/dist-types/commands/StartStreamTranscriptionCommand.d.ts +3 -8
  19. package/dist-types/index.d.ts +1 -0
  20. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  21. package/dist-types/runtimeConfig.d.ts +1 -1
  22. package/dist-types/runtimeConfig.native.d.ts +1 -1
  23. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  24. package/dist-types/ts3.4/commandBuilder.d.ts +52 -0
  25. package/dist-types/ts3.4/commands/GetMedicalScribeStreamCommand.d.ts +7 -16
  26. package/dist-types/ts3.4/commands/StartCallAnalyticsStreamTranscriptionCommand.d.ts +7 -16
  27. package/dist-types/ts3.4/commands/StartMedicalScribeStreamCommand.d.ts +7 -16
  28. package/dist-types/ts3.4/commands/StartMedicalStreamTranscriptionCommand.d.ts +7 -16
  29. package/dist-types/ts3.4/commands/StartStreamTranscriptionCommand.d.ts +7 -16
  30. package/dist-types/ts3.4/index.d.ts +1 -0
  31. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  32. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  33. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  34. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  35. package/package.json +13 -15
package/dist-cjs/index.js CHANGED
@@ -2,8 +2,9 @@ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsu
2
2
  const { resolveEventStreamConfig, getEventStreamPlugin } = require("@aws-sdk/middleware-eventstream");
3
3
  const { resolveWebSocketConfig, getWebSocketPlugin } = require("@aws-sdk/middleware-websocket");
4
4
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");
5
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
6
- exports.$Command = Command;
5
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
6
+ const { Command: $Command } = require("@smithy/core/client");
7
+ exports.$Command = $Command;
7
8
  exports.__Client = Client;
8
9
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
9
10
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -14,9 +15,10 @@ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
14
15
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
15
16
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
16
17
  const { eventStreamPayloadHandlerProvider } = require("@aws-sdk/eventstream-handler-node");
17
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
18
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
18
19
  const { streamCollector, NodeHttp2Handler } = require("@smithy/node-http-handler");
19
20
  const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
21
+ const { Sha256 } = require("@smithy/core/checksum");
20
22
  const { getTranscribeStreamingPlugin } = require("@aws-sdk/middleware-sdk-transcribe-streaming");
21
23
 
22
24
  const defaultTranscribeStreamingHttpAuthSchemeParametersProvider = async (config, context, input) => {
@@ -72,7 +74,7 @@ const commonParams = {
72
74
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
73
75
  };
74
76
 
75
- var version = "3.1075.0";
77
+ var version = "3.1077.0";
76
78
  var packageInfo = {
77
79
  version: version};
78
80
 
@@ -855,6 +857,7 @@ const getRuntimeConfig$1 = (config) => {
855
857
  serviceTarget: "Transcribe",
856
858
  },
857
859
  serviceId: config?.serviceId ?? "Transcribe Streaming",
860
+ sha256: config?.sha256 ?? Sha256,
858
861
  urlParser: config?.urlParser ?? parseUrl,
859
862
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
860
863
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -893,7 +896,6 @@ const getRuntimeConfig = (config) => {
893
896
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
894
897
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
895
898
  }, config),
896
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
897
899
  streamCollector: config?.streamCollector ?? streamCollector,
898
900
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
899
901
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -984,112 +986,30 @@ class TranscribeStreamingClient extends Client {
984
986
  }
985
987
  }
986
988
 
987
- class GetMedicalScribeStreamCommand extends Command
988
- .classBuilder()
989
- .ep(commonParams)
990
- .m(function (Command, cs, config, o) {
991
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
992
- })
993
- .s("Transcribe", "GetMedicalScribeStream", {})
994
- .n("TranscribeStreamingClient", "GetMedicalScribeStreamCommand")
995
- .sc(GetMedicalScribeStream$)
996
- .build() {
989
+ const command = makeBuilder(commonParams, "Transcribe", "TranscribeStreamingClient", getEndpointPlugin);
990
+ const _ep0 = {};
991
+ const _mw0 = (Command, cs, config, o) => [];
992
+ const _mw1 = (Command, cs, config, o) => [
993
+ getEventStreamPlugin(config),
994
+ getWebSocketPlugin(config, {
995
+ headerPrefix: "x-amzn-transcribe-",
996
+ }),
997
+ getTranscribeStreamingPlugin(config),
998
+ ];
999
+
1000
+ class GetMedicalScribeStreamCommand extends command(_ep0, _mw0, "GetMedicalScribeStream", GetMedicalScribeStream$) {
997
1001
  }
998
1002
 
999
- class StartCallAnalyticsStreamTranscriptionCommand extends Command
1000
- .classBuilder()
1001
- .ep(commonParams)
1002
- .m(function (Command, cs, config, o) {
1003
- return [
1004
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1005
- getEventStreamPlugin(config),
1006
- getWebSocketPlugin(config, {
1007
- headerPrefix: 'x-amzn-transcribe-',
1008
- }),
1009
- getTranscribeStreamingPlugin(config),
1010
- ];
1011
- })
1012
- .s("Transcribe", "StartCallAnalyticsStreamTranscription", {
1013
- eventStream: {
1014
- input: true,
1015
- output: true,
1016
- },
1017
- })
1018
- .n("TranscribeStreamingClient", "StartCallAnalyticsStreamTranscriptionCommand")
1019
- .sc(StartCallAnalyticsStreamTranscription$)
1020
- .build() {
1003
+ class StartCallAnalyticsStreamTranscriptionCommand extends command(_ep0, _mw1, "StartCallAnalyticsStreamTranscription", StartCallAnalyticsStreamTranscription$) {
1021
1004
  }
1022
1005
 
1023
- class StartMedicalScribeStreamCommand extends Command
1024
- .classBuilder()
1025
- .ep(commonParams)
1026
- .m(function (Command, cs, config, o) {
1027
- return [
1028
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1029
- getEventStreamPlugin(config),
1030
- getWebSocketPlugin(config, {
1031
- headerPrefix: 'x-amzn-transcribe-',
1032
- }),
1033
- getTranscribeStreamingPlugin(config),
1034
- ];
1035
- })
1036
- .s("Transcribe", "StartMedicalScribeStream", {
1037
- eventStream: {
1038
- input: true,
1039
- output: true,
1040
- },
1041
- })
1042
- .n("TranscribeStreamingClient", "StartMedicalScribeStreamCommand")
1043
- .sc(StartMedicalScribeStream$)
1044
- .build() {
1006
+ class StartMedicalScribeStreamCommand extends command(_ep0, _mw1, "StartMedicalScribeStream", StartMedicalScribeStream$) {
1045
1007
  }
1046
1008
 
1047
- class StartMedicalStreamTranscriptionCommand extends Command
1048
- .classBuilder()
1049
- .ep(commonParams)
1050
- .m(function (Command, cs, config, o) {
1051
- return [
1052
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1053
- getEventStreamPlugin(config),
1054
- getWebSocketPlugin(config, {
1055
- headerPrefix: 'x-amzn-transcribe-',
1056
- }),
1057
- getTranscribeStreamingPlugin(config),
1058
- ];
1059
- })
1060
- .s("Transcribe", "StartMedicalStreamTranscription", {
1061
- eventStream: {
1062
- input: true,
1063
- output: true,
1064
- },
1065
- })
1066
- .n("TranscribeStreamingClient", "StartMedicalStreamTranscriptionCommand")
1067
- .sc(StartMedicalStreamTranscription$)
1068
- .build() {
1009
+ class StartMedicalStreamTranscriptionCommand extends command(_ep0, _mw1, "StartMedicalStreamTranscription", StartMedicalStreamTranscription$) {
1069
1010
  }
1070
1011
 
1071
- class StartStreamTranscriptionCommand extends Command
1072
- .classBuilder()
1073
- .ep(commonParams)
1074
- .m(function (Command, cs, config, o) {
1075
- return [
1076
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1077
- getEventStreamPlugin(config),
1078
- getWebSocketPlugin(config, {
1079
- headerPrefix: 'x-amzn-transcribe-',
1080
- }),
1081
- getTranscribeStreamingPlugin(config),
1082
- ];
1083
- })
1084
- .s("Transcribe", "StartStreamTranscription", {
1085
- eventStream: {
1086
- input: true,
1087
- output: true,
1088
- },
1089
- })
1090
- .n("TranscribeStreamingClient", "StartStreamTranscriptionCommand")
1091
- .sc(StartStreamTranscription$)
1092
- .build() {
1012
+ class StartStreamTranscriptionCommand extends command(_ep0, _mw1, "StartStreamTranscription", StartStreamTranscription$) {
1093
1013
  }
1094
1014
 
1095
1015
  const commands = {
@@ -0,0 +1,16 @@
1
+ import { getEventStreamPlugin } from "@aws-sdk/middleware-eventstream";
2
+ import { getTranscribeStreamingPlugin } from "@aws-sdk/middleware-sdk-transcribe-streaming";
3
+ import { getWebSocketPlugin } from "@aws-sdk/middleware-websocket";
4
+ import { makeBuilder } from "@smithy/core/client";
5
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
6
+ import { commonParams } from "./endpoint/EndpointParameters";
7
+ export const command = makeBuilder(commonParams, "Transcribe", "TranscribeStreamingClient", getEndpointPlugin);
8
+ export const _ep0 = {};
9
+ export const _mw0 = (Command, cs, config, o) => [];
10
+ export const _mw1 = (Command, cs, config, o) => [
11
+ getEventStreamPlugin(config),
12
+ getWebSocketPlugin(config, {
13
+ headerPrefix: "x-amzn-transcribe-",
14
+ }),
15
+ getTranscribeStreamingPlugin(config),
16
+ ];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetMedicalScribeStream$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetMedicalScribeStreamCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Transcribe", "GetMedicalScribeStream", {})
13
- .n("TranscribeStreamingClient", "GetMedicalScribeStreamCommand")
14
- .sc(GetMedicalScribeStream$)
15
- .build() {
3
+ export class GetMedicalScribeStreamCommand extends command(_ep0, _mw0, "GetMedicalScribeStream", GetMedicalScribeStream$) {
16
4
  }
@@ -1,31 +1,4 @@
1
- import { getEventStreamPlugin } from "@aws-sdk/middleware-eventstream";
2
- import { getTranscribeStreamingPlugin } from "@aws-sdk/middleware-sdk-transcribe-streaming";
3
- import { getWebSocketPlugin } from "@aws-sdk/middleware-websocket";
4
- import { Command as $Command } from "@smithy/core/client";
5
- import { getEndpointPlugin } from "@smithy/core/endpoints";
6
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw1, command } from "../commandBuilder";
7
2
  import { StartCallAnalyticsStreamTranscription$ } from "../schemas/schemas_0";
8
- export { $Command };
9
- export class StartCallAnalyticsStreamTranscriptionCommand extends $Command
10
- .classBuilder()
11
- .ep(commonParams)
12
- .m(function (Command, cs, config, o) {
13
- return [
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- getEventStreamPlugin(config),
16
- getWebSocketPlugin(config, {
17
- headerPrefix: 'x-amzn-transcribe-',
18
- }),
19
- getTranscribeStreamingPlugin(config),
20
- ];
21
- })
22
- .s("Transcribe", "StartCallAnalyticsStreamTranscription", {
23
- eventStream: {
24
- input: true,
25
- output: true,
26
- },
27
- })
28
- .n("TranscribeStreamingClient", "StartCallAnalyticsStreamTranscriptionCommand")
29
- .sc(StartCallAnalyticsStreamTranscription$)
30
- .build() {
3
+ export class StartCallAnalyticsStreamTranscriptionCommand extends command(_ep0, _mw1, "StartCallAnalyticsStreamTranscription", StartCallAnalyticsStreamTranscription$) {
31
4
  }
@@ -1,31 +1,4 @@
1
- import { getEventStreamPlugin } from "@aws-sdk/middleware-eventstream";
2
- import { getTranscribeStreamingPlugin } from "@aws-sdk/middleware-sdk-transcribe-streaming";
3
- import { getWebSocketPlugin } from "@aws-sdk/middleware-websocket";
4
- import { Command as $Command } from "@smithy/core/client";
5
- import { getEndpointPlugin } from "@smithy/core/endpoints";
6
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw1, command } from "../commandBuilder";
7
2
  import { StartMedicalScribeStream$ } from "../schemas/schemas_0";
8
- export { $Command };
9
- export class StartMedicalScribeStreamCommand extends $Command
10
- .classBuilder()
11
- .ep(commonParams)
12
- .m(function (Command, cs, config, o) {
13
- return [
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- getEventStreamPlugin(config),
16
- getWebSocketPlugin(config, {
17
- headerPrefix: 'x-amzn-transcribe-',
18
- }),
19
- getTranscribeStreamingPlugin(config),
20
- ];
21
- })
22
- .s("Transcribe", "StartMedicalScribeStream", {
23
- eventStream: {
24
- input: true,
25
- output: true,
26
- },
27
- })
28
- .n("TranscribeStreamingClient", "StartMedicalScribeStreamCommand")
29
- .sc(StartMedicalScribeStream$)
30
- .build() {
3
+ export class StartMedicalScribeStreamCommand extends command(_ep0, _mw1, "StartMedicalScribeStream", StartMedicalScribeStream$) {
31
4
  }
@@ -1,31 +1,4 @@
1
- import { getEventStreamPlugin } from "@aws-sdk/middleware-eventstream";
2
- import { getTranscribeStreamingPlugin } from "@aws-sdk/middleware-sdk-transcribe-streaming";
3
- import { getWebSocketPlugin } from "@aws-sdk/middleware-websocket";
4
- import { Command as $Command } from "@smithy/core/client";
5
- import { getEndpointPlugin } from "@smithy/core/endpoints";
6
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw1, command } from "../commandBuilder";
7
2
  import { StartMedicalStreamTranscription$ } from "../schemas/schemas_0";
8
- export { $Command };
9
- export class StartMedicalStreamTranscriptionCommand extends $Command
10
- .classBuilder()
11
- .ep(commonParams)
12
- .m(function (Command, cs, config, o) {
13
- return [
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- getEventStreamPlugin(config),
16
- getWebSocketPlugin(config, {
17
- headerPrefix: 'x-amzn-transcribe-',
18
- }),
19
- getTranscribeStreamingPlugin(config),
20
- ];
21
- })
22
- .s("Transcribe", "StartMedicalStreamTranscription", {
23
- eventStream: {
24
- input: true,
25
- output: true,
26
- },
27
- })
28
- .n("TranscribeStreamingClient", "StartMedicalStreamTranscriptionCommand")
29
- .sc(StartMedicalStreamTranscription$)
30
- .build() {
3
+ export class StartMedicalStreamTranscriptionCommand extends command(_ep0, _mw1, "StartMedicalStreamTranscription", StartMedicalStreamTranscription$) {
31
4
  }
@@ -1,31 +1,4 @@
1
- import { getEventStreamPlugin } from "@aws-sdk/middleware-eventstream";
2
- import { getTranscribeStreamingPlugin } from "@aws-sdk/middleware-sdk-transcribe-streaming";
3
- import { getWebSocketPlugin } from "@aws-sdk/middleware-websocket";
4
- import { Command as $Command } from "@smithy/core/client";
5
- import { getEndpointPlugin } from "@smithy/core/endpoints";
6
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw1, command } from "../commandBuilder";
7
2
  import { StartStreamTranscription$ } from "../schemas/schemas_0";
8
- export { $Command };
9
- export class StartStreamTranscriptionCommand extends $Command
10
- .classBuilder()
11
- .ep(commonParams)
12
- .m(function (Command, cs, config, o) {
13
- return [
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- getEventStreamPlugin(config),
16
- getWebSocketPlugin(config, {
17
- headerPrefix: 'x-amzn-transcribe-',
18
- }),
19
- getTranscribeStreamingPlugin(config),
20
- ];
21
- })
22
- .s("Transcribe", "StartStreamTranscription", {
23
- eventStream: {
24
- input: true,
25
- output: true,
26
- },
27
- })
28
- .n("TranscribeStreamingClient", "StartStreamTranscriptionCommand")
29
- .sc(StartStreamTranscription$)
30
- .build() {
3
+ export class StartStreamTranscriptionCommand extends command(_ep0, _mw1, "StartStreamTranscription", StartStreamTranscription$) {
31
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./TranscribeStreamingClient";
2
2
  export * from "./TranscribeStreaming";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -1,5 +1,4 @@
1
1
  import packageInfo from "../package.json";
2
- import { Sha256 } from "@aws-crypto/sha256-browser";
3
2
  import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
4
3
  import { eventStreamPayloadHandler } from "@aws-sdk/middleware-sdk-transcribe-streaming";
5
4
  import { WebSocketFetchHandler as WebSocketRequestHandler, } from "@aws-sdk/middleware-websocket";
@@ -29,7 +28,6 @@ export const getRuntimeConfig = (config) => {
29
28
  requestHandler: WebSocketRequestHandler.create(config?.requestHandler
30
29
  ?? defaultConfigProvider, HttpRequestHandler.create(defaultConfigProvider)),
31
30
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
32
- sha256: config?.sha256 ?? Sha256,
33
31
  streamCollector: config?.streamCollector ?? streamCollector,
34
32
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
35
33
  useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
@@ -7,7 +7,7 @@ import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smi
7
7
  import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
8
8
  import { eventStreamSerdeProvider } from "@smithy/core/event-streams";
9
9
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
10
- import { calculateBodyLength, Hash } from "@smithy/core/serde";
10
+ import { calculateBodyLength } from "@smithy/core/serde";
11
11
  import { NodeHttp2Handler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
12
12
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
13
  export const getRuntimeConfig = (config) => {
@@ -42,7 +42,6 @@ export const getRuntimeConfig = (config) => {
42
42
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
43
43
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
44
44
  }, config),
45
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
46
45
  streamCollector: config?.streamCollector ?? streamCollector,
47
46
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
48
47
  useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1,4 +1,3 @@
1
- import { Sha256 } from "@aws-crypto/sha256-js";
2
1
  import { eventStreamPayloadHandler } from "@aws-sdk/middleware-sdk-transcribe-streaming";
3
2
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
4
3
  export const getRuntimeConfig = (config) => {
@@ -8,6 +7,5 @@ export const getRuntimeConfig = (config) => {
8
7
  ...config,
9
8
  runtime: "react-native",
10
9
  eventStreamPayloadHandlerProvider: config?.eventStreamPayloadHandlerProvider ?? (() => eventStreamPayloadHandler),
11
- sha256: config?.sha256 ?? Sha256,
12
10
  };
13
11
  };
@@ -1,5 +1,6 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
3
+ import { Sha256 } from "@smithy/core/checksum";
3
4
  import { NoOpLogger } from "@smithy/core/client";
4
5
  import { parseUrl } from "@smithy/core/protocols";
5
6
  import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
31
32
  serviceTarget: "Transcribe",
32
33
  },
33
34
  serviceId: config?.serviceId ?? "Transcribe Streaming",
35
+ sha256: config?.sha256 ?? Sha256,
34
36
  urlParser: config?.urlParser ?? parseUrl,
35
37
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
36
38
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -0,0 +1,22 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { ServiceInputTypes, ServiceOutputTypes, TranscribeStreamingClientResolvedConfig } from "./TranscribeStreamingClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, TranscribeStreamingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, TranscribeStreamingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
19
+ /**
20
+ * @internal
21
+ */
22
+ export declare const _mw1: (Command: any, cs: any, config: any, o: any) => import("@smithy/types").Pluggable<any, any>[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { GetMedicalScribeStreamRequest, GetMedicalScribeStreamResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, TranscribeStreamingClientResolvedConfig } from "../TranscribeStreamingClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface GetMedicalScribeStreamCommandInput extends GetMedicalScribeStre
22
19
  export interface GetMedicalScribeStreamCommandOutput extends GetMedicalScribeStreamResponse, __MetadataBearer {
23
20
  }
24
21
  declare const GetMedicalScribeStreamCommand_base: {
25
- new (input: GetMedicalScribeStreamCommandInput): import("@smithy/core/client").CommandImpl<GetMedicalScribeStreamCommandInput, GetMedicalScribeStreamCommandOutput, TranscribeStreamingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetMedicalScribeStreamCommandInput): import("@smithy/core/client").CommandImpl<GetMedicalScribeStreamCommandInput, GetMedicalScribeStreamCommandOutput, TranscribeStreamingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetMedicalScribeStreamCommandInput): import("@smithy/core/client").CommandImpl<GetMedicalScribeStreamCommandInput, GetMedicalScribeStreamCommandOutput, import("..").TranscribeStreamingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetMedicalScribeStreamCommandInput): import("@smithy/core/client").CommandImpl<GetMedicalScribeStreamCommandInput, GetMedicalScribeStreamCommandOutput, import("..").TranscribeStreamingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Provides details about the specified Amazon Web Services HealthScribe streaming session.
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { StartCallAnalyticsStreamTranscriptionRequest, StartCallAnalyticsStreamTranscriptionResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, TranscribeStreamingClientResolvedConfig } from "../TranscribeStreamingClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface StartCallAnalyticsStreamTranscriptionCommandInput extends Start
22
19
  export interface StartCallAnalyticsStreamTranscriptionCommandOutput extends StartCallAnalyticsStreamTranscriptionResponse, __MetadataBearer {
23
20
  }
24
21
  declare const StartCallAnalyticsStreamTranscriptionCommand_base: {
25
- new (input: StartCallAnalyticsStreamTranscriptionCommandInput): import("@smithy/core/client").CommandImpl<StartCallAnalyticsStreamTranscriptionCommandInput, StartCallAnalyticsStreamTranscriptionCommandOutput, TranscribeStreamingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: StartCallAnalyticsStreamTranscriptionCommandInput): import("@smithy/core/client").CommandImpl<StartCallAnalyticsStreamTranscriptionCommandInput, StartCallAnalyticsStreamTranscriptionCommandOutput, TranscribeStreamingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: StartCallAnalyticsStreamTranscriptionCommandInput): import("@smithy/core/client").CommandImpl<StartCallAnalyticsStreamTranscriptionCommandInput, StartCallAnalyticsStreamTranscriptionCommandOutput, import("..").TranscribeStreamingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: StartCallAnalyticsStreamTranscriptionCommandInput): import("@smithy/core/client").CommandImpl<StartCallAnalyticsStreamTranscriptionCommandInput, StartCallAnalyticsStreamTranscriptionCommandOutput, import("..").TranscribeStreamingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { StartMedicalScribeStreamRequest, StartMedicalScribeStreamResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, TranscribeStreamingClientResolvedConfig } from "../TranscribeStreamingClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface StartMedicalScribeStreamCommandInput extends StartMedicalScribe
22
19
  export interface StartMedicalScribeStreamCommandOutput extends StartMedicalScribeStreamResponse, __MetadataBearer {
23
20
  }
24
21
  declare const StartMedicalScribeStreamCommand_base: {
25
- new (input: StartMedicalScribeStreamCommandInput): import("@smithy/core/client").CommandImpl<StartMedicalScribeStreamCommandInput, StartMedicalScribeStreamCommandOutput, TranscribeStreamingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: StartMedicalScribeStreamCommandInput): import("@smithy/core/client").CommandImpl<StartMedicalScribeStreamCommandInput, StartMedicalScribeStreamCommandOutput, TranscribeStreamingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: StartMedicalScribeStreamCommandInput): import("@smithy/core/client").CommandImpl<StartMedicalScribeStreamCommandInput, StartMedicalScribeStreamCommandOutput, import("..").TranscribeStreamingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: StartMedicalScribeStreamCommandInput): import("@smithy/core/client").CommandImpl<StartMedicalScribeStreamCommandInput, StartMedicalScribeStreamCommandOutput, import("..").TranscribeStreamingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Starts a bidirectional HTTP/2 stream, where audio is streamed to
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { StartMedicalStreamTranscriptionRequest, StartMedicalStreamTranscriptionResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, TranscribeStreamingClientResolvedConfig } from "../TranscribeStreamingClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface StartMedicalStreamTranscriptionCommandInput extends StartMedica
22
19
  export interface StartMedicalStreamTranscriptionCommandOutput extends StartMedicalStreamTranscriptionResponse, __MetadataBearer {
23
20
  }
24
21
  declare const StartMedicalStreamTranscriptionCommand_base: {
25
- new (input: StartMedicalStreamTranscriptionCommandInput): import("@smithy/core/client").CommandImpl<StartMedicalStreamTranscriptionCommandInput, StartMedicalStreamTranscriptionCommandOutput, TranscribeStreamingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: StartMedicalStreamTranscriptionCommandInput): import("@smithy/core/client").CommandImpl<StartMedicalStreamTranscriptionCommandInput, StartMedicalStreamTranscriptionCommandOutput, TranscribeStreamingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: StartMedicalStreamTranscriptionCommandInput): import("@smithy/core/client").CommandImpl<StartMedicalStreamTranscriptionCommandInput, StartMedicalStreamTranscriptionCommandOutput, import("..").TranscribeStreamingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: StartMedicalStreamTranscriptionCommandInput): import("@smithy/core/client").CommandImpl<StartMedicalStreamTranscriptionCommandInput, StartMedicalStreamTranscriptionCommandOutput, import("..").TranscribeStreamingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { StartStreamTranscriptionRequest, StartStreamTranscriptionResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, TranscribeStreamingClientResolvedConfig } from "../TranscribeStreamingClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface StartStreamTranscriptionCommandInput extends StartStreamTranscr
22
19
  export interface StartStreamTranscriptionCommandOutput extends StartStreamTranscriptionResponse, __MetadataBearer {
23
20
  }
24
21
  declare const StartStreamTranscriptionCommand_base: {
25
- new (input: StartStreamTranscriptionCommandInput): import("@smithy/core/client").CommandImpl<StartStreamTranscriptionCommandInput, StartStreamTranscriptionCommandOutput, TranscribeStreamingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: StartStreamTranscriptionCommandInput): import("@smithy/core/client").CommandImpl<StartStreamTranscriptionCommandInput, StartStreamTranscriptionCommandOutput, TranscribeStreamingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: StartStreamTranscriptionCommandInput): import("@smithy/core/client").CommandImpl<StartStreamTranscriptionCommandInput, StartStreamTranscriptionCommandOutput, import("..").TranscribeStreamingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: StartStreamTranscriptionCommandInput): import("@smithy/core/client").CommandImpl<StartStreamTranscriptionCommandInput, StartStreamTranscriptionCommandOutput, import("..").TranscribeStreamingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to
@@ -38,6 +38,7 @@ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameter
38
38
  export type { RuntimeExtension } from "./runtimeExtensions";
39
39
  export type { TranscribeStreamingExtensionConfiguration } from "./extensionConfiguration";
40
40
  export * from "./commands";
41
+ export { Command as $Command } from "@smithy/core/client";
41
42
  export * from "./schemas/schemas_0";
42
43
  export * from "./models/enums";
43
44
  export * from "./models/errors";
@@ -15,7 +15,6 @@ export declare const getRuntimeConfig: (config: TranscribeStreamingClientConfig)
15
15
  region: string | import("@smithy/types").Provider<any>;
16
16
  requestHandler: WebSocketRequestHandler;
17
17
  retryMode: string | import("@smithy/types").Provider<string>;
18
- sha256: import("@smithy/types").HashConstructor;
19
18
  streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
20
19
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
21
20
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -26,6 +25,7 @@ export declare const getRuntimeConfig: (config: TranscribeStreamingClientConfig)
26
25
  [setting: string]: unknown;
27
26
  };
28
27
  apiVersion: string;
28
+ sha256: import("@smithy/types").HashConstructor;
29
29
  urlParser: import("@smithy/types").UrlParser;
30
30
  base64Decoder: import("@smithy/types").Decoder;
31
31
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -16,7 +16,6 @@ export declare const getRuntimeConfig: (config: TranscribeStreamingClientConfig)
16
16
  region: string | import("@smithy/types").Provider<string>;
17
17
  requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
18
18
  retryMode: string | import("@smithy/types").Provider<string>;
19
- sha256: import("@smithy/types").HashConstructor;
20
19
  streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
21
20
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
21
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -28,6 +27,7 @@ export declare const getRuntimeConfig: (config: TranscribeStreamingClientConfig)
28
27
  [setting: string]: unknown;
29
28
  };
30
29
  apiVersion: string;
30
+ sha256: import("@smithy/types").HashConstructor;
31
31
  urlParser: import("@smithy/types").UrlParser;
32
32
  base64Decoder: import("@smithy/types").Decoder;
33
33
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -5,7 +5,6 @@ import type { TranscribeStreamingClientConfig } from "./TranscribeStreamingClien
5
5
  export declare const getRuntimeConfig: (config: TranscribeStreamingClientConfig) => {
6
6
  runtime: string;
7
7
  eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
8
- sha256: import("@smithy/types").HashConstructor;
9
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/core/transport").HttpRequest, import("@smithy/core/transport").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
10
9
  updateHttpClientConfig(key: never, value: never): void;
11
10
  httpHandlerConfigs(): {};
@@ -17,6 +16,7 @@ export declare const getRuntimeConfig: (config: TranscribeStreamingClientConfig)
17
16
  [setting: string]: unknown;
18
17
  };
19
18
  apiVersion: string;
19
+ sha256: import("@smithy/types").HashConstructor;
20
20
  urlParser: import("@smithy/types").UrlParser;
21
21
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
22
22
  streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
@@ -21,6 +21,7 @@ export declare const getRuntimeConfig: (config: TranscribeStreamingClientConfig)
21
21
  defaultNamespace?: string;
22
22
  };
23
23
  serviceId: string;
24
+ sha256: import("@smithy/types").HashConstructor;
24
25
  urlParser: import("@smithy/types").UrlParser;
25
26
  utf8Decoder: import("@smithy/types").Decoder;
26
27
  utf8Encoder: (input: Uint8Array | string) => string;
@@ -0,0 +1,52 @@
1
+ import { EndpointParameterInstructions } from "@smithy/types";
2
+ import {
3
+ ServiceInputTypes,
4
+ ServiceOutputTypes,
5
+ TranscribeStreamingClientResolvedConfig,
6
+ } from "./TranscribeStreamingClient";
7
+ export declare const command: <
8
+ I extends ServiceInputTypes,
9
+ O extends ServiceOutputTypes
10
+ >(
11
+ added: EndpointParameterInstructions,
12
+ plugins: (
13
+ CommandCtor: any,
14
+ clientStack: any,
15
+ config: any,
16
+ options: any
17
+ ) => import("@smithy/types").Pluggable<any, any>[],
18
+ op: string,
19
+ $: import("@smithy/types").StaticOperationSchema,
20
+ smithyContext?: Record<string, unknown>
21
+ ) => {
22
+ new (input: I): import("@smithy/core/client").CommandImpl<
23
+ I,
24
+ O,
25
+ TranscribeStreamingClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: import("@smithy/types").OptionalParameter<I>
31
+ ): import("@smithy/core/client").CommandImpl<
32
+ I,
33
+ O,
34
+ TranscribeStreamingClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
39
+ };
40
+ export declare const _ep0: EndpointParameterInstructions;
41
+ export declare const _mw0: (
42
+ Command: any,
43
+ cs: any,
44
+ config: any,
45
+ o: any
46
+ ) => never[];
47
+ export declare const _mw1: (
48
+ Command: any,
49
+ cs: any,
50
+ config: any,
51
+ o: any
52
+ ) => import("@smithy/types").Pluggable<any, any>[];
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import {
4
3
  GetMedicalScribeStreamRequest,
5
4
  GetMedicalScribeStreamResponse,
6
5
  } from "../models/models_0";
7
- import {
8
- ServiceInputTypes,
9
- ServiceOutputTypes,
10
- TranscribeStreamingClientResolvedConfig,
11
- } from "../TranscribeStreamingClient";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface GetMedicalScribeStreamCommandInput
15
8
  extends GetMedicalScribeStreamRequest {}
16
9
  export interface GetMedicalScribeStreamCommandOutput
@@ -22,22 +15,20 @@ declare const GetMedicalScribeStreamCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  GetMedicalScribeStreamCommandInput,
24
17
  GetMedicalScribeStreamCommandOutput,
25
- TranscribeStreamingClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").TranscribeStreamingClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: GetMedicalScribeStreamCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  GetMedicalScribeStreamCommandInput,
33
26
  GetMedicalScribeStreamCommandOutput,
34
- TranscribeStreamingClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").TranscribeStreamingClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class GetMedicalScribeStreamCommand extends GetMedicalScribeStreamCommand_base {
43
34
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import {
4
3
  StartCallAnalyticsStreamTranscriptionRequest,
5
4
  StartCallAnalyticsStreamTranscriptionResponse,
6
5
  } from "../models/models_0";
7
- import {
8
- ServiceInputTypes,
9
- ServiceOutputTypes,
10
- TranscribeStreamingClientResolvedConfig,
11
- } from "../TranscribeStreamingClient";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface StartCallAnalyticsStreamTranscriptionCommandInput
15
8
  extends StartCallAnalyticsStreamTranscriptionRequest {}
16
9
  export interface StartCallAnalyticsStreamTranscriptionCommandOutput
@@ -22,22 +15,20 @@ declare const StartCallAnalyticsStreamTranscriptionCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  StartCallAnalyticsStreamTranscriptionCommandInput,
24
17
  StartCallAnalyticsStreamTranscriptionCommandOutput,
25
- TranscribeStreamingClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").TranscribeStreamingClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: StartCallAnalyticsStreamTranscriptionCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  StartCallAnalyticsStreamTranscriptionCommandInput,
33
26
  StartCallAnalyticsStreamTranscriptionCommandOutput,
34
- TranscribeStreamingClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").TranscribeStreamingClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class StartCallAnalyticsStreamTranscriptionCommand extends StartCallAnalyticsStreamTranscriptionCommand_base {
43
34
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import {
4
3
  StartMedicalScribeStreamRequest,
5
4
  StartMedicalScribeStreamResponse,
6
5
  } from "../models/models_0";
7
- import {
8
- ServiceInputTypes,
9
- ServiceOutputTypes,
10
- TranscribeStreamingClientResolvedConfig,
11
- } from "../TranscribeStreamingClient";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface StartMedicalScribeStreamCommandInput
15
8
  extends StartMedicalScribeStreamRequest {}
16
9
  export interface StartMedicalScribeStreamCommandOutput
@@ -22,22 +15,20 @@ declare const StartMedicalScribeStreamCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  StartMedicalScribeStreamCommandInput,
24
17
  StartMedicalScribeStreamCommandOutput,
25
- TranscribeStreamingClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").TranscribeStreamingClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: StartMedicalScribeStreamCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  StartMedicalScribeStreamCommandInput,
33
26
  StartMedicalScribeStreamCommandOutput,
34
- TranscribeStreamingClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").TranscribeStreamingClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class StartMedicalScribeStreamCommand extends StartMedicalScribeStreamCommand_base {
43
34
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import {
4
3
  StartMedicalStreamTranscriptionRequest,
5
4
  StartMedicalStreamTranscriptionResponse,
6
5
  } from "../models/models_0";
7
- import {
8
- ServiceInputTypes,
9
- ServiceOutputTypes,
10
- TranscribeStreamingClientResolvedConfig,
11
- } from "../TranscribeStreamingClient";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface StartMedicalStreamTranscriptionCommandInput
15
8
  extends StartMedicalStreamTranscriptionRequest {}
16
9
  export interface StartMedicalStreamTranscriptionCommandOutput
@@ -22,22 +15,20 @@ declare const StartMedicalStreamTranscriptionCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  StartMedicalStreamTranscriptionCommandInput,
24
17
  StartMedicalStreamTranscriptionCommandOutput,
25
- TranscribeStreamingClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").TranscribeStreamingClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: StartMedicalStreamTranscriptionCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  StartMedicalStreamTranscriptionCommandInput,
33
26
  StartMedicalStreamTranscriptionCommandOutput,
34
- TranscribeStreamingClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").TranscribeStreamingClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class StartMedicalStreamTranscriptionCommand extends StartMedicalStreamTranscriptionCommand_base {
43
34
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import {
4
3
  StartStreamTranscriptionRequest,
5
4
  StartStreamTranscriptionResponse,
6
5
  } from "../models/models_0";
7
- import {
8
- ServiceInputTypes,
9
- ServiceOutputTypes,
10
- TranscribeStreamingClientResolvedConfig,
11
- } from "../TranscribeStreamingClient";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface StartStreamTranscriptionCommandInput
15
8
  extends StartStreamTranscriptionRequest {}
16
9
  export interface StartStreamTranscriptionCommandOutput
@@ -22,22 +15,20 @@ declare const StartStreamTranscriptionCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  StartStreamTranscriptionCommandInput,
24
17
  StartStreamTranscriptionCommandOutput,
25
- TranscribeStreamingClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").TranscribeStreamingClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: StartStreamTranscriptionCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  StartStreamTranscriptionCommandInput,
33
26
  StartStreamTranscriptionCommandOutput,
34
- TranscribeStreamingClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").TranscribeStreamingClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class StartStreamTranscriptionCommand extends StartStreamTranscriptionCommand_base {
43
34
  protected static __types: {
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { TranscribeStreamingExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export { Command as $Command } from "@smithy/core/client";
7
8
  export * from "./schemas/schemas_0";
8
9
  export * from "./models/enums";
9
10
  export * from "./models/errors";
@@ -22,7 +22,6 @@ export declare const getRuntimeConfig: (
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  requestHandler: WebSocketRequestHandler;
24
24
  retryMode: string | import("@smithy/types").Provider<string>;
25
- sha256: import("@smithy/types").HashConstructor;
26
25
  streamCollector: (
27
26
  stream:
28
27
  | import("stream").Readable
@@ -44,6 +43,7 @@ export declare const getRuntimeConfig: (
44
43
  [setting: string]: unknown;
45
44
  };
46
45
  apiVersion: string;
46
+ sha256: import("@smithy/types").HashConstructor;
47
47
  urlParser: import("@smithy/types").UrlParser;
48
48
  base64Decoder: import("@smithy/types").Decoder;
49
49
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -25,7 +25,6 @@ export declare const getRuntimeConfig: (
25
25
  | RequestHandler
26
26
  | import("@smithy/core/protocols").HttpHandler<any>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
- sha256: import("@smithy/types").HashConstructor;
29
28
  streamCollector: (
30
29
  stream:
31
30
  | import("stream").Readable
@@ -46,6 +45,7 @@ export declare const getRuntimeConfig: (
46
45
  [setting: string]: unknown;
47
46
  };
48
47
  apiVersion: string;
48
+ sha256: import("@smithy/types").HashConstructor;
49
49
  urlParser: import("@smithy/types").UrlParser;
50
50
  base64Decoder: import("@smithy/types").Decoder;
51
51
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -4,7 +4,6 @@ export declare const getRuntimeConfig: (
4
4
  ) => {
5
5
  runtime: string;
6
6
  eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
7
- sha256: import("@smithy/types").HashConstructor;
8
7
  requestHandler:
9
8
  | import("@smithy/types").NodeHttpHandlerOptions
10
9
  | import("@smithy/types").FetchHttpHandlerOptions
@@ -33,6 +32,7 @@ export declare const getRuntimeConfig: (
33
32
  [setting: string]: unknown;
34
33
  };
35
34
  apiVersion: string;
35
+ sha256: import("@smithy/types").HashConstructor;
36
36
  urlParser: import("@smithy/types").UrlParser;
37
37
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
38
38
  streamCollector: (
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (
26
26
  defaultNamespace?: string;
27
27
  };
28
28
  serviceId: string;
29
+ sha256: import("@smithy/types").HashConstructor;
29
30
  urlParser: import("@smithy/types").UrlParser;
30
31
  utf8Decoder: import("@smithy/types").Decoder;
31
32
  utf8Encoder: (input: Uint8Array | string) => string;
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.1076.0",
4
+ "version": "3.1078.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -27,23 +27,21 @@
27
27
  "module": "./dist-es/index.js",
28
28
  "sideEffects": false,
29
29
  "dependencies": {
30
- "@aws-crypto/sha256-browser": "5.2.0",
31
- "@aws-crypto/sha256-js": "5.2.0",
32
- "@aws-sdk/core": "^3.974.24",
33
- "@aws-sdk/credential-provider-node": "^3.972.59",
34
- "@aws-sdk/eventstream-handler-node": "^3.972.23",
35
- "@aws-sdk/middleware-eventstream": "^3.972.19",
36
- "@aws-sdk/middleware-sdk-transcribe-streaming": "^3.972.22",
37
- "@aws-sdk/middleware-websocket": "^3.972.32",
38
- "@aws-sdk/types": "^3.973.14",
39
- "@smithy/core": "^3.27.0",
40
- "@smithy/fetch-http-handler": "^5.6.0",
41
- "@smithy/node-http-handler": "^4.9.0",
42
- "@smithy/types": "^4.15.0",
30
+ "@aws-sdk/core": "^3.974.26",
31
+ "@aws-sdk/credential-provider-node": "^3.972.61",
32
+ "@aws-sdk/eventstream-handler-node": "^3.972.25",
33
+ "@aws-sdk/middleware-eventstream": "^3.972.21",
34
+ "@aws-sdk/middleware-sdk-transcribe-streaming": "^3.972.24",
35
+ "@aws-sdk/middleware-websocket": "^3.972.34",
36
+ "@aws-sdk/types": "^3.973.15",
37
+ "@smithy/core": "^3.29.0",
38
+ "@smithy/fetch-http-handler": "^5.6.2",
39
+ "@smithy/node-http-handler": "^4.9.2",
40
+ "@smithy/types": "^4.15.1",
43
41
  "tslib": "^2.6.2"
44
42
  },
45
43
  "devDependencies": {
46
- "@smithy/snapshot-testing": "^2.2.3",
44
+ "@smithy/snapshot-testing": "^2.2.5",
47
45
  "@tsconfig/node20": "20.1.8",
48
46
  "@types/node": "^20.14.8",
49
47
  "concurrently": "7.0.0",