package smaws-clients

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Source file types.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
open Smaws_Lib
let service =
  Service.{
    namespace = "transcribe";
    endpointPrefix = "transcribe";
    version = "2017-10-26";
    protocol = AwsJson_1_1
  };
type vocabulary_state = | FAILED
  | READY
  | PENDING

type language_code = | ZU_ZA
  | WO_SN
  | UZ_UZ
  | UK_UA
  | UG_CN
  | TT_RU
  | TL_PH
  | SW_UG
  | SW_TZ
  | SW_RW
  | SW_KE
  | SW_BI
  | SU_ID
  | SR_RS
  | SO_SO
  | SL_SI
  | SK_SK
  | SI_LK
  | RW_RW
  | RO_RO
  | PS_AF
  | PL_PL
  | PA_IN
  | OR_IN
  | NO_NO
  | MT_MT
  | MR_IN
  | MN_MN
  | ML_IN
  | MK_MK
  | MI_NZ
  | MHR_RU
  | LV_LV
  | LT_LT
  | LG_IN
  | KY_KG
  | KN_IN
  | KK_KZ
  | KAB_DZ
  | KA_GE
  | IS_IS
  | HY_AM
  | HU_HU
  | HR_HR
  | HA_NG
  | GU_IN
  | GL_ES
  | FI_FI
  | EU_ES
  | ET_ET
  | EL_GR
  | CY_WL
  | CS_CZ
  | CKB_IR
  | CKB_IQ
  | CA_ES
  | BS_BA
  | BN_IN
  | BG_BG
  | BE_BY
  | BA_RU
  | AZ_AZ
  | AST_ES
  | AB_GE
  | SV_SE
  | VI_VN
  | EN_NZ
  | EN_ZA
  | TH_TH
  | ZH_TW
  | ZH_CN
  | TR_TR
  | TE_IN
  | TA_IN
  | RU_RU
  | PT_PT
  | PT_BR
  | NL_NL
  | MS_MY
  | KO_KR
  | JA_JP
  | IT_IT
  | ID_ID
  | HI_IN
  | HE_IL
  | FR_FR
  | FR_CA
  | FA_IR
  | ES_US
  | ES_ES
  | EN_WL
  | EN_US
  | EN_IN
  | EN_IE
  | EN_GB
  | EN_AU
  | EN_AB
  | DE_DE
  | DE_CH
  | DA_DK
  | AR_SA
  | AR_AE
  | AF_ZA

type vocabulary_info = {
  vocabulary_state: vocabulary_state option;
  last_modified_time: float option;
  language_code: language_code option;
  vocabulary_name: string option
}

type vocabulary_filter_info = {
  last_modified_time: float option;
  language_code: language_code option;
  vocabulary_filter_name: string option
}

type vocabulary_filter_method = | TAG
  | MASK
  | REMOVE

type update_vocabulary_response = {
  vocabulary_state: vocabulary_state option;
  last_modified_time: float option;
  language_code: language_code option;
  vocabulary_name: string option
}

type update_vocabulary_request = {
  data_access_role_arn: string option;
  vocabulary_file_uri: string option;
  phrases: string list option;
  language_code: language_code;
  vocabulary_name: string
}

type update_vocabulary_filter_response = {
  last_modified_time: float option;
  language_code: language_code option;
  vocabulary_filter_name: string option
}

type update_vocabulary_filter_request = {
  data_access_role_arn: string option;
  vocabulary_filter_file_uri: string option;
  words: string list option;
  vocabulary_filter_name: string
}

type not_found_exception = {
  message: string option
}

type limit_exceeded_exception = {
  message: string option
}

type internal_failure_exception = {
  message: string option
}

type bad_request_exception = {
  message: string option
}

type conflict_exception = {
  message: string option
}

type update_medical_vocabulary_response = {
  vocabulary_state: vocabulary_state option;
  last_modified_time: float option;
  language_code: language_code option;
  vocabulary_name: string option
}

type update_medical_vocabulary_request = {
  vocabulary_file_uri: string;
  language_code: language_code;
  vocabulary_name: string
}

