@aws-sdk/client-transcribe 3.1135.0 → 3.1137.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 (28) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +49 -17
  3. package/dist-es/Transcribe.js +2 -0
  4. package/dist-es/commands/UpdateLanguageModelCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/schemas/schemas_0.js +39 -16
  7. package/dist-types/Transcribe.d.ts +7 -0
  8. package/dist-types/TranscribeClient.d.ts +3 -2
  9. package/dist-types/commands/CreateLanguageModelCommand.d.ts +6 -0
  10. package/dist-types/commands/CreateVocabularyCommand.d.ts +6 -0
  11. package/dist-types/commands/CreateVocabularyFilterCommand.d.ts +6 -0
  12. package/dist-types/commands/DescribeLanguageModelCommand.d.ts +6 -0
  13. package/dist-types/commands/GetVocabularyCommand.d.ts +7 -0
  14. package/dist-types/commands/GetVocabularyFilterCommand.d.ts +7 -0
  15. package/dist-types/commands/ListLanguageModelsCommand.d.ts +6 -0
  16. package/dist-types/commands/UpdateLanguageModelCommand.d.ts +110 -0
  17. package/dist-types/commands/UpdateVocabularyCommand.d.ts +9 -0
  18. package/dist-types/commands/UpdateVocabularyFilterCommand.d.ts +12 -0
  19. package/dist-types/commands/index.d.ts +1 -0
  20. package/dist-types/models/models_0.d.ts +132 -8
  21. package/dist-types/schemas/schemas_0.d.ts +4 -0
  22. package/dist-types/ts3.4/Transcribe.d.ts +17 -0
  23. package/dist-types/ts3.4/TranscribeClient.d.ts +6 -0
  24. package/dist-types/ts3.4/commands/UpdateLanguageModelCommand.d.ts +39 -0
  25. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  26. package/dist-types/ts3.4/models/models_0.d.ts +24 -0
  27. package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
  28. package/package.json +1 -1
package/README.md CHANGED
@@ -482,6 +482,13 @@ UpdateCallAnalyticsCategory
482
482
  </details>
483
483
  <details>
484
484
  <summary>
485
+ UpdateLanguageModel
486
+ </summary>
487
+
488
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/transcribe/command/UpdateLanguageModelCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/UpdateLanguageModelCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-transcribe/Interface/UpdateLanguageModelCommandOutput/)
489
+ </details>
490
+ <details>
491
+ <summary>
485
492
  UpdateMedicalVocabulary
486
493
  </summary>
487
494
 
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.1134.0";
72
+ var version = "3.1136.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -290,6 +290,7 @@ const _DV = "DeleteVocabulary";
290
290
  const _DVF = "DeleteVocabularyFilter";
291
291
  const _DVFR = "DeleteVocabularyFilterRequest";
292
292
  const _DVR = "DeleteVocabularyRequest";
293
+ const _EC = "EncryptionConfiguration";
293
294
  const _EP = "EndPercentage";
294
295
  const _ET = "EndTime";
295
296
  const _F = "First";
@@ -332,6 +333,7 @@ const _JES = "JobExecutionSettings";
332
333
  const _JNC = "JobNameContains";
333
334
  const _K = "Key";
334
335
  const _KMSEC = "KMSEncryptionContext";
336
+ const _KMSK = "KMSKey";
335
337
  const _L = "Last";
336
338
  const _LC = "LanguageCode";
337
339
  const _LCAC = "ListCallAnalyticsCategories";
@@ -489,6 +491,9 @@ const _UA = "UpgradeAvailability";
489
491
  const _UCAC = "UpdateCallAnalyticsCategory";
490
492
  const _UCACR = "UpdateCallAnalyticsCategoryRequest";
491
493
  const _UCACRp = "UpdateCallAnalyticsCategoryResponse";
494
+ const _ULM = "UpdateLanguageModel";
495
+ const _ULMR = "UpdateLanguageModelRequest";
496
+ const _ULMRp = "UpdateLanguageModelResponse";
492
497
  const _UMV = "UpdateMedicalVocabulary";
493
498
  const _UMVR = "UpdateMedicalVocabularyRequest";
494
499
  const _UMVRp = "UpdateMedicalVocabularyResponse";
@@ -623,8 +628,8 @@ var CreateCallAnalyticsCategoryResponse$ = [3, n0, _CCACRr,
623
628
  ];
624
629
  var CreateLanguageModelRequest$ = [3, n0, _CLMR,
625
630
  0,
626
- [_LC, _BMN, _MN, _IDC, _Ta],
627
- [0, 0, [0, 1], () => InputDataConfig$, () => TagList], 4
631
+ [_LC, _BMN, _MN, _IDC, _EC, _Ta],
632
+ [0, 0, [0, 1], () => InputDataConfig$, () => EncryptionConfiguration$, () => TagList], 4
628
633
  ];
