aws-sdk-transcribeservice 1.39.0 → 1.44.1

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
- SHA1:
3
- metadata.gz: 7fb270fbadc5c7965205c077f31f1468557892ac
4
- data.tar.gz: cce5c28cad0ae3bb90cd110332f8cd4828e3555d
2
+ SHA256:
3
+ metadata.gz: 81df9e7c12a10602cd732272dc36ed869e3860f0900f8216cefa7afdd63969d4
4
+ data.tar.gz: 9e0474d014d0228fd8a326a483e629b24e30e9c5216fa1b765fa93c1f1d79e59
5
5
  SHA512:
6
- metadata.gz: 7cfa92e21685b586502d5c81b839bbbe06a184ebeec672004c15fb037d042d62b35872d84458602f6d00e2617d931d6ce75245bc6ed06051cd5ae822e72ca761
7
- data.tar.gz: cc55173599059e9b6b447ed2671fe26734b2e07aff195a40f82e782b52e6dc69aa183390acfcbd0821c6791d0fc2458096d2f6f298f29639e7b7e32b06f67eaa
6
+ metadata.gz: 0b237d84372734cef0751e245afb82a5b84c5fe54dee4a801363f85e6e11305037123c1c9f43dffb3f996760429361c8c75063c9bb7b764575b744da9d439c26
7
+ data.tar.gz: 28ea11d964c0e2f2294acdd2bc1058ee119e7089af999956cdc6020a5ac880e8c5a5fed73e8b9cb03afa9000f421a3e30bbb681e51946940184d89f20fe412c0
@@ -25,7 +25,7 @@ require_relative 'aws-sdk-transcribeservice/customizations'
25
25
  # structure.
26
26
  #
27
27
  # transcribe_service = Aws::TranscribeService::Client.new
28
- # resp = transcribe_service.create_vocabulary(params)
28
+ # resp = transcribe_service.create_medical_vocabulary(params)
29
29
  #
30
30
  # See {Client} for more information.
31
31
  #
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-transcribeservice/customizations'
45
45
  # @service
46
46
  module Aws::TranscribeService
47
47
 
48
- GEM_VERSION = '1.39.0'
48
+ GEM_VERSION = '1.44.1'
49
49
 
50
50
  end
@@ -24,6 +24,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
24
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
25
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
26
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
27
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
28
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
29
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
29
30
 
@@ -69,6 +70,7 @@ module Aws::TranscribeService
69
70
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
71
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
72
  add_plugin(Aws::Plugins::TransferEncoding)
73
+ add_plugin(Aws::Plugins::HttpChecksum)
72
74
  add_plugin(Aws::Plugins::SignatureV4)
73
75
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
74
76
 
@@ -105,7 +107,7 @@ module Aws::TranscribeService
105
107
  # @option options [required, String] :region
106
108
  # The AWS region to connect to. The configured `:region` is
107
109
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
110
+ # a default `:region` is searched for in the following locations:
109
111
  #
110
112
  # * `Aws.config[:region]`
111
113
  # * `ENV['AWS_REGION']`
@@ -161,7 +163,7 @@ module Aws::TranscribeService
161
163
  # @option options [String] :endpoint
162
164
  # The client endpoint is normally constructed from the `:region`
163
165
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be avalid HTTP(S) URI.
166
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
167
  #
166
168
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
169
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +178,7 @@ module Aws::TranscribeService
176
178
  # requests fetching endpoints information. Defaults to 60 sec.
177
179
  #
178
180
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
181
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
182
  #
181
183
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
184
  # The log formatter.
@@ -318,12 +320,87 @@ module Aws::TranscribeService
318
320
 
319
321
  # @!group API Operations
320
322
 
