@aws-sdk/client-transcribe 3.1037.0 → 3.1039.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,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { GetVocabularyCommand } from "../commands/GetVocabularyCommand";
2
+ import { GetVocabularyCommand, } from "../commands/GetVocabularyCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -380,43 +380,43 @@ export interface Transcribe {
380
380
  * @param args - command input.
381
381
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
382
382
  */
383
- waitUntilLanguageModelCompleted(args: DescribeLanguageModelCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Transcribe>, "client">): Promise<WaiterResult>;
383
+ waitUntilLanguageModelCompleted(args: DescribeLanguageModelCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Transcribe>, "client">): Promise<WaiterResult<DescribeLanguageModelCommandOutput>>;
384
384
  /**
385
385
  * @see {@link GetCallAnalyticsJobCommand}
386
386
  * @param args - command input.
387
387
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
388
388
  */
389
- waitUntilCallAnalyticsJobCompleted(args: GetCallAnalyticsJobCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Transcribe>, "client">): Promise<WaiterResult>;
389
+ waitUntilCallAnalyticsJobCompleted(args: GetCallAnalyticsJobCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Transcribe>, "client">): Promise<WaiterResult<GetCallAnalyticsJobCommandOutput>>;
390
390
  /**
391
391
  * @see {@link GetMedicalScribeJobCommand}
392
392
  * @param args - command input.
393
393
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
394
394
  */
395
- waitUntilMedicalScribeJobCompleted(args: GetMedicalScribeJobCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Transcribe>, "client">): Promise<WaiterResult>;
395
+ waitUntilMedicalScribeJobCompleted(args: GetMedicalScribeJobCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Transcribe>, "client">): Promise<WaiterResult<GetMedicalScribeJobCommandOutput>>;
396
396
  /**
397
397
  * @see {@link GetMedicalTranscriptionJobCommand}
398
398
  * @param args - command input.
399
399
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
400
400
  */
401
- waitUntilMedicalTranscriptionJobCompleted(args: GetMedicalTranscriptionJobCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Transcribe>, "client">): Promise<WaiterResult>;
401
+ waitUntilMedicalTranscriptionJobCompleted(args: GetMedicalTranscriptionJobCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Transcribe>, "client">): Promise<WaiterResult<GetMedicalTranscriptionJobCommandOutput>>;
402
402
  /**
403
403
  * @see {@link GetMedicalVocabularyCommand}
404
404
  * @param args - command input.
405
405
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
406
406
  */
407
- waitUntilMedicalVocabularyReady(args: GetMedicalVocabularyCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Transcribe>, "client">): Promise<WaiterResult>;
407
+ waitUntilMedicalVocabularyReady(args: GetMedicalVocabularyCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Transcribe>, "client">): Promise<WaiterResult<GetMedicalVocabularyCommandOutput>>;
408
408
  /**
409
409
  * @see {@link GetTranscriptionJobCommand}
410
410
  * @param args - command input.
411
411
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
412
412
  */
413
- waitUntilTranscriptionJobCompleted(args: GetTranscriptionJobCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Transcribe>, "client">): Promise<WaiterResult>;
413
+ waitUntilTranscriptionJobCompleted(args: GetTranscriptionJobCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Transcribe>, "client">): Promise<WaiterResult<GetTranscriptionJobCommandOutput>>;
414
414
  /**
415
415
  * @see {@link GetVocabularyCommand}
416
416
  * @param args - command input.
417
417
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
418
418
  */
419
- waitUntilVocabularyReady(args: GetVocabularyCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Transcribe>, "client">): Promise<WaiterResult>;
419
+ waitUntilVocabularyReady(args: GetVocabularyCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Transcribe>, "client">): Promise<WaiterResult<GetVocabularyCommandOutput>>;
420
420
  }
