aws-sdk-transcribeservice 1.38.0 → 1.39.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: d8448c1b3a410217b70f6a42c33e5a282f3bec5a5bb17d80aaa14791b5e8c1f9
4
- data.tar.gz: da367399c9369face3ad9ecbd60c0d14e560c542f8ff216ee1f0b748c7c33cd0
2
+ SHA1:
3
+ metadata.gz: 7fb270fbadc5c7965205c077f31f1468557892ac
4
+ data.tar.gz: cce5c28cad0ae3bb90cd110332f8cd4828e3555d
5
5
  SHA512:
6
- metadata.gz: eb4c5658022da2943cb84be75fd75042170431fdc3578bce17ae0e85be658287beed249677874500d9f190e4881bd9163c52d9495f78bb79160d1890513b1a41
7
- data.tar.gz: 91fe54f5d339547a9d27bd44a8314d8ea74aad5ed40b1c6a2d00e0cc3a866db5b3c8024073c4b1590f958966b23abf6fc1beea2a345c90a84414bbbf39168ab6
6
+ metadata.gz: 7cfa92e21685b586502d5c81b839bbbe06a184ebeec672004c15fb037d042d62b35872d84458602f6d00e2617d931d6ce75245bc6ed06051cd5ae822e72ca761
7
+ data.tar.gz: cc55173599059e9b6b447ed2671fe26734b2e07aff195a40f82e782b52e6dc69aa183390acfcbd0821c6791d0fc2458096d2f6f298f29639e7b7e32b06f67eaa
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-transcribeservice/customizations'
45
45
  # @service
46
46
  module Aws::TranscribeService
47
47
 
48
- GEM_VERSION = '1.38.0'
48
+ GEM_VERSION = '1.39.0'
49
49
 
50
50
  end
@@ -279,8 +279,7 @@ module Aws::TranscribeService
279
279
  #
280
280
  # @option options [Integer] :http_read_timeout (60) The default
281
281
  # number of seconds to wait for response data. This value can
282
- # safely be set
283
- # per-request on the session yielded by {#session_for}.
282
+ # safely be set per-request on the session.
284
283
  #
285
284
  # @option options [Float] :http_idle_timeout (5) The number of
286
285
  # seconds a connection is allowed to sit idle before it is
@@ -292,7 +291,7 @@ module Aws::TranscribeService
292
291
  # request body. This option has no effect unless the request has
293
292
  # "Expect" header set to "100-continue". Defaults to `nil` which
294
293
  # disables this behaviour. This value can safely be set per
295
- # request on the session yielded by {#session_for}.
294
+ # request on the session.
296
295
  #
297
296
  # @option options [Boolean] :http_wire_trace (false) When `true`,
298
297
  # HTTP debug output will be sent to the `:logger`.
@@ -460,6 +459,30 @@ module Aws::TranscribeService
460
459
  req.send_request(options)
461
460
  end
462
461
 
462
+ # Deletes a transcription job generated by Amazon Transcribe Medical and
463
+ # any related information.
464
+ #
465
+ # @option params [required, String] :medical_transcription_job_name
466
+ # The name you provide to the `DeleteMedicalTranscriptionJob` object to
467
+ # delete a transcription job.
468
+ #
469
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
470
+ #
471
+ # @example Request syntax with placeholder values
472
+ #
473
+ # resp = client.delete_medical_transcription_job({
474
+ # medical_transcription_job_name: "TranscriptionJobName", # required
475
+ # })
476
+ #
477
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteMedicalTranscriptionJob AWS API Documentation
478
+ #
479
+ # @overload delete_medical_transcription_job(params = {})
480
+ # @param [Hash] params ({})
481
+ def delete_medical_transcription_job(params = {}, options = {})
482
+ req = build_request(:delete_medical_transcription_job, params)
483
+ req.send_request(options)
484
+ end
485
+
463
486
  # Deletes a previously submitted transcription job along with any other
464
487
  # generated results such as the transcription, models, and so on.
465
488
  #
@@ -527,6 +550,55 @@ module Aws::TranscribeService
527
550
  req.send_request(options)
528
551
  end
529
552
 
