aws-sdk-transcribeservice 1.42.0 → 1.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 204f8f15eb10a4ac1cce998ce6239f4c2db0425101b5d20b216d0253e7f457be
4
- data.tar.gz: a15da424f8f923640e5df0fd78bb6112a3026b57c2ed2e146a50035e6b87ddaa
3
+ metadata.gz: e576f4cd1d3980af724b8b9410c62fef4a4ca79896f0b3213f2669b4e77a78be
4
+ data.tar.gz: '05382b0c712c79441a737278f7c0c8feda5b76cca1971b3462ceea0f60ad5532'
5
5
  SHA512:
6
- metadata.gz: 47a6f2345f84e4bc54744f1834278096150f4e994271959d3f068ab1b6a72bafbb4838a2255e841f283f5173465963b46fd0f6424a690d5f3aa578f618a7b974
7
- data.tar.gz: 8231b80ee0335cb7d761fb2e627a8425d832a762366d1a792449107607f0affae29accc566985ea15136f6f8d589de9a206de4bc205a164cfd63280abc5b283d
6
+ metadata.gz: 7e624a3f8c66bbc3d773e248540c74e966559f07e882556541f1868d3dbacbcf145838202d1e03c842e032871dd842c3c244a8e3bd88e8005207dce0ca4a3844
7
+ data.tar.gz: 262caab18a0594acf92bae806fba2f261ed814935c8b25726f3fa969972f2c7d7eea2d78e4e7855a0b24a6dee4de80d7780f4bd2f47cf54502453ec747f653c0
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -25,7 +27,7 @@ require_relative 'aws-sdk-transcribeservice/customizations'
25
27
  # structure.
26
28
  #
27
29
  # transcribe_service = Aws::TranscribeService::Client.new
28
- # resp = transcribe_service.create_medical_vocabulary(params)
30
+ # resp = transcribe_service.create_language_model(params)
29
31
  #
30
32
  # See {Client} for more information.
31
33
  #
@@ -42,9 +44,9 @@ require_relative 'aws-sdk-transcribeservice/customizations'
42
44
  #
43
45
  # See {Errors} for more information.
44
46
  #
45
- # @service
47
+ # @!group service
46
48
  module Aws::TranscribeService
47
49
 
48
- GEM_VERSION = '1.42.0'
50
+ GEM_VERSION = '1.47.0'
49
51
 
50
52
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
29
32
 
@@ -69,6 +72,7 @@ module Aws::TranscribeService
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
74
78
 
@@ -81,13 +85,28 @@ module Aws::TranscribeService
81
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
82
86
  # credentials.
83
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
84
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
85
103
  # from an EC2 IMDS on an EC2 instance.
86
104
  #
87
- # * `Aws::SharedCredentials` - Used for loading credentials from a
88
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
89
107
  #
90
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
91
110
  #
92
111
  # When `:credentials` are not configured directly, the following
93
112
  # locations will be searched for credentials:
@@ -97,10 +116,10 @@ module Aws::TranscribeService
97
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
98
117
  # * `~/.aws/credentials`
99
118
  # * `~/.aws/config`
100
- # * EC2 IMDS instance profile - When used by default, the timeouts are
101
- # very aggressive. Construct and pass an instance of
102
- # `Aws::InstanceProfileCredentails` to enable retries and extended
103
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
104
123
  #
105
124
  # @option options [required, String] :region
106
125
  # The AWS region to connect to. The configured `:region` is
@@ -161,7 +180,7 @@ module Aws::TranscribeService
161
180
  # @option options [String] :endpoint
162
181
  # The client endpoint is normally constructed from the `:region`
163
182
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be a valid HTTP(S) URI.
183
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
184
  #
166
185
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
186
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +195,7 @@ module Aws::TranscribeService
176
195
  # requests fetching endpoints information. Defaults to 60 sec.
177
196
  #
178
197
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
198
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
199
  #
181
200
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
201
  # The log formatter.
@@ -318,37 +337,103 @@ module Aws::TranscribeService
318
337
 
319
338
  # @!group API Operations
320
339
 