type absolute_time_range = {
  last: int option;
  first: int option;
  end_time: int option;
  start_time: int option
}

type relative_time_range = {
  last: int option;
  first: int option;
  end_percentage: int option;
  start_percentage: int option
}

type non_talk_time_filter = {
  negate: bool option;
  relative_time_range: relative_time_range option;
  absolute_time_range: absolute_time_range option;
  threshold: int option
}

type participant_role = | CUSTOMER
  | AGENT

type interruption_filter = {
  negate: bool option;
  relative_time_range: relative_time_range option;
  absolute_time_range: absolute_time_range option;
  participant_role: participant_role option;
  threshold: int option
}

type transcript_filter_type = | EXACT

type transcript_filter = {
  targets: string list;
  negate: bool option;
  participant_role: participant_role option;
  relative_time_range: relative_time_range option;
  absolute_time_range: absolute_time_range option;
  transcript_filter_type: transcript_filter_type
}

type sentiment_value = | MIXED
  | NEUTRAL
  | NEGATIVE
  | POSITIVE

type sentiment_filter = {
  negate: bool option;
  participant_role: participant_role option;
  relative_time_range: relative_time_range option;
  absolute_time_range: absolute_time_range option;
  sentiments: sentiment_value list
}

type rule = SentimentFilter of sentiment_filter | TranscriptFilter of transcript_filter | InterruptionFilter of interruption_filter | NonTalkTimeFilter of non_talk_time_filter

type input_type = | POST_CALL
  | REAL_TIME

type category_properties = {
  input_type: input_type option;
  last_update_time: float option;
  create_time: float option;
  rules: rule list option;
  category_name: string option
}

type update_call_analytics_category_response = {
  category_properties: category_properties option
}

type update_call_analytics_category_request = {
  input_type: input_type option;
  rules: rule list;
  category_name: string
}

type untag_resource_response = unit

type untag_resource_request = {
  tag_keys: string list;
  resource_arn: string
}

type type_ = | DICTATION
  | CONVERSATION

type transcription_job_status = | COMPLETED
  | FAILED
  | IN_PROGRESS
  | QUEUED

type output_location_type = | SERVICE_BUCKET
  | CUSTOMER_BUCKET

type redaction_type = | PII

type redaction_output = | REDACTED_AND_UNREDACTED
  | REDACTED

type pii_entity_type = | ALL
  | SSN
  | PHONE
  | NAME
  | ADDRESS
  | EMAIL
  | PIN
  | CREDIT_DEBIT_EXPIRY
  | CREDIT_DEBIT_CVV
  | CREDIT_DEBIT_NUMBER
  | BANK_ROUTING
  | BANK_ACCOUNT_NUMBER

type content_redaction = {
  pii_entity_types: pii_entity_type list option;
  redaction_output: redaction_output;
  redaction_type: redaction_type
}

type model_settings = {
  language_model_name: string option
}

type language_code_item = {
  duration_in_seconds: float option;
  language_code: language_code option
}

type toxicity_category = | ALL

type toxicity_detection_settings = {
  toxicity_categories: toxicity_category list
}

type transcription_job_summary = {
  toxicity_detection: toxicity_detection_settings list option;
  language_codes: language_code_item list option;
  identified_language_score: float option;
  identify_multiple_languages: bool option;
  identify_language: bool option;
  model_settings: model_settings option;
  content_redaction: content_redaction option;
  output_location_type: output_location_type option;
  failure_reason: string option;
  transcription_job_status: transcription_job_status option;
  language_code: language_code option;
  completion_time: float option;
  start_time: float option;
  creation_time: float option;
  transcription_job_name: string option
}

type media_format = | M4A
  | WEBM
  | AMR
  | OGG
  | FLAC
  | WAV
  | MP4
  | MP3

type media = {
  redacted_media_file_uri: string option;
  media_file_uri: string option
}

type transcript = {
  redacted_transcript_file_uri: string option;
  transcript_file_uri: string option
}

type settings = {
  vocabulary_filter_method: vocabulary_filter_method option;
  vocabulary_filter_name: string option;
  max_alternatives: int option;
  show_alternatives: bool option;
  channel_identification: bool option;
  max_speaker_labels: int option;
  show_speaker_labels: bool option;
  vocabulary_name: string option
}

