@aws-sdk/client-transcribe 3.975.0 → 3.978.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -1839,55 +1839,6 @@ class UpdateVocabularyFilterCommand extends smithyClient.Command
1839
1839
  .build() {
1840
1840
  }
1841
1841
 
1842
- const commands = {
1843
- CreateCallAnalyticsCategoryCommand,
1844
- CreateLanguageModelCommand,
1845
- CreateMedicalVocabularyCommand,
1846
- CreateVocabularyCommand,
1847
- CreateVocabularyFilterCommand,
1848
- DeleteCallAnalyticsCategoryCommand,
1849
- DeleteCallAnalyticsJobCommand,
1850
- DeleteLanguageModelCommand,
1851
- DeleteMedicalScribeJobCommand,
1852
- DeleteMedicalTranscriptionJobCommand,
1853
- DeleteMedicalVocabularyCommand,
1854
- DeleteTranscriptionJobCommand,
1855
- DeleteVocabularyCommand,
1856
- DeleteVocabularyFilterCommand,
1857
- DescribeLanguageModelCommand,
1858
- GetCallAnalyticsCategoryCommand,
1859
- GetCallAnalyticsJobCommand,
1860
- GetMedicalScribeJobCommand,
1861
- GetMedicalTranscriptionJobCommand,
1862
- GetMedicalVocabularyCommand,
1863
- GetTranscriptionJobCommand,
1864
- GetVocabularyCommand,
1865
- GetVocabularyFilterCommand,
1866
- ListCallAnalyticsCategoriesCommand,
1867
- ListCallAnalyticsJobsCommand,
1868
- ListLanguageModelsCommand,
1869
- ListMedicalScribeJobsCommand,
1870
- ListMedicalTranscriptionJobsCommand,
1871
- ListMedicalVocabulariesCommand,
1872
- ListTagsForResourceCommand,
1873
- ListTranscriptionJobsCommand,
1874
- ListVocabulariesCommand,
1875
- ListVocabularyFiltersCommand,
1876
- StartCallAnalyticsJobCommand,
1877
- StartMedicalScribeJobCommand,
1878
- StartMedicalTranscriptionJobCommand,
1879
- StartTranscriptionJobCommand,
1880
- TagResourceCommand,
1881
- UntagResourceCommand,
1882
- UpdateCallAnalyticsCategoryCommand,
1883
- UpdateMedicalVocabularyCommand,
1884
- UpdateVocabularyCommand,
1885
- UpdateVocabularyFilterCommand,
1886
- };
1887
- class Transcribe extends TranscribeClient {
1888
- }
1889
- smithyClient.createAggregatedClient(commands, Transcribe);
1890
-
1891
1842
  const paginateListCallAnalyticsCategories = core.createPaginator(TranscribeClient, ListCallAnalyticsCategoriesCommand, "NextToken", "NextToken", "MaxResults");
1892
1843
 
