@aws-sdk/client-transcribe 3.454.0 → 3.459.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 (65) hide show
  1. package/README.md +71 -39
  2. package/dist-cjs/Transcribe.js +8 -0
  3. package/dist-cjs/commands/DeleteMedicalScribeJobCommand.js +51 -0
  4. package/dist-cjs/commands/GetMedicalScribeJobCommand.js +51 -0
  5. package/dist-cjs/commands/ListMedicalScribeJobsCommand.js +51 -0
  6. package/dist-cjs/commands/StartMedicalScribeJobCommand.js +51 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/models/models_0.js +78 -1
  9. package/dist-cjs/pagination/ListMedicalScribeJobsPaginator.js +29 -0
  10. package/dist-cjs/pagination/index.js +1 -0
  11. package/dist-cjs/protocols/Aws_json1_1.js +242 -2
  12. package/dist-es/Transcribe.js +8 -0
  13. package/dist-es/commands/DeleteMedicalScribeJobCommand.js +47 -0
  14. package/dist-es/commands/GetMedicalScribeJobCommand.js +47 -0
  15. package/dist-es/commands/ListMedicalScribeJobsCommand.js +47 -0
  16. package/dist-es/commands/StartMedicalScribeJobCommand.js +47 -0
  17. package/dist-es/commands/index.js +4 -0
  18. package/dist-es/models/models_0.js +77 -0
  19. package/dist-es/pagination/ListMedicalScribeJobsPaginator.js +25 -0
  20. package/dist-es/pagination/index.js +1 -0
  21. package/dist-es/protocols/Aws_json1_1.js +232 -0
  22. package/dist-types/Transcribe.d.ts +28 -0
  23. package/dist-types/TranscribeClient.d.ts +6 -2
  24. package/dist-types/commands/CreateMedicalVocabularyCommand.d.ts +2 -2
  25. package/dist-types/commands/CreateVocabularyCommand.d.ts +2 -2
  26. package/dist-types/commands/CreateVocabularyFilterCommand.d.ts +2 -2
  27. package/dist-types/commands/DeleteMedicalScribeJobCommand.d.ts +87 -0
  28. package/dist-types/commands/GetCallAnalyticsJobCommand.d.ts +5 -2
  29. package/dist-types/commands/GetMedicalScribeJobCommand.d.ts +135 -0
  30. package/dist-types/commands/GetMedicalTranscriptionJobCommand.d.ts +1 -1
  31. package/dist-types/commands/GetMedicalVocabularyCommand.d.ts +1 -1
  32. package/dist-types/commands/GetTranscriptionJobCommand.d.ts +3 -3
  33. package/dist-types/commands/GetVocabularyCommand.d.ts +1 -1
  34. package/dist-types/commands/GetVocabularyFilterCommand.d.ts +1 -1
  35. package/dist-types/commands/ListCallAnalyticsJobsCommand.d.ts +1 -1
  36. package/dist-types/commands/ListMedicalScribeJobsCommand.d.ts +104 -0
  37. package/dist-types/commands/ListMedicalTranscriptionJobsCommand.d.ts +1 -1
  38. package/dist-types/commands/ListMedicalVocabulariesCommand.d.ts +1 -1
  39. package/dist-types/commands/ListTranscriptionJobsCommand.d.ts +2 -2
  40. package/dist-types/commands/ListVocabulariesCommand.d.ts +1 -1
  41. package/dist-types/commands/ListVocabularyFiltersCommand.d.ts +1 -1
  42. package/dist-types/commands/StartCallAnalyticsJobCommand.d.ts +9 -3
  43. package/dist-types/commands/StartMedicalScribeJobCommand.d.ts +203 -0
  44. package/dist-types/commands/StartMedicalTranscriptionJobCommand.d.ts +3 -3
  45. package/dist-types/commands/StartTranscriptionJobCommand.d.ts +6 -6
  46. package/dist-types/commands/UpdateMedicalVocabularyCommand.d.ts +2 -2
  47. package/dist-types/commands/UpdateVocabularyCommand.d.ts +2 -2
  48. package/dist-types/commands/UpdateVocabularyFilterCommand.d.ts +1 -1
  49. package/dist-types/commands/index.d.ts +4 -0
  50. package/dist-types/models/models_0.d.ts +709 -77
  51. package/dist-types/pagination/ListMedicalScribeJobsPaginator.d.ts +7 -0
  52. package/dist-types/pagination/index.d.ts +1 -0
  53. package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
  54. package/dist-types/ts3.4/Transcribe.d.ts +68 -0
  55. package/dist-types/ts3.4/TranscribeClient.d.ts +24 -0
  56. package/dist-types/ts3.4/commands/DeleteMedicalScribeJobCommand.d.ts +37 -0
  57. package/dist-types/ts3.4/commands/GetMedicalScribeJobCommand.d.ts +39 -0
  58. package/dist-types/ts3.4/commands/ListMedicalScribeJobsCommand.d.ts +42 -0
  59. package/dist-types/ts3.4/commands/StartMedicalScribeJobCommand.d.ts +42 -0
  60. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  61. package/dist-types/ts3.4/models/models_0.d.ts +161 -0
  62. package/dist-types/ts3.4/pagination/ListMedicalScribeJobsPaginator.d.ts +11 -0
  63. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  64. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
  65. package/package.json +3 -3
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListMedicalScribeJobsCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
+ class ListMedicalScribeJobsCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListMedicalScribeJobsCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "TranscribeClient";
29
+ const commandName = "ListMedicalScribeJobsCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Transcribe",
38
+ operation: "ListMedicalScribeJobs",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_json1_1_1.se_ListMedicalScribeJobsCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_json1_1_1.de_ListMedicalScribeJobsCommand)(output, context);
49
+ }
50
+ }
51
+ exports.ListMedicalScribeJobsCommand = ListMedicalScribeJobsCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StartMedicalScribeJobCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
+ class StartMedicalScribeJobCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartMedicalScribeJobCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "TranscribeClient";
29
+ const commandName = "StartMedicalScribeJobCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Transcribe",
38
+ operation: "StartMedicalScribeJob",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_json1_1_1.se_StartMedicalScribeJobCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_json1_1_1.de_StartMedicalScribeJobCommand)(output, context);
49
+ }
50
+ }
51
+ exports.StartMedicalScribeJobCommand = StartMedicalScribeJobCommand;
@@ -9,6 +9,7 @@ tslib_1.__exportStar(require("./CreateVocabularyFilterCommand"), exports);
9
9
  tslib_1.__exportStar(require("./DeleteCallAnalyticsCategoryCommand"), exports);