340
+ # Creates a new custom language model. Use Amazon S3 prefixes to provide
341
+ # the location of your input files. The time it takes to create your
342
+ # model depends on the size of your training data.
343
+ #
344
+ # @option params [required, String] :language_code
345
+ # The language of the input text you're using to train your custom
346
+ # language model.
347
+ #
348
+ # @option params [required, String] :base_model_name
349
+ # The Amazon Transcribe standard language model, or base model used to
350
+ # create your custom language model.
351
+ #
352
+ # If you want to use your custom language model to transcribe audio with
353
+ # a sample rate of 16 kHz or greater, choose `Wideband`.
354
+ #
355
+ # If you want to use your custom language model to transcribe audio with
356
+ # a sample rate that is less than 16 kHz, choose `Narrowband`.
357
+ #
358
+ # @option params [required, String] :model_name
359
+ # The name you choose for your custom language model when you create it.
360
+ #
361
+ # @option params [required, Types::InputDataConfig] :input_data_config
362
+ # Contains the data access role and the Amazon S3 prefixes to read the
363
+ # required input files to create a custom language model.
364
+ #
365
+ # @return [Types::CreateLanguageModelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
366
+ #
367
+ # * {Types::CreateLanguageModelResponse#language_code #language_code} => String
368
+ # * {Types::CreateLanguageModelResponse#base_model_name #base_model_name} => String
369
+ # * {Types::CreateLanguageModelResponse#model_name #model_name} => String
370
+ # * {Types::CreateLanguageModelResponse#input_data_config #input_data_config} => Types::InputDataConfig
371
+ # * {Types::CreateLanguageModelResponse#model_status #model_status} => String
372
+ #
373
+ # @example Request syntax with placeholder values
374
+ #
375
+ # resp = client.create_language_model({
376
+ # language_code: "en-US", # required, accepts en-US
377
+ # base_model_name: "NarrowBand", # required, accepts NarrowBand, WideBand
378
+ # model_name: "ModelName", # required
379
+ # input_data_config: { # required
380
+ # s3_uri: "Uri", # required
381
+ # tuning_data_s3_uri: "Uri",
382
+ # data_access_role_arn: "DataAccessRoleArn", # required
383
+ # },
384
+ # })
385
+ #
386
+ # @example Response structure
387
+ #
388
+ # resp.language_code #=> String, one of "en-US"
389
+ # resp.base_model_name #=> String, one of "NarrowBand", "WideBand"
390
+ # resp.model_name #=> String
391
+ # resp.input_data_config.s3_uri #=> String
392
+ # resp.input_data_config.tuning_data_s3_uri #=> String
393
+ # resp.input_data_config.data_access_role_arn #=> String
394
+ # resp.model_status #=> String, one of "IN_PROGRESS", "FAILED", "COMPLETED"
395
+ #
396
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateLanguageModel AWS API Documentation
397
+ #
398
+ # @overload create_language_model(params = {})
399
+ # @param [Hash] params ({})
400
+ def create_language_model(params = {}, options = {})
401
+ req = build_request(:create_language_model, params)
402
+ req.send_request(options)
403
+ end
404
+
321
405
  # Creates a new custom vocabulary that you can use to change how Amazon
322
406
  # Transcribe Medical transcribes your audio file.
323
407
  #
324
408
  # @option params [required, String] :vocabulary_name
325
409
  # The name of the custom vocabulary. This case-sensitive name must be
326
410
  # unique within an AWS account. If you try to create a vocabulary with
327
- # the same name as a previous vocabulary you will receive a
328
- # `ConflictException` error.
411
+ # the same name as a previous vocabulary, you get a `ConflictException`
412
+ # error.
329
413
  #
330
414
  # @option params [required, String] :language_code
331
- # The language code used for the entries within your custom vocabulary.
332
- # The language code of your custom vocabulary must match the language
333
- # code of your transcription job. US English (en-US) is the only
334
- # language code available for Amazon Transcribe Medical.
415
+ # The language code for the language used for the entries in your custom
416
+ # vocabulary. The language code of your custom vocabulary must match the
417
+ # language code of your transcription job. US English (en-US) is the
418
+ # only language code available for Amazon Transcribe Medical.
335
419
  #
336
420
  # @option params [required, String] :vocabulary_file_uri
337
- # The Amazon S3 location of the text file you use to define your custom
338
- # vocabulary. The URI must be in the same AWS region as the API endpoint
339
- # you're calling. Enter information about your `VocabularyFileUri` in
340
- # the following format:
421
+ # The location in Amazon S3 of the text file you use to define your
422
+ # custom vocabulary. The URI must be in the same AWS Region as the
423
+ # resource that you're calling. Enter information about your
424
+ # `VocabularyFileUri` in the following format:
341
425
  #
342
426
  # `
343
427
  # https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
344
428
  # `
345
429
  #
346
- # This is an example of a vocabulary file uri location in Amazon S3:
430
+ # The following is an example URI for a vocabulary file that is stored
431
+ # in Amazon S3:
347
432
  #
348
433
  # `https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt`
349
434
  #
350
- # For more information about S3 object names, see [Object Keys][1] in
351
- # the *Amazon S3 Developer Guide*.
435
+ # For more information about Amazon S3 object names, see [Object
436
+ # Keys][1] in the *Amazon S3 Developer Guide*.
352
437
  #
353
438
  # For more information about custom vocabularies, see [Medical Custom
354
439
  # Vocabularies][2].
@@ -370,14 +455,14 @@ module Aws::TranscribeService
370
455
  #
371
456
  # resp = client.create_medical_vocabulary({
372
457
  # vocabulary_name: "VocabularyName", # required
373
- # 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
458
+ # language_code: "af-ZA", # required, 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
374
459
  # vocabulary_file_uri: "Uri", # required
375
460
  # })
376
461
  #
377
462
  # @example Response structure
378
463
  #
379
464
  # resp.vocabulary_name #=> String
380
- # 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"
465
+ # resp.language_code #=> String, one of "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"
381
466
  # resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
382
467
  # resp.last_modified_time #=> Time
383
468
  # resp.failure_reason #=> String
@@ -396,7 +481,7 @@ module Aws::TranscribeService
396
481
  #
397
482
  # @option params [required, String] :vocabulary_name
398
483
  # The name of the vocabulary. The name must be unique within an AWS
399
- # account. The name is case-sensitive. If you try to create a vocabulary
484
+ # account. The name is case sensitive. If you try to create a vocabulary
400
485
  # with the same name as a previous vocabulary you will receive a