553
+ # Returns information about a transcription job from Amazon Transcribe
554
+ # Medical. To see the status of the job, check the
555
+ # `TranscriptionJobStatus` field. If the status is `COMPLETED`, the job
556
+ # is finished. You find the results of the completed job in the
557
+ # `TranscriptFileUri` field.
558
+ #
559
+ # @option params [required, String] :medical_transcription_job_name
560
+ # The name of the medical transcription job.
561
+ #
562
+ # @return [Types::GetMedicalTranscriptionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
563
+ #
564
+ # * {Types::GetMedicalTranscriptionJobResponse#medical_transcription_job #medical_transcription_job} => Types::MedicalTranscriptionJob
565
+ #
566
+ # @example Request syntax with placeholder values
567
+ #
568
+ # resp = client.get_medical_transcription_job({
569
+ # medical_transcription_job_name: "TranscriptionJobName", # required
570
+ # })
571
+ #
572
+ # @example Response structure
573
+ #
574
+ # resp.medical_transcription_job.medical_transcription_job_name #=> String
575
+ # resp.medical_transcription_job.transcription_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
576
+ # resp.medical_transcription_job.language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR", "it-IT", "ko-KR", "es-ES", "en-IN", "hi-IN", "ar-SA", "ru-RU", "zh-CN", "nl-NL", "id-ID", "ta-IN", "fa-IR", "en-IE", "en-AB", "en-WL", "pt-PT", "te-IN", "tr-TR", "de-CH", "he-IL", "ms-MY", "ja-JP", "ar-AE"
577
+ # resp.medical_transcription_job.media_sample_rate_hertz #=> Integer
578
+ # resp.medical_transcription_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac"
579
+ # resp.medical_transcription_job.media.media_file_uri #=> String
580
+ # resp.medical_transcription_job.transcript.transcript_file_uri #=> String
581
+ # resp.medical_transcription_job.start_time #=> Time
582
+ # resp.medical_transcription_job.creation_time #=> Time
583
+ # resp.medical_transcription_job.completion_time #=> Time
584
+ # resp.medical_transcription_job.failure_reason #=> String
585
+ # resp.medical_transcription_job.settings.show_speaker_labels #=> Boolean
586
+ # resp.medical_transcription_job.settings.max_speaker_labels #=> Integer
587
+ # resp.medical_transcription_job.settings.channel_identification #=> Boolean
588
+ # resp.medical_transcription_job.settings.show_alternatives #=> Boolean
589
+ # resp.medical_transcription_job.settings.max_alternatives #=> Integer
590
+ # resp.medical_transcription_job.specialty #=> String, one of "PRIMARYCARE"
591
+ # resp.medical_transcription_job.type #=> String, one of "CONVERSATION", "DICTATION"
592
+ #
593
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetMedicalTranscriptionJob AWS API Documentation
594
+ #
595
+ # @overload get_medical_transcription_job(params = {})
596
+ # @param [Hash] params ({})
597
+ def get_medical_transcription_job(params = {}, options = {})
598
+ req = build_request(:get_medical_transcription_job, params)
599
+ req.send_request(options)
600
+ end
601
+
530
602
  # Returns information about a transcription job. To see the status of
531
603
  # the job, check the `TranscriptionJobStatus` field. If the status is
532
604
  # `COMPLETED`, the job is finished and you can find the results at the
@@ -656,6 +728,71 @@ module Aws::TranscribeService
656
728
  req.send_request(options)
657
729
  end
658
730
 
731
+ # Lists medical transcription jobs with a specified status or substring
732
+ # that matches their names.
733
+ #
734
+ # @option params [String] :status
735
+ # When specified, returns only medical transcription jobs with the
736
+ # specified status. Jobs are ordered by creation date, with the newest
737
+ # jobs returned first. If you don't specify a status, Amazon Transcribe
738
+ # Medical returns all transcription jobs ordered by creation date.
739
+ #
740
+ # @option params [String] :job_name_contains
741
+ # When specified, the jobs returned in the list are limited to jobs
742
+ # whose name contains the specified string.
743
+ #
744
+ # @option params [String] :next_token
745
+ # If you a receive a truncated result in the previous request of
746
+ # `ListMedicalTranscriptionJobs`, include `NextToken` to fetch the next
747
+ # set of jobs.
748
+ #
749
+ # @option params [Integer] :max_results
750
+ # The maximum number of medical transcription jobs to return in the
751
+ # response. IF there are fewer results in the list, this response
752
+ # contains only the actual results.
753
+ #
754
+ # @return [Types::ListMedicalTranscriptionJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
755
+ #
756
+ # * {Types::ListMedicalTranscriptionJobsResponse#status #status} => String
757
+ # * {Types::ListMedicalTranscriptionJobsResponse#next_token #next_token} => String
758
+ # * {Types::ListMedicalTranscriptionJobsResponse#medical_transcription_job_summaries #medical_transcription_job_summaries} => Array<Types::MedicalTranscriptionJobSummary>
759
+ #
760
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
761
+ #
762
+ # @example Request syntax with placeholder values
763
+ #
764
+ # resp = client.list_medical_transcription_jobs({
765
+ # status: "QUEUED", # accepts QUEUED, IN_PROGRESS, FAILED, COMPLETED
766
+ # job_name_contains: "TranscriptionJobName",
767
+ # next_token: "NextToken",
768
+ # max_results: 1,
769
+ # })
770
+ #
771
+ # @example Response structure
772
+ #
773
+ # resp.status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
774
+ # resp.next_token #=> String
775
+ # resp.medical_transcription_job_summaries #=> Array
776
+ # resp.medical_transcription_job_summaries[0].medical_transcription_job_name #=> String
777
+ # resp.medical_transcription_job_summaries[0].creation_time #=> Time
778
+ # resp.medical_transcription_job_summaries[0].start_time #=> Time
779
+ # resp.medical_transcription_job_summaries[0].completion_time #=> Time
780
+ # resp.medical_transcription_job_summaries[0].language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR", "it-IT", "ko-KR", "es-ES", "en-IN", "hi-IN", "ar-SA", "ru-RU", "zh-CN", "nl-NL", "id-ID", "ta-IN", "fa-IR", "en-IE", "en-AB", "en-WL", "pt-PT", "te-IN", "tr-TR", "de-CH", "he-IL", "ms-MY", "ja-JP", "ar-AE"
781
+ # resp.medical_transcription_job_summaries[0].transcription_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
782
+ # resp.medical_transcription_job_summaries[0].failure_reason #=> String
783
+ # resp.medical_transcription_job_summaries[0].output_location_type #=> String, one of "CUSTOMER_BUCKET", "SERVICE_BUCKET"
784
+ # resp.medical_transcription_job_summaries[0].specialty #=> String, one of "PRIMARYCARE"
785
+ # resp.medical_transcription_job_summaries[0].type #=> String, one of "CONVERSATION", "DICTATION"
786
+ #
787
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListMedicalTranscriptionJobs AWS API Documentation
788
+ #
789
+ # @overload list_medical_transcription_jobs(params = {})
790
+ # @param [Hash] params ({})
791
+ def list_medical_transcription_jobs(params = {}, options = {})
792
+ req = build_request(:list_medical_transcription_jobs, params)
793
+ req.send_request(options)
794
+ end
795
+
659
796
  # Lists transcription jobs with the specified status.
