@aws-sdk/client-transcribe 3.298.0 → 3.300.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/CreateCallAnalyticsCategoryCommand.d.ts +80 -0
- package/dist-types/commands/CreateLanguageModelCommand.d.ts +16 -0
- package/dist-types/commands/CreateMedicalVocabularyCommand.d.ts +11 -0
- package/dist-types/commands/CreateVocabularyCommand.d.ts +15 -0
- package/dist-types/commands/CreateVocabularyFilterCommand.d.ts +15 -0
- package/dist-types/commands/DeleteCallAnalyticsCategoryCommand.d.ts +3 -0
- package/dist-types/commands/DeleteCallAnalyticsJobCommand.d.ts +3 -0
- package/dist-types/commands/DeleteLanguageModelCommand.d.ts +3 -0
- package/dist-types/commands/DeleteMedicalTranscriptionJobCommand.d.ts +3 -0
- package/dist-types/commands/DeleteMedicalVocabularyCommand.d.ts +3 -0
- package/dist-types/commands/DeleteTranscriptionJobCommand.d.ts +3 -0
- package/dist-types/commands/DeleteVocabularyCommand.d.ts +3 -0
- package/dist-types/commands/DeleteVocabularyFilterCommand.d.ts +3 -0
- package/dist-types/commands/DescribeLanguageModelCommand.d.ts +3 -0
- package/dist-types/commands/GetCallAnalyticsCategoryCommand.d.ts +3 -0
- package/dist-types/commands/GetCallAnalyticsJobCommand.d.ts +3 -0
- package/dist-types/commands/GetMedicalTranscriptionJobCommand.d.ts +3 -0
- package/dist-types/commands/GetMedicalVocabularyCommand.d.ts +3 -0
- package/dist-types/commands/GetTranscriptionJobCommand.d.ts +3 -0
- package/dist-types/commands/GetVocabularyCommand.d.ts +3 -0
- package/dist-types/commands/GetVocabularyFilterCommand.d.ts +3 -0
- package/dist-types/commands/ListCallAnalyticsCategoriesCommand.d.ts +4 -0
- package/dist-types/commands/ListCallAnalyticsJobsCommand.d.ts +6 -0
- package/dist-types/commands/ListLanguageModelsCommand.d.ts +6 -0
- package/dist-types/commands/ListMedicalTranscriptionJobsCommand.d.ts +6 -0
- package/dist-types/commands/ListMedicalVocabulariesCommand.d.ts +6 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/ListTranscriptionJobsCommand.d.ts +6 -0
- package/dist-types/commands/ListVocabulariesCommand.d.ts +6 -0
- package/dist-types/commands/ListVocabularyFiltersCommand.d.ts +5 -0
- package/dist-types/commands/StartCallAnalyticsJobCommand.d.ts +39 -0
- package/dist-types/commands/StartMedicalTranscriptionJobCommand.d.ts +33 -0
- package/dist-types/commands/StartTranscriptionJobCommand.d.ts +64 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateCallAnalyticsCategoryCommand.d.ts +80 -0
- package/dist-types/commands/UpdateMedicalVocabularyCommand.d.ts +5 -0
- package/dist-types/commands/UpdateVocabularyCommand.d.ts +9 -0
- package/dist-types/commands/UpdateVocabularyFilterCommand.d.ts +8 -0
- package/package.json +12 -12
|
@@ -41,6 +41,86 @@ export interface CreateCallAnalyticsCategoryCommandOutput extends CreateCallAnal
|
|
|
41
41
|
* import { TranscribeClient, CreateCallAnalyticsCategoryCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
42
42
|
* // const { TranscribeClient, CreateCallAnalyticsCategoryCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
43
43
|
* const client = new TranscribeClient(config);
|
|
44
|
+
* const input = {
|
|
45
|
+
* CategoryName: "STRING_VALUE", // required
|
|
46
|
+
* Rules: [ // required
|
|
47
|
+
* { // Union: only one key present
|
|
48
|
+
* NonTalkTimeFilter: {
|
|
49
|
+
* Threshold: Number("long"),
|
|
50
|
+
* AbsoluteTimeRange: {
|
|
51
|
+
* StartTime: Number("long"),
|
|
52
|
+
* EndTime: Number("long"),
|
|
53
|
+
* First: Number("long"),
|
|
54
|
+
* Last: Number("long"),
|
|
55
|
+
* },
|
|
56
|
+
* RelativeTimeRange: {
|
|
57
|
+
* StartPercentage: Number("int"),
|
|
58
|
+
* EndPercentage: Number("int"),
|
|
59
|
+
* First: Number("int"),
|
|
60
|
+
* Last: Number("int"),
|
|
61
|
+
* },
|
|
62
|
+
* Negate: true || false,
|
|
63
|
+
* },
|
|
64
|
+
* InterruptionFilter: {
|
|
65
|
+
* Threshold: Number("long"),
|
|
66
|
+
* ParticipantRole: "AGENT" || "CUSTOMER",
|
|
67
|
+
* AbsoluteTimeRange: {
|
|
68
|
+
* StartTime: Number("long"),
|
|
69
|
+
* EndTime: Number("long"),
|
|
70
|
+
* First: Number("long"),
|
|
71
|
+
* Last: Number("long"),
|
|
72
|
+
* },
|
|
73
|
+
* RelativeTimeRange: {
|
|
74
|
+
* StartPercentage: Number("int"),
|
|
75
|
+
* EndPercentage: Number("int"),
|
|
76
|
+
* First: Number("int"),
|
|
77
|
+
* Last: Number("int"),
|
|
78
|
+
* },
|
|
79
|
+
* Negate: true || false,
|
|
80
|
+
* },
|
|
81
|
+
* TranscriptFilter: {
|
|
82
|
+
* TranscriptFilterType: "EXACT", // required
|
|
83
|
+
* AbsoluteTimeRange: {
|
|
84
|
+
* StartTime: Number("long"),
|
|
85
|
+
* EndTime: Number("long"),
|
|
86
|
+
* First: Number("long"),
|
|
87
|
+
* Last: Number("long"),
|
|
88
|
+
* },
|
|
89
|
+
* RelativeTimeRange: {
|
|
90
|
+
* StartPercentage: Number("int"),
|
|
91
|
+
* EndPercentage: Number("int"),
|
|
92
|
+
* First: Number("int"),
|
|
93
|
+
* Last: Number("int"),
|
|
94
|
+
* },
|
|
95
|
+
* ParticipantRole: "AGENT" || "CUSTOMER",
|
|
96
|
+
* Negate: true || false,
|
|
97
|
+
* Targets: [ // required
|
|
98
|
+
* "STRING_VALUE",
|
|
99
|
+
* ],
|
|
100
|
+
* },
|
|
101
|
+
* SentimentFilter: {
|
|
102
|
+
* Sentiments: [ // required
|
|
103
|
+
* "POSITIVE" || "NEGATIVE" || "NEUTRAL" || "MIXED",
|
|
104
|
+
* ],
|
|
105
|
+
* AbsoluteTimeRange: {
|
|
106
|
+
* StartTime: Number("long"),
|
|
107
|
+
* EndTime: Number("long"),
|
|
108
|
+
* First: Number("long"),
|
|
109
|
+
* Last: Number("long"),
|
|
110
|
+
* },
|
|
111
|
+
* RelativeTimeRange: {
|
|
112
|
+
* StartPercentage: Number("int"),
|
|
113
|
+
* EndPercentage: Number("int"),
|
|
114
|
+
* First: Number("int"),
|
|
115
|
+
* Last: Number("int"),
|
|
116
|
+
* },
|
|
117
|
+
* ParticipantRole: "AGENT" || "CUSTOMER",
|
|
118
|
+
* Negate: true || false,
|
|
119
|
+
* },
|
|
120
|
+
* },
|
|
121
|
+
* ],
|
|
122
|
+
* InputType: "REAL_TIME" || "POST_CALL",
|
|
123
|
+
* };
|
|
44
124
|
* const command = new CreateCallAnalyticsCategoryCommand(input);
|
|
45
125
|
* const response = await client.send(command);
|
|
46
126
|
* ```
|
|
@@ -42,6 +42,22 @@ export interface CreateLanguageModelCommandOutput extends CreateLanguageModelRes
|
|
|
42
42
|
* import { TranscribeClient, CreateLanguageModelCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
43
43
|
* // const { TranscribeClient, CreateLanguageModelCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
44
44
|
* const client = new TranscribeClient(config);
|
|
45
|
+
* const input = {
|
|
46
|
+
* LanguageCode: "en-US" || "hi-IN" || "es-US" || "en-GB" || "en-AU" || "de-DE" || "ja-JP", // required
|
|
47
|
+
* BaseModelName: "NarrowBand" || "WideBand", // required
|
|
48
|
+
* ModelName: "STRING_VALUE", // required
|
|
49
|
+
* InputDataConfig: {
|
|
50
|
+
* S3Uri: "STRING_VALUE", // required
|
|
51
|
+
* TuningDataS3Uri: "STRING_VALUE",
|
|
52
|
+
* DataAccessRoleArn: "STRING_VALUE", // required
|
|
53
|
+
* },
|
|
54
|
+
* Tags: [
|
|
55
|
+
* {
|
|
56
|
+
* Key: "STRING_VALUE", // required
|
|
57
|
+
* Value: "STRING_VALUE", // required
|
|
58
|
+
* },
|
|
59
|
+
* ],
|
|
60
|
+
* };
|
|
45
61
|
* const command = new CreateLanguageModelCommand(input);
|
|
46
62
|
* const response = await client.send(command);
|
|
47
63
|
* ```
|
|
@@ -38,6 +38,17 @@ export interface CreateMedicalVocabularyCommandOutput extends CreateMedicalVocab
|
|
|
38
38
|
* import { TranscribeClient, CreateMedicalVocabularyCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
39
39
|
* // const { TranscribeClient, CreateMedicalVocabularyCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
40
40
|
* const client = new TranscribeClient(config);
|
|
41
|
+
* const input = {
|
|
42
|
+
* VocabularyName: "STRING_VALUE", // required
|
|
43
|
+
* LanguageCode: "af-ZA" || "ar-AE" || "ar-SA" || "da-DK" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fa-IR" || "fr-CA" || "fr-FR" || "he-IL" || "hi-IN" || "id-ID" || "it-IT" || "ja-JP" || "ko-KR" || "ms-MY" || "nl-NL" || "pt-BR" || "pt-PT" || "ru-RU" || "ta-IN" || "te-IN" || "tr-TR" || "zh-CN" || "zh-TW" || "th-TH" || "en-ZA" || "en-NZ" || "vi-VN" || "sv-SE", // required
|
|
44
|
+
* VocabularyFileUri: "STRING_VALUE", // required
|
|
45
|
+
* Tags: [
|
|
46
|
+
* {
|
|
47
|
+
* Key: "STRING_VALUE", // required
|
|
48
|
+
* Value: "STRING_VALUE", // required
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
51
|
+
* };
|
|
41
52
|
* const command = new CreateMedicalVocabularyCommand(input);
|
|
42
53
|
* const response = await client.send(command);
|
|
43
54
|
* ```
|
|
@@ -36,6 +36,21 @@ export interface CreateVocabularyCommandOutput extends CreateVocabularyResponse,
|
|
|
36
36
|
* import { TranscribeClient, CreateVocabularyCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
37
37
|
* // const { TranscribeClient, CreateVocabularyCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
38
38
|
* const client = new TranscribeClient(config);
|
|
39
|
+
* const input = {
|
|
40
|
+
* VocabularyName: "STRING_VALUE", // required
|
|
41
|
+
* LanguageCode: "af-ZA" || "ar-AE" || "ar-SA" || "da-DK" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fa-IR" || "fr-CA" || "fr-FR" || "he-IL" || "hi-IN" || "id-ID" || "it-IT" || "ja-JP" || "ko-KR" || "ms-MY" || "nl-NL" || "pt-BR" || "pt-PT" || "ru-RU" || "ta-IN" || "te-IN" || "tr-TR" || "zh-CN" || "zh-TW" || "th-TH" || "en-ZA" || "en-NZ" || "vi-VN" || "sv-SE", // required
|
|
42
|
+
* Phrases: [
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* VocabularyFileUri: "STRING_VALUE",
|
|
46
|
+
* Tags: [
|
|
47
|
+
* {
|
|
48
|
+
* Key: "STRING_VALUE", // required
|
|
49
|
+
* Value: "STRING_VALUE", // required
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
52
|
+
* DataAccessRoleArn: "STRING_VALUE",
|
|
53
|
+
* };
|
|
39
54
|
* const command = new CreateVocabularyCommand(input);
|
|
40
55
|
* const response = await client.send(command);
|
|
41
56
|
* ```
|
|
@@ -35,6 +35,21 @@ export interface CreateVocabularyFilterCommandOutput extends CreateVocabularyFil
|
|
|
35
35
|
* import { TranscribeClient, CreateVocabularyFilterCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
36
36
|
* // const { TranscribeClient, CreateVocabularyFilterCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
37
37
|
* const client = new TranscribeClient(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* VocabularyFilterName: "STRING_VALUE", // required
|
|
40
|
+
* LanguageCode: "af-ZA" || "ar-AE" || "ar-SA" || "da-DK" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fa-IR" || "fr-CA" || "fr-FR" || "he-IL" || "hi-IN" || "id-ID" || "it-IT" || "ja-JP" || "ko-KR" || "ms-MY" || "nl-NL" || "pt-BR" || "pt-PT" || "ru-RU" || "ta-IN" || "te-IN" || "tr-TR" || "zh-CN" || "zh-TW" || "th-TH" || "en-ZA" || "en-NZ" || "vi-VN" || "sv-SE", // required
|
|
41
|
+
* Words: [
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* VocabularyFilterFileUri: "STRING_VALUE",
|
|
45
|
+
* Tags: [
|
|
46
|
+
* {
|
|
47
|
+
* Key: "STRING_VALUE", // required
|
|
48
|
+
* Value: "STRING_VALUE", // required
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
51
|
+
* DataAccessRoleArn: "STRING_VALUE",
|
|
52
|
+
* };
|
|
38
53
|
* const command = new CreateVocabularyFilterCommand(input);
|
|
39
54
|
* const response = await client.send(command);
|
|
40
55
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface DeleteCallAnalyticsCategoryCommandOutput extends DeleteCallAnal
|
|
|
28
28
|
* import { TranscribeClient, DeleteCallAnalyticsCategoryCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
29
29
|
* // const { TranscribeClient, DeleteCallAnalyticsCategoryCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
30
30
|
* const client = new TranscribeClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* CategoryName: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new DeleteCallAnalyticsCategoryCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface DeleteCallAnalyticsJobCommandOutput extends DeleteCallAnalytics
|
|
|
28
28
|
* import { TranscribeClient, DeleteCallAnalyticsJobCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
29
29
|
* // const { TranscribeClient, DeleteCallAnalyticsJobCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
30
30
|
* const client = new TranscribeClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* CallAnalyticsJobName: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new DeleteCallAnalyticsJobCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface DeleteLanguageModelCommandOutput extends __MetadataBearer {
|
|
|
28
28
|
* import { TranscribeClient, DeleteLanguageModelCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
29
29
|
* // const { TranscribeClient, DeleteLanguageModelCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
30
30
|
* const client = new TranscribeClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ModelName: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new DeleteLanguageModelCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface DeleteMedicalTranscriptionJobCommandOutput extends __MetadataBe
|
|
|
28
28
|
* import { TranscribeClient, DeleteMedicalTranscriptionJobCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
29
29
|
* // const { TranscribeClient, DeleteMedicalTranscriptionJobCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
30
30
|
* const client = new TranscribeClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* MedicalTranscriptionJobName: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new DeleteMedicalTranscriptionJobCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface DeleteMedicalVocabularyCommandOutput extends __MetadataBearer {
|
|
|
28
28
|
* import { TranscribeClient, DeleteMedicalVocabularyCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
29
29
|
* // const { TranscribeClient, DeleteMedicalVocabularyCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
30
30
|
* const client = new TranscribeClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* VocabularyName: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new DeleteMedicalVocabularyCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface DeleteTranscriptionJobCommandOutput extends __MetadataBearer {
|
|
|
28
28
|
* import { TranscribeClient, DeleteTranscriptionJobCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
29
29
|
* // const { TranscribeClient, DeleteTranscriptionJobCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
30
30
|
* const client = new TranscribeClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* TranscriptionJobName: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new DeleteTranscriptionJobCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface DeleteVocabularyCommandOutput extends __MetadataBearer {
|
|
|
28
28
|
* import { TranscribeClient, DeleteVocabularyCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
29
29
|
* // const { TranscribeClient, DeleteVocabularyCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
30
30
|
* const client = new TranscribeClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* VocabularyName: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new DeleteVocabularyCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface DeleteVocabularyFilterCommandOutput extends __MetadataBearer {
|
|
|
28
28
|
* import { TranscribeClient, DeleteVocabularyFilterCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
29
29
|
* // const { TranscribeClient, DeleteVocabularyFilterCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
30
30
|
* const client = new TranscribeClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* VocabularyFilterName: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new DeleteVocabularyFilterCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -32,6 +32,9 @@ export interface DescribeLanguageModelCommandOutput extends DescribeLanguageMode
|
|
|
32
32
|
* import { TranscribeClient, DescribeLanguageModelCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
33
33
|
* // const { TranscribeClient, DescribeLanguageModelCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
34
34
|
* const client = new TranscribeClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* ModelName: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
35
38
|
* const command = new DescribeLanguageModelCommand(input);
|
|
36
39
|
* const response = await client.send(command);
|
|
37
40
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface GetCallAnalyticsCategoryCommandOutput extends GetCallAnalyticsC
|
|
|
27
27
|
* import { TranscribeClient, GetCallAnalyticsCategoryCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
28
28
|
* // const { TranscribeClient, GetCallAnalyticsCategoryCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
29
29
|
* const client = new TranscribeClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* CategoryName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new GetCallAnalyticsCategoryCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -37,6 +37,9 @@ export interface GetCallAnalyticsJobCommandOutput extends GetCallAnalyticsJobRes
|
|
|
37
37
|
* import { TranscribeClient, GetCallAnalyticsJobCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
38
38
|
* // const { TranscribeClient, GetCallAnalyticsJobCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
39
39
|
* const client = new TranscribeClient(config);
|
|
40
|
+
* const input = {
|
|
41
|
+
* CallAnalyticsJobName: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
40
43
|
* const command = new GetCallAnalyticsJobCommand(input);
|
|
41
44
|
* const response = await client.send(command);
|
|
42
45
|
* ```
|
|
@@ -33,6 +33,9 @@ export interface GetMedicalTranscriptionJobCommandOutput extends GetMedicalTrans
|
|
|
33
33
|
* import { TranscribeClient, GetMedicalTranscriptionJobCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
34
34
|
* // const { TranscribeClient, GetMedicalTranscriptionJobCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
35
35
|
* const client = new TranscribeClient(config);
|
|
36
|
+
* const input = {
|
|
37
|
+
* MedicalTranscriptionJobName: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
36
39
|
* const command = new GetMedicalTranscriptionJobCommand(input);
|
|
37
40
|
* const response = await client.send(command);
|
|
38
41
|
* ```
|
|
@@ -31,6 +31,9 @@ export interface GetMedicalVocabularyCommandOutput extends GetMedicalVocabularyR
|
|
|
31
31
|
* import { TranscribeClient, GetMedicalVocabularyCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
32
32
|
* // const { TranscribeClient, GetMedicalVocabularyCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
33
33
|
* const client = new TranscribeClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* VocabularyName: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
34
37
|
* const command = new GetMedicalVocabularyCommand(input);
|
|
35
38
|
* const response = await client.send(command);
|
|
36
39
|
* ```
|
|
@@ -35,6 +35,9 @@ export interface GetTranscriptionJobCommandOutput extends GetTranscriptionJobRes
|
|
|
35
35
|
* import { TranscribeClient, GetTranscriptionJobCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
36
36
|
* // const { TranscribeClient, GetTranscriptionJobCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
37
37
|
* const client = new TranscribeClient(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* TranscriptionJobName: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
38
41
|
* const command = new GetTranscriptionJobCommand(input);
|
|
39
42
|
* const response = await client.send(command);
|
|
40
43
|
* ```
|
|
@@ -32,6 +32,9 @@ export interface GetVocabularyCommandOutput extends GetVocabularyResponse, __Met
|
|
|
32
32
|
* import { TranscribeClient, GetVocabularyCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
33
33
|
* // const { TranscribeClient, GetVocabularyCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
34
34
|
* const client = new TranscribeClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* VocabularyName: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
35
38
|
* const command = new GetVocabularyCommand(input);
|
|
36
39
|
* const response = await client.send(command);
|
|
37
40
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface GetVocabularyFilterCommandOutput extends GetVocabularyFilterRes
|
|
|
27
27
|
* import { TranscribeClient, GetVocabularyFilterCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
28
28
|
* // const { TranscribeClient, GetVocabularyFilterCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
29
29
|
* const client = new TranscribeClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* VocabularyFilterName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new GetVocabularyFilterCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface ListCallAnalyticsCategoriesCommandOutput extends ListCallAnalyt
|
|
|
28
28
|
* import { TranscribeClient, ListCallAnalyticsCategoriesCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
29
29
|
* // const { TranscribeClient, ListCallAnalyticsCategoriesCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
30
30
|
* const client = new TranscribeClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* };
|
|
31
35
|
* const command = new ListCallAnalyticsCategoriesCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface ListCallAnalyticsJobsCommandOutput extends ListCallAnalyticsJob
|
|
|
28
28
|
* import { TranscribeClient, ListCallAnalyticsJobsCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
29
29
|
* // const { TranscribeClient, ListCallAnalyticsJobsCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
30
30
|
* const client = new TranscribeClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* Status: "QUEUED" || "IN_PROGRESS" || "FAILED" || "COMPLETED",
|
|
33
|
+
* JobNameContains: "STRING_VALUE",
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* MaxResults: Number("int"),
|
|
36
|
+
* };
|
|
31
37
|
* const command = new ListCallAnalyticsJobsCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface ListLanguageModelsCommandOutput extends ListLanguageModelsRespo
|
|
|
28
28
|
* import { TranscribeClient, ListLanguageModelsCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
29
29
|
* // const { TranscribeClient, ListLanguageModelsCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
30
30
|
* const client = new TranscribeClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* StatusEquals: "IN_PROGRESS" || "FAILED" || "COMPLETED",
|
|
33
|
+
* NameContains: "STRING_VALUE",
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* MaxResults: Number("int"),
|
|
36
|
+
* };
|
|
31
37
|
* const command = new ListLanguageModelsCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface ListMedicalTranscriptionJobsCommandOutput extends ListMedicalTr
|
|
|
28
28
|
* import { TranscribeClient, ListMedicalTranscriptionJobsCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
29
29
|
* // const { TranscribeClient, ListMedicalTranscriptionJobsCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
30
30
|
* const client = new TranscribeClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* Status: "QUEUED" || "IN_PROGRESS" || "FAILED" || "COMPLETED",
|
|
33
|
+
* JobNameContains: "STRING_VALUE",
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* MaxResults: Number("int"),
|
|
36
|
+
* };
|
|
31
37
|
* const command = new ListMedicalTranscriptionJobsCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface ListMedicalVocabulariesCommandOutput extends ListMedicalVocabul
|
|
|
28
28
|
* import { TranscribeClient, ListMedicalVocabulariesCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
29
29
|
* // const { TranscribeClient, ListMedicalVocabulariesCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
30
30
|
* const client = new TranscribeClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* StateEquals: "PENDING" || "READY" || "FAILED",
|
|
35
|
+
* NameContains: "STRING_VALUE",
|
|
36
|
+
* };
|
|
31
37
|
* const command = new ListMedicalVocabulariesCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
29
29
|
* import { TranscribeClient, ListTagsForResourceCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
30
30
|
* // const { TranscribeClient, ListTagsForResourceCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
31
31
|
* const client = new TranscribeClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new ListTagsForResourceCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface ListTranscriptionJobsCommandOutput extends ListTranscriptionJob
|
|
|
28
28
|
* import { TranscribeClient, ListTranscriptionJobsCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
29
29
|
* // const { TranscribeClient, ListTranscriptionJobsCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
30
30
|
* const client = new TranscribeClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* Status: "QUEUED" || "IN_PROGRESS" || "FAILED" || "COMPLETED",
|
|
33
|
+
* JobNameContains: "STRING_VALUE",
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* MaxResults: Number("int"),
|
|
36
|
+
* };
|
|
31
37
|
* const command = new ListTranscriptionJobsCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface ListVocabulariesCommandOutput extends ListVocabulariesResponse,
|
|
|
28
28
|
* import { TranscribeClient, ListVocabulariesCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
29
29
|
* // const { TranscribeClient, ListVocabulariesCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
30
30
|
* const client = new TranscribeClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* StateEquals: "PENDING" || "READY" || "FAILED",
|
|
35
|
+
* NameContains: "STRING_VALUE",
|
|
36
|
+
* };
|
|
31
37
|
* const command = new ListVocabulariesCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface ListVocabularyFiltersCommandOutput extends ListVocabularyFilter
|
|
|
28
28
|
* import { TranscribeClient, ListVocabularyFiltersCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
29
29
|
* // const { TranscribeClient, ListVocabularyFiltersCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
30
30
|
* const client = new TranscribeClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* NameContains: "STRING_VALUE",
|
|
35
|
+
* };
|
|
31
36
|
* const command = new ListVocabularyFiltersCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -76,6 +76,45 @@ export interface StartCallAnalyticsJobCommandOutput extends StartCallAnalyticsJo
|
|
|
76
76
|
* import { TranscribeClient, StartCallAnalyticsJobCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
77
77
|
* // const { TranscribeClient, StartCallAnalyticsJobCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
78
78
|
* const client = new TranscribeClient(config);
|
|
79
|
+
* const input = {
|
|
80
|
+
* CallAnalyticsJobName: "STRING_VALUE", // required
|
|
81
|
+
* Media: {
|
|
82
|
+
* MediaFileUri: "STRING_VALUE",
|
|
83
|
+
* RedactedMediaFileUri: "STRING_VALUE",
|
|
84
|
+
* },
|
|
85
|
+
* OutputLocation: "STRING_VALUE",
|
|
86
|
+
* OutputEncryptionKMSKeyId: "STRING_VALUE",
|
|
87
|
+
* DataAccessRoleArn: "STRING_VALUE",
|
|
88
|
+
* Settings: {
|
|
89
|
+
* VocabularyName: "STRING_VALUE",
|
|
90
|
+
* VocabularyFilterName: "STRING_VALUE",
|
|
91
|
+
* VocabularyFilterMethod: "remove" || "mask" || "tag",
|
|
92
|
+
* LanguageModelName: "STRING_VALUE",
|
|
93
|
+
* ContentRedaction: {
|
|
94
|
+
* RedactionType: "PII", // required
|
|
95
|
+
* RedactionOutput: "redacted" || "redacted_and_unredacted", // required
|
|
96
|
+
* PiiEntityTypes: [
|
|
97
|
+
* "BANK_ACCOUNT_NUMBER" || "BANK_ROUTING" || "CREDIT_DEBIT_NUMBER" || "CREDIT_DEBIT_CVV" || "CREDIT_DEBIT_EXPIRY" || "PIN" || "EMAIL" || "ADDRESS" || "NAME" || "PHONE" || "SSN" || "ALL",
|
|
98
|
+
* ],
|
|
99
|
+
* },
|
|
100
|
+
* LanguageOptions: [
|
|
101
|
+
* "af-ZA" || "ar-AE" || "ar-SA" || "da-DK" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fa-IR" || "fr-CA" || "fr-FR" || "he-IL" || "hi-IN" || "id-ID" || "it-IT" || "ja-JP" || "ko-KR" || "ms-MY" || "nl-NL" || "pt-BR" || "pt-PT" || "ru-RU" || "ta-IN" || "te-IN" || "tr-TR" || "zh-CN" || "zh-TW" || "th-TH" || "en-ZA" || "en-NZ" || "vi-VN" || "sv-SE",
|
|
102
|
+
* ],
|
|
103
|
+
* LanguageIdSettings: {
|
|
104
|
+
* "<keys>": {
|
|
105
|
+
* VocabularyName: "STRING_VALUE",
|
|
106
|
+
* VocabularyFilterName: "STRING_VALUE",
|
|
107
|
+
* LanguageModelName: "STRING_VALUE",
|
|
108
|
+
* },
|
|
109
|
+
* },
|
|
110
|
+
* },
|
|
111
|
+
* ChannelDefinitions: [
|
|
112
|
+
* {
|
|
113
|
+
* ChannelId: Number("int"),
|
|
114
|
+
* ParticipantRole: "AGENT" || "CUSTOMER",
|
|
115
|
+
* },
|
|
116
|
+
* ],
|
|
117
|
+
* };
|
|
79
118
|
* const command = new StartCallAnalyticsJobCommand(input);
|
|
80
119
|
* const response = await client.send(command);
|
|
81
120
|
* ```
|
|
@@ -74,6 +74,39 @@ export interface StartMedicalTranscriptionJobCommandOutput extends StartMedicalT
|
|
|
74
74
|
* import { TranscribeClient, StartMedicalTranscriptionJobCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
75
75
|
* // const { TranscribeClient, StartMedicalTranscriptionJobCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
76
76
|
* const client = new TranscribeClient(config);
|
|
77
|
+
* const input = {
|
|
78
|
+
* MedicalTranscriptionJobName: "STRING_VALUE", // required
|
|
79
|
+
* LanguageCode: "af-ZA" || "ar-AE" || "ar-SA" || "da-DK" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fa-IR" || "fr-CA" || "fr-FR" || "he-IL" || "hi-IN" || "id-ID" || "it-IT" || "ja-JP" || "ko-KR" || "ms-MY" || "nl-NL" || "pt-BR" || "pt-PT" || "ru-RU" || "ta-IN" || "te-IN" || "tr-TR" || "zh-CN" || "zh-TW" || "th-TH" || "en-ZA" || "en-NZ" || "vi-VN" || "sv-SE", // required
|
|
80
|
+
* MediaSampleRateHertz: Number("int"),
|
|
81
|
+
* MediaFormat: "mp3" || "mp4" || "wav" || "flac" || "ogg" || "amr" || "webm",
|
|
82
|
+
* Media: {
|
|
83
|
+
* MediaFileUri: "STRING_VALUE",
|
|
84
|
+
* RedactedMediaFileUri: "STRING_VALUE",
|
|
85
|
+
* },
|
|
86
|
+
* OutputBucketName: "STRING_VALUE", // required
|
|
87
|
+
* OutputKey: "STRING_VALUE",
|
|
88
|
+
* OutputEncryptionKMSKeyId: "STRING_VALUE",
|
|
89
|
+
* KMSEncryptionContext: {
|
|
90
|
+
* "<keys>": "STRING_VALUE",
|
|
91
|
+
* },
|
|
92
|
+
* Settings: {
|
|
93
|
+
* ShowSpeakerLabels: true || false,
|
|
94
|
+
* MaxSpeakerLabels: Number("int"),
|
|
95
|
+
* ChannelIdentification: true || false,
|
|
96
|
+
* ShowAlternatives: true || false,
|
|
97
|
+
* MaxAlternatives: Number("int"),
|
|
98
|
+
* VocabularyName: "STRING_VALUE",
|
|
99
|
+
* },
|
|
100
|
+
* ContentIdentificationType: "PHI",
|
|
101
|
+
* Specialty: "PRIMARYCARE", // required
|
|
102
|
+
* Type: "CONVERSATION" || "DICTATION", // required
|
|
103
|
+
* Tags: [
|
|
104
|
+
* {
|
|
105
|
+
* Key: "STRING_VALUE", // required
|
|
106
|
+
* Value: "STRING_VALUE", // required
|
|
107
|
+
* },
|
|
108
|
+
* ],
|
|
109
|
+
* };
|
|
77
110
|
* const command = new StartMedicalTranscriptionJobCommand(input);
|
|
78
111
|
* const response = await client.send(command);
|
|
79
112
|
* ```
|
|
@@ -60,6 +60,70 @@ export interface StartTranscriptionJobCommandOutput extends StartTranscriptionJo
|
|
|
60
60
|
* import { TranscribeClient, StartTranscriptionJobCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
61
61
|
* // const { TranscribeClient, StartTranscriptionJobCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
62
62
|
* const client = new TranscribeClient(config);
|
|
63
|
+
* const input = {
|
|
64
|
+
* TranscriptionJobName: "STRING_VALUE", // required
|
|
65
|
+
* LanguageCode: "af-ZA" || "ar-AE" || "ar-SA" || "da-DK" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fa-IR" || "fr-CA" || "fr-FR" || "he-IL" || "hi-IN" || "id-ID" || "it-IT" || "ja-JP" || "ko-KR" || "ms-MY" || "nl-NL" || "pt-BR" || "pt-PT" || "ru-RU" || "ta-IN" || "te-IN" || "tr-TR" || "zh-CN" || "zh-TW" || "th-TH" || "en-ZA" || "en-NZ" || "vi-VN" || "sv-SE",
|
|
66
|
+
* MediaSampleRateHertz: Number("int"),
|
|
67
|
+
* MediaFormat: "mp3" || "mp4" || "wav" || "flac" || "ogg" || "amr" || "webm",
|
|
68
|
+
* Media: {
|
|
69
|
+
* MediaFileUri: "STRING_VALUE",
|
|
70
|
+
* RedactedMediaFileUri: "STRING_VALUE",
|
|
71
|
+
* },
|
|
72
|
+
* OutputBucketName: "STRING_VALUE",
|
|
73
|
+
* OutputKey: "STRING_VALUE",
|
|
74
|
+
* OutputEncryptionKMSKeyId: "STRING_VALUE",
|
|
75
|
+
* KMSEncryptionContext: {
|
|
76
|
+
* "<keys>": "STRING_VALUE",
|
|
77
|
+
* },
|
|
78
|
+
* Settings: {
|
|
79
|
+
* VocabularyName: "STRING_VALUE",
|
|
80
|
+
* ShowSpeakerLabels: true || false,
|
|
81
|
+
* MaxSpeakerLabels: Number("int"),
|
|
82
|
+
* ChannelIdentification: true || false,
|
|
83
|
+
* ShowAlternatives: true || false,
|
|
84
|
+
* MaxAlternatives: Number("int"),
|
|
85
|
+
* VocabularyFilterName: "STRING_VALUE",
|
|
86
|
+
* VocabularyFilterMethod: "remove" || "mask" || "tag",
|
|
87
|
+
* },
|
|
88
|
+
* ModelSettings: {
|
|
89
|
+
* LanguageModelName: "STRING_VALUE",
|
|
90
|
+
* },
|
|
91
|
+
* JobExecutionSettings: {
|
|
92
|
+
* AllowDeferredExecution: true || false,
|
|
93
|
+
* DataAccessRoleArn: "STRING_VALUE",
|
|
94
|
+
* },
|
|
95
|
+
* ContentRedaction: {
|
|
96
|
+
* RedactionType: "PII", // required
|
|
97
|
+
* RedactionOutput: "redacted" || "redacted_and_unredacted", // required
|
|
98
|
+
* PiiEntityTypes: [
|
|
99
|
+
* "BANK_ACCOUNT_NUMBER" || "BANK_ROUTING" || "CREDIT_DEBIT_NUMBER" || "CREDIT_DEBIT_CVV" || "CREDIT_DEBIT_EXPIRY" || "PIN" || "EMAIL" || "ADDRESS" || "NAME" || "PHONE" || "SSN" || "ALL",
|
|
100
|
+
* ],
|
|
101
|
+
* },
|
|
102
|
+
* IdentifyLanguage: true || false,
|
|
103
|
+
* IdentifyMultipleLanguages: true || false,
|
|
104
|
+
* LanguageOptions: [
|
|
105
|
+
* "af-ZA" || "ar-AE" || "ar-SA" || "da-DK" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fa-IR" || "fr-CA" || "fr-FR" || "he-IL" || "hi-IN" || "id-ID" || "it-IT" || "ja-JP" || "ko-KR" || "ms-MY" || "nl-NL" || "pt-BR" || "pt-PT" || "ru-RU" || "ta-IN" || "te-IN" || "tr-TR" || "zh-CN" || "zh-TW" || "th-TH" || "en-ZA" || "en-NZ" || "vi-VN" || "sv-SE",
|
|
106
|
+
* ],
|
|
107
|
+
* Subtitles: {
|
|
108
|
+
* Formats: [
|
|
109
|
+
* "vtt" || "srt",
|
|
110
|
+
* ],
|
|
111
|
+
* OutputStartIndex: Number("int"),
|
|
112
|
+
* },
|
|
113
|
+
* Tags: [
|
|
114
|
+
* {
|
|
115
|
+
* Key: "STRING_VALUE", // required
|
|
116
|
+
* Value: "STRING_VALUE", // required
|
|
117
|
+
* },
|
|
118
|
+
* ],
|
|
119
|
+
* LanguageIdSettings: {
|
|
120
|
+
* "<keys>": {
|
|
121
|
+
* VocabularyName: "STRING_VALUE",
|
|
122
|
+
* VocabularyFilterName: "STRING_VALUE",
|
|
123
|
+
* LanguageModelName: "STRING_VALUE",
|
|
124
|
+
* },
|
|
125
|
+
* },
|
|
126
|
+
* };
|
|
63
127
|
* const command = new StartTranscriptionJobCommand(input);
|
|
64
128
|
* const response = await client.send(command);
|
|
65
129
|
* ```
|
|
@@ -29,6 +29,15 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
29
29
|
* import { TranscribeClient, TagResourceCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
30
30
|
* // const { TranscribeClient, TagResourceCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
31
31
|
* const client = new TranscribeClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
34
|
+
* Tags: [ // required
|
|
35
|
+
* {
|
|
36
|
+
* Key: "STRING_VALUE", // required
|
|
37
|
+
* Value: "STRING_VALUE", // required
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* };
|
|
32
41
|
* const command = new TagResourceCommand(input);
|
|
33
42
|
* const response = await client.send(command);
|
|
34
43
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
28
28
|
* import { TranscribeClient, UntagResourceCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
29
29
|
* // const { TranscribeClient, UntagResourceCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
30
30
|
* const client = new TranscribeClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
33
|
+
* TagKeys: [ // required
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* };
|
|
31
37
|
* const command = new UntagResourceCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -30,6 +30,86 @@ export interface UpdateCallAnalyticsCategoryCommandOutput extends UpdateCallAnal
|
|
|
30
30
|
* import { TranscribeClient, UpdateCallAnalyticsCategoryCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
31
31
|
* // const { TranscribeClient, UpdateCallAnalyticsCategoryCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
32
32
|
* const client = new TranscribeClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* CategoryName: "STRING_VALUE", // required
|
|
35
|
+
* Rules: [ // required
|
|
36
|
+
* { // Union: only one key present
|
|
37
|
+
* NonTalkTimeFilter: {
|
|
38
|
+
* Threshold: Number("long"),
|
|
39
|
+
* AbsoluteTimeRange: {
|
|
40
|
+
* StartTime: Number("long"),
|
|
41
|
+
* EndTime: Number("long"),
|
|
42
|
+
* First: Number("long"),
|
|
43
|
+
* Last: Number("long"),
|
|
44
|
+
* },
|
|
45
|
+
* RelativeTimeRange: {
|
|
46
|
+
* StartPercentage: Number("int"),
|
|
47
|
+
* EndPercentage: Number("int"),
|
|
48
|
+
* First: Number("int"),
|
|
49
|
+
* Last: Number("int"),
|
|
50
|
+
* },
|
|
51
|
+
* Negate: true || false,
|
|
52
|
+
* },
|
|
53
|
+
* InterruptionFilter: {
|
|
54
|
+
* Threshold: Number("long"),
|
|
55
|
+
* ParticipantRole: "AGENT" || "CUSTOMER",
|
|
56
|
+
* AbsoluteTimeRange: {
|
|
57
|
+
* StartTime: Number("long"),
|
|
58
|
+
* EndTime: Number("long"),
|
|
59
|
+
* First: Number("long"),
|
|
60
|
+
* Last: Number("long"),
|
|
61
|
+
* },
|
|
62
|
+
* RelativeTimeRange: {
|
|
63
|
+
* StartPercentage: Number("int"),
|
|
64
|
+
* EndPercentage: Number("int"),
|
|
65
|
+
* First: Number("int"),
|
|
66
|
+
* Last: Number("int"),
|
|
67
|
+
* },
|
|
68
|
+
* Negate: true || false,
|
|
69
|
+
* },
|
|
70
|
+
* TranscriptFilter: {
|
|
71
|
+
* TranscriptFilterType: "EXACT", // required
|
|
72
|
+
* AbsoluteTimeRange: {
|
|
73
|
+
* StartTime: Number("long"),
|
|
74
|
+
* EndTime: Number("long"),
|
|
75
|
+
* First: Number("long"),
|
|
76
|
+
* Last: Number("long"),
|
|
77
|
+
* },
|
|
78
|
+
* RelativeTimeRange: {
|
|
79
|
+
* StartPercentage: Number("int"),
|
|
80
|
+
* EndPercentage: Number("int"),
|
|
81
|
+
* First: Number("int"),
|
|
82
|
+
* Last: Number("int"),
|
|
83
|
+
* },
|
|
84
|
+
* ParticipantRole: "AGENT" || "CUSTOMER",
|
|
85
|
+
* Negate: true || false,
|
|
86
|
+
* Targets: [ // required
|
|
87
|
+
* "STRING_VALUE",
|
|
88
|
+
* ],
|
|
89
|
+
* },
|
|
90
|
+
* SentimentFilter: {
|
|
91
|
+
* Sentiments: [ // required
|
|
92
|
+
* "POSITIVE" || "NEGATIVE" || "NEUTRAL" || "MIXED",
|
|
93
|
+
* ],
|
|
94
|
+
* AbsoluteTimeRange: {
|
|
95
|
+
* StartTime: Number("long"),
|
|
96
|
+
* EndTime: Number("long"),
|
|
97
|
+
* First: Number("long"),
|
|
98
|
+
* Last: Number("long"),
|
|
99
|
+
* },
|
|
100
|
+
* RelativeTimeRange: {
|
|
101
|
+
* StartPercentage: Number("int"),
|
|
102
|
+
* EndPercentage: Number("int"),
|
|
103
|
+
* First: Number("int"),
|
|
104
|
+
* Last: Number("int"),
|
|
105
|
+
* },
|
|
106
|
+
* ParticipantRole: "AGENT" || "CUSTOMER",
|
|
107
|
+
* Negate: true || false,
|
|
108
|
+
* },
|
|
109
|
+
* },
|
|
110
|
+
* ],
|
|
111
|
+
* InputType: "REAL_TIME" || "POST_CALL",
|
|
112
|
+
* };
|
|
33
113
|
* const command = new UpdateCallAnalyticsCategoryCommand(input);
|
|
34
114
|
* const response = await client.send(command);
|
|
35
115
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface UpdateMedicalVocabularyCommandOutput extends UpdateMedicalVocab
|
|
|
28
28
|
* import { TranscribeClient, UpdateMedicalVocabularyCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
29
29
|
* // const { TranscribeClient, UpdateMedicalVocabularyCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
30
30
|
* const client = new TranscribeClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* VocabularyName: "STRING_VALUE", // required
|
|
33
|
+
* LanguageCode: "af-ZA" || "ar-AE" || "ar-SA" || "da-DK" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fa-IR" || "fr-CA" || "fr-FR" || "he-IL" || "hi-IN" || "id-ID" || "it-IT" || "ja-JP" || "ko-KR" || "ms-MY" || "nl-NL" || "pt-BR" || "pt-PT" || "ru-RU" || "ta-IN" || "te-IN" || "tr-TR" || "zh-CN" || "zh-TW" || "th-TH" || "en-ZA" || "en-NZ" || "vi-VN" || "sv-SE", // required
|
|
34
|
+
* VocabularyFileUri: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
31
36
|
* const command = new UpdateMedicalVocabularyCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -28,6 +28,15 @@ export interface UpdateVocabularyCommandOutput extends UpdateVocabularyResponse,
|
|
|
28
28
|
* import { TranscribeClient, UpdateVocabularyCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
29
29
|
* // const { TranscribeClient, UpdateVocabularyCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
30
30
|
* const client = new TranscribeClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* VocabularyName: "STRING_VALUE", // required
|
|
33
|
+
* LanguageCode: "af-ZA" || "ar-AE" || "ar-SA" || "da-DK" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fa-IR" || "fr-CA" || "fr-FR" || "he-IL" || "hi-IN" || "id-ID" || "it-IT" || "ja-JP" || "ko-KR" || "ms-MY" || "nl-NL" || "pt-BR" || "pt-PT" || "ru-RU" || "ta-IN" || "te-IN" || "tr-TR" || "zh-CN" || "zh-TW" || "th-TH" || "en-ZA" || "en-NZ" || "vi-VN" || "sv-SE", // required
|
|
34
|
+
* Phrases: [
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* VocabularyFileUri: "STRING_VALUE",
|
|
38
|
+
* DataAccessRoleArn: "STRING_VALUE",
|
|
39
|
+
* };
|
|
31
40
|
* const command = new UpdateVocabularyCommand(input);
|
|
32
41
|
* const response = await client.send(command);
|
|
33
42
|
* ```
|
|
@@ -28,6 +28,14 @@ export interface UpdateVocabularyFilterCommandOutput extends UpdateVocabularyFil
|
|
|
28
28
|
* import { TranscribeClient, UpdateVocabularyFilterCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
|
|
29
29
|
* // const { TranscribeClient, UpdateVocabularyFilterCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
|
|
30
30
|
* const client = new TranscribeClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* VocabularyFilterName: "STRING_VALUE", // required
|
|
33
|
+
* Words: [
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* VocabularyFilterFileUri: "STRING_VALUE",
|
|
37
|
+
* DataAccessRoleArn: "STRING_VALUE",
|
|
38
|
+
* };
|
|
31
39
|
* const command = new UpdateVocabularyFilterCommand(input);
|
|
32
40
|
* const response = await client.send(command);
|
|
33
41
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-transcribe",
|
|
3
3
|
"description": "AWS SDK for JavaScript Transcribe Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,23 +21,23 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
30
30
|
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.299.0",
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|