1893
1844
  const paginateListCallAnalyticsJobs = core.createPaginator(TranscribeClient, ListCallAnalyticsJobsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1909,11 +1860,11 @@ const paginateListVocabularyFilters = core.createPaginator(TranscribeClient, Lis
1909
1860
  const checkState$6 = async (client, input) => {
1910
1861
  let reason;
1911
1862
  try {
1912
- let result = await client.send(new DescribeLanguageModelCommand(input));
1863
+ let result = await client.send(new GetCallAnalyticsJobCommand(input));
1913
1864
  reason = result;
1914
1865
  try {
1915
1866
  const returnComparator = () => {
1916
- return result.LanguageModel.ModelStatus;
1867
+ return result.CallAnalyticsJob.CallAnalyticsJobStatus;
1917
1868
  };
1918
1869
  if (returnComparator() === "COMPLETED") {
1919
1870
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
@@ -1922,7 +1873,7 @@ const checkState$6 = async (client, input) => {
1922
1873
  catch (e) { }
1923
1874
  try {
1924
1875
  const returnComparator = () => {
1925
- return result.LanguageModel.ModelStatus;
1876
+ return result.CallAnalyticsJob.CallAnalyticsJobStatus;
1926
1877
  };
1927
1878
  if (returnComparator() === "FAILED") {
1928
1879
  return { state: utilWaiter.WaiterState.FAILURE, reason };
@@ -1935,12 +1886,12 @@ const checkState$6 = async (client, input) => {
1935
1886
  }
1936
1887
  return { state: utilWaiter.WaiterState.RETRY, reason };
1937
1888
  };
1938
- const waitForLanguageModelCompleted = async (params, input) => {
1939
- const serviceDefaults = { minDelay: 120, maxDelay: 120 };
1889
+ const waitForCallAnalyticsJobCompleted = async (params, input) => {
1890
+ const serviceDefaults = { minDelay: 10, maxDelay: 120 };
1940
1891
  return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$6);
1941
1892
  };
1942
- const waitUntilLanguageModelCompleted = async (params, input) => {
1943
- const serviceDefaults = { minDelay: 120, maxDelay: 120 };
1893
+ const waitUntilCallAnalyticsJobCompleted = async (params, input) => {
1894
+ const serviceDefaults = { minDelay: 10, maxDelay: 120 };
1944
1895
  const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$6);
1945
1896
  return utilWaiter.checkExceptions(result);
1946
1897
  };
@@ -1948,11 +1899,11 @@ const waitUntilLanguageModelCompleted = async (params, input) => {
1948
1899
  const checkState$5 = async (client, input) => {
1949
1900
  let reason;
1950
1901
  try {
1951
- let result = await client.send(new GetCallAnalyticsJobCommand(input));
1902
+ let result = await client.send(new DescribeLanguageModelCommand(input));
1952
1903
  reason = result;
1953
1904
  try {
1954
1905
  const returnComparator = () => {
1955
- return result.CallAnalyticsJob.CallAnalyticsJobStatus;
1906
+ return result.LanguageModel.ModelStatus;
1956
1907
  };
1957
1908
  if (returnComparator() === "COMPLETED") {
1958
1909
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
@@ -1961,7 +1912,7 @@ const checkState$5 = async (client, input) => {
1961
1912
  catch (e) { }
1962
1913
  try {
1963
1914
  const returnComparator = () => {
1964
- return result.CallAnalyticsJob.CallAnalyticsJobStatus;
1915
+ return result.LanguageModel.ModelStatus;
1965
1916
  };
1966
1917
  if (returnComparator() === "FAILED") {
1967
1918
  return { state: utilWaiter.WaiterState.FAILURE, reason };
@@ -1974,12 +1925,12 @@ const checkState$5 = async (client, input) => {
1974
1925
  }
1975
1926
  return { state: utilWaiter.WaiterState.RETRY, reason };
1976
1927
  };
1977
- const waitForCallAnalyticsJobCompleted = async (params, input) => {
1978
- const serviceDefaults = { minDelay: 10, maxDelay: 120 };
1928
+ const waitForLanguageModelCompleted = async (params, input) => {
1929
+ const serviceDefaults = { minDelay: 120, maxDelay: 120 };
1979
1930
  return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);
1980
1931
  };
1981
- const waitUntilCallAnalyticsJobCompleted = async (params, input) => {
1982
- const serviceDefaults = { minDelay: 10, maxDelay: 120 };
1932
+ const waitUntilLanguageModelCompleted = async (params, input) => {
1933
+ const serviceDefaults = { minDelay: 120, maxDelay: 120 };
1983
1934
  const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);
1984
1935
  return utilWaiter.checkExceptions(result);
1985
1936
  };
@@ -2179,6 +2130,75 @@ const waitUntilVocabularyReady = async (params, input) => {
2179
2130
  return utilWaiter.checkExceptions(result);
2180
2131
  };
2181
2132
 
2133
+ const commands = {
2134
+ CreateCallAnalyticsCategoryCommand,
2135
+ CreateLanguageModelCommand,
2136
+ CreateMedicalVocabularyCommand,
2137
+ CreateVocabularyCommand,
2138
+ CreateVocabularyFilterCommand,
2139
+ DeleteCallAnalyticsCategoryCommand,
2140
+ DeleteCallAnalyticsJobCommand,
2141
+ DeleteLanguageModelCommand,
2142
+ DeleteMedicalScribeJobCommand,
2143
+ DeleteMedicalTranscriptionJobCommand,
2144
+ DeleteMedicalVocabularyCommand,
2145
+ DeleteTranscriptionJobCommand,
2146
+ DeleteVocabularyCommand,
2147
+ DeleteVocabularyFilterCommand,
2148
+ DescribeLanguageModelCommand,
2149
+ GetCallAnalyticsCategoryCommand,
2150
+ GetCallAnalyticsJobCommand,
2151
+ GetMedicalScribeJobCommand,
2152
+ GetMedicalTranscriptionJobCommand,
2153
+ GetMedicalVocabularyCommand,
2154
+ GetTranscriptionJobCommand,
2155
+ GetVocabularyCommand,
2156
+ GetVocabularyFilterCommand,
2157
+ ListCallAnalyticsCategoriesCommand,
2158
+ ListCallAnalyticsJobsCommand,
2159
+ ListLanguageModelsCommand,
2160
+ ListMedicalScribeJobsCommand,
2161
+ ListMedicalTranscriptionJobsCommand,
2162
+ ListMedicalVocabulariesCommand,
2163
+ ListTagsForResourceCommand,
2164
+ ListTranscriptionJobsCommand,
2165
+ ListVocabulariesCommand,
2166
+ ListVocabularyFiltersCommand,
2167
+ StartCallAnalyticsJobCommand,
2168
+ StartMedicalScribeJobCommand,
2169
+ StartMedicalTranscriptionJobCommand,
2170
+ StartTranscriptionJobCommand,
2171
+ TagResourceCommand,
2172
+ UntagResourceCommand,
2173
+ UpdateCallAnalyticsCategoryCommand,
2174
+ UpdateMedicalVocabularyCommand,
2175
+ UpdateVocabularyCommand,
2176
+ UpdateVocabularyFilterCommand,
2177
+ };
2178
+ const paginators = {
2179
+ paginateListCallAnalyticsCategories,
2180
+ paginateListCallAnalyticsJobs,
2181
+ paginateListLanguageModels,
2182
+ paginateListMedicalScribeJobs,
2183
+ paginateListMedicalTranscriptionJobs,
2184
+ paginateListMedicalVocabularies,
2185
+ paginateListTranscriptionJobs,
2186
+ paginateListVocabularies,
2187
+ paginateListVocabularyFilters,
2188
+ };
2189
+ const waiters = {
2190
+ waitUntilLanguageModelCompleted,
2191
+ waitUntilCallAnalyticsJobCompleted,
2192
+ waitUntilMedicalScribeJobCompleted,
2193
+ waitUntilMedicalTranscriptionJobCompleted,
2194
+ waitUntilMedicalVocabularyReady,
2195
+ waitUntilTranscriptionJobCompleted,
2196
+ waitUntilVocabularyReady,
2197
+ };
2198
+ class Transcribe extends TranscribeClient {
2199
+ }
2200
+ smithyClient.createAggregatedClient(commands, Transcribe, { paginators, waiters });
2201
+
2182
2202
  const BaseModelName = {
2183
2203
  NARROW_BAND: "NarrowBand",
2184
2204
  WIDE_BAND: "WideBand",
@@ -42,7 +42,23 @@ import { UpdateCallAnalyticsCategoryCommand, } from "./commands/UpdateCallAnalyt
42
42
  import { UpdateMedicalVocabularyCommand, } from "./commands/UpdateMedicalVocabularyCommand";
43
43
  import { UpdateVocabularyCommand, } from "./commands/UpdateVocabularyCommand";
44
44
  import { UpdateVocabularyFilterCommand, } from "./commands/UpdateVocabularyFilterCommand";
45
+ import { paginateListCallAnalyticsCategories } from "./pagination/ListCallAnalyticsCategoriesPaginator";
46
+ import { paginateListCallAnalyticsJobs } from "./pagination/ListCallAnalyticsJobsPaginator";
47
+ import { paginateListLanguageModels } from "./pagination/ListLanguageModelsPaginator";
48
+ import { paginateListMedicalScribeJobs } from "./pagination/ListMedicalScribeJobsPaginator";
49
+ import { paginateListMedicalTranscriptionJobs } from "./pagination/ListMedicalTranscriptionJobsPaginator";
50
+ import { paginateListMedicalVocabularies } from "./pagination/ListMedicalVocabulariesPaginator";
51
+ import { paginateListTranscriptionJobs } from "./pagination/ListTranscriptionJobsPaginator";
52
+ import { paginateListVocabularies } from "./pagination/ListVocabulariesPaginator";
53
+ import { paginateListVocabularyFilters } from "./pagination/ListVocabularyFiltersPaginator";
45
54
  import { TranscribeClient } from "./TranscribeClient";
55
+ import { waitUntilCallAnalyticsJobCompleted } from "./waiters/waitForCallAnalyticsJobCompleted";
56
+ import { waitUntilLanguageModelCompleted } from "./waiters/waitForLanguageModelCompleted";
57
+ import { waitUntilMedicalScribeJobCompleted } from "./waiters/waitForMedicalScribeJobCompleted";
58
+ import { waitUntilMedicalTranscriptionJobCompleted } from "./waiters/waitForMedicalTranscriptionJobCompleted";
59
+ import { waitUntilMedicalVocabularyReady } from "./waiters/waitForMedicalVocabularyReady";
60
+ import { waitUntilTranscriptionJobCompleted } from "./waiters/waitForTranscriptionJobCompleted";
61
+ import { waitUntilVocabularyReady } from "./waiters/waitForVocabularyReady";
46
62
  const commands = {
47
63
  CreateCallAnalyticsCategoryCommand,
48
64
  CreateLanguageModelCommand,
@@ -88,6 +104,26 @@ const commands = {
88
104
  UpdateVocabularyCommand,
89
105
  UpdateVocabularyFilterCommand,
90
106
  };
107
+ const paginators = {
108
+ paginateListCallAnalyticsCategories,
109
+ paginateListCallAnalyticsJobs,
110
+ paginateListLanguageModels,
111
+ paginateListMedicalScribeJobs,
112
+ paginateListMedicalTranscriptionJobs,
113
+ paginateListMedicalVocabularies,
114
+ paginateListTranscriptionJobs,
115
+ paginateListVocabularies,
116
+ paginateListVocabularyFilters,
117
+ };
118
+ const waiters = {
119
+ waitUntilLanguageModelCompleted,
120
+ waitUntilCallAnalyticsJobCompleted,
121
+ waitUntilMedicalScribeJobCompleted,
122
+ waitUntilMedicalTranscriptionJobCompleted,
123
+ waitUntilMedicalVocabularyReady,
124
+ waitUntilTranscriptionJobCompleted,
125
+ waitUntilVocabularyReady,
126
+ };
91
127
  export class Transcribe extends TranscribeClient {
92
128
  }
93
- createAggregatedClient(commands, Transcribe);
129
+ createAggregatedClient(commands, Transcribe, { paginators, waiters });
@@ -1,4 +1,5 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
2
+ import type { WaiterResult } from "@smithy/util-waiter";
2
3
  import { CreateCallAnalyticsCategoryCommandInput, CreateCallAnalyticsCategoryCommandOutput } from "./commands/CreateCallAnalyticsCategoryCommand";
3
4
  import { CreateLanguageModelCommandInput, CreateLanguageModelCommandOutput } from "./commands/CreateLanguageModelCommand";
4
5
  import { CreateMedicalVocabularyCommandInput, CreateMedicalVocabularyCommandOutput } from "./commands/CreateMedicalVocabularyCommand";
@@ -311,6 +312,111 @@ export interface Transcribe {
311
312
  updateVocabularyFilter(args: UpdateVocabularyFilterCommandInput, options?: __HttpHandlerOptions): Promise<UpdateVocabularyFilterCommandOutput>;
312
313
  updateVocabularyFilter(args: UpdateVocabularyFilterCommandInput, cb: (err: any, data?: UpdateVocabularyFilterCommandOutput) => void): void;
313
314
  updateVocabularyFilter(args: UpdateVocabularyFilterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateVocabularyFilterCommandOutput) => void): void;
315
+ /**
316
+ * @see {@link ListCallAnalyticsCategoriesCommand}
317
+ * @param args - command input.
318
+ * @param paginationConfig - optional pagination config.
319
+ * @returns AsyncIterable of {@link ListCallAnalyticsCategoriesCommandOutput}.
320
+ */
321
+ paginateListCallAnalyticsCategories(args?: ListCallAnalyticsCategoriesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCallAnalyticsCategoriesCommandOutput>;
322
+ /**
323
+ * @see {@link ListCallAnalyticsJobsCommand}
324
+ * @param args - command input.
325
+ * @param paginationConfig - optional pagination config.
326
+ * @returns AsyncIterable of {@link ListCallAnalyticsJobsCommandOutput}.
327
+ */
328
+ paginateListCallAnalyticsJobs(args?: ListCallAnalyticsJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCallAnalyticsJobsCommandOutput>;
329
+ /**
330
+ * @see {@link ListLanguageModelsCommand}
331
+ * @param args - command input.
332
+ * @param paginationConfig - optional pagination config.
333
+ * @returns AsyncIterable of {@link ListLanguageModelsCommandOutput}.
334
+ */
335
+ paginateListLanguageModels(args?: ListLanguageModelsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListLanguageModelsCommandOutput>;
336
+ /**
337
+ * @see {@link ListMedicalScribeJobsCommand}
338
+ * @param args - command input.
339
+ * @param paginationConfig - optional pagination config.
340
+ * @returns AsyncIterable of {@link ListMedicalScribeJobsCommandOutput}.
341
+ */
342
+ paginateListMedicalScribeJobs(args?: ListMedicalScribeJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListMedicalScribeJobsCommandOutput>;
343
+ /**
344
+ * @see {@link ListMedicalTranscriptionJobsCommand}
345
+ * @param args - command input.
346
+ * @param paginationConfig - optional pagination config.
347
+ * @returns AsyncIterable of {@link ListMedicalTranscriptionJobsCommandOutput}.
348
+ */
349
+ paginateListMedicalTranscriptionJobs(args?: ListMedicalTranscriptionJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListMedicalTranscriptionJobsCommandOutput>;
350
+ /**
351
+ * @see {@link ListMedicalVocabulariesCommand}
352
+ * @param args - command input.
353
+ * @param paginationConfig - optional pagination config.
354
+ * @returns AsyncIterable of {@link ListMedicalVocabulariesCommandOutput}.
355
+ */
356
+ paginateListMedicalVocabularies(args?: ListMedicalVocabulariesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListMedicalVocabulariesCommandOutput>;
357
+ /**
358
+ * @see {@link ListTranscriptionJobsCommand}
359
+ * @param args - command input.
360
+ * @param paginationConfig - optional pagination config.
361
+ * @returns AsyncIterable of {@link ListTranscriptionJobsCommandOutput}.
362
+ */
363
+ paginateListTranscriptionJobs(args?: ListTranscriptionJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTranscriptionJobsCommandOutput>;
364
+ /**
365
+ * @see {@link ListVocabulariesCommand}
366
+ * @param args - command input.
367
+ * @param paginationConfig - optional pagination config.
368
+ * @returns AsyncIterable of {@link ListVocabulariesCommandOutput}.
369
+ */
370
+ paginateListVocabularies(args?: ListVocabulariesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListVocabulariesCommandOutput>;
371
+ /**
372
+ * @see {@link ListVocabularyFiltersCommand}
373
+ * @param args - command input.
374
+ * @param paginationConfig - optional pagination config.
375
+ * @returns AsyncIterable of {@link ListVocabularyFiltersCommandOutput}.
376
+ */
377
+ paginateListVocabularyFilters(args?: ListVocabularyFiltersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListVocabularyFiltersCommandOutput>;
378
+ /**
379
+ * @see {@link DescribeLanguageModelCommand}
380
+ * @param args - command input.
381
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
382
+ */
383
+ waitUntilLanguageModelCompleted(args: DescribeLanguageModelCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Transcribe>, "client">): Promise<WaiterResult>;
384
+ /**
385
+ * @see {@link GetCallAnalyticsJobCommand}
386
+ * @param args - command input.
387
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
388
+ */
389
+ waitUntilCallAnalyticsJobCompleted(args: GetCallAnalyticsJobCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Transcribe>, "client">): Promise<WaiterResult>;
390
+ /**
391
+ * @see {@link GetMedicalScribeJobCommand}
392
+ * @param args - command input.
393
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
394
+ */
395
+ waitUntilMedicalScribeJobCompleted(args: GetMedicalScribeJobCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Transcribe>, "client">): Promise<WaiterResult>;
396
+ /**
397
+ * @see {@link GetMedicalTranscriptionJobCommand}
398
+ * @param args - command input.
399
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
400
+ */
401
+ waitUntilMedicalTranscriptionJobCompleted(args: GetMedicalTranscriptionJobCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Transcribe>, "client">): Promise<WaiterResult>;
402
+ /**
403
+ * @see {@link GetMedicalVocabularyCommand}
404
+ * @param args - command input.
405
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
406
+ */
407
+ waitUntilMedicalVocabularyReady(args: GetMedicalVocabularyCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Transcribe>, "client">): Promise<WaiterResult>;
408
+ /**
409
+ * @see {@link GetTranscriptionJobCommand}
410
+ * @param args - command input.
411
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
412
+ */
413
+ waitUntilTranscriptionJobCompleted(args: GetTranscriptionJobCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Transcribe>, "client">): Promise<WaiterResult>;
414
+ /**
415
+ * @see {@link GetVocabularyCommand}
416
+ * @param args - command input.
417
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
418
+ */
419
+ waitUntilVocabularyReady(args: GetVocabularyCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Transcribe>, "client">): Promise<WaiterResult>;
314
420
  }
315
421
  /**
316
422
  * <p>Amazon Transcribe offers three main types of batch transcription: <b>Standard</b>, <b>Medical</b>, and
@@ -1,4 +1,10 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ PaginationConfiguration,
4
+ Paginator,
5
+ WaiterConfiguration,
6
+ } from "@smithy/types";
7
+ import { WaiterResult } from "@smithy/util-waiter";
2
8
  import {
3
9
  CreateCallAnalyticsCategoryCommandInput,
4
10
  CreateCallAnalyticsCategoryCommandOutput,
@@ -741,6 +747,132 @@ export interface Transcribe {
741
747
  options: __HttpHandlerOptions,
742
748
  cb: (err: any, data?: UpdateVocabularyFilterCommandOutput) => void
743
749
  ): void;
750
+ paginateListCallAnalyticsCategories(
751
+ args?: ListCallAnalyticsCategoriesCommandInput,
752
+ paginationConfig?: Pick<
753
+ PaginationConfiguration,
754
+ Exclude<keyof PaginationConfiguration, "client">
755
+ >
756
+ ): Paginator<ListCallAnalyticsCategoriesCommandOutput>;
757
+ paginateListCallAnalyticsJobs(
758
+ args?: ListCallAnalyticsJobsCommandInput,
759
+ paginationConfig?: Pick<
760
+ PaginationConfiguration,
761
+ Exclude<keyof PaginationConfiguration, "client">
762
+ >
763
+ ): Paginator<ListCallAnalyticsJobsCommandOutput>;
764
+ paginateListLanguageModels(
765
+ args?: ListLanguageModelsCommandInput,
766
+ paginationConfig?: Pick<
767
+ PaginationConfiguration,
768
+ Exclude<keyof PaginationConfiguration, "client">
769
+ >
770
+ ): Paginator<ListLanguageModelsCommandOutput>;
771
+ paginateListMedicalScribeJobs(
772
+ args?: ListMedicalScribeJobsCommandInput,
773
+ paginationConfig?: Pick<
774
+ PaginationConfiguration,
775
+ Exclude<keyof PaginationConfiguration, "client">
776
+ >
777
+ ): Paginator<ListMedicalScribeJobsCommandOutput>;
778
+ paginateListMedicalTranscriptionJobs(
779
+ args?: ListMedicalTranscriptionJobsCommandInput,
780
+ paginationConfig?: Pick<
781
+ PaginationConfiguration,
782
+ Exclude<keyof PaginationConfiguration, "client">
783
+ >
784
+ ): Paginator<ListMedicalTranscriptionJobsCommandOutput>;
785
+ paginateListMedicalVocabularies(
786
+ args?: ListMedicalVocabulariesCommandInput,
787
+ paginationConfig?: Pick<
788
+ PaginationConfiguration,
789
+ Exclude<keyof PaginationConfiguration, "client">
790
+ >
791
+ ): Paginator<ListMedicalVocabulariesCommandOutput>;
792
+ paginateListTranscriptionJobs(
793
+ args?: ListTranscriptionJobsCommandInput,
794
+ paginationConfig?: Pick<
795
+ PaginationConfiguration,
796
+ Exclude<keyof PaginationConfiguration, "client">
797
+ >
798
+ ): Paginator<ListTranscriptionJobsCommandOutput>;
799
+ paginateListVocabularies(
800
+ args?: ListVocabulariesCommandInput,
801
+ paginationConfig?: Pick<
802
+ PaginationConfiguration,
803
+ Exclude<keyof PaginationConfiguration, "client">
804
+ >
805
+ ): Paginator<ListVocabulariesCommandOutput>;
806
+ paginateListVocabularyFilters(
807
+ args?: ListVocabularyFiltersCommandInput,
808
+ paginationConfig?: Pick<
809
+ PaginationConfiguration,
810
+ Exclude<keyof PaginationConfiguration, "client">
811
+ >
812
+ ): Paginator<ListVocabularyFiltersCommandOutput>;
813
+ waitUntilLanguageModelCompleted(
814
+ args: DescribeLanguageModelCommandInput,
815
+ waiterConfig:
816
+ | number
817
+ | Pick<
818
+ WaiterConfiguration<Transcribe>,
819
+ Exclude<keyof WaiterConfiguration<Transcribe>, "client">
820
+ >
821
+ ): Promise<WaiterResult>;
822
+ waitUntilCallAnalyticsJobCompleted(
823
+ args: GetCallAnalyticsJobCommandInput,
824
+ waiterConfig:
825
+ | number
826
+ | Pick<
827
+ WaiterConfiguration<Transcribe>,
828
+ Exclude<keyof WaiterConfiguration<Transcribe>, "client">
829
+ >
830
+ ): Promise<WaiterResult>;
831
+ waitUntilMedicalScribeJobCompleted(
832
+ args: GetMedicalScribeJobCommandInput,
833
+ waiterConfig:
834
+ | number
835
+ | Pick<
836
+ WaiterConfiguration<Transcribe>,
837
+ Exclude<keyof WaiterConfiguration<Transcribe>, "client">
838
+ >
839
+ ): Promise<WaiterResult>;
840
+ waitUntilMedicalTranscriptionJobCompleted(
841
+ args: GetMedicalTranscriptionJobCommandInput,
842
+ waiterConfig:
843
+ | number
844
+ | Pick<
845
+ WaiterConfiguration<Transcribe>,
846
+ Exclude<keyof WaiterConfiguration<Transcribe>, "client">
847
+ >
848
+ ): Promise<WaiterResult>;
849
+ waitUntilMedicalVocabularyReady(
850
+ args: GetMedicalVocabularyCommandInput,
851
+ waiterConfig:
852
+ | number
853
+ | Pick<
854
+ WaiterConfiguration<Transcribe>,
855
+ Exclude<keyof WaiterConfiguration<Transcribe>, "client">
856
+ >
857
+ ): Promise<WaiterResult>;
858
+ waitUntilTranscriptionJobCompleted(
859
+ args: GetTranscriptionJobCommandInput,
860
+ waiterConfig:
861
+ | number
862
+ | Pick<
863
+ WaiterConfiguration<Transcribe>,
864
+ Exclude<keyof WaiterConfiguration<Transcribe>, "client">
865
+ >
866
+ ): Promise<WaiterResult>;
867
+ waitUntilVocabularyReady(
868
+ args: GetVocabularyCommandInput,
869
+ waiterConfig:
870
+ | number
871
+ | Pick<
872
+ WaiterConfiguration<Transcribe>,
873
+ Exclude<keyof WaiterConfiguration<Transcribe>, "client">
874
+ >
875
+ ): Promise<WaiterResult>;
744
876
  }
745
877
  export declare class Transcribe
746
878
  extends TranscribeClient
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.975.0",
4
+ "version": "3.978.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,38 +21,38 @@
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.973.1",
25
- "@aws-sdk/credential-provider-node": "^3.972.1",
26
- "@aws-sdk/middleware-host-header": "^3.972.1",
27
- "@aws-sdk/middleware-logger": "^3.972.1",
28
- "@aws-sdk/middleware-recursion-detection": "^3.972.1",
29
- "@aws-sdk/middleware-user-agent": "^3.972.2",
30
- "@aws-sdk/region-config-resolver": "^3.972.1",
31
- "@aws-sdk/types": "^3.973.0",
24
+ "@aws-sdk/core": "^3.973.4",
25
+ "@aws-sdk/credential-provider-node": "^3.972.2",
26
+ "@aws-sdk/middleware-host-header": "^3.972.2",
27
+ "@aws-sdk/middleware-logger": "^3.972.2",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.2",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.4",
30
+ "@aws-sdk/region-config-resolver": "^3.972.2",
31
+ "@aws-sdk/types": "^3.973.1",
32
32
  "@aws-sdk/util-endpoints": "3.972.0",
33
- "@aws-sdk/util-user-agent-browser": "^3.972.1",
34
- "@aws-sdk/util-user-agent-node": "^3.972.1",
33
+ "@aws-sdk/util-user-agent-browser": "^3.972.2",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.2",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.21.1",
36
+ "@smithy/core": "^3.22.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.11",
42
- "@smithy/middleware-retry": "^4.4.27",
41
+ "@smithy/middleware-endpoint": "^4.4.12",
42
+ "@smithy/middleware-retry": "^4.4.29",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
46
  "@smithy/node-http-handler": "^4.4.8",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.10.12",
48
+ "@smithy/smithy-client": "^4.11.1",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.26",
55
- "@smithy/util-defaults-mode-node": "^4.2.29",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.28",
55
+ "@smithy/util-defaults-mode-node": "^4.2.31",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",