660
797
  #
661
798
  # @option params [String] :status
@@ -683,6 +820,8 @@ module Aws::TranscribeService
683
820
  # * {Types::ListTranscriptionJobsResponse#next_token #next_token} => String
684
821
  # * {Types::ListTranscriptionJobsResponse#transcription_job_summaries #transcription_job_summaries} => Array<Types::TranscriptionJobSummary>
685
822
  #
823
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
824
+ #
686
825
  # @example Request syntax with placeholder values
687
826
  #
688
827
  # resp = client.list_transcription_jobs({
@@ -736,8 +875,8 @@ module Aws::TranscribeService
736
875
  # @option params [String] :name_contains
737
876
  # When specified, the vocabularies returned in the list are limited to
738
877
  # vocabularies whose name contains the specified string. The search is
739
- # case-insensitive, `ListVocabularies` will return both
740
- # "vocabularyname" and "VocabularyName" in the response list.
878
+ # case-insensitive, `ListVocabularies` returns both "vocabularyname"
879
+ # and "VocabularyName" in the response list.
741
880
  #
742
881
  # @return [Types::ListVocabulariesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
743
882
  #
@@ -745,6 +884,8 @@ module Aws::TranscribeService
745
884
  # * {Types::ListVocabulariesResponse#next_token #next_token} => String
746
885
  # * {Types::ListVocabulariesResponse#vocabularies #vocabularies} => Array<Types::VocabularyInfo>
747
886
  #
887
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
888
+ #
748
889
  # @example Request syntax with placeholder values
749
890
  #
750
891
  # resp = client.list_vocabularies({
@@ -794,6 +935,8 @@ module Aws::TranscribeService
794
935
  # * {Types::ListVocabularyFiltersResponse#next_token #next_token} => String
795
936
  # * {Types::ListVocabularyFiltersResponse#vocabulary_filters #vocabulary_filters} => Array<Types::VocabularyFilterInfo>
796
937
  #
938
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
939
+ #
797
940
  # @example Request syntax with placeholder values
798
941
  #
799
942
  # resp = client.list_vocabulary_filters({
@@ -819,6 +962,153 @@ module Aws::TranscribeService
819
962
  req.send_request(options)
820
963
  end
821
964
 
