@aws-sdk/client-transcribe 3.1173.0 → 3.1175.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +222 -11
  3. package/dist-es/Transcribe.js +2 -0
  4. package/dist-es/commands/TranscribeAudioCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/enums.js +51 -0
  7. package/dist-es/models/errors.js +2 -0
  8. package/dist-es/schemas/schemas_0.js +145 -10
  9. package/dist-types/Transcribe.d.ts +7 -0
  10. package/dist-types/TranscribeClient.d.ts +3 -2
  11. package/dist-types/commands/CreateCallAnalyticsCategoryCommand.d.ts +5 -4
  12. package/dist-types/commands/CreateLanguageModelCommand.d.ts +5 -4
  13. package/dist-types/commands/CreateMedicalVocabularyCommand.d.ts +5 -4
  14. package/dist-types/commands/CreateVocabularyCommand.d.ts +5 -4
  15. package/dist-types/commands/CreateVocabularyFilterCommand.d.ts +5 -4
  16. package/dist-types/commands/DeleteCallAnalyticsCategoryCommand.d.ts +5 -4
  17. package/dist-types/commands/DeleteCallAnalyticsJobCommand.d.ts +5 -4
  18. package/dist-types/commands/DeleteLanguageModelCommand.d.ts +5 -4
  19. package/dist-types/commands/DeleteMedicalScribeJobCommand.d.ts +5 -4
  20. package/dist-types/commands/DeleteMedicalTranscriptionJobCommand.d.ts +5 -4
  21. package/dist-types/commands/DeleteMedicalVocabularyCommand.d.ts +5 -4
  22. package/dist-types/commands/DeleteTranscriptionJobCommand.d.ts +5 -4
  23. package/dist-types/commands/DeleteVocabularyCommand.d.ts +5 -4
  24. package/dist-types/commands/DeleteVocabularyFilterCommand.d.ts +5 -4
  25. package/dist-types/commands/DescribeLanguageModelCommand.d.ts +5 -4
  26. package/dist-types/commands/GetCallAnalyticsCategoryCommand.d.ts +5 -4
  27. package/dist-types/commands/GetCallAnalyticsJobCommand.d.ts +5 -4
  28. package/dist-types/commands/GetMedicalScribeJobCommand.d.ts +5 -4
  29. package/dist-types/commands/GetMedicalTranscriptionJobCommand.d.ts +5 -4
  30. package/dist-types/commands/GetMedicalVocabularyCommand.d.ts +5 -4
  31. package/dist-types/commands/GetTranscriptionJobCommand.d.ts +5 -4
  32. package/dist-types/commands/GetVocabularyCommand.d.ts +5 -4
  33. package/dist-types/commands/GetVocabularyFilterCommand.d.ts +5 -4
  34. package/dist-types/commands/ListCallAnalyticsCategoriesCommand.d.ts +5 -4
  35. package/dist-types/commands/ListCallAnalyticsJobsCommand.d.ts +5 -4
  36. package/dist-types/commands/ListLanguageModelsCommand.d.ts +5 -4
  37. package/dist-types/commands/ListMedicalScribeJobsCommand.d.ts +5 -4
  38. package/dist-types/commands/ListMedicalTranscriptionJobsCommand.d.ts +5 -4
  39. package/dist-types/commands/ListMedicalVocabulariesCommand.d.ts +5 -4
  40. package/dist-types/commands/ListTagsForResourceCommand.d.ts +5 -4
  41. package/dist-types/commands/ListTranscriptionJobsCommand.d.ts +5 -4
  42. package/dist-types/commands/ListVocabulariesCommand.d.ts +5 -4
  43. package/dist-types/commands/ListVocabularyFiltersCommand.d.ts +5 -4
  44. package/dist-types/commands/StartCallAnalyticsJobCommand.d.ts +5 -4
  45. package/dist-types/commands/StartMedicalScribeJobCommand.d.ts +5 -4
  46. package/dist-types/commands/StartMedicalTranscriptionJobCommand.d.ts +5 -4
  47. package/dist-types/commands/StartTranscriptionJobCommand.d.ts +5 -4
  48. package/dist-types/commands/TagResourceCommand.d.ts +5 -4
  49. package/dist-types/commands/TranscribeAudioCommand.d.ts +218 -0
  50. package/dist-types/commands/UntagResourceCommand.d.ts +5 -4
  51. package/dist-types/commands/UpdateCallAnalyticsCategoryCommand.d.ts +5 -4
  52. package/dist-types/commands/UpdateLanguageModelCommand.d.ts +5 -4
  53. package/dist-types/commands/UpdateMedicalVocabularyCommand.d.ts +5 -4
  54. package/dist-types/commands/UpdateVocabularyCommand.d.ts +5 -4
  55. package/dist-types/commands/UpdateVocabularyFilterCommand.d.ts +5 -4
  56. package/dist-types/commands/index.d.ts +1 -0
  57. package/dist-types/models/enums.d.ts +83 -0
  58. package/dist-types/models/errors.d.ts +49 -4
  59. package/dist-types/models/models_0.d.ts +533 -13
  60. package/dist-types/schemas/schemas_0.d.ts +15 -0
  61. package/dist-types/ts3.4/Transcribe.d.ts +17 -0
  62. package/dist-types/ts3.4/TranscribeClient.d.ts +6 -0
  63. package/dist-types/ts3.4/commands/TranscribeAudioCommand.d.ts +38 -0
  64. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  65. package/dist-types/ts3.4/models/enums.d.ts +57 -0
  66. package/dist-types/ts3.4/models/errors.d.ts +2 -0
  67. package/dist-types/ts3.4/models/models_0.d.ts +102 -0
  68. package/dist-types/ts3.4/schemas/schemas_0.d.ts +15 -0
  69. package/package.json +3 -3