401
486
  # `ConflictException` error.
402
487
  #
@@ -434,7 +519,7 @@ module Aws::TranscribeService
434
519
  #
435
520
  # resp = client.create_vocabulary({
436
521
  # vocabulary_name: "VocabularyName", # required
437
- # 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
522
+ # language_code: "af-ZA", # required, 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
438
523
  # phrases: ["Phrase"],
439
524
  # vocabulary_file_uri: "Uri",
440
525
  # })
@@ -442,7 +527,7 @@ module Aws::TranscribeService
442
527
  # @example Response structure
443
528
  #
444
529
  # resp.vocabulary_name #=> String
445
- # 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"
530
+ # resp.language_code #=> String, one of "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"
446
531
  # resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
447
532
  # resp.last_modified_time #=> Time
448
533
  # resp.failure_reason #=> String
@@ -461,9 +546,9 @@ module Aws::TranscribeService
461
546
  #
462
547
  # @option params [required, String] :vocabulary_filter_name
463
548
  # The vocabulary filter name. The name must be unique within the account
464
- # that contains it.If you try to create a vocabulary filter with the
465
- # same name as a previous vocabulary filter you will receive a
466
- # `ConflictException` error.
549
+ # that contains it. If you try to create a vocabulary filter with the
550
+ # same name as another vocabulary filter, you get a `ConflictException`
551
+ # error.
467
552
  #
468
553
  # @option params [required, String] :language_code
469
554
  # The language code of the words in the vocabulary filter. All words in
@@ -508,7 +593,7 @@ module Aws::TranscribeService
508
593
  #
509
594
  # resp = client.create_vocabulary_filter({
510
595
  # vocabulary_filter_name: "VocabularyFilterName", # required
511
- # 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
596
+ # language_code: "af-ZA", # required, 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
512
597
  # words: ["Word"],
513
598
  # vocabulary_filter_file_uri: "Uri",
514
599
  # })
@@ -516,7 +601,7 @@ module Aws::TranscribeService
516
601
  # @example Response structure
517
602
  #
518
603
  # resp.vocabulary_filter_name #=> String
519
- # 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"
604
+ # resp.language_code #=> String, one of "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"
520
605
  # resp.last_modified_time #=> Time
521
606
  #
522
607
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateVocabularyFilter AWS API Documentation
@@ -528,6 +613,28 @@ module Aws::TranscribeService
528
613
  req.send_request(options)
529
614
  end
530
615
 
616
+ # Deletes a custom language model using its name.
617
+ #
618
+ # @option params [required, String] :model_name
619
+ # The name of the model you're choosing to delete.
620
+ #
621
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
622
+ #
623
+ # @example Request syntax with placeholder values
624
+ #
625
+ # resp = client.delete_language_model({
626
+ # model_name: "ModelName", # required
627
+ # })
628
+ #
629
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteLanguageModel AWS API Documentation
630
+ #
631
+ # @overload delete_language_model(params = {})
632
+ # @param [Hash] params ({})
633
+ def delete_language_model(params = {}, options = {})
634
+ req = build_request(:delete_language_model, params)
635
+ req.send_request(options)
636
+ end
637
+
531
638
  # Deletes a transcription job generated by Amazon Transcribe Medical and
532
639
  # any related information.
533
640
  #
@@ -555,7 +662,7 @@ module Aws::TranscribeService
555
662
  # Deletes a vocabulary from Amazon Transcribe Medical.
556
663
  #
557
664
  # @option params [required, String] :vocabulary_name
558
- # The name of the vocabulary you are choosing to delete.
665
+ # The name of the vocabulary that you want to delete.
559
666
  #
560
667
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
561
668
  #
@@ -641,6 +748,52 @@ module Aws::TranscribeService
641
748
  req.send_request(options)
642
749
  end
643
750
 
751
+ # Gets information about a single custom language model. Use this
752
+ # information to see details about the language model in your AWS
753
+ # account. You can also see whether the base language model used to
754
+ # create your custom language model has been updated. If Amazon
755
+ # Transcribe has updated the base model, you can create a new custom
756
+ # language model using the updated base model. If the language model
757
+ # wasn't created, you can use this operation to understand why Amazon
758
+ # Transcribe couldn't create it.
759
+ #
760
+ # @option params [required, String] :model_name
761
+ # The name of the custom language model you submit to get more
762
+ # information.
763
+ #
764
+ # @return [Types::DescribeLanguageModelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
765
+ #
766
+ # * {Types::DescribeLanguageModelResponse#language_model #language_model} => Types::LanguageModel
767
+ #
768
+ # @example Request syntax with placeholder values
769
+ #
770
+ # resp = client.describe_language_model({
771
+ # model_name: "ModelName", # required
772
+ # })
773
+ #
774
+ # @example Response structure
775
+ #
776
+ # resp.language_model.model_name #=> String
777
+ # resp.language_model.create_time #=> Time
778
+ # resp.language_model.last_modified_time #=> Time
779
+ # resp.language_model.language_code #=> String, one of "en-US"
780
+ # resp.language_model.base_model_name #=> String, one of "NarrowBand", "WideBand"
781
+ # resp.language_model.model_status #=> String, one of "IN_PROGRESS", "FAILED", "COMPLETED"
782
+ # resp.language_model.upgrade_availability #=> Boolean
783
+ # resp.language_model.failure_reason #=> String
784
+ # resp.language_model.input_data_config.s3_uri #=> String
785
+ # resp.language_model.input_data_config.tuning_data_s3_uri #=> String
786
+ # resp.language_model.input_data_config.data_access_role_arn #=> String
787
+ #
788
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DescribeLanguageModel AWS API Documentation
789
+ #
790
+ # @overload describe_language_model(params = {})
791
+ # @param [Hash] params ({})
792
+ def describe_language_model(params = {}, options = {})
793
+ req = build_request(:describe_language_model, params)
794
+ req.send_request(options)
795
+ end
796
+
644
797
  # Returns information about a transcription job from Amazon Transcribe