965
+ # Start a batch job to transcribe medical speech to text.
966
+ #
967
+ # @option params [required, String] :medical_transcription_job_name
968
+ # The name of the medical transcription job. You can't use the strings
969
+ # "." or ".." by themselves as the job name. The name must also be
970
+ # unique within an AWS account.
971
+ #
972
+ # @option params [required, String] :language_code
973
+ # The language code for the language spoken in the input media file. US
974
+ # English (en-US) is the valid value for medical transcription jobs. Any
975
+ # other value you enter for language code results in a
976
+ # `BadRequestException` error.
977
+ #
978
+ # @option params [Integer] :media_sample_rate_hertz
979
+ # The sample rate, in Hertz, of the audio track in the input media file.
980
+ #
981
+ # If you do not specify the media sample rate, Amazon Transcribe Medical
982
+ # determines the sample rate. If you specify the sample rate, it must
983
+ # match the rate detected by Amazon Transcribe Medical. In most cases,
984
+ # you should leave the `MediaSampleRateHertz` field blank and let Amazon
985
+ # Transcribe Medical determine the sample rate.
986
+ #
987
+ # @option params [String] :media_format
988
+ # The audio format of the input media file.
989
+ #
990
+ # @option params [required, Types::Media] :media
991
+ # Describes the input media file in a transcription request.
992
+ #
993
+ # @option params [required, String] :output_bucket_name
994
+ # The Amazon S3 location where the transcription is stored.
995
+ #
996
+ # You must set `OutputBucketName` for Amazon Transcribe Medical to store
997
+ # the transcription results. Your transcript appears in the S3 location
998
+ # you specify. When you call the GetMedicalTranscriptionJob, the
999
+ # operation returns this location in the `TranscriptFileUri` field. The
1000
+ # S3 bucket must have permissions that allow Amazon Transcribe Medical
1001
+ # to put files in the bucket. For more information, see [Permissions
1002
+ # Required for IAM User Roles][1].
1003
+ #
1004
+ # You can specify an AWS Key Management Service (KMS) key to encrypt the
1005
+ # output of your transcription using the `OutputEncryptionKMSKeyId`
1006
+ # parameter. If you don't specify a KMS key, Amazon Transcribe Medical
1007
+ # uses the default Amazon S3 key for server-side encryption of
1008
+ # transcripts that are placed in your S3 bucket.
1009
+ #
1010
+ #
1011
+ #
1012
+ # [1]: https://docs.aws.amazon.com/transcribe/latest/dg/security_iam_id-based-policy-examples.html#auth-role-iam-user
1013
+ #
1014
+ # @option params [String] :output_encryption_kms_key_id
1015
+ # The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS)
1016
+ # key used to encrypt the output of the transcription job. The user
1017
+ # calling the StartMedicalTranscriptionJob operation must have
1018
+ # permission to use the specified KMS key.
1019
+ #
1020
+ # You use either of the following to identify a KMS key in the current
1021
+ # account:
1022
+ #
1023
+ # * KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
1024
+ #
1025
+ # * KMS Key Alias: "alias/ExampleAlias"
1026
+ #
1027
+ # You can use either of the following to identify a KMS key in the
1028
+ # current account or another account:
1029
+ #
1030
+ # * Amazon Resource Name (ARN) of a KMS key in the current account or
1031
+ # another account: "arn:aws:kms:region:account
1032
+ # ID:key/1234abcd-12ab-34cd-56ef-1234567890ab"
1033
+ #
1034
+ # * ARN of a KMS Key Alias: "arn:aws:kms:region:account
1035
+ # ID:alias/ExampleAlias"
1036
+ #
1037
+ # If you don't specify an encryption key, the output of the medical
1038
+ # transcription job is encrypted with the default Amazon S3 key
1039
+ # (SSE-S3).
1040
+ #
1041
+ # If you specify a KMS key to encrypt your output, you must also specify
1042
+ # an output location in the `OutputBucketName` parameter.
1043
+ #
1044
+ # @option params [Types::MedicalTranscriptionSetting] :settings
1045
+ # Optional settings for the medical transcription job.
1046
+ #
1047
+ # @option params [required, String] :specialty
1048
+ # The medical specialty of any clinician speaking in the input media.
1049
+ #
1050
+ # @option params [required, String] :type
1051
+ # The speech of clinician in the input audio. `CONVERSATION` refers to
1052
+ # conversations clinicians have with patients. `DICTATION` refers to
1053
+ # medical professionals dictating their notes about a patient encounter.
1054
+ #
1055
+ # @return [Types::StartMedicalTranscriptionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1056
+ #
1057
+ # * {Types::StartMedicalTranscriptionJobResponse#medical_transcription_job #medical_transcription_job} => Types::MedicalTranscriptionJob
1058
+ #
1059
+ # @example Request syntax with placeholder values
1060
+ #
1061
+ # resp = client.start_medical_transcription_job({
1062
+ # medical_transcription_job_name: "TranscriptionJobName", # required
1063
+ # language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR, it-IT, ko-KR, es-ES, en-IN, hi-IN, ar-SA, ru-RU, zh-CN, nl-NL, id-ID, ta-IN, fa-IR, en-IE, en-AB, en-WL, pt-PT, te-IN, tr-TR, de-CH, he-IL, ms-MY, ja-JP, ar-AE
1064
+ # media_sample_rate_hertz: 1,
1065
+ # media_format: "mp3", # accepts mp3, mp4, wav, flac
1066
+ # media: { # required
1067
+ # media_file_uri: "Uri",
1068
+ # },
1069
+ # output_bucket_name: "OutputBucketName", # required
1070
+ # output_encryption_kms_key_id: "KMSKeyId",
1071
+ # settings: {
1072
+ # show_speaker_labels: false,
1073
+ # max_speaker_labels: 1,
1074
+ # channel_identification: false,
1075
+ # show_alternatives: false,
1076
+ # max_alternatives: 1,
1077
+ # },
1078
+ # specialty: "PRIMARYCARE", # required, accepts PRIMARYCARE
1079
+ # type: "CONVERSATION", # required, accepts CONVERSATION, DICTATION
1080
+ # })
1081
+ #
1082
+ # @example Response structure
1083
+ #
1084
+ # resp.medical_transcription_job.medical_transcription_job_name #=> String
1085
+ # resp.medical_transcription_job.transcription_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
1086
+ # resp.medical_transcription_job.language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR", "it-IT", "ko-KR", "es-ES", "en-IN", "hi-IN", "ar-SA", "ru-RU", "zh-CN", "nl-NL", "id-ID", "ta-IN", "fa-IR", "en-IE", "en-AB", "en-WL", "pt-PT", "te-IN", "tr-TR", "de-CH", "he-IL", "ms-MY", "ja-JP", "ar-AE"
1087
+ # resp.medical_transcription_job.media_sample_rate_hertz #=> Integer
1088
+ # resp.medical_transcription_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac"
1089
+ # resp.medical_transcription_job.media.media_file_uri #=> String
1090
+ # resp.medical_transcription_job.transcript.transcript_file_uri #=> String
1091
+ # resp.medical_transcription_job.start_time #=> Time
1092
+ # resp.medical_transcription_job.creation_time #=> Time
1093
+ # resp.medical_transcription_job.completion_time #=> Time
1094
+ # resp.medical_transcription_job.failure_reason #=> String
1095
+ # resp.medical_transcription_job.settings.show_speaker_labels #=> Boolean
1096
+ # resp.medical_transcription_job.settings.max_speaker_labels #=> Integer
1097
+ # resp.medical_transcription_job.settings.channel_identification #=> Boolean
1098
+ # resp.medical_transcription_job.settings.show_alternatives #=> Boolean
1099
+ # resp.medical_transcription_job.settings.max_alternatives #=> Integer
1100
+ # resp.medical_transcription_job.specialty #=> String, one of "PRIMARYCARE"
1101
+ # resp.medical_transcription_job.type #=> String, one of "CONVERSATION", "DICTATION"
1102
+ #
1103
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartMedicalTranscriptionJob AWS API Documentation
1104
+ #
1105
+ # @overload start_medical_transcription_job(params = {})
1106
+ # @param [Hash] params ({})
1107
+ def start_medical_transcription_job(params = {}, options = {})
1108
+ req = build_request(:start_medical_transcription_job, params)
1109
+ req.send_request(options)
1110
+ end
1111
+
822
1112
  # Starts an asynchronous job to transcribe speech to text.