323
+ # Creates a new custom vocabulary that you can use to change how Amazon
324
+ # Transcribe Medical transcribes your audio file.
325
+ #
326
+ # @option params [required, String] :vocabulary_name
327
+ # The name of the custom vocabulary. This case-sensitive name must be
328
+ # unique within an AWS account. If you try to create a vocabulary with
329
+ # the same name as a previous vocabulary you will receive a
330
+ # `ConflictException` error.
331
+ #
332
+ # @option params [required, String] :language_code
333
+ # The language code used for the entries within your custom vocabulary.
334
+ # The language code of your custom vocabulary must match the language
335
+ # code of your transcription job. US English (en-US) is the only
336
+ # language code available for Amazon Transcribe Medical.
337
+ #
338
+ # @option params [required, String] :vocabulary_file_uri
339
+ # The Amazon S3 location of the text file you use to define your custom
340
+ # vocabulary. The URI must be in the same AWS region as the API endpoint
341
+ # you're calling. Enter information about your `VocabularyFileUri` in
342
+ # the following format:
343
+ #
344
+ # `
345
+ # https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
346
+ # `
347
+ #
348
+ # This is an example of a vocabulary file uri location in Amazon S3:
349
+ #
350
+ # `https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt`
351
+ #
352
+ # For more information about S3 object names, see [Object Keys][1] in
353
+ # the *Amazon S3 Developer Guide*.
354
+ #
355
+ # For more information about custom vocabularies, see [Medical Custom
356
+ # Vocabularies][2].
357
+ #
358
+ #
359
+ #
360
+ # [1]: http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
361
+ # [2]: http://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html#how-vocabulary-med
362
+ #
363
+ # @return [Types::CreateMedicalVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
364
+ #
365
+ # * {Types::CreateMedicalVocabularyResponse#vocabulary_name #vocabulary_name} => String
366
+ # * {Types::CreateMedicalVocabularyResponse#language_code #language_code} => String
367
+ # * {Types::CreateMedicalVocabularyResponse#vocabulary_state #vocabulary_state} => String
368
+ # * {Types::CreateMedicalVocabularyResponse#last_modified_time #last_modified_time} => Time
369
+ # * {Types::CreateMedicalVocabularyResponse#failure_reason #failure_reason} => String
370
+ #
371
+ # @example Request syntax with placeholder values
372
+ #
373
+ # resp = client.create_medical_vocabulary({
374
+ # vocabulary_name: "VocabularyName", # required
375
+ # 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
376
+ # vocabulary_file_uri: "Uri", # required
377
+ # })
378
+ #
379
+ # @example Response structure
380
+ #
381
+ # resp.vocabulary_name #=> String
382
+ # resp.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"
383
+ # resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
384
+ # resp.last_modified_time #=> Time
385
+ # resp.failure_reason #=> String
386
+ #
387
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateMedicalVocabulary AWS API Documentation
388
+ #
389
+ # @overload create_medical_vocabulary(params = {})
390
+ # @param [Hash] params ({})
391
+ def create_medical_vocabulary(params = {}, options = {})
392
+ req = build_request(:create_medical_vocabulary, params)
393
+ req.send_request(options)
394
+ end
395
+
321
396
  # Creates a new custom vocabulary that you can use to change the way
322
397
  # Amazon Transcribe handles transcription of an audio file.
323
398
  #
324
399
  # @option params [required, String] :vocabulary_name
325
400
  # The name of the vocabulary. The name must be unique within an AWS
326
- # account. The name is case-sensitive.
401
+ # account. The name is case-sensitive. If you try to create a vocabulary
402
+ # with the same name as a previous vocabulary you will receive a
403
+ # `ConflictException` error.
327
404
  #
328
405
  # @option params [required, String] :language_code
329
406
  # The language code of the vocabulary entries.
@@ -336,14 +413,6 @@ module Aws::TranscribeService
336
413
  # custom vocabulary. The URI must be in the same region as the API
337
414
  # endpoint that you are calling. The general form is
338
415
  #
339
- # `
340
- # https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
341
- # `
342
- #
343
- # For example:
344
- #
345
- # `https://s3.us-east-1.amazonaws.com/examplebucket/vocab.txt`
346
- #
347
416
  # For more information about S3 object names, see [Object Keys][1] in
348
417
  # the *Amazon S3 Developer Guide*.
349
418
  #
@@ -394,7 +463,9 @@ module Aws::TranscribeService
394
463
  #
