@aws-sdk/client-transcribe 3.477.0 → 3.481.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 (213) hide show
  1. package/dist-cjs/commands/CreateCallAnalyticsCategoryCommand.js +18 -41
  2. package/dist-cjs/commands/CreateLanguageModelCommand.js +18 -41
  3. package/dist-cjs/commands/CreateMedicalVocabularyCommand.js +18 -41
  4. package/dist-cjs/commands/CreateVocabularyCommand.js +18 -41
  5. package/dist-cjs/commands/CreateVocabularyFilterCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteCallAnalyticsCategoryCommand.js +18 -41
  7. package/dist-cjs/commands/DeleteCallAnalyticsJobCommand.js +18 -41
  8. package/dist-cjs/commands/DeleteLanguageModelCommand.js +18 -41
  9. package/dist-cjs/commands/DeleteMedicalScribeJobCommand.js +18 -41
  10. package/dist-cjs/commands/DeleteMedicalTranscriptionJobCommand.js +18 -41
  11. package/dist-cjs/commands/DeleteMedicalVocabularyCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteTranscriptionJobCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteVocabularyCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteVocabularyFilterCommand.js +18 -41
  15. package/dist-cjs/commands/DescribeLanguageModelCommand.js +18 -41
  16. package/dist-cjs/commands/GetCallAnalyticsCategoryCommand.js +18 -41
  17. package/dist-cjs/commands/GetCallAnalyticsJobCommand.js +18 -41
  18. package/dist-cjs/commands/GetMedicalScribeJobCommand.js +18 -41
  19. package/dist-cjs/commands/GetMedicalTranscriptionJobCommand.js +18 -41
  20. package/dist-cjs/commands/GetMedicalVocabularyCommand.js +18 -41
  21. package/dist-cjs/commands/GetTranscriptionJobCommand.js +18 -41
  22. package/dist-cjs/commands/GetVocabularyCommand.js +18 -41
  23. package/dist-cjs/commands/GetVocabularyFilterCommand.js +18 -41
  24. package/dist-cjs/commands/ListCallAnalyticsCategoriesCommand.js +18 -41
  25. package/dist-cjs/commands/ListCallAnalyticsJobsCommand.js +18 -41
  26. package/dist-cjs/commands/ListLanguageModelsCommand.js +18 -41
  27. package/dist-cjs/commands/ListMedicalScribeJobsCommand.js +18 -41
  28. package/dist-cjs/commands/ListMedicalTranscriptionJobsCommand.js +18 -41
  29. package/dist-cjs/commands/ListMedicalVocabulariesCommand.js +18 -41
  30. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  31. package/dist-cjs/commands/ListTranscriptionJobsCommand.js +18 -41
  32. package/dist-cjs/commands/ListVocabulariesCommand.js +18 -41
  33. package/dist-cjs/commands/ListVocabularyFiltersCommand.js +18 -41
  34. package/dist-cjs/commands/StartCallAnalyticsJobCommand.js +18 -41
  35. package/dist-cjs/commands/StartMedicalScribeJobCommand.js +18 -41
  36. package/dist-cjs/commands/StartMedicalTranscriptionJobCommand.js +18 -41
  37. package/dist-cjs/commands/StartTranscriptionJobCommand.js +18 -41
  38. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  39. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  40. package/dist-cjs/commands/UpdateCallAnalyticsCategoryCommand.js +18 -41
  41. package/dist-cjs/commands/UpdateMedicalVocabularyCommand.js +18 -41
  42. package/dist-cjs/commands/UpdateVocabularyCommand.js +18 -41
  43. package/dist-cjs/commands/UpdateVocabularyFilterCommand.js +18 -41
  44. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  45. package/dist-cjs/pagination/ListCallAnalyticsCategoriesPaginator.js +2 -24
  46. package/dist-cjs/pagination/ListCallAnalyticsJobsPaginator.js +2 -24
  47. package/dist-cjs/pagination/ListLanguageModelsPaginator.js +2 -24
  48. package/dist-cjs/pagination/ListMedicalScribeJobsPaginator.js +2 -24
  49. package/dist-cjs/pagination/ListMedicalTranscriptionJobsPaginator.js +2 -24
  50. package/dist-cjs/pagination/ListMedicalVocabulariesPaginator.js +2 -24
  51. package/dist-cjs/pagination/ListTranscriptionJobsPaginator.js +2 -24
  52. package/dist-cjs/pagination/ListVocabulariesPaginator.js +2 -24
  53. package/dist-cjs/pagination/ListVocabularyFiltersPaginator.js +2 -24
  54. package/dist-es/commands/CreateCallAnalyticsCategoryCommand.js +18 -41
  55. package/dist-es/commands/CreateLanguageModelCommand.js +18 -41
  56. package/dist-es/commands/CreateMedicalVocabularyCommand.js +18 -41
  57. package/dist-es/commands/CreateVocabularyCommand.js +18 -41
  58. package/dist-es/commands/CreateVocabularyFilterCommand.js +18 -41
  59. package/dist-es/commands/DeleteCallAnalyticsCategoryCommand.js +18 -41
  60. package/dist-es/commands/DeleteCallAnalyticsJobCommand.js +18 -41
  61. package/dist-es/commands/DeleteLanguageModelCommand.js +18 -41
  62. package/dist-es/commands/DeleteMedicalScribeJobCommand.js +18 -41
  63. package/dist-es/commands/DeleteMedicalTranscriptionJobCommand.js +18 -41
  64. package/dist-es/commands/DeleteMedicalVocabularyCommand.js +18 -41
  65. package/dist-es/commands/DeleteTranscriptionJobCommand.js +18 -41
  66. package/dist-es/commands/DeleteVocabularyCommand.js +18 -41
  67. package/dist-es/commands/DeleteVocabularyFilterCommand.js +18 -41
  68. package/dist-es/commands/DescribeLanguageModelCommand.js +18 -41
  69. package/dist-es/commands/GetCallAnalyticsCategoryCommand.js +18 -41
  70. package/dist-es/commands/GetCallAnalyticsJobCommand.js +18 -41
  71. package/dist-es/commands/GetMedicalScribeJobCommand.js +18 -41
  72. package/dist-es/commands/GetMedicalTranscriptionJobCommand.js +18 -41
  73. package/dist-es/commands/GetMedicalVocabularyCommand.js +18 -41
  74. package/dist-es/commands/GetTranscriptionJobCommand.js +18 -41
  75. package/dist-es/commands/GetVocabularyCommand.js +18 -41
  76. package/dist-es/commands/GetVocabularyFilterCommand.js +18 -41
  77. package/dist-es/commands/ListCallAnalyticsCategoriesCommand.js +18 -41
  78. package/dist-es/commands/ListCallAnalyticsJobsCommand.js +18 -41
  79. package/dist-es/commands/ListLanguageModelsCommand.js +18 -41
  80. package/dist-es/commands/ListMedicalScribeJobsCommand.js +18 -41
  81. package/dist-es/commands/ListMedicalTranscriptionJobsCommand.js +18 -41
  82. package/dist-es/commands/ListMedicalVocabulariesCommand.js +18 -41
  83. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  84. package/dist-es/commands/ListTranscriptionJobsCommand.js +18 -41
  85. package/dist-es/commands/ListVocabulariesCommand.js +18 -41
  86. package/dist-es/commands/ListVocabularyFiltersCommand.js +18 -41
  87. package/dist-es/commands/StartCallAnalyticsJobCommand.js +18 -41
  88. package/dist-es/commands/StartMedicalScribeJobCommand.js +18 -41
  89. package/dist-es/commands/StartMedicalTranscriptionJobCommand.js +18 -41
  90. package/dist-es/commands/StartTranscriptionJobCommand.js +18 -41
  91. package/dist-es/commands/TagResourceCommand.js +18 -41
  92. package/dist-es/commands/UntagResourceCommand.js +18 -41
  93. package/dist-es/commands/UpdateCallAnalyticsCategoryCommand.js +18 -41
  94. package/dist-es/commands/UpdateMedicalVocabularyCommand.js +18 -41
  95. package/dist-es/commands/UpdateVocabularyCommand.js +18 -41
  96. package/dist-es/commands/UpdateVocabularyFilterCommand.js +18 -41
  97. package/dist-es/endpoint/EndpointParameters.js +6 -0
  98. package/dist-es/pagination/ListCallAnalyticsCategoriesPaginator.js +2 -23
  99. package/dist-es/pagination/ListCallAnalyticsJobsPaginator.js +2 -23
  100. package/dist-es/pagination/ListLanguageModelsPaginator.js +2 -23
  101. package/dist-es/pagination/ListMedicalScribeJobsPaginator.js +2 -23
  102. package/dist-es/pagination/ListMedicalTranscriptionJobsPaginator.js +2 -23
  103. package/dist-es/pagination/ListMedicalVocabulariesPaginator.js +2 -23
  104. package/dist-es/pagination/ListTranscriptionJobsPaginator.js +2 -23
  105. package/dist-es/pagination/ListVocabulariesPaginator.js +2 -23
  106. package/dist-es/pagination/ListVocabularyFiltersPaginator.js +2 -23
  107. package/dist-types/commands/CreateCallAnalyticsCategoryCommand.d.ts +6 -21
  108. package/dist-types/commands/CreateLanguageModelCommand.d.ts +6 -21
  109. package/dist-types/commands/CreateMedicalVocabularyCommand.d.ts +6 -21
  110. package/dist-types/commands/CreateVocabularyCommand.d.ts +6 -21
  111. package/dist-types/commands/CreateVocabularyFilterCommand.d.ts +6 -21
  112. package/dist-types/commands/DeleteCallAnalyticsCategoryCommand.d.ts +6 -21
  113. package/dist-types/commands/DeleteCallAnalyticsJobCommand.d.ts +6 -21
  114. package/dist-types/commands/DeleteLanguageModelCommand.d.ts +6 -21
  115. package/dist-types/commands/DeleteMedicalScribeJobCommand.d.ts +6 -21
  116. package/dist-types/commands/DeleteMedicalTranscriptionJobCommand.d.ts +6 -21
  117. package/dist-types/commands/DeleteMedicalVocabularyCommand.d.ts +6 -21
  118. package/dist-types/commands/DeleteTranscriptionJobCommand.d.ts +6 -21
  119. package/dist-types/commands/DeleteVocabularyCommand.d.ts +6 -21
  120. package/dist-types/commands/DeleteVocabularyFilterCommand.d.ts +6 -21
  121. package/dist-types/commands/DescribeLanguageModelCommand.d.ts +6 -21
  122. package/dist-types/commands/GetCallAnalyticsCategoryCommand.d.ts +6 -21
  123. package/dist-types/commands/GetCallAnalyticsJobCommand.d.ts +6 -21
  124. package/dist-types/commands/GetMedicalScribeJobCommand.d.ts +6 -21
  125. package/dist-types/commands/GetMedicalTranscriptionJobCommand.d.ts +6 -21
  126. package/dist-types/commands/GetMedicalVocabularyCommand.d.ts +6 -21
  127. package/dist-types/commands/GetTranscriptionJobCommand.d.ts +6 -21
  128. package/dist-types/commands/GetVocabularyCommand.d.ts +6 -21
  129. package/dist-types/commands/GetVocabularyFilterCommand.d.ts +6 -21
  130. package/dist-types/commands/ListCallAnalyticsCategoriesCommand.d.ts +6 -21
  131. package/dist-types/commands/ListCallAnalyticsJobsCommand.d.ts +6 -21
  132. package/dist-types/commands/ListLanguageModelsCommand.d.ts +6 -21
  133. package/dist-types/commands/ListMedicalScribeJobsCommand.d.ts +6 -21
  134. package/dist-types/commands/ListMedicalTranscriptionJobsCommand.d.ts +6 -21
  135. package/dist-types/commands/ListMedicalVocabulariesCommand.d.ts +6 -21
  136. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  137. package/dist-types/commands/ListTranscriptionJobsCommand.d.ts +6 -21
  138. package/dist-types/commands/ListVocabulariesCommand.d.ts +6 -21
  139. package/dist-types/commands/ListVocabularyFiltersCommand.d.ts +6 -21
  140. package/dist-types/commands/StartCallAnalyticsJobCommand.d.ts +6 -21
  141. package/dist-types/commands/StartMedicalScribeJobCommand.d.ts +6 -21
  142. package/dist-types/commands/StartMedicalTranscriptionJobCommand.d.ts +6 -21
  143. package/dist-types/commands/StartTranscriptionJobCommand.d.ts +6 -21
  144. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  145. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  146. package/dist-types/commands/UpdateCallAnalyticsCategoryCommand.d.ts +6 -21
  147. package/dist-types/commands/UpdateMedicalVocabularyCommand.d.ts +6 -21
  148. package/dist-types/commands/UpdateVocabularyCommand.d.ts +6 -21
  149. package/dist-types/commands/UpdateVocabularyFilterCommand.d.ts +6 -21
  150. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  151. package/dist-types/pagination/ListCallAnalyticsCategoriesPaginator.d.ts +1 -1
  152. package/dist-types/pagination/ListCallAnalyticsJobsPaginator.d.ts +1 -1
  153. package/dist-types/pagination/ListLanguageModelsPaginator.d.ts +1 -1
  154. package/dist-types/pagination/ListMedicalScribeJobsPaginator.d.ts +1 -1
  155. package/dist-types/pagination/ListMedicalTranscriptionJobsPaginator.d.ts +1 -1
  156. package/dist-types/pagination/ListMedicalVocabulariesPaginator.d.ts +1 -1
  157. package/dist-types/pagination/ListTranscriptionJobsPaginator.d.ts +1 -1
  158. package/dist-types/pagination/ListVocabulariesPaginator.d.ts +1 -1
  159. package/dist-types/pagination/ListVocabularyFiltersPaginator.d.ts +1 -1
  160. package/dist-types/ts3.4/commands/CreateCallAnalyticsCategoryCommand.d.ts +12 -24
  161. package/dist-types/ts3.4/commands/CreateLanguageModelCommand.d.ts +14 -23
  162. package/dist-types/ts3.4/commands/CreateMedicalVocabularyCommand.d.ts +12 -24
  163. package/dist-types/ts3.4/commands/CreateVocabularyCommand.d.ts +14 -23
  164. package/dist-types/ts3.4/commands/CreateVocabularyFilterCommand.d.ts +12 -24
  165. package/dist-types/ts3.4/commands/DeleteCallAnalyticsCategoryCommand.d.ts +12 -24
  166. package/dist-types/ts3.4/commands/DeleteCallAnalyticsJobCommand.d.ts +12 -24
  167. package/dist-types/ts3.4/commands/DeleteLanguageModelCommand.d.ts +14 -23
  168. package/dist-types/ts3.4/commands/DeleteMedicalScribeJobCommand.d.ts +12 -24
  169. package/dist-types/ts3.4/commands/DeleteMedicalTranscriptionJobCommand.d.ts +12 -24
  170. package/dist-types/ts3.4/commands/DeleteMedicalVocabularyCommand.d.ts +12 -24
  171. package/dist-types/ts3.4/commands/DeleteTranscriptionJobCommand.d.ts +12 -24
  172. package/dist-types/ts3.4/commands/DeleteVocabularyCommand.d.ts +14 -23
  173. package/dist-types/ts3.4/commands/DeleteVocabularyFilterCommand.d.ts +12 -24
  174. package/dist-types/ts3.4/commands/DescribeLanguageModelCommand.d.ts +12 -24
  175. package/dist-types/ts3.4/commands/GetCallAnalyticsCategoryCommand.d.ts +12 -24
  176. package/dist-types/ts3.4/commands/GetCallAnalyticsJobCommand.d.ts +14 -23
  177. package/dist-types/ts3.4/commands/GetMedicalScribeJobCommand.d.ts +14 -23
  178. package/dist-types/ts3.4/commands/GetMedicalTranscriptionJobCommand.d.ts +12 -24
  179. package/dist-types/ts3.4/commands/GetMedicalVocabularyCommand.d.ts +12 -24
  180. package/dist-types/ts3.4/commands/GetTranscriptionJobCommand.d.ts +14 -23
  181. package/dist-types/ts3.4/commands/GetVocabularyCommand.d.ts +14 -23
  182. package/dist-types/ts3.4/commands/GetVocabularyFilterCommand.d.ts +14 -23
  183. package/dist-types/ts3.4/commands/ListCallAnalyticsCategoriesCommand.d.ts +12 -24
  184. package/dist-types/ts3.4/commands/ListCallAnalyticsJobsCommand.d.ts +12 -24
  185. package/dist-types/ts3.4/commands/ListLanguageModelsCommand.d.ts +14 -23
  186. package/dist-types/ts3.4/commands/ListMedicalScribeJobsCommand.d.ts +12 -24
  187. package/dist-types/ts3.4/commands/ListMedicalTranscriptionJobsCommand.d.ts +12 -24
  188. package/dist-types/ts3.4/commands/ListMedicalVocabulariesCommand.d.ts +12 -24
  189. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  190. package/dist-types/ts3.4/commands/ListTranscriptionJobsCommand.d.ts +12 -24
  191. package/dist-types/ts3.4/commands/ListVocabulariesCommand.d.ts +14 -23
  192. package/dist-types/ts3.4/commands/ListVocabularyFiltersCommand.d.ts +12 -24
  193. package/dist-types/ts3.4/commands/StartCallAnalyticsJobCommand.d.ts +12 -24
  194. package/dist-types/ts3.4/commands/StartMedicalScribeJobCommand.d.ts +12 -24
  195. package/dist-types/ts3.4/commands/StartMedicalTranscriptionJobCommand.d.ts +12 -24
  196. package/dist-types/ts3.4/commands/StartTranscriptionJobCommand.d.ts +12 -24
  197. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  198. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  199. package/dist-types/ts3.4/commands/UpdateCallAnalyticsCategoryCommand.d.ts +12 -24
  200. package/dist-types/ts3.4/commands/UpdateMedicalVocabularyCommand.d.ts +12 -24
  201. package/dist-types/ts3.4/commands/UpdateVocabularyCommand.d.ts +14 -23
  202. package/dist-types/ts3.4/commands/UpdateVocabularyFilterCommand.d.ts +12 -24
  203. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  204. package/dist-types/ts3.4/pagination/ListCallAnalyticsCategoriesPaginator.d.ts +3 -3
  205. package/dist-types/ts3.4/pagination/ListCallAnalyticsJobsPaginator.d.ts +3 -3
  206. package/dist-types/ts3.4/pagination/ListLanguageModelsPaginator.d.ts +3 -3
  207. package/dist-types/ts3.4/pagination/ListMedicalScribeJobsPaginator.d.ts +3 -3
  208. package/dist-types/ts3.4/pagination/ListMedicalTranscriptionJobsPaginator.d.ts +3 -3
  209. package/dist-types/ts3.4/pagination/ListMedicalVocabulariesPaginator.d.ts +3 -3
  210. package/dist-types/ts3.4/pagination/ListTranscriptionJobsPaginator.d.ts +3 -3
  211. package/dist-types/ts3.4/pagination/ListVocabulariesPaginator.d.ts +3 -3
  212. package/dist-types/ts3.4/pagination/ListVocabularyFiltersPaginator.d.ts +3 -3
  213. package/package.json +11 -10
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListCallAnalyticsJobsCommand, } from "../commands/ListCallAnalyticsJobsCommand";
2
3
  import { TranscribeClient } from "../TranscribeClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListCallAnalyticsJobsCommand(input), ...args);
5
- };
6
- export async function* paginateListCallAnalyticsJobs(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof TranscribeClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Transcribe | TranscribeClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListCallAnalyticsJobs = createPaginator(TranscribeClient, ListCallAnalyticsJobsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListLanguageModelsCommand, } from "../commands/ListLanguageModelsCommand";
2
3
  import { TranscribeClient } from "../TranscribeClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListLanguageModelsCommand(input), ...args);
5
- };
6
- export async function* paginateListLanguageModels(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof TranscribeClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Transcribe | TranscribeClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListLanguageModels = createPaginator(TranscribeClient, ListLanguageModelsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListMedicalScribeJobsCommand, } from "../commands/ListMedicalScribeJobsCommand";
2
3
  import { TranscribeClient } from "../TranscribeClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListMedicalScribeJobsCommand(input), ...args);
5
- };
6
- export async function* paginateListMedicalScribeJobs(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof TranscribeClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Transcribe | TranscribeClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListMedicalScribeJobs = createPaginator(TranscribeClient, ListMedicalScribeJobsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListMedicalTranscriptionJobsCommand, } from "../commands/ListMedicalTranscriptionJobsCommand";
2
3
  import { TranscribeClient } from "../TranscribeClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListMedicalTranscriptionJobsCommand(input), ...args);
5
- };
6
- export async function* paginateListMedicalTranscriptionJobs(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof TranscribeClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Transcribe | TranscribeClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListMedicalTranscriptionJobs = createPaginator(TranscribeClient, ListMedicalTranscriptionJobsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListMedicalVocabulariesCommand, } from "../commands/ListMedicalVocabulariesCommand";
2
3
  import { TranscribeClient } from "../TranscribeClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListMedicalVocabulariesCommand(input), ...args);
5
- };
6
- export async function* paginateListMedicalVocabularies(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof TranscribeClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Transcribe | TranscribeClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListMedicalVocabularies = createPaginator(TranscribeClient, ListMedicalVocabulariesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListTranscriptionJobsCommand, } from "../commands/ListTranscriptionJobsCommand";
2
3
  import { TranscribeClient } from "../TranscribeClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListTranscriptionJobsCommand(input), ...args);
5
- };
6
- export async function* paginateListTranscriptionJobs(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof TranscribeClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Transcribe | TranscribeClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListTranscriptionJobs = createPaginator(TranscribeClient, ListTranscriptionJobsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListVocabulariesCommand, } from "../commands/ListVocabulariesCommand";
2
3
  import { TranscribeClient } from "../TranscribeClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListVocabulariesCommand(input), ...args);
5
- };
6
- export async function* paginateListVocabularies(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof TranscribeClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Transcribe | TranscribeClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListVocabularies = createPaginator(TranscribeClient, ListVocabulariesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListVocabularyFiltersCommand, } from "../commands/ListVocabularyFiltersCommand";
2
3
  import { TranscribeClient } from "../TranscribeClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListVocabularyFiltersCommand(input), ...args);
5
- };
6
- export async function* paginateListVocabularyFilters(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof TranscribeClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Transcribe | TranscribeClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListVocabularyFilters = createPaginator(TranscribeClient, ListVocabularyFiltersCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateCallAnalyticsCategoryRequest, CreateCallAnalyticsCategoryResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, TranscribeClientResolvedConfig } from "../TranscribeClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateCallAnalyticsCategoryCommandInput extends CreateCallAnaly
21
20
  */
22
21
  export interface CreateCallAnalyticsCategoryCommandOutput extends CreateCallAnalyticsCategoryResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateCallAnalyticsCategoryCommand_base: {
24
+ new (input: CreateCallAnalyticsCategoryCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCallAnalyticsCategoryCommandInput, CreateCallAnalyticsCategoryCommandOutput, TranscribeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a new Call Analytics category.</p>
@@ -242,23 +245,5 @@ export interface CreateCallAnalyticsCategoryCommandOutput extends CreateCallAnal
242
245
  * <p>Base exception class for all service exceptions from Transcribe service.</p>
243
246
  *
244
247
  */
245
- export declare class CreateCallAnalyticsCategoryCommand extends $Command<CreateCallAnalyticsCategoryCommandInput, CreateCallAnalyticsCategoryCommandOutput, TranscribeClientResolvedConfig> {
246
- readonly input: CreateCallAnalyticsCategoryCommandInput;
247
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
248
- /**
249
- * @public
250
- */
251
- constructor(input: CreateCallAnalyticsCategoryCommandInput);
252
- /**
253
- * @internal
254
- */
255
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateCallAnalyticsCategoryCommandInput, CreateCallAnalyticsCategoryCommandOutput>;
256
- /**
257
- * @internal
258
- */
259
- private serialize;
260
- /**
261
- * @internal
262
- */
263
- private deserialize;
248
+ export declare class CreateCallAnalyticsCategoryCommand extends CreateCallAnalyticsCategoryCommand_base {
264
249
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateLanguageModelRequest, CreateLanguageModelResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, TranscribeClientResolvedConfig } from "../TranscribeClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateLanguageModelCommandInput extends CreateLanguageModelRequ
21
20
  */
22
21
  export interface CreateLanguageModelCommandOutput extends CreateLanguageModelResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateLanguageModelCommand_base: {
24
+ new (input: CreateLanguageModelCommandInput): import("@smithy/smithy-client").CommandImpl<CreateLanguageModelCommandInput, CreateLanguageModelCommandOutput, TranscribeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a new custom language model.</p>
@@ -106,23 +109,5 @@ export interface CreateLanguageModelCommandOutput extends CreateLanguageModelRes
106
109
  * <p>Base exception class for all service exceptions from Transcribe service.</p>
107
110
  *
108
111
  */
109
- export declare class CreateLanguageModelCommand extends $Command<CreateLanguageModelCommandInput, CreateLanguageModelCommandOutput, TranscribeClientResolvedConfig> {
110
- readonly input: CreateLanguageModelCommandInput;
111
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
112
- /**
113
- * @public
114
- */
115
- constructor(input: CreateLanguageModelCommandInput);
116
- /**
117
- * @internal
118
- */
119
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateLanguageModelCommandInput, CreateLanguageModelCommandOutput>;
120
- /**
121
- * @internal
122
- */
123
- private serialize;
124
- /**
125
- * @internal
126
- */
127
- private deserialize;
112
+ export declare class CreateLanguageModelCommand extends CreateLanguageModelCommand_base {
128
113
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateMedicalVocabularyRequest, CreateMedicalVocabularyResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, TranscribeClientResolvedConfig } from "../TranscribeClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateMedicalVocabularyCommandInput extends CreateMedicalVocabu
21
20
  */
22
21
  export interface CreateMedicalVocabularyCommandOutput extends CreateMedicalVocabularyResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateMedicalVocabularyCommand_base: {
24
+ new (input: CreateMedicalVocabularyCommandInput): import("@smithy/smithy-client").CommandImpl<CreateMedicalVocabularyCommandInput, CreateMedicalVocabularyCommandOutput, TranscribeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a new custom medical vocabulary.</p>
@@ -93,23 +96,5 @@ export interface CreateMedicalVocabularyCommandOutput extends CreateMedicalVocab
93
96
  * <p>Base exception class for all service exceptions from Transcribe service.</p>
94
97
  *
95
98
  */
96
- export declare class CreateMedicalVocabularyCommand extends $Command<CreateMedicalVocabularyCommandInput, CreateMedicalVocabularyCommandOutput, TranscribeClientResolvedConfig> {
97
- readonly input: CreateMedicalVocabularyCommandInput;
98
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
99
- /**
100
- * @public
101
- */
102
- constructor(input: CreateMedicalVocabularyCommandInput);
103
- /**
104
- * @internal
105
- */
106
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateMedicalVocabularyCommandInput, CreateMedicalVocabularyCommandOutput>;
107
- /**
108
- * @internal
109
- */
110
- private serialize;
111
- /**
112
- * @internal
113
- */
114
- private deserialize;
99
+ export declare class CreateMedicalVocabularyCommand extends CreateMedicalVocabularyCommand_base {
115
100
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateVocabularyRequest, CreateVocabularyResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, TranscribeClientResolvedConfig } from "../TranscribeClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateVocabularyCommandInput extends CreateVocabularyRequest {
21
20
  */
22
21
  export interface CreateVocabularyCommandOutput extends CreateVocabularyResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateVocabularyCommand_base: {
24
+ new (input: CreateVocabularyCommandInput): import("@smithy/smithy-client").CommandImpl<CreateVocabularyCommandInput, CreateVocabularyCommandOutput, TranscribeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a new custom vocabulary.</p>
@@ -95,23 +98,5 @@ export interface CreateVocabularyCommandOutput extends CreateVocabularyResponse,
95
98
  * <p>Base exception class for all service exceptions from Transcribe service.</p>
96
99
  *
97
100
  */
98
- export declare class CreateVocabularyCommand extends $Command<CreateVocabularyCommandInput, CreateVocabularyCommandOutput, TranscribeClientResolvedConfig> {
99
- readonly input: CreateVocabularyCommandInput;
100
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
101
- /**
102
- * @public
103
- */
104
- constructor(input: CreateVocabularyCommandInput);
105
- /**
106
- * @internal
107
- */
108
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateVocabularyCommandInput, CreateVocabularyCommandOutput>;
109
- /**
110
- * @internal
111
- */
112
- private serialize;
113
- /**
114
- * @internal
115
- */
116
- private deserialize;
101
+ export declare class CreateVocabularyCommand extends CreateVocabularyCommand_base {
117
102
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateVocabularyFilterRequest, CreateVocabularyFilterResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, TranscribeClientResolvedConfig } from "../TranscribeClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateVocabularyFilterCommandInput extends CreateVocabularyFilt
21
20
  */
22
21
  export interface CreateVocabularyFilterCommandOutput extends CreateVocabularyFilterResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateVocabularyFilterCommand_base: {
24
+ new (input: CreateVocabularyFilterCommandInput): import("@smithy/smithy-client").CommandImpl<CreateVocabularyFilterCommandInput, CreateVocabularyFilterCommandOutput, TranscribeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a new custom vocabulary filter.</p>
@@ -92,23 +95,5 @@ export interface CreateVocabularyFilterCommandOutput extends CreateVocabularyFil
92
95
  * <p>Base exception class for all service exceptions from Transcribe service.</p>
93
96
  *
94
97
  */
95
- export declare class CreateVocabularyFilterCommand extends $Command<CreateVocabularyFilterCommandInput, CreateVocabularyFilterCommandOutput, TranscribeClientResolvedConfig> {
96
- readonly input: CreateVocabularyFilterCommandInput;
97
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
98
- /**
99
- * @public
100
- */
101
- constructor(input: CreateVocabularyFilterCommandInput);
102
- /**
103
- * @internal
104
- */
105
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateVocabularyFilterCommandInput, CreateVocabularyFilterCommandOutput>;
106
- /**
107
- * @internal
108
- */
109
- private serialize;
110
- /**
111
- * @internal
112
- */
113
- private deserialize;
98
+ export declare class CreateVocabularyFilterCommand extends CreateVocabularyFilterCommand_base {
114
99
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteCallAnalyticsCategoryRequest, DeleteCallAnalyticsCategoryResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, TranscribeClientResolvedConfig } from "../TranscribeClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteCallAnalyticsCategoryCommandInput extends DeleteCallAnaly
21
20
  */
22
21
  export interface DeleteCallAnalyticsCategoryCommandOutput extends DeleteCallAnalyticsCategoryResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteCallAnalyticsCategoryCommand_base: {
24
+ new (input: DeleteCallAnalyticsCategoryCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteCallAnalyticsCategoryCommandInput, DeleteCallAnalyticsCategoryCommandOutput, TranscribeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes a Call Analytics category. To use this operation, specify the name of the
@@ -69,23 +72,5 @@ export interface DeleteCallAnalyticsCategoryCommandOutput extends DeleteCallAnal
69
72
  * <p>Base exception class for all service exceptions from Transcribe service.</p>
70
73
  *
71
74
  */
72
- export declare class DeleteCallAnalyticsCategoryCommand extends $Command<DeleteCallAnalyticsCategoryCommandInput, DeleteCallAnalyticsCategoryCommandOutput, TranscribeClientResolvedConfig> {
73
- readonly input: DeleteCallAnalyticsCategoryCommandInput;
74
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
75
- /**
76
- * @public
77
- */
78
- constructor(input: DeleteCallAnalyticsCategoryCommandInput);
79
- /**
80
- * @internal
81
- */
82
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteCallAnalyticsCategoryCommandInput, DeleteCallAnalyticsCategoryCommandOutput>;
83
- /**
84
- * @internal
85
- */
86
- private serialize;
87
- /**
88
- * @internal
89
- */
90
- private deserialize;
75
+ export declare class DeleteCallAnalyticsCategoryCommand extends DeleteCallAnalyticsCategoryCommand_base {
91
76
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteCallAnalyticsJobRequest, DeleteCallAnalyticsJobResponse } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, TranscribeClientResolvedConfig } from "../TranscribeClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteCallAnalyticsJobCommandInput extends DeleteCallAnalyticsJ
21
20
  */
22
21
  export interface DeleteCallAnalyticsJobCommandOutput extends DeleteCallAnalyticsJobResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteCallAnalyticsJobCommand_base: {
24
+ new (input: DeleteCallAnalyticsJobCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteCallAnalyticsJobCommandInput, DeleteCallAnalyticsJobCommandOutput, TranscribeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes a Call Analytics job. To use this operation, specify the name of the job you
@@ -65,23 +68,5 @@ export interface DeleteCallAnalyticsJobCommandOutput extends DeleteCallAnalytics
65
68
  * <p>Base exception class for all service exceptions from Transcribe service.</p>
66
69
  *
67
70
  */
68
- export declare class DeleteCallAnalyticsJobCommand extends $Command<DeleteCallAnalyticsJobCommandInput, DeleteCallAnalyticsJobCommandOutput, TranscribeClientResolvedConfig> {
69
- readonly input: DeleteCallAnalyticsJobCommandInput;
70
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
71
- /**
72
- * @public
73
- */
74
- constructor(input: DeleteCallAnalyticsJobCommandInput);
75
- /**
76
- * @internal
77
- */
78
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteCallAnalyticsJobCommandInput, DeleteCallAnalyticsJobCommandOutput>;
79
- /**
80
- * @internal
81
- */
82
- private serialize;
83
- /**
84
- * @internal
85
- */
86
- private deserialize;
71
+ export declare class DeleteCallAnalyticsJobCommand extends DeleteCallAnalyticsJobCommand_base {
87
72
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteLanguageModelRequest } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, TranscribeClientResolvedConfig } from "../TranscribeClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteLanguageModelCommandInput extends DeleteLanguageModelRequ
21
20
  */
22
21
  export interface DeleteLanguageModelCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const DeleteLanguageModelCommand_base: {
24
+ new (input: DeleteLanguageModelCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteLanguageModelCommandInput, DeleteLanguageModelCommandOutput, TranscribeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes a custom language model. To use this operation, specify the name of the
@@ -65,23 +68,5 @@ export interface DeleteLanguageModelCommandOutput extends __MetadataBearer {
65
68
  * <p>Base exception class for all service exceptions from Transcribe service.</p>
66
69
  *
67
70
  */
68
- export declare class DeleteLanguageModelCommand extends $Command<DeleteLanguageModelCommandInput, DeleteLanguageModelCommandOutput, TranscribeClientResolvedConfig> {
69
- readonly input: DeleteLanguageModelCommandInput;
70
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
71
- /**
72
- * @public
73
- */
74
- constructor(input: DeleteLanguageModelCommandInput);
75
- /**
76
- * @internal
77
- */
78
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteLanguageModelCommandInput, DeleteLanguageModelCommandOutput>;
79
- /**
80
- * @internal
81
- */
82
- private serialize;
83
- /**
84
- * @internal
85
- */
86
- private deserialize;
71
+ export declare class DeleteLanguageModelCommand extends DeleteLanguageModelCommand_base {
87
72
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteMedicalScribeJobRequest } from "../models/models_0";
5
4
  import { ServiceInputTypes, ServiceOutputTypes, TranscribeClientResolvedConfig } from "../TranscribeClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteMedicalScribeJobCommandInput extends DeleteMedicalScribeJ
21
20
  */
22
21
  export interface DeleteMedicalScribeJobCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const DeleteMedicalScribeJobCommand_base: {
24
+ new (input: DeleteMedicalScribeJobCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMedicalScribeJobCommandInput, DeleteMedicalScribeJobCommandOutput, TranscribeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes a Medical Scribe job. To use this operation, specify the name of the
@@ -65,23 +68,5 @@ export interface DeleteMedicalScribeJobCommandOutput extends __MetadataBearer {
65
68
  * <p>Base exception class for all service exceptions from Transcribe service.</p>
66
69
  *
67
70
  */
68
- export declare class DeleteMedicalScribeJobCommand extends $Command<DeleteMedicalScribeJobCommandInput, DeleteMedicalScribeJobCommandOutput, TranscribeClientResolvedConfig> {
69
- readonly input: DeleteMedicalScribeJobCommandInput;
70
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
71
- /**
72
- * @public
73
- */
74
- constructor(input: DeleteMedicalScribeJobCommandInput);
75
- /**
76
- * @internal
77
- */
78
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TranscribeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteMedicalScribeJobCommandInput, DeleteMedicalScribeJobCommandOutput>;
79
- /**
80
- * @internal
81
- */
82
- private serialize;
83
- /**
84
- * @internal
85
- */
86
- private deserialize;
71
+ export declare class DeleteMedicalScribeJobCommand extends DeleteMedicalScribeJobCommand_base {
87
72
  }