823
1113
  #
824
1114
  # @option params [required, String] :transcription_job_name
@@ -1132,7 +1422,7 @@ module Aws::TranscribeService
1132
1422
  params: params,
1133
1423
  config: config)
1134
1424
  context[:gem_name] = 'aws-sdk-transcribeservice'
1135
- context[:gem_version] = '1.38.0'
1425
+ context[:gem_version] = '1.39.0'
1136
1426
  Seahorse::Client::Request.new(handlers, context)
1137
1427
  end
1138
1428
 
@@ -21,10 +21,13 @@ module Aws::TranscribeService
21
21
  CreateVocabularyResponse = Shapes::StructureShape.new(name: 'CreateVocabularyResponse')
22
22
  DataAccessRoleArn = Shapes::StringShape.new(name: 'DataAccessRoleArn')
23
23
  DateTime = Shapes::TimestampShape.new(name: 'DateTime')
24
+ DeleteMedicalTranscriptionJobRequest = Shapes::StructureShape.new(name: 'DeleteMedicalTranscriptionJobRequest')
24
25
  DeleteTranscriptionJobRequest = Shapes::StructureShape.new(name: 'DeleteTranscriptionJobRequest')
25
26
  DeleteVocabularyFilterRequest = Shapes::StructureShape.new(name: 'DeleteVocabularyFilterRequest')
26
27
  DeleteVocabularyRequest = Shapes::StructureShape.new(name: 'DeleteVocabularyRequest')
27
28
  FailureReason = Shapes::StringShape.new(name: 'FailureReason')
29
+ GetMedicalTranscriptionJobRequest = Shapes::StructureShape.new(name: 'GetMedicalTranscriptionJobRequest')
30
+ GetMedicalTranscriptionJobResponse = Shapes::StructureShape.new(name: 'GetMedicalTranscriptionJobResponse')
28
31
  GetTranscriptionJobRequest = Shapes::StructureShape.new(name: 'GetTranscriptionJobRequest')
29
32
  GetTranscriptionJobResponse = Shapes::StructureShape.new(name: 'GetTranscriptionJobResponse')
30
33
  GetVocabularyFilterRequest = Shapes::StructureShape.new(name: 'GetVocabularyFilterRequest')
@@ -36,6 +39,8 @@ module Aws::TranscribeService
36
39
  KMSKeyId = Shapes::StringShape.new(name: 'KMSKeyId')
37
40
  LanguageCode = Shapes::StringShape.new(name: 'LanguageCode')
38
41
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
42
+ ListMedicalTranscriptionJobsRequest = Shapes::StructureShape.new(name: 'ListMedicalTranscriptionJobsRequest')
43
+ ListMedicalTranscriptionJobsResponse = Shapes::StructureShape.new(name: 'ListMedicalTranscriptionJobsResponse')
39
44
  ListTranscriptionJobsRequest = Shapes::StructureShape.new(name: 'ListTranscriptionJobsRequest')
40
45
  ListTranscriptionJobsResponse = Shapes::StructureShape.new(name: 'ListTranscriptionJobsResponse')
41
46
  ListVocabulariesRequest = Shapes::StructureShape.new(name: 'ListVocabulariesRequest')
@@ -48,6 +53,11 @@ module Aws::TranscribeService
48
53
  Media = Shapes::StructureShape.new(name: 'Media')
49
54
  MediaFormat = Shapes::StringShape.new(name: 'MediaFormat')
50
55
  MediaSampleRateHertz = Shapes::IntegerShape.new(name: 'MediaSampleRateHertz')
56
+ MedicalTranscript = Shapes::StructureShape.new(name: 'MedicalTranscript')
57
+ MedicalTranscriptionJob = Shapes::StructureShape.new(name: 'MedicalTranscriptionJob')
58
+ MedicalTranscriptionJobSummaries = Shapes::ListShape.new(name: 'MedicalTranscriptionJobSummaries')
59
+ MedicalTranscriptionJobSummary = Shapes::StructureShape.new(name: 'MedicalTranscriptionJobSummary')
60
+ MedicalTranscriptionSetting = Shapes::StructureShape.new(name: 'MedicalTranscriptionSetting')
51
61
  NextToken = Shapes::StringShape.new(name: 'NextToken')
52
62
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
53
63
  OutputBucketName = Shapes::StringShape.new(name: 'OutputBucketName')
@@ -57,6 +67,9 @@ module Aws::TranscribeService
57
67
  RedactionOutput = Shapes::StringShape.new(name: 'RedactionOutput')
58
68
  RedactionType = Shapes::StringShape.new(name: 'RedactionType')
59
69
  Settings = Shapes::StructureShape.new(name: 'Settings')
70
+ Specialty = Shapes::StringShape.new(name: 'Specialty')
71
+ StartMedicalTranscriptionJobRequest = Shapes::StructureShape.new(name: 'StartMedicalTranscriptionJobRequest')
72
+ StartMedicalTranscriptionJobResponse = Shapes::StructureShape.new(name: 'StartMedicalTranscriptionJobResponse')
60
73
  StartTranscriptionJobRequest = Shapes::StructureShape.new(name: 'StartTranscriptionJobRequest')
