@aws-sdk/client-transcribe 3.1173.0 → 3.1174.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 +7 -0
- package/dist-cjs/index.js +222 -11
- package/dist-es/Transcribe.js +2 -0
- package/dist-es/commands/TranscribeAudioCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +51 -0
- package/dist-es/models/errors.js +2 -0
- package/dist-es/schemas/schemas_0.js +145 -10
- package/dist-types/Transcribe.d.ts +7 -0
- package/dist-types/TranscribeClient.d.ts +3 -2
- package/dist-types/commands/CreateCallAnalyticsCategoryCommand.d.ts +5 -4
- package/dist-types/commands/CreateLanguageModelCommand.d.ts +5 -4
- package/dist-types/commands/CreateMedicalVocabularyCommand.d.ts +5 -4
- package/dist-types/commands/CreateVocabularyCommand.d.ts +5 -4
- package/dist-types/commands/CreateVocabularyFilterCommand.d.ts +5 -4
- package/dist-types/commands/DeleteCallAnalyticsCategoryCommand.d.ts +5 -4
- package/dist-types/commands/DeleteCallAnalyticsJobCommand.d.ts +5 -4
- package/dist-types/commands/DeleteLanguageModelCommand.d.ts +5 -4
- package/dist-types/commands/DeleteMedicalScribeJobCommand.d.ts +5 -4
- package/dist-types/commands/DeleteMedicalTranscriptionJobCommand.d.ts +5 -4
- package/dist-types/commands/DeleteMedicalVocabularyCommand.d.ts +5 -4
- package/dist-types/commands/DeleteTranscriptionJobCommand.d.ts +5 -4
- package/dist-types/commands/DeleteVocabularyCommand.d.ts +5 -4
- package/dist-types/commands/DeleteVocabularyFilterCommand.d.ts +5 -4
- package/dist-types/commands/DescribeLanguageModelCommand.d.ts +5 -4
- package/dist-types/commands/GetCallAnalyticsCategoryCommand.d.ts +5 -4
- package/dist-types/commands/GetCallAnalyticsJobCommand.d.ts +5 -4
- package/dist-types/commands/GetMedicalScribeJobCommand.d.ts +5 -4
- package/dist-types/commands/GetMedicalTranscriptionJobCommand.d.ts +5 -4
- package/dist-types/commands/GetMedicalVocabularyCommand.d.ts +5 -4
- package/dist-types/commands/GetTranscriptionJobCommand.d.ts +5 -4
- package/dist-types/commands/GetVocabularyCommand.d.ts +5 -4
- package/dist-types/commands/GetVocabularyFilterCommand.d.ts +5 -4
- package/dist-types/commands/ListCallAnalyticsCategoriesCommand.d.ts +5 -4
- package/dist-types/commands/ListCallAnalyticsJobsCommand.d.ts +5 -4
- package/dist-types/commands/ListLanguageModelsCommand.d.ts +5 -4
- package/dist-types/commands/ListMedicalScribeJobsCommand.d.ts +5 -4
- package/dist-types/commands/ListMedicalTranscriptionJobsCommand.d.ts +5 -4
- package/dist-types/commands/ListMedicalVocabulariesCommand.d.ts +5 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +5 -4
- package/dist-types/commands/ListTranscriptionJobsCommand.d.ts +5 -4
- package/dist-types/commands/ListVocabulariesCommand.d.ts +5 -4
- package/dist-types/commands/ListVocabularyFiltersCommand.d.ts +5 -4
- package/dist-types/commands/StartCallAnalyticsJobCommand.d.ts +5 -4
- package/dist-types/commands/StartMedicalScribeJobCommand.d.ts +5 -4
- package/dist-types/commands/StartMedicalTranscriptionJobCommand.d.ts +5 -4
- package/dist-types/commands/StartTranscriptionJobCommand.d.ts +5 -4
- package/dist-types/commands/TagResourceCommand.d.ts +5 -4
- package/dist-types/commands/TranscribeAudioCommand.d.ts +218 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +5 -4
- package/dist-types/commands/UpdateCallAnalyticsCategoryCommand.d.ts +5 -4
- package/dist-types/commands/UpdateLanguageModelCommand.d.ts +5 -4
- package/dist-types/commands/UpdateMedicalVocabularyCommand.d.ts +5 -4
- package/dist-types/commands/UpdateVocabularyCommand.d.ts +5 -4
- package/dist-types/commands/UpdateVocabularyFilterCommand.d.ts +5 -4
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +83 -0
- package/dist-types/models/errors.d.ts +49 -4
- package/dist-types/models/models_0.d.ts +533 -13
- package/dist-types/schemas/schemas_0.d.ts +15 -0
- package/dist-types/ts3.4/Transcribe.d.ts +17 -0
- package/dist-types/ts3.4/TranscribeClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/TranscribeAudioCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +57 -0
- package/dist-types/ts3.4/models/errors.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +102 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +15 -0
- package/package.json +1 -1
|
@@ -116,14 +116,23 @@ export declare var StartTranscriptionJobResponse$: StaticStructureSchema;
|
|
|
116
116
|
export declare var Subtitles$: StaticStructureSchema;
|
|
117
117
|
export declare var SubtitlesOutput$: StaticStructureSchema;
|
|
118
118
|
export declare var Summarization$: StaticStructureSchema;
|
|
119
|
+
export declare var SyncItem$: StaticStructureSchema;
|
|
120
|
+
export declare var SyncLanguageCodeItem$: StaticStructureSchema;
|
|
121
|
+
export declare var SyncOutputConfiguration$: StaticStructureSchema;
|
|
122
|
+
export declare var SyncRedaction$: StaticStructureSchema;
|
|
119
123
|
export declare var Tag$: StaticStructureSchema;
|
|
120
124
|
export declare var TagResourceRequest$: StaticStructureSchema;
|
|
121
125
|
export declare var TagResourceResponse$: StaticStructureSchema;
|
|
122
126
|
export declare var ToxicityDetectionSettings$: StaticStructureSchema;
|
|
127
|
+
export declare var TranscribeAudioMetadata$: StaticStructureSchema;
|
|
128
|
+
export declare var TranscribeAudioRequest$: StaticStructureSchema;
|
|
129
|
+
export declare var TranscribeAudioResponse$: StaticStructureSchema;
|
|
130
|
+
export declare var TranscribeAudioResults$: StaticStructureSchema;
|
|
123
131
|
export declare var Transcript$: StaticStructureSchema;
|
|
124
132
|
export declare var TranscriptFilter$: StaticStructureSchema;
|
|
125
133
|
export declare var TranscriptionJob$: StaticStructureSchema;
|
|
126
134
|
export declare var TranscriptionJobSummary$: StaticStructureSchema;
|
|
135
|
+
export declare var TranscriptResponse$: StaticStructureSchema;
|
|
127
136
|
export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
128
137
|
export declare var UntagResourceResponse$: StaticStructureSchema;
|
|
129
138
|
export declare var UpdateCallAnalyticsCategoryRequest$: StaticStructureSchema;
|
|
@@ -136,9 +145,14 @@ export declare var UpdateVocabularyFilterRequest$: StaticStructureSchema;
|
|
|
136
145
|
export declare var UpdateVocabularyFilterResponse$: StaticStructureSchema;
|
|
137
146
|
export declare var UpdateVocabularyRequest$: StaticStructureSchema;
|
|
138
147
|
export declare var UpdateVocabularyResponse$: StaticStructureSchema;
|
|
148
|
+
export declare var VocabularyFilterEntry$: StaticStructureSchema;
|
|
139
149
|
export declare var VocabularyFilterInfo$: StaticStructureSchema;
|
|
150
|
+
export declare var VocabularyFilterSettings$: StaticStructureSchema;
|
|
140
151
|
export declare var VocabularyInfo$: StaticStructureSchema;
|
|
152
|
+
export declare var VocabularyPhrase$: StaticStructureSchema;
|
|
153
|
+
export declare var VocabularySettingsEntry$: StaticStructureSchema;
|
|
141
154
|
export declare var Rule$: StaticUnionSchema;
|
|
155
|
+
export declare var SyncMedia$: StaticUnionSchema;
|
|
142
156
|
export declare var CreateCallAnalyticsCategory$: StaticOperationSchema;
|
|
143
157
|
export declare var CreateLanguageModel$: StaticOperationSchema;
|
|
144
158
|
export declare var CreateMedicalVocabulary$: StaticOperationSchema;
|
|
@@ -177,6 +191,7 @@ export declare var StartMedicalScribeJob$: StaticOperationSchema;
|
|
|
177
191
|
export declare var StartMedicalTranscriptionJob$: StaticOperationSchema;
|
|
178
192
|
export declare var StartTranscriptionJob$: StaticOperationSchema;
|
|
179
193
|
export declare var TagResource$: StaticOperationSchema;
|
|
194
|
+
export declare var TranscribeAudio$: StaticOperationSchema;
|
|
180
195
|
export declare var UntagResource$: StaticOperationSchema;
|
|
181
196
|
export declare var UpdateCallAnalyticsCategory$: StaticOperationSchema;
|
|
182
197
|
export declare var UpdateLanguageModel$: StaticOperationSchema;
|
|
@@ -155,6 +155,10 @@ import {
|
|
|
155
155
|
StartTranscriptionJobCommandOutput,
|
|
156
156
|
} from "./commands/StartTranscriptionJobCommand";
|
|
157
157
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
158
|
+
import {
|
|
159
|
+
TranscribeAudioCommandInput,
|
|
160
|
+
TranscribeAudioCommandOutput,
|
|
161
|
+
} from "./commands/TranscribeAudioCommand";
|
|
158
162
|
import {
|
|
159
163
|
UntagResourceCommandInput,
|
|
160
164
|
UntagResourceCommandOutput,
|
|
@@ -687,6 +691,19 @@ export interface Transcribe {
|
|
|
687
691
|
options: TranscribeRequestOptions,
|
|
688
692
|
cb: (err: any, data?: TagResourceCommandOutput) => void,
|
|
689
693
|
): void;
|
|
694
|
+
transcribeAudio(
|
|
695
|
+
args: TranscribeAudioCommandInput,
|
|
696
|
+
options?: TranscribeRequestOptions,
|
|
697
|
+
): Promise<TranscribeAudioCommandOutput>;
|
|
698
|
+
transcribeAudio(
|
|
699
|
+
args: TranscribeAudioCommandInput,
|
|
700
|
+
cb: (err: any, data?: TranscribeAudioCommandOutput) => void,
|
|
701
|
+
): void;
|
|
702
|
+
transcribeAudio(
|
|
703
|
+
args: TranscribeAudioCommandInput,
|
|
704
|
+
options: TranscribeRequestOptions,
|
|
705
|
+
cb: (err: any, data?: TranscribeAudioCommandOutput) => void,
|
|
706
|
+
): void;
|
|
690
707
|
untagResource(
|
|
691
708
|
args: UntagResourceCommandInput,
|
|
692
709
|
options?: TranscribeRequestOptions,
|
|
@@ -182,6 +182,10 @@ import {
|
|
|
182
182
|
StartTranscriptionJobCommandOutput,
|
|
183
183
|
} from "./commands/StartTranscriptionJobCommand";
|
|
184
184
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
185
|
+
import {
|
|
186
|
+
TranscribeAudioCommandInput,
|
|
187
|
+
TranscribeAudioCommandOutput,
|
|
188
|
+
} from "./commands/TranscribeAudioCommand";
|
|
185
189
|
import {
|
|
186
190
|
UntagResourceCommandInput,
|
|
187
191
|
UntagResourceCommandOutput,
|
|
@@ -252,6 +256,7 @@ export type ServiceInputTypes =
|
|
|
252
256
|
| StartMedicalTranscriptionJobCommandInput
|
|
253
257
|
| StartTranscriptionJobCommandInput
|
|
254
258
|
| TagResourceCommandInput
|
|
259
|
+
| TranscribeAudioCommandInput
|
|
255
260
|
| UntagResourceCommandInput
|
|
256
261
|
| UpdateCallAnalyticsCategoryCommandInput
|
|
257
262
|
| UpdateLanguageModelCommandInput
|
|
@@ -297,6 +302,7 @@ export type ServiceOutputTypes =
|
|
|
297
302
|
| StartMedicalTranscriptionJobCommandOutput
|
|
298
303
|
| StartTranscriptionJobCommandOutput
|
|
299
304
|
| TagResourceCommandOutput
|
|
305
|
+
| TranscribeAudioCommandOutput
|
|
300
306
|
| UntagResourceCommandOutput
|
|
301
307
|
| UpdateCallAnalyticsCategoryCommandOutput
|
|
302
308
|
| UpdateLanguageModelCommandOutput
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import { TranscribeAudioRequest, TranscribeAudioResponse } from "../models/models_0";
|
|
3
|
+
export { __MetadataBearer };
|
|
4
|
+
export interface TranscribeAudioCommandInput extends TranscribeAudioRequest {}
|
|
5
|
+
export interface TranscribeAudioCommandOutput extends TranscribeAudioResponse, __MetadataBearer {}
|
|
6
|
+
declare const TranscribeAudioCommand_base: {
|
|
7
|
+
new (
|
|
8
|
+
input: TranscribeAudioCommandInput,
|
|
9
|
+
): import("@smithy/core/client").CommandImpl<
|
|
10
|
+
TranscribeAudioCommandInput,
|
|
11
|
+
TranscribeAudioCommandOutput,
|
|
12
|
+
import("..").TranscribeClientResolvedConfig,
|
|
13
|
+
import("..").ServiceInputTypes,
|
|
14
|
+
import("..").ServiceOutputTypes
|
|
15
|
+
>;
|
|
16
|
+
new (
|
|
17
|
+
input: TranscribeAudioCommandInput,
|
|
18
|
+
): import("@smithy/core/client").CommandImpl<
|
|
19
|
+
TranscribeAudioCommandInput,
|
|
20
|
+
TranscribeAudioCommandOutput,
|
|
21
|
+
import("..").TranscribeClientResolvedConfig,
|
|
22
|
+
import("..").ServiceInputTypes,
|
|
23
|
+
import("..").ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
export declare class TranscribeAudioCommand extends TranscribeAudioCommand_base {
|
|
28
|
+
protected static __types: {
|
|
29
|
+
api: {
|
|
30
|
+
input: TranscribeAudioRequest;
|
|
31
|
+
output: TranscribeAudioResponse;
|
|
32
|
+
};
|
|
33
|
+
sdk: {
|
|
34
|
+
input: TranscribeAudioCommandInput;
|
|
35
|
+
output: TranscribeAudioCommandOutput;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -36,6 +36,7 @@ export * from "./StartMedicalScribeJobCommand";
|
|
|
36
36
|
export * from "./StartMedicalTranscriptionJobCommand";
|
|
37
37
|
export * from "./StartTranscriptionJobCommand";
|
|
38
38
|
export * from "./TagResourceCommand";
|
|
39
|
+
export * from "./TranscribeAudioCommand";
|
|
39
40
|
export * from "./UntagResourceCommand";
|
|
40
41
|
export * from "./UpdateCallAnalyticsCategoryCommand";
|
|
41
42
|
export * from "./UpdateLanguageModelCommand";
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
export declare const BadRequestExceptionReason: {
|
|
2
|
+
readonly AUDIO_FILE_TOO_LARGE: "audioFileTooLarge";
|
|
3
|
+
readonly AUDIO_TOO_LONG: "audioTooLong";
|
|
4
|
+
readonly AUDIO_TOO_SHORT: "audioTooShort";
|
|
5
|
+
readonly INVALID_AUDIO: "invalidAudio";
|
|
6
|
+
readonly MEDIA_DOWNLOAD_FAILED: "mediaDownloadFailed";
|
|
7
|
+
readonly UNSUPPORTED_AUDIO_FORMAT: "unsupportedAudioFormat";
|
|
8
|
+
readonly UNSUPPORTED_CHANNEL_COUNT: "unsupportedChannelCount";
|
|
9
|
+
};
|
|
10
|
+
export type BadRequestExceptionReason =
|
|
11
|
+
(typeof BadRequestExceptionReason)[keyof typeof BadRequestExceptionReason];
|
|
1
12
|
export declare const BaseModelName: {
|
|
2
13
|
readonly NARROW_BAND: "NarrowBand";
|
|
3
14
|
readonly WIDE_BAND: "WideBand";
|
|
@@ -305,6 +316,11 @@ export declare const ToxicityCategory: {
|
|
|
305
316
|
readonly ALL: "ALL";
|
|
306
317
|
};
|
|
307
318
|
export type ToxicityCategory = (typeof ToxicityCategory)[keyof typeof ToxicityCategory];
|
|
319
|
+
export declare const LanguageDetectionMode: {
|
|
320
|
+
readonly IDENTIFY_LANGUAGE: "IDENTIFY_LANGUAGE";
|
|
321
|
+
};
|
|
322
|
+
export type LanguageDetectionMode =
|
|
323
|
+
(typeof LanguageDetectionMode)[keyof typeof LanguageDetectionMode];
|
|
308
324
|
export declare const OutputLocationType: {
|
|
309
325
|
readonly CUSTOMER_BUCKET: "CUSTOMER_BUCKET";
|
|
310
326
|
readonly SERVICE_BUCKET: "SERVICE_BUCKET";
|
|
@@ -316,3 +332,44 @@ export declare const Pronouns: {
|
|
|
316
332
|
readonly THEY_THEM: "THEY_THEM";
|
|
317
333
|
};
|
|
318
334
|
export type Pronouns = (typeof Pronouns)[keyof typeof Pronouns];
|
|
335
|
+
export declare const SyncLanguageCode: {
|
|
336
|
+
readonly DE_CH: "de-CH";
|
|
337
|
+
readonly DE_DE: "de-DE";
|
|
338
|
+
readonly EN_AB: "en-AB";
|
|
339
|
+
readonly EN_AU: "en-AU";
|
|
340
|
+
readonly EN_GB: "en-GB";
|
|
341
|
+
readonly EN_IE: "en-IE";
|
|
342
|
+
readonly EN_IN: "en-IN";
|
|
343
|
+
readonly EN_NZ: "en-NZ";
|
|
344
|
+
readonly EN_US: "en-US";
|
|
345
|
+
readonly EN_WL: "en-WL";
|
|
346
|
+
readonly EN_ZA: "en-ZA";
|
|
347
|
+
readonly ES_ES: "es-ES";
|
|
348
|
+
readonly ES_MX: "es-MX";
|
|
349
|
+
readonly ES_US: "es-US";
|
|
350
|
+
readonly FR_CA: "fr-CA";
|
|
351
|
+
readonly FR_FR: "fr-FR";
|
|
352
|
+
readonly IT_IT: "it-IT";
|
|
353
|
+
readonly JA_JP: "ja-JP";
|
|
354
|
+
readonly KO_KR: "ko-KR";
|
|
355
|
+
readonly PT_BR: "pt-BR";
|
|
356
|
+
readonly PT_PT: "pt-PT";
|
|
357
|
+
readonly ZH_CN: "zh-CN";
|
|
358
|
+
readonly ZH_HK: "zh-HK";
|
|
359
|
+
readonly ZH_TW: "zh-TW";
|
|
360
|
+
};
|
|
361
|
+
export type SyncLanguageCode = (typeof SyncLanguageCode)[keyof typeof SyncLanguageCode];
|
|
362
|
+
export declare const SyncLanguage: {
|
|
363
|
+
readonly DE: "de";
|
|
364
|
+
readonly EN: "en";
|
|
365
|
+
readonly ES: "es";
|
|
366
|
+
readonly FR: "fr";
|
|
367
|
+
readonly IT: "it";
|
|
368
|
+
readonly JA: "ja";
|
|
369
|
+
readonly KO: "ko";
|
|
370
|
+
readonly PT: "pt";
|
|
371
|
+
readonly ZH_CN: "zh-CN";
|
|
372
|
+
readonly ZH_HK: "zh-HK";
|
|
373
|
+
readonly ZH_TW: "zh-TW";
|
|
374
|
+
};
|
|
375
|
+
export type SyncLanguage = (typeof SyncLanguage)[keyof typeof SyncLanguage];
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
|
+
import { BadRequestExceptionReason } from "./enums";
|
|
2
3
|
import { TranscribeServiceException as __BaseException } from "./TranscribeServiceException";
|
|
3
4
|
export declare class BadRequestException extends __BaseException {
|
|
4
5
|
static readonly shapeId: string;
|
|
5
6
|
readonly name: "BadRequestException";
|
|
6
7
|
readonly $fault: "client";
|
|
7
8
|
Message?: string | undefined;
|
|
9
|
+
Reason?: BadRequestExceptionReason | undefined;
|
|
8
10
|
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
9
11
|
}
|
|
10
12
|
export declare class ConflictException extends __BaseException {
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
CLMLanguageCode,
|
|
7
7
|
InputType,
|
|
8
8
|
LanguageCode,
|
|
9
|
+
LanguageDetectionMode,
|
|
9
10
|
MediaFormat,
|
|
10
11
|
MedicalContentIdentificationType,
|
|
11
12
|
MedicalScribeJobStatus,
|
|
@@ -22,6 +23,8 @@ import {
|
|
|
22
23
|
SentimentValue,
|
|
23
24
|
Specialty,
|
|
24
25
|
SubtitleFormat,
|
|
26
|
+
SyncLanguage,
|
|
27
|
+
SyncLanguageCode,
|
|
25
28
|
ToxicityCategory,
|
|
26
29
|
TranscriptFilterType,
|
|
27
30
|
TranscriptionJobStatus,
|
|
@@ -743,11 +746,110 @@ export interface StartTranscriptionJobRequest {
|
|
|
743
746
|
export interface StartTranscriptionJobResponse {
|
|
744
747
|
TranscriptionJob?: TranscriptionJob | undefined;
|
|
745
748
|
}
|
|
749
|
+
export interface SyncRedaction {
|
|
750
|
+
Type?: PiiEntityType | undefined;
|
|
751
|
+
}
|
|
752
|
+
export interface SyncItem {
|
|
753
|
+
Id?: number | undefined;
|
|
754
|
+
Content?: string | undefined;
|
|
755
|
+
StartTime?: number | undefined;
|
|
756
|
+
EndTime?: number | undefined;
|
|
757
|
+
LanguageCode?: SyncLanguageCode | undefined;
|
|
758
|
+
ChannelLabel?: string | undefined;
|
|
759
|
+
SpeakerLabel?: string | undefined;
|
|
760
|
+
VocabularyFilterMatch?: boolean | undefined;
|
|
761
|
+
Redactions?: SyncRedaction[] | undefined;
|
|
762
|
+
}
|
|
763
|
+
export interface SyncLanguageCodeItem {
|
|
764
|
+
LanguageCode?: SyncLanguageCode | undefined;
|
|
765
|
+
DurationInSeconds?: number | undefined;
|
|
766
|
+
}
|
|
767
|
+
export type SyncMedia =
|
|
768
|
+
| SyncMedia.MediaBytesMember
|
|
769
|
+
| SyncMedia.MediaFileUriMember
|
|
770
|
+
| SyncMedia.$UnknownMember;
|
|
771
|
+
export declare namespace SyncMedia {
|
|
772
|
+
interface MediaBytesMember {
|
|
773
|
+
MediaBytes: Uint8Array;
|
|
774
|
+
MediaFileUri?: never;
|
|
775
|
+
$unknown?: never;
|
|
776
|
+
}
|
|
777
|
+
interface MediaFileUriMember {
|
|
778
|
+
MediaBytes?: never;
|
|
779
|
+
MediaFileUri: string;
|
|
780
|
+
$unknown?: never;
|
|
781
|
+
}
|
|
782
|
+
interface $UnknownMember {
|
|
783
|
+
MediaBytes?: never;
|
|
784
|
+
MediaFileUri?: never;
|
|
785
|
+
$unknown: [string, any];
|
|
786
|
+
}
|
|
787
|
+
interface Visitor<T> {
|
|
788
|
+
MediaBytes: (value: Uint8Array) => T;
|
|
789
|
+
MediaFileUri: (value: string) => T;
|
|
790
|
+
_: (name: string, value: any) => T;
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
export interface SyncOutputConfiguration {
|
|
794
|
+
OutputMediaFileUri: string | undefined;
|
|
795
|
+
}
|
|
746
796
|
export interface TagResourceRequest {
|
|
747
797
|
ResourceArn: string | undefined;
|
|
748
798
|
Tags: Tag[] | undefined;
|
|
749
799
|
}
|
|
750
800
|
export interface TagResourceResponse {}
|
|
801
|
+
export interface VocabularyFilterEntry {
|
|
802
|
+
Language: SyncLanguage | undefined;
|
|
803
|
+
VocabularyFilterName?: string | undefined;
|
|
804
|
+
Words?: string[] | undefined;
|
|
805
|
+
}
|
|
806
|
+
export interface VocabularyFilterSettings {
|
|
807
|
+
VocabularyFilterMethod: VocabularyFilterMethod | undefined;
|
|
808
|
+
Filters: VocabularyFilterEntry[] | undefined;
|
|
809
|
+
}
|
|
810
|
+
export interface VocabularyPhrase {
|
|
811
|
+
Text: string | undefined;
|
|
812
|
+
DisplayAs?: string | undefined;
|
|
813
|
+
}
|
|
814
|
+
export interface VocabularySettingsEntry {
|
|
815
|
+
Language: SyncLanguage | undefined;
|
|
816
|
+
VocabularyName?: string | undefined;
|
|
817
|
+
Phrases?: VocabularyPhrase[] | undefined;
|
|
818
|
+
}
|
|
819
|
+
export interface TranscribeAudioRequest {
|
|
820
|
+
Media: SyncMedia | undefined;
|
|
821
|
+
Language?: SyncLanguage | undefined;
|
|
822
|
+
LanguageDetectionMode?: LanguageDetectionMode | undefined;
|
|
823
|
+
LanguageOptions?: SyncLanguage[] | undefined;
|
|
824
|
+
ChannelIdentification?: boolean | undefined;
|
|
825
|
+
ShowSpeakerLabels?: boolean | undefined;
|
|
826
|
+
MaxSpeakerLabels?: number | undefined;
|
|
827
|
+
VocabularySettings?: VocabularySettingsEntry[] | undefined;
|
|
828
|
+
VocabularyFilterSettings?: VocabularyFilterSettings | undefined;
|
|
829
|
+
ContentRedaction?: ContentRedaction | undefined;
|
|
830
|
+
OutputConfiguration?: SyncOutputConfiguration | undefined;
|
|
831
|
+
}
|
|
832
|
+
export interface TranscribeAudioMetadata {
|
|
833
|
+
LanguageCode?: SyncLanguageCode | undefined;
|
|
834
|
+
LanguageCodes?: SyncLanguageCodeItem[] | undefined;
|
|
835
|
+
MediaFormat?: MediaFormat | undefined;
|
|
836
|
+
MediaSampleRateHertz?: number | undefined;
|
|
837
|
+
SpeakersCount?: number | undefined;
|
|
838
|
+
NumberOfChannels?: number | undefined;
|
|
839
|
+
}
|
|
840
|
+
export interface TranscribeAudioResults {
|
|
841
|
+
Transcript?: string | undefined;
|
|
842
|
+
Items?: SyncItem[] | undefined;
|
|
843
|
+
}
|
|
844
|
+
export interface TranscriptResponse {
|
|
845
|
+
Metadata?: TranscribeAudioMetadata | undefined;
|
|
846
|
+
Results?: TranscribeAudioResults | undefined;
|
|
847
|
+
RedactedResults?: TranscribeAudioResults | undefined;
|
|
848
|
+
}
|
|
849
|
+
export interface TranscribeAudioResponse {
|
|
850
|
+
OutputConfiguration?: SyncOutputConfiguration | undefined;
|
|
851
|
+
TranscriptResponse?: TranscriptResponse | undefined;
|
|
852
|
+
}
|
|
751
853
|
export interface UntagResourceRequest {
|
|
752
854
|
ResourceArn: string | undefined;
|
|
753
855
|
TagKeys: string[] | undefined;
|
|
@@ -116,14 +116,23 @@ export declare var StartTranscriptionJobResponse$: StaticStructureSchema;
|
|
|
116
116
|
export declare var Subtitles$: StaticStructureSchema;
|
|
117
117
|
export declare var SubtitlesOutput$: StaticStructureSchema;
|
|
118
118
|
export declare var Summarization$: StaticStructureSchema;
|
|
119
|
+
export declare var SyncItem$: StaticStructureSchema;
|
|
120
|
+
export declare var SyncLanguageCodeItem$: StaticStructureSchema;
|
|
121
|
+
export declare var SyncOutputConfiguration$: StaticStructureSchema;
|
|
122
|
+
export declare var SyncRedaction$: StaticStructureSchema;
|
|
119
123
|
export declare var Tag$: StaticStructureSchema;
|
|
120
124
|
export declare var TagResourceRequest$: StaticStructureSchema;
|
|
121
125
|
export declare var TagResourceResponse$: StaticStructureSchema;
|
|
122
126
|
export declare var ToxicityDetectionSettings$: StaticStructureSchema;
|
|
127
|
+
export declare var TranscribeAudioMetadata$: StaticStructureSchema;
|
|
128
|
+
export declare var TranscribeAudioRequest$: StaticStructureSchema;
|
|
129
|
+
export declare var TranscribeAudioResponse$: StaticStructureSchema;
|
|
130
|
+
export declare var TranscribeAudioResults$: StaticStructureSchema;
|
|
123
131
|
export declare var Transcript$: StaticStructureSchema;
|
|
124
132
|
export declare var TranscriptFilter$: StaticStructureSchema;
|
|
125
133
|
export declare var TranscriptionJob$: StaticStructureSchema;
|
|
126
134
|
export declare var TranscriptionJobSummary$: StaticStructureSchema;
|
|
135
|
+
export declare var TranscriptResponse$: StaticStructureSchema;
|
|
127
136
|
export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
128
137
|
export declare var UntagResourceResponse$: StaticStructureSchema;
|
|
129
138
|
export declare var UpdateCallAnalyticsCategoryRequest$: StaticStructureSchema;
|
|
@@ -136,9 +145,14 @@ export declare var UpdateVocabularyFilterRequest$: StaticStructureSchema;
|
|
|
136
145
|
export declare var UpdateVocabularyFilterResponse$: StaticStructureSchema;
|
|
137
146
|
export declare var UpdateVocabularyRequest$: StaticStructureSchema;
|
|
138
147
|
export declare var UpdateVocabularyResponse$: StaticStructureSchema;
|
|
148
|
+
export declare var VocabularyFilterEntry$: StaticStructureSchema;
|
|
139
149
|
export declare var VocabularyFilterInfo$: StaticStructureSchema;
|
|
150
|
+
export declare var VocabularyFilterSettings$: StaticStructureSchema;
|
|
140
151
|
export declare var VocabularyInfo$: StaticStructureSchema;
|
|
152
|
+
export declare var VocabularyPhrase$: StaticStructureSchema;
|
|
153
|
+
export declare var VocabularySettingsEntry$: StaticStructureSchema;
|
|
141
154
|
export declare var Rule$: StaticUnionSchema;
|
|
155
|
+
export declare var SyncMedia$: StaticUnionSchema;
|
|
142
156
|
export declare var CreateCallAnalyticsCategory$: StaticOperationSchema;
|
|
143
157
|
export declare var CreateLanguageModel$: StaticOperationSchema;
|
|
144
158
|
export declare var CreateMedicalVocabulary$: StaticOperationSchema;
|
|
@@ -177,6 +191,7 @@ export declare var StartMedicalScribeJob$: StaticOperationSchema;
|
|
|
177
191
|
export declare var StartMedicalTranscriptionJob$: StaticOperationSchema;
|
|
178
192
|
export declare var StartTranscriptionJob$: StaticOperationSchema;
|
|
179
193
|
export declare var TagResource$: StaticOperationSchema;
|
|
194
|
+
export declare var TranscribeAudio$: StaticOperationSchema;
|
|
180
195
|
export declare var UntagResource$: StaticOperationSchema;
|
|
181
196
|
export declare var UpdateCallAnalyticsCategory$: StaticOperationSchema;
|
|
182
197
|
export declare var UpdateLanguageModel$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-transcribe",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1174.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Transcribe Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-transcribe",
|
|
6
6
|
"license": "Apache-2.0",
|