645
798
  # Medical. To see the status of the job, check the
646
799
  # `TranscriptionJobStatus` field. If the status is `COMPLETED`, the job
@@ -664,7 +817,7 @@ module Aws::TranscribeService
664
817
  #
665
818
  # resp.medical_transcription_job.medical_transcription_job_name #=> String
666
819
  # resp.medical_transcription_job.transcription_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
667
- # 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"
820
+ # resp.medical_transcription_job.language_code #=> String, one of "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"
668
821
  # resp.medical_transcription_job.media_sample_rate_hertz #=> Integer
669
822
  # resp.medical_transcription_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac"
670
823
  # resp.medical_transcription_job.media.media_file_uri #=> String
@@ -691,11 +844,11 @@ module Aws::TranscribeService
691
844
  req.send_request(options)
692
845
  end
693
846
 
694
- # Retrieve information about a medical vocabulary.
847
+ # Retrieves information about a medical vocabulary.
695
848
  #
696
849
  # @option params [required, String] :vocabulary_name
697
- # The name of the vocabulary you are trying to get information about.
698
- # The value you enter for this request is case-sensitive.
850
+ # The name of the vocabulary that you want information about. The value
851
+ # is case sensitive.
699
852
  #
700
853
  # @return [Types::GetMedicalVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
701
854
  #
@@ -715,7 +868,7 @@ module Aws::TranscribeService
715
868
  # @example Response structure
716
869
  #
717
870
  # resp.vocabulary_name #=> String
718
- # 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"
871
+ # resp.language_code #=> String, one of "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"
719
872
  # resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
720
873
  # resp.last_modified_time #=> Time
721
874
  # resp.failure_reason #=> String
@@ -754,7 +907,7 @@ module Aws::TranscribeService
754
907
  #
755
908
  # resp.transcription_job.transcription_job_name #=> String
756
909
  # resp.transcription_job.transcription_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
757
- # resp.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"
910
+ # resp.transcription_job.language_code #=> String, one of "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"
758
911
  # resp.transcription_job.media_sample_rate_hertz #=> Integer
759
912
  # resp.transcription_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac"
760
913
  # resp.transcription_job.media.media_file_uri #=> String
@@ -772,6 +925,7 @@ module Aws::TranscribeService
772
925
  # resp.transcription_job.settings.max_alternatives #=> Integer
773
926
  # resp.transcription_job.settings.vocabulary_filter_name #=> String
774
927
  # resp.transcription_job.settings.vocabulary_filter_method #=> String, one of "remove", "mask"
928
+ # resp.transcription_job.model_settings.language_model_name #=> String
775
929
  # resp.transcription_job.job_execution_settings.allow_deferred_execution #=> Boolean
776
930
  # resp.transcription_job.job_execution_settings.data_access_role_arn #=> String
777
931
  # resp.transcription_job.content_redaction.redaction_type #=> String, one of "PII"
@@ -790,7 +944,7 @@ module Aws::TranscribeService
790
944
  #
791
945
  # @option params [required, String] :vocabulary_name
792
946
  # The name of the vocabulary to return information about. The name is
793
- # case-sensitive.
947
+ # case sensitive.
794
948
  #
795
949
  # @return [Types::GetVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
796
950
  #
@@ -810,7 +964,7 @@ module Aws::TranscribeService
810
964
  # @example Response structure
811
965
  #
812
966
  # resp.vocabulary_name #=> String
813
- # 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"
967
+ # resp.language_code #=> String, one of "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"
814
968
  # resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
815
969
  # resp.last_modified_time #=> Time
816
970
  # resp.failure_reason #=> String
@@ -846,7 +1000,7 @@ module Aws::TranscribeService
846
1000
  # @example Response structure
847
1001
  #
848
1002
  # resp.vocabulary_filter_name #=> String
849
- # 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"
1003
+ # resp.language_code #=> String, one of "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"
850
1004
  # resp.last_modified_time #=> Time
851
1005
  # resp.download_uri #=> String
852
1006
  #
@@ -859,6 +1013,71 @@ module Aws::TranscribeService
859
1013
  req.send_request(options)
860
1014
  end
861
1015
 