type job_execution_settings = {
  data_access_role_arn: string option;
  allow_deferred_execution: bool option
}

type tag = {
  value: string;
  key: string
}

type subtitle_format = | SRT
  | VTT

type subtitles_output = {
  output_start_index: int option;
  subtitle_file_uris: string list option;
  formats: subtitle_format list option
}

type language_id_settings = {
  language_model_name: string option;
  vocabulary_filter_name: string option;
  vocabulary_name: string option
}

type transcription_job = {
  toxicity_detection: toxicity_detection_settings list option;
  language_id_settings: (string * language_id_settings) list option;
  subtitles: subtitles_output option;
  tags: tag list option;
  language_codes: language_code_item list option;
  identified_language_score: float option;
  language_options: language_code list option;
  identify_multiple_languages: bool option;
  identify_language: bool option;
  content_redaction: content_redaction option;
  job_execution_settings: job_execution_settings option;
  model_settings: model_settings option;
  settings: settings option;
  failure_reason: string option;
  completion_time: float option;
  creation_time: float option;
  start_time: float option;
  transcript: transcript option;
  media: media option;
  media_format: media_format option;
  media_sample_rate_hertz: int option;
  language_code: language_code option;
  transcription_job_status: transcription_job_status option;
  transcription_job_name: string option
}

type tag_resource_response = unit

type tag_resource_request = {
  tags: tag list;
  resource_arn: string
}

type start_transcription_job_response = {
  transcription_job: transcription_job option
}

type subtitles = {
  output_start_index: int option;
  formats: subtitle_format list option
}

type start_transcription_job_request = {
  toxicity_detection: toxicity_detection_settings list option;
  language_id_settings: (string * language_id_settings) list option;
  tags: tag list option;
  subtitles: subtitles option;
  language_options: language_code list option;
  identify_multiple_languages: bool option;
  identify_language: bool option;
  content_redaction: content_redaction option;
  job_execution_settings: job_execution_settings option;
  model_settings: model_settings option;
  settings: settings option;
  kms_encryption_context: (string * string) list option;
  output_encryption_kms_key_id: string option;
  output_key: string option;
  output_bucket_name: string option;
  media: media;
  media_format: media_format option;
  media_sample_rate_hertz: int option;
  language_code: language_code option;
  transcription_job_name: string
}

type medical_transcript = {
  transcript_file_uri: string option
}

type medical_transcription_setting = {
  vocabulary_name: string option;
  max_alternatives: int option;
  show_alternatives: bool option;
  channel_identification: bool option;
  max_speaker_labels: int option;
  show_speaker_labels: bool option
}

type medical_content_identification_type = | PHI

type specialty = | PRIMARYCARE

type medical_transcription_job = {
  tags: tag list option;
  type_: type_ option;
  specialty: specialty option;
  content_identification_type: medical_content_identification_type option;
  settings: medical_transcription_setting option;
  failure_reason: string option;
  completion_time: float option;
  creation_time: float option;
  start_time: float option;
  transcript: medical_transcript option;
  media: media option;
  media_format: media_format option;
  media_sample_rate_hertz: int option;
  language_code: language_code option;
  transcription_job_status: transcription_job_status option;
  medical_transcription_job_name: string option
}

type start_medical_transcription_job_response = {
  medical_transcription_job: medical_transcription_job option
}

type start_medical_transcription_job_request = {
  tags: tag list option;
  type_: type_;
  specialty: specialty;
  content_identification_type: medical_content_identification_type option;
  settings: medical_transcription_setting option;
  kms_encryption_context: (string * string) list option;
  output_encryption_kms_key_id: string option;
  output_key: string option;
  output_bucket_name: string;
  media: media;
  media_format: media_format option;
  media_sample_rate_hertz: int option;
  language_code: language_code;
  medical_transcription_job_name: string
}

type medical_scribe_job_status = | COMPLETED
  | FAILED
  | IN_PROGRESS
  | QUEUED