package/README.md CHANGED
@@ -507,6 +507,13 @@ TagResource
507
507
  </details>
508
508
  <details>
509
509
  <summary>
510
+ TranscribeAudio
511
+ </summary>
512
+
513
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transcribe/command/TranscribeAudioCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/TranscribeAudioCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/TranscribeAudioCommandOutput/)
514
+ </details>
515
+ <details>
516
+ <summary>
510
517
  UntagResource
511
518
  </summary>
512
519
 
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1172.0";
72
+ var version = "3.1174.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -155,6 +155,7 @@ class BadRequestException extends TranscribeServiceException {
155
155
  name = "BadRequestException";
156
156
  $fault = "client";
157
157
  Message;
158
+ Reason;
158
159
  constructor(opts) {
159
160
  super({
160
161
  name: "BadRequestException",
@@ -163,6 +164,7 @@ class BadRequestException extends TranscribeServiceException {
163
164
  });
164
165
  Object.setPrototypeOf(this, BadRequestException.prototype);
165
166
  this.Message = opts.Message;
167
+ this.Reason = opts.Reason;
166
168
  }
167
169
  }
168
170
  class ConflictException extends TranscribeServiceException {
@@ -250,6 +252,7 @@ const _CE = "ConflictException";
250
252
  const _CI = "ChannelId";
251
253
  const _CIT = "ContentIdentificationType";
252
254
  const _CIh = "ChannelIdentification";
255
+ const _CL = "ChannelLabel";
253
256
  const _CLM = "CreateLanguageModel";
254
257
  const _CLMR = "CreateLanguageModelRequest";
255
258
  const _CLMRr = "CreateLanguageModelResponse";
@@ -270,6 +273,8 @@ const _CVFR = "CreateVocabularyFilterRequest";
270
273
  const _CVFRr = "CreateVocabularyFilterResponse";
271
274
  const _CVR = "CreateVocabularyRequest";
272
275
  const _CVRr = "CreateVocabularyResponse";
276
+ const _Co = "Content";
277
+ const _DA = "DisplayAs";
273
278
  const _DARA = "DataAccessRoleArn";
274
279
  const _DCAC = "DeleteCallAnalyticsCategory";
275
280
  const _DCACR = "DeleteCallAnalyticsCategoryRequest";
@@ -302,6 +307,7 @@ const _ET = "EndTime";
302
307
  const _F = "First";
303
308
  const _FR = "FailureReason";
304
309
  const _Fe = "Feature";
310
+ const _Fi = "Filters";
305
311
  const _Fo = "Formats";
306
312
  const _GAS = "GenerateAbstractiveSummary";
307
313
  const _GCAC = "GetCallAnalyticsCategory";
@@ -328,6 +334,7 @@ const _GVFR = "GetVocabularyFilterRequest";
328
334
  const _GVFRe = "GetVocabularyFilterResponse";
329
335
  const _GVR = "GetVocabularyRequest";
330
336
  const _GVRe = "GetVocabularyResponse";
337
+ const _I = "Id";
331
338
  const _IDC = "InputDataConfig";
332
339
  const _IF = "InterruptionFilter";
333
340
  const _IFE = "InternalFailureException";
@@ -335,6 +342,7 @@ const _IL = "IdentifyLanguage";
335
342
  const _ILS = "IdentifiedLanguageScore";
336
343
  const _IML = "IdentifyMultipleLanguages";
337
344
  const _IT = "InputType";
345
+ const _It = "Items";
338
346
  const _JES = "JobExecutionSettings";
339
347
  const _JNC = "JobNameContains";
340
348
  const _K = "Key";
@@ -351,6 +359,7 @@ const _LCAJRi = "ListCallAnalyticsJobsResponse";
351
359
  const _LCI = "LanguageCodeItem";
352
360
  const _LCL = "LanguageCodeList";
353
361
  const _LCa = "LanguageCodes";
362
+ const _LDM = "LanguageDetectionMode";
354
363
  const _LEE = "LimitExceededException";
355
364
  const _LIS = "LanguageIdSettings";
356
365
  const _LISM = "LanguageIdSettingsMap";
@@ -383,8 +392,10 @@ const _LVFR = "ListVocabularyFiltersRequest";
383
392
  const _LVFRi = "ListVocabularyFiltersResponse";
384
393
  const _LVR = "ListVocabulariesRequest";
385
394
  const _LVRi = "ListVocabulariesResponse";
395
+ const _La = "Language";
386
396
  const _M = "Message";
387
397
  const _MA = "MaxAlternatives";
398
+ const _MB = "MediaBytes";
388
399
  const _MF = "MediaFormat";
389
400
  const _MFU = "MediaFileUri";
390
401
  const _MN = "ModelName";
@@ -412,36 +423,45 @@ const _MTJS = "MedicalTranscriptionJobSummaries";
412
423
  const _MTJSe = "MedicalTranscriptionJobSummary";
413
424
  const _MTS = "MedicalTranscriptionSetting";
414
425
  const _Me = "Media";
426
+ const _Met = "Metadata";
415
427
  const _Mo = "Models";
416
428
  const _N = "Negate";
417
429
  const _NC = "NameContains";
418
430
  const _NFE = "NotFoundException";
431
+ const _NOC = "NumberOfChannels";
419
432
  const _NT = "NoteTemplate";
420
433
  const _NTTF = "NonTalkTimeFilter";
421
434
  const _NTe = "NextToken";
422
435
  const _OBN = "OutputBucketName";
436
+ const _OC = "OutputConfiguration";
423
437
  const _OEKMSKI = "OutputEncryptionKMSKeyId";
424
438
  const _OK = "OutputKey";
425
439
  const _OL = "OutputLocation";
426
440
  const _OLT = "OutputLocationType";
441
+ const _OMFU = "OutputMediaFileUri";
427
442
  const _OSI = "OutputStartIndex";
428
443
  const _P = "Pronouns";
429
444
  const _PC = "PatientContext";
430
445
  const _PET = "PiiEntityTypes";
431
446
  const _PR = "ParticipantRole";
432
447
  const _Ph = "Phrases";
433
- const _R = "Rules";
448
+ const _R = "Reason";
434
449
  const _RA = "ResourceArn";
435
450
  const _RC = "ReasonCode";
436
451
  const _RL = "RuleList";
437
452
  const _RMFU = "RedactedMediaFileUri";
438
453
  const _RO = "RedactionOutput";
454
+ const _RR = "RedactedResults";
439
455
  const _RT = "RedactionType";
440
456
  const _RTFU = "RedactedTranscriptFileUri";
441
457
  const _RTR = "RelativeTimeRange";
442
- const _Ru = "Rule";
458
+ const _Re = "Redactions";
459
+ const _Res = "Results";
460
+ const _Ru = "Rules";
461
+ const _Rul = "Rule";
443
462
  const _S = "Settings";
444
463
  const _SA = "ShowAlternatives";
464
+ const _SC = "SpeakersCount";
445
465
  const _SCAJ = "StartCallAnalyticsJob";
446
466
  const _SCAJR = "StartCallAnalyticsJobRequest";
447
467
  const _SCAJRt = "StartCallAnalyticsJobResponse";
@@ -450,6 +470,12 @@ const _SEt = " StatusEquals";
450
470
  const _SEta = "StateEquals";
451
471
  const _SF = "SentimentFilter";
452
472
  const _SFU = "SubtitleFileUris";
473
+ const _SI = "SyncItem";
474
+ const _SIL = "SyncItemList";
475
+ const _SL = "SpeakerLabel";
476
+ const _SLCI = "SyncLanguageCodeItem";
477
+ const _SLCL = "SyncLanguageCodeList";
478
+ const _SM = "SyncMedia";
453
479
  const _SMSJ = "StartMedicalScribeJob";
454
480
  const _SMSJR = "StartMedicalScribeJobRequest";
455
481
  const _SMSJRt = "StartMedicalScribeJobResponse";
@@ -457,7 +483,10 @@ const _SMTJ = "StartMedicalTranscriptionJob";
457
483
  const _SMTJR = "StartMedicalTranscriptionJobRequest";
458
484
  const _SMTJRt = "StartMedicalTranscriptionJobResponse";
459
485
  const _SO = "SubtitlesOutput";
486
+ const _SOC = "SyncOutputConfiguration";
460
487
  const _SP = "StartPercentage";
488
+ const _SR = "SyncRedaction";
489
+ const _SRL = "SyncRedactionList";
461
490
  const _SSL = "ShowSpeakerLabels";
462
491
  const _ST = "StartTime";
463
492
  const _STJ = "StartTranscriptionJob";
@@ -471,6 +500,11 @@ const _St = "Status";
471
500
  const _Su = "Summarization";
472
501
  const _Sub = "Subtitles";
473
502
  const _T = "Transcript";
503
+ const _TA = "TranscribeAudio";
504
+ const _TAM = "TranscribeAudioMetadata";
505
+ const _TAR = "TranscribeAudioRequest";
506
+ const _TARr = "TranscribeAudioResponse";
507
+ const _TARra = "TranscribeAudioResults";
474
508
  const _TC = "ToxicityCategories";
475
509
  const _TD = "ToxicityDetection";
476
510
  const _TDS = "ToxicityDetectionSettings";
@@ -485,12 +519,14 @@ const _TJSr = "TranscriptionJobStatus";
485
519
  const _TJSra = "TranscriptionJobSummary";
486
520
  const _TK = "TagKeys";
487
521
  const _TL = "TagList";
488
- const _TR = "TagResource";
522
+ const _TR = "TranscriptResponse";
489
523
  const _TRR = "TagResourceRequest";
490
524
  const _TRRa = "TagResourceResponse";
525
+ const _TRa = "TagResource";
491
526
  const _Ta = "Tags";
492
527
  const _Tag = "Tag";
493
528
  const _Tar = "Targets";
529
+ const _Te = "Text";
494
530
  const _Th = "Threshold";
495
531
  const _Ty = "Type";
496
532
  const _UA = "UpgradeAvailability";
@@ -514,14 +550,23 @@ const _UVR = "UpdateVocabularyRequest";
514
550
  const _UVRp = "UpdateVocabularyResponse";
515
551
  const _V = "Vocabularies";
516
552
  const _VF = "VocabularyFilters";
553
+ const _VFE = "VocabularyFilterEntry";
554
+ const _VFEL = "VocabularyFilterEntryList";
517
555
  const _VFFU = "VocabularyFilterFileUri";
518
556
  const _VFI = "VocabularyFilterInfo";
519
557
  const _VFM = "VocabularyFilterMethod";
558
+ const _VFMo = "VocabularyFilterMatch";
520
559
  const _VFN = "VocabularyFilterName";
560
+ const _VFS = "VocabularyFilterSettings";
521
561
  const _VFU = "VocabularyFileUri";
522
562
  const _VI = "VocabularyInfo";
523
563
  const _VN = "VocabularyName";
564
+ const _VP = "VocabularyPhrase";
565
+ const _VPL = "VocabularyPhraseList";
524
566
  const _VS = "VocabularyState";
567
+ const _VSE = "VocabularySettingsEntry";
568
+ const _VSL = "VocabularySettingsList";
569
+ const _VSo = "VocabularySettings";
525
570
  const _Va = "Value";
526
571
  const _W = "Words";
527
572
  const _c = "client";
@@ -539,8 +584,8 @@ _s_registry.registerError(TranscribeServiceException$, TranscribeServiceExceptio
539
584
  const n0_registry = new TypeRegistry(n0);
540
585
  var BadRequestException$ = [-3, n0, _BRE,
541
586
  { [_e]: _c, [_hE]: 400 },
542
- [_M],
543
- [0]
587
+ [_M, _R],
588
+ [0, 0]
544
589
  ];
545
590
  n0_registry.registerError(BadRequestException$, BadRequestException);
546
591
  var ConflictException$ = [-3, n0, _CE,
@@ -604,7 +649,7 @@ var CallAnalyticsSkippedFeature$ = [3, n0, _CASF,
604
649
  ];
605
650
  var CategoryProperties$ = [3, n0, _CP,
606
651
  0,
607
- [_CN, _R, _CTr, _LUT, _Ta, _IT],
652
+ [_CN, _Ru, _CTr, _LUT, _Ta, _IT],
608
653
  [0, () => RuleList, 4, 4, () => TagList, 0]
609
654
  ];
610
655
  var ChannelDefinition$ = [3, n0, _CDh,
@@ -624,7 +669,7 @@ var ContentRedaction$ = [3, n0, _CR,
624
669
  ];
625
670
  var CreateCallAnalyticsCategoryRequest$ = [3, n0, _CCACR,
626
671
  0,
627
- [_CN, _R, _Ta, _IT],
672
+ [_CN, _Ru, _Ta, _IT],
628
673
  [[0, 1], () => RuleList, () => TagList, 0], 2
629
674
  ];
630
675
  var CreateCallAnalyticsCategoryResponse$ = [3, n0, _CCACRr,
@@ -1092,6 +1137,26 @@ var Summarization$ = [3, n0, _Su,
1092
1137
  [_GAS],
1093
1138
  [2], 1
1094
1139
  ];
1140
+ var SyncItem$ = [3, n0, _SI,
1141
+ 0,
1142
+ [_I, _Co, _ST, _ET, _LC, _CL, _SL, _VFMo, _Re],
1143
+ [1, 0, 1, 1, 0, 0, 0, 2, () => SyncRedactionList]
1144
+ ];
1145
+ var SyncLanguageCodeItem$ = [3, n0, _SLCI,
1146
+ 0,
1147
+ [_LC, _DIS],
1148
+ [0, 1]
1149
+ ];
1150
+ var SyncOutputConfiguration$ = [3, n0, _SOC,
1151
+ 0,
1152
+ [_OMFU],
1153
+ [0], 1
1154
+ ];
1155
+ var SyncRedaction$ = [3, n0, _SR,
1156
+ 0,
1157
+ [_Ty],
1158
+ [0]
1159
+ ];
1095
1160
  var Tag$ = [3, n0, _Tag,
1096
1161
  0,
1097
1162
  [_K, _Va],
@@ -1112,6 +1177,26 @@ var ToxicityDetectionSettings$ = [3, n0, _TDS,
1112
1177
  [_TC],
1113
1178
  [64 | 0], 1
1114
1179
  ];
1180
+ var TranscribeAudioMetadata$ = [3, n0, _TAM,
1181
+ 0,
1182
+ [_LC, _LCa, _MF, _MSRH, _SC, _NOC],
1183
+ [0, () => SyncLanguageCodeList, 0, 1, 1, 1]
1184
+ ];
1185
+ var TranscribeAudioRequest$ = [3, n0, _TAR,
1186
+ 0,
1187
+ [_Me, _La, _LDM, _LO, _CIh, _SSL, _MSL, _VSo, _VFS, _CR, _OC],
1188
+ [() => SyncMedia$, 0, 0, 64 | 0, 2, 2, 1, () => VocabularySettingsList, () => VocabularyFilterSettings$, () => ContentRedaction$, () => SyncOutputConfiguration$], 1
1189
+ ];
1190
+ var TranscribeAudioResponse$ = [3, n0, _TARr,
1191
+ 0,
1192
+ [_OC, _TR],
1193
+ [() => SyncOutputConfiguration$, () => TranscriptResponse$]
1194
+ ];
1195
+ var TranscribeAudioResults$ = [3, n0, _TARra,
1196
+ 0,
1197
+ [_T, _It],
1198
+ [0, () => SyncItemList]
1199
+ ];
1115
1200
  var Transcript$ = [3, n0, _T,
1116
1201
  0,
1117
1202
  [_TFU, _RTFU],
@@ -1132,6 +1217,11 @@ var TranscriptionJobSummary$ = [3, n0, _TJSra,
1132
1217
  [_TJN, _CT, _ST, _CTo, _LC, _TJSr, _FR, _OLT, _CR, _MSo, _IL, _IML, _ILS, _LCa, _TD],
1133
1218
  [0, 4, 4, 4, 0, 0, 0, 0, () => ContentRedaction$, () => ModelSettings$, 2, 2, 1, () => LanguageCodeList, () => ToxicityDetection]
1134
1219
  ];
1220
+ var TranscriptResponse$ = [3, n0, _TR,
1221
+ 0,
1222
+ [_Met, _Res, _RR],
1223
+ [() => TranscribeAudioMetadata$, () => TranscribeAudioResults$, () => TranscribeAudioResults$]
1224
+ ];
1135
1225
  var UntagResourceRequest$ = [3, n0, _URR,
1136
1226
  0,
1137
1227
  [_RA, _TK],
@@ -1144,7 +1234,7 @@ var UntagResourceResponse$ = [3, n0, _URRn,
1144
1234
  ];
1145
1235
  var UpdateCallAnalyticsCategoryRequest$ = [3, n0, _UCACR,
1146
1236
  0,
1147
- [_CN, _R, _IT],
1237
+ [_CN, _Ru, _IT],
1148
1238
  [[0, 1], () => RuleList, 0], 2
1149
1239
  ];
1150
1240
  var UpdateCallAnalyticsCategoryResponse$ = [3, n0, _UCACRp,
@@ -1192,16 +1282,36 @@ var UpdateVocabularyResponse$ = [3, n0, _UVRp,
1192
1282
  [_VN, _LC, _LMT, _VS],
1193
1283
  [0, 0, 4, 0]
1194
1284
  ];
1285
+ var VocabularyFilterEntry$ = [3, n0, _VFE,
1286
+ 0,
1287
+ [_La, _VFN, _W],
1288
+ [0, 0, 64 | 0], 1
1289
+ ];
1195
1290
  var VocabularyFilterInfo$ = [3, n0, _VFI,
1196
1291
  0,
1197
1292
  [_VFN, _LC, _LMT],
1198
1293
  [0, 0, 4]
1199
1294
  ];
1295
+ var VocabularyFilterSettings$ = [3, n0, _VFS,
1296
+ 0,
1297
+ [_VFM, _Fi],
1298
+ [0, () => VocabularyFilterEntryList], 2
1299
+ ];
1200
1300
  var VocabularyInfo$ = [3, n0, _VI,
1201
1301
  0,
1202
1302
  [_VN, _LC, _LMT, _VS],
1203
1303
  [0, 0, 4, 0]
1204
1304
  ];
1305
+ var VocabularyPhrase$ = [3, n0, _VP,
1306
+ 0,
1307
+ [_Te, _DA],
1308
+ [0, 0], 1
1309
+ ];
1310
+ var VocabularySettingsEntry$ = [3, n0, _VSE,
1311
+ 0,
1312
+ [_La, _VN, _Ph],
1313
+ [0, 0, () => VocabularyPhraseList], 1
1314
+ ];
1205
1315
  var __Unit = "unit";
1206
1316
  var CallAnalyticsJobSummaries = [1, n0, _CAJSall,
1207
1317
  0, () => CallAnalyticsJobSummary$
@@ -1233,6 +1343,15 @@ var Models = [1, n0, _Mo,
1233
1343
  var RuleList = [1, n0, _RL,
1234
1344
  0, () => Rule$
1235
1345
  ];
1346
+ var SyncItemList = [1, n0, _SIL,
1347
+ 0, () => SyncItem$
1348
+ ];
1349
+ var SyncLanguageCodeList = [1, n0, _SLCL,
1350
+ 0, () => SyncLanguageCodeItem$
1351
+ ];
1352
+ var SyncRedactionList = [1, n0, _SRL,
1353
+ 0, () => SyncRedaction$
1354
+ ];
1236
1355
  var TagList = [1, n0, _TL,
1237
1356
  0, () => Tag$
1238
1357
  ];
@@ -1245,17 +1364,31 @@ var TranscriptionJobSummaries = [1, n0, _TJS,
1245
1364
  var Vocabularies = [1, n0, _V,
1246
1365
  0, () => VocabularyInfo$
1247
1366
  ];
1367
+ var VocabularyFilterEntryList = [1, n0, _VFEL,
1368
+ 0, () => VocabularyFilterEntry$
1369
+ ];
1248
1370
  var VocabularyFilters = [1, n0, _VF,
1249
1371
  0, () => VocabularyFilterInfo$
1250
1372
  ];
1373
+ var VocabularyPhraseList = [1, n0, _VPL,
1374
+ 0, () => VocabularyPhrase$
1375
+ ];
1376
+ var VocabularySettingsList = [1, n0, _VSL,
1377
+ 0, () => VocabularySettingsEntry$
1378
+ ];
1251
1379
  var LanguageIdSettingsMap = [2, n0, _LISM,
1252
1380
  0, 0, () => LanguageIdSettings$
1253
1381
  ];
1254
- var Rule$ = [4, n0, _Ru,
1382
+ var Rule$ = [4, n0, _Rul,
1255
1383
  0,
1256
1384
  [_NTTF, _IF, _TF, _SF],
1257
1385
  [() => NonTalkTimeFilter$, () => InterruptionFilter$, () => TranscriptFilter$, () => SentimentFilter$]
1258
1386
  ];
1387
+ var SyncMedia$ = [4, n0, _SM,
1388
+ 0,
1389
+ [_MB, _MFU],
1390
+ [21, 0]
1391
+ ];
1259
1392
  var CreateCallAnalyticsCategory$ = [9, n0, _CCAC,
1260
1393
  { [_h]: ["PUT", "/callanalyticscategories/{CategoryName}", 200] }, () => CreateCallAnalyticsCategoryRequest$, () => CreateCallAnalyticsCategoryResponse$
1261
1394
  ];
@@ -1367,9 +1500,12 @@ var StartMedicalTranscriptionJob$ = [9, n0, _SMTJ,
1367
1500
  var StartTranscriptionJob$ = [9, n0, _STJ,
1368
1501
  { [_h]: ["PUT", "/transcriptionjobs/{TranscriptionJobName}", 200] }, () => StartTranscriptionJobRequest$, () => StartTranscriptionJobResponse$
1369
1502
  ];
1370
- var TagResource$ = [9, n0, _TR,
1503
+ var TagResource$ = [9, n0, _TRa,
1371
1504
  { [_h]: ["PUT", "/tags/{ResourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
1372
1505
  ];
1506
+ var TranscribeAudio$ = [9, n0, _TA,
1507
+ { [_h]: ["POST", "/synctranscriptions", 200] }, () => TranscribeAudioRequest$, () => TranscribeAudioResponse$
1508
+ ];
1373
1509
  var UntagResource$ = [9, n0, _UR,
1374
1510
  { [_h]: ["DELETE", "/tags/{ResourceArn}", 204] }, () => UntagResourceRequest$, () => UntagResourceResponse$
1375
1511
  ];
@@ -1654,6 +1790,9 @@ class StartTranscriptionJobCommand extends command(_ep0, _mw0, "StartTranscripti
1654
1790
  class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1655
1791
  }
1656
1792
 
1793
+ class TranscribeAudioCommand extends command(_ep0, _mw0, "TranscribeAudio", TranscribeAudio$) {
1794
+ }
1795
+
1657
1796
  class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1658
1797
  }
1659
1798
 
@@ -2002,6 +2141,7 @@ const commands = {
2002
2141
  StartMedicalTranscriptionJobCommand,
2003
2142
  StartTranscriptionJobCommand,
2004
2143
  TagResourceCommand,
2144
+ TranscribeAudioCommand,
2005
2145
  UntagResourceCommand,
2006
2146
  UpdateCallAnalyticsCategoryCommand,
2007
2147
  UpdateLanguageModelCommand,
@@ -2033,6 +2173,15 @@ class Transcribe extends TranscribeClient {
2033
2173
  }
2034
2174
  createAggregatedClient(commands, Transcribe, { paginators, waiters });
2035
2175
 
2176
+ const BadRequestExceptionReason = {
2177
+ AUDIO_FILE_TOO_LARGE: "audioFileTooLarge",
2178
+ AUDIO_TOO_LONG: "audioTooLong",
2179
+ AUDIO_TOO_SHORT: "audioTooShort",
2180
+ INVALID_AUDIO: "invalidAudio",
2181
+ MEDIA_DOWNLOAD_FAILED: "mediaDownloadFailed",
2182
+ UNSUPPORTED_AUDIO_FORMAT: "unsupportedAudioFormat",
2183
+ UNSUPPORTED_CHANNEL_COUNT: "unsupportedChannelCount",
2184
+ };
2036
2185
  const BaseModelName = {
2037
2186
  NARROW_BAND: "NarrowBand",
2038
2187
  WIDE_BAND: "WideBand",
@@ -2304,6 +2453,9 @@ const SubtitleFormat = {
2304
2453
  const ToxicityCategory = {
2305
2454
  ALL: "ALL",
2306
2455
  };
2456
+ const LanguageDetectionMode = {
2457
+ IDENTIFY_LANGUAGE: "IDENTIFY_LANGUAGE",
2458
+ };
2307
2459
  const OutputLocationType = {
2308
2460
  CUSTOMER_BUCKET: "CUSTOMER_BUCKET",
2309
2461
  SERVICE_BUCKET: "SERVICE_BUCKET",
@@ -2313,10 +2465,50 @@ const Pronouns = {
2313
2465
  SHE_HER: "SHE_HER",
2314
2466
  THEY_THEM: "THEY_THEM",
2315
2467
  };
2468
+ const SyncLanguageCode = {
2469
+ DE_CH: "de-CH",
2470
+ DE_DE: "de-DE",
2471
+ EN_AB: "en-AB",
2472
+ EN_AU: "en-AU",
2473
+ EN_GB: "en-GB",
2474
+ EN_IE: "en-IE",
2475
+ EN_IN: "en-IN",
2476
+ EN_NZ: "en-NZ",
2477
+ EN_US: "en-US",
2478
+ EN_WL: "en-WL",
2479
+ EN_ZA: "en-ZA",
2480
+ ES_ES: "es-ES",
2481
+ ES_MX: "es-MX",
2482
+ ES_US: "es-US",
2483
+ FR_CA: "fr-CA",
2484
+ FR_FR: "fr-FR",
2485
+ IT_IT: "it-IT",
2486
+ JA_JP: "ja-JP",
2487
+ KO_KR: "ko-KR",
2488
+ PT_BR: "pt-BR",
2489
+ PT_PT: "pt-PT",
2490
+ ZH_CN: "zh-CN",
2491
+ ZH_HK: "zh-HK",
2492
+ ZH_TW: "zh-TW",
2493
+ };
2494
+ const SyncLanguage = {
2495
+ DE: "de",
2496
+ EN: "en",
2497
+ ES: "es",
2498
+ FR: "fr",
2499
+ IT: "it",
2500
+ JA: "ja",
2501
+ KO: "ko",
2502
+ PT: "pt",
2503
+ ZH_CN: "zh-CN",
2504
+ ZH_HK: "zh-HK",
2505
+ ZH_TW: "zh-TW",
2506
+ };
2316
2507
 
2317
2508
  exports.AbsoluteTimeRange$ = AbsoluteTimeRange$;
2318
2509
  exports.BadRequestException = BadRequestException;
2319
2510
  exports.BadRequestException$ = BadRequestException$;
2511
+ exports.BadRequestExceptionReason = BadRequestExceptionReason;
2320
2512
  exports.BaseModelName = BaseModelName;
2321
2513
  exports.CLMLanguageCode = CLMLanguageCode;
2322
2514
  exports.CallAnalyticsFeature = CallAnalyticsFeature;
@@ -2427,6 +2619,7 @@ exports.InterruptionFilter$ = InterruptionFilter$;
2427
2619
  exports.JobExecutionSettings$ = JobExecutionSettings$;
2428
2620
  exports.LanguageCode = LanguageCode;
2429
2621
  exports.LanguageCodeItem$ = LanguageCodeItem$;
2622
+ exports.LanguageDetectionMode = LanguageDetectionMode;
2430
2623
  exports.LanguageIdSettings$ = LanguageIdSettings$;
2431
2624
  exports.LanguageModel$ = LanguageModel$;
2432
2625
  exports.LimitExceededException = LimitExceededException;
@@ -2526,6 +2719,13 @@ exports.SubtitleFormat = SubtitleFormat;
2526
2719
  exports.Subtitles$ = Subtitles$;
2527
2720
  exports.SubtitlesOutput$ = SubtitlesOutput$;
2528
2721
  exports.Summarization$ = Summarization$;
2722
+ exports.SyncItem$ = SyncItem$;
2723
+ exports.SyncLanguage = SyncLanguage;
2724
+ exports.SyncLanguageCode = SyncLanguageCode;
2725
+ exports.SyncLanguageCodeItem$ = SyncLanguageCodeItem$;
2726
+ exports.SyncMedia$ = SyncMedia$;
2727
+ exports.SyncOutputConfiguration$ = SyncOutputConfiguration$;
2728
+ exports.SyncRedaction$ = SyncRedaction$;
2529
2729
  exports.Tag$ = Tag$;
2530
2730
  exports.TagResource$ = TagResource$;
2531
2731
  exports.TagResourceCommand = TagResourceCommand;
@@ -2534,12 +2734,19 @@ exports.TagResourceResponse$ = TagResourceResponse$;
2534
2734
  exports.ToxicityCategory = ToxicityCategory;
2535
2735
  exports.ToxicityDetectionSettings$ = ToxicityDetectionSettings$;
2536
2736
  exports.Transcribe = Transcribe;
2737
+ exports.TranscribeAudio$ = TranscribeAudio$;
2738
+ exports.TranscribeAudioCommand = TranscribeAudioCommand;
2739
+ exports.TranscribeAudioMetadata$ = TranscribeAudioMetadata$;
2740
+ exports.TranscribeAudioRequest$ = TranscribeAudioRequest$;
2741
+ exports.TranscribeAudioResponse$ = TranscribeAudioResponse$;
2742
+ exports.TranscribeAudioResults$ = TranscribeAudioResults$;
2537
2743
  exports.TranscribeClient = TranscribeClient;
2538
2744
  exports.TranscribeServiceException = TranscribeServiceException;
2539
2745
  exports.TranscribeServiceException$ = TranscribeServiceException$;
2540
2746
  exports.Transcript$ = Transcript$;
2541
2747
  exports.TranscriptFilter$ = TranscriptFilter$;
2542
2748
  exports.TranscriptFilterType = TranscriptFilterType;
2749
+ exports.TranscriptResponse$ = TranscriptResponse$;
2543
2750
  exports.TranscriptionJob$ = TranscriptionJob$;
2544
2751
  exports.TranscriptionJobStatus = TranscriptionJobStatus;
2545
2752
  exports.TranscriptionJobSummary$ = TranscriptionJobSummary$;
@@ -2568,9 +2775,13 @@ exports.UpdateVocabularyFilterRequest$ = UpdateVocabularyFilterRequest$;
2568
2775
  exports.UpdateVocabularyFilterResponse$ = UpdateVocabularyFilterResponse$;
2569
2776
  exports.UpdateVocabularyRequest$ = UpdateVocabularyRequest$;
2570
2777
  exports.UpdateVocabularyResponse$ = UpdateVocabularyResponse$;
2778
+ exports.VocabularyFilterEntry$ = VocabularyFilterEntry$;
2571
2779
  exports.VocabularyFilterInfo$ = VocabularyFilterInfo$;
2572
2780
  exports.VocabularyFilterMethod = VocabularyFilterMethod;
2781
+ exports.VocabularyFilterSettings$ = VocabularyFilterSettings$;
2573
2782
  exports.VocabularyInfo$ = VocabularyInfo$;
2783
+ exports.VocabularyPhrase$ = VocabularyPhrase$;
2784
+ exports.VocabularySettingsEntry$ = VocabularySettingsEntry$;
2574
2785
  exports.VocabularyState = VocabularyState;
2575
2786
  exports.errorTypeRegistries = errorTypeRegistries;
2576
2787
  exports.paginateListCallAnalyticsCategories = paginateListCallAnalyticsCategories;
@@ -37,6 +37,7 @@ import { StartMedicalScribeJobCommand, } from "./commands/StartMedicalScribeJobC
37
37
  import { StartMedicalTranscriptionJobCommand, } from "./commands/StartMedicalTranscriptionJobCommand";
38
38
  import { StartTranscriptionJobCommand, } from "./commands/StartTranscriptionJobCommand";
39
39
  import { TagResourceCommand, } from "./commands/TagResourceCommand";
40
+ import { TranscribeAudioCommand, } from "./commands/TranscribeAudioCommand";
40
41
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
41
42
  import { UpdateCallAnalyticsCategoryCommand, } from "./commands/UpdateCallAnalyticsCategoryCommand";
42
43
  import { UpdateLanguageModelCommand, } from "./commands/UpdateLanguageModelCommand";
@@ -99,6 +100,7 @@ const commands = {
99
100
  StartMedicalTranscriptionJobCommand,
100
101
  StartTranscriptionJobCommand,
101
102
  TagResourceCommand,
103
+ TranscribeAudioCommand,
102
104
  UntagResourceCommand,
103
105
  UpdateCallAnalyticsCategoryCommand,
104
106
  UpdateLanguageModelCommand,
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { TranscribeAudio$ } from "../schemas/schemas_0";
3
+ export class TranscribeAudioCommand extends command(_ep0, _mw0, "TranscribeAudio", TranscribeAudio$) {
4
+ }
@@ -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,12 @@
1
+ export const BadRequestExceptionReason = {
2
+ AUDIO_FILE_TOO_LARGE: "audioFileTooLarge",
3
+ AUDIO_TOO_LONG: "audioTooLong",
4
+ AUDIO_TOO_SHORT: "audioTooShort",
5
+ INVALID_AUDIO: "invalidAudio",
6
+ MEDIA_DOWNLOAD_FAILED: "mediaDownloadFailed",
7
+ UNSUPPORTED_AUDIO_FORMAT: "unsupportedAudioFormat",
8
+ UNSUPPORTED_CHANNEL_COUNT: "unsupportedChannelCount",
9
+ };
1
10
  export const BaseModelName = {
2
11
  NARROW_BAND: "NarrowBand",
3
12
  WIDE_BAND: "WideBand",
@@ -269,6 +278,9 @@ export const SubtitleFormat = {
269
278
  export const ToxicityCategory = {
270
279
  ALL: "ALL",
271
280
  };
281
+ export const LanguageDetectionMode = {
282
+ IDENTIFY_LANGUAGE: "IDENTIFY_LANGUAGE",
283
+ };
272
284
  export const OutputLocationType = {
273
285
  CUSTOMER_BUCKET: "CUSTOMER_BUCKET",
274
286
  SERVICE_BUCKET: "SERVICE_BUCKET",
@@ -278,3 +290,42 @@ export const Pronouns = {
278
290
  SHE_HER: "SHE_HER",
279
291
  THEY_THEM: "THEY_THEM",
280
292
  };
293
+ export const SyncLanguageCode = {
294
+ DE_CH: "de-CH",
295
+ DE_DE: "de-DE",
296
+ EN_AB: "en-AB",
297
+ EN_AU: "en-AU",
298
+ EN_GB: "en-GB",
299
+ EN_IE: "en-IE",
300
+ EN_IN: "en-IN",
301
+ EN_NZ: "en-NZ",
302
+ EN_US: "en-US",
303
+ EN_WL: "en-WL",
304
+ EN_ZA: "en-ZA",
305
+ ES_ES: "es-ES",
306
+ ES_MX: "es-MX",
307
+ ES_US: "es-US",
308
+ FR_CA: "fr-CA",
309
+ FR_FR: "fr-FR",
310
+ IT_IT: "it-IT",
311
+ JA_JP: "ja-JP",
312
+ KO_KR: "ko-KR",
313
+ PT_BR: "pt-BR",
314
+ PT_PT: "pt-PT",
315
+ ZH_CN: "zh-CN",
316
+ ZH_HK: "zh-HK",
317
+ ZH_TW: "zh-TW",
318
+ };
319
+ export const SyncLanguage = {
320
+ DE: "de",
321
+ EN: "en",
322
+ ES: "es",
323
+ FR: "fr",
324
+ IT: "it",
325
+ JA: "ja",
326
+ KO: "ko",
327
+ PT: "pt",
328
+ ZH_CN: "zh-CN",
329
+ ZH_HK: "zh-HK",
330
+ ZH_TW: "zh-TW",
331
+ };
@@ -4,6 +4,7 @@ export class BadRequestException extends __BaseException {
4
4
  name = "BadRequestException";
5
5
  $fault = "client";
6
6
  Message;
7
+ Reason;
7
8
  constructor(opts) {
8
9
  super({
9
10
  name: "BadRequestException",
@@ -12,6 +13,7 @@ export class BadRequestException extends __BaseException {
12
13
  });
13
14
  Object.setPrototypeOf(this, BadRequestException.prototype);
14
15
  this.Message = opts.Message;
16
+ this.Reason = opts.Reason;
15
17
  }
16
18
  }
17
19
  export class ConflictException extends __BaseException {