1016
+ # Provides more information about the custom language models you've
1017
+ # created. You can use the information in this list to find a specific
1018
+ # custom language model. You can then use the operation to get more
1019
+ # information about it.
1020
+ #
1021
+ # @option params [String] :status_equals
1022
+ # When specified, returns only custom language models with the specified
1023
+ # status. Language models are ordered by creation date, with the newest
1024
+ # models first. If you don't specify a status, Amazon Transcribe
1025
+ # returns all custom language models ordered by date.
1026
+ #
1027
+ # @option params [String] :name_contains
1028
+ # When specified, the custom language model names returned contain the
1029
+ # substring you've specified.
1030
+ #
1031
+ # @option params [String] :next_token
1032
+ # When included, fetches the next set of jobs if the result of the
1033
+ # previous request was truncated.
1034
+ #
1035
+ # @option params [Integer] :max_results
1036
+ # The maximum number of language models to return in the response. If
1037
+ # there are fewer results in the list, the response contains only the
1038
+ # actual results.
1039
+ #
1040
+ # @return [Types::ListLanguageModelsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1041
+ #
1042
+ # * {Types::ListLanguageModelsResponse#next_token #next_token} => String
1043
+ # * {Types::ListLanguageModelsResponse#models #models} => Array&lt;Types::LanguageModel&gt;
1044
+ #
1045
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1046
+ #
1047
+ # @example Request syntax with placeholder values
1048
+ #
1049
+ # resp = client.list_language_models({
1050
+ # status_equals: "IN_PROGRESS", # accepts IN_PROGRESS, FAILED, COMPLETED
1051
+ # name_contains: "ModelName",
1052
+ # next_token: "NextToken",
1053
+ # max_results: 1,
1054
+ # })
1055
+ #
1056
+ # @example Response structure
1057
+ #
1058
+ # resp.next_token #=> String
1059
+ # resp.models #=> Array
1060
+ # resp.models[0].model_name #=> String
1061
+ # resp.models[0].create_time #=> Time
1062
+ # resp.models[0].last_modified_time #=> Time
1063
+ # resp.models[0].language_code #=> String, one of "en-US"
1064
+ # resp.models[0].base_model_name #=> String, one of "NarrowBand", "WideBand"
1065
+ # resp.models[0].model_status #=> String, one of "IN_PROGRESS", "FAILED", "COMPLETED"
1066
+ # resp.models[0].upgrade_availability #=> Boolean
1067
+ # resp.models[0].failure_reason #=> String
1068
+ # resp.models[0].input_data_config.s3_uri #=> String
1069
+ # resp.models[0].input_data_config.tuning_data_s3_uri #=> String
1070
+ # resp.models[0].input_data_config.data_access_role_arn #=> String
1071
+ #
1072
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListLanguageModels AWS API Documentation
1073
+ #
1074
+ # @overload list_language_models(params = {})
1075
+ # @param [Hash] params ({})
1076
+ def list_language_models(params = {}, options = {})
1077
+ req = build_request(:list_language_models, params)
1078
+ req.send_request(options)
1079
+ end
1080
+
862
1081
  # Lists medical transcription jobs with a specified status or substring
863
1082
  # that matches their names.
864
1083
  #
@@ -908,7 +1127,7 @@ module Aws::TranscribeService
908
1127
  # resp.medical_transcription_job_summaries[0].creation_time #=> Time
909
1128
  # resp.medical_transcription_job_summaries[0].start_time #=> Time
910
1129
  # resp.medical_transcription_job_summaries[0].completion_time #=> Time
911
- # 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"
1130
+ # resp.medical_transcription_job_summaries[0].language_code #=> String, one of "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"
912
1131
  # resp.medical_transcription_job_summaries[0].transcription_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
913
1132
  # resp.medical_transcription_job_summaries[0].failure_reason #=> String
914
1133
  # resp.medical_transcription_job_summaries[0].output_location_type #=> String, one of "CUSTOMER_BUCKET", "SERVICE_BUCKET"
@@ -924,26 +1143,27 @@ module Aws::TranscribeService
924
1143
  req.send_request(options)
925
1144
  end
926
1145
 
927
- # Returns a list of vocabularies that match the specified criteria. You
928
- # get the entire list of vocabularies if you don't enter a value in any
929
- # of the request parameters.
1146
+ # Returns a list of vocabularies that match the specified criteria. If
1147
+ # you don't enter a value in any of the request parameters, returns the
1148
+ # entire list of vocabularies.
930
1149
  #
931
1150
  # @option params [String] :next_token
932
1151
  # If the result of your previous request to `ListMedicalVocabularies`
933
- # was truncated, include the `NextToken` to fetch the next set of jobs.
1152
+ # was truncated, include the `NextToken` to fetch the next set of
1153
+ # vocabularies.
934
1154
  #
935
1155
  # @option params [Integer] :max_results
936
1156
  # The maximum number of vocabularies to return in the response.
937
1157
  #
938
1158
  # @option params [String] :state_equals
939
- # When specified, only returns vocabularies with the `VocabularyState`
940
- # equal to the specified vocabulary state.
1159
+ # When specified, returns only vocabularies with the `VocabularyState`
1160
+ # equal to the specified vocabulary state. Use this field to see which
1161
+ # vocabularies are ready for your medical transcription jobs.
941
1162
  #
942
1163
  # @option params [String] :name_contains