61
74
  StartTranscriptionJobResponse = Shapes::StructureShape.new(name: 'StartTranscriptionJobResponse')
62
75
  String = Shapes::StringShape.new(name: 'String')
@@ -66,6 +79,7 @@ module Aws::TranscribeService
66
79
  TranscriptionJobStatus = Shapes::StringShape.new(name: 'TranscriptionJobStatus')
67
80
  TranscriptionJobSummaries = Shapes::ListShape.new(name: 'TranscriptionJobSummaries')
68
81
  TranscriptionJobSummary = Shapes::StructureShape.new(name: 'TranscriptionJobSummary')
82
+ Type = Shapes::StringShape.new(name: 'Type')
69
83
  UpdateVocabularyFilterRequest = Shapes::StructureShape.new(name: 'UpdateVocabularyFilterRequest')
70
84
  UpdateVocabularyFilterResponse = Shapes::StructureShape.new(name: 'UpdateVocabularyFilterResponse')
71
85
  UpdateVocabularyRequest = Shapes::StructureShape.new(name: 'UpdateVocabularyRequest')
@@ -116,6 +130,9 @@ module Aws::TranscribeService
116
130
  CreateVocabularyResponse.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
117
131
  CreateVocabularyResponse.struct_class = Types::CreateVocabularyResponse
118
132
 
133
+ DeleteMedicalTranscriptionJobRequest.add_member(:medical_transcription_job_name, Shapes::ShapeRef.new(shape: TranscriptionJobName, required: true, location_name: "MedicalTranscriptionJobName"))
134
+ DeleteMedicalTranscriptionJobRequest.struct_class = Types::DeleteMedicalTranscriptionJobRequest
135
+
119
136
  DeleteTranscriptionJobRequest.add_member(:transcription_job_name, Shapes::ShapeRef.new(shape: TranscriptionJobName, required: true, location_name: "TranscriptionJobName"))
120
137
  DeleteTranscriptionJobRequest.struct_class = Types::DeleteTranscriptionJobRequest
121
138
 
@@ -125,6 +142,12 @@ module Aws::TranscribeService
125
142
  DeleteVocabularyRequest.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, required: true, location_name: "VocabularyName"))
126
143
  DeleteVocabularyRequest.struct_class = Types::DeleteVocabularyRequest
127
144
 
145
+ GetMedicalTranscriptionJobRequest.add_member(:medical_transcription_job_name, Shapes::ShapeRef.new(shape: TranscriptionJobName, required: true, location_name: "MedicalTranscriptionJobName"))
146
+ GetMedicalTranscriptionJobRequest.struct_class = Types::GetMedicalTranscriptionJobRequest
147
+
148
+ GetMedicalTranscriptionJobResponse.add_member(:medical_transcription_job, Shapes::ShapeRef.new(shape: MedicalTranscriptionJob, location_name: "MedicalTranscriptionJob"))
149
+ GetMedicalTranscriptionJobResponse.struct_class = Types::GetMedicalTranscriptionJobResponse
150
+
128
151
  GetTranscriptionJobRequest.add_member(:transcription_job_name, Shapes::ShapeRef.new(shape: TranscriptionJobName, required: true, location_name: "TranscriptionJobName"))
129
152
  GetTranscriptionJobRequest.struct_class = Types::GetTranscriptionJobRequest
130
153
 
@@ -161,6 +184,17 @@ module Aws::TranscribeService
161
184
  LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
162
185
  LimitExceededException.struct_class = Types::LimitExceededException
163
186
 
187
+ ListMedicalTranscriptionJobsRequest.add_member(:status, Shapes::ShapeRef.new(shape: TranscriptionJobStatus, location_name: "Status"))
188
+ ListMedicalTranscriptionJobsRequest.add_member(:job_name_contains, Shapes::ShapeRef.new(shape: TranscriptionJobName, location_name: "JobNameContains"))
189
+ ListMedicalTranscriptionJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
190
+ ListMedicalTranscriptionJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
191
+ ListMedicalTranscriptionJobsRequest.struct_class = Types::ListMedicalTranscriptionJobsRequest
192
+
193
+ ListMedicalTranscriptionJobsResponse.add_member(:status, Shapes::ShapeRef.new(shape: TranscriptionJobStatus, location_name: "Status"))
194
+ ListMedicalTranscriptionJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
195
+ ListMedicalTranscriptionJobsResponse.add_member(:medical_transcription_job_summaries, Shapes::ShapeRef.new(shape: MedicalTranscriptionJobSummaries, location_name: "MedicalTranscriptionJobSummaries"))
196
+ ListMedicalTranscriptionJobsResponse.struct_class = Types::ListMedicalTranscriptionJobsResponse
197
+
164
198
  ListTranscriptionJobsRequest.add_member(:status, Shapes::ShapeRef.new(shape: TranscriptionJobStatus, location_name: "Status"))
165
199
  ListTranscriptionJobsRequest.add_member(:job_name_contains, Shapes::ShapeRef.new(shape: TranscriptionJobName, location_name: "JobNameContains"))
166
200
  ListTranscriptionJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
@@ -195,6 +229,46 @@ module Aws::TranscribeService
195
229
  Media.add_member(:media_file_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "MediaFileUri"))
196
230
  Media.struct_class = Types::Media
197
231
 