629
634
  var CreateLanguageModelResponse$ = [3, n0, _CLMRr,
630
635
  0,
@@ -643,8 +648,8 @@ var CreateMedicalVocabularyResponse$ = [3, n0, _CMVRr,
643
648
  ];
644
649
  var CreateVocabularyFilterRequest$ = [3, n0, _CVFR,
645
650
  0,
646
- [_VFN, _LC, _W, _VFFU, _Ta, _DARA],
647
- [[0, 1], 0, 64 | 0, 0, () => TagList, 0], 2
651
+ [_VFN, _LC, _W, _VFFU, _Ta, _DARA, _EC],
652
+ [[0, 1], 0, 64 | 0, 0, () => TagList, 0, () => EncryptionConfiguration$], 2
648
653
  ];
649
654
  var CreateVocabularyFilterResponse$ = [3, n0, _CVFRr,
650
655
  0,
@@ -653,8 +658,8 @@ var CreateVocabularyFilterResponse$ = [3, n0, _CVFRr,
653
658
  ];
654
659
  var CreateVocabularyRequest$ = [3, n0, _CVR,
655
660
  0,
656
- [_VN, _LC, _Ph, _VFU, _Ta, _DARA],
657
- [[0, 1], 0, 64 | 0, 0, () => TagList, 0], 2
661
+ [_VN, _LC, _Ph, _VFU, _Ta, _DARA, _EC],
662
+ [[0, 1], 0, 64 | 0, 0, () => TagList, 0, () => EncryptionConfiguration$], 2
658
663
  ];
659
664
  var CreateVocabularyResponse$ = [3, n0, _CVRr,
660
665
  0,
@@ -726,6 +731,11 @@ var DescribeLanguageModelResponse$ = [3, n0, _DLMRes,
726
731
  [_LM],
727
732
  [() => LanguageModel$]
728
733
  ];
734
+ var EncryptionConfiguration$ = [3, n0, _EC,
735
+ 0,
736
+ [_KMSK, _KMSEC],
737
+ [0, 128 | 0], 1
738
+ ];
729
739
  var GetCallAnalyticsCategoryRequest$ = [3, n0, _GCACR,
730
740
  0,
731
741
  [_CN],
@@ -793,8 +803,8 @@ var GetVocabularyFilterRequest$ = [3, n0, _GVFR,
793
803
  ];
794
804
  var GetVocabularyFilterResponse$ = [3, n0, _GVFRe,
795
805
  0,
796
- [_VFN, _LC, _LMT, _DU],
797
- [0, 0, 4, 0]
806
+ [_VFN, _LC, _LMT, _DU, _DARA, _EC],
807
+ [0, 0, 4, 0, 0, () => EncryptionConfiguration$]
798
808
  ];
799
809
  var GetVocabularyRequest$ = [3, n0, _GVR,
800
810
  0,
@@ -803,8 +813,8 @@ var GetVocabularyRequest$ = [3, n0, _GVR,
803
813
  ];
804
814
  var GetVocabularyResponse$ = [3, n0, _GVRe,
805
815
  0,
806
- [_VN, _LC, _VS, _LMT, _FR, _DU],
807
- [0, 0, 0, 4, 0, 0]
816
+ [_VN, _LC, _VS, _LMT, _FR, _DU, _DARA, _EC],
817
+ [0, 0, 0, 4, 0, 0, 0, () => EncryptionConfiguration$]
808
818
  ];
809
819
  var InputDataConfig$ = [3, n0, _IDC,
810
820
  0,
@@ -833,8 +843,8 @@ var LanguageIdSettings$ = [3, n0, _LIS,
833
843
  ];
834
844
  var LanguageModel$ = [3, n0, _LM,
835
845
  0,
836
- [_MN, _CTr, _LMT, _LC, _BMN, _MS, _UA, _FR, _IDC],
837
- [0, 4, 4, 0, 0, 0, 2, 0, () => InputDataConfig$]
846
+ [_MN, _CTr, _LMT, _LC, _BMN, _MS, _UA, _FR, _IDC, _EC],
847
+ [0, 4, 4, 0, 0, 0, 2, 0, () => InputDataConfig$, () => EncryptionConfiguration$]
838
848
  ];
839
849
  var ListCallAnalyticsCategoriesRequest$ = [3, n0, _LCACR,
840
850
  0,
@@ -1136,6 +1146,16 @@ var UpdateCallAnalyticsCategoryResponse$ = [3, n0, _UCACRp,
1136
1146
  [_CP],
1137
1147
  [() => CategoryProperties$]
1138
1148
  ];
1149
+ var UpdateLanguageModelRequest$ = [3, n0, _ULMR,
1150
+ 0,
1151
+ [_MN, _DARA, _EC],
1152
+ [[0, 1], 0, () => EncryptionConfiguration$], 1
1153
+ ];
1154
+ var UpdateLanguageModelResponse$ = [3, n0, _ULMRp,
1155
+ 0,
1156
+ [_MN, _MS, _LMT],
1157
+ [0, 0, 4]
1158
+ ];
1139
1159
  var UpdateMedicalVocabularyRequest$ = [3, n0, _UMVR,
1140
1160
  0,
1141
1161
  [_VN, _LC, _VFU],
@@ -1148,8 +1168,8 @@ var UpdateMedicalVocabularyResponse$ = [3, n0, _UMVRp,
1148
1168
  ];
1149
1169
  var UpdateVocabularyFilterRequest$ = [3, n0, _UVFR,
1150
1170
  0,
1151
- [_VFN, _W, _VFFU, _DARA],
1152
- [[0, 1], 64 | 0, 0, 0], 1
1171
+ [_VFN, _W, _VFFU, _DARA, _EC],
1172
+ [[0, 1], 64 | 0, 0, 0, () => EncryptionConfiguration$], 1
1153
1173
  ];
1154
1174
  var UpdateVocabularyFilterResponse$ = [3, n0, _UVFRp,
1155
1175
  0,
@@ -1158,8 +1178,8 @@ var UpdateVocabularyFilterResponse$ = [3, n0, _UVFRp,
1158
1178
  ];
1159
1179
  var UpdateVocabularyRequest$ = [3, n0, _UVR,
1160
1180
  0,
1161
- [_VN, _LC, _Ph, _VFU, _DARA],
1162
- [[0, 1], 0, 64 | 0, 0, 0], 2
1181
+ [_VN, _LC, _Ph, _VFU, _DARA, _EC],
1182
+ [[0, 1], 0, 64 | 0, 0, 0, () => EncryptionConfiguration$], 2
1163
1183
  ];
1164
1184
  var UpdateVocabularyResponse$ = [3, n0, _UVRp,
1165
1185
  0,
@@ -1350,6 +1370,9 @@ var UntagResource$ = [9, n0, _UR,
1350
1370
  var UpdateCallAnalyticsCategory$ = [9, n0, _UCAC,
1351
1371
  { [_h]: ["PATCH", "/callanalyticscategories/{CategoryName}", 200] }, () => UpdateCallAnalyticsCategoryRequest$, () => UpdateCallAnalyticsCategoryResponse$
1352
1372
  ];
1373
+ var UpdateLanguageModel$ = [9, n0, _ULM,
1374
+ { [_h]: ["PATCH", "/languagemodels/{ModelName}", 200] }, () => UpdateLanguageModelRequest$, () => UpdateLanguageModelResponse$
1375
+ ];
1353
1376
  var UpdateMedicalVocabulary$ = [9, n0, _UMV,
1354
1377
  { [_h]: ["PATCH", "/medicalvocabularies/{VocabularyName}", 200] }, () => UpdateMedicalVocabularyRequest$, () => UpdateMedicalVocabularyResponse$
1355
1378
  ];
@@ -1630,6 +1653,9 @@ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagRes
1630
1653
  class UpdateCallAnalyticsCategoryCommand extends command(_ep0, _mw0, "UpdateCallAnalyticsCategory", UpdateCallAnalyticsCategory$) {
1631
1654
  }
1632
1655
 
1656
+ class UpdateLanguageModelCommand extends command(_ep0, _mw0, "UpdateLanguageModel", UpdateLanguageModel$) {
1657
+ }
1658
+
1633
1659
  class UpdateMedicalVocabularyCommand extends command(_ep0, _mw0, "UpdateMedicalVocabulary", UpdateMedicalVocabulary$) {
1634
1660
  }
1635
1661
 
@@ -1971,6 +1997,7 @@ const commands = {
1971
1997
  TagResourceCommand,
1972
1998
  UntagResourceCommand,
1973
1999
  UpdateCallAnalyticsCategoryCommand,
2000
+ UpdateLanguageModelCommand,
1974
2001
  UpdateMedicalVocabularyCommand,
1975
2002
  UpdateVocabularyCommand,
1976
2003
  UpdateVocabularyFilterCommand,
@@ -2352,6 +2379,7 @@ exports.DescribeLanguageModel$ = DescribeLanguageModel$;
2352
2379
  exports.DescribeLanguageModelCommand = DescribeLanguageModelCommand;
2353
2380
  exports.DescribeLanguageModelRequest$ = DescribeLanguageModelRequest$;
2354
2381
  exports.DescribeLanguageModelResponse$ = DescribeLanguageModelResponse$;
2382
+ exports.EncryptionConfiguration$ = EncryptionConfiguration$;
2355
2383
  exports.GetCallAnalyticsCategory$ = GetCallAnalyticsCategory$;
2356
2384
  exports.GetCallAnalyticsCategoryCommand = GetCallAnalyticsCategoryCommand;
2357
2385
  exports.GetCallAnalyticsCategoryRequest$ = GetCallAnalyticsCategoryRequest$;
@@ -2517,6 +2545,10 @@ exports.UpdateCallAnalyticsCategory$ = UpdateCallAnalyticsCategory$;
2517
2545
  exports.UpdateCallAnalyticsCategoryCommand = UpdateCallAnalyticsCategoryCommand;
2518
2546
  exports.UpdateCallAnalyticsCategoryRequest$ = UpdateCallAnalyticsCategoryRequest$;
2519
2547
  exports.UpdateCallAnalyticsCategoryResponse$ = UpdateCallAnalyticsCategoryResponse$;
2548
+ exports.UpdateLanguageModel$ = UpdateLanguageModel$;
2549
+ exports.UpdateLanguageModelCommand = UpdateLanguageModelCommand;
2550
+ exports.UpdateLanguageModelRequest$ = UpdateLanguageModelRequest$;
2551
+ exports.UpdateLanguageModelResponse$ = UpdateLanguageModelResponse$;
2520
2552
  exports.UpdateMedicalVocabulary$ = UpdateMedicalVocabulary$;
2521
2553
  exports.UpdateMedicalVocabularyCommand = UpdateMedicalVocabularyCommand;
2522
2554
  exports.UpdateMedicalVocabularyRequest$ = UpdateMedicalVocabularyRequest$;
@@ -39,6 +39,7 @@ import { StartTranscriptionJobCommand, } from "./commands/StartTranscriptionJobC
39
39
  import { TagResourceCommand, } from "./commands/TagResourceCommand";
40
40
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
41
41
  import { UpdateCallAnalyticsCategoryCommand, } from "./commands/UpdateCallAnalyticsCategoryCommand";
42
+ import { UpdateLanguageModelCommand, } from "./commands/UpdateLanguageModelCommand";
42
43
  import { UpdateMedicalVocabularyCommand, } from "./commands/UpdateMedicalVocabularyCommand";
43
44
  import { UpdateVocabularyCommand, } from "./commands/UpdateVocabularyCommand";
44
45
  import { UpdateVocabularyFilterCommand, } from "./commands/UpdateVocabularyFilterCommand";
@@ -100,6 +101,7 @@ const commands = {
100
101
  TagResourceCommand,
101
102
  UntagResourceCommand,
102
103
  UpdateCallAnalyticsCategoryCommand,
104
+ UpdateLanguageModelCommand,
103
105
  UpdateMedicalVocabularyCommand,
104
106
  UpdateVocabularyCommand,
105
107
  UpdateVocabularyFilterCommand,
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { UpdateLanguageModel$ } from "../schemas/schemas_0";
3
+ export class UpdateLanguageModelCommand extends command(_ep0, _mw0, "UpdateLanguageModel", UpdateLanguageModel$) {
4
+ }
@@ -38,6 +38,7 @@ export * from "./StartTranscriptionJobCommand";
38
38
  export * from "./TagResourceCommand";
39
39
  export * from "./UntagResourceCommand";
40
40
  export * from "./UpdateCallAnalyticsCategoryCommand";
41
+ export * from "./UpdateLanguageModelCommand";
41
42
  export * from "./UpdateMedicalVocabularyCommand";
42
43
  export * from "./UpdateVocabularyCommand";
43
44
  export * from "./UpdateVocabularyFilterCommand";
@@ -68,6 +68,7 @@ const _DV = "DeleteVocabulary";
68
68
  const _DVF = "DeleteVocabularyFilter";
69
69
  const _DVFR = "DeleteVocabularyFilterRequest";
70
70
  const _DVR = "DeleteVocabularyRequest";
71
+ const _EC = "EncryptionConfiguration";
71
72
  const _EP = "EndPercentage";
72
73
  const _ET = "EndTime";
73
74
  const _F = "First";
@@ -110,6 +111,7 @@ const _JES = "JobExecutionSettings";
110
111
  const _JNC = "JobNameContains";
111
112
  const _K = "Key";
112
113
  const _KMSEC = "KMSEncryptionContext";
114
+ const _KMSK = "KMSKey";
113
115
  const _L = "Last";
114
116
  const _LC = "LanguageCode";
115
117
  const _LCAC = "ListCallAnalyticsCategories";
@@ -267,6 +269,9 @@ const _UA = "UpgradeAvailability";
267
269
  const _UCAC = "UpdateCallAnalyticsCategory";
268
270
  const _UCACR = "UpdateCallAnalyticsCategoryRequest";
269
271
  const _UCACRp = "UpdateCallAnalyticsCategoryResponse";
272
+ const _ULM = "UpdateLanguageModel";
273
+ const _ULMR = "UpdateLanguageModelRequest";
274
+ const _ULMRp = "UpdateLanguageModelResponse";
270
275
  const _UMV = "UpdateMedicalVocabulary";
271
276
  const _UMVR = "UpdateMedicalVocabularyRequest";
272
277
  const _UMVRp = "UpdateMedicalVocabularyResponse";
@@ -404,8 +409,8 @@ export var CreateCallAnalyticsCategoryResponse$ = [3, n0, _CCACRr,
404
409
  ];
405
410
  export var CreateLanguageModelRequest$ = [3, n0, _CLMR,
406
411
  0,
407
- [_LC, _BMN, _MN, _IDC, _Ta],
408
- [0, 0, [0, 1], () => InputDataConfig$, () => TagList], 4
412
+ [_LC, _BMN, _MN, _IDC, _EC, _Ta],
413
+ [0, 0, [0, 1], () => InputDataConfig$, () => EncryptionConfiguration$, () => TagList], 4
409
414
  ];
410
415
  export var CreateLanguageModelResponse$ = [3, n0, _CLMRr,
411
416
  0,
@@ -424,8 +429,8 @@ export var CreateMedicalVocabularyResponse$ = [3, n0, _CMVRr,
424
429
  ];
425
430
  export var CreateVocabularyFilterRequest$ = [3, n0, _CVFR,
426
431
  0,
427
- [_VFN, _LC, _W, _VFFU, _Ta, _DARA],
428
- [[0, 1], 0, 64 | 0, 0, () => TagList, 0], 2
432
+ [_VFN, _LC, _W, _VFFU, _Ta, _DARA, _EC],
433
+ [[0, 1], 0, 64 | 0, 0, () => TagList, 0, () => EncryptionConfiguration$], 2
429
434
  ];
430
435
  export var CreateVocabularyFilterResponse$ = [3, n0, _CVFRr,
431
436
  0,
@@ -434,8 +439,8 @@ export var CreateVocabularyFilterResponse$ = [3, n0, _CVFRr,
434
439
  ];
435
440
  export var CreateVocabularyRequest$ = [3, n0, _CVR,
436
441
  0,
437
- [_VN, _LC, _Ph, _VFU, _Ta, _DARA],
438
- [[0, 1], 0, 64 | 0, 0, () => TagList, 0], 2
442
+ [_VN, _LC, _Ph, _VFU, _Ta, _DARA, _EC],
443
+ [[0, 1], 0, 64 | 0, 0, () => TagList, 0, () => EncryptionConfiguration$], 2
439
444
  ];
440
445
  export var CreateVocabularyResponse$ = [3, n0, _CVRr,
441
446
  0,
@@ -507,6 +512,11 @@ export var DescribeLanguageModelResponse$ = [3, n0, _DLMRes,
507
512
  [_LM],
508
513
  [() => LanguageModel$]
509
514
  ];
515
+ export var EncryptionConfiguration$ = [3, n0, _EC,
516
+ 0,
517
+ [_KMSK, _KMSEC],
518
+ [0, 128 | 0], 1
519
+ ];
510
520
  export var GetCallAnalyticsCategoryRequest$ = [3, n0, _GCACR,
511
521
  0,
512
522
  [_CN],
@@ -574,8 +584,8 @@ export var GetVocabularyFilterRequest$ = [3, n0, _GVFR,
574
584
  ];
575
585
  export var GetVocabularyFilterResponse$ = [3, n0, _GVFRe,
576
586
  0,
577
- [_VFN, _LC, _LMT, _DU],
578
- [0, 0, 4, 0]
587
+ [_VFN, _LC, _LMT, _DU, _DARA, _EC],
588
+ [0, 0, 4, 0, 0, () => EncryptionConfiguration$]
579
589
  ];
580
590
  export var GetVocabularyRequest$ = [3, n0, _GVR,
581
591
  0,
@@ -584,8 +594,8 @@ export var GetVocabularyRequest$ = [3, n0, _GVR,
584
594
  ];
585
595
  export var GetVocabularyResponse$ = [3, n0, _GVRe,
586
596
  0,
587
- [_VN, _LC, _VS, _LMT, _FR, _DU],
588
- [0, 0, 0, 4, 0, 0]
597
+ [_VN, _LC, _VS, _LMT, _FR, _DU, _DARA, _EC],
598
+ [0, 0, 0, 4, 0, 0, 0, () => EncryptionConfiguration$]
589
599
  ];
590
600
  export var InputDataConfig$ = [3, n0, _IDC,
591
601
  0,
@@ -614,8 +624,8 @@ export var LanguageIdSettings$ = [3, n0, _LIS,
614
624
  ];
615
625
  export var LanguageModel$ = [3, n0, _LM,
616
626
  0,
617
- [_MN, _CTr, _LMT, _LC, _BMN, _MS, _UA, _FR, _IDC],
618
- [0, 4, 4, 0, 0, 0, 2, 0, () => InputDataConfig$]
627
+ [_MN, _CTr, _LMT, _LC, _BMN, _MS, _UA, _FR, _IDC, _EC],
628
+ [0, 4, 4, 0, 0, 0, 2, 0, () => InputDataConfig$, () => EncryptionConfiguration$]
619
629
  ];
620
630
  export var ListCallAnalyticsCategoriesRequest$ = [3, n0, _LCACR,
621
631
  0,
@@ -917,6 +927,16 @@ export var UpdateCallAnalyticsCategoryResponse$ = [3, n0, _UCACRp,
917
927
  [_CP],
918
928
  [() => CategoryProperties$]
919
929
  ];
930
+ export var UpdateLanguageModelRequest$ = [3, n0, _ULMR,
931
+ 0,
932
+ [_MN, _DARA, _EC],
933
+ [[0, 1], 0, () => EncryptionConfiguration$], 1
934
+ ];
935
+ export var UpdateLanguageModelResponse$ = [3, n0, _ULMRp,
936
+ 0,
937
+ [_MN, _MS, _LMT],
938
+ [0, 0, 4]
939
+ ];
920
940
  export var UpdateMedicalVocabularyRequest$ = [3, n0, _UMVR,
921
941
  0,
922
942
  [_VN, _LC, _VFU],
@@ -929,8 +949,8 @@ export var UpdateMedicalVocabularyResponse$ = [3, n0, _UMVRp,
929
949
  ];
930
950
  export var UpdateVocabularyFilterRequest$ = [3, n0, _UVFR,
931
951
  0,
932
- [_VFN, _W, _VFFU, _DARA],
933
- [[0, 1], 64 | 0, 0, 0], 1
952
+ [_VFN, _W, _VFFU, _DARA, _EC],
953
+ [[0, 1], 64 | 0, 0, 0, () => EncryptionConfiguration$], 1
934
954
  ];
935
955
  export var UpdateVocabularyFilterResponse$ = [3, n0, _UVFRp,
936
956
  0,
@@ -939,8 +959,8 @@ export var UpdateVocabularyFilterResponse$ = [3, n0, _UVFRp,
939
959
  ];
940
960
  export var UpdateVocabularyRequest$ = [3, n0, _UVR,
941
961
  0,
942
- [_VN, _LC, _Ph, _VFU, _DARA],
943
- [[0, 1], 0, 64 | 0, 0, 0], 2
962
+ [_VN, _LC, _Ph, _VFU, _DARA, _EC],
963
+ [[0, 1], 0, 64 | 0, 0, 0, () => EncryptionConfiguration$], 2
944
964
  ];
945
965
  export var UpdateVocabularyResponse$ = [3, n0, _UVRp,
946
966
  0,
@@ -1142,6 +1162,9 @@ export var UntagResource$ = [9, n0, _UR,
1142
1162
  export var UpdateCallAnalyticsCategory$ = [9, n0, _UCAC,
1143
1163
  { [_h]: ["PATCH", "/callanalyticscategories/{CategoryName}", 200] }, () => UpdateCallAnalyticsCategoryRequest$, () => UpdateCallAnalyticsCategoryResponse$
1144
1164
  ];
1165
+ export var UpdateLanguageModel$ = [9, n0, _ULM,
1166
+ { [_h]: ["PATCH", "/languagemodels/{ModelName}", 200] }, () => UpdateLanguageModelRequest$, () => UpdateLanguageModelResponse$
1167
+ ];
1145
1168
  export var UpdateMedicalVocabulary$ = [9, n0, _UMV,
1146
1169
  { [_h]: ["PATCH", "/medicalvocabularies/{VocabularyName}", 200] }, () => UpdateMedicalVocabularyRequest$, () => UpdateMedicalVocabularyResponse$
1147
1170
  ];
@@ -40,6 +40,7 @@ import { type StartTranscriptionJobCommandInput, type StartTranscriptionJobComma
40
40
  import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
41
41
  import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
42
42
  import { type UpdateCallAnalyticsCategoryCommandInput, type UpdateCallAnalyticsCategoryCommandOutput } from "./commands/UpdateCallAnalyticsCategoryCommand";
43
+ import { type UpdateLanguageModelCommandInput, type UpdateLanguageModelCommandOutput } from "./commands/UpdateLanguageModelCommand";
43
44
  import { type UpdateMedicalVocabularyCommandInput, type UpdateMedicalVocabularyCommandOutput } from "./commands/UpdateMedicalVocabularyCommand";
44
45
  import { type UpdateVocabularyCommandInput, type UpdateVocabularyCommandOutput } from "./commands/UpdateVocabularyCommand";
45
46
  import { type UpdateVocabularyFilterCommandInput, type UpdateVocabularyFilterCommandOutput } from "./commands/UpdateVocabularyFilterCommand";
@@ -294,6 +295,12 @@ export interface Transcribe {
294
295
  updateCallAnalyticsCategory(args: UpdateCallAnalyticsCategoryCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCallAnalyticsCategoryCommandOutput>;
295
296
  updateCallAnalyticsCategory(args: UpdateCallAnalyticsCategoryCommandInput, cb: (err: any, data?: UpdateCallAnalyticsCategoryCommandOutput) => void): void;
296
297
  updateCallAnalyticsCategory(args: UpdateCallAnalyticsCategoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCallAnalyticsCategoryCommandOutput) => void): void;
298
+ /**
299
+ * @see {@link UpdateLanguageModelCommand}
300
+ */
301
+ updateLanguageModel(args: UpdateLanguageModelCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLanguageModelCommandOutput>;
302
+ updateLanguageModel(args: UpdateLanguageModelCommandInput, cb: (err: any, data?: UpdateLanguageModelCommandOutput) => void): void;
303
+ updateLanguageModel(args: UpdateLanguageModelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLanguageModelCommandOutput) => void): void;
297
304
  /**
298
305
  * @see {@link UpdateMedicalVocabularyCommand}
299
306
  */
@@ -46,6 +46,7 @@ import type { StartTranscriptionJobCommandInput, StartTranscriptionJobCommandOut
46
46
  import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
47
47
  import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
48
48
  import type { UpdateCallAnalyticsCategoryCommandInput, UpdateCallAnalyticsCategoryCommandOutput } from "./commands/UpdateCallAnalyticsCategoryCommand";
49
+ import type { UpdateLanguageModelCommandInput, UpdateLanguageModelCommandOutput } from "./commands/UpdateLanguageModelCommand";
49
50
  import type { UpdateMedicalVocabularyCommandInput, UpdateMedicalVocabularyCommandOutput } from "./commands/UpdateMedicalVocabularyCommand";
50
51
  import type { UpdateVocabularyCommandInput, UpdateVocabularyCommandOutput } from "./commands/UpdateVocabularyCommand";
51
52
  import type { UpdateVocabularyFilterCommandInput, UpdateVocabularyFilterCommandOutput } from "./commands/UpdateVocabularyFilterCommand";
@@ -55,11 +56,11 @@ export { __Client };
55
56
  /**
56
57
  * @public
57
58
  */
58
- export type ServiceInputTypes = CreateCallAnalyticsCategoryCommandInput | CreateLanguageModelCommandInput | CreateMedicalVocabularyCommandInput | CreateVocabularyCommandInput | CreateVocabularyFilterCommandInput | DeleteCallAnalyticsCategoryCommandInput | DeleteCallAnalyticsJobCommandInput | DeleteLanguageModelCommandInput | DeleteMedicalScribeJobCommandInput | DeleteMedicalTranscriptionJobCommandInput | DeleteMedicalVocabularyCommandInput | DeleteTranscriptionJobCommandInput | DeleteVocabularyCommandInput | DeleteVocabularyFilterCommandInput | DescribeLanguageModelCommandInput | GetCallAnalyticsCategoryCommandInput | GetCallAnalyticsJobCommandInput | GetMedicalScribeJobCommandInput | GetMedicalTranscriptionJobCommandInput | GetMedicalVocabularyCommandInput | GetTranscriptionJobCommandInput | GetVocabularyCommandInput | GetVocabularyFilterCommandInput | ListCallAnalyticsCategoriesCommandInput | ListCallAnalyticsJobsCommandInput | ListLanguageModelsCommandInput | ListMedicalScribeJobsCommandInput | ListMedicalTranscriptionJobsCommandInput | ListMedicalVocabulariesCommandInput | ListTagsForResourceCommandInput | ListTranscriptionJobsCommandInput | ListVocabulariesCommandInput | ListVocabularyFiltersCommandInput | StartCallAnalyticsJobCommandInput | StartMedicalScribeJobCommandInput | StartMedicalTranscriptionJobCommandInput | StartTranscriptionJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCallAnalyticsCategoryCommandInput | UpdateMedicalVocabularyCommandInput | UpdateVocabularyCommandInput | UpdateVocabularyFilterCommandInput;
59
+ export type ServiceInputTypes = CreateCallAnalyticsCategoryCommandInput | CreateLanguageModelCommandInput | CreateMedicalVocabularyCommandInput | CreateVocabularyCommandInput | CreateVocabularyFilterCommandInput | DeleteCallAnalyticsCategoryCommandInput | DeleteCallAnalyticsJobCommandInput | DeleteLanguageModelCommandInput | DeleteMedicalScribeJobCommandInput | DeleteMedicalTranscriptionJobCommandInput | DeleteMedicalVocabularyCommandInput | DeleteTranscriptionJobCommandInput | DeleteVocabularyCommandInput | DeleteVocabularyFilterCommandInput | DescribeLanguageModelCommandInput | GetCallAnalyticsCategoryCommandInput | GetCallAnalyticsJobCommandInput | GetMedicalScribeJobCommandInput | GetMedicalTranscriptionJobCommandInput | GetMedicalVocabularyCommandInput | GetTranscriptionJobCommandInput | GetVocabularyCommandInput | GetVocabularyFilterCommandInput | ListCallAnalyticsCategoriesCommandInput | ListCallAnalyticsJobsCommandInput | ListLanguageModelsCommandInput | ListMedicalScribeJobsCommandInput | ListMedicalTranscriptionJobsCommandInput | ListMedicalVocabulariesCommandInput | ListTagsForResourceCommandInput | ListTranscriptionJobsCommandInput | ListVocabulariesCommandInput | ListVocabularyFiltersCommandInput | StartCallAnalyticsJobCommandInput | StartMedicalScribeJobCommandInput | StartMedicalTranscriptionJobCommandInput | StartTranscriptionJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCallAnalyticsCategoryCommandInput | UpdateLanguageModelCommandInput | UpdateMedicalVocabularyCommandInput | UpdateVocabularyCommandInput | UpdateVocabularyFilterCommandInput;
59
60
  /**
60
61
  * @public
61
62
  */
62
- export type ServiceOutputTypes = CreateCallAnalyticsCategoryCommandOutput | CreateLanguageModelCommandOutput | CreateMedicalVocabularyCommandOutput | CreateVocabularyCommandOutput | CreateVocabularyFilterCommandOutput | DeleteCallAnalyticsCategoryCommandOutput | DeleteCallAnalyticsJobCommandOutput | DeleteLanguageModelCommandOutput | DeleteMedicalScribeJobCommandOutput | DeleteMedicalTranscriptionJobCommandOutput | DeleteMedicalVocabularyCommandOutput | DeleteTranscriptionJobCommandOutput | DeleteVocabularyCommandOutput | DeleteVocabularyFilterCommandOutput | DescribeLanguageModelCommandOutput | GetCallAnalyticsCategoryCommandOutput | GetCallAnalyticsJobCommandOutput | GetMedicalScribeJobCommandOutput | GetMedicalTranscriptionJobCommandOutput | GetMedicalVocabularyCommandOutput | GetTranscriptionJobCommandOutput | GetVocabularyCommandOutput | GetVocabularyFilterCommandOutput | ListCallAnalyticsCategoriesCommandOutput | ListCallAnalyticsJobsCommandOutput | ListLanguageModelsCommandOutput | ListMedicalScribeJobsCommandOutput | ListMedicalTranscriptionJobsCommandOutput | ListMedicalVocabulariesCommandOutput | ListTagsForResourceCommandOutput | ListTranscriptionJobsCommandOutput | ListVocabulariesCommandOutput | ListVocabularyFiltersCommandOutput | StartCallAnalyticsJobCommandOutput | StartMedicalScribeJobCommandOutput | StartMedicalTranscriptionJobCommandOutput | StartTranscriptionJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCallAnalyticsCategoryCommandOutput | UpdateMedicalVocabularyCommandOutput | UpdateVocabularyCommandOutput | UpdateVocabularyFilterCommandOutput;
63
+ export type ServiceOutputTypes = CreateCallAnalyticsCategoryCommandOutput | CreateLanguageModelCommandOutput | CreateMedicalVocabularyCommandOutput | CreateVocabularyCommandOutput | CreateVocabularyFilterCommandOutput | DeleteCallAnalyticsCategoryCommandOutput | DeleteCallAnalyticsJobCommandOutput | DeleteLanguageModelCommandOutput | DeleteMedicalScribeJobCommandOutput | DeleteMedicalTranscriptionJobCommandOutput | DeleteMedicalVocabularyCommandOutput | DeleteTranscriptionJobCommandOutput | DeleteVocabularyCommandOutput | DeleteVocabularyFilterCommandOutput | DescribeLanguageModelCommandOutput | GetCallAnalyticsCategoryCommandOutput | GetCallAnalyticsJobCommandOutput | GetMedicalScribeJobCommandOutput | GetMedicalTranscriptionJobCommandOutput | GetMedicalVocabularyCommandOutput | GetTranscriptionJobCommandOutput | GetVocabularyCommandOutput | GetVocabularyFilterCommandOutput | ListCallAnalyticsCategoriesCommandOutput | ListCallAnalyticsJobsCommandOutput | ListLanguageModelsCommandOutput | ListMedicalScribeJobsCommandOutput | ListMedicalTranscriptionJobsCommandOutput | ListMedicalVocabulariesCommandOutput | ListTagsForResourceCommandOutput | ListTranscriptionJobsCommandOutput | ListVocabulariesCommandOutput | ListVocabularyFiltersCommandOutput | StartCallAnalyticsJobCommandOutput | StartMedicalScribeJobCommandOutput | StartMedicalTranscriptionJobCommandOutput | StartTranscriptionJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCallAnalyticsCategoryCommandOutput | UpdateLanguageModelCommandOutput | UpdateMedicalVocabularyCommandOutput | UpdateVocabularyCommandOutput | UpdateVocabularyFilterCommandOutput;
63
64
  /**
64
65
  * @public
65
66
  */
@@ -58,6 +58,12 @@ declare const CreateLanguageModelCommand_base: {
58
58
  * TuningDataS3Uri: "STRING_VALUE",
59
59
  * DataAccessRoleArn: "STRING_VALUE", // required
60
60
  * },
61
+ * EncryptionConfiguration: { // EncryptionConfiguration
62
+ * KMSEncryptionContext: { // KMSEncryptionContextMap
63
+ * "<keys>": "STRING_VALUE",
64
+ * },
65
+ * KMSKey: "STRING_VALUE", // required
66
+ * },
61
67
  * Tags: [ // TagList
62
68
  * { // Tag
63
69
  * Key: "STRING_VALUE", // required
@@ -57,6 +57,12 @@ declare const CreateVocabularyCommand_base: {
57
57
  * },
58
58
  * ],
59
59
  * DataAccessRoleArn: "STRING_VALUE",
60
+ * EncryptionConfiguration: { // EncryptionConfiguration
61
+ * KMSEncryptionContext: { // KMSEncryptionContextMap
62
+ * "<keys>": "STRING_VALUE",
63
+ * },
64
+ * KMSKey: "STRING_VALUE", // required
65
+ * },
60
66
  * };
61
67
  * const command = new CreateVocabularyCommand(input);
62
68
  * const response = await client.send(command);
@@ -56,6 +56,12 @@ declare const CreateVocabularyFilterCommand_base: {
56
56
  * },
57
57
  * ],
58
58
  * DataAccessRoleArn: "STRING_VALUE",
59
+ * EncryptionConfiguration: { // EncryptionConfiguration
60
+ * KMSEncryptionContext: { // KMSEncryptionContextMap
61
+ * "<keys>": "STRING_VALUE",
62
+ * },
63
+ * KMSKey: "STRING_VALUE", // required
64
+ * },
59
65
  * };
60
66
  * const command = new CreateVocabularyFilterCommand(input);
61
67
  * const response = await client.send(command);
@@ -59,6 +59,12 @@ declare const DescribeLanguageModelCommand_base: {
59
59
  * // TuningDataS3Uri: "STRING_VALUE",
60
60
  * // DataAccessRoleArn: "STRING_VALUE", // required
61
61
  * // },
62
+ * // EncryptionConfiguration: { // EncryptionConfiguration
63
+ * // KMSEncryptionContext: { // KMSEncryptionContextMap
64
+ * // "<keys>": "STRING_VALUE",
65
+ * // },
66
+ * // KMSKey: "STRING_VALUE", // required
67
+ * // },
62
68
  * // },
63
69
  * // };
64
70
  *
@@ -51,6 +51,13 @@ declare const GetVocabularyCommand_base: {
51
51
  * // LastModifiedTime: new Date("TIMESTAMP"),
52
52
  * // FailureReason: "STRING_VALUE",
53
53
  * // DownloadUri: "STRING_VALUE",
54
+ * // DataAccessRoleArn: "STRING_VALUE",
55
+ * // EncryptionConfiguration: { // EncryptionConfiguration
56
+ * // KMSEncryptionContext: { // KMSEncryptionContextMap
57
+ * // "<keys>": "STRING_VALUE",
58
+ * // },
59
+ * // KMSKey: "STRING_VALUE", // required
60
+ * // },
54
61
  * // };
55
62
  *
56
63
  * ```
@@ -44,6 +44,13 @@ declare const GetVocabularyFilterCommand_base: {
44
44
  * // LanguageCode: "af-ZA" || "ar-AE" || "ar-SA" || "am-ET" || "cy-GB" || "da-DK" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-MX" || "es-US" || "fa-AF" || "fa-IR" || "fr-CA" || "fr-FR" || "ga-IE" || "gd-GB" || "he-IL" || "hi-IN" || "ht-HT" || "id-ID" || "it-IT" || "ja-JP" || "jv-ID" || "km-KH" || "ko-KR" || "my-MM" || "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" || "ab-GE" || "ast-ES" || "az-AZ" || "ba-RU" || "be-BY" || "bg-BG" || "bn-IN" || "bs-BA" || "ca-ES" || "ckb-IQ" || "ckb-IR" || "cs-CZ" || "cy-WL" || "el-GR" || "et-EE" || "et-ET" || "eu-ES" || "fi-FI" || "gl-ES" || "gu-IN" || "ha-NG" || "hr-HR" || "hu-HU" || "hy-AM" || "is-IS" || "ka-GE" || "kab-DZ" || "kk-KZ" || "kn-IN" || "ky-KG" || "lg-IN" || "lt-LT" || "lv-LV" || "mhr-RU" || "mi-NZ" || "mk-MK" || "ml-IN" || "mn-MN" || "mr-IN" || "mt-MT" || "no-NO" || "ne-NP" || "or-IN" || "pa-IN" || "pl-PL" || "ps-AF" || "ro-RO" || "rw-RW" || "si-LK" || "sk-SK" || "sl-SI" || "so-SO" || "sq-AL" || "sr-RS" || "su-ID" || "sw-BI" || "sw-KE" || "sw-RW" || "sw-TZ" || "sw-UG" || "tl-PH" || "tt-RU" || "ug-CN" || "uk-UA" || "uz-UZ" || "wo-SN" || "zh-HK" || "zu-ZA",
45
45
  * // LastModifiedTime: new Date("TIMESTAMP"),
46
46
  * // DownloadUri: "STRING_VALUE",
47
+ * // DataAccessRoleArn: "STRING_VALUE",
48
+ * // EncryptionConfiguration: { // EncryptionConfiguration
49
+ * // KMSEncryptionContext: { // KMSEncryptionContextMap
50
+ * // "<keys>": "STRING_VALUE",
51
+ * // },
52
+ * // KMSKey: "STRING_VALUE", // required
53
+ * // },
47
54
  * // };
48
55
  *
49
56
  * ```
@@ -60,6 +60,12 @@ declare const ListLanguageModelsCommand_base: {
60
60
  * // TuningDataS3Uri: "STRING_VALUE",
61
61
  * // DataAccessRoleArn: "STRING_VALUE", // required
62
62
  * // },
63
+ * // EncryptionConfiguration: { // EncryptionConfiguration
64
+ * // KMSEncryptionContext: { // KMSEncryptionContextMap
65
+ * // "<keys>": "STRING_VALUE",
66
+ * // },
67
+ * // KMSKey: "STRING_VALUE", // required
68
+ * // },
63
69
  * // },
64
70
  * // ],
65
71
  * // };
@@ -0,0 +1,110 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateLanguageModelRequest, UpdateLanguageModelResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateLanguageModelCommand}.
11
+ */
12
+ export interface UpdateLanguageModelCommandInput extends UpdateLanguageModelRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateLanguageModelCommand}.
18
+ */
19
+ export interface UpdateLanguageModelCommandOutput extends UpdateLanguageModelResponse, __MetadataBearer {
20
+ }
21
+ declare const UpdateLanguageModelCommand_base: {
22
+ new (input: UpdateLanguageModelCommandInput): import("@smithy/core/client").CommandImpl<UpdateLanguageModelCommandInput, UpdateLanguageModelCommandOutput, import("..").TranscribeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateLanguageModelCommandInput): import("@smithy/core/client").CommandImpl<UpdateLanguageModelCommandInput, UpdateLanguageModelCommandOutput, import("..").TranscribeClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Updates the encryption configuration for an existing custom language model. You can
28
+ * use this operation to change the KMS key used to encrypt your model artifacts. The model
29
+ * artifacts are re-encrypted in place. No model training is required.</p>
30
+ * <p>Your custom language model must not be in the <code>IN_PROGRESS</code> state when you
31
+ * call this operation. You cannot submit another update while a previous update is in
32
+ * progress. Use to check the current state of
33
+ * your model.</p>
34
+ * <p>Your custom language model remains available for transcription jobs while the update
35
+ * is being processed.</p>
36
+ * @example
37
+ * Use a bare-bones client and the command you need to make an API call.
38
+ * ```javascript
39
+ * import { TranscribeClient, UpdateLanguageModelCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
40
+ * // const { TranscribeClient, UpdateLanguageModelCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
41
+ * // import type { TranscribeClientConfig } from "@aws-sdk/client-transcribe";
42
+ * const config = {}; // type is TranscribeClientConfig
43
+ * const client = new TranscribeClient(config);
44
+ * const input = { // UpdateLanguageModelRequest
45
+ * ModelName: "STRING_VALUE", // required
46
+ * DataAccessRoleArn: "STRING_VALUE",
47
+ * EncryptionConfiguration: { // EncryptionConfiguration
48
+ * KMSEncryptionContext: { // KMSEncryptionContextMap
49
+ * "<keys>": "STRING_VALUE",
50
+ * },
51
+ * KMSKey: "STRING_VALUE", // required
52
+ * },
53
+ * };
54
+ * const command = new UpdateLanguageModelCommand(input);
55
+ * const response = await client.send(command);
56
+ * // { // UpdateLanguageModelResponse
57
+ * // ModelName: "STRING_VALUE",
58
+ * // ModelStatus: "IN_PROGRESS" || "FAILED" || "COMPLETED",
59
+ * // LastModifiedTime: new Date("TIMESTAMP"),
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param UpdateLanguageModelCommandInput - {@link UpdateLanguageModelCommandInput}
65
+ * @returns {@link UpdateLanguageModelCommandOutput}
66
+ * @see {@link UpdateLanguageModelCommandInput} for command's `input` shape.
67
+ * @see {@link UpdateLanguageModelCommandOutput} for command's `response` shape.
68
+ * @see {@link TranscribeClientResolvedConfig | config} for TranscribeClient's `config` shape.
69
+ *
70
+ * @throws {@link BadRequestException} (client fault)
71
+ * <p>Your request didn't pass one or more validation tests. This can occur when the entity
72
+ * you're trying to delete doesn't exist or if it's in a non-terminal state (such as
73
+ * <code>IN PROGRESS</code>). See the exception message field for more
74
+ * information.</p>
75
+ *
76
+ * @throws {@link ConflictException} (client fault)
77
+ * <p>A resource already exists with this name. Resource names must be unique within an
78
+ * Amazon Web Services account.</p>
79
+ *
80
+ * @throws {@link InternalFailureException} (server fault)
81
+ * <p>There was an internal error. Check the error message, correct the issue, and try your
82
+ * request again.</p>
83
+ *
84
+ * @throws {@link LimitExceededException} (client fault)
85
+ * <p>You've either sent too many requests or your input file is too long. Wait before
86
+ * retrying your request, or use a smaller file and try your request again.</p>
87
+ *
88
+ * @throws {@link NotFoundException} (client fault)
89
+ * <p>We can't find the requested resource. Check that the specified name is correct and try
90
+ * your request again.</p>
91
+ *
92
+ * @throws {@link TranscribeServiceException}
93
+ * <p>Base exception class for all service exceptions from Transcribe service.</p>
94
+ *
95
+ *
96
+ * @public
97
+ */
98
+ export declare class UpdateLanguageModelCommand extends UpdateLanguageModelCommand_base {
99
+ /** @internal type navigation helper, not in runtime. */
100
+ protected static __types: {
101
+ api: {
102
+ input: UpdateLanguageModelRequest;
103
+ output: UpdateLanguageModelResponse;
104
+ };
105
+ sdk: {
106
+ input: UpdateLanguageModelCommandInput;
107
+ output: UpdateLanguageModelCommandOutput;
108
+ };
109
+ };
110
+ }
@@ -27,6 +27,9 @@ declare const UpdateVocabularyCommand_base: {
27
27
  * <p>Updates an existing custom vocabulary with new values. This operation overwrites all
28
28
  * existing information with your new values; you cannot append new terms onto an existing
29
29
  * custom vocabulary.</p>
30
+ * <p>Your custom vocabulary must be in a terminal state (<code>READY</code> or
31
+ * <code>FAILED</code>) before you can update it. You must include either
32
+ * <code>Phrases</code> or <code>VocabularyFileUri</code> in your request.</p>
30
33
  * @example
31
34
  * Use a bare-bones client and the command you need to make an API call.
32
35
  * ```javascript
@@ -43,6 +46,12 @@ declare const UpdateVocabularyCommand_base: {
43
46
  * ],
44
47
  * VocabularyFileUri: "STRING_VALUE",
45
48
  * DataAccessRoleArn: "STRING_VALUE",
49
+ * EncryptionConfiguration: { // EncryptionConfiguration
50
+ * KMSEncryptionContext: { // KMSEncryptionContextMap
51
+ * "<keys>": "STRING_VALUE",
52
+ * },
53
+ * KMSKey: "STRING_VALUE", // required
54
+ * },
46
55
  * };
47
56
  * const command = new UpdateVocabularyCommand(input);
48
57
  * const response = await client.send(command);
@@ -27,6 +27,8 @@ declare const UpdateVocabularyFilterCommand_base: {
27
27
  * <p>Updates an existing custom vocabulary filter with a new list of words. The new list
28
28
  * you provide overwrites all previous entries; you cannot append new terms onto an
29
29
  * existing custom vocabulary filter.</p>
30
+ * <p>You must include either <code>Words</code> or <code>VocabularyFilterFileUri</code>
31
+ * in your request.</p>
30
32
  * @example
31
33
  * Use a bare-bones client and the command you need to make an API call.
32
34
  * ```javascript
@@ -42,6 +44,12 @@ declare const UpdateVocabularyFilterCommand_base: {
42
44
  * ],
43
45
  * VocabularyFilterFileUri: "STRING_VALUE",
44
46
  * DataAccessRoleArn: "STRING_VALUE",
47
+ * EncryptionConfiguration: { // EncryptionConfiguration
48
+ * KMSEncryptionContext: { // KMSEncryptionContextMap
49
+ * "<keys>": "STRING_VALUE",
50
+ * },
51
+ * KMSKey: "STRING_VALUE", // required
52
+ * },
45
53
  * };
46
54
  * const command = new UpdateVocabularyFilterCommand(input);
47
55
  * const response = await client.send(command);
@@ -65,6 +73,10 @@ declare const UpdateVocabularyFilterCommand_base: {
65
73
  * <code>IN PROGRESS</code>). See the exception message field for more
66
74
  * information.</p>
67
75
  *
76
+ * @throws {@link ConflictException} (client fault)
77
+ * <p>A resource already exists with this name. Resource names must be unique within an
78
+ * Amazon Web Services account.</p>
79
+ *
68
80
  * @throws {@link InternalFailureException} (server fault)
69
81
  * <p>There was an internal error. Check the error message, correct the issue, and try your
70
82
  * request again.</p>
@@ -38,6 +38,7 @@ export * from "./StartTranscriptionJobCommand";
38
38
  export * from "./TagResourceCommand";
39
39
  export * from "./UntagResourceCommand";
40
40
  export * from "./UpdateCallAnalyticsCategoryCommand";
41
+ export * from "./UpdateLanguageModelCommand";
41
42
  export * from "./UpdateMedicalVocabularyCommand";
42
43
  export * from "./UpdateVocabularyCommand";
43
44
  export * from "./UpdateVocabularyFilterCommand";
@@ -1172,6 +1172,24 @@ export interface CreateCallAnalyticsCategoryResponse {
1172
1172
  */
1173
1173
  CategoryProperties?: CategoryProperties | undefined;
1174
1174
  }
1175
+ /**
1176
+ * Encryption configuration for the invocation
1177
+ * @public
1178
+ */
1179
+ export interface EncryptionConfiguration {
1180
+ /**
1181
+ * <p>A map of plain text, non-secret key:value pairs, known as encryption context pairs, that provide an added layer of security for your data. For more information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/key-management.html#kms-context">KMS encryption context</a>.</p>
1182
+ * @public
1183
+ */
1184
+ KMSEncryptionContext?: Record<string, string> | undefined;
1185
+ /**
1186
+ * <p>The Amazon Resource Name (ARN) of the KMS key you want to use to encrypt your resource artifacts. Only full KMS key ARN format is supported.</p>
1187
+ * <p>KMS key ARNs have the format <code>arn:partition:kms:region:account:key/key-id</code>. For example: <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
1188
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN">KMS key ARNs</a>.</p>
1189
+ * @public
1190
+ */
1191
+ KMSKey: string | undefined;
1192
+ }
1175
1193
  /**
1176
1194
  * <p>Contains the Amazon S3 location of the training data you want to use to create
1177
1195
  * a new custom language model, and permissions to access this location.</p>
@@ -1263,6 +1281,11 @@ export interface CreateLanguageModelRequest {
1263
1281
  * @public
1264
1282
  */
1265
1283
  InputDataConfig: InputDataConfig | undefined;
1284
+ /**
1285
+ * <p>Specifies the encryption configuration for your custom language model. Your model artifacts are encrypted with the specified KMS key or with an AWS-owned key if a key is not supplied.</p>
1286
+ * @public
1287
+ */
1288
+ EncryptionConfiguration?: EncryptionConfiguration | undefined;
1266
1289
  /**
1267
1290
  * <p>Adds one or more custom tags, each in the form of a key:value pair, to a new custom
1268
1291
  * language model at the time you create this new model.</p>
@@ -1446,8 +1469,9 @@ export interface CreateVocabularyRequest {
1446
1469
  /**
1447
1470
  * <p>The Amazon Resource Name (ARN) of an IAM role that has permissions to
1448
1471
  * access the Amazon S3 bucket that contains your input files (in this case, your custom
1449
- * vocabulary). If the role that you specify doesn’t have the appropriate permissions to access
1450
- * the specified Amazon S3 location, your request fails.</p>
1472
+ * vocabulary). If you include <code>EncryptionConfiguration</code> in your request, this role
1473
+ * must also have permissions to access the specified KMS key. If the role that
1474
+ * you specify doesn’t have the appropriate permissions, your request fails.</p>
1451
1475
  * <p>IAM role ARNs have the format
1452
1476
  * <code>arn:partition:iam::account:role/role-name-with-path</code>. For example:
1453
1477
  * <code>arn:aws:iam::111122223333:role/Admin</code>.</p>
@@ -1456,6 +1480,11 @@ export interface CreateVocabularyRequest {
1456
1480
  * @public
1457
1481
  */
1458
1482
  DataAccessRoleArn?: string | undefined;
1483
+ /**
1484
+ * <p>Specifies the encryption configuration for your custom vocabulary. Your vocabulary artifacts are encrypted with the specified KMS key or with an AWS-owned key if a key is not supplied.</p>
1485
+ * @public
1486
+ */
1487
+ EncryptionConfiguration?: EncryptionConfiguration | undefined;
1459
1488
  }
1460
1489
  /**
1461
1490
  * @public
@@ -1557,8 +1586,9 @@ export interface CreateVocabularyFilterRequest {
1557
1586
  /**
1558
1587
  * <p>The Amazon Resource Name (ARN) of an IAM role that has permissions to
1559
1588
  * access the Amazon S3 bucket that contains your input files (in this case, your custom
1560
- * vocabulary filter). If the role that you specify doesn’t have the appropriate permissions to access
1561
- * the specified Amazon S3 location, your request fails.</p>
1589
+ * vocabulary filter). If you include <code>EncryptionConfiguration</code> in your request, this role
1590
+ * must also have permissions to access the specified KMS key. If the role that
1591
+ * you specify doesn’t have the appropriate permissions, your request fails.</p>
1562
1592
  * <p>IAM role ARNs have the format
1563
1593
  * <code>arn:partition:iam::account:role/role-name-with-path</code>. For example:
1564
1594
  * <code>arn:aws:iam::111122223333:role/Admin</code>.</p>
@@ -1567,6 +1597,11 @@ export interface CreateVocabularyFilterRequest {
1567
1597
  * @public
1568
1598
  */
1569
1599
  DataAccessRoleArn?: string | undefined;
1600
+ /**
1601
+ * <p>Specifies the encryption configuration for your custom vocabulary filter. Your vocabulary filter artifacts are encrypted with the specified KMS key or with an AWS-owned key if a key is not supplied.</p>
1602
+ * @public
1603
+ */
1604
+ EncryptionConfiguration?: EncryptionConfiguration | undefined;
1570
1605
  }
1571
1606
  /**
1572
1607
  * @public
@@ -1814,6 +1849,11 @@ export interface LanguageModel {
1814
1849
  * @public
1815
1850
  */
1816
1851
  InputDataConfig?: InputDataConfig | undefined;
1852
+ /**
1853
+ * <p>The encryption configuration used for your custom language model.</p>
1854
+ * @public
1855
+ */
1856
+ EncryptionConfiguration?: EncryptionConfiguration | undefined;
1817
1857
  }
1818
1858
  /**
1819
1859
  * @public
@@ -2975,6 +3015,18 @@ export interface GetVocabularyResponse {
2975
3015
  * @public
2976
3016
  */
2977
3017
  DownloadUri?: string | undefined;
3018
+ /**
3019
+ * <p>The Amazon Resource Name (ARN) of the IAM role used to access the
3020
+ * Amazon S3 bucket that contains your input files and, if applicable, the
3021
+ * KMS key specified in <code>EncryptionConfiguration</code>.</p>
3022
+ * @public
3023
+ */
3024
+ DataAccessRoleArn?: string | undefined;
3025
+ /**
3026
+ * <p>The encryption configuration used for your custom vocabulary.</p>
3027
+ * @public
3028
+ */
3029
+ EncryptionConfiguration?: EncryptionConfiguration | undefined;
2978
3030
  }
2979
3031
  /**
2980
3032
  * @public
@@ -3015,6 +3067,18 @@ export interface GetVocabularyFilterResponse {
3015
3067
  * @public
3016
3068
  */
3017
3069
  DownloadUri?: string | undefined;
3070
+ /**
3071
+ * <p>The Amazon Resource Name (ARN) of the IAM role used to access the
3072
+ * Amazon S3 bucket that contains your input files and, if applicable, the
3073
+ * KMS key specified in <code>EncryptionConfiguration</code>.</p>
3074
+ * @public
3075
+ */
3076
+ DataAccessRoleArn?: string | undefined;
3077
+ /**
3078
+ * <p>The encryption configuration used for your custom vocabulary filter.</p>
3079
+ * @public
3080
+ */
3081
+ EncryptionConfiguration?: EncryptionConfiguration | undefined;
3018
3082
  }
3019
3083
  /**
3020
3084
  * @public
@@ -4718,6 +4782,54 @@ export interface UpdateCallAnalyticsCategoryResponse {
4718
4782
  */
4719
4783
  CategoryProperties?: CategoryProperties | undefined;
4720
4784
  }
4785
+ /**
4786
+ * @public
4787
+ */
4788
+ export interface UpdateLanguageModelRequest {
4789
+ /**
4790
+ * <p>The name of the custom language model you want to update. Model names are case sensitive.</p>
4791
+ * @public
4792
+ */
4793
+ ModelName: string | undefined;
4794
+ /**
4795
+ * <p>The Amazon Resource Name (ARN) of an IAM role. If you include
4796
+ * <code>EncryptionConfiguration</code> in your request, this role must have permissions to
4797
+ * access the specified KMS key. If the role that you specify doesn't have
4798
+ * the appropriate permissions, your request fails.</p>
4799
+ * <p>IAM role ARNs have the format
4800
+ * <code>arn:partition:iam::account:role/role-name-with-path</code>. For example:
4801
+ * <code>arn:aws:iam::111122223333:role/Admin</code>.</p>
4802
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-arns">IAM
4803
+ * ARNs</a>.</p>
4804
+ * @public
4805
+ */
4806
+ DataAccessRoleArn?: string | undefined;
4807
+ /**
4808
+ * <p>Specifies the new encryption configuration for your custom language model. The model artifacts are re-encrypted in place using the specified KMS key or with an AWS-owned key if a key is not supplied.</p>
4809
+ * @public
4810
+ */
4811
+ EncryptionConfiguration?: EncryptionConfiguration | undefined;
4812
+ }
4813
+ /**
4814
+ * @public
4815
+ */
4816
+ export interface UpdateLanguageModelResponse {
4817
+ /**
4818
+ * <p>The name of the custom language model that was updated.</p>
4819
+ * @public
4820
+ */
4821
+ ModelName?: string | undefined;
4822
+ /**
4823
+ * <p>The status of the specified custom language model.</p>
4824
+ * @public
4825
+ */
4826
+ ModelStatus?: ModelStatus | undefined;
4827
+ /**
4828
+ * <p>The date and time the specified custom language model was last modified.</p>
4829
+ * @public
4830
+ */
4831
+ LastModifiedTime?: Date | undefined;
4832
+ }
4721
4833
  /**
4722
4834
  * @public
4723
4835
  */
@@ -4831,8 +4943,9 @@ export interface UpdateVocabularyRequest {
4831
4943
  /**
4832
4944
  * <p>The Amazon Resource Name (ARN) of an IAM role that has permissions to
4833
4945
  * access the Amazon S3 bucket that contains your input files (in this case, your custom
4834
- * vocabulary). If the role that you specify doesn’t have the appropriate permissions to access
4835
- * the specified Amazon S3 location, your request fails.</p>
4946
+ * vocabulary). If you include <code>EncryptionConfiguration</code> in your request, this role
4947
+ * must also have permissions to access the specified KMS key. If the role that
4948
+ * you specify doesn’t have the appropriate permissions, your request fails.</p>
4836
4949
  * <p>IAM role ARNs have the format
4837
4950
  * <code>arn:partition:iam::account:role/role-name-with-path</code>. For example:
4838
4951
  * <code>arn:aws:iam::111122223333:role/Admin</code>.</p>
@@ -4841,6 +4954,11 @@ export interface UpdateVocabularyRequest {
4841
4954
  * @public
4842
4955
  */
4843
4956
  DataAccessRoleArn?: string | undefined;
4957
+ /**
4958
+ * <p>Specifies the new encryption configuration for your custom vocabulary. The vocabulary artifacts are re-encrypted in place using the specified KMS key or with an AWS-owned key if a key is not supplied.</p>
4959
+ * @public
4960
+ */
4961
+ EncryptionConfiguration?: EncryptionConfiguration | undefined;
4844
4962
  }
4845
4963
  /**
4846
4964
  * @public
@@ -4912,8 +5030,9 @@ export interface UpdateVocabularyFilterRequest {
4912
5030
  /**
4913
5031
  * <p>The Amazon Resource Name (ARN) of an IAM role that has permissions to
4914
5032
  * access the Amazon S3 bucket that contains your input files (in this case, your custom
4915
- * vocabulary filter). If the role that you specify doesn’t have the appropriate permissions to access
4916
- * the specified Amazon S3 location, your request fails.</p>
5033
+ * vocabulary filter). If you include <code>EncryptionConfiguration</code> in your request, this role
5034
+ * must also have permissions to access the specified KMS key. If the role that
5035
+ * you specify doesn’t have the appropriate permissions, your request fails.</p>
4917
5036
  * <p>IAM role ARNs have the format
4918
5037
  * <code>arn:partition:iam::account:role/role-name-with-path</code>. For example:
4919
5038
  * <code>arn:aws:iam::111122223333:role/Admin</code>.</p>
@@ -4922,6 +5041,11 @@ export interface UpdateVocabularyFilterRequest {
4922
5041
  * @public
4923
5042
  */
4924
5043
  DataAccessRoleArn?: string | undefined;
5044
+ /**
5045
+ * <p>Specifies the new encryption configuration for your custom vocabulary filter. The vocabulary filter artifacts are re-encrypted in place using the specified KMS key or with an AWS-owned key if a key is not supplied.</p>
5046
+ * @public
5047
+ */
5048
+ EncryptionConfiguration?: EncryptionConfiguration | undefined;
4925
5049
  }
4926
5050
  /**
4927
5051
  * @public
@@ -45,6 +45,7 @@ export declare var DeleteVocabularyFilterRequest$: StaticStructureSchema;
45
45
  export declare var DeleteVocabularyRequest$: StaticStructureSchema;
46
46
  export declare var DescribeLanguageModelRequest$: StaticStructureSchema;
47
47
  export declare var DescribeLanguageModelResponse$: StaticStructureSchema;
48
+ export declare var EncryptionConfiguration$: StaticStructureSchema;
48
49
  export declare var GetCallAnalyticsCategoryRequest$: StaticStructureSchema;
49
50
  export declare var GetCallAnalyticsCategoryResponse$: StaticStructureSchema;
50
51
  export declare var GetCallAnalyticsJobRequest$: StaticStructureSchema;
@@ -127,6 +128,8 @@ export declare var UntagResourceRequest$: StaticStructureSchema;
127
128
  export declare var UntagResourceResponse$: StaticStructureSchema;
128
129
  export declare var UpdateCallAnalyticsCategoryRequest$: StaticStructureSchema;
129
130
  export declare var UpdateCallAnalyticsCategoryResponse$: StaticStructureSchema;
131
+ export declare var UpdateLanguageModelRequest$: StaticStructureSchema;
132
+ export declare var UpdateLanguageModelResponse$: StaticStructureSchema;
130
133
  export declare var UpdateMedicalVocabularyRequest$: StaticStructureSchema;
131
134
  export declare var UpdateMedicalVocabularyResponse$: StaticStructureSchema;
132
135
  export declare var UpdateVocabularyFilterRequest$: StaticStructureSchema;
@@ -176,6 +179,7 @@ export declare var StartTranscriptionJob$: StaticOperationSchema;
176
179
  export declare var TagResource$: StaticOperationSchema;
177
180
  export declare var UntagResource$: StaticOperationSchema;
178
181
  export declare var UpdateCallAnalyticsCategory$: StaticOperationSchema;
182
+ export declare var UpdateLanguageModel$: StaticOperationSchema;
179
183
  export declare var UpdateMedicalVocabulary$: StaticOperationSchema;
180
184
  export declare var UpdateVocabulary$: StaticOperationSchema;
181
185
  export declare var UpdateVocabularyFilter$: StaticOperationSchema;
@@ -162,6 +162,10 @@ import {
162
162
  UpdateCallAnalyticsCategoryCommandInput,
163
163
  UpdateCallAnalyticsCategoryCommandOutput,
164
164
  } from "./commands/UpdateCallAnalyticsCategoryCommand";
165
+ import {
166
+ UpdateLanguageModelCommandInput,
167
+ UpdateLanguageModelCommandOutput,
168
+ } from "./commands/UpdateLanguageModelCommand";
165
169
  import {
166
170
  UpdateMedicalVocabularyCommandInput,
167
171
  UpdateMedicalVocabularyCommandOutput,
@@ -705,6 +709,19 @@ export interface Transcribe {
705
709
  options: __HttpHandlerOptions,
706
710
  cb: (err: any, data?: UpdateCallAnalyticsCategoryCommandOutput) => void,
707
711
  ): void;
712
+ updateLanguageModel(
713
+ args: UpdateLanguageModelCommandInput,
714
+ options?: __HttpHandlerOptions,
715
+ ): Promise<UpdateLanguageModelCommandOutput>;
716
+ updateLanguageModel(
717
+ args: UpdateLanguageModelCommandInput,
718
+ cb: (err: any, data?: UpdateLanguageModelCommandOutput) => void,
719
+ ): void;
720
+ updateLanguageModel(
721
+ args: UpdateLanguageModelCommandInput,
722
+ options: __HttpHandlerOptions,
723
+ cb: (err: any, data?: UpdateLanguageModelCommandOutput) => void,
724
+ ): void;
708
725
  updateMedicalVocabulary(
709
726
  args: UpdateMedicalVocabularyCommandInput,
710
727
  options?: __HttpHandlerOptions,
@@ -190,6 +190,10 @@ import {
190
190
  UpdateCallAnalyticsCategoryCommandInput,
191
191
  UpdateCallAnalyticsCategoryCommandOutput,
192
192
  } from "./commands/UpdateCallAnalyticsCategoryCommand";
193
+ import {
194
+ UpdateLanguageModelCommandInput,
195
+ UpdateLanguageModelCommandOutput,
196
+ } from "./commands/UpdateLanguageModelCommand";
193
197
  import {
194
198
  UpdateMedicalVocabularyCommandInput,
195
199
  UpdateMedicalVocabularyCommandOutput,
@@ -250,6 +254,7 @@ export type ServiceInputTypes =
250
254
  | TagResourceCommandInput
251
255
  | UntagResourceCommandInput
252
256
  | UpdateCallAnalyticsCategoryCommandInput
257
+ | UpdateLanguageModelCommandInput
253
258
  | UpdateMedicalVocabularyCommandInput
254
259
  | UpdateVocabularyCommandInput
255
260
  | UpdateVocabularyFilterCommandInput;
@@ -294,6 +299,7 @@ export type ServiceOutputTypes =
294
299
  | TagResourceCommandOutput
295
300
  | UntagResourceCommandOutput
296
301
  | UpdateCallAnalyticsCategoryCommandOutput
302
+ | UpdateLanguageModelCommandOutput
297
303
  | UpdateMedicalVocabularyCommandOutput
298
304
  | UpdateVocabularyCommandOutput
299
305
  | UpdateVocabularyFilterCommandOutput;
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { UpdateLanguageModelRequest, UpdateLanguageModelResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface UpdateLanguageModelCommandInput extends UpdateLanguageModelRequest {}
5
+ export interface UpdateLanguageModelCommandOutput
6
+ extends UpdateLanguageModelResponse, __MetadataBearer {}
7
+ declare const UpdateLanguageModelCommand_base: {
8
+ new (
9
+ input: UpdateLanguageModelCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ UpdateLanguageModelCommandInput,
12
+ UpdateLanguageModelCommandOutput,
13
+ import("..").TranscribeClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: UpdateLanguageModelCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ UpdateLanguageModelCommandInput,
21
+ UpdateLanguageModelCommandOutput,
22
+ import("..").TranscribeClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class UpdateLanguageModelCommand extends UpdateLanguageModelCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: UpdateLanguageModelRequest;
32
+ output: UpdateLanguageModelResponse;
33
+ };
34
+ sdk: {
35
+ input: UpdateLanguageModelCommandInput;
36
+ output: UpdateLanguageModelCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -38,6 +38,7 @@ export * from "./StartTranscriptionJobCommand";
38
38
  export * from "./TagResourceCommand";
39
39
  export * from "./UntagResourceCommand";
40
40
  export * from "./UpdateCallAnalyticsCategoryCommand";
41
+ export * from "./UpdateLanguageModelCommand";
41
42
  export * from "./UpdateMedicalVocabularyCommand";
42
43
  export * from "./UpdateVocabularyCommand";
43
44
  export * from "./UpdateVocabularyFilterCommand";
@@ -215,6 +215,10 @@ export interface CreateCallAnalyticsCategoryRequest {
215
215
  export interface CreateCallAnalyticsCategoryResponse {
216
216
  CategoryProperties?: CategoryProperties | undefined;
217
217
  }
218
+ export interface EncryptionConfiguration {
219
+ KMSEncryptionContext?: Record<string, string> | undefined;
220
+ KMSKey: string | undefined;
221
+ }
218
222
  export interface InputDataConfig {
219
223
  S3Uri: string | undefined;
220
224
  TuningDataS3Uri?: string | undefined;
@@ -225,6 +229,7 @@ export interface CreateLanguageModelRequest {
225
229
  BaseModelName: BaseModelName | undefined;
226
230
  ModelName: string | undefined;
227
231
  InputDataConfig: InputDataConfig | undefined;
232
+ EncryptionConfiguration?: EncryptionConfiguration | undefined;
228
233
  Tags?: Tag[] | undefined;
229
234
  }
230
235
  export interface CreateLanguageModelResponse {
@@ -254,6 +259,7 @@ export interface CreateVocabularyRequest {
254
259
  VocabularyFileUri?: string | undefined;
255
260
  Tags?: Tag[] | undefined;
256
261
  DataAccessRoleArn?: string | undefined;
262
+ EncryptionConfiguration?: EncryptionConfiguration | undefined;
257
263
  }
258
264
  export interface CreateVocabularyResponse {
259
265
  VocabularyName?: string | undefined;
@@ -269,6 +275,7 @@ export interface CreateVocabularyFilterRequest {
269
275
  VocabularyFilterFileUri?: string | undefined;
270
276
  Tags?: Tag[] | undefined;
271
277
  DataAccessRoleArn?: string | undefined;
278
+ EncryptionConfiguration?: EncryptionConfiguration | undefined;
272
279
  }
273
280
  export interface CreateVocabularyFilterResponse {
274
281
  VocabularyFilterName?: string | undefined;
@@ -317,6 +324,7 @@ export interface LanguageModel {
317
324
  UpgradeAvailability?: boolean | undefined;
318
325
  FailureReason?: string | undefined;
319
326
  InputDataConfig?: InputDataConfig | undefined;
327
+ EncryptionConfiguration?: EncryptionConfiguration | undefined;
320
328
  }
321
329
  export interface DescribeLanguageModelResponse {
322
330
  LanguageModel?: LanguageModel | undefined;
@@ -489,6 +497,8 @@ export interface GetVocabularyResponse {
489
497
  LastModifiedTime?: Date | undefined;
490
498
  FailureReason?: string | undefined;
491
499
  DownloadUri?: string | undefined;
500
+ DataAccessRoleArn?: string | undefined;
501
+ EncryptionConfiguration?: EncryptionConfiguration | undefined;
492
502
  }
493
503
  export interface GetVocabularyFilterRequest {
494
504
  VocabularyFilterName: string | undefined;
@@ -498,6 +508,8 @@ export interface GetVocabularyFilterResponse {
498
508
  LanguageCode?: LanguageCode | undefined;
499
509
  LastModifiedTime?: Date | undefined;
500
510
  DownloadUri?: string | undefined;
511
+ DataAccessRoleArn?: string | undefined;
512
+ EncryptionConfiguration?: EncryptionConfiguration | undefined;
501
513
  }
502
514
  export interface ListCallAnalyticsCategoriesRequest {
503
515
  NextToken?: string | undefined;
@@ -749,6 +761,16 @@ export interface UpdateCallAnalyticsCategoryRequest {
749
761
  export interface UpdateCallAnalyticsCategoryResponse {
750
762
  CategoryProperties?: CategoryProperties | undefined;
751
763
  }
764
+ export interface UpdateLanguageModelRequest {
765
+ ModelName: string | undefined;
766
+ DataAccessRoleArn?: string | undefined;
767
+ EncryptionConfiguration?: EncryptionConfiguration | undefined;
768
+ }
769
+ export interface UpdateLanguageModelResponse {
770
+ ModelName?: string | undefined;
771
+ ModelStatus?: ModelStatus | undefined;
772
+ LastModifiedTime?: Date | undefined;
773
+ }
752
774
  export interface UpdateMedicalVocabularyRequest {
753
775
  VocabularyName: string | undefined;
754
776
  LanguageCode: LanguageCode | undefined;
@@ -766,6 +788,7 @@ export interface UpdateVocabularyRequest {
766
788
  Phrases?: string[] | undefined;
767
789
  VocabularyFileUri?: string | undefined;
768
790
  DataAccessRoleArn?: string | undefined;
791
+ EncryptionConfiguration?: EncryptionConfiguration | undefined;
769
792
  }
770
793
  export interface UpdateVocabularyResponse {
771
794
  VocabularyName?: string | undefined;
@@ -778,6 +801,7 @@ export interface UpdateVocabularyFilterRequest {
778
801
  Words?: string[] | undefined;
779
802
  VocabularyFilterFileUri?: string | undefined;
780
803
  DataAccessRoleArn?: string | undefined;
804
+ EncryptionConfiguration?: EncryptionConfiguration | undefined;
781
805
  }
782
806
  export interface UpdateVocabularyFilterResponse {
783
807
  VocabularyFilterName?: string | undefined;
@@ -45,6 +45,7 @@ export declare var DeleteVocabularyFilterRequest$: StaticStructureSchema;
45
45
  export declare var DeleteVocabularyRequest$: StaticStructureSchema;
46
46
  export declare var DescribeLanguageModelRequest$: StaticStructureSchema;
47
47
  export declare var DescribeLanguageModelResponse$: StaticStructureSchema;
48
+ export declare var EncryptionConfiguration$: StaticStructureSchema;
48
49
  export declare var GetCallAnalyticsCategoryRequest$: StaticStructureSchema;
49
50
  export declare var GetCallAnalyticsCategoryResponse$: StaticStructureSchema;
50
51
  export declare var GetCallAnalyticsJobRequest$: StaticStructureSchema;
@@ -127,6 +128,8 @@ export declare var UntagResourceRequest$: StaticStructureSchema;
127
128
  export declare var UntagResourceResponse$: StaticStructureSchema;
128
129
  export declare var UpdateCallAnalyticsCategoryRequest$: StaticStructureSchema;
129
130
  export declare var UpdateCallAnalyticsCategoryResponse$: StaticStructureSchema;
131
+ export declare var UpdateLanguageModelRequest$: StaticStructureSchema;
132
+ export declare var UpdateLanguageModelResponse$: StaticStructureSchema;
130
133
  export declare var UpdateMedicalVocabularyRequest$: StaticStructureSchema;
131
134
  export declare var UpdateMedicalVocabularyResponse$: StaticStructureSchema;
132
135
  export declare var UpdateVocabularyFilterRequest$: StaticStructureSchema;
@@ -176,6 +179,7 @@ export declare var StartTranscriptionJob$: StaticOperationSchema;
176
179
  export declare var TagResource$: StaticOperationSchema;
177
180
  export declare var UntagResource$: StaticOperationSchema;
178
181
  export declare var UpdateCallAnalyticsCategory$: StaticOperationSchema;
182
+ export declare var UpdateLanguageModel$: StaticOperationSchema;
179
183
  export declare var UpdateMedicalVocabulary$: StaticOperationSchema;
180
184
  export declare var UpdateVocabulary$: StaticOperationSchema;
181
185
  export declare var UpdateVocabularyFilter$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-transcribe",
3
- "version": "3.1135.0",
3
+ "version": "3.1137.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",