10
10
  tslib_1.__exportStar(require("./DeleteCallAnalyticsJobCommand"), exports);
11
11
  tslib_1.__exportStar(require("./DeleteLanguageModelCommand"), exports);
12
+ tslib_1.__exportStar(require("./DeleteMedicalScribeJobCommand"), exports);
12
13
  tslib_1.__exportStar(require("./DeleteMedicalTranscriptionJobCommand"), exports);
13
14
  tslib_1.__exportStar(require("./DeleteMedicalVocabularyCommand"), exports);
14
15
  tslib_1.__exportStar(require("./DeleteTranscriptionJobCommand"), exports);
@@ -17,6 +18,7 @@ tslib_1.__exportStar(require("./DeleteVocabularyFilterCommand"), exports);
17
18
  tslib_1.__exportStar(require("./DescribeLanguageModelCommand"), exports);
18
19
  tslib_1.__exportStar(require("./GetCallAnalyticsCategoryCommand"), exports);
19
20
  tslib_1.__exportStar(require("./GetCallAnalyticsJobCommand"), exports);
21
+ tslib_1.__exportStar(require("./GetMedicalScribeJobCommand"), exports);
20
22
  tslib_1.__exportStar(require("./GetMedicalTranscriptionJobCommand"), exports);
21
23
  tslib_1.__exportStar(require("./GetMedicalVocabularyCommand"), exports);
22
24
  tslib_1.__exportStar(require("./GetTranscriptionJobCommand"), exports);
@@ -25,6 +27,7 @@ tslib_1.__exportStar(require("./GetVocabularyFilterCommand"), exports);
25
27
  tslib_1.__exportStar(require("./ListCallAnalyticsCategoriesCommand"), exports);
26
28
  tslib_1.__exportStar(require("./ListCallAnalyticsJobsCommand"), exports);
27
29
  tslib_1.__exportStar(require("./ListLanguageModelsCommand"), exports);
30
+ tslib_1.__exportStar(require("./ListMedicalScribeJobsCommand"), exports);
28
31
  tslib_1.__exportStar(require("./ListMedicalTranscriptionJobsCommand"), exports);
29
32
  tslib_1.__exportStar(require("./ListMedicalVocabulariesCommand"), exports);
30
33
  tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
@@ -32,6 +35,7 @@ tslib_1.__exportStar(require("./ListTranscriptionJobsCommand"), exports);
32
35
  tslib_1.__exportStar(require("./ListVocabulariesCommand"), exports);
33
36
  tslib_1.__exportStar(require("./ListVocabularyFiltersCommand"), exports);
34
37
  tslib_1.__exportStar(require("./StartCallAnalyticsJobCommand"), exports);
38
+ tslib_1.__exportStar(require("./StartMedicalScribeJobCommand"), exports);
35
39
  tslib_1.__exportStar(require("./StartMedicalTranscriptionJobCommand"), exports);
36
40
  tslib_1.__exportStar(require("./StartTranscriptionJobCommand"), exports);