232
+ MedicalTranscript.add_member(:transcript_file_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "TranscriptFileUri"))
233
+ MedicalTranscript.struct_class = Types::MedicalTranscript
234
+
235
+ MedicalTranscriptionJob.add_member(:medical_transcription_job_name, Shapes::ShapeRef.new(shape: TranscriptionJobName, location_name: "MedicalTranscriptionJobName"))
236
+ MedicalTranscriptionJob.add_member(:transcription_job_status, Shapes::ShapeRef.new(shape: TranscriptionJobStatus, location_name: "TranscriptionJobStatus"))
237
+ MedicalTranscriptionJob.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
238
+ MedicalTranscriptionJob.add_member(:media_sample_rate_hertz, Shapes::ShapeRef.new(shape: MediaSampleRateHertz, location_name: "MediaSampleRateHertz"))
239
+ MedicalTranscriptionJob.add_member(:media_format, Shapes::ShapeRef.new(shape: MediaFormat, location_name: "MediaFormat"))
240
+ MedicalTranscriptionJob.add_member(:media, Shapes::ShapeRef.new(shape: Media, location_name: "Media"))
241
+ MedicalTranscriptionJob.add_member(:transcript, Shapes::ShapeRef.new(shape: MedicalTranscript, location_name: "Transcript"))
242
+ MedicalTranscriptionJob.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "StartTime"))
243
+ MedicalTranscriptionJob.add_member(:creation_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreationTime"))
244
+ MedicalTranscriptionJob.add_member(:completion_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CompletionTime"))
245
+ MedicalTranscriptionJob.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
246
+ MedicalTranscriptionJob.add_member(:settings, Shapes::ShapeRef.new(shape: MedicalTranscriptionSetting, location_name: "Settings"))
247
+ MedicalTranscriptionJob.add_member(:specialty, Shapes::ShapeRef.new(shape: Specialty, location_name: "Specialty"))
248
+ MedicalTranscriptionJob.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "Type"))
249
+ MedicalTranscriptionJob.struct_class = Types::MedicalTranscriptionJob
250
+
251
+ MedicalTranscriptionJobSummaries.member = Shapes::ShapeRef.new(shape: MedicalTranscriptionJobSummary)
252
+
253
+ MedicalTranscriptionJobSummary.add_member(:medical_transcription_job_name, Shapes::ShapeRef.new(shape: TranscriptionJobName, location_name: "MedicalTranscriptionJobName"))
254
+ MedicalTranscriptionJobSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreationTime"))
255
+ MedicalTranscriptionJobSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "StartTime"))
256
+ MedicalTranscriptionJobSummary.add_member(:completion_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CompletionTime"))
257
+ MedicalTranscriptionJobSummary.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
258
+ MedicalTranscriptionJobSummary.add_member(:transcription_job_status, Shapes::ShapeRef.new(shape: TranscriptionJobStatus, location_name: "TranscriptionJobStatus"))
259
+ MedicalTranscriptionJobSummary.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
260
+ MedicalTranscriptionJobSummary.add_member(:output_location_type, Shapes::ShapeRef.new(shape: OutputLocationType, location_name: "OutputLocationType"))
261
+ MedicalTranscriptionJobSummary.add_member(:specialty, Shapes::ShapeRef.new(shape: Specialty, location_name: "Specialty"))
262
+ MedicalTranscriptionJobSummary.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "Type"))
263
+ MedicalTranscriptionJobSummary.struct_class = Types::MedicalTranscriptionJobSummary
264
+
265
+ MedicalTranscriptionSetting.add_member(:show_speaker_labels, Shapes::ShapeRef.new(shape: Boolean, location_name: "ShowSpeakerLabels"))
266
+ MedicalTranscriptionSetting.add_member(:max_speaker_labels, Shapes::ShapeRef.new(shape: MaxSpeakers, location_name: "MaxSpeakerLabels"))
267
+ MedicalTranscriptionSetting.add_member(:channel_identification, Shapes::ShapeRef.new(shape: Boolean, location_name: "ChannelIdentification"))
268
+ MedicalTranscriptionSetting.add_member(:show_alternatives, Shapes::ShapeRef.new(shape: Boolean, location_name: "ShowAlternatives"))
269
+ MedicalTranscriptionSetting.add_member(:max_alternatives, Shapes::ShapeRef.new(shape: MaxAlternatives, location_name: "MaxAlternatives"))
270
+ MedicalTranscriptionSetting.struct_class = Types::MedicalTranscriptionSetting
271
+
198
272
  NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
199
273
  NotFoundException.struct_class = Types::NotFoundException
200
274
 
@@ -210,6 +284,21 @@ module Aws::TranscribeService
210
284
  Settings.add_member(:vocabulary_filter_method, Shapes::ShapeRef.new(shape: VocabularyFilterMethod, location_name: "VocabularyFilterMethod"))
211
285
  Settings.struct_class = Types::Settings
212
286
 