type medical_scribe_language_code = | EN_US

type medical_scribe_output = {
  clinical_document_uri: string;
  transcript_file_uri: string
}

type medical_scribe_settings = {
  vocabulary_filter_method: vocabulary_filter_method option;
  vocabulary_filter_name: string option;
  vocabulary_name: string option;
  channel_identification: bool option;
  max_speaker_labels: int option;
  show_speaker_labels: bool option
}

type medical_scribe_participant_role = | CLINICIAN
  | PATIENT

type medical_scribe_channel_definition = {
  participant_role: medical_scribe_participant_role;
  channel_id: int
}

type medical_scribe_job = {
  tags: tag list option;
  channel_definitions: medical_scribe_channel_definition list option;
  data_access_role_arn: string option;
  settings: medical_scribe_settings option;
  failure_reason: string option;
  completion_time: float option;
  creation_time: float option;
  start_time: float option;
  medical_scribe_output: medical_scribe_output option;
  media: media option;
  language_code: medical_scribe_language_code option;
  medical_scribe_job_status: medical_scribe_job_status option;
  medical_scribe_job_name: string option
}

type start_medical_scribe_job_response = {
  medical_scribe_job: medical_scribe_job option
}

type start_medical_scribe_job_request = {
  tags: tag list option;
  channel_definitions: medical_scribe_channel_definition list option;
  settings: medical_scribe_settings;
  data_access_role_arn: string;
  kms_encryption_context: (string * string) list option;
  output_encryption_kms_key_id: string option;
  output_bucket_name: string;
  media: media;
  medical_scribe_job_name: string
}

type call_analytics_job_status = | COMPLETED
  | FAILED
  | IN_PROGRESS
  | QUEUED

type call_analytics_feature = | GENERATIVE_SUMMARIZATION

type call_analytics_skipped_reason_code = | FAILED_SAFETY_GUIDELINES
  | INSUFFICIENT_CONVERSATION_CONTENT

type call_analytics_skipped_feature = {
  message: string option;
  reason_code: call_analytics_skipped_reason_code option;
  feature: call_analytics_feature option
}

type call_analytics_job_details = {
  skipped: call_analytics_skipped_feature list option
}

type summarization = {
  generate_abstractive_summary: bool
}

type call_analytics_job_settings = {
  summarization: summarization option;
  language_id_settings: (string * language_id_settings) list option;
  language_options: language_code list option;
  content_redaction: content_redaction option;
  language_model_name: string option;
  vocabulary_filter_method: vocabulary_filter_method option;
  vocabulary_filter_name: string option;
  vocabulary_name: string option
}

type channel_definition = {
  participant_role: participant_role option;
  channel_id: int option
}

type call_analytics_job = {
  channel_definitions: channel_definition list option;
  settings: call_analytics_job_settings option;
  identified_language_score: float option;
  data_access_role_arn: string option;
  failure_reason: string option;
  completion_time: float option;
  creation_time: float option;
  start_time: float option;
  transcript: transcript option;
  media: media option;
  media_format: media_format option;
  media_sample_rate_hertz: int option;
  language_code: language_code option;
  call_analytics_job_details: call_analytics_job_details option;
  call_analytics_job_status: call_analytics_job_status option;
  call_analytics_job_name: string option
}

type start_call_analytics_job_response = {
  call_analytics_job: call_analytics_job option
}

type start_call_analytics_job_request = {
  channel_definitions: channel_definition list option;
  settings: call_analytics_job_settings option;
  data_access_role_arn: string option;
  output_encryption_kms_key_id: string option;
  output_location: string option;
  media: media;
  call_analytics_job_name: string
}

type list_vocabulary_filters_response = {
  vocabulary_filters: vocabulary_filter_info list option;
  next_token: string option
}

type list_vocabulary_filters_request = {
  name_contains: string option;
  max_results: int option;
  next_token: string option
}

type list_vocabularies_response = {
  vocabularies: vocabulary_info list option;
  next_token: string option;
  status: vocabulary_state option
}

type list_vocabularies_request = {
  name_contains: string option;
  state_equals: vocabulary_state option;
  max_results: int option;
  next_token: string option
}

