aws-sdk-transcribeservice 1.71.0 → 1.74.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-transcribeservice/client.rb +213 -154
- data/lib/aws-sdk-transcribeservice/client_api.rb +6 -2
- data/lib/aws-sdk-transcribeservice/types.rb +222 -164
- data/lib/aws-sdk-transcribeservice.rb +1 -1
- metadata +4 -4
@@ -115,7 +115,7 @@ module Aws::TranscribeService
|
|
115
115
|
# @return [String]
|
116
116
|
#
|
117
117
|
# @!attribute [rw] media_sample_rate_hertz
|
118
|
-
# The sample rate, in Hertz, of the audio.
|
118
|
+
# The sample rate, in Hertz, of the input audio.
|
119
119
|
# @return [Integer]
|
120
120
|
#
|
121
121
|
# @!attribute [rw] media_format
|
@@ -565,14 +565,17 @@ module Aws::TranscribeService
|
|
565
565
|
# }
|
566
566
|
#
|
567
567
|
# @!attribute [rw] category_name
|
568
|
-
#
|
568
|
+
# A unique name, chosen by you, for your call analytics category. For
|
569
|
+
# example, `sentiment-positive-last30seconds`.
|
569
570
|
# @return [String]
|
570
571
|
#
|
571
572
|
# @!attribute [rw] rules
|
572
|
-
#
|
573
|
-
#
|
574
|
-
#
|
575
|
-
#
|
573
|
+
# Rules make up a call analytics category. When creating a call
|
574
|
+
# analytics category, you must create between 1 and 20 rules for your
|
575
|
+
# category. For each rule, you specify a filter you want applied to
|
576
|
+
# the attributes of a call. For example, you can choose a sentiment
|
577
|
+
# filter that detects if a customer's sentiment was positive during
|
578
|
+
# the last 30 seconds of the call.
|
576
579
|
# @return [Array<Types::Rule>]
|
577
580
|
#
|
578
581
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateCallAnalyticsCategoryRequest AWS API Documentation
|
@@ -585,7 +588,13 @@ module Aws::TranscribeService
|
|
585
588
|
end
|
586
589
|
|
587
590
|
# @!attribute [rw] category_properties
|
588
|
-
#
|
591
|
+
# If your audio matches one of your categories, this field contains
|
592
|
+
# data on that category and its associated rules. This parameter shows
|
593
|
+
# which category is flagged (`CategoryName`) along with metadata for
|
594
|
+
# the rules that match your audio. Metadata includes the rule filter
|
595
|
+
# (such as `InterruptionFilter`, `NonTalkTimeFilter`,
|
596
|
+
# `SentimentFilter`, and `TranscriptFilter`) and where in your audio
|
597
|
+
# (`StartTime` and `EndTime`) the rule has a match.
|
589
598
|
# @return [Types::CategoryProperties]
|
590
599
|
#
|
591
600
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateCallAnalyticsCategoryResponse AWS API Documentation
|
@@ -617,34 +626,39 @@ module Aws::TranscribeService
|
|
617
626
|
# }
|
618
627
|
#
|
619
628
|
# @!attribute [rw] language_code
|
620
|
-
# The language of
|
621
|
-
# language
|
629
|
+
# The language of your custom language model; note that the language
|
630
|
+
# code you select must match the language of your training and tuning
|
631
|
+
# data.
|
622
632
|
# @return [String]
|
623
633
|
#
|
624
634
|
# @!attribute [rw] base_model_name
|
625
|
-
# The Amazon Transcribe standard language model, or base model used
|
626
|
-
# create your custom language model.
|
627
|
-
#
|
628
|
-
# If you want to use your custom language model to transcribe audio
|
629
|
-
# with a sample rate of 16,000 Hz or greater, choose `Wideband`.
|
635
|
+
# The Amazon Transcribe standard language model, or base model, used
|
636
|
+
# to create your custom language model. Amazon Transcribe offers two
|
637
|
+
# options for base models: Wideband and Narrowband.
|
630
638
|
#
|
631
|
-
# If you want to
|
632
|
-
#
|
639
|
+
# If the audio you want to transcribe has a sample rate of 16,000 Hz
|
640
|
+
# or greater, choose `WideBand`. To transcribe audio with a sample
|
641
|
+
# rate less than 16,000 Hz, choose `NarrowBand`.
|
633
642
|
# @return [String]
|
634
643
|
#
|
635
644
|
# @!attribute [rw] model_name
|
636
|
-
# The name
|
637
|
-
#
|
645
|
+
# The name of your new custom language model.
|
646
|
+
#
|
647
|
+
# This name is case sensitive, cannot contain spaces, and must be
|
648
|
+
# unique within an Amazon Web Services account. If you try to create a
|
649
|
+
# language model with the same name as a previous language model, you
|
650
|
+
# get a `ConflictException` error.
|
638
651
|
# @return [String]
|
639
652
|
#
|
640
653
|
# @!attribute [rw] input_data_config
|
641
|
-
# Contains
|
642
|
-
#
|
654
|
+
# Contains your data access role ARN (Amazon Resource Name) and the
|
655
|
+
# Amazon S3 locations of your training (`S3Uri`) and tuning
|
656
|
+
# (`TuningDataS3Uri`) data.
|
643
657
|
# @return [Types::InputDataConfig]
|
644
658
|
#
|
645
659
|
# @!attribute [rw] tags
|
646
|
-
#
|
647
|
-
# new language model
|
660
|
+
# Optionally add tags, each in the form of a key:value pair, to your
|
661
|
+
# new language model. See also: .
|
648
662
|
# @return [Array<Types::Tag>]
|
649
663
|
#
|
650
664
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateLanguageModelRequest AWS API Documentation
|
@@ -660,27 +674,31 @@ module Aws::TranscribeService
|
|
660
674
|
end
|
661
675
|
|
662
676
|
# @!attribute [rw] language_code
|
663
|
-
# The language code
|
664
|
-
# language model.
|
677
|
+
# The language code you selected for your custom language model.
|
665
678
|
# @return [String]
|
666
679
|
#
|
667
680
|
# @!attribute [rw] base_model_name
|
668
|
-
# The Amazon Transcribe standard language model, or base model you
|
669
|
-
# used
|
681
|
+
# The Amazon Transcribe standard language model, or base model, you
|
682
|
+
# used when creating your custom language model.
|
683
|
+
#
|
684
|
+
# If your audio has a sample rate of 16,000 Hz or greater, this value
|
685
|
+
# should be `WideBand`. If your audio has a sample rate of less than
|
686
|
+
# 16,000 Hz, this value should be `NarrowBand`.
|
670
687
|
# @return [String]
|
671
688
|
#
|
672
689
|
# @!attribute [rw] model_name
|
673
|
-
# The name you
|
690
|
+
# The unique name you chose for your custom language model.
|
674
691
|
# @return [String]
|
675
692
|
#
|
676
693
|
# @!attribute [rw] input_data_config
|
677
|
-
#
|
678
|
-
# your
|
694
|
+
# Lists your data access role ARN (Amazon Resource Name) and the
|
695
|
+
# Amazon S3 locations your provided for your training (`S3Uri`) and
|
696
|
+
# tuning (`TuningDataS3Uri`) data.
|
679
697
|
# @return [Types::InputDataConfig]
|
680
698
|
#
|
681
699
|
# @!attribute [rw] model_status
|
682
|
-
# The status of
|
683
|
-
# `COMPLETED
|
700
|
+
# The status of your custom language model. When the status shows as
|
701
|
+
# `COMPLETED`, your model is ready to use.
|
684
702
|
# @return [String]
|
685
703
|
#
|
686
704
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateLanguageModelResponse AWS API Documentation
|
@@ -711,48 +729,40 @@ module Aws::TranscribeService
|
|
711
729
|
# }
|
712
730
|
#
|
713
731
|
# @!attribute [rw] vocabulary_name
|
714
|
-
# The name of
|
732
|
+
# The name of your new vocabulary.
|
733
|
+
#
|
734
|
+
# This name is case sensitive, cannot contain spaces, and must be
|
715
735
|
# unique within an Amazon Web Services account. If you try to create a
|
716
736
|
# vocabulary with the same name as a previous vocabulary, you get a
|
717
737
|
# `ConflictException` error.
|
718
738
|
# @return [String]
|
719
739
|
#
|
720
740
|
# @!attribute [rw] language_code
|
721
|
-
# The language code
|
722
|
-
# custom vocabulary.
|
723
|
-
#
|
724
|
-
# (en-US) is the only language code available for Amazon Transcribe
|
725
|
-
# Medical.
|
741
|
+
# The language code that represents the language of the entries in
|
742
|
+
# your custom vocabulary. Note that U.S. English (`en-US`) is the only
|
743
|
+
# language supported with Amazon Transcribe Medical.
|
726
744
|
# @return [String]
|
727
745
|
#
|
728
746
|
# @!attribute [rw] vocabulary_file_uri
|
729
|
-
# The
|
747
|
+
# The Amazon S3 location (URI) of the text file that contains your
|
730
748
|
# custom vocabulary. The URI must be in the same Amazon Web Services
|
731
|
-
# Region as the resource that you're calling.
|
732
|
-
# your `VocabularyFileUri` in the following format:
|
733
|
-
#
|
734
|
-
# `https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>`
|
749
|
+
# Region as the resource that you're calling.
|
735
750
|
#
|
736
|
-
#
|
737
|
-
# in Amazon S3:
|
751
|
+
# Here's an example URI path:
|
738
752
|
#
|
739
|
-
# `https://s3.us-east-1.amazonaws.com/
|
740
|
-
#
|
741
|
-
# For more information about Amazon S3 object names, see [Object
|
742
|
-
# Keys][1] in the *Amazon S3 Developer Guide*.
|
753
|
+
# `https://s3.us-east-1.amazonaws.com/my-s3-bucket/my-vocab-file.txt`
|
754
|
+
# @return [String]
|
743
755
|
#
|
744
|
-
#
|
745
|
-
#
|
756
|
+
# @!attribute [rw] tags
|
757
|
+
# Adds one or more tags, each in the form of a key:value pair, to a
|
758
|
+
# new medical vocabulary at the time you create the new vocabulary.
|
746
759
|
#
|
760
|
+
# To learn more about using tags with Amazon Transcribe, refer to
|
761
|
+
# [Tagging resources][1].
|
747
762
|
#
|
748
763
|
#
|
749
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
|
750
|
-
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/vocabulary-med.html
|
751
|
-
# @return [String]
|
752
764
|
#
|
753
|
-
#
|
754
|
-
# Adds one or more tags, each in the form of a key:value pair, to a
|
755
|
-
# new medical vocabulary at the time you create this new vocabulary.
|
765
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/tagging.html
|
756
766
|
# @return [Array<Types::Tag>]
|
757
767
|
#
|
758
768
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateMedicalVocabularyRequest AWS API Documentation
|
@@ -767,28 +777,27 @@ module Aws::TranscribeService
|
|
767
777
|
end
|
768
778
|
|
769
779
|
# @!attribute [rw] vocabulary_name
|
770
|
-
# The name
|
771
|
-
# Web Services account and is case sensitive.
|
780
|
+
# The name you chose for your vocabulary.
|
772
781
|
# @return [String]
|
773
782
|
#
|
774
783
|
# @!attribute [rw] language_code
|
775
|
-
# The language code
|
776
|
-
# English (en-US) is the only
|
777
|
-
# Transcribe Medical.
|
784
|
+
# The language code you selected for your medical vocabulary. Note
|
785
|
+
# that U.S. English (`en-US`) is the only language supported with
|
786
|
+
# Amazon Transcribe Medical.
|
778
787
|
# @return [String]
|
779
788
|
#
|
780
789
|
# @!attribute [rw] vocabulary_state
|
781
|
-
# The processing state of your custom vocabulary
|
782
|
-
#
|
790
|
+
# The processing state of your custom medical vocabulary. If the state
|
791
|
+
# is `READY`, you can use the vocabulary in a
|
783
792
|
# `StartMedicalTranscriptionJob` request.
|
784
793
|
# @return [String]
|
785
794
|
#
|
786
795
|
# @!attribute [rw] last_modified_time
|
787
|
-
# The date and time
|
796
|
+
# The date and time you created your custom medical vocabulary.
|
788
797
|
# @return [Time]
|
789
798
|
#
|
790
799
|
# @!attribute [rw] failure_reason
|
791
|
-
# If the `VocabularyState` field is `FAILED`,
|
800
|
+
# If the `VocabularyState` field is `FAILED`, `FailureReason` contains
|
792
801
|
# information about why the job failed.
|
793
802
|
# @return [String]
|
794
803
|
#
|
@@ -821,10 +830,12 @@ module Aws::TranscribeService
|
|
821
830
|
# }
|
822
831
|
#
|
823
832
|
# @!attribute [rw] vocabulary_filter_name
|
824
|
-
# The
|
825
|
-
#
|
826
|
-
#
|
827
|
-
#
|
833
|
+
# The name of your new vocabulary filter.
|
834
|
+
#
|
835
|
+
# This name is case sensitive, cannot contain spaces, and must be
|
836
|
+
# unique within an Amazon Web Services account. If you try to create a
|
837
|
+
# vocabulary filter with the same name as a previous vocabulary
|
838
|
+
# filter, you get a `ConflictException` error.
|
828
839
|
# @return [String]
|
829
840
|
#
|
830
841
|
# @!attribute [rw] language_code
|
@@ -834,12 +845,12 @@ module Aws::TranscribeService
|
|
834
845
|
# @return [String]
|
835
846
|
#
|
836
847
|
# @!attribute [rw] words
|
837
|
-
# The words
|
838
|
-
# the
|
839
|
-
#
|
848
|
+
# The words you want in your vocabulary filter. Only use characters
|
849
|
+
# specified in the [Character sets][1] for the language you're
|
850
|
+
# transcribing.
|
840
851
|
#
|
841
|
-
#
|
842
|
-
#
|
852
|
+
# Note that if you include `Words` in your request, you cannot use
|
853
|
+
# `VocabularyFilterFileUri`; you must choose one or the other.
|
843
854
|
#
|
844
855
|
#
|
845
856
|
#
|
@@ -852,11 +863,10 @@ module Aws::TranscribeService
|
|
852
863
|
# defined for custom vocabularies. For a list of character sets, see
|
853
864
|
# [Character Sets for Custom Vocabularies][1].
|
854
865
|
#
|
855
|
-
#
|
866
|
+
# Your vocabulary filter file must be less than 50 KB in size.
|
856
867
|
#
|
857
|
-
#
|
858
|
-
# `
|
859
|
-
# parameter.
|
868
|
+
# Note that if you include `VocabularyFilterFileUri` in your request,
|
869
|
+
# you cannot use `Words`; you must choose one or the other.
|
860
870
|
#
|
861
871
|
#
|
862
872
|
#
|
@@ -865,8 +875,8 @@ module Aws::TranscribeService
|
|
865
875
|
#
|
866
876
|
# @!attribute [rw] tags
|
867
877
|
# Adds one or more tags, each in the form of a key:value pair, to a
|
868
|
-
# new
|
869
|
-
#
|
878
|
+
# new vocabulary filter at the time you create this new vocabulary
|
879
|
+
# filter.
|
870
880
|
# @return [Array<Types::Tag>]
|
871
881
|
#
|
872
882
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateVocabularyFilterRequest AWS API Documentation
|
@@ -886,11 +896,11 @@ module Aws::TranscribeService
|
|
886
896
|
# @return [String]
|
887
897
|
#
|
888
898
|
# @!attribute [rw] language_code
|
889
|
-
# The language code
|
899
|
+
# The language code associated with your vocabulary filter.
|
890
900
|
# @return [String]
|
891
901
|
#
|
892
902
|
# @!attribute [rw] last_modified_time
|
893
|
-
# The date and time
|
903
|
+
# The date and time the vocabulary filter was modified.
|
894
904
|
# @return [Time]
|
895
905
|
#
|
896
906
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateVocabularyFilterResponse AWS API Documentation
|
@@ -920,50 +930,48 @@ module Aws::TranscribeService
|
|
920
930
|
# }
|
921
931
|
#
|
922
932
|
# @!attribute [rw] vocabulary_name
|
923
|
-
# The name of
|
924
|
-
# Web Services account. The name is case sensitive. If you try to
|
925
|
-
# create a vocabulary with the same name as a previous vocabulary you
|
926
|
-
# will receive a `ConflictException` error.
|
927
|
-
# @return [String]
|
933
|
+
# The name of your new vocabulary.
|
928
934
|
#
|
929
|
-
#
|
930
|
-
#
|
931
|
-
#
|
935
|
+
# This name is case sensitive, cannot contain spaces, and must be
|
936
|
+
# unique within an Amazon Web Services account. If you try to create a
|
937
|
+
# vocabulary with the same name as a previous vocabulary, you get a
|
938
|
+
# `ConflictException` error.
|
932
939
|
# @return [String]
|
933
940
|
#
|
934
|
-
# @!attribute [rw]
|
935
|
-
#
|
936
|
-
#
|
941
|
+
# @!attribute [rw] language_code
|
942
|
+
# The language code that represents the language of the entries in
|
943
|
+
# your custom vocabulary. Each vocabulary must contain terms in only
|
944
|
+
# one language. For a list of languages and their corresponding
|
945
|
+
# language codes, see [Supported languages][1].
|
937
946
|
#
|
938
|
-
# @!attribute [rw] vocabulary_file_uri
|
939
|
-
# The S3 location of the text file that contains the definition of the
|
940
|
-
# custom vocabulary. The URI must be in the same region as the API
|
941
|
-
# endpoint that you are calling. The general form is:
|
942
947
|
#
|
943
|
-
# `https://s3.<Amazon Web
|
944
|
-
# Services-region>.amazonaws.com/<AWSDOC-EXAMPLE-BUCKET>/<keyprefix>/<objectkey>
|
945
|
-
# `
|
946
948
|
#
|
947
|
-
#
|
949
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html
|
950
|
+
# @return [String]
|
948
951
|
#
|
949
|
-
#
|
952
|
+
# @!attribute [rw] phrases
|
953
|
+
# Use this flag to include a list of terms within your request.
|
950
954
|
#
|
951
|
-
#
|
952
|
-
#
|
955
|
+
# Note that if you include `Phrases` in your request, you cannot use
|
956
|
+
# `VocabularyFileUri`; you must choose one or the other.
|
957
|
+
# @return [Array<String>]
|
953
958
|
#
|
954
|
-
#
|
955
|
-
#
|
959
|
+
# @!attribute [rw] vocabulary_file_uri
|
960
|
+
# The S3 location of the text file that contains your custom
|
961
|
+
# vocabulary. The URI must be located in the same region as the API
|
962
|
+
# endpoint you're calling.
|
956
963
|
#
|
964
|
+
# Here's an example URI path:
|
957
965
|
#
|
966
|
+
# `https://s3.us-east-1.amazonaws.com/my-s3-bucket/my-vocab-file.txt`
|
958
967
|
#
|
959
|
-
#
|
960
|
-
#
|
968
|
+
# Note that if you include `VocabularyFileUri` in your request, you
|
969
|
+
# cannot use the `Phrases` flag; you must choose one or the other.
|
961
970
|
# @return [String]
|
962
971
|
#
|
963
972
|
# @!attribute [rw] tags
|
964
973
|
# Adds one or more tags, each in the form of a key:value pair, to a
|
965
|
-
# new
|
966
|
-
# vocabulary.
|
974
|
+
# new custom vocabulary at the time you create this new vocabulary.
|
967
975
|
# @return [Array<Types::Tag>]
|
968
976
|
#
|
969
977
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateVocabularyRequest AWS API Documentation
|
@@ -979,25 +987,24 @@ module Aws::TranscribeService
|
|
979
987
|
end
|
980
988
|
|
981
989
|
# @!attribute [rw] vocabulary_name
|
982
|
-
# The name
|
990
|
+
# The name you chose for your vocabulary.
|
983
991
|
# @return [String]
|
984
992
|
#
|
985
993
|
# @!attribute [rw] language_code
|
986
|
-
# The language code
|
994
|
+
# The language code you selected for your vocabulary.
|
987
995
|
# @return [String]
|
988
996
|
#
|
989
997
|
# @!attribute [rw] vocabulary_state
|
990
|
-
# The processing state of
|
991
|
-
#
|
992
|
-
# `StartTranscriptionJob` request.
|
998
|
+
# The processing state of your vocabulary. If the state is `READY`,
|
999
|
+
# you can use the vocabulary in a `StartTranscriptionJob` request.
|
993
1000
|
# @return [String]
|
994
1001
|
#
|
995
1002
|
# @!attribute [rw] last_modified_time
|
996
|
-
# The date and time
|
1003
|
+
# The date and time you created your custom vocabulary.
|
997
1004
|
# @return [Time]
|
998
1005
|
#
|
999
1006
|
# @!attribute [rw] failure_reason
|
1000
|
-
# If the `VocabularyState` field is `FAILED`,
|
1007
|
+
# If the `VocabularyState` field is `FAILED`, `FailureReason` contains
|
1001
1008
|
# information about why the job failed.
|
1002
1009
|
# @return [String]
|
1003
1010
|
#
|
@@ -1021,8 +1028,8 @@ module Aws::TranscribeService
|
|
1021
1028
|
# }
|
1022
1029
|
#
|
1023
1030
|
# @!attribute [rw] category_name
|
1024
|
-
# The name of the call analytics category
|
1025
|
-
#
|
1031
|
+
# The name of the call analytics category you want to delete. Category
|
1032
|
+
# names are case-sensitive.
|
1026
1033
|
# @return [String]
|
1027
1034
|
#
|
1028
1035
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteCallAnalyticsCategoryRequest AWS API Documentation
|
@@ -1045,7 +1052,8 @@ module Aws::TranscribeService
|
|
1045
1052
|
# }
|
1046
1053
|
#
|
1047
1054
|
# @!attribute [rw] call_analytics_job_name
|
1048
|
-
# The name of the call analytics job you want to delete.
|
1055
|
+
# The name of the call analytics job you want to delete. Job names are
|
1056
|
+
# case-sensitive.
|
1049
1057
|
# @return [String]
|
1050
1058
|
#
|
1051
1059
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteCallAnalyticsJobRequest AWS API Documentation
|
@@ -1068,7 +1076,8 @@ module Aws::TranscribeService
|
|
1068
1076
|
# }
|
1069
1077
|
#
|
1070
1078
|
# @!attribute [rw] model_name
|
1071
|
-
# The name of the model you
|
1079
|
+
# The name of the model you want to delete. Model names are
|
1080
|
+
# case-sensitive.
|
1072
1081
|
# @return [String]
|
1073
1082
|
#
|
1074
1083
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteLanguageModelRequest AWS API Documentation
|
@@ -1087,8 +1096,8 @@ module Aws::TranscribeService
|
|
1087
1096
|
# }
|
1088
1097
|
#
|
1089
1098
|
# @!attribute [rw] medical_transcription_job_name
|
1090
|
-
# The name you
|
1091
|
-
#
|
1099
|
+
# The name of the medical transcription job you want to delete. Job
|
1100
|
+
# names are case-sensitive.
|
1092
1101
|
# @return [String]
|
1093
1102
|
#
|
1094
1103
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteMedicalTranscriptionJobRequest AWS API Documentation
|
@@ -1107,7 +1116,8 @@ module Aws::TranscribeService
|
|
1107
1116
|
# }
|
1108
1117
|
#
|
1109
1118
|
# @!attribute [rw] vocabulary_name
|
1110
|
-
# The name of the vocabulary that you want to delete.
|
1119
|
+
# The name of the vocabulary that you want to delete. Vocabulary names
|
1120
|
+
# are case-sensitive.
|
1111
1121
|
# @return [String]
|
1112
1122
|
#
|
1113
1123
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteMedicalVocabularyRequest AWS API Documentation
|
@@ -1126,7 +1136,8 @@ module Aws::TranscribeService
|
|
1126
1136
|
# }
|
1127
1137
|
#
|
1128
1138
|
# @!attribute [rw] transcription_job_name
|
1129
|
-
# The name of the transcription job to
|
1139
|
+
# The name of the transcription job you want to delete. Job names are
|
1140
|
+
# case-sensitive.
|
1130
1141
|
# @return [String]
|
1131
1142
|
#
|
1132
1143
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteTranscriptionJobRequest AWS API Documentation
|
@@ -1145,7 +1156,8 @@ module Aws::TranscribeService
|
|
1145
1156
|
# }
|
1146
1157
|
#
|
1147
1158
|
# @!attribute [rw] vocabulary_filter_name
|
1148
|
-
# The name of the vocabulary filter to
|
1159
|
+
# The name of the vocabulary filter you want to delete. Vocabulary
|
1160
|
+
# filter names are case-sensitive.
|
1149
1161
|
# @return [String]
|
1150
1162
|
#
|
1151
1163
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteVocabularyFilterRequest AWS API Documentation
|
@@ -1164,7 +1176,8 @@ module Aws::TranscribeService
|
|
1164
1176
|
# }
|
1165
1177
|
#
|
1166
1178
|
# @!attribute [rw] vocabulary_name
|
1167
|
-
# The name of the vocabulary to delete.
|
1179
|
+
# The name of the vocabulary you want to delete. Vocabulary names are
|
1180
|
+
# case-sensitive.
|
1168
1181
|
# @return [String]
|
1169
1182
|
#
|
1170
1183
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteVocabularyRequest AWS API Documentation
|
@@ -1183,8 +1196,8 @@ module Aws::TranscribeService
|
|
1183
1196
|
# }
|
1184
1197
|
#
|
1185
1198
|
# @!attribute [rw] model_name
|
1186
|
-
# The name of the custom language model you
|
1187
|
-
#
|
1199
|
+
# The name of the custom language model you want described. Model
|
1200
|
+
# names are case-sensitive.
|
1188
1201
|
# @return [String]
|
1189
1202
|
#
|
1190
1203
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DescribeLanguageModelRequest AWS API Documentation
|
@@ -1216,8 +1229,8 @@ module Aws::TranscribeService
|
|
1216
1229
|
# }
|
1217
1230
|
#
|
1218
1231
|
# @!attribute [rw] category_name
|
1219
|
-
# The name of the category you want information about.
|
1220
|
-
# case sensitive.
|
1232
|
+
# The name of the category you want information about. Category names
|
1233
|
+
# are case sensitive.
|
1221
1234
|
# @return [String]
|
1222
1235
|
#
|
1223
1236
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetCallAnalyticsCategoryRequest AWS API Documentation
|
@@ -1229,7 +1242,8 @@ module Aws::TranscribeService
|
|
1229
1242
|
end
|
1230
1243
|
|
1231
1244
|
# @!attribute [rw] category_properties
|
1232
|
-
#
|
1245
|
+
# Provides you with the rules associated with the category you
|
1246
|
+
# specified in your `GetCallAnalyticsCategory` request.
|
1233
1247
|
# @return [Types::CategoryProperties]
|
1234
1248
|
#
|
1235
1249
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetCallAnalyticsCategoryResponse AWS API Documentation
|
@@ -1261,7 +1275,12 @@ module Aws::TranscribeService
|
|
1261
1275
|
end
|
1262
1276
|
|
1263
1277
|
# @!attribute [rw] call_analytics_job
|
1264
|
-
# An object that contains
|
1278
|
+
# An object that contains detailed information about your call
|
1279
|
+
# analytics job. Returned fields include: `CallAnalyticsJobName`,
|
1280
|
+
# `CallAnalyticsJobStatus`, `ChannelDefinitions`, `CompletionTime`,
|
1281
|
+
# `CreationTime`, `DataAccessRoleArn`, `FailureReason`,
|
1282
|
+
# `IdentifiedLanguageScore`, `LanguageCode`, `Media`, `MediaFormat`,
|
1283
|
+
# `MediaSampleRateHertz`, `Settings`, `StartTime`, and `Transcript`.
|
1265
1284
|
# @return [Types::CallAnalyticsJob]
|
1266
1285
|
#
|
1267
1286
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetCallAnalyticsJobResponse AWS API Documentation
|
@@ -1280,7 +1299,8 @@ module Aws::TranscribeService
|
|
1280
1299
|
# }
|
1281
1300
|
#
|
1282
1301
|
# @!attribute [rw] medical_transcription_job_name
|
1283
|
-
# The name of the medical transcription job
|
1302
|
+
# The name of the medical transcription job you want information
|
1303
|
+
# about. This value is case sensitive.
|
1284
1304
|
# @return [String]
|
1285
1305
|
#
|
1286
1306
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetMedicalTranscriptionJobRequest AWS API Documentation
|
@@ -1292,8 +1312,12 @@ module Aws::TranscribeService
|
|
1292
1312
|
end
|
1293
1313
|
|
1294
1314
|
# @!attribute [rw] medical_transcription_job
|
1295
|
-
# An object that contains
|
1296
|
-
# job.
|
1315
|
+
# An object that contains detailed information about your medical
|
1316
|
+
# transcription job. Returned fields include: `CompletionTime`,
|
1317
|
+
# `ContentIdentificationType`, `CreationTime`, `FailureReason`,
|
1318
|
+
# `LanguageCode`, `Media`, `MediaFormat`, `MediaSampleRateHertz`,
|
1319
|
+
# `MedicalTranscriptionJobName`, `Settings`, `Specialty`, `StartTime`,
|
1320
|
+
# `Tags`, `Transcript`, `TranscriptionJobStatus`, and `Type`.
|
1297
1321
|
# @return [Types::MedicalTranscriptionJob]
|
1298
1322
|
#
|
1299
1323
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetMedicalTranscriptionJobResponse AWS API Documentation
|
@@ -1312,7 +1336,7 @@ module Aws::TranscribeService
|
|
1312
1336
|
# }
|
1313
1337
|
#
|
1314
1338
|
# @!attribute [rw] vocabulary_name
|
1315
|
-
# The name of the vocabulary
|
1339
|
+
# The name of the medical vocabulary you want information about. This
|
1316
1340
|
# value is case sensitive.
|
1317
1341
|
# @return [String]
|
1318
1342
|
#
|
@@ -1344,14 +1368,20 @@ module Aws::TranscribeService
|
|
1344
1368
|
# @return [Time]
|
1345
1369
|
#
|
1346
1370
|
# @!attribute [rw] failure_reason
|
1347
|
-
# If
|
1348
|
-
# information about why the
|
1371
|
+
# If your request returns a `VocabularyState` that is `FAILED`, the
|
1372
|
+
# `FailureReason` field contains information about why the request
|
1373
|
+
# failed.
|
1374
|
+
#
|
1375
|
+
# For more information, refer to the [Common Errors][1] section.
|
1376
|
+
#
|
1377
|
+
#
|
1378
|
+
#
|
1379
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/APIReference/CommonErrors.html
|
1349
1380
|
# @return [String]
|
1350
1381
|
#
|
1351
1382
|
# @!attribute [rw] download_uri
|
1352
|
-
# The location
|
1353
|
-
#
|
1354
|
-
# vocabulary from the URI for a limited time.
|
1383
|
+
# The S3 location where the vocabulary is stored; use this URI to view
|
1384
|
+
# or download the vocabulary.
|
1355
1385
|
# @return [String]
|
1356
1386
|
#
|
1357
1387
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetMedicalVocabularyResponse AWS API Documentation
|
@@ -1747,7 +1777,7 @@ module Aws::TranscribeService
|
|
1747
1777
|
#
|
1748
1778
|
# @!attribute [rw] upgrade_availability
|
1749
1779
|
# Whether the base model used for the custom language model is up to
|
1750
|
-
# date. If this field is `
|
1780
|
+
# date. If this field is `false` then you are running the most
|
1751
1781
|
# up-to-date version of the base model in your custom language model.
|
1752
1782
|
# @return [Boolean]
|
1753
1783
|
#
|
@@ -2115,7 +2145,7 @@ module Aws::TranscribeService
|
|
2115
2145
|
# more jobs in the list will fit on a page, Amazon Transcribe Medical
|
2116
2146
|
# returns the `NextPage` token. To return the next page of
|
2117
2147
|
# vocabularies, include the token in the next request to the
|
2118
|
-
# `ListMedicalVocabularies` operation
|
2148
|
+
# `ListMedicalVocabularies` operation.
|
2119
2149
|
# @return [String]
|
2120
2150
|
#
|
2121
2151
|
# @!attribute [rw] vocabularies
|
@@ -2401,13 +2431,13 @@ module Aws::TranscribeService
|
|
2401
2431
|
# the same region as the API endpoint that you are calling. The
|
2402
2432
|
# general form is:
|
2403
2433
|
#
|
2404
|
-
# `
|
2434
|
+
# `s3://DOC-EXAMPLE-BUCKET/keyprefix/objectkey`
|
2405
2435
|
#
|
2406
2436
|
# For example:
|
2407
2437
|
#
|
2408
|
-
# `s3://
|
2438
|
+
# `s3://DOC-EXAMPLE-BUCKET/example.flac`
|
2409
2439
|
#
|
2410
|
-
# `s3://
|
2440
|
+
# `s3://DOC-EXAMPLE-BUCKET/mediafiles/example.flac`
|
2411
2441
|
#
|
2412
2442
|
# For more information about S3 object names, see [Object Keys][1] in
|
2413
2443
|
# the *Amazon S3 Developer Guide*.
|
@@ -3479,7 +3509,7 @@ module Aws::TranscribeService
|
|
3479
3509
|
# @return [String]
|
3480
3510
|
#
|
3481
3511
|
# @!attribute [rw] tags
|
3482
|
-
# Add tags to an Amazon Transcribe
|
3512
|
+
# Add tags to an Amazon Transcribe Medical transcription job.
|
3483
3513
|
# @return [Array<Types::Tag>]
|
3484
3514
|
#
|
3485
3515
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartMedicalTranscriptionJobRequest AWS API Documentation
|
@@ -3559,6 +3589,7 @@ module Aws::TranscribeService
|
|
3559
3589
|
# language_options: ["af-ZA"], # accepts af-ZA, ar-AE, ar-SA, 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-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ
|
3560
3590
|
# subtitles: {
|
3561
3591
|
# formats: ["vtt"], # accepts vtt, srt
|
3592
|
+
# output_start_index: 1,
|
3562
3593
|
# },
|
3563
3594
|
# tags: [
|
3564
3595
|
# {
|
@@ -3584,7 +3615,9 @@ module Aws::TranscribeService
|
|
3584
3615
|
# @return [String]
|
3585
3616
|
#
|
3586
3617
|
# @!attribute [rw] language_code
|
3587
|
-
# The language code for the language used in the input media file.
|
3618
|
+
# The language code for the language used in the input media file. You
|
3619
|
+
# must include either `LanguageCode` or `IdentifyLanguage` in your
|
3620
|
+
# request.
|
3588
3621
|
#
|
3589
3622
|
# To transcribe speech in Modern Standard Arabic (ar-SA), your audio
|
3590
3623
|
# or video file must be encoded at a sample rate of 16,000 Hz or
|
@@ -3729,6 +3762,9 @@ module Aws::TranscribeService
|
|
3729
3762
|
# identification. Automatic language identification is disabled by
|
3730
3763
|
# default. You receive a `BadRequestException` error if you enter a
|
3731
3764
|
# value for a `LanguageCode`.
|
3765
|
+
#
|
3766
|
+
# You must include either `LanguageCode` or `IdentifyLanguage` in your
|
3767
|
+
# request.
|
3732
3768
|
# @return [Boolean]
|
3733
3769
|
#
|
3734
3770
|
# @!attribute [rw] language_options
|
@@ -3782,7 +3818,7 @@ module Aws::TranscribeService
|
|
3782
3818
|
end
|
3783
3819
|
|
3784
3820
|
# @!attribute [rw] transcription_job
|
3785
|
-
#
|
3821
|
+
# Provides information about your asynchronous transcription job.
|
3786
3822
|
# @return [Types::TranscriptionJob]
|
3787
3823
|
#
|
3788
3824
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartTranscriptionJobResponse AWS API Documentation
|
@@ -3793,44 +3829,68 @@ module Aws::TranscribeService
|
|
3793
3829
|
include Aws::Structure
|
3794
3830
|
end
|
3795
3831
|
|
3796
|
-
# Generate subtitles for your batch transcription job.
|
3832
|
+
# Generate subtitles for your batch transcription job. Note that your
|
3833
|
+
# subtitle files are placed in the same location as your transcription
|
3834
|
+
# output.
|
3797
3835
|
#
|
3798
3836
|
# @note When making an API call, you may pass Subtitles
|
3799
3837
|
# data as a hash:
|
3800
3838
|
#
|
3801
3839
|
# {
|
3802
3840
|
# formats: ["vtt"], # accepts vtt, srt
|
3841
|
+
# output_start_index: 1,
|
3803
3842
|
# }
|
3804
3843
|
#
|
3805
3844
|
# @!attribute [rw] formats
|
3806
|
-
# Specify the output format for your subtitle file
|
3845
|
+
# Specify the output format for your subtitle file; if you select both
|
3846
|
+
# `srt` and `vtt` formats, two output files are generated.
|
3807
3847
|
# @return [Array<String>]
|
3808
3848
|
#
|
3849
|
+
# @!attribute [rw] output_start_index
|
3850
|
+
# Defines the starting value that is assigned to the first subtitle
|
3851
|
+
# segment.
|
3852
|
+
#
|
3853
|
+
# The default start index for Amazon Transcribe is `0`, which differs
|
3854
|
+
# from the more widely used standard of `1`. If you're uncertain
|
3855
|
+
# which value to use, we recommend choosing `1`, as this may improve
|
3856
|
+
# compatibility with other services.
|
3857
|
+
# @return [Integer]
|
3858
|
+
#
|
3809
3859
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/Subtitles AWS API Documentation
|
3810
3860
|
#
|
3811
3861
|
class Subtitles < Struct.new(
|
3812
|
-
:formats
|
3862
|
+
:formats,
|
3863
|
+
:output_start_index)
|
3813
3864
|
SENSITIVE = []
|
3814
3865
|
include Aws::Structure
|
3815
3866
|
end
|
3816
3867
|
|
3817
|
-
#
|
3868
|
+
# The S3 location where your subtitle files are located. Note that your
|
3869
|
+
# subtitle files are placed in the same location as your transcription
|
3870
|
+
# output. Refer to `TranscriptFileUri` to download your files.
|
3818
3871
|
#
|
3819
3872
|
# @!attribute [rw] formats
|
3820
|
-
#
|
3821
|
-
#
|
3873
|
+
# The format of your subtitle files. If your request specified both
|
3874
|
+
# `srt` and `vtt` formats, both formats are shown.
|
3822
3875
|
# @return [Array<String>]
|
3823
3876
|
#
|
3824
3877
|
# @!attribute [rw] subtitle_file_uris
|
3825
|
-
#
|
3878
|
+
# Contains the output location for your subtitle file. This location
|
3826
3879
|
# must be an S3 bucket.
|
3827
3880
|
# @return [Array<String>]
|
3828
3881
|
#
|
3882
|
+
# @!attribute [rw] output_start_index
|
3883
|
+
# Shows the output start index value for your subtitle files. If you
|
3884
|
+
# did not specify a value in your request, the default value of `0` is
|
3885
|
+
# used.
|
3886
|
+
# @return [Integer]
|
3887
|
+
#
|
3829
3888
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/SubtitlesOutput AWS API Documentation
|
3830
3889
|
#
|
3831
3890
|
class SubtitlesOutput < Struct.new(
|
3832
3891
|
:formats,
|
3833
|
-
:subtitle_file_uris
|
3892
|
+
:subtitle_file_uris,
|
3893
|
+
:output_start_index)
|
3834
3894
|
SENSITIVE = []
|
3835
3895
|
include Aws::Structure
|
3836
3896
|
end
|
@@ -4444,13 +4504,11 @@ module Aws::TranscribeService
|
|
4444
4504
|
# as the resource that you are calling. The following is the format
|
4445
4505
|
# for a URI:
|
4446
4506
|
#
|
4447
|
-
# `
|
4448
|
-
# https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
|
4449
|
-
# `
|
4507
|
+
# `https://s3.aws-region.amazonaws.com/bucket-name/keyprefix/objectkey`
|
4450
4508
|
#
|
4451
4509
|
# For example:
|
4452
4510
|
#
|
4453
|
-
# `https://s3.us-east-1.amazonaws.com/
|
4511
|
+
# `https://s3.us-east-1.amazonaws.com/DOC-EXAMPLE-BUCKET/vocab.txt`
|
4454
4512
|
#
|
4455
4513
|
# For more information about Amazon S3 object names, see [Object
|
4456
4514
|
# Keys][1] in the *Amazon S3 Developer Guide*.
|
@@ -4617,11 +4675,11 @@ module Aws::TranscribeService
|
|
4617
4675
|
# custom vocabulary. The URI must be in the same region as the API
|
4618
4676
|
# endpoint that you are calling. The general form is:
|
4619
4677
|
#
|
4620
|
-
# `https://s3
|
4678
|
+
# `https://s3.aws-region.amazonaws.com/bucket-name/keyprefix/objectkey`
|
4621
4679
|
#
|
4622
4680
|
# For example:
|
4623
4681
|
#
|
4624
|
-
# `https://s3.us-east-1.amazonaws.com/
|
4682
|
+
# `https://s3.us-east-1.amazonaws.com/DOC-EXAMPLE-BUCKET/vocab.txt`
|
4625
4683
|
#
|
4626
4684
|
# For more information about S3 object names, see [Object Keys][1] in
|
4627
4685
|
# the *Amazon S3 Developer Guide*.
|