395
464
  # @option params [required, String] :vocabulary_filter_name
396
465
  # The vocabulary filter name. The name must be unique within the account
397
- # that contains it.
466
+ # that contains it.If you try to create a vocabulary filter with the
467
+ # same name as a previous vocabulary filter you will receive a
468
+ # `ConflictException` error.
398
469
  #
399
470
  # @option params [required, String] :language_code
400
471
  # The language code of the words in the vocabulary filter. All words in
@@ -483,6 +554,28 @@ module Aws::TranscribeService
483
554
  req.send_request(options)
484
555
  end
485
556
 
557
+ # Deletes a vocabulary from Amazon Transcribe Medical.
558
+ #
559
+ # @option params [required, String] :vocabulary_name
560
+ # The name of the vocabulary you are choosing to delete.
561
+ #
562
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
563
+ #
564
+ # @example Request syntax with placeholder values
565
+ #
566
+ # resp = client.delete_medical_vocabulary({
567
+ # vocabulary_name: "VocabularyName", # required
568
+ # })
569
+ #
570
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteMedicalVocabulary AWS API Documentation
571
+ #
572
+ # @overload delete_medical_vocabulary(params = {})
573
+ # @param [Hash] params ({})
574
+ def delete_medical_vocabulary(params = {}, options = {})
575
+ req = build_request(:delete_medical_vocabulary, params)
576
+ req.send_request(options)
577
+ end
578
+
486
579
  # Deletes a previously submitted transcription job along with any other
487
580
  # generated results such as the transcription, models, and so on.
488
581
  #
@@ -587,6 +680,7 @@ module Aws::TranscribeService
587
680
  # resp.medical_transcription_job.settings.channel_identification #=> Boolean
588
681
  # resp.medical_transcription_job.settings.show_alternatives #=> Boolean
589
682
  # resp.medical_transcription_job.settings.max_alternatives #=> Integer
683
+ # resp.medical_transcription_job.settings.vocabulary_name #=> String
590
684
  # resp.medical_transcription_job.specialty #=> String, one of "PRIMARYCARE"
591
685
  # resp.medical_transcription_job.type #=> String, one of "CONVERSATION", "DICTATION"
592
686
  #
@@ -599,6 +693,45 @@ module Aws::TranscribeService
599
693
  req.send_request(options)
600
694
  end
601
695
 
696
+ # Retrieve information about a medical vocabulary.
697
+ #
698
+ # @option params [required, String] :vocabulary_name
699
+ # The name of the vocabulary you are trying to get information about.
700
+ # The value you enter for this request is case-sensitive.
701
+ #
702
+ # @return [Types::GetMedicalVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
703
+ #
704
+ # * {Types::GetMedicalVocabularyResponse#vocabulary_name #vocabulary_name} => String
705
+ # * {Types::GetMedicalVocabularyResponse#language_code #language_code} => String
706
+ # * {Types::GetMedicalVocabularyResponse#vocabulary_state #vocabulary_state} => String
707
+ # * {Types::GetMedicalVocabularyResponse#last_modified_time #last_modified_time} => Time
708
+ # * {Types::GetMedicalVocabularyResponse#failure_reason #failure_reason} => String
709
+ # * {Types::GetMedicalVocabularyResponse#download_uri #download_uri} => String
710
+ #
711
+ # @example Request syntax with placeholder values
712
+ #
713
+ # resp = client.get_medical_vocabulary({
714
+ # vocabulary_name: "VocabularyName", # required
715
+ # })
716
+ #
717
+ # @example Response structure
718
+ #
719
+ # resp.vocabulary_name #=> String
720
+ # resp.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"
721
+ # resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
722
+ # resp.last_modified_time #=> Time
723
+ # resp.failure_reason #=> String
724
+ # resp.download_uri #=> String
725
+ #
726
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetMedicalVocabulary AWS API Documentation
727
+ #
728
+ # @overload get_medical_vocabulary(params = {})
729
+ # @param [Hash] params ({})
730
+ def get_medical_vocabulary(params = {}, options = {})
731
+ req = build_request(:get_medical_vocabulary, params)
732
+ req.send_request(options)
733
+ end
734
+
602
735
  # Returns information about a transcription job. To see the status of
