@aws-sdk/client-transcribe 3.458.0 → 3.460.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 (46) hide show
  1. package/README.md +32 -0
  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 +14 -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 +13 -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/DeleteMedicalScribeJobCommand.d.ts +87 -0
  25. package/dist-types/commands/GetMedicalScribeJobCommand.d.ts +135 -0
  26. package/dist-types/commands/ListMedicalScribeJobsCommand.d.ts +104 -0
  27. package/dist-types/commands/StartMedicalScribeJobCommand.d.ts +203 -0
  28. package/dist-types/commands/StartMedicalTranscriptionJobCommand.d.ts +1 -1
  29. package/dist-types/commands/StartTranscriptionJobCommand.d.ts +1 -1
  30. package/dist-types/commands/index.d.ts +4 -0
  31. package/dist-types/models/models_0.d.ts +623 -77
  32. package/dist-types/pagination/ListMedicalScribeJobsPaginator.d.ts +7 -0
  33. package/dist-types/pagination/index.d.ts +1 -0
  34. package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
  35. package/dist-types/ts3.4/Transcribe.d.ts +68 -0
  36. package/dist-types/ts3.4/TranscribeClient.d.ts +24 -0
  37. package/dist-types/ts3.4/commands/DeleteMedicalScribeJobCommand.d.ts +37 -0
  38. package/dist-types/ts3.4/commands/GetMedicalScribeJobCommand.d.ts +39 -0
  39. package/dist-types/ts3.4/commands/ListMedicalScribeJobsCommand.d.ts +42 -0
  40. package/dist-types/ts3.4/commands/StartMedicalScribeJobCommand.d.ts +42 -0
  41. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  42. package/dist-types/ts3.4/models/models_0.d.ts +93 -0
  43. package/dist-types/ts3.4/pagination/ListMedicalScribeJobsPaginator.d.ts +11 -0
  44. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  45. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
  46. package/package.json +12 -12
package/README.md CHANGED
@@ -287,6 +287,14 @@ DeleteLanguageModel
287
287
 
288
288
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transcribe/command/DeleteLanguageModelCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/DeleteLanguageModelCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/DeleteLanguageModelCommandOutput/)
289
289
 
290
+ </details>
291
+ <details>
292
+ <summary>
293
+ DeleteMedicalScribeJob
294
+ </summary>
295
+
296
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transcribe/command/DeleteMedicalScribeJobCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/DeleteMedicalScribeJobCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/DeleteMedicalScribeJobCommandOutput/)
297
+
290
298
  </details>
291
299
  <details>
292
300
  <summary>
@@ -351,6 +359,14 @@ GetCallAnalyticsJob
351
359
 
352
360
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transcribe/command/GetCallAnalyticsJobCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/GetCallAnalyticsJobCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/GetCallAnalyticsJobCommandOutput/)
353
361
 
362
+ </details>
363
+ <details>
364
+ <summary>
365
+ GetMedicalScribeJob
366
+ </summary>
367
+
368
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transcribe/command/GetMedicalScribeJobCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/GetMedicalScribeJobCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/GetMedicalScribeJobCommandOutput/)
369
+
354
370
  </details>
355
371
  <details>
356
372
  <summary>
@@ -415,6 +431,14 @@ ListLanguageModels
415
431
 
416
432
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transcribe/command/ListLanguageModelsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/ListLanguageModelsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/ListLanguageModelsCommandOutput/)
417
433
 
434
+ </details>
435
+ <details>
436
+ <summary>
437
+ ListMedicalScribeJobs
438
+ </summary>
439
+
440
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transcribe/command/ListMedicalScribeJobsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/ListMedicalScribeJobsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/ListMedicalScribeJobsCommandOutput/)
441
+
418
442
  </details>
419
443
  <details>
420
444
  <summary>
@@ -471,6 +495,14 @@ StartCallAnalyticsJob
471
495
 
472
496
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transcribe/command/StartCallAnalyticsJobCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/StartCallAnalyticsJobCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/StartCallAnalyticsJobCommandOutput/)
473
497
 
498
+ </details>
499
+ <details>
500
+ <summary>
501
+ StartMedicalScribeJob
502
+ </summary>
503
+
504
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transcribe/command/StartMedicalScribeJobCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/StartMedicalScribeJobCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/StartMedicalScribeJobCommandOutput/)
505
+
474
506
  </details>
475
507
  <details>
476
508
  <summary>