287
+ StartMedicalTranscriptionJobRequest.add_member(:medical_transcription_job_name, Shapes::ShapeRef.new(shape: TranscriptionJobName, required: true, location_name: "MedicalTranscriptionJobName"))
288
+ StartMedicalTranscriptionJobRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
289
+ StartMedicalTranscriptionJobRequest.add_member(:media_sample_rate_hertz, Shapes::ShapeRef.new(shape: MediaSampleRateHertz, location_name: "MediaSampleRateHertz"))
290
+ StartMedicalTranscriptionJobRequest.add_member(:media_format, Shapes::ShapeRef.new(shape: MediaFormat, location_name: "MediaFormat"))
291
+ StartMedicalTranscriptionJobRequest.add_member(:media, Shapes::ShapeRef.new(shape: Media, required: true, location_name: "Media"))
292
+ StartMedicalTranscriptionJobRequest.add_member(:output_bucket_name, Shapes::ShapeRef.new(shape: OutputBucketName, required: true, location_name: "OutputBucketName"))
293
+ StartMedicalTranscriptionJobRequest.add_member(:output_encryption_kms_key_id, Shapes::ShapeRef.new(shape: KMSKeyId, location_name: "OutputEncryptionKMSKeyId"))
294
+ StartMedicalTranscriptionJobRequest.add_member(:settings, Shapes::ShapeRef.new(shape: MedicalTranscriptionSetting, location_name: "Settings"))
295
+ StartMedicalTranscriptionJobRequest.add_member(:specialty, Shapes::ShapeRef.new(shape: Specialty, required: true, location_name: "Specialty"))
296
+ StartMedicalTranscriptionJobRequest.add_member(:type, Shapes::ShapeRef.new(shape: Type, required: true, location_name: "Type"))
297
+ StartMedicalTranscriptionJobRequest.struct_class = Types::StartMedicalTranscriptionJobRequest
298
+
299
+ StartMedicalTranscriptionJobResponse.add_member(:medical_transcription_job, Shapes::ShapeRef.new(shape: MedicalTranscriptionJob, location_name: "MedicalTranscriptionJob"))
300
+ StartMedicalTranscriptionJobResponse.struct_class = Types::StartMedicalTranscriptionJobResponse
301
+
213
302
  StartTranscriptionJobRequest.add_member(:transcription_job_name, Shapes::ShapeRef.new(shape: TranscriptionJobName, required: true, location_name: "TranscriptionJobName"))
214
303
  StartTranscriptionJobRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
215
304
  StartTranscriptionJobRequest.add_member(:media_sample_rate_hertz, Shapes::ShapeRef.new(shape: MediaSampleRateHertz, location_name: "MediaSampleRateHertz"))
@@ -340,6 +429,17 @@ module Aws::TranscribeService
340
429
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
341
430
  end)
342
431
 
432
+ api.add_operation(:delete_medical_transcription_job, Seahorse::Model::Operation.new.tap do |o|
433
+ o.name = "DeleteMedicalTranscriptionJob"
434
+ o.http_method = "POST"
435
+ o.http_request_uri = "/"
436
+ o.input = Shapes::ShapeRef.new(shape: DeleteMedicalTranscriptionJobRequest)
437
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
438
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
439
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
440
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
441
+ end)
442
+
343
443
  api.add_operation(:delete_transcription_job, Seahorse::Model::Operation.new.tap do |o|
344
444
  o.name = "DeleteTranscriptionJob"
345
445
  o.http_method = "POST"
@@ -375,6 +475,18 @@ module Aws::TranscribeService
375
475
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
376
476
  end)
377
477
 
478
+ api.add_operation(:get_medical_transcription_job, Seahorse::Model::Operation.new.tap do |o|
479
+ o.name = "GetMedicalTranscriptionJob"
480
+ o.http_method = "POST"
481
+ o.http_request_uri = "/"
482
+ o.input = Shapes::ShapeRef.new(shape: GetMedicalTranscriptionJobRequest)
483
+ o.output = Shapes::ShapeRef.new(shape: GetMedicalTranscriptionJobResponse)
484
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
485
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
486
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
487
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
488
+ end)
489
+
378
490
  api.add_operation(:get_transcription_job, Seahorse::Model::Operation.new.tap do |o|
379
491
  o.name = "GetTranscriptionJob"
380
492
  o.http_method = "POST"
@@ -411,6 +523,23 @@ module Aws::TranscribeService
411
523
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
412
524
  end)
413
525
 
526
+ api.add_operation(:list_medical_transcription_jobs, Seahorse::Model::Operation.new.tap do |o|
527
+ o.name = "ListMedicalTranscriptionJobs"
528
+ o.http_method = "POST"
529
+ o.http_request_uri = "/"
530
+ o.input = Shapes::ShapeRef.new(shape: ListMedicalTranscriptionJobsRequest)
531
+ o.output = Shapes::ShapeRef.new(shape: ListMedicalTranscriptionJobsResponse)
532
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
533
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
534
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
535
+ o[:pager] = Aws::Pager.new(
536
+ limit_key: "max_results",
537
+ tokens: {
538
+ "next_token" => "next_token"
539
+ }
540
+ )
541
+ end)
542
+
414
543
  api.add_operation(:list_transcription_jobs, Seahorse::Model::Operation.new.tap do |o|
415
544
  o.name = "ListTranscriptionJobs"
416
545
  o.http_method = "POST"
@@ -462,6 +591,18 @@ module Aws::TranscribeService
462
591
  )
463
592
  end)
464
593
 
594
+ api.add_operation(:start_medical_transcription_job, Seahorse::Model::Operation.new.tap do |o|
595
+ o.name = "StartMedicalTranscriptionJob"
596
+ o.http_method = "POST"
597
+ o.http_request_uri = "/"
598
+ o.input = Shapes::ShapeRef.new(shape: StartMedicalTranscriptionJobRequest)
599
+ o.output = Shapes::ShapeRef.new(shape: StartMedicalTranscriptionJobResponse)
600
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
601
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
602
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
603
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
604
+ end)
605
+
465
606
  api.add_operation(:start_transcription_job, Seahorse::Model::Operation.new.tap do |o|
466
607
  o.name = "StartTranscriptionJob"
467
608
  o.http_method = "POST"