type list_transcription_jobs_response = {
  transcription_job_summaries: transcription_job_summary list option;
  next_token: string option;
  status: transcription_job_status option
}

type list_transcription_jobs_request = {
  max_results: int option;
  next_token: string option;
  job_name_contains: string option;
  status: transcription_job_status option
}

type list_tags_for_resource_response = {
  tags: tag list option;
  resource_arn: string option
}

type list_tags_for_resource_request = {
  resource_arn: string
}

type list_medical_vocabularies_response = {
  vocabularies: vocabulary_info list option;
  next_token: string option;
  status: vocabulary_state option
}

type list_medical_vocabularies_request = {
  name_contains: string option;
  state_equals: vocabulary_state option;
  max_results: int option;
  next_token: string option
}

type medical_transcription_job_summary = {
  type_: type_ option;
  content_identification_type: medical_content_identification_type option;
  specialty: specialty option;
  output_location_type: output_location_type option;
  failure_reason: string option;
  transcription_job_status: transcription_job_status option;
  language_code: language_code option;
  completion_time: float option;
  start_time: float option;
  creation_time: float option;
  medical_transcription_job_name: string option
}

type list_medical_transcription_jobs_response = {
  medical_transcription_job_summaries: medical_transcription_job_summary list option;
  next_token: string option;
  status: transcription_job_status option
}

type list_medical_transcription_jobs_request = {
  max_results: int option;
  next_token: string option;
  job_name_contains: string option;
  status: transcription_job_status option
}

type medical_scribe_job_summary = {
  failure_reason: string option;
  medical_scribe_job_status: medical_scribe_job_status option;
  language_code: medical_scribe_language_code option;
  completion_time: float option;
  start_time: float option;
  creation_time: float option;
  medical_scribe_job_name: string option
}

type list_medical_scribe_jobs_response = {
  medical_scribe_job_summaries: medical_scribe_job_summary list option;
  next_token: string option;
  status: medical_scribe_job_status option
}

type list_medical_scribe_jobs_request = {
  max_results: int option;
  next_token: string option;
  job_name_contains: string option;
  status: medical_scribe_job_status option
}

type clm_language_code = | JA_JP
  | DE_DE
  | EN_AU
  | EN_GB
  | ES_US
  | HI_IN
  | EN_US

type base_model_name = | WIDE_BAND
  | NARROW_BAND

type model_status = | COMPLETED
  | FAILED
  | IN_PROGRESS

type input_data_config = {
  data_access_role_arn: string;
  tuning_data_s3_uri: string option;
  s3_uri: string
}

type language_model = {
  input_data_config: input_data_config option;
  failure_reason: string option;
  upgrade_availability: bool option;
  model_status: model_status option;
  base_model_name: base_model_name option;
  language_code: clm_language_code option;
  last_modified_time: float option;
  create_time: float option;
  model_name: string option
}

type list_language_models_response = {
  models: language_model list option;
  next_token: string option
}

type list_language_models_request = {
  max_results: int option;
  next_token: string option;
  name_contains: string option;
  status_equals: model_status option
}

type call_analytics_job_summary = {
  failure_reason: string option;
  call_analytics_job_details: call_analytics_job_details option;
  call_analytics_job_status: call_analytics_job_status option;
  language_code: language_code option;
  completion_time: float option;
  start_time: float option;
  creation_time: float option;
  call_analytics_job_name: string option
}

type list_call_analytics_jobs_response = {
  call_analytics_job_summaries: call_analytics_job_summary list option;
  next_token: string option;
  status: call_analytics_job_status option
}

type list_call_analytics_jobs_request = {
  max_results: int option;
  next_token: string option;
  job_name_contains: string option;
  status: call_analytics_job_status option
}

type list_call_analytics_categories_response = {
  categories: category_properties list option;
  next_token: string option
}

type list_call_analytics_categories_request = {
  max_results: int option;
  next_token: string option
}

type get_vocabulary_filter_response = {
  download_uri: string option;
  last_modified_time: float option;
  language_code: language_code option;
  vocabulary_filter_name: string option
}