@@ -10,6 +10,7 @@ const CreateVocabularyFilterCommand_1 = require("./commands/CreateVocabularyFilt
10
10
  const DeleteCallAnalyticsCategoryCommand_1 = require("./commands/DeleteCallAnalyticsCategoryCommand");
11
11
  const DeleteCallAnalyticsJobCommand_1 = require("./commands/DeleteCallAnalyticsJobCommand");
12
12
  const DeleteLanguageModelCommand_1 = require("./commands/DeleteLanguageModelCommand");
13
+ const DeleteMedicalScribeJobCommand_1 = require("./commands/DeleteMedicalScribeJobCommand");
13
14
  const DeleteMedicalTranscriptionJobCommand_1 = require("./commands/DeleteMedicalTranscriptionJobCommand");
14
15
  const DeleteMedicalVocabularyCommand_1 = require("./commands/DeleteMedicalVocabularyCommand");
15
16
  const DeleteTranscriptionJobCommand_1 = require("./commands/DeleteTranscriptionJobCommand");
@@ -18,6 +19,7 @@ const DeleteVocabularyFilterCommand_1 = require("./commands/DeleteVocabularyFilt
18
19
  const DescribeLanguageModelCommand_1 = require("./commands/DescribeLanguageModelCommand");
19
20
  const GetCallAnalyticsCategoryCommand_1 = require("./commands/GetCallAnalyticsCategoryCommand");
20
21
  const GetCallAnalyticsJobCommand_1 = require("./commands/GetCallAnalyticsJobCommand");
22
+ const GetMedicalScribeJobCommand_1 = require("./commands/GetMedicalScribeJobCommand");
21
23
  const GetMedicalTranscriptionJobCommand_1 = require("./commands/GetMedicalTranscriptionJobCommand");
22
24
  const GetMedicalVocabularyCommand_1 = require("./commands/GetMedicalVocabularyCommand");
23
25
  const GetTranscriptionJobCommand_1 = require("./commands/GetTranscriptionJobCommand");
@@ -26,6 +28,7 @@ const GetVocabularyFilterCommand_1 = require("./commands/GetVocabularyFilterComm
26
28
  const ListCallAnalyticsCategoriesCommand_1 = require("./commands/ListCallAnalyticsCategoriesCommand");
27
29
  const ListCallAnalyticsJobsCommand_1 = require("./commands/ListCallAnalyticsJobsCommand");
28
30
  const ListLanguageModelsCommand_1 = require("./commands/ListLanguageModelsCommand");
31
+ const ListMedicalScribeJobsCommand_1 = require("./commands/ListMedicalScribeJobsCommand");
29
32
  const ListMedicalTranscriptionJobsCommand_1 = require("./commands/ListMedicalTranscriptionJobsCommand");
30
33
  const ListMedicalVocabulariesCommand_1 = require("./commands/ListMedicalVocabulariesCommand");
31
34
  const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
@@ -33,6 +36,7 @@ const ListTranscriptionJobsCommand_1 = require("./commands/ListTranscriptionJobs
33
36
  const ListVocabulariesCommand_1 = require("./commands/ListVocabulariesCommand");
34
37
  const ListVocabularyFiltersCommand_1 = require("./commands/ListVocabularyFiltersCommand");
35
38
  const StartCallAnalyticsJobCommand_1 = require("./commands/StartCallAnalyticsJobCommand");
39
+ const StartMedicalScribeJobCommand_1 = require("./commands/StartMedicalScribeJobCommand");
36
40
  const StartMedicalTranscriptionJobCommand_1 = require("./commands/StartMedicalTranscriptionJobCommand");
37
41
  const StartTranscriptionJobCommand_1 = require("./commands/StartTranscriptionJobCommand");
38
42
  const TagResourceCommand_1 = require("./commands/TagResourceCommand");
@@ -51,6 +55,7 @@ const commands = {
51
55
  DeleteCallAnalyticsCategoryCommand: DeleteCallAnalyticsCategoryCommand_1.DeleteCallAnalyticsCategoryCommand,
52
56
  DeleteCallAnalyticsJobCommand: DeleteCallAnalyticsJobCommand_1.DeleteCallAnalyticsJobCommand,
53
57
  DeleteLanguageModelCommand: DeleteLanguageModelCommand_1.DeleteLanguageModelCommand,
58
+ DeleteMedicalScribeJobCommand: DeleteMedicalScribeJobCommand_1.DeleteMedicalScribeJobCommand,
54
59
  DeleteMedicalTranscriptionJobCommand: DeleteMedicalTranscriptionJobCommand_1.DeleteMedicalTranscriptionJobCommand,
55
60
  DeleteMedicalVocabularyCommand: DeleteMedicalVocabularyCommand_1.DeleteMedicalVocabularyCommand,
56
61
  DeleteTranscriptionJobCommand: DeleteTranscriptionJobCommand_1.DeleteTranscriptionJobCommand,
@@ -59,6 +64,7 @@ const commands = {
59
64
  DescribeLanguageModelCommand: DescribeLanguageModelCommand_1.DescribeLanguageModelCommand,
60
65
  GetCallAnalyticsCategoryCommand: GetCallAnalyticsCategoryCommand_1.GetCallAnalyticsCategoryCommand,
61
66
  GetCallAnalyticsJobCommand: GetCallAnalyticsJobCommand_1.GetCallAnalyticsJobCommand,
67
+ GetMedicalScribeJobCommand: GetMedicalScribeJobCommand_1.GetMedicalScribeJobCommand,
62
68
  GetMedicalTranscriptionJobCommand: GetMedicalTranscriptionJobCommand_1.GetMedicalTranscriptionJobCommand,
63
69
  GetMedicalVocabularyCommand: GetMedicalVocabularyCommand_1.GetMedicalVocabularyCommand,
64
70
  GetTranscriptionJobCommand: GetTranscriptionJobCommand_1.GetTranscriptionJobCommand,
@@ -67,6 +73,7 @@ const commands = {
67
73
  ListCallAnalyticsCategoriesCommand: ListCallAnalyticsCategoriesCommand_1.ListCallAnalyticsCategoriesCommand,
68
74
  ListCallAnalyticsJobsCommand: ListCallAnalyticsJobsCommand_1.ListCallAnalyticsJobsCommand,
69
75
  ListLanguageModelsCommand: ListLanguageModelsCommand_1.ListLanguageModelsCommand,
76
+ ListMedicalScribeJobsCommand: ListMedicalScribeJobsCommand_1.ListMedicalScribeJobsCommand,
70
77
  ListMedicalTranscriptionJobsCommand: ListMedicalTranscriptionJobsCommand_1.ListMedicalTranscriptionJobsCommand,
71
78
  ListMedicalVocabulariesCommand: ListMedicalVocabulariesCommand_1.ListMedicalVocabulariesCommand,
72
79
  ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
@@ -74,6 +81,7 @@ const commands = {
74
81
  ListVocabulariesCommand: ListVocabulariesCommand_1.ListVocabulariesCommand,
75
82
  ListVocabularyFiltersCommand: ListVocabularyFiltersCommand_1.ListVocabularyFiltersCommand,
76
83
  StartCallAnalyticsJobCommand: StartCallAnalyticsJobCommand_1.StartCallAnalyticsJobCommand,
84
+ StartMedicalScribeJobCommand: StartMedicalScribeJobCommand_1.StartMedicalScribeJobCommand,
77
85
  StartMedicalTranscriptionJobCommand: StartMedicalTranscriptionJobCommand_1.StartMedicalTranscriptionJobCommand,
78
86
  StartTranscriptionJobCommand: StartTranscriptionJobCommand_1.StartTranscriptionJobCommand,
79
87
  TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteMedicalScribeJobCommand = 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 DeleteMedicalScribeJobCommand 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, DeleteMedicalScribeJobCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "TranscribeClient";
29
+ const commandName = "DeleteMedicalScribeJobCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Transcribe",
38
+ operation: "DeleteMedicalScribeJob",
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_DeleteMedicalScribeJobCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_json1_1_1.de_DeleteMedicalScribeJobCommand)(output, context);
49
+ }
50
+ }
51
+ exports.DeleteMedicalScribeJobCommand = DeleteMedicalScribeJobCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetMedicalScribeJobCommand = 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 GetMedicalScribeJobCommand 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, GetMedicalScribeJobCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "TranscribeClient";
29
+ const commandName = "GetMedicalScribeJobCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "Transcribe",
38
+ operation: "GetMedicalScribeJob",
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_GetMedicalScribeJobCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_json1_1_1.de_GetMedicalScribeJobCommand)(output, context);
49
+ }
50
+ }
51
+ exports.GetMedicalScribeJobCommand = GetMedicalScribeJobCommand;
@@ -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) {
@@ -273,6 +273,19 @@ class NotFoundException extends TranscribeServiceException_1.TranscribeServiceEx
273
273
  }
274
274
  }
275
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
+ };
276
289
  exports.MedicalContentIdentificationType = {
277
290
  PHI: "PHI",
278
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);