37
41
  tslib_1.__exportStar(require("./TagResourceCommand"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.OutputLocationType = exports.ToxicityCategory = exports.SubtitleFormat = exports.Type = exports.TranscriptionJobStatus = exports.Specialty = exports.MedicalContentIdentificationType = exports.NotFoundException = exports.VocabularyState = exports.ModelStatus = exports.LimitExceededException = exports.InternalFailureException = exports.ConflictException = exports.CLMLanguageCode = exports.Rule = exports.TranscriptFilterType = exports.SentimentValue = exports.InputType = exports.VocabularyFilterMethod = exports.RedactionType = exports.RedactionOutput = exports.PiiEntityType = exports.MediaFormat = exports.LanguageCode = exports.ParticipantRole = exports.CallAnalyticsJobStatus = exports.BaseModelName = exports.BadRequestException = void 0;
3
+ exports.OutputLocationType = exports.ToxicityCategory = exports.SubtitleFormat = exports.Type = exports.TranscriptionJobStatus = exports.Specialty = exports.MedicalContentIdentificationType = exports.MedicalScribeJobStatus = exports.MedicalScribeLanguageCode = exports.MedicalScribeParticipantRole = exports.NotFoundException = exports.VocabularyState = exports.ModelStatus = exports.LimitExceededException = exports.InternalFailureException = exports.ConflictException = exports.CLMLanguageCode = exports.Rule = exports.TranscriptFilterType = exports.SentimentValue = exports.InputType = exports.VocabularyFilterMethod = exports.RedactionType = exports.RedactionOutput = exports.PiiEntityType = exports.MediaFormat = exports.LanguageCode = exports.ParticipantRole = exports.CallAnalyticsJobStatus = exports.BaseModelName = exports.BadRequestException = void 0;
4
4
  const TranscribeServiceException_1 = require("./TranscribeServiceException");
5
5
  class BadRequestException extends TranscribeServiceException_1.TranscribeServiceException {
6
6
  constructor(opts) {
@@ -31,12 +31,26 @@ exports.ParticipantRole = {
31
31
  CUSTOMER: "CUSTOMER",
32
32
  };
33
33
  exports.LanguageCode = {
34
+ AB_GE: "ab-GE",
34
35
  AF_ZA: "af-ZA",
35
36
  AR_AE: "ar-AE",
36
37
  AR_SA: "ar-SA",
38
+ AST_ES: "ast-ES",
39
+ AZ_AZ: "az-AZ",
40
+ BA_RU: "ba-RU",
41
+ BE_BY: "be-BY",
42
+ BG_BG: "bg-BG",
43
+ BN_IN: "bn-IN",
44
+ BS_BA: "bs-BA",
45
+ CA_ES: "ca-ES",
46
+ CKB_IQ: "ckb-IQ",
47
+ CKB_IR: "ckb-IR",
48
+ CS_CZ: "cs-CZ",
49
+ CY_WL: "cy-WL",
37
50
  DA_DK: "da-DK",
38
51
  DE_CH: "de-CH",
39
52
  DE_DE: "de-DE",
53
+ EL_GR: "el-GR",
40
54
  EN_AB: "en-AB",
41
55
  EN_AU: "en-AU",
42
56
  EN_GB: "en-GB",
@@ -48,28 +62,78 @@ exports.LanguageCode = {
48
62
  EN_ZA: "en-ZA",
49
63
  ES_ES: "es-ES",
50
64
  ES_US: "es-US",
65
+ ET_ET: "et-ET",
66
+ EU_ES: "eu-ES",
51
67
  FA_IR: "fa-IR",
68
+ FI_FI: "fi-FI",
52
69
  FR_CA: "fr-CA",
53
70
  FR_FR: "fr-FR",
71
+ GL_ES: "gl-ES",
72
+ GU_IN: "gu-IN",
73
+ HA_NG: "ha-NG",
54
74
  HE_IL: "he-IL",
55
75
  HI_IN: "hi-IN",
76
+ HR_HR: "hr-HR",
77
+ HU_HU: "hu-HU",
78
+ HY_AM: "hy-AM",
56
79
  ID_ID: "id-ID",
80
+ IS_IS: "is-IS",
57
81
  IT_IT: "it-IT",
58
82
  JA_JP: "ja-JP",
83
+ KAB_DZ: "kab-DZ",
84
+ KA_GE: "ka-GE",
85
+ KK_KZ: "kk-KZ",
86
+ KN_IN: "kn-IN",
59
87
  KO_KR: "ko-KR",
88
+ KY_KG: "ky-KG",
89
+ LG_IN: "lg-IN",
90
+ LT_LT: "lt-LT",
91
+ LV_LV: "lv-LV",
92
+ MHR_RU: "mhr-RU",
93
+ MI_NZ: "mi-NZ",
94
+ MK_MK: "mk-MK",
95
+ ML_IN: "ml-IN",
96
+ MN_MN: "mn-MN",
97
+ MR_IN: "mr-IN",
60
98
  MS_MY: "ms-MY",
99
+ MT_MT: "mt-MT",
61
100
  NL_NL: "nl-NL",
101
+ NO_NO: "no-NO",
102
+ OR_IN: "or-IN",
103
+ PA_IN: "pa-IN",
104
+ PL_PL: "pl-PL",
105
+ PS_AF: "ps-AF",
62
106
  PT_BR: "pt-BR",
63
107
  PT_PT: "pt-PT",
108
+ RO_RO: "ro-RO",
64
109
  RU_RU: "ru-RU",
110
+ RW_RW: "rw-RW",
111
+ SI_LK: "si-LK",
112
+ SK_SK: "sk-SK",
113
+ SL_SI: "sl-SI",
114
+ SO_SO: "so-SO",
115
+ SR_RS: "sr-RS",
116
+ SU_ID: "su-ID",
65
117
  SV_SE: "sv-SE",
118
+ SW_BI: "sw-BI",
119
+ SW_KE: "sw-KE",
120
+ SW_RW: "sw-RW",
121
+ SW_TZ: "sw-TZ",
122
+ SW_UG: "sw-UG",
66
123
  TA_IN: "ta-IN",
67
124
  TE_IN: "te-IN",
68
125
  TH_TH: "th-TH",
126
+ TL_PH: "tl-PH",
69
127
  TR_TR: "tr-TR",
128
+ TT_RU: "tt-RU",
129
+ UG_CN: "ug-CN",
130
+ UK_UA: "uk-UA",
131
+ UZ_UZ: "uz-UZ",
70
132
  VI_VN: "vi-VN",
133
+ WO_SN: "wo-SN",
71
134
  ZH_CN: "zh-CN",
72
135
  ZH_TW: "zh-TW",
136
+ ZU_ZA: "zu-ZA",
73
137
  };
74
138
  exports.MediaFormat = {
75
139
  AMR: "amr",
@@ -209,6 +273,19 @@ class NotFoundException extends TranscribeServiceException_1.TranscribeServiceEx
209
273
  }
210
274
  }
211
275
  exports.NotFoundException = NotFoundException;
276
+ exports.MedicalScribeParticipantRole = {
277
+ CLINICIAN: "CLINICIAN",
278
+ PATIENT: "PATIENT",
279
+ };
280
+ exports.MedicalScribeLanguageCode = {
281
+ EN_US: "en-US",
282
+ };
283
+ exports.MedicalScribeJobStatus = {
284
+ COMPLETED: "COMPLETED",
285
+ FAILED: "FAILED",
286
+ IN_PROGRESS: "IN_PROGRESS",
287
+ QUEUED: "QUEUED",
288
+ };
212
289
  exports.MedicalContentIdentificationType = {
213
290
  PHI: "PHI",
214
291
  };
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListMedicalScribeJobs = void 0;
4
+ const ListMedicalScribeJobsCommand_1 = require("../commands/ListMedicalScribeJobsCommand");
5
+ const TranscribeClient_1 = require("../TranscribeClient");
6
+ const makePagedClientRequest = async (client, input, ...args) => {
7
+ return await client.send(new ListMedicalScribeJobsCommand_1.ListMedicalScribeJobsCommand(input), ...args);
8
+ };
9
+ async function* paginateListMedicalScribeJobs(config, input, ...additionalArguments) {
10
+ let token = config.startingToken || undefined;
11
+ let hasNext = true;
12
+ let page;
13
+ while (hasNext) {
14
+ input.NextToken = token;
15
+ input["MaxResults"] = config.pageSize;
16
+ if (config.client instanceof TranscribeClient_1.TranscribeClient) {
17
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
+ }
19
+ else {
20
+ throw new Error("Invalid client, expected Transcribe | TranscribeClient");
21
+ }
22
+ yield page;
23
+ const prevToken = token;
24
+ token = page.NextToken;
25
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
+ }
27
+ return undefined;
28
+ }
29
+ exports.paginateListMedicalScribeJobs = paginateListMedicalScribeJobs;
@@ -5,6 +5,7 @@ tslib_1.__exportStar(require("./Interfaces"), exports);
5
5
  tslib_1.__exportStar(require("./ListCallAnalyticsCategoriesPaginator"), exports);
6
6
  tslib_1.__exportStar(require("./ListCallAnalyticsJobsPaginator"), exports);
7
7
  tslib_1.__exportStar(require("./ListLanguageModelsPaginator"), exports);
8
+ tslib_1.__exportStar(require("./ListMedicalScribeJobsPaginator"), exports);
8
9
  tslib_1.__exportStar(require("./ListMedicalTranscriptionJobsPaginator"), exports);
9
10
  tslib_1.__exportStar(require("./ListMedicalVocabulariesPaginator"), exports);
10
11
  tslib_1.__exportStar(require("./ListTranscriptionJobsPaginator"), exports);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.de_DeleteTranscriptionJobCommand = exports.de_DeleteMedicalVocabularyCommand = exports.de_DeleteMedicalTranscriptionJobCommand = exports.de_DeleteLanguageModelCommand = exports.de_DeleteCallAnalyticsJobCommand = exports.de_DeleteCallAnalyticsCategoryCommand = exports.de_CreateVocabularyFilterCommand = exports.de_CreateVocabularyCommand = exports.de_CreateMedicalVocabularyCommand = exports.de_CreateLanguageModelCommand = exports.de_CreateCallAnalyticsCategoryCommand = exports.se_UpdateVocabularyFilterCommand = exports.se_UpdateVocabularyCommand = exports.se_UpdateMedicalVocabularyCommand = exports.se_UpdateCallAnalyticsCategoryCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StartTranscriptionJobCommand = exports.se_StartMedicalTranscriptionJobCommand = exports.se_StartCallAnalyticsJobCommand = exports.se_ListVocabularyFiltersCommand = exports.se_ListVocabulariesCommand = exports.se_ListTranscriptionJobsCommand = exports.se_ListTagsForResourceCommand = exports.se_ListMedicalVocabulariesCommand = exports.se_ListMedicalTranscriptionJobsCommand = exports.se_ListLanguageModelsCommand = exports.se_ListCallAnalyticsJobsCommand = exports.se_ListCallAnalyticsCategoriesCommand = exports.se_GetVocabularyFilterCommand = exports.se_GetVocabularyCommand = exports.se_GetTranscriptionJobCommand = exports.se_GetMedicalVocabularyCommand = exports.se_GetMedicalTranscriptionJobCommand = exports.se_GetCallAnalyticsJobCommand = exports.se_GetCallAnalyticsCategoryCommand = exports.se_DescribeLanguageModelCommand = exports.se_DeleteVocabularyFilterCommand = exports.se_DeleteVocabularyCommand = exports.se_DeleteTranscriptionJobCommand = exports.se_DeleteMedicalVocabularyCommand = exports.se_DeleteMedicalTranscriptionJobCommand = exports.se_DeleteLanguageModelCommand = exports.se_DeleteCallAnalyticsJobCommand = exports.se_DeleteCallAnalyticsCategoryCommand = exports.se_CreateVocabularyFilterCommand = exports.se_CreateVocabularyCommand = exports.se_CreateMedicalVocabularyCommand = exports.se_CreateLanguageModelCommand = exports.se_CreateCallAnalyticsCategoryCommand = void 0;
4
- exports.de_UpdateVocabularyFilterCommand = exports.de_UpdateVocabularyCommand = exports.de_UpdateMedicalVocabularyCommand = exports.de_UpdateCallAnalyticsCategoryCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StartTranscriptionJobCommand = exports.de_StartMedicalTranscriptionJobCommand = exports.de_StartCallAnalyticsJobCommand = exports.de_ListVocabularyFiltersCommand = exports.de_ListVocabulariesCommand = exports.de_ListTranscriptionJobsCommand = exports.de_ListTagsForResourceCommand = exports.de_ListMedicalVocabulariesCommand = exports.de_ListMedicalTranscriptionJobsCommand = exports.de_ListLanguageModelsCommand = exports.de_ListCallAnalyticsJobsCommand = exports.de_ListCallAnalyticsCategoriesCommand = exports.de_GetVocabularyFilterCommand = exports.de_GetVocabularyCommand = exports.de_GetTranscriptionJobCommand = exports.de_GetMedicalVocabularyCommand = exports.de_GetMedicalTranscriptionJobCommand = exports.de_GetCallAnalyticsJobCommand = exports.de_GetCallAnalyticsCategoryCommand = exports.de_DescribeLanguageModelCommand = exports.de_DeleteVocabularyFilterCommand = exports.de_DeleteVocabularyCommand = void 0;
3
+ exports.de_DeleteCallAnalyticsJobCommand = exports.de_DeleteCallAnalyticsCategoryCommand = exports.de_CreateVocabularyFilterCommand = exports.de_CreateVocabularyCommand = exports.de_CreateMedicalVocabularyCommand = exports.de_CreateLanguageModelCommand = exports.de_CreateCallAnalyticsCategoryCommand = exports.se_UpdateVocabularyFilterCommand = exports.se_UpdateVocabularyCommand = exports.se_UpdateMedicalVocabularyCommand = exports.se_UpdateCallAnalyticsCategoryCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StartTranscriptionJobCommand = exports.se_StartMedicalTranscriptionJobCommand = exports.se_StartMedicalScribeJobCommand = exports.se_StartCallAnalyticsJobCommand = exports.se_ListVocabularyFiltersCommand = exports.se_ListVocabulariesCommand = exports.se_ListTranscriptionJobsCommand = exports.se_ListTagsForResourceCommand = exports.se_ListMedicalVocabulariesCommand = exports.se_ListMedicalTranscriptionJobsCommand = exports.se_ListMedicalScribeJobsCommand = exports.se_ListLanguageModelsCommand = exports.se_ListCallAnalyticsJobsCommand = exports.se_ListCallAnalyticsCategoriesCommand = exports.se_GetVocabularyFilterCommand = exports.se_GetVocabularyCommand = exports.se_GetTranscriptionJobCommand = exports.se_GetMedicalVocabularyCommand = exports.se_GetMedicalTranscriptionJobCommand = exports.se_GetMedicalScribeJobCommand = exports.se_GetCallAnalyticsJobCommand = exports.se_GetCallAnalyticsCategoryCommand = exports.se_DescribeLanguageModelCommand = exports.se_DeleteVocabularyFilterCommand = exports.se_DeleteVocabularyCommand = exports.se_DeleteTranscriptionJobCommand = exports.se_DeleteMedicalVocabularyCommand = exports.se_DeleteMedicalTranscriptionJobCommand = exports.se_DeleteMedicalScribeJobCommand = exports.se_DeleteLanguageModelCommand = exports.se_DeleteCallAnalyticsJobCommand = exports.se_DeleteCallAnalyticsCategoryCommand = exports.se_CreateVocabularyFilterCommand = exports.se_CreateVocabularyCommand = exports.se_CreateMedicalVocabularyCommand = exports.se_CreateLanguageModelCommand = exports.se_CreateCallAnalyticsCategoryCommand = void 0;
4
+ exports.de_UpdateVocabularyFilterCommand = exports.de_UpdateVocabularyCommand = exports.de_UpdateMedicalVocabularyCommand = exports.de_UpdateCallAnalyticsCategoryCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StartTranscriptionJobCommand = exports.de_StartMedicalTranscriptionJobCommand = exports.de_StartMedicalScribeJobCommand = exports.de_StartCallAnalyticsJobCommand = exports.de_ListVocabularyFiltersCommand = exports.de_ListVocabulariesCommand = exports.de_ListTranscriptionJobsCommand = exports.de_ListTagsForResourceCommand = exports.de_ListMedicalVocabulariesCommand = exports.de_ListMedicalTranscriptionJobsCommand = exports.de_ListMedicalScribeJobsCommand = exports.de_ListLanguageModelsCommand = exports.de_ListCallAnalyticsJobsCommand = exports.de_ListCallAnalyticsCategoriesCommand = exports.de_GetVocabularyFilterCommand = exports.de_GetVocabularyCommand = exports.de_GetTranscriptionJobCommand = exports.de_GetMedicalVocabularyCommand = exports.de_GetMedicalTranscriptionJobCommand = exports.de_GetMedicalScribeJobCommand = exports.de_GetCallAnalyticsJobCommand = exports.de_GetCallAnalyticsCategoryCommand = exports.de_DescribeLanguageModelCommand = exports.de_DeleteVocabularyFilterCommand = exports.de_DeleteVocabularyCommand = exports.de_DeleteTranscriptionJobCommand = exports.de_DeleteMedicalVocabularyCommand = exports.de_DeleteMedicalTranscriptionJobCommand = exports.de_DeleteMedicalScribeJobCommand = exports.de_DeleteLanguageModelCommand = void 0;
5
5
  const protocol_http_1 = require("@smithy/protocol-http");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
@@ -62,6 +62,13 @@ const se_DeleteLanguageModelCommand = async (input, context) => {
62
62
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
63
63
  };
64
64
  exports.se_DeleteLanguageModelCommand = se_DeleteLanguageModelCommand;
65
+ const se_DeleteMedicalScribeJobCommand = async (input, context) => {
66
+ const headers = sharedHeaders("DeleteMedicalScribeJob");
67
+ let body;
68
+ body = JSON.stringify((0, smithy_client_1._json)(input));
69
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
70
+ };
71
+ exports.se_DeleteMedicalScribeJobCommand = se_DeleteMedicalScribeJobCommand;
65
72
  const se_DeleteMedicalTranscriptionJobCommand = async (input, context) => {
66
73
  const headers = sharedHeaders("DeleteMedicalTranscriptionJob");
67
74
  let body;
@@ -118,6 +125,13 @@ const se_GetCallAnalyticsJobCommand = async (input, context) => {
118
125
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
119
126
  };
120
127
  exports.se_GetCallAnalyticsJobCommand = se_GetCallAnalyticsJobCommand;
128
+ const se_GetMedicalScribeJobCommand = async (input, context) => {
129
+ const headers = sharedHeaders("GetMedicalScribeJob");
130
+ let body;
131
+ body = JSON.stringify((0, smithy_client_1._json)(input));
132
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
133
+ };
134
+ exports.se_GetMedicalScribeJobCommand = se_GetMedicalScribeJobCommand;
121
135
  const se_GetMedicalTranscriptionJobCommand = async (input, context) => {
122
136
  const headers = sharedHeaders("GetMedicalTranscriptionJob");
123
137
  let body;
@@ -174,6 +188,13 @@ const se_ListLanguageModelsCommand = async (input, context) => {
174
188
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
175
189
  };
176
190
  exports.se_ListLanguageModelsCommand = se_ListLanguageModelsCommand;
191
+ const se_ListMedicalScribeJobsCommand = async (input, context) => {
192
+ const headers = sharedHeaders("ListMedicalScribeJobs");
193
+ let body;
194
+ body = JSON.stringify((0, smithy_client_1._json)(input));
195
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
196
+ };
197
+ exports.se_ListMedicalScribeJobsCommand = se_ListMedicalScribeJobsCommand;
177
198
  const se_ListMedicalTranscriptionJobsCommand = async (input, context) => {
178
199
  const headers = sharedHeaders("ListMedicalTranscriptionJobs");
179
200
  let body;
@@ -223,6 +244,13 @@ const se_StartCallAnalyticsJobCommand = async (input, context) => {
223
244
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
224
245
  };
225
246
  exports.se_StartCallAnalyticsJobCommand = se_StartCallAnalyticsJobCommand;
247
+ const se_StartMedicalScribeJobCommand = async (input, context) => {
248
+ const headers = sharedHeaders("StartMedicalScribeJob");
249
+ let body;
250
+ body = JSON.stringify((0, smithy_client_1._json)(input));
251
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
252
+ };
253
+ exports.se_StartMedicalScribeJobCommand = se_StartMedicalScribeJobCommand;
226
254
  const se_StartMedicalTranscriptionJobCommand = async (input, context) => {
227
255
  const headers = sharedHeaders("StartMedicalTranscriptionJob");
228
256
  let body;
@@ -606,6 +634,42 @@ const de_DeleteLanguageModelCommandError = async (output, context) => {
606
634
  });
607
635
  }
608
636
  };
637
+ const de_DeleteMedicalScribeJobCommand = async (output, context) => {
638
+ if (output.statusCode >= 300) {
639
+ return de_DeleteMedicalScribeJobCommandError(output, context);
640
+ }
641
+ await (0, smithy_client_1.collectBody)(output.body, context);
642
+ const response = {
643
+ $metadata: deserializeMetadata(output),
644
+ };
645
+ return response;
646
+ };
647
+ exports.de_DeleteMedicalScribeJobCommand = de_DeleteMedicalScribeJobCommand;
648
+ const de_DeleteMedicalScribeJobCommandError = async (output, context) => {
649
+ const parsedOutput = {
650
+ ...output,
651
+ body: await parseErrorBody(output.body, context),
652
+ };
653
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
654
+ switch (errorCode) {
655
+ case "BadRequestException":
656
+ case "com.amazonaws.transcribe#BadRequestException":
657
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
658
+ case "InternalFailureException":
659
+ case "com.amazonaws.transcribe#InternalFailureException":
660
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
661
+ case "LimitExceededException":
662
+ case "com.amazonaws.transcribe#LimitExceededException":
663
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
664
+ default:
665
+ const parsedBody = parsedOutput.body;
666
+ return throwDefaultError({
667
+ output,
668
+ parsedBody,
669
+ errorCode,
670
+ });
671
+ }
672
+ };
609
673
  const de_DeleteMedicalTranscriptionJobCommand = async (output, context) => {
610
674
  if (output.statusCode >= 300) {
611
675
  return de_DeleteMedicalTranscriptionJobCommandError(output, context);
@@ -921,6 +985,48 @@ const de_GetCallAnalyticsJobCommandError = async (output, context) => {
921
985
  });
922
986
  }
923
987
  };
988
+ const de_GetMedicalScribeJobCommand = async (output, context) => {
989
+ if (output.statusCode >= 300) {
990
+ return de_GetMedicalScribeJobCommandError(output, context);
991
+ }
992
+ const data = await parseBody(output.body, context);
993
+ let contents = {};
994
+ contents = de_GetMedicalScribeJobResponse(data, context);
995
+ const response = {
996
+ $metadata: deserializeMetadata(output),
997
+ ...contents,
998
+ };
999
+ return response;
1000
+ };
1001
+ exports.de_GetMedicalScribeJobCommand = de_GetMedicalScribeJobCommand;
1002
+ const de_GetMedicalScribeJobCommandError = async (output, context) => {
1003
+ const parsedOutput = {
1004
+ ...output,
1005
+ body: await parseErrorBody(output.body, context),
1006
+ };
1007
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1008
+ switch (errorCode) {
1009
+ case "BadRequestException":
1010
+ case "com.amazonaws.transcribe#BadRequestException":
1011
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1012
+ case "InternalFailureException":
1013
+ case "com.amazonaws.transcribe#InternalFailureException":
1014
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1015
+ case "LimitExceededException":
1016
+ case "com.amazonaws.transcribe#LimitExceededException":
1017
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1018
+ case "NotFoundException":
1019
+ case "com.amazonaws.transcribe#NotFoundException":
1020
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1021
+ default:
1022
+ const parsedBody = parsedOutput.body;
1023
+ return throwDefaultError({
1024
+ output,
1025
+ parsedBody,
1026
+ errorCode,
1027
+ });
1028
+ }
1029
+ };
924
1030
  const de_GetMedicalTranscriptionJobCommand = async (output, context) => {
925
1031
  if (output.statusCode >= 300) {
926
1032
  return de_GetMedicalTranscriptionJobCommandError(output, context);
@@ -1248,6 +1354,45 @@ const de_ListLanguageModelsCommandError = async (output, context) => {
1248
1354
  });
1249
1355
  }
1250
1356
  };
1357
+ const de_ListMedicalScribeJobsCommand = async (output, context) => {
1358
+ if (output.statusCode >= 300) {
1359
+ return de_ListMedicalScribeJobsCommandError(output, context);
1360
+ }
1361
+ const data = await parseBody(output.body, context);
1362
+ let contents = {};
1363
+ contents = de_ListMedicalScribeJobsResponse(data, context);
1364
+ const response = {
1365
+ $metadata: deserializeMetadata(output),
1366
+ ...contents,
1367
+ };
1368
+ return response;
1369
+ };
1370
+ exports.de_ListMedicalScribeJobsCommand = de_ListMedicalScribeJobsCommand;
1371
+ const de_ListMedicalScribeJobsCommandError = async (output, context) => {
1372
+ const parsedOutput = {
1373
+ ...output,
1374
+ body: await parseErrorBody(output.body, context),
1375
+ };
1376
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1377
+ switch (errorCode) {
1378
+ case "BadRequestException":
1379
+ case "com.amazonaws.transcribe#BadRequestException":
1380
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1381
+ case "InternalFailureException":
1382
+ case "com.amazonaws.transcribe#InternalFailureException":
1383
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1384
+ case "LimitExceededException":
1385
+ case "com.amazonaws.transcribe#LimitExceededException":
1386
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1387
+ default:
1388
+ const parsedBody = parsedOutput.body;
1389
+ return throwDefaultError({
1390
+ output,
1391
+ parsedBody,
1392
+ errorCode,
1393
+ });
1394
+ }
1395
+ };
1251
1396
  const de_ListMedicalTranscriptionJobsCommand = async (output, context) => {
1252
1397
  if (output.statusCode >= 300) {
1253
1398
  return de_ListMedicalTranscriptionJobsCommandError(output, context);
@@ -1527,6 +1672,48 @@ const de_StartCallAnalyticsJobCommandError = async (output, context) => {
1527
1672
  });
1528
1673
  }
1529
1674
  };
1675
+ const de_StartMedicalScribeJobCommand = async (output, context) => {
1676
+ if (output.statusCode >= 300) {
1677
+ return de_StartMedicalScribeJobCommandError(output, context);
1678
+ }
1679
+ const data = await parseBody(output.body, context);
1680
+ let contents = {};
1681
+ contents = de_StartMedicalScribeJobResponse(data, context);
1682
+ const response = {
1683
+ $metadata: deserializeMetadata(output),
1684
+ ...contents,
1685
+ };
1686
+ return response;
1687
+ };
1688
+ exports.de_StartMedicalScribeJobCommand = de_StartMedicalScribeJobCommand;
1689
+ const de_StartMedicalScribeJobCommandError = async (output, context) => {
1690
+ const parsedOutput = {
1691
+ ...output,
1692
+ body: await parseErrorBody(output.body, context),
1693
+ };
1694
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1695
+ switch (errorCode) {
1696
+ case "BadRequestException":
1697
+ case "com.amazonaws.transcribe#BadRequestException":
1698
+ throw await de_BadRequestExceptionRes(parsedOutput, context);
1699
+ case "ConflictException":
1700
+ case "com.amazonaws.transcribe#ConflictException":
1701
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1702
+ case "InternalFailureException":
1703
+ case "com.amazonaws.transcribe#InternalFailureException":
1704
+ throw await de_InternalFailureExceptionRes(parsedOutput, context);
1705
+ case "LimitExceededException":
1706
+ case "com.amazonaws.transcribe#LimitExceededException":
1707
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1708
+ default:
1709
+ const parsedBody = parsedOutput.body;
1710
+ return throwDefaultError({
1711
+ output,
1712
+ parsedBody,
1713
+ errorCode,
1714
+ });
1715
+ }
1716
+ };
1530
1717
  const de_StartMedicalTranscriptionJobCommand = async (output, context) => {
1531
1718
  if (output.statusCode >= 300) {
1532
1719
  return de_StartMedicalTranscriptionJobCommandError(output, context);
@@ -2023,6 +2210,11 @@ const de_GetCallAnalyticsJobResponse = (output, context) => {
2023
2210
  CallAnalyticsJob: (_) => de_CallAnalyticsJob(_, context),
2024
2211
  });
2025
2212
  };
2213
+ const de_GetMedicalScribeJobResponse = (output, context) => {
2214
+ return (0, smithy_client_1.take)(output, {
2215
+ MedicalScribeJob: (_) => de_MedicalScribeJob(_, context),
2216
+ });
2217
+ };
2026
2218
  const de_GetMedicalTranscriptionJobResponse = (output, context) => {
2027
2219
  return (0, smithy_client_1.take)(output, {
2028
2220
  MedicalTranscriptionJob: (_) => de_MedicalTranscriptionJob(_, context),
@@ -2107,6 +2299,13 @@ const de_ListLanguageModelsResponse = (output, context) => {
2107
2299
  NextToken: smithy_client_1.expectString,
2108
2300
  });
2109
2301
  };
2302
+ const de_ListMedicalScribeJobsResponse = (output, context) => {
2303
+ return (0, smithy_client_1.take)(output, {
2304
+ MedicalScribeJobSummaries: (_) => de_MedicalScribeJobSummaries(_, context),
2305
+ NextToken: smithy_client_1.expectString,
2306
+ Status: smithy_client_1.expectString,
2307
+ });
2308
+ };
2110
2309
  const de_ListMedicalTranscriptionJobsResponse = (output, context) => {
2111
2310
  return (0, smithy_client_1.take)(output, {
2112
2311
  MedicalTranscriptionJobSummaries: (_) => de_MedicalTranscriptionJobSummaries(_, context),
@@ -2141,6 +2340,42 @@ const de_ListVocabularyFiltersResponse = (output, context) => {
2141
2340
  VocabularyFilters: (_) => de_VocabularyFilters(_, context),
2142
2341
  });
2143
2342
  };
2343
+ const de_MedicalScribeJob = (output, context) => {
2344
+ return (0, smithy_client_1.take)(output, {
2345
+ ChannelDefinitions: smithy_client_1._json,
2346
+ CompletionTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
2347
+ CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
2348
+ DataAccessRoleArn: smithy_client_1.expectString,
2349
+ FailureReason: smithy_client_1.expectString,
2350
+ LanguageCode: smithy_client_1.expectString,
2351
+ Media: smithy_client_1._json,
2352
+ MedicalScribeJobName: smithy_client_1.expectString,
2353
+ MedicalScribeJobStatus: smithy_client_1.expectString,
2354
+ MedicalScribeOutput: smithy_client_1._json,
2355
+ Settings: smithy_client_1._json,
2356
+ StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
2357
+ Tags: smithy_client_1._json,
2358
+ });
2359
+ };
2360
+ const de_MedicalScribeJobSummaries = (output, context) => {
2361
+ const retVal = (output || [])
2362
+ .filter((e) => e != null)
2363
+ .map((entry) => {
2364
+ return de_MedicalScribeJobSummary(entry, context);
2365
+ });
2366
+ return retVal;
2367
+ };
2368
+ const de_MedicalScribeJobSummary = (output, context) => {
2369
+ return (0, smithy_client_1.take)(output, {
2370
+ CompletionTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
2371
+ CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
2372
+ FailureReason: smithy_client_1.expectString,
2373
+ LanguageCode: smithy_client_1.expectString,
2374
+ MedicalScribeJobName: smithy_client_1.expectString,
2375
+ MedicalScribeJobStatus: smithy_client_1.expectString,
2376
+ StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
2377
+ });
2378
+ };
2144
2379
  const de_MedicalTranscriptionJob = (output, context) => {
2145
2380
  return (0, smithy_client_1.take)(output, {
2146
2381
  CompletionTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
@@ -2197,6 +2432,11 @@ const de_StartCallAnalyticsJobResponse = (output, context) => {
2197
2432
  CallAnalyticsJob: (_) => de_CallAnalyticsJob(_, context),
2198
2433
  });
2199
2434
  };
2435
+ const de_StartMedicalScribeJobResponse = (output, context) => {
2436
+ return (0, smithy_client_1.take)(output, {
2437
+ MedicalScribeJob: (_) => de_MedicalScribeJob(_, context),
2438
+ });
2439
+ };
2200
2440
  const de_StartMedicalTranscriptionJobResponse = (output, context) => {
2201
2441
  return (0, smithy_client_1.take)(output, {
2202
2442
  MedicalTranscriptionJob: (_) => de_MedicalTranscriptionJob(_, context),