603
736
  # the job, check the `TranscriptionJobStatus` field. If the status is
604
737
  # `COMPLETED`, the job is finished and you can find the results at the
@@ -793,6 +926,63 @@ module Aws::TranscribeService
793
926
  req.send_request(options)
794
927
  end
795
928
 
929
+ # Returns a list of vocabularies that match the specified criteria. You
930
+ # get the entire list of vocabularies if you don't enter a value in any
931
+ # of the request parameters.
932
+ #
933
+ # @option params [String] :next_token
934
+ # If the result of your previous request to `ListMedicalVocabularies`
935
+ # was truncated, include the `NextToken` to fetch the next set of jobs.
936
+ #
937
+ # @option params [Integer] :max_results
938
+ # The maximum number of vocabularies to return in the response.
939
+ #
940
+ # @option params [String] :state_equals
941
+ # When specified, only returns vocabularies with the `VocabularyState`
942
+ # equal to the specified vocabulary state.
943
+ #
944
+ # @option params [String] :name_contains
945
+ # Returns vocabularies in the list whose name contains the specified
946
+ # string. The search is case-insensitive, `ListMedicalVocabularies`
947
+ # returns both "vocabularyname" and "VocabularyName" in the response
948
+ # list.
949
+ #
950
+ # @return [Types::ListMedicalVocabulariesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
951
+ #
952
+ # * {Types::ListMedicalVocabulariesResponse#status #status} => String
953
+ # * {Types::ListMedicalVocabulariesResponse#next_token #next_token} => String
954
+ # * {Types::ListMedicalVocabulariesResponse#vocabularies #vocabularies} => Array&lt;Types::VocabularyInfo&gt;
955
+ #
956
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
957
+ #
958
+ # @example Request syntax with placeholder values
959
+ #
960
+ # resp = client.list_medical_vocabularies({
961
+ # next_token: "NextToken",
962
+ # max_results: 1,
963
+ # state_equals: "PENDING", # accepts PENDING, READY, FAILED
964
+ # name_contains: "VocabularyName",
965
+ # })
966
+ #
967
+ # @example Response structure
968
+ #
969
+ # resp.status #=> String, one of "PENDING", "READY", "FAILED"
970
+ # resp.next_token #=> String
971
+ # resp.vocabularies #=> Array
972
+ # resp.vocabularies[0].vocabulary_name #=> String
973
+ # resp.vocabularies[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"
974
+ # resp.vocabularies[0].last_modified_time #=> Time
975
+ # resp.vocabularies[0].vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
976
+ #
977
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListMedicalVocabularies AWS API Documentation
978
+ #
979
+ # @overload list_medical_vocabularies(params = {})
980
+ # @param [Hash] params ({})
981
+ def list_medical_vocabularies(params = {}, options = {})
982
+ req = build_request(:list_medical_vocabularies, params)
983
+ req.send_request(options)
984
+ end
985
+
796
986
  # Lists transcription jobs with the specified status.
797
987
  #
798
988
  # @option params [String] :status
@@ -897,7 +1087,7 @@ module Aws::TranscribeService
897
1087
  #
898
1088
  # @example Response structure
899
1089
  #
900
- # resp.status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
1090
+ # resp.status #=> String, one of "PENDING", "READY", "FAILED"
901
1091
  # resp.next_token #=> String
902
1092
  # resp.vocabularies #=> Array
903
1093
  # resp.vocabularies[0].vocabulary_name #=> String
@@ -967,7 +1157,9 @@ module Aws::TranscribeService
967
1157
  # @option params [required, String] :medical_transcription_job_name
968
1158
  # The name of the medical transcription job. You can't use the strings
969
1159
  # "." or ".." by themselves as the job name. The name must also be
970
- # unique within an AWS account.
1160
+ # unique within an AWS account. If you try to create a medical
1161
+ # transcription job with the same name as a previous medical
1162
+ # transcription job you will receive a `ConflictException` error.
971
1163
  #