943
- # Returns vocabularies in the list whose name contains the specified
944
- # string. The search is case-insensitive, `ListMedicalVocabularies`
945
- # returns both "vocabularyname" and "VocabularyName" in the response
946
- # list.
1164
+ # Returns vocabularies whose names contain the specified string. The
1165
+ # search is not case sensitive. `ListMedicalVocabularies` returns both
1166
+ # "`vocabularyname`" and "`VocabularyName`".
947
1167
  #
948
1168
  # @return [Types::ListMedicalVocabulariesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
949
1169
  #
@@ -968,7 +1188,7 @@ module Aws::TranscribeService
968
1188
  # resp.next_token #=> String
969
1189
  # resp.vocabularies #=> Array
970
1190
  # resp.vocabularies[0].vocabulary_name #=> String
971
- # 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"
1191
+ # resp.vocabularies[0].language_code #=> String, one of "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"
972
1192
  # resp.vocabularies[0].last_modified_time #=> Time
973
1193
  # resp.vocabularies[0].vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
974
1194
  #
@@ -1028,12 +1248,13 @@ module Aws::TranscribeService
1028
1248
  # resp.transcription_job_summaries[0].creation_time #=> Time
1029
1249
  # resp.transcription_job_summaries[0].start_time #=> Time
1030
1250
  # resp.transcription_job_summaries[0].completion_time #=> Time
1031
- # resp.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"
1251
+ # resp.transcription_job_summaries[0].language_code #=> String, one of "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"
1032
1252
  # resp.transcription_job_summaries[0].transcription_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
1033
1253
  # resp.transcription_job_summaries[0].failure_reason #=> String
1034
1254
  # resp.transcription_job_summaries[0].output_location_type #=> String, one of "CUSTOMER_BUCKET", "SERVICE_BUCKET"
1035
1255
  # resp.transcription_job_summaries[0].content_redaction.redaction_type #=> String, one of "PII"
1036
1256
  # resp.transcription_job_summaries[0].content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
1257
+ # resp.transcription_job_summaries[0].model_settings.language_model_name #=> String
1037
1258
  #
1038
1259
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListTranscriptionJobs AWS API Documentation
1039
1260
  #
@@ -1063,7 +1284,7 @@ module Aws::TranscribeService
1063
1284
  # @option params [String] :name_contains
1064
1285
  # When specified, the vocabularies returned in the list are limited to
1065
1286
  # vocabularies whose name contains the specified string. The search is
1066
- # case-insensitive, `ListVocabularies` returns both "vocabularyname"
1287
+ # not case sensitive, `ListVocabularies` returns both "vocabularyname"
1067
1288
  # and "VocabularyName" in the response list.
1068
1289
  #
1069
1290
  # @return [Types::ListVocabulariesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -1089,7 +1310,7 @@ module Aws::TranscribeService
1089
1310
  # resp.next_token #=> String
1090
1311
  # resp.vocabularies #=> Array
1091
1312
  # resp.vocabularies[0].vocabulary_name #=> String
1092
- # 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"
1313
+ # resp.vocabularies[0].language_code #=> String, one of "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"
1093
1314
  # resp.vocabularies[0].last_modified_time #=> Time
1094
1315
  # resp.vocabularies[0].vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
1095
1316
  #
@@ -1138,7 +1359,7 @@ module Aws::TranscribeService
1138
1359
  # resp.next_token #=> String
1139
1360
  # resp.vocabulary_filters #=> Array
1140
1361
  # resp.vocabulary_filters[0].vocabulary_filter_name #=> String
1141
- # resp.vocabulary_filters[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"
1362
+ # resp.vocabulary_filters[0].language_code #=> String, one of "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"
1142
1363
  # resp.vocabulary_filters[0].last_modified_time #=> Time
1143
1364
  #
1144
1365
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListVocabularyFilters AWS API Documentation
@@ -1150,14 +1371,14 @@ module Aws::TranscribeService
1150
1371
  req.send_request(options)
1151
1372
  end
1152
1373
 
1153
- # Start a batch job to transcribe medical speech to text.
1374
+ # Starts a batch job to transcribe medical speech to text.
1154
1375
  #
1155
1376
  # @option params [required, String] :medical_transcription_job_name
1156
1377
  # The name of the medical transcription job. You can't use the strings
1157
- # "." or ".." by themselves as the job name. The name must also be
1158
- # unique within an AWS account. If you try to create a medical
1378
+ # "`.`" or "`..`" by themselves as the job name. The name must also
1379
+ # be unique within an AWS account. If you try to create a medical
1159
1380
  # transcription job with the same name as a previous medical
1160
- # transcription job you will receive a `ConflictException` error.
1381
+ # transcription job, you get a `ConflictException` error.
1161
1382
  #
1162
1383
  # @option params [required, String] :language_code
1163
1384
  # The language code for the language spoken in the input media file. US
@@ -1251,7 +1472,7 @@ module Aws::TranscribeService
1251
1472
  #
1252
1473
  # resp = client.start_medical_transcription_job({
1253
1474
  # medical_transcription_job_name: "TranscriptionJobName", # required
1254
- # 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
1475
+ # language_code: "af-ZA", # required, 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
1255
1476
  # media_sample_rate_hertz: 1,
1256
1477
  # media_format: "mp3", # accepts mp3, mp4, wav, flac
1257
1478
  # media: { # required
@@ -1275,7 +1496,7 @@ module Aws::TranscribeService
1275
1496
  #