421
421
  /**
422
422
  * <p>Amazon Transcribe offers three main types of batch transcription: <b>Standard</b>, <b>Medical</b>, and
@@ -818,7 +818,7 @@ export interface Transcribe {
818
818
  WaiterConfiguration<Transcribe>,
819
819
  Exclude<keyof WaiterConfiguration<Transcribe>, "client">
820
820
  >
821
- ): Promise<WaiterResult>;
821
+ ): Promise<WaiterResult<DescribeLanguageModelCommandOutput>>;
822
822
  waitUntilCallAnalyticsJobCompleted(
823
823
  args: GetCallAnalyticsJobCommandInput,
824
824
  waiterConfig:
@@ -827,7 +827,7 @@ export interface Transcribe {
827
827
  WaiterConfiguration<Transcribe>,
828
828
  Exclude<keyof WaiterConfiguration<Transcribe>, "client">
829
829
  >
830
- ): Promise<WaiterResult>;
830
+ ): Promise<WaiterResult<GetCallAnalyticsJobCommandOutput>>;
831
831
  waitUntilMedicalScribeJobCompleted(
832
832
  args: GetMedicalScribeJobCommandInput,
833
833
  waiterConfig:
@@ -836,7 +836,7 @@ export interface Transcribe {
836
836
  WaiterConfiguration<Transcribe>,
837
837
  Exclude<keyof WaiterConfiguration<Transcribe>, "client">
838
838
  >
839
- ): Promise<WaiterResult>;
839
+ ): Promise<WaiterResult<GetMedicalScribeJobCommandOutput>>;
840
840
  waitUntilMedicalTranscriptionJobCompleted(
841
841
  args: GetMedicalTranscriptionJobCommandInput,
842
842
  waiterConfig:
@@ -845,7 +845,7 @@ export interface Transcribe {
845
845
  WaiterConfiguration<Transcribe>,
846
846
  Exclude<keyof WaiterConfiguration<Transcribe>, "client">
847
847
  >
848
- ): Promise<WaiterResult>;
848
+ ): Promise<WaiterResult<GetMedicalTranscriptionJobCommandOutput>>;
849
849
  waitUntilMedicalVocabularyReady(
850
850
  args: GetMedicalVocabularyCommandInput,
851
851
  waiterConfig:
@@ -854,7 +854,7 @@ export interface Transcribe {
854
854
  WaiterConfiguration<Transcribe>,
855
855
  Exclude<keyof WaiterConfiguration<Transcribe>, "client">
856
856
  >
857
- ): Promise<WaiterResult>;
857
+ ): Promise<WaiterResult<GetMedicalVocabularyCommandOutput>>;
858
858
  waitUntilTranscriptionJobCompleted(
859
859
  args: GetTranscriptionJobCommandInput,
860
860
  waiterConfig:
@@ -863,7 +863,7 @@ export interface Transcribe {
863
863
  WaiterConfiguration<Transcribe>,
864
864
  Exclude<keyof WaiterConfiguration<Transcribe>, "client">
865
865
  >
866
- ): Promise<WaiterResult>;
866
+ ): Promise<WaiterResult<GetTranscriptionJobCommandOutput>>;
867
867
  waitUntilVocabularyReady(
868
868
  args: GetVocabularyCommandInput,
869
869
  waiterConfig:
@@ -872,7 +872,7 @@ export interface Transcribe {
872
872
  WaiterConfiguration<Transcribe>,
873
873
  Exclude<keyof WaiterConfiguration<Transcribe>, "client">
874
874
  >
875
- ): Promise<WaiterResult>;
875
+ ): Promise<WaiterResult<GetVocabularyCommandOutput>>;
876
876
  }
877
877
  export declare class Transcribe
878
878
  extends TranscribeClient
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetCallAnalyticsJobCommandInput } from "../commands/GetCallAnalyticsJobCommand";
2
+ import {
3
+ GetCallAnalyticsJobCommandInput,
4
+ GetCallAnalyticsJobCommandOutput,
5
+ } from "../commands/GetCallAnalyticsJobCommand";
6
+ import { TranscribeServiceException } from "../models/TranscribeServiceException";
3
7
  import { TranscribeClient } from "../TranscribeClient";
4
8
  export declare const waitForCallAnalyticsJobCompleted: (
5
9
  params: WaiterConfiguration<TranscribeClient>,
6
10
  input: GetCallAnalyticsJobCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<GetCallAnalyticsJobCommandOutput | TranscribeServiceException>
13
+ >;
8
14
  export declare const waitUntilCallAnalyticsJobCompleted: (
9
15
  params: WaiterConfiguration<TranscribeClient>,
10
16
  input: GetCallAnalyticsJobCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<GetCallAnalyticsJobCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeLanguageModelCommandInput } from "../commands/DescribeLanguageModelCommand";
2
+ import {
3
+ DescribeLanguageModelCommandInput,
4
+ DescribeLanguageModelCommandOutput,
5
+ } from "../commands/DescribeLanguageModelCommand";
6
+ import { TranscribeServiceException } from "../models/TranscribeServiceException";
3
7
  import { TranscribeClient } from "../TranscribeClient";
4
8
  export declare const waitForLanguageModelCompleted: (
5
9
  params: WaiterConfiguration<TranscribeClient>,
6
10
  input: DescribeLanguageModelCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeLanguageModelCommandOutput | TranscribeServiceException>
13
+ >;
8
14
  export declare const waitUntilLanguageModelCompleted: (
9
15
  params: WaiterConfiguration<TranscribeClient>,
10
16
  input: DescribeLanguageModelCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeLanguageModelCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetMedicalScribeJobCommandInput } from "../commands/GetMedicalScribeJobCommand";
2
+ import {
3
+ GetMedicalScribeJobCommandInput,
4
+ GetMedicalScribeJobCommandOutput,
5
+ } from "../commands/GetMedicalScribeJobCommand";
6
+ import { TranscribeServiceException } from "../models/TranscribeServiceException";
3
7
  import { TranscribeClient } from "../TranscribeClient";
4
8
  export declare const waitForMedicalScribeJobCompleted: (
5
9
  params: WaiterConfiguration<TranscribeClient>,
6
10
  input: GetMedicalScribeJobCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<GetMedicalScribeJobCommandOutput | TranscribeServiceException>
13
+ >;
8
14
  export declare const waitUntilMedicalScribeJobCompleted: (
9
15
  params: WaiterConfiguration<TranscribeClient>,
10
16
  input: GetMedicalScribeJobCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<GetMedicalScribeJobCommandOutput>>;
@@ -1,11 +1,19 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetMedicalTranscriptionJobCommandInput } from "../commands/GetMedicalTranscriptionJobCommand";
2
+ import {
3
+ GetMedicalTranscriptionJobCommandInput,
4
+ GetMedicalTranscriptionJobCommandOutput,
5
+ } from "../commands/GetMedicalTranscriptionJobCommand";
6
+ import { TranscribeServiceException } from "../models/TranscribeServiceException";
3
7
  import { TranscribeClient } from "../TranscribeClient";
4
8
  export declare const waitForMedicalTranscriptionJobCompleted: (
5
9
  params: WaiterConfiguration<TranscribeClient>,
6
10
  input: GetMedicalTranscriptionJobCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<
13
+ GetMedicalTranscriptionJobCommandOutput | TranscribeServiceException
14
+ >
15
+ >;
8
16
  export declare const waitUntilMedicalTranscriptionJobCompleted: (
9
17
  params: WaiterConfiguration<TranscribeClient>,
10
18
  input: GetMedicalTranscriptionJobCommandInput
11
- ) => Promise<WaiterResult>;
19
+ ) => Promise<WaiterResult<GetMedicalTranscriptionJobCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetMedicalVocabularyCommandInput } from "../commands/GetMedicalVocabularyCommand";
2
+ import {
3
+ GetMedicalVocabularyCommandInput,
4
+ GetMedicalVocabularyCommandOutput,
5
+ } from "../commands/GetMedicalVocabularyCommand";
6
+ import { TranscribeServiceException } from "../models/TranscribeServiceException";
3
7
  import { TranscribeClient } from "../TranscribeClient";
4
8
  export declare const waitForMedicalVocabularyReady: (
5
9
  params: WaiterConfiguration<TranscribeClient>,
6
10
  input: GetMedicalVocabularyCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<GetMedicalVocabularyCommandOutput | TranscribeServiceException>
13
+ >;
8
14
  export declare const waitUntilMedicalVocabularyReady: (
9
15
  params: WaiterConfiguration<TranscribeClient>,
10
16
  input: GetMedicalVocabularyCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<GetMedicalVocabularyCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetTranscriptionJobCommandInput } from "../commands/GetTranscriptionJobCommand";
2
+ import {
3
+ GetTranscriptionJobCommandInput,
4
+ GetTranscriptionJobCommandOutput,
5
+ } from "../commands/GetTranscriptionJobCommand";
6
+ import { TranscribeServiceException } from "../models/TranscribeServiceException";
3
7
  import { TranscribeClient } from "../TranscribeClient";
4
8
  export declare const waitForTranscriptionJobCompleted: (
5
9
  params: WaiterConfiguration<TranscribeClient>,
6
10
  input: GetTranscriptionJobCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<GetTranscriptionJobCommandOutput | TranscribeServiceException>
13
+ >;
8
14
  export declare const waitUntilTranscriptionJobCompleted: (
9
15
  params: WaiterConfiguration<TranscribeClient>,
10
16
  input: GetTranscriptionJobCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<GetTranscriptionJobCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { GetVocabularyCommandInput } from "../commands/GetVocabularyCommand";
2
+ import {
3
+ GetVocabularyCommandInput,
4
+ GetVocabularyCommandOutput,
5
+ } from "../commands/GetVocabularyCommand";
6
+ import { TranscribeServiceException } from "../models/TranscribeServiceException";
3
7
  import { TranscribeClient } from "../TranscribeClient";
4
8
  export declare const waitForVocabularyReady: (
5
9
  params: WaiterConfiguration<TranscribeClient>,
6
10
  input: GetVocabularyCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<GetVocabularyCommandOutput | TranscribeServiceException>
13
+ >;
8
14
  export declare const waitUntilVocabularyReady: (
9
15
  params: WaiterConfiguration<TranscribeClient>,
10
16
  input: GetVocabularyCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<GetVocabularyCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetCallAnalyticsJobCommandInput } from "../commands/GetCallAnalyticsJobCommand";
2
+ import { type GetCallAnalyticsJobCommandInput, type GetCallAnalyticsJobCommandOutput } from "../commands/GetCallAnalyticsJobCommand";
3
+ import type { TranscribeServiceException } from "../models/TranscribeServiceException";
3
4
  import type { TranscribeClient } from "../TranscribeClient";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilCallAnalyticsJobCompleted instead. waitForCallAnalyticsJobCompleted does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForCallAnalyticsJobCompleted: (params: WaiterConfiguration<TranscribeClient>, input: GetCallAnalyticsJobCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForCallAnalyticsJobCompleted: (params: WaiterConfiguration<TranscribeClient>, input: GetCallAnalyticsJobCommandInput) => Promise<WaiterResult<GetCallAnalyticsJobCommandOutput | TranscribeServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to GetCallAnalyticsJobCommand for polling.
13
14
  */