972
1164
  # @option params [required, String] :language_code
973
1165
  # The language code for the language spoken in the input media file. US
@@ -1048,9 +1240,10 @@ module Aws::TranscribeService
1048
1240
  # The medical specialty of any clinician speaking in the input media.
1049
1241
  #
1050
1242
  # @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.
1243
+ # The type of speech in the input audio. `CONVERSATION` refers to
1244
+ # conversations between two or more speakers, e.g., a conversations
1245
+ # between doctors and patients. `DICTATION` refers to single-speaker
1246
+ # dictated speech, e.g., for clinical notes.
1054
1247
  #
1055
1248
  # @return [Types::StartMedicalTranscriptionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1056
1249
  #
@@ -1074,6 +1267,7 @@ module Aws::TranscribeService
1074
1267
  # channel_identification: false,
1075
1268
  # show_alternatives: false,
1076
1269
  # max_alternatives: 1,
1270
+ # vocabulary_name: "VocabularyName",
1077
1271
  # },
1078
1272
  # specialty: "PRIMARYCARE", # required, accepts PRIMARYCARE
1079
1273
  # type: "CONVERSATION", # required, accepts CONVERSATION, DICTATION
@@ -1097,6 +1291,7 @@ module Aws::TranscribeService
1097
1291
  # resp.medical_transcription_job.settings.channel_identification #=> Boolean
1098
1292
  # resp.medical_transcription_job.settings.show_alternatives #=> Boolean
1099
1293
  # resp.medical_transcription_job.settings.max_alternatives #=> Integer
1294
+ # resp.medical_transcription_job.settings.vocabulary_name #=> String
1100
1295
  # resp.medical_transcription_job.specialty #=> String, one of "PRIMARYCARE"
1101
1296
  # resp.medical_transcription_job.type #=> String, one of "CONVERSATION", "DICTATION"
1102
1297
  #
@@ -1114,7 +1309,9 @@ module Aws::TranscribeService
1114
1309
  # @option params [required, String] :transcription_job_name
1115
1310
  # The name of the job. Note that you can't use the strings "." or
1116
1311
  # ".." by themselves as the job name. The name must also be unique
1117
- # within an AWS account.
1312
+ # within an AWS account. If you try to create a transcription job with
1313
+ # the same name as a previous transcription job you will receive a
1314
+ # `ConflictException` error.
1118
1315
  #
1119
1316
  # @option params [required, String] :language_code
1120
1317
  # The language code for the language used in the input media file.
@@ -1278,12 +1475,83 @@ module Aws::TranscribeService
1278
1475
  req.send_request(options)
1279
1476
  end
1280
1477
 
