@aws-sdk/client-transcribe-streaming 3.534.0 → 3.540.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.
@@ -1,12 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultEndpointResolver = void 0;
4
- const util_endpoints_1 = require("@smithy/util-endpoints");
4
+ const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
+ const util_endpoints_2 = require("@smithy/util-endpoints");
5
6
  const ruleset_1 = require("./ruleset");
6
7
  const defaultEndpointResolver = (endpointParams, context = {}) => {
7
- return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
8
+ return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
8
9
  endpointParams: endpointParams,
9
10
  logger: context.logger,
10
11
  });
11
12
  };
12
13
  exports.defaultEndpointResolver = defaultEndpointResolver;
14
+ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
package/dist-cjs/index.js CHANGED
@@ -1337,9 +1337,6 @@ var _TranscribeStreaming = class _TranscribeStreaming extends TranscribeStreamin
1337
1337
  __name(_TranscribeStreaming, "TranscribeStreaming");
1338
1338
  var TranscribeStreaming = _TranscribeStreaming;
1339
1339
  (0, import_smithy_client.createAggregatedClient)(commands, TranscribeStreaming);
1340
-
1341
- // src/index.ts
1342
- var import_util_endpoints = require("@aws-sdk/util-endpoints");
1343
1340
  // Annotate the CommonJS export names for ESM import in node:
1344
1341
 
1345
1342
  0 && (module.exports = {
@@ -1,4 +1,5 @@
1
- import { resolveEndpoint } from "@smithy/util-endpoints";
1
+ import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
+ import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
3
  import { ruleSet } from "./ruleset";
3
4
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
5
  return resolveEndpoint(ruleSet, {
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
6
7
  logger: context.logger,
7
8
  });
8
9
  };
10
+ customEndpointFunctions.aws = awsEndpointFunctions;
package/dist-es/index.js CHANGED
@@ -2,5 +2,4 @@ export * from "./TranscribeStreamingClient";
2
2
  export * from "./TranscribeStreaming";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
- import "@aws-sdk/util-endpoints";
6
5
  export { TranscribeStreamingServiceException } from "./models/TranscribeStreamingServiceException";
@@ -24,7 +24,6 @@ export interface TranscribeStreaming {
24
24
  startStreamTranscription(args: StartStreamTranscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartStreamTranscriptionCommandOutput) => void): void;
25
25
  }
26
26
  /**
27
- * @public
28
27
  * <p>Amazon Transcribe streaming offers three main types of real-time transcription:
29
28
  * <b>Standard</b>, <b>Medical</b>, and
30
29
  * <b>Call Analytics</b>.</p>
@@ -48,6 +47,7 @@ export interface TranscribeStreaming {
48
47
  * option. Refer to for details.</p>
49
48
  * </li>
50
49
  * </ul>
50
+ * @public
51
51
  */
52
52
  export declare class TranscribeStreaming extends TranscribeStreamingClient implements TranscribeStreaming {
53
53
  }
@@ -166,7 +166,6 @@ export type TranscribeStreamingClientResolvedConfigType = __SmithyResolvedConfig
166
166
  export interface TranscribeStreamingClientResolvedConfig extends TranscribeStreamingClientResolvedConfigType {
167
167
  }
168
168
  /**
169
- * @public
170
169
  * <p>Amazon Transcribe streaming offers three main types of real-time transcription:
171
170
  * <b>Standard</b>, <b>Medical</b>, and
172
171
  * <b>Call Analytics</b>.</p>
@@ -190,6 +189,7 @@ export interface TranscribeStreamingClientResolvedConfig extends TranscribeStrea
190
189
  * option. Refer to for details.</p>
191
190
  * </li>
192
191
  * </ul>
192
+ * @public
193
193
  */