1276
1497
  # resp.medical_transcription_job.medical_transcription_job_name #=> String
1277
1498
  # resp.medical_transcription_job.transcription_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
1278
- # 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"
1499
+ # resp.medical_transcription_job.language_code #=> String, one of "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"
1279
1500
  # resp.medical_transcription_job.media_sample_rate_hertz #=> Integer
1280
1501
  # resp.medical_transcription_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac"
1281
1502
  # resp.medical_transcription_job.media.media_file_uri #=> String
@@ -1305,11 +1526,10 @@ module Aws::TranscribeService
1305
1526
  # Starts an asynchronous job to transcribe speech to text.
1306
1527
  #
1307
1528
  # @option params [required, String] :transcription_job_name
1308
- # The name of the job. Note that you can't use the strings "." or
1309
- # ".." by themselves as the job name. The name must also be unique
1310
- # within an AWS account. If you try to create a transcription job with
1311
- # the same name as a previous transcription job you will receive a
1312
- # `ConflictException` error.
1529
+ # The name of the job. You can't use the strings "`.`" or "`..`" by
1530
+ # themselves as the job name. The name must also be unique within an AWS
1531
+ # account. If you try to create a transcription job with the same name
1532
+ # as a previous transcription job, you get a `ConflictException` error.
1313
1533
  #
1314
1534
  # @option params [required, String] :language_code
1315
1535
  # The language code for the language used in the input media file.
@@ -1392,6 +1612,10 @@ module Aws::TranscribeService
1392
1612
  # A `Settings` object that provides optional settings for a
1393
1613
  # transcription job.
1394
1614
  #
1615
+ # @option params [Types::ModelSettings] :model_settings
1616
+ # Choose the custom language model you use for your transcription job in
1617
+ # this parameter.
1618
+ #
1395
1619
  # @option params [Types::JobExecutionSettings] :job_execution_settings
1396
1620
  # Provides information about how a transcription job is executed. Use
1397
1621
  # this field to indicate that the job can be queued for deferred
@@ -1409,7 +1633,7 @@ module Aws::TranscribeService
1409
1633
  #
1410
1634
  # resp = client.start_transcription_job({
1411
1635
  # transcription_job_name: "TranscriptionJobName", # required
1412
- # 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
1636
+ # language_code: "af-ZA", # required, 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
1413
1637
  # media_sample_rate_hertz: 1,
1414
1638
  # media_format: "mp3", # accepts mp3, mp4, wav, flac
1415
1639
  # media: { # required
@@ -1427,6 +1651,9 @@ module Aws::TranscribeService
1427
1651
  # vocabulary_filter_name: "VocabularyFilterName",
1428
1652
  # vocabulary_filter_method: "remove", # accepts remove, mask
1429
1653
  # },
1654
+ # model_settings: {
1655
+ # language_model_name: "ModelName",
1656
+ # },
1430
1657
  # job_execution_settings: {
1431
1658
  # allow_deferred_execution: false,
1432
1659
  # data_access_role_arn: "DataAccessRoleArn",
@@ -1441,7 +1668,7 @@ module Aws::TranscribeService
1441
1668
  #
1442
1669
  # resp.transcription_job.transcription_job_name #=> String
1443
1670
  # resp.transcription_job.transcription_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
1444
- # resp.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"
1671
+ # resp.transcription_job.language_code #=> String, one of "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"
1445
1672
  # resp.transcription_job.media_sample_rate_hertz #=> Integer
1446
1673
  # resp.transcription_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac"
1447
1674
  # resp.transcription_job.media.media_file_uri #=> String
@@ -1459,6 +1686,7 @@ module Aws::TranscribeService
1459
1686
  # resp.transcription_job.settings.max_alternatives #=> Integer
1460
1687
  # resp.transcription_job.settings.vocabulary_filter_name #=> String
1461
1688
  # resp.transcription_job.settings.vocabulary_filter_method #=> String, one of "remove", "mask"
1689
+ # resp.transcription_job.model_settings.language_model_name #=> String
1462
1690
  # resp.transcription_job.job_execution_settings.allow_deferred_execution #=> Boolean
1463
1691
  # resp.transcription_job.job_execution_settings.data_access_role_arn #=> String
1464
1692
  # resp.transcription_job.content_redaction.redaction_type #=> String, one of "PII"
@@ -1473,24 +1701,26 @@ module Aws::TranscribeService
1473
1701
  req.send_request(options)
1474
1702
  end
1475
1703
 
1476
- # Updates an existing vocabulary with new values in a different text
1477
- # file. The `UpdateMedicalVocabulary` operation overwrites all of the
1478
- # existing information with the values that you provide in the request.
1704
+ # Updates a vocabulary with new values that you provide in a different
1705
+ # text file from the one you used to create the vocabulary. The
1706
+ # `UpdateMedicalVocabulary` operation overwrites all of the existing
1707
+ # information with the values that you provide in the request.
1479
1708
  #
1480
1709
  # @option params [required, String] :vocabulary_name
1481
- # The name of the vocabulary to update. The name is case-sensitive. If
1482
- # you try to update a vocabulary with the same name as a previous
1483
- # vocabulary you will receive a `ConflictException` error.
1710
+ # The name of the vocabulary to update. The name is case sensitive. If
1711
+ # you try to update a vocabulary with the same name as a vocabulary
1712
+ # you've already made, you get a `ConflictException` error.
1484
1713
  #
