@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.
- package/README.md +71 -39
- package/dist-cjs/Transcribe.js +8 -0
- package/dist-cjs/commands/DeleteMedicalScribeJobCommand.js +51 -0
- package/dist-cjs/commands/GetMedicalScribeJobCommand.js +51 -0
- package/dist-cjs/commands/ListMedicalScribeJobsCommand.js +51 -0
- package/dist-cjs/commands/StartMedicalScribeJobCommand.js +51 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +78 -1
- package/dist-cjs/pagination/ListMedicalScribeJobsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +242 -2
- package/dist-es/Transcribe.js +8 -0
- package/dist-es/commands/DeleteMedicalScribeJobCommand.js +47 -0
- package/dist-es/commands/GetMedicalScribeJobCommand.js +47 -0
- package/dist-es/commands/ListMedicalScribeJobsCommand.js +47 -0
- package/dist-es/commands/StartMedicalScribeJobCommand.js +47 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +77 -0
- package/dist-es/pagination/ListMedicalScribeJobsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +232 -0
- package/dist-types/Transcribe.d.ts +28 -0
- package/dist-types/TranscribeClient.d.ts +6 -2
- package/dist-types/commands/CreateMedicalVocabularyCommand.d.ts +2 -2
- package/dist-types/commands/CreateVocabularyCommand.d.ts +2 -2
- package/dist-types/commands/CreateVocabularyFilterCommand.d.ts +2 -2
- package/dist-types/commands/DeleteMedicalScribeJobCommand.d.ts +87 -0
- package/dist-types/commands/GetCallAnalyticsJobCommand.d.ts +5 -2
- package/dist-types/commands/GetMedicalScribeJobCommand.d.ts +135 -0
- package/dist-types/commands/GetMedicalTranscriptionJobCommand.d.ts +1 -1
- package/dist-types/commands/GetMedicalVocabularyCommand.d.ts +1 -1
- package/dist-types/commands/GetTranscriptionJobCommand.d.ts +3 -3
- package/dist-types/commands/GetVocabularyCommand.d.ts +1 -1
- package/dist-types/commands/GetVocabularyFilterCommand.d.ts +1 -1
- package/dist-types/commands/ListCallAnalyticsJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListMedicalScribeJobsCommand.d.ts +104 -0
- package/dist-types/commands/ListMedicalTranscriptionJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListMedicalVocabulariesCommand.d.ts +1 -1
- package/dist-types/commands/ListTranscriptionJobsCommand.d.ts +2 -2
- package/dist-types/commands/ListVocabulariesCommand.d.ts +1 -1
- package/dist-types/commands/ListVocabularyFiltersCommand.d.ts +1 -1
- package/dist-types/commands/StartCallAnalyticsJobCommand.d.ts +9 -3
- package/dist-types/commands/StartMedicalScribeJobCommand.d.ts +203 -0
- package/dist-types/commands/StartMedicalTranscriptionJobCommand.d.ts +3 -3
- package/dist-types/commands/StartTranscriptionJobCommand.d.ts +6 -6
- package/dist-types/commands/UpdateMedicalVocabularyCommand.d.ts +2 -2
- package/dist-types/commands/UpdateVocabularyCommand.d.ts +2 -2
- package/dist-types/commands/UpdateVocabularyFilterCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +709 -77
- package/dist-types/pagination/ListMedicalScribeJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
- package/dist-types/ts3.4/Transcribe.d.ts +68 -0
- package/dist-types/ts3.4/TranscribeClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/DeleteMedicalScribeJobCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetMedicalScribeJobCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListMedicalScribeJobsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartMedicalScribeJobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +161 -0
- package/dist-types/ts3.4/pagination/ListMedicalScribeJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
- package/package.json +3 -3
package/dist-es/Transcribe.js
CHANGED
|
@@ -7,6 +7,7 @@ import { CreateVocabularyFilterCommand, } from "./commands/CreateVocabularyFilte
|
|
|
7
7
|
import { DeleteCallAnalyticsCategoryCommand, } from "./commands/DeleteCallAnalyticsCategoryCommand";
|
|
8
8
|
import { DeleteCallAnalyticsJobCommand, } from "./commands/DeleteCallAnalyticsJobCommand";
|
|
9
9
|
import { DeleteLanguageModelCommand, } from "./commands/DeleteLanguageModelCommand";
|
|
10
|
+
import { DeleteMedicalScribeJobCommand, } from "./commands/DeleteMedicalScribeJobCommand";
|
|
10
11
|
import { DeleteMedicalTranscriptionJobCommand, } from "./commands/DeleteMedicalTranscriptionJobCommand";
|
|
11
12
|
import { DeleteMedicalVocabularyCommand, } from "./commands/DeleteMedicalVocabularyCommand";
|
|
12
13
|
import { DeleteTranscriptionJobCommand, } from "./commands/DeleteTranscriptionJobCommand";
|
|
@@ -15,6 +16,7 @@ import { DeleteVocabularyFilterCommand, } from "./commands/DeleteVocabularyFilte
|
|
|
15
16
|
import { DescribeLanguageModelCommand, } from "./commands/DescribeLanguageModelCommand";
|
|
16
17
|
import { GetCallAnalyticsCategoryCommand, } from "./commands/GetCallAnalyticsCategoryCommand";
|
|
17
18
|
import { GetCallAnalyticsJobCommand, } from "./commands/GetCallAnalyticsJobCommand";
|
|
19
|
+
import { GetMedicalScribeJobCommand, } from "./commands/GetMedicalScribeJobCommand";
|
|
18
20
|
import { GetMedicalTranscriptionJobCommand, } from "./commands/GetMedicalTranscriptionJobCommand";
|
|
19
21
|
import { GetMedicalVocabularyCommand, } from "./commands/GetMedicalVocabularyCommand";
|
|
20
22
|
import { GetTranscriptionJobCommand, } from "./commands/GetTranscriptionJobCommand";
|
|
@@ -23,6 +25,7 @@ import { GetVocabularyFilterCommand, } from "./commands/GetVocabularyFilterComma
|
|
|
23
25
|
import { ListCallAnalyticsCategoriesCommand, } from "./commands/ListCallAnalyticsCategoriesCommand";
|
|
24
26
|
import { ListCallAnalyticsJobsCommand, } from "./commands/ListCallAnalyticsJobsCommand";
|
|
25
27
|
import { ListLanguageModelsCommand, } from "./commands/ListLanguageModelsCommand";
|
|
28
|
+
import { ListMedicalScribeJobsCommand, } from "./commands/ListMedicalScribeJobsCommand";
|
|
26
29
|
import { ListMedicalTranscriptionJobsCommand, } from "./commands/ListMedicalTranscriptionJobsCommand";
|
|
27
30
|
import { ListMedicalVocabulariesCommand, } from "./commands/ListMedicalVocabulariesCommand";
|
|
28
31
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
@@ -30,6 +33,7 @@ import { ListTranscriptionJobsCommand, } from "./commands/ListTranscriptionJobsC
|
|
|
30
33
|
import { ListVocabulariesCommand, } from "./commands/ListVocabulariesCommand";
|
|
31
34
|
import { ListVocabularyFiltersCommand, } from "./commands/ListVocabularyFiltersCommand";
|
|
32
35
|
import { StartCallAnalyticsJobCommand, } from "./commands/StartCallAnalyticsJobCommand";
|
|
36
|
+
import { StartMedicalScribeJobCommand, } from "./commands/StartMedicalScribeJobCommand";
|
|
33
37
|
import { StartMedicalTranscriptionJobCommand, } from "./commands/StartMedicalTranscriptionJobCommand";
|
|
34
38
|
import { StartTranscriptionJobCommand, } from "./commands/StartTranscriptionJobCommand";
|
|
35
39
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
@@ -48,6 +52,7 @@ const commands = {
|
|
|
48
52
|
DeleteCallAnalyticsCategoryCommand,
|
|
49
53
|
DeleteCallAnalyticsJobCommand,
|
|
50
54
|
DeleteLanguageModelCommand,
|
|
55
|
+
DeleteMedicalScribeJobCommand,
|
|
51
56
|
DeleteMedicalTranscriptionJobCommand,
|
|
52
57
|
DeleteMedicalVocabularyCommand,
|
|
53
58
|
DeleteTranscriptionJobCommand,
|
|
@@ -56,6 +61,7 @@ const commands = {
|
|
|
56
61
|
DescribeLanguageModelCommand,
|
|
57
62
|
GetCallAnalyticsCategoryCommand,
|
|
58
63
|
GetCallAnalyticsJobCommand,
|
|
64
|
+
GetMedicalScribeJobCommand,
|
|
59
65
|
GetMedicalTranscriptionJobCommand,
|
|
60
66
|
GetMedicalVocabularyCommand,
|
|
61
67
|
GetTranscriptionJobCommand,
|
|
@@ -64,6 +70,7 @@ const commands = {
|
|
|
64
70
|
ListCallAnalyticsCategoriesCommand,
|
|
65
71
|
ListCallAnalyticsJobsCommand,
|
|
66
72
|
ListLanguageModelsCommand,
|
|
73
|
+
ListMedicalScribeJobsCommand,
|
|
67
74
|
ListMedicalTranscriptionJobsCommand,
|
|
68
75
|
ListMedicalVocabulariesCommand,
|
|
69
76
|
ListTagsForResourceCommand,
|
|
@@ -71,6 +78,7 @@ const commands = {
|
|
|
71
78
|
ListVocabulariesCommand,
|
|
72
79
|
ListVocabularyFiltersCommand,
|
|
73
80
|
StartCallAnalyticsJobCommand,
|
|
81
|
+
StartMedicalScribeJobCommand,
|
|
74
82
|
StartMedicalTranscriptionJobCommand,
|
|
75
83
|
StartTranscriptionJobCommand,
|
|
76
84
|
TagResourceCommand,
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_DeleteMedicalScribeJobCommand, se_DeleteMedicalScribeJobCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteMedicalScribeJobCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteMedicalScribeJobCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "TranscribeClient";
|
|
26
|
+
const commandName = "DeleteMedicalScribeJobCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Transcribe",
|
|
35
|
+
operation: "DeleteMedicalScribeJob",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_DeleteMedicalScribeJobCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_DeleteMedicalScribeJobCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_GetMedicalScribeJobCommand, se_GetMedicalScribeJobCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetMedicalScribeJobCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetMedicalScribeJobCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "TranscribeClient";
|
|
26
|
+
const commandName = "GetMedicalScribeJobCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Transcribe",
|
|
35
|
+
operation: "GetMedicalScribeJob",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_GetMedicalScribeJobCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_GetMedicalScribeJobCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_ListMedicalScribeJobsCommand, se_ListMedicalScribeJobsCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListMedicalScribeJobsCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListMedicalScribeJobsCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "TranscribeClient";
|
|
26
|
+
const commandName = "ListMedicalScribeJobsCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Transcribe",
|
|
35
|
+
operation: "ListMedicalScribeJobs",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_ListMedicalScribeJobsCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_ListMedicalScribeJobsCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_StartMedicalScribeJobCommand, se_StartMedicalScribeJobCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class StartMedicalScribeJobCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartMedicalScribeJobCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "TranscribeClient";
|
|
26
|
+
const commandName = "StartMedicalScribeJobCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "Transcribe",
|
|
35
|
+
operation: "StartMedicalScribeJob",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_StartMedicalScribeJobCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_StartMedicalScribeJobCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -6,6 +6,7 @@ export * from "./CreateVocabularyFilterCommand";
|
|
|
6
6
|
export * from "./DeleteCallAnalyticsCategoryCommand";
|
|
7
7
|
export * from "./DeleteCallAnalyticsJobCommand";
|
|
8
8
|
export * from "./DeleteLanguageModelCommand";
|
|
9
|
+
export * from "./DeleteMedicalScribeJobCommand";
|
|
9
10
|
export * from "./DeleteMedicalTranscriptionJobCommand";
|
|
10
11
|
export * from "./DeleteMedicalVocabularyCommand";
|
|
11
12
|
export * from "./DeleteTranscriptionJobCommand";
|
|
@@ -14,6 +15,7 @@ export * from "./DeleteVocabularyFilterCommand";
|
|
|
14
15
|
export * from "./DescribeLanguageModelCommand";
|
|
15
16
|
export * from "./GetCallAnalyticsCategoryCommand";
|
|
16
17
|
export * from "./GetCallAnalyticsJobCommand";
|
|
18
|
+
export * from "./GetMedicalScribeJobCommand";
|
|
17
19
|
export * from "./GetMedicalTranscriptionJobCommand";
|
|
18
20
|
export * from "./GetMedicalVocabularyCommand";
|
|
19
21
|
export * from "./GetTranscriptionJobCommand";
|
|
@@ -22,6 +24,7 @@ export * from "./GetVocabularyFilterCommand";
|
|
|
22
24
|
export * from "./ListCallAnalyticsCategoriesCommand";
|
|
23
25
|
export * from "./ListCallAnalyticsJobsCommand";
|
|
24
26
|
export * from "./ListLanguageModelsCommand";
|
|
27
|
+
export * from "./ListMedicalScribeJobsCommand";
|
|
25
28
|
export * from "./ListMedicalTranscriptionJobsCommand";
|
|
26
29
|
export * from "./ListMedicalVocabulariesCommand";
|
|
27
30
|
export * from "./ListTagsForResourceCommand";
|
|
@@ -29,6 +32,7 @@ export * from "./ListTranscriptionJobsCommand";
|
|
|
29
32
|
export * from "./ListVocabulariesCommand";
|
|
30
33
|
export * from "./ListVocabularyFiltersCommand";
|
|
31
34
|
export * from "./StartCallAnalyticsJobCommand";
|
|
35
|
+
export * from "./StartMedicalScribeJobCommand";
|
|
32
36
|
export * from "./StartMedicalTranscriptionJobCommand";
|
|
33
37
|
export * from "./StartTranscriptionJobCommand";
|
|
34
38
|
export * from "./TagResourceCommand";
|
|
@@ -27,12 +27,26 @@ export const ParticipantRole = {
|
|
|
27
27
|
CUSTOMER: "CUSTOMER",
|
|
28
28
|
};
|
|
29
29
|
export const LanguageCode = {
|
|
30
|
+
AB_GE: "ab-GE",
|
|
30
31
|
AF_ZA: "af-ZA",
|
|
31
32
|
AR_AE: "ar-AE",
|
|
32
33
|
AR_SA: "ar-SA",
|
|
34
|
+
AST_ES: "ast-ES",
|
|
35
|
+
AZ_AZ: "az-AZ",
|
|
36
|
+
BA_RU: "ba-RU",
|
|
37
|
+
BE_BY: "be-BY",
|
|
38
|
+
BG_BG: "bg-BG",
|
|
39
|
+
BN_IN: "bn-IN",
|
|
40
|
+
BS_BA: "bs-BA",
|
|
41
|
+
CA_ES: "ca-ES",
|
|
42
|
+
CKB_IQ: "ckb-IQ",
|
|
43
|
+
CKB_IR: "ckb-IR",
|
|
44
|
+
CS_CZ: "cs-CZ",
|
|
45
|
+
CY_WL: "cy-WL",
|
|
33
46
|
DA_DK: "da-DK",
|
|
34
47
|
DE_CH: "de-CH",
|
|
35
48
|
DE_DE: "de-DE",
|
|
49
|
+
EL_GR: "el-GR",
|
|
36
50
|
EN_AB: "en-AB",
|
|
37
51
|
EN_AU: "en-AU",
|
|
38
52
|
EN_GB: "en-GB",
|
|
@@ -44,28 +58,78 @@ export const LanguageCode = {
|
|
|
44
58
|
EN_ZA: "en-ZA",
|
|
45
59
|
ES_ES: "es-ES",
|
|
46
60
|
ES_US: "es-US",
|
|
61
|
+
ET_ET: "et-ET",
|
|
62
|
+
EU_ES: "eu-ES",
|
|
47
63
|
FA_IR: "fa-IR",
|
|
64
|
+
FI_FI: "fi-FI",
|
|
48
65
|
FR_CA: "fr-CA",
|
|
49
66
|
FR_FR: "fr-FR",
|
|
67
|
+
GL_ES: "gl-ES",
|
|
68
|
+
GU_IN: "gu-IN",
|
|
69
|
+
HA_NG: "ha-NG",
|
|
50
70
|
HE_IL: "he-IL",
|
|
51
71
|
HI_IN: "hi-IN",
|
|
72
|
+
HR_HR: "hr-HR",
|
|
73
|
+
HU_HU: "hu-HU",
|
|
74
|
+
HY_AM: "hy-AM",
|
|
52
75
|
ID_ID: "id-ID",
|
|
76
|
+
IS_IS: "is-IS",
|
|
53
77
|
IT_IT: "it-IT",
|
|
54
78
|
JA_JP: "ja-JP",
|
|
79
|
+
KAB_DZ: "kab-DZ",
|
|
80
|
+
KA_GE: "ka-GE",
|
|
81
|
+
KK_KZ: "kk-KZ",
|
|
82
|
+
KN_IN: "kn-IN",
|
|
55
83
|
KO_KR: "ko-KR",
|
|
84
|
+
KY_KG: "ky-KG",
|
|
85
|
+
LG_IN: "lg-IN",
|
|
86
|
+
LT_LT: "lt-LT",
|
|
87
|
+
LV_LV: "lv-LV",
|
|
88
|
+
MHR_RU: "mhr-RU",
|
|
89
|
+
MI_NZ: "mi-NZ",
|
|
90
|
+
MK_MK: "mk-MK",
|
|
91
|
+
ML_IN: "ml-IN",
|
|
92
|
+
MN_MN: "mn-MN",
|
|
93
|
+
MR_IN: "mr-IN",
|
|
56
94
|
MS_MY: "ms-MY",
|
|
95
|
+
MT_MT: "mt-MT",
|
|
57
96
|
NL_NL: "nl-NL",
|
|
97
|
+
NO_NO: "no-NO",
|
|
98
|
+
OR_IN: "or-IN",
|
|
99
|
+
PA_IN: "pa-IN",
|
|
100
|
+
PL_PL: "pl-PL",
|
|
101
|
+
PS_AF: "ps-AF",
|
|
58
102
|
PT_BR: "pt-BR",
|
|
59
103
|
PT_PT: "pt-PT",
|
|
104
|
+
RO_RO: "ro-RO",
|
|
60
105
|
RU_RU: "ru-RU",
|
|
106
|
+
RW_RW: "rw-RW",
|
|
107
|
+
SI_LK: "si-LK",
|
|
108
|
+
SK_SK: "sk-SK",
|
|
109
|
+
SL_SI: "sl-SI",
|
|
110
|
+
SO_SO: "so-SO",
|
|
111
|
+
SR_RS: "sr-RS",
|
|
112
|
+
SU_ID: "su-ID",
|
|
61
113
|
SV_SE: "sv-SE",
|
|
114
|
+
SW_BI: "sw-BI",
|
|
115
|
+
SW_KE: "sw-KE",
|
|
116
|
+
SW_RW: "sw-RW",
|
|
117
|
+
SW_TZ: "sw-TZ",
|
|
118
|
+
SW_UG: "sw-UG",
|
|
62
119
|
TA_IN: "ta-IN",
|
|
63
120
|
TE_IN: "te-IN",
|
|
64
121
|
TH_TH: "th-TH",
|
|
122
|
+
TL_PH: "tl-PH",
|
|
65
123
|
TR_TR: "tr-TR",
|
|
124
|
+
TT_RU: "tt-RU",
|
|
125
|
+
UG_CN: "ug-CN",
|
|
126
|
+
UK_UA: "uk-UA",
|
|
127
|
+
UZ_UZ: "uz-UZ",
|
|
66
128
|
VI_VN: "vi-VN",
|
|
129
|
+
WO_SN: "wo-SN",
|
|
67
130
|
ZH_CN: "zh-CN",
|
|
68
131
|
ZH_TW: "zh-TW",
|
|
132
|
+
ZU_ZA: "zu-ZA",
|
|
69
133
|
};
|
|
70
134
|
export const MediaFormat = {
|
|
71
135
|
AMR: "amr",
|
|
@@ -201,6 +265,19 @@ export class NotFoundException extends __BaseException {
|
|
|
201
265
|
this.Message = opts.Message;
|
|
202
266
|
}
|
|
203
267
|
}
|
|
268
|
+
export const MedicalScribeParticipantRole = {
|
|
269
|
+
CLINICIAN: "CLINICIAN",
|
|
270
|
+
PATIENT: "PATIENT",
|
|
271
|
+
};
|
|
272
|
+
export const MedicalScribeLanguageCode = {
|
|
273
|
+
EN_US: "en-US",
|
|
274
|
+
};
|
|
275
|
+
export const MedicalScribeJobStatus = {
|
|
276
|
+
COMPLETED: "COMPLETED",
|
|
277
|
+
FAILED: "FAILED",
|
|
278
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
279
|
+
QUEUED: "QUEUED",
|
|
280
|
+
};
|
|
204
281
|
export const MedicalContentIdentificationType = {
|
|
205
282
|
PHI: "PHI",
|
|
206
283
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ListMedicalScribeJobsCommand, } from "../commands/ListMedicalScribeJobsCommand";
|
|
2
|
+
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
|
+
}
|
|
@@ -2,6 +2,7 @@ export * from "./Interfaces";
|
|
|
2
2
|
export * from "./ListCallAnalyticsCategoriesPaginator";
|
|
3
3
|
export * from "./ListCallAnalyticsJobsPaginator";
|
|
4
4
|
export * from "./ListLanguageModelsPaginator";
|
|
5
|
+
export * from "./ListMedicalScribeJobsPaginator";
|
|
5
6
|
export * from "./ListMedicalTranscriptionJobsPaginator";
|
|
6
7
|
export * from "./ListMedicalVocabulariesPaginator";
|
|
7
8
|
export * from "./ListTranscriptionJobsPaginator";
|