type get_vocabulary_filter_request = {
  vocabulary_filter_name: string
}

type get_vocabulary_response = {
  download_uri: string option;
  failure_reason: string option;
  last_modified_time: float option;
  vocabulary_state: vocabulary_state option;
  language_code: language_code option;
  vocabulary_name: string option
}

type get_vocabulary_request = {
  vocabulary_name: string
}

type get_transcription_job_response = {
  transcription_job: transcription_job option
}

type get_transcription_job_request = {
  transcription_job_name: string
}

type get_medical_vocabulary_response = {
  download_uri: string option;
  failure_reason: string option;
  last_modified_time: float option;
  vocabulary_state: vocabulary_state option;
  language_code: language_code option;
  vocabulary_name: string option
}

type get_medical_vocabulary_request = {
  vocabulary_name: string
}

type get_medical_transcription_job_response = {
  medical_transcription_job: medical_transcription_job option
}

type get_medical_transcription_job_request = {
  medical_transcription_job_name: string
}

type get_medical_scribe_job_response = {
  medical_scribe_job: medical_scribe_job option
}

type get_medical_scribe_job_request = {
  medical_scribe_job_name: string
}

type get_call_analytics_job_response = {
  call_analytics_job: call_analytics_job option
}

type get_call_analytics_job_request = {
  call_analytics_job_name: string
}

type get_call_analytics_category_response = {
  category_properties: category_properties option
}

type get_call_analytics_category_request = {
  category_name: string
}

type describe_language_model_response = {
  language_model: language_model option
}

type describe_language_model_request = {
  model_name: string
}

type delete_vocabulary_filter_request = {
  vocabulary_filter_name: string
}

type delete_vocabulary_request = {
  vocabulary_name: string
}

type delete_transcription_job_request = {
  transcription_job_name: string
}

type delete_medical_vocabulary_request = {
  vocabulary_name: string
}

type delete_medical_transcription_job_request = {
  medical_transcription_job_name: string
}

type delete_medical_scribe_job_request = {
  medical_scribe_job_name: string
}

type delete_language_model_request = {
  model_name: string
}

type delete_call_analytics_job_response = unit

type delete_call_analytics_job_request = {
  call_analytics_job_name: string
}

type delete_call_analytics_category_response = unit

type delete_call_analytics_category_request = {
  category_name: string
}

type create_vocabulary_filter_response = {
  last_modified_time: float option;
  language_code: language_code option;
  vocabulary_filter_name: string option
}

type create_vocabulary_filter_request = {
  data_access_role_arn: string option;
  tags: tag list option;
  vocabulary_filter_file_uri: string option;
  words: string list option;
  language_code: language_code;
  vocabulary_filter_name: string
}

type create_vocabulary_response = {
  failure_reason: string option;
  last_modified_time: float option;
  vocabulary_state: vocabulary_state option;
  language_code: language_code option;
  vocabulary_name: string option
}

type create_vocabulary_request = {
  data_access_role_arn: string option;
  tags: tag list option;
  vocabulary_file_uri: string option;
  phrases: string list option;
  language_code: language_code;
  vocabulary_name: string
}

type create_medical_vocabulary_response = {
  failure_reason: string option;
  last_modified_time: float option;
  vocabulary_state: vocabulary_state option;
  language_code: language_code option;
  vocabulary_name: string option
}

type create_medical_vocabulary_request = {
  tags: tag list option;
  vocabulary_file_uri: string;
  language_code: language_code;
  vocabulary_name: string
}

type create_language_model_response = {
  model_status: model_status option;
  input_data_config: input_data_config option;
  model_name: string option;
  base_model_name: base_model_name option;
  language_code: clm_language_code option
}

type create_language_model_request = {
  tags: tag list option;
  input_data_config: input_data_config;
  model_name: string;
  base_model_name: base_model_name;
  language_code: clm_language_code
}

type create_call_analytics_category_response = {
  category_properties: category_properties option
}

type create_call_analytics_category_request = {
  input_type: input_type option;
  rules: rule list;
  category_name: string
}



type base_document = Json.t

OCaml

Innovation. Community. Security.