1485
1714
  # @option params [required, String] :language_code
1486
- # The language code of the entries in the updated vocabulary. US English
1487
- # (en-US) is the only valid language code in Amazon Transcribe Medical.
1715
+ # The language code of the language used for the entries in the updated
1716
+ # vocabulary. US English (en-US) is the only valid language code in
1717
+ # Amazon Transcribe Medical.
1488
1718
  #
1489
1719
  # @option params [String] :vocabulary_file_uri
1490
- # The Amazon S3 location of the text file containing the definition of
1491
- # the custom vocabulary. The URI must be in the same AWS region as the
1492
- # API endpoint you are calling. You can see the fields you need to enter
1493
- # for you Amazon S3 location in the example URI here:
1720
+ # The location in Amazon S3 of the text file that contains the you use
1721
+ # for your custom vocabulary. The URI must be in the same AWS Region as
1722
+ # the resource that you are calling. The following is the format for a
1723
+ # URI:
1494
1724
  #
1495
1725
  # `
1496
1726
  # https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
@@ -1500,8 +1730,8 @@ module Aws::TranscribeService
1500
1730
  #
1501
1731
  # `https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt`
1502
1732
  #
1503
- # For more information about S3 object names, see [Object Keys][1] in
1504
- # the *Amazon S3 Developer Guide*.
1733
+ # For more information about Amazon S3 object names, see [Object
1734
+ # Keys][1] in the *Amazon S3 Developer Guide*.
1505
1735
  #
1506
1736
  # For more information about custom vocabularies in Amazon Transcribe
1507
1737
  # Medical, see [Medical Custom Vocabularies][2].
@@ -1522,14 +1752,14 @@ module Aws::TranscribeService
1522
1752
  #
1523
1753
  # resp = client.update_medical_vocabulary({
1524
1754
  # vocabulary_name: "VocabularyName", # required
1525
- # 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
1755
+ # language_code: "af-ZA", # required, 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
1526
1756
  # vocabulary_file_uri: "Uri",
1527
1757
  # })
1528
1758
  #
1529
1759
  # @example Response structure
1530
1760
  #
1531
1761
  # resp.vocabulary_name #=> String
1532
- # 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"
1762
+ # resp.language_code #=> String, one of "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"
1533
1763
  # resp.last_modified_time #=> Time
1534
1764
  # resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
1535
1765
  #
@@ -1547,7 +1777,7 @@ module Aws::TranscribeService
1547
1777
  # that you provide in the request.
1548
1778
  #
1549
1779
  # @option params [required, String] :vocabulary_name
1550
- # The name of the vocabulary to update. The name is case-sensitive. If
1780
+ # The name of the vocabulary to update. The name is case sensitive. If
1551
1781
  # you try to update a vocabulary with the same name as a previous
1552
1782
  # vocabulary you will receive a `ConflictException` error.
1553
1783
  #
@@ -1586,7 +1816,7 @@ module Aws::TranscribeService
1586
1816
  #
1587
1817
  # resp = client.update_vocabulary({
1588
1818
  # vocabulary_name: "VocabularyName", # required
1589
- # 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
1819
+ # language_code: "af-ZA", # required, 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
1590
1820
  # phrases: ["Phrase"],
1591
1821
  # vocabulary_file_uri: "Uri",
1592
1822
  # })
@@ -1594,7 +1824,7 @@ module Aws::TranscribeService
1594
1824
  # @example Response structure
1595
1825
  #
1596
1826
  # resp.vocabulary_name #=> String
1597
- # 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"
1827
+ # resp.language_code #=> String, one of "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"
1598
1828
  # resp.last_modified_time #=> Time
1599
1829
  # resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
1600
1830
  #
@@ -1611,8 +1841,8 @@ module Aws::TranscribeService
1611
1841
  #
1612
1842
  # @option params [required, String] :vocabulary_filter_name
1613
1843
  # The name of the vocabulary filter to update. If you try to update a
1614
- # vocabulary filter with the same name as a previous vocabulary filter
1615
- # you will receive a `ConflictException` error.
1844
+ # vocabulary filter with the same name as another vocabulary filter, you
1845
+ # get a `ConflictException` error.
1616
1846
  #
1617
1847
  # @option params [Array<String>] :words
1618
1848
  # The words to use in the vocabulary filter. Only use characters from
@@ -1659,7 +1889,7 @@ module Aws::TranscribeService
1659
1889
  # @example Response structure
1660
1890
  #
1661
1891
  # resp.vocabulary_filter_name #=> String
1662
- # 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"
1892
+ # resp.language_code #=> String, one of "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"
1663
1893
  # resp.last_modified_time #=> Time
1664
1894
  #
1665
1895
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateVocabularyFilter AWS API Documentation
@@ -1684,7 +1914,7 @@ module Aws::TranscribeService
1684
1914
  params: params,
1685
1915
  config: config)
1686
1916
  context[:gem_name] = 'aws-sdk-transcribeservice'
1687
- context[:gem_version] = '1.42.0'
1917
+ context[:gem_version] = '1.47.0'
1688
1918
  Seahorse::Client::Request.new(handlers, context)
1689
1919
  end
1690
1920