1478
+ # Updates an existing vocabulary with new values in a different text
1479
+ # file. The `UpdateMedicalVocabulary` operation overwrites all of the
1480
+ # existing information with the values that you provide in the request.
1481
+ #
1482
+ # @option params [required, String] :vocabulary_name
1483
+ # The name of the vocabulary to update. The name is case-sensitive. If
1484
+ # you try to update a vocabulary with the same name as a previous
1485
+ # vocabulary you will receive a `ConflictException` error.
1486
+ #
1487
+ # @option params [required, String] :language_code
1488
+ # The language code of the entries in the updated vocabulary. US English
1489
+ # (en-US) is the only valid language code in Amazon Transcribe Medical.
1490
+ #
1491
+ # @option params [String] :vocabulary_file_uri
1492
+ # The Amazon S3 location of the text file containing the definition of
1493
+ # the custom vocabulary. The URI must be in the same AWS region as the
1494
+ # API endpoint you are calling. You can see the fields you need to enter
1495
+ # for you Amazon S3 location in the example URI here:
1496
+ #
1497
+ # `
1498
+ # https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
1499
+ # `
1500
+ #
1501
+ # For example:
1502
+ #
1503
+ # `https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt`
1504
+ #
1505
+ # For more information about S3 object names, see [Object Keys][1] in
1506
+ # the *Amazon S3 Developer Guide*.
1507
+ #
1508
+ # For more information about custom vocabularies in Amazon Transcribe
1509
+ # Medical, see [Medical Custom Vocabularies][2].
1510
+ #
1511
+ #
1512
+ #
1513
+ # [1]: http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys
1514
+ # [2]: http://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html#how-vocabulary
1515
+ #
1516
+ # @return [Types::UpdateMedicalVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1517
+ #
1518
+ # * {Types::UpdateMedicalVocabularyResponse#vocabulary_name #vocabulary_name} => String
1519
+ # * {Types::UpdateMedicalVocabularyResponse#language_code #language_code} => String
1520
+ # * {Types::UpdateMedicalVocabularyResponse#last_modified_time #last_modified_time} => Time
1521
+ # * {Types::UpdateMedicalVocabularyResponse#vocabulary_state #vocabulary_state} => String
1522
+ #
1523
+ # @example Request syntax with placeholder values
1524
+ #
1525
+ # resp = client.update_medical_vocabulary({
1526
+ # vocabulary_name: "VocabularyName", # required
1527
+ # 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
1528
+ # vocabulary_file_uri: "Uri",
1529
+ # })
1530
+ #
1531
+ # @example Response structure
1532
+ #
1533
+ # resp.vocabulary_name #=> String
1534
+ # resp.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"
1535
+ # resp.last_modified_time #=> Time
1536
+ # resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
1537
+ #
1538
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateMedicalVocabulary AWS API Documentation
1539
+ #
1540
+ # @overload update_medical_vocabulary(params = {})
1541
+ # @param [Hash] params ({})
1542
+ def update_medical_vocabulary(params = {}, options = {})
1543
+ req = build_request(:update_medical_vocabulary, params)
1544
+ req.send_request(options)
1545
+ end
1546
+
1281
1547
  # Updates an existing vocabulary with new values. The `UpdateVocabulary`
1282
1548
  # operation overwrites all of the existing information with the values
1283
1549
  # that you provide in the request.
1284
1550
  #
1285
1551
  # @option params [required, String] :vocabulary_name
1286
- # The name of the vocabulary to update. The name is case-sensitive.
1552
+ # The name of the vocabulary to update. The name is case-sensitive. If
1553
+ # you try to update a vocabulary with the same name as a previous
1554
+ # vocabulary you will receive a `ConflictException` error.
1287
1555
  #
1288
1556
  # @option params [required, String] :language_code
1289
1557
  # The language code of the vocabulary entries.
@@ -1296,14 +1564,8 @@ module Aws::TranscribeService
1296
1564
  # custom vocabulary. The URI must be in the same region as the API
1297
1565
  # endpoint that you are calling. The general form is
1298
1566
  #
1299
- # `
1300
- # https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
1301
- # `
1302
- #
1303
1567
  # For example:
1304
1568
  #
1305
- # `https://s3.us-east-1.amazonaws.com/examplebucket/vocab.txt`
1306
- #
1307
1569
  # For more information about S3 object names, see [Object Keys][1] in
1308
1570
  # the *Amazon S3 Developer Guide*.
1309
1571
  #
@@ -1350,7 +1612,9 @@ module Aws::TranscribeService
1350
1612
  # Updates a vocabulary filter with a new list of filtered words.
1351
1613
  #
1352
1614
  # @option params [required, String] :vocabulary_filter_name
1353
- # The name of the vocabulary filter to update.
1615
+ # The name of the vocabulary filter to update. If you try to update a
1616
+ # vocabulary filter with the same name as a previous vocabulary filter
1617
+ # you will receive a `ConflictException` error.
1354
1618
  #
1355
1619
  # @option params [Array<String>] :words
1356
1620
  # The words to use in the vocabulary filter. Only use characters from
@@ -1422,7 +1686,7 @@ module Aws::TranscribeService
1422
1686
  params: params,
1423
1687
  config: config)
1424
1688
  context[:gem_name] = 'aws-sdk-transcribeservice'
1425
- context[:gem_version] = '1.39.0'
1689
+ context[:gem_version] = '1.44.1'
1426
1690
  Seahorse::Client::Request.new(handlers, context)
1427
1691
  end
1428
1692