194
194
  export declare class TranscribeStreamingClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, TranscribeStreamingClientResolvedConfig> {
195
195
  /**
@@ -22,10 +22,10 @@ export interface StartCallAnalyticsStreamTranscriptionCommandOutput extends Star
22
22
  }
23
23
  declare const StartCallAnalyticsStreamTranscriptionCommand_base: {
24
24
  new (input: StartCallAnalyticsStreamTranscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<StartCallAnalyticsStreamTranscriptionCommandInput, StartCallAnalyticsStreamTranscriptionCommandOutput, TranscribeStreamingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: StartCallAnalyticsStreamTranscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<StartCallAnalyticsStreamTranscriptionCommandInput, StartCallAnalyticsStreamTranscriptionCommandOutput, TranscribeStreamingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to
30
30
  * Amazon Transcribe and the transcription results are streamed to your application. Use this operation
31
31
  * for <a href="https://docs.aws.amazon.com/transcribe/latest/dg/call-analytics.html">Call Analytics</a> transcriptions.</p>
@@ -208,6 +208,7 @@ declare const StartCallAnalyticsStreamTranscriptionCommand_base: {
208
208
  * @throws {@link TranscribeStreamingServiceException}
209
209
  * <p>Base exception class for all service exceptions from TranscribeStreaming service.</p>
210
210
  *
211
+ * @public
211
212
  */
212
213
  export declare class StartCallAnalyticsStreamTranscriptionCommand extends StartCallAnalyticsStreamTranscriptionCommand_base {
213
214
  }
@@ -22,10 +22,10 @@ export interface StartMedicalStreamTranscriptionCommandOutput extends StartMedic
22
22
  }
23
23
  declare const StartMedicalStreamTranscriptionCommand_base: {
24
24
  new (input: StartMedicalStreamTranscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<StartMedicalStreamTranscriptionCommandInput, StartMedicalStreamTranscriptionCommandOutput, TranscribeStreamingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: StartMedicalStreamTranscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<StartMedicalStreamTranscriptionCommandInput, StartMedicalStreamTranscriptionCommandOutput, TranscribeStreamingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to
30
30
  * Amazon Transcribe Medical and the transcription results are streamed to your
31
31
  * application.</p>
@@ -190,6 +190,7 @@ declare const StartMedicalStreamTranscriptionCommand_base: {
190
190
  * @throws {@link TranscribeStreamingServiceException}
191
191
  * <p>Base exception class for all service exceptions from TranscribeStreaming service.</p>
192
192
  *
193
+ * @public
193
194
  */
194
195
  export declare class StartMedicalStreamTranscriptionCommand extends StartMedicalStreamTranscriptionCommand_base {
195
196
  }
@@ -22,10 +22,10 @@ export interface StartStreamTranscriptionCommandOutput extends StartStreamTransc
22
22
  }
23
23
  declare const StartStreamTranscriptionCommand_base: {
24
24
  new (input: StartStreamTranscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<StartStreamTranscriptionCommandInput, StartStreamTranscriptionCommandOutput, TranscribeStreamingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: StartStreamTranscriptionCommandInput): import("@smithy/smithy-client").CommandImpl<StartStreamTranscriptionCommandInput, StartStreamTranscriptionCommandOutput, TranscribeStreamingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Starts a bidirectional HTTP/2 or WebSocket stream where audio is streamed to
30
30
  * Amazon Transcribe and the transcription results are streamed to your application.</p>
31
31
  * <p>The following parameters are required:</p>
@@ -219,6 +219,7 @@ declare const StartStreamTranscriptionCommand_base: {
219
219
  * @throws {@link TranscribeStreamingServiceException}
220
220
  * <p>Base exception class for all service exceptions from TranscribeStreaming service.</p>
221
221
  *
222
+ * @public
222
223
  */
223
224
  export declare class StartStreamTranscriptionCommand extends StartStreamTranscriptionCommand_base {
224
225
  }
@@ -32,5 +32,4 @@ export { RuntimeExtension } from "./runtimeExtensions";
32
32
  export { TranscribeStreamingExtensionConfiguration } from "./extensionConfiguration";
33
33
  export * from "./commands";
34
34
  export * from "./models";
35
- import "@aws-sdk/util-endpoints";
36
35
  export { TranscribeStreamingServiceException } from "./models/TranscribeStreamingServiceException";