@aws-sdk/client-transcribe-streaming 3.948.0 → 3.953.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.
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.transcribestreaming" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.transcribestreaming",
32
+ version: "2017-10-26",
33
+ serviceTarget: "Transcribe",
34
+ },
30
35
  serviceId: config?.serviceId ?? "Transcribe Streaming",
31
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetMedicalScribeStream } from "../schemas/schemas_0";
4
+ import { GetMedicalScribeStream$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetMedicalScribeStreamCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetMedicalScribeStreamCommand extends $Command
11
11
  })
12
12
  .s("Transcribe", "GetMedicalScribeStream", {})
13
13
  .n("TranscribeStreamingClient", "GetMedicalScribeStreamCommand")
14
- .sc(GetMedicalScribeStream)
14
+ .sc(GetMedicalScribeStream$)
15
15
  .build() {
16
16
  }
@@ -4,7 +4,7 @@ import { getWebSocketPlugin } from "@aws-sdk/middleware-websocket";
4
4
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
5
5
  import { Command as $Command } from "@smithy/smithy-client";
6
6
  import { commonParams } from "../endpoint/EndpointParameters";
7
- import { StartCallAnalyticsStreamTranscription } from "../schemas/schemas_0";
7
+ import { StartCallAnalyticsStreamTranscription$ } from "../schemas/schemas_0";
8
8
  export { $Command };
9
9
  export class StartCallAnalyticsStreamTranscriptionCommand extends $Command
10
10
  .classBuilder()
@@ -26,6 +26,6 @@ export class StartCallAnalyticsStreamTranscriptionCommand extends $Command
26
26
  },
27
27
  })
28
28
  .n("TranscribeStreamingClient", "StartCallAnalyticsStreamTranscriptionCommand")
29
- .sc(StartCallAnalyticsStreamTranscription)
29
+ .sc(StartCallAnalyticsStreamTranscription$)
30
30
  .build() {
31
31
  }
@@ -4,7 +4,7 @@ import { getWebSocketPlugin } from "@aws-sdk/middleware-websocket";
4
4
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
5
5
  import { Command as $Command } from "@smithy/smithy-client";
6
6
  import { commonParams } from "../endpoint/EndpointParameters";
7
- import { StartMedicalScribeStream } from "../schemas/schemas_0";
7
+ import { StartMedicalScribeStream$ } from "../schemas/schemas_0";
8
8
  export { $Command };
9
9
  export class StartMedicalScribeStreamCommand extends $Command
10
10
  .classBuilder()
@@ -26,6 +26,6 @@ export class StartMedicalScribeStreamCommand extends $Command
26
26
  },
27
27
  })
28
28
  .n("TranscribeStreamingClient", "StartMedicalScribeStreamCommand")
29
- .sc(StartMedicalScribeStream)
29
+ .sc(StartMedicalScribeStream$)
30
30
  .build() {
31
31
  }
@@ -4,7 +4,7 @@ import { getWebSocketPlugin } from "@aws-sdk/middleware-websocket";
4
4
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
5
5
  import { Command as $Command } from "@smithy/smithy-client";
6
6
  import { commonParams } from "../endpoint/EndpointParameters";
7
- import { StartMedicalStreamTranscription } from "../schemas/schemas_0";
7
+ import { StartMedicalStreamTranscription$ } from "../schemas/schemas_0";
8
8
  export { $Command };
9
9
  export class StartMedicalStreamTranscriptionCommand extends $Command
10
10
  .classBuilder()
@@ -26,6 +26,6 @@ export class StartMedicalStreamTranscriptionCommand extends $Command
26
26
  },
27
27
  })
28
28
  .n("TranscribeStreamingClient", "StartMedicalStreamTranscriptionCommand")
29
- .sc(StartMedicalStreamTranscription)
29
+ .sc(StartMedicalStreamTranscription$)
30
30
  .build() {
31
31
  }
@@ -4,7 +4,7 @@ import { getWebSocketPlugin } from "@aws-sdk/middleware-websocket";
4
4
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
5
5
  import { Command as $Command } from "@smithy/smithy-client";
6
6
  import { commonParams } from "../endpoint/EndpointParameters";
7
- import { StartStreamTranscription } from "../schemas/schemas_0";
7
+ import { StartStreamTranscription$ } from "../schemas/schemas_0";
8
8
  export { $Command };
9
9
  export class StartStreamTranscriptionCommand extends $Command
10
10
  .classBuilder()
@@ -26,6 +26,6 @@ export class StartStreamTranscriptionCommand extends $Command
26
26
  },
27
27
  })
28
28
  .n("TranscribeStreamingClient", "StartStreamTranscriptionCommand")
29
- .sc(StartStreamTranscription)
29
+ .sc(StartStreamTranscription$)
30
30
  .build() {
31
31
  }
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 * from "./schemas/schemas_0";
4
5
  export * from "./models/enums";
5
6
  export * from "./models/errors";
6
7
  export { TranscribeStreamingServiceException } from "./models/TranscribeStreamingServiceException";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.transcribestreaming" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.transcribestreaming",
29
+ version: "2017-10-26",
30
+ serviceTarget: "Transcribe",
31
+ },
27
32
  serviceId: config?.serviceId ?? "Transcribe Streaming",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,