14
- export declare const waitUntilCallAnalyticsJobCompleted: (params: WaiterConfiguration<TranscribeClient>, input: GetCallAnalyticsJobCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilCallAnalyticsJobCompleted: (params: WaiterConfiguration<TranscribeClient>, input: GetCallAnalyticsJobCommandInput) => Promise<WaiterResult<GetCallAnalyticsJobCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeLanguageModelCommandInput } from "../commands/DescribeLanguageModelCommand";
2
+ import { type DescribeLanguageModelCommandInput, type DescribeLanguageModelCommandOutput } from "../commands/DescribeLanguageModelCommand";
3
+ import type { TranscribeServiceException } from "../models/TranscribeServiceException";
3
4
  import type { TranscribeClient } from "../TranscribeClient";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilLanguageModelCompleted instead. waitForLanguageModelCompleted does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForLanguageModelCompleted: (params: WaiterConfiguration<TranscribeClient>, input: DescribeLanguageModelCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForLanguageModelCompleted: (params: WaiterConfiguration<TranscribeClient>, input: DescribeLanguageModelCommandInput) => Promise<WaiterResult<DescribeLanguageModelCommandOutput | TranscribeServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeLanguageModelCommand for polling.
13
14
  */
14
- export declare const waitUntilLanguageModelCompleted: (params: WaiterConfiguration<TranscribeClient>, input: DescribeLanguageModelCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilLanguageModelCompleted: (params: WaiterConfiguration<TranscribeClient>, input: DescribeLanguageModelCommandInput) => Promise<WaiterResult<DescribeLanguageModelCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetMedicalScribeJobCommandInput } from "../commands/GetMedicalScribeJobCommand";
2
+ import { type GetMedicalScribeJobCommandInput, type GetMedicalScribeJobCommandOutput } from "../commands/GetMedicalScribeJobCommand";
3
+ import type { TranscribeServiceException } from "../models/TranscribeServiceException";
3
4
  import type { TranscribeClient } from "../TranscribeClient";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilMedicalScribeJobCompleted instead. waitForMedicalScribeJobCompleted does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForMedicalScribeJobCompleted: (params: WaiterConfiguration<TranscribeClient>, input: GetMedicalScribeJobCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForMedicalScribeJobCompleted: (params: WaiterConfiguration<TranscribeClient>, input: GetMedicalScribeJobCommandInput) => Promise<WaiterResult<GetMedicalScribeJobCommandOutput | TranscribeServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to GetMedicalScribeJobCommand for polling.
13
14
  */
14
- export declare const waitUntilMedicalScribeJobCompleted: (params: WaiterConfiguration<TranscribeClient>, input: GetMedicalScribeJobCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilMedicalScribeJobCompleted: (params: WaiterConfiguration<TranscribeClient>, input: GetMedicalScribeJobCommandInput) => Promise<WaiterResult<GetMedicalScribeJobCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetMedicalTranscriptionJobCommandInput } from "../commands/GetMedicalTranscriptionJobCommand";
2
+ import { type GetMedicalTranscriptionJobCommandInput, type GetMedicalTranscriptionJobCommandOutput } from "../commands/GetMedicalTranscriptionJobCommand";
3
+ import type { TranscribeServiceException } from "../models/TranscribeServiceException";
3
4
  import type { TranscribeClient } from "../TranscribeClient";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilMedicalTranscriptionJobCompleted instead. waitForMedicalTranscriptionJobCompleted does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForMedicalTranscriptionJobCompleted: (params: WaiterConfiguration<TranscribeClient>, input: GetMedicalTranscriptionJobCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForMedicalTranscriptionJobCompleted: (params: WaiterConfiguration<TranscribeClient>, input: GetMedicalTranscriptionJobCommandInput) => Promise<WaiterResult<GetMedicalTranscriptionJobCommandOutput | TranscribeServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to GetMedicalTranscriptionJobCommand for polling.
13
14
  */
14
- export declare const waitUntilMedicalTranscriptionJobCompleted: (params: WaiterConfiguration<TranscribeClient>, input: GetMedicalTranscriptionJobCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilMedicalTranscriptionJobCompleted: (params: WaiterConfiguration<TranscribeClient>, input: GetMedicalTranscriptionJobCommandInput) => Promise<WaiterResult<GetMedicalTranscriptionJobCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetMedicalVocabularyCommandInput } from "../commands/GetMedicalVocabularyCommand";
2
+ import { type GetMedicalVocabularyCommandInput, type GetMedicalVocabularyCommandOutput } from "../commands/GetMedicalVocabularyCommand";
3
+ import type { TranscribeServiceException } from "../models/TranscribeServiceException";
3
4
  import type { TranscribeClient } from "../TranscribeClient";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilMedicalVocabularyReady instead. waitForMedicalVocabularyReady does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForMedicalVocabularyReady: (params: WaiterConfiguration<TranscribeClient>, input: GetMedicalVocabularyCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForMedicalVocabularyReady: (params: WaiterConfiguration<TranscribeClient>, input: GetMedicalVocabularyCommandInput) => Promise<WaiterResult<GetMedicalVocabularyCommandOutput | TranscribeServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to GetMedicalVocabularyCommand for polling.
13
14
  */
14
- export declare const waitUntilMedicalVocabularyReady: (params: WaiterConfiguration<TranscribeClient>, input: GetMedicalVocabularyCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilMedicalVocabularyReady: (params: WaiterConfiguration<TranscribeClient>, input: GetMedicalVocabularyCommandInput) => Promise<WaiterResult<GetMedicalVocabularyCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetTranscriptionJobCommandInput } from "../commands/GetTranscriptionJobCommand";
2
+ import { type GetTranscriptionJobCommandInput, type GetTranscriptionJobCommandOutput } from "../commands/GetTranscriptionJobCommand";
3
+ import type { TranscribeServiceException } from "../models/TranscribeServiceException";
3
4
  import type { TranscribeClient } from "../TranscribeClient";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilTranscriptionJobCompleted instead. waitForTranscriptionJobCompleted does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForTranscriptionJobCompleted: (params: WaiterConfiguration<TranscribeClient>, input: GetTranscriptionJobCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForTranscriptionJobCompleted: (params: WaiterConfiguration<TranscribeClient>, input: GetTranscriptionJobCommandInput) => Promise<WaiterResult<GetTranscriptionJobCommandOutput | TranscribeServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to GetTranscriptionJobCommand for polling.
13
14
  */
14
- export declare const waitUntilTranscriptionJobCompleted: (params: WaiterConfiguration<TranscribeClient>, input: GetTranscriptionJobCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilTranscriptionJobCompleted: (params: WaiterConfiguration<TranscribeClient>, input: GetTranscriptionJobCommandInput) => Promise<WaiterResult<GetTranscriptionJobCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type GetVocabularyCommandInput } from "../commands/GetVocabularyCommand";
2
+ import { type GetVocabularyCommandInput, type GetVocabularyCommandOutput } from "../commands/GetVocabularyCommand";
3
+ import type { TranscribeServiceException } from "../models/TranscribeServiceException";
3
4
  import type { TranscribeClient } from "../TranscribeClient";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilVocabularyReady instead. waitForVocabularyReady does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForVocabularyReady: (params: WaiterConfiguration<TranscribeClient>, input: GetVocabularyCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForVocabularyReady: (params: WaiterConfiguration<TranscribeClient>, input: GetVocabularyCommandInput) => Promise<WaiterResult<GetVocabularyCommandOutput | TranscribeServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to GetVocabularyCommand for polling.
13
14
  */
14
- export declare const waitUntilVocabularyReady: (params: WaiterConfiguration<TranscribeClient>, input: GetVocabularyCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilVocabularyReady: (params: WaiterConfiguration<TranscribeClient>, input: GetVocabularyCommandInput) => Promise<WaiterResult<GetVocabularyCommandOutput>>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-transcribe",
3
3
  "description": "AWS SDK for JavaScript Transcribe Client for Node.js, Browser and React Native",
4
- "version": "3.1037.0",
4
+ "version": "3.1039.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 client-transcribe",
@@ -21,17 +21,17 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.5",
25
- "@aws-sdk/credential-provider-node": "^3.972.36",
24
+ "@aws-sdk/core": "^3.974.7",
25
+ "@aws-sdk/credential-provider-node": "^3.972.38",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.10",
27
27
  "@aws-sdk/middleware-logger": "^3.972.10",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.11",
29
- "@aws-sdk/middleware-user-agent": "^3.972.35",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.37",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.13",
31
31
  "@aws-sdk/types": "^3.973.8",
32
32
  "@aws-sdk/util-endpoints": "^3.996.8",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.10",
34
- "@aws-sdk/util-user-agent-node": "^3.973.21",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.23",
35
35
  "@smithy/config-resolver": "^4.4.17",
36
36
  "@smithy/core": "^3.23.17",
37
37
  "@smithy/fetch-http-handler": "^5.3.17",
@@ -39,7 +39,7 @@
39
39
  "@smithy/invalid-dependency": "^4.2.14",
40
40
  "@smithy/middleware-content-length": "^4.2.14",
41
41
  "@smithy/middleware-endpoint": "^4.4.32",
42
- "@smithy/middleware-retry": "^4.5.5",
42
+ "@smithy/middleware-retry": "^4.5.7",
43
43
  "@smithy/middleware-serde": "^4.2.20",
44
44
  "@smithy/middleware-stack": "^4.2.14",
45
45
  "@smithy/node-config-provider": "^4.3.14",
@@ -55,9 +55,9 @@
55
55
  "@smithy/util-defaults-mode-node": "^4.2.54",
56
56
  "@smithy/util-endpoints": "^3.4.2",
57
57
  "@smithy/util-middleware": "^4.2.14",
58
- "@smithy/util-retry": "^4.3.4",
58
+ "@smithy/util-retry": "^4.3.6",
59
59
  "@smithy/util-utf8": "^4.2.2",
60
- "@smithy/util-waiter": "^4.2.16",
60
+ "@smithy/util-waiter": "^4.3.0",
61
61
  "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {