aws-sdk-transcribeservice 1.44.1 → 1.49.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 +4 -4
- data/lib/aws-sdk-transcribeservice.rb +6 -3
- data/lib/aws-sdk-transcribeservice/client.rb +396 -99
- data/lib/aws-sdk-transcribeservice/client_api.rb +140 -1
- data/lib/aws-sdk-transcribeservice/errors.rb +2 -0
- data/lib/aws-sdk-transcribeservice/resource.rb +2 -0
- data/lib/aws-sdk-transcribeservice/types.rb +615 -103
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc4636f20909802b43c67f7a98559a5b90a637943d558da58ae2e221a6ddd482
|
4
|
+
data.tar.gz: 9e9c6f071891136f25d459faa9b6a0ca1f6cdf34ed8b6727b0c5d428c1c579be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f90caa4f3ca891f2ba2812a4c05ed51a7e4302a643ffc46e59e6fe1eb1d1f6bbb5da278945b91d664554c07feea1452b9ad550923d49fa7a94142349eb324931
|
7
|
+
data.tar.gz: 87c65e7b127c9def3eab5318efb2a5369ec95538fb29a8cb122492fe23abfa5434d93cbb15a4e393c23663469331395e306daf6c5af2516c52bcc80fc5078373
|
@@ -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:
|
@@ -5,6 +7,7 @@
|
|
5
7
|
#
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
10
|
+
|
8
11
|
require 'aws-sdk-core'
|
9
12
|
require 'aws-sigv4'
|
10
13
|
|
@@ -25,7 +28,7 @@ require_relative 'aws-sdk-transcribeservice/customizations'
|
|
25
28
|
# structure.
|
26
29
|
#
|
27
30
|
# transcribe_service = Aws::TranscribeService::Client.new
|
28
|
-
# resp = transcribe_service.
|
31
|
+
# resp = transcribe_service.create_language_model(params)
|
29
32
|
#
|
30
33
|
# See {Client} for more information.
|
31
34
|
#
|
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-transcribeservice/customizations'
|
|
42
45
|
#
|
43
46
|
# See {Errors} for more information.
|
44
47
|
#
|
45
|
-
#
|
48
|
+
# @!group service
|
46
49
|
module Aws::TranscribeService
|
47
50
|
|
48
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.49.0'
|
49
52
|
|
50
53
|
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:
|
@@ -83,13 +85,28 @@ module Aws::TranscribeService
|
|
83
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
84
86
|
# credentials.
|
85
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
|
+
#
|
86
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
87
103
|
# from an EC2 IMDS on an EC2 instance.
|
88
104
|
#
|
89
|
-
# * `Aws::
|
90
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
91
107
|
#
|
92
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
93
110
|
#
|
94
111
|
# When `:credentials` are not configured directly, the following
|
95
112
|
# locations will be searched for credentials:
|
@@ -99,10 +116,10 @@ module Aws::TranscribeService
|
|
99
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
100
117
|
# * `~/.aws/credentials`
|
101
118
|
# * `~/.aws/config`
|
102
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
103
|
-
# very aggressive. Construct and pass an instance of
|
104
|
-
# `Aws::InstanceProfileCredentails`
|
105
|
-
# 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.
|
106
123
|
#
|
107
124
|
# @option options [required, String] :region
|
108
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -320,37 +337,103 @@ module Aws::TranscribeService
|
|
320
337
|
|
321
338
|
# @!group API Operations
|
322
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
|
+
|
323
405
|
# Creates a new custom vocabulary that you can use to change how Amazon
|
324
406
|
# Transcribe Medical transcribes your audio file.
|
325
407
|
#
|
326
408
|
# @option params [required, String] :vocabulary_name
|
327
409
|
# The name of the custom vocabulary. This case-sensitive name must be
|
328
410
|
# unique within an AWS account. If you try to create a vocabulary with
|
329
|
-
# the same name as a previous vocabulary you
|
330
|
-
#
|
411
|
+
# the same name as a previous vocabulary, you get a `ConflictException`
|
412
|
+
# error.
|
331
413
|
#
|
332
414
|
# @option params [required, String] :language_code
|
333
|
-
# The language code used for the entries
|
334
|
-
# The language code of your custom vocabulary must match the
|
335
|
-
# code of your transcription job. US English (en-US) is the
|
336
|
-
# 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.
|
337
419
|
#
|
338
420
|
# @option params [required, String] :vocabulary_file_uri
|
339
|
-
# The Amazon S3
|
340
|
-
# vocabulary. The URI must be in the same AWS
|
341
|
-
# you're calling. Enter information about your
|
342
|
-
# 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:
|
343
425
|
#
|
344
426
|
# `
|
345
427
|
# https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
|
346
428
|
# `
|
347
429
|
#
|
348
|
-
#
|
430
|
+
# The following is an example URI for a vocabulary file that is stored
|
431
|
+
# in Amazon S3:
|
349
432
|
#
|
350
433
|
# `https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt`
|
351
434
|
#
|
352
|
-
# For more information about S3 object names, see [Object
|
353
|
-
# 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*.
|
354
437
|
#
|
355
438
|
# For more information about custom vocabularies, see [Medical Custom
|
356
439
|
# Vocabularies][2].
|
@@ -372,14 +455,14 @@ module Aws::TranscribeService
|
|
372
455
|
#
|
373
456
|
# resp = client.create_medical_vocabulary({
|
374
457
|
# vocabulary_name: "VocabularyName", # required
|
375
|
-
# language_code: "
|
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
|
376
459
|
# vocabulary_file_uri: "Uri", # required
|
377
460
|
# })
|
378
461
|
#
|
379
462
|
# @example Response structure
|
380
463
|
#
|
381
464
|
# resp.vocabulary_name #=> String
|
382
|
-
# resp.language_code #=> String, one of "
|
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"
|
383
466
|
# resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
|
384
467
|
# resp.last_modified_time #=> Time
|
385
468
|
# resp.failure_reason #=> String
|
@@ -398,7 +481,7 @@ module Aws::TranscribeService
|
|
398
481
|
#
|
399
482
|
# @option params [required, String] :vocabulary_name
|
400
483
|
# The name of the vocabulary. The name must be unique within an AWS
|
401
|
-
# account. The name is case
|
484
|
+
# account. The name is case sensitive. If you try to create a vocabulary
|
402
485
|
# with the same name as a previous vocabulary you will receive a
|
403
486
|
# `ConflictException` error.
|
404
487
|
#
|
@@ -436,7 +519,7 @@ module Aws::TranscribeService
|
|
436
519
|
#
|
437
520
|
# resp = client.create_vocabulary({
|
438
521
|
# vocabulary_name: "VocabularyName", # required
|
439
|
-
# language_code: "
|
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
|
440
523
|
# phrases: ["Phrase"],
|
441
524
|
# vocabulary_file_uri: "Uri",
|
442
525
|
# })
|
@@ -444,7 +527,7 @@ module Aws::TranscribeService
|
|
444
527
|
# @example Response structure
|
445
528
|
#
|
446
529
|
# resp.vocabulary_name #=> String
|
447
|
-
# resp.language_code #=> String, one of "
|
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"
|
448
531
|
# resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
|
449
532
|
# resp.last_modified_time #=> Time
|
450
533
|
# resp.failure_reason #=> String
|
@@ -463,9 +546,9 @@ module Aws::TranscribeService
|
|
463
546
|
#
|
464
547
|
# @option params [required, String] :vocabulary_filter_name
|
465
548
|
# The vocabulary filter name. The name must be unique within the account
|
466
|
-
# that contains it.If you try to create a vocabulary filter with the
|
467
|
-
# same name as
|
468
|
-
#
|
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.
|
469
552
|
#
|
470
553
|
# @option params [required, String] :language_code
|
471
554
|
# The language code of the words in the vocabulary filter. All words in
|
@@ -510,7 +593,7 @@ module Aws::TranscribeService
|
|
510
593
|
#
|
511
594
|
# resp = client.create_vocabulary_filter({
|
512
595
|
# vocabulary_filter_name: "VocabularyFilterName", # required
|
513
|
-
# language_code: "
|
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
|
514
597
|
# words: ["Word"],
|
515
598
|
# vocabulary_filter_file_uri: "Uri",
|
516
599
|
# })
|
@@ -518,7 +601,7 @@ module Aws::TranscribeService
|
|
518
601
|
# @example Response structure
|
519
602
|
#
|
520
603
|
# resp.vocabulary_filter_name #=> String
|
521
|
-
# resp.language_code #=> String, one of "
|
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"
|
522
605
|
# resp.last_modified_time #=> Time
|
523
606
|
#
|
524
607
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateVocabularyFilter AWS API Documentation
|
@@ -530,6 +613,28 @@ module Aws::TranscribeService
|
|
530
613
|
req.send_request(options)
|
531
614
|
end
|
532
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
|
+
|
533
638
|
# Deletes a transcription job generated by Amazon Transcribe Medical and
|
534
639
|
# any related information.
|
535
640
|
#
|
@@ -557,7 +662,7 @@ module Aws::TranscribeService
|
|
557
662
|
# Deletes a vocabulary from Amazon Transcribe Medical.
|
558
663
|
#
|
559
664
|
# @option params [required, String] :vocabulary_name
|
560
|
-
# The name of the vocabulary you
|
665
|
+
# The name of the vocabulary that you want to delete.
|
561
666
|
#
|
562
667
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
563
668
|
#
|
@@ -643,6 +748,52 @@ module Aws::TranscribeService
|
|
643
748
|
req.send_request(options)
|
644
749
|
end
|
645
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
|
+
|
646
797
|
# Returns information about a transcription job from Amazon Transcribe
|
647
798
|
# Medical. To see the status of the job, check the
|
648
799
|
# `TranscriptionJobStatus` field. If the status is `COMPLETED`, the job
|
@@ -666,9 +817,9 @@ module Aws::TranscribeService
|
|
666
817
|
#
|
667
818
|
# resp.medical_transcription_job.medical_transcription_job_name #=> String
|
668
819
|
# resp.medical_transcription_job.transcription_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
|
669
|
-
# resp.medical_transcription_job.language_code #=> String, one of "
|
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"
|
670
821
|
# resp.medical_transcription_job.media_sample_rate_hertz #=> Integer
|
671
|
-
# resp.medical_transcription_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac"
|
822
|
+
# resp.medical_transcription_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac", "ogg", "amr", "webm"
|
672
823
|
# resp.medical_transcription_job.media.media_file_uri #=> String
|
673
824
|
# resp.medical_transcription_job.transcript.transcript_file_uri #=> String
|
674
825
|
# resp.medical_transcription_job.start_time #=> Time
|
@@ -693,11 +844,11 @@ module Aws::TranscribeService
|
|
693
844
|
req.send_request(options)
|
694
845
|
end
|
695
846
|
|
696
|
-
#
|
847
|
+
# Retrieves information about a medical vocabulary.
|
697
848
|
#
|
698
849
|
# @option params [required, String] :vocabulary_name
|
699
|
-
# The name of the vocabulary you
|
700
|
-
#
|
850
|
+
# The name of the vocabulary that you want information about. The value
|
851
|
+
# is case sensitive.
|
701
852
|
#
|
702
853
|
# @return [Types::GetMedicalVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
703
854
|
#
|
@@ -717,7 +868,7 @@ module Aws::TranscribeService
|
|
717
868
|
# @example Response structure
|
718
869
|
#
|
719
870
|
# resp.vocabulary_name #=> String
|
720
|
-
# resp.language_code #=> String, one of "
|
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"
|
721
872
|
# resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
|
722
873
|
# resp.last_modified_time #=> Time
|
723
874
|
# resp.failure_reason #=> String
|
@@ -756,9 +907,9 @@ module Aws::TranscribeService
|
|
756
907
|
#
|
757
908
|
# resp.transcription_job.transcription_job_name #=> String
|
758
909
|
# resp.transcription_job.transcription_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
|
759
|
-
# resp.transcription_job.language_code #=> String, one of "
|
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"
|
760
911
|
# resp.transcription_job.media_sample_rate_hertz #=> Integer
|
761
|
-
# resp.transcription_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac"
|
912
|
+
# resp.transcription_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac", "ogg", "amr", "webm"
|
762
913
|
# resp.transcription_job.media.media_file_uri #=> String
|
763
914
|
# resp.transcription_job.transcript.transcript_file_uri #=> String
|
764
915
|
# resp.transcription_job.transcript.redacted_transcript_file_uri #=> String
|
@@ -774,10 +925,15 @@ module Aws::TranscribeService
|
|
774
925
|
# resp.transcription_job.settings.max_alternatives #=> Integer
|
775
926
|
# resp.transcription_job.settings.vocabulary_filter_name #=> String
|
776
927
|
# resp.transcription_job.settings.vocabulary_filter_method #=> String, one of "remove", "mask"
|
928
|
+
# resp.transcription_job.model_settings.language_model_name #=> String
|
777
929
|
# resp.transcription_job.job_execution_settings.allow_deferred_execution #=> Boolean
|
778
930
|
# resp.transcription_job.job_execution_settings.data_access_role_arn #=> String
|
779
931
|
# resp.transcription_job.content_redaction.redaction_type #=> String, one of "PII"
|
780
932
|
# resp.transcription_job.content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
|
933
|
+
# resp.transcription_job.identify_language #=> Boolean
|
934
|
+
# resp.transcription_job.language_options #=> Array
|
935
|
+
# resp.transcription_job.language_options[0] #=> 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"
|
936
|
+
# resp.transcription_job.identified_language_score #=> Float
|
781
937
|
#
|
782
938
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetTranscriptionJob AWS API Documentation
|
783
939
|
#
|
@@ -792,7 +948,7 @@ module Aws::TranscribeService
|
|
792
948
|
#
|
793
949
|
# @option params [required, String] :vocabulary_name
|
794
950
|
# The name of the vocabulary to return information about. The name is
|
795
|
-
# case
|
951
|
+
# case sensitive.
|
796
952
|
#
|
797
953
|
# @return [Types::GetVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
798
954
|
#
|
@@ -812,7 +968,7 @@ module Aws::TranscribeService
|
|
812
968
|
# @example Response structure
|
813
969
|
#
|
814
970
|
# resp.vocabulary_name #=> String
|
815
|
-
# resp.language_code #=> String, one of "
|
971
|
+
# 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"
|
816
972
|
# resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
|
817
973
|
# resp.last_modified_time #=> Time
|
818
974
|
# resp.failure_reason #=> String
|
@@ -848,7 +1004,7 @@ module Aws::TranscribeService
|
|
848
1004
|
# @example Response structure
|
849
1005
|
#
|
850
1006
|
# resp.vocabulary_filter_name #=> String
|
851
|
-
# resp.language_code #=> String, one of "
|
1007
|
+
# 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"
|
852
1008
|
# resp.last_modified_time #=> Time
|
853
1009
|
# resp.download_uri #=> String
|
854
1010
|
#
|
@@ -861,6 +1017,71 @@ module Aws::TranscribeService
|
|
861
1017
|
req.send_request(options)
|
862
1018
|
end
|
863
1019
|
|
1020
|
+
# Provides more information about the custom language models you've
|
1021
|
+
# created. You can use the information in this list to find a specific
|
1022
|
+
# custom language model. You can then use the operation to get more
|
1023
|
+
# information about it.
|
1024
|
+
#
|
1025
|
+
# @option params [String] :status_equals
|
1026
|
+
# When specified, returns only custom language models with the specified
|
1027
|
+
# status. Language models are ordered by creation date, with the newest
|
1028
|
+
# models first. If you don't specify a status, Amazon Transcribe
|
1029
|
+
# returns all custom language models ordered by date.
|
1030
|
+
#
|
1031
|
+
# @option params [String] :name_contains
|
1032
|
+
# When specified, the custom language model names returned contain the
|
1033
|
+
# substring you've specified.
|
1034
|
+
#
|
1035
|
+
# @option params [String] :next_token
|
1036
|
+
# When included, fetches the next set of jobs if the result of the
|
1037
|
+
# previous request was truncated.
|
1038
|
+
#
|
1039
|
+
# @option params [Integer] :max_results
|
1040
|
+
# The maximum number of language models to return in the response. If
|
1041
|
+
# there are fewer results in the list, the response contains only the
|
1042
|
+
# actual results.
|
1043
|
+
#
|
1044
|
+
# @return [Types::ListLanguageModelsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1045
|
+
#
|
1046
|
+
# * {Types::ListLanguageModelsResponse#next_token #next_token} => String
|
1047
|
+
# * {Types::ListLanguageModelsResponse#models #models} => Array<Types::LanguageModel>
|
1048
|
+
#
|
1049
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1050
|
+
#
|
1051
|
+
# @example Request syntax with placeholder values
|
1052
|
+
#
|
1053
|
+
# resp = client.list_language_models({
|
1054
|
+
# status_equals: "IN_PROGRESS", # accepts IN_PROGRESS, FAILED, COMPLETED
|
1055
|
+
# name_contains: "ModelName",
|
1056
|
+
# next_token: "NextToken",
|
1057
|
+
# max_results: 1,
|
1058
|
+
# })
|
1059
|
+
#
|
1060
|
+
# @example Response structure
|
1061
|
+
#
|
1062
|
+
# resp.next_token #=> String
|
1063
|
+
# resp.models #=> Array
|
1064
|
+
# resp.models[0].model_name #=> String
|
1065
|
+
# resp.models[0].create_time #=> Time
|
1066
|
+
# resp.models[0].last_modified_time #=> Time
|
1067
|
+
# resp.models[0].language_code #=> String, one of "en-US"
|
1068
|
+
# resp.models[0].base_model_name #=> String, one of "NarrowBand", "WideBand"
|
1069
|
+
# resp.models[0].model_status #=> String, one of "IN_PROGRESS", "FAILED", "COMPLETED"
|
1070
|
+
# resp.models[0].upgrade_availability #=> Boolean
|
1071
|
+
# resp.models[0].failure_reason #=> String
|
1072
|
+
# resp.models[0].input_data_config.s3_uri #=> String
|
1073
|
+
# resp.models[0].input_data_config.tuning_data_s3_uri #=> String
|
1074
|
+
# resp.models[0].input_data_config.data_access_role_arn #=> String
|
1075
|
+
#
|
1076
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListLanguageModels AWS API Documentation
|
1077
|
+
#
|
1078
|
+
# @overload list_language_models(params = {})
|
1079
|
+
# @param [Hash] params ({})
|
1080
|
+
def list_language_models(params = {}, options = {})
|
1081
|
+
req = build_request(:list_language_models, params)
|
1082
|
+
req.send_request(options)
|
1083
|
+
end
|
1084
|
+
|
864
1085
|
# Lists medical transcription jobs with a specified status or substring
|
865
1086
|
# that matches their names.
|
866
1087
|
#
|
@@ -910,7 +1131,7 @@ module Aws::TranscribeService
|
|
910
1131
|
# resp.medical_transcription_job_summaries[0].creation_time #=> Time
|
911
1132
|
# resp.medical_transcription_job_summaries[0].start_time #=> Time
|
912
1133
|
# resp.medical_transcription_job_summaries[0].completion_time #=> Time
|
913
|
-
# resp.medical_transcription_job_summaries[0].language_code #=> String, one of "
|
1134
|
+
# 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"
|
914
1135
|
# resp.medical_transcription_job_summaries[0].transcription_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
|
915
1136
|
# resp.medical_transcription_job_summaries[0].failure_reason #=> String
|
916
1137
|
# resp.medical_transcription_job_summaries[0].output_location_type #=> String, one of "CUSTOMER_BUCKET", "SERVICE_BUCKET"
|
@@ -926,26 +1147,27 @@ module Aws::TranscribeService
|
|
926
1147
|
req.send_request(options)
|
927
1148
|
end
|
928
1149
|
|
929
|
-
# Returns a list of vocabularies that match the specified criteria.
|
930
|
-
#
|
931
|
-
#
|
1150
|
+
# Returns a list of vocabularies that match the specified criteria. If
|
1151
|
+
# you don't enter a value in any of the request parameters, returns the
|
1152
|
+
# entire list of vocabularies.
|
932
1153
|
#
|
933
1154
|
# @option params [String] :next_token
|
934
1155
|
# If the result of your previous request to `ListMedicalVocabularies`
|
935
|
-
# was truncated, include the `NextToken` to fetch the next set of
|
1156
|
+
# was truncated, include the `NextToken` to fetch the next set of
|
1157
|
+
# vocabularies.
|
936
1158
|
#
|
937
1159
|
# @option params [Integer] :max_results
|
938
1160
|
# The maximum number of vocabularies to return in the response.
|
939
1161
|
#
|
940
1162
|
# @option params [String] :state_equals
|
941
|
-
# When specified, only
|
942
|
-
# equal to the specified vocabulary state.
|
1163
|
+
# When specified, returns only vocabularies with the `VocabularyState`
|
1164
|
+
# equal to the specified vocabulary state. Use this field to see which
|
1165
|
+
# vocabularies are ready for your medical transcription jobs.
|
943
1166
|
#
|
944
1167
|
# @option params [String] :name_contains
|
945
|
-
# Returns vocabularies
|
946
|
-
#
|
947
|
-
#
|
948
|
-
# list.
|
1168
|
+
# Returns vocabularies whose names contain the specified string. The
|
1169
|
+
# search is not case sensitive. `ListMedicalVocabularies` returns both
|
1170
|
+
# "`vocabularyname`" and "`VocabularyName`".
|
949
1171
|
#
|
950
1172
|
# @return [Types::ListMedicalVocabulariesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
951
1173
|
#
|
@@ -970,7 +1192,7 @@ module Aws::TranscribeService
|
|
970
1192
|
# resp.next_token #=> String
|
971
1193
|
# resp.vocabularies #=> Array
|
972
1194
|
# resp.vocabularies[0].vocabulary_name #=> String
|
973
|
-
# resp.vocabularies[0].language_code #=> String, one of "
|
1195
|
+
# 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"
|
974
1196
|
# resp.vocabularies[0].last_modified_time #=> Time
|
975
1197
|
# resp.vocabularies[0].vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
|
976
1198
|
#
|
@@ -1030,12 +1252,15 @@ module Aws::TranscribeService
|
|
1030
1252
|
# resp.transcription_job_summaries[0].creation_time #=> Time
|
1031
1253
|
# resp.transcription_job_summaries[0].start_time #=> Time
|
1032
1254
|
# resp.transcription_job_summaries[0].completion_time #=> Time
|
1033
|
-
# resp.transcription_job_summaries[0].language_code #=> String, one of "
|
1255
|
+
# 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"
|
1034
1256
|
# resp.transcription_job_summaries[0].transcription_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
|
1035
1257
|
# resp.transcription_job_summaries[0].failure_reason #=> String
|
1036
1258
|
# resp.transcription_job_summaries[0].output_location_type #=> String, one of "CUSTOMER_BUCKET", "SERVICE_BUCKET"
|
1037
1259
|
# resp.transcription_job_summaries[0].content_redaction.redaction_type #=> String, one of "PII"
|
1038
1260
|
# resp.transcription_job_summaries[0].content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
|
1261
|
+
# resp.transcription_job_summaries[0].model_settings.language_model_name #=> String
|
1262
|
+
# resp.transcription_job_summaries[0].identify_language #=> Boolean
|
1263
|
+
# resp.transcription_job_summaries[0].identified_language_score #=> Float
|
1039
1264
|
#
|
1040
1265
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListTranscriptionJobs AWS API Documentation
|
1041
1266
|
#
|
@@ -1065,7 +1290,7 @@ module Aws::TranscribeService
|
|
1065
1290
|
# @option params [String] :name_contains
|
1066
1291
|
# When specified, the vocabularies returned in the list are limited to
|
1067
1292
|
# vocabularies whose name contains the specified string. The search is
|
1068
|
-
# case
|
1293
|
+
# not case sensitive, `ListVocabularies` returns both "vocabularyname"
|
1069
1294
|
# and "VocabularyName" in the response list.
|
1070
1295
|
#
|
1071
1296
|
# @return [Types::ListVocabulariesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1091,7 +1316,7 @@ module Aws::TranscribeService
|
|
1091
1316
|
# resp.next_token #=> String
|
1092
1317
|
# resp.vocabularies #=> Array
|
1093
1318
|
# resp.vocabularies[0].vocabulary_name #=> String
|
1094
|
-
# resp.vocabularies[0].language_code #=> String, one of "
|
1319
|
+
# 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"
|
1095
1320
|
# resp.vocabularies[0].last_modified_time #=> Time
|
1096
1321
|
# resp.vocabularies[0].vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
|
1097
1322
|
#
|
@@ -1140,7 +1365,7 @@ module Aws::TranscribeService
|
|
1140
1365
|
# resp.next_token #=> String
|
1141
1366
|
# resp.vocabulary_filters #=> Array
|
1142
1367
|
# resp.vocabulary_filters[0].vocabulary_filter_name #=> String
|
1143
|
-
# resp.vocabulary_filters[0].language_code #=> String, one of "
|
1368
|
+
# 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"
|
1144
1369
|
# resp.vocabulary_filters[0].last_modified_time #=> Time
|
1145
1370
|
#
|
1146
1371
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListVocabularyFilters AWS API Documentation
|
@@ -1152,14 +1377,14 @@ module Aws::TranscribeService
|
|
1152
1377
|
req.send_request(options)
|
1153
1378
|
end
|
1154
1379
|
|
1155
|
-
#
|
1380
|
+
# Starts a batch job to transcribe medical speech to text.
|
1156
1381
|
#
|
1157
1382
|
# @option params [required, String] :medical_transcription_job_name
|
1158
1383
|
# The name of the medical transcription job. You can't use the strings
|
1159
|
-
# "
|
1160
|
-
# unique within an AWS account. If you try to create a medical
|
1384
|
+
# "`.`" or "`..`" by themselves as the job name. The name must also
|
1385
|
+
# be unique within an AWS account. If you try to create a medical
|
1161
1386
|
# transcription job with the same name as a previous medical
|
1162
|
-
# transcription job you
|
1387
|
+
# transcription job, you get a `ConflictException` error.
|
1163
1388
|
#
|
1164
1389
|
# @option params [required, String] :language_code
|
1165
1390
|
# The language code for the language spoken in the input media file. US
|
@@ -1203,6 +1428,28 @@ module Aws::TranscribeService
|
|
1203
1428
|
#
|
1204
1429
|
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/security_iam_id-based-policy-examples.html#auth-role-iam-user
|
1205
1430
|
#
|
1431
|
+
# @option params [String] :output_key
|
1432
|
+
# You can specify a location in an Amazon S3 bucket to store the output
|
1433
|
+
# of your medical transcription job.
|
1434
|
+
#
|
1435
|
+
# If you don't specify an output key, Amazon Transcribe Medical stores
|
1436
|
+
# the output of your transcription job in the Amazon S3 bucket you
|
1437
|
+
# specified. By default, the object key is
|
1438
|
+
# "your-transcription-job-name.json".
|
1439
|
+
#
|
1440
|
+
# You can use output keys to specify the Amazon S3 prefix and file name
|
1441
|
+
# of the transcription output. For example, specifying the Amazon S3
|
1442
|
+
# prefix, "folder1/folder2/", as an output key would lead to the
|
1443
|
+
# output being stored as
|
1444
|
+
# "folder1/folder2/your-transcription-job-name.json". If you specify
|
1445
|
+
# "my-other-job-name.json" as the output key, the object key is
|
1446
|
+
# changed to "my-other-job-name.json". You can use an output key to
|
1447
|
+
# change both the prefix and the file name, for example
|
1448
|
+
# "folder/my-other-job-name.json".
|
1449
|
+
#
|
1450
|
+
# If you specify an output key, you must also specify an S3 bucket in
|
1451
|
+
# the `OutputBucketName` parameter.
|
1452
|
+
#
|
1206
1453
|
# @option params [String] :output_encryption_kms_key_id
|
1207
1454
|
# The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS)
|
1208
1455
|
# key used to encrypt the output of the transcription job. The user
|
@@ -1253,13 +1500,14 @@ module Aws::TranscribeService
|
|
1253
1500
|
#
|
1254
1501
|
# resp = client.start_medical_transcription_job({
|
1255
1502
|
# medical_transcription_job_name: "TranscriptionJobName", # required
|
1256
|
-
# language_code: "
|
1503
|
+
# 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
|
1257
1504
|
# media_sample_rate_hertz: 1,
|
1258
|
-
# media_format: "mp3", # accepts mp3, mp4, wav, flac
|
1505
|
+
# media_format: "mp3", # accepts mp3, mp4, wav, flac, ogg, amr, webm
|
1259
1506
|
# media: { # required
|
1260
1507
|
# media_file_uri: "Uri",
|
1261
1508
|
# },
|
1262
1509
|
# output_bucket_name: "OutputBucketName", # required
|
1510
|
+
# output_key: "OutputKey",
|
1263
1511
|
# output_encryption_kms_key_id: "KMSKeyId",
|
1264
1512
|
# settings: {
|
1265
1513
|
# show_speaker_labels: false,
|
@@ -1277,9 +1525,9 @@ module Aws::TranscribeService
|
|
1277
1525
|
#
|
1278
1526
|
# resp.medical_transcription_job.medical_transcription_job_name #=> String
|
1279
1527
|
# resp.medical_transcription_job.transcription_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
|
1280
|
-
# resp.medical_transcription_job.language_code #=> String, one of "
|
1528
|
+
# 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"
|
1281
1529
|
# resp.medical_transcription_job.media_sample_rate_hertz #=> Integer
|
1282
|
-
# resp.medical_transcription_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac"
|
1530
|
+
# resp.medical_transcription_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac", "ogg", "amr", "webm"
|
1283
1531
|
# resp.medical_transcription_job.media.media_file_uri #=> String
|
1284
1532
|
# resp.medical_transcription_job.transcript.transcript_file_uri #=> String
|
1285
1533
|
# resp.medical_transcription_job.start_time #=> Time
|
@@ -1307,13 +1555,12 @@ module Aws::TranscribeService
|
|
1307
1555
|
# Starts an asynchronous job to transcribe speech to text.
|
1308
1556
|
#
|
1309
1557
|
# @option params [required, String] :transcription_job_name
|
1310
|
-
# The name of the job.
|
1311
|
-
#
|
1312
|
-
#
|
1313
|
-
#
|
1314
|
-
# `ConflictException` error.
|
1558
|
+
# The name of the job. You can't use the strings "`.`" or "`..`" by
|
1559
|
+
# themselves as the job name. The name must also be unique within an AWS
|
1560
|
+
# account. If you try to create a transcription job with the same name
|
1561
|
+
# as a previous transcription job, you get a `ConflictException` error.
|
1315
1562
|
#
|
1316
|
-
# @option params [
|
1563
|
+
# @option params [String] :language_code
|
1317
1564
|
# The language code for the language used in the input media file.
|
1318
1565
|
#
|
1319
1566
|
# @option params [Integer] :media_sample_rate_hertz
|
@@ -1360,6 +1607,28 @@ module Aws::TranscribeService
|
|
1360
1607
|
#
|
1361
1608
|
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/security_iam_id-based-policy-examples.html#auth-role-iam-user
|
1362
1609
|
#
|
1610
|
+
# @option params [String] :output_key
|
1611
|
+
# You can specify a location in an Amazon S3 bucket to store the output
|
1612
|
+
# of your transcription job.
|
1613
|
+
#
|
1614
|
+
# If you don't specify an output key, Amazon Transcribe stores the
|
1615
|
+
# output of your transcription job in the Amazon S3 bucket you
|
1616
|
+
# specified. By default, the object key is
|
1617
|
+
# "your-transcription-job-name.json".
|
1618
|
+
#
|
1619
|
+
# You can use output keys to specify the Amazon S3 prefix and file name
|
1620
|
+
# of the transcription output. For example, specifying the Amazon S3
|
1621
|
+
# prefix, "folder1/folder2/", as an output key would lead to the
|
1622
|
+
# output being stored as
|
1623
|
+
# "folder1/folder2/your-transcription-job-name.json". If you specify
|
1624
|
+
# "my-other-job-name.json" as the output key, the object key is
|
1625
|
+
# changed to "my-other-job-name.json". You can use an output key to
|
1626
|
+
# change both the prefix and the file name, for example
|
1627
|
+
# "folder/my-other-job-name.json".
|
1628
|
+
#
|
1629
|
+
# If you specify an output key, you must also specify an S3 bucket in
|
1630
|
+
# the `OutputBucketName` parameter.
|
1631
|
+
#
|
1363
1632
|
# @option params [String] :output_encryption_kms_key_id
|
1364
1633
|
# The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS)
|
1365
1634
|
# key used to encrypt the output of the transcription job. The user
|
@@ -1394,6 +1663,10 @@ module Aws::TranscribeService
|
|
1394
1663
|
# A `Settings` object that provides optional settings for a
|
1395
1664
|
# transcription job.
|
1396
1665
|
#
|
1666
|
+
# @option params [Types::ModelSettings] :model_settings
|
1667
|
+
# Choose the custom language model you use for your transcription job in
|
1668
|
+
# this parameter.
|
1669
|
+
#
|
1397
1670
|
# @option params [Types::JobExecutionSettings] :job_execution_settings
|
1398
1671
|
# Provides information about how a transcription job is executed. Use
|
1399
1672
|
# this field to indicate that the job can be queued for deferred
|
@@ -1403,6 +1676,17 @@ module Aws::TranscribeService
|
|
1403
1676
|
# @option params [Types::ContentRedaction] :content_redaction
|
1404
1677
|
# An object that contains the request parameters for content redaction.
|
1405
1678
|
#
|
1679
|
+
# @option params [Boolean] :identify_language
|
1680
|
+
# Set this field to `true` to enable automatic language identification.
|
1681
|
+
# Automatic language identification is disabled by default. You receive
|
1682
|
+
# a `BadRequestException` error if you enter a value for a
|
1683
|
+
# `LanguageCode`.
|
1684
|
+
#
|
1685
|
+
# @option params [Array<String>] :language_options
|
1686
|
+
# An object containing a list of languages that might be present in your
|
1687
|
+
# collection of audio files. Automatic language identification chooses a
|
1688
|
+
# language that best matches the source audio from that list.
|
1689
|
+
#
|
1406
1690
|
# @return [Types::StartTranscriptionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1407
1691
|
#
|
1408
1692
|
# * {Types::StartTranscriptionJobResponse#transcription_job #transcription_job} => Types::TranscriptionJob
|
@@ -1411,13 +1695,14 @@ module Aws::TranscribeService
|
|
1411
1695
|
#
|
1412
1696
|
# resp = client.start_transcription_job({
|
1413
1697
|
# transcription_job_name: "TranscriptionJobName", # required
|
1414
|
-
# language_code: "
|
1698
|
+
# language_code: "af-ZA", # accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN
|
1415
1699
|
# media_sample_rate_hertz: 1,
|
1416
|
-
# media_format: "mp3", # accepts mp3, mp4, wav, flac
|
1700
|
+
# media_format: "mp3", # accepts mp3, mp4, wav, flac, ogg, amr, webm
|
1417
1701
|
# media: { # required
|
1418
1702
|
# media_file_uri: "Uri",
|
1419
1703
|
# },
|
1420
1704
|
# output_bucket_name: "OutputBucketName",
|
1705
|
+
# output_key: "OutputKey",
|
1421
1706
|
# output_encryption_kms_key_id: "KMSKeyId",
|
1422
1707
|
# settings: {
|
1423
1708
|
# vocabulary_name: "VocabularyName",
|
@@ -1429,6 +1714,9 @@ module Aws::TranscribeService
|
|
1429
1714
|
# vocabulary_filter_name: "VocabularyFilterName",
|
1430
1715
|
# vocabulary_filter_method: "remove", # accepts remove, mask
|
1431
1716
|
# },
|
1717
|
+
# model_settings: {
|
1718
|
+
# language_model_name: "ModelName",
|
1719
|
+
# },
|
1432
1720
|
# job_execution_settings: {
|
1433
1721
|
# allow_deferred_execution: false,
|
1434
1722
|
# data_access_role_arn: "DataAccessRoleArn",
|
@@ -1437,15 +1725,17 @@ module Aws::TranscribeService
|
|
1437
1725
|
# redaction_type: "PII", # required, accepts PII
|
1438
1726
|
# redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
|
1439
1727
|
# },
|
1728
|
+
# identify_language: false,
|
1729
|
+
# language_options: ["af-ZA"], # accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN
|
1440
1730
|
# })
|
1441
1731
|
#
|
1442
1732
|
# @example Response structure
|
1443
1733
|
#
|
1444
1734
|
# resp.transcription_job.transcription_job_name #=> String
|
1445
1735
|
# resp.transcription_job.transcription_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
|
1446
|
-
# resp.transcription_job.language_code #=> String, one of "
|
1736
|
+
# 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"
|
1447
1737
|
# resp.transcription_job.media_sample_rate_hertz #=> Integer
|
1448
|
-
# resp.transcription_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac"
|
1738
|
+
# resp.transcription_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac", "ogg", "amr", "webm"
|
1449
1739
|
# resp.transcription_job.media.media_file_uri #=> String
|
1450
1740
|
# resp.transcription_job.transcript.transcript_file_uri #=> String
|
1451
1741
|
# resp.transcription_job.transcript.redacted_transcript_file_uri #=> String
|
@@ -1461,10 +1751,15 @@ module Aws::TranscribeService
|
|
1461
1751
|
# resp.transcription_job.settings.max_alternatives #=> Integer
|
1462
1752
|
# resp.transcription_job.settings.vocabulary_filter_name #=> String
|
1463
1753
|
# resp.transcription_job.settings.vocabulary_filter_method #=> String, one of "remove", "mask"
|
1754
|
+
# resp.transcription_job.model_settings.language_model_name #=> String
|
1464
1755
|
# resp.transcription_job.job_execution_settings.allow_deferred_execution #=> Boolean
|
1465
1756
|
# resp.transcription_job.job_execution_settings.data_access_role_arn #=> String
|
1466
1757
|
# resp.transcription_job.content_redaction.redaction_type #=> String, one of "PII"
|
1467
1758
|
# resp.transcription_job.content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
|
1759
|
+
# resp.transcription_job.identify_language #=> Boolean
|
1760
|
+
# resp.transcription_job.language_options #=> Array
|
1761
|
+
# resp.transcription_job.language_options[0] #=> 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"
|
1762
|
+
# resp.transcription_job.identified_language_score #=> Float
|
1468
1763
|
#
|
1469
1764
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartTranscriptionJob AWS API Documentation
|
1470
1765
|
#
|
@@ -1475,24 +1770,26 @@ module Aws::TranscribeService
|
|
1475
1770
|
req.send_request(options)
|
1476
1771
|
end
|
1477
1772
|
|
1478
|
-
# Updates
|
1479
|
-
# file
|
1480
|
-
#
|
1773
|
+
# Updates a vocabulary with new values that you provide in a different
|
1774
|
+
# text file from the one you used to create the vocabulary. The
|
1775
|
+
# `UpdateMedicalVocabulary` operation overwrites all of the existing
|
1776
|
+
# information with the values that you provide in the request.
|
1481
1777
|
#
|
1482
1778
|
# @option params [required, String] :vocabulary_name
|
1483
|
-
# The name of the vocabulary to update. The name is case
|
1484
|
-
# you try to update a vocabulary with the same name as a
|
1485
|
-
#
|
1779
|
+
# The name of the vocabulary to update. The name is case sensitive. If
|
1780
|
+
# you try to update a vocabulary with the same name as a vocabulary
|
1781
|
+
# you've already made, you get a `ConflictException` error.
|
1486
1782
|
#
|
1487
1783
|
# @option params [required, String] :language_code
|
1488
|
-
# The language code of the entries in the updated
|
1489
|
-
# (en-US) is the only valid language code in
|
1784
|
+
# The language code of the language used for the entries in the updated
|
1785
|
+
# vocabulary. US English (en-US) is the only valid language code in
|
1786
|
+
# Amazon Transcribe Medical.
|
1490
1787
|
#
|
1491
1788
|
# @option params [String] :vocabulary_file_uri
|
1492
|
-
# The Amazon S3
|
1493
|
-
#
|
1494
|
-
#
|
1495
|
-
#
|
1789
|
+
# The location in Amazon S3 of the text file that contains the you use
|
1790
|
+
# for your custom vocabulary. The URI must be in the same AWS Region as
|
1791
|
+
# the resource that you are calling. The following is the format for a
|
1792
|
+
# URI:
|
1496
1793
|
#
|
1497
1794
|
# `
|
1498
1795
|
# https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
|
@@ -1502,8 +1799,8 @@ module Aws::TranscribeService
|
|
1502
1799
|
#
|
1503
1800
|
# `https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt`
|
1504
1801
|
#
|
1505
|
-
# For more information about S3 object names, see [Object
|
1506
|
-
# the *Amazon S3 Developer Guide*.
|
1802
|
+
# For more information about Amazon S3 object names, see [Object
|
1803
|
+
# Keys][1] in the *Amazon S3 Developer Guide*.
|
1507
1804
|
#
|
1508
1805
|
# For more information about custom vocabularies in Amazon Transcribe
|
1509
1806
|
# Medical, see [Medical Custom Vocabularies][2].
|
@@ -1524,14 +1821,14 @@ module Aws::TranscribeService
|
|
1524
1821
|
#
|
1525
1822
|
# resp = client.update_medical_vocabulary({
|
1526
1823
|
# vocabulary_name: "VocabularyName", # required
|
1527
|
-
# language_code: "
|
1824
|
+
# 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
|
1528
1825
|
# vocabulary_file_uri: "Uri",
|
1529
1826
|
# })
|
1530
1827
|
#
|
1531
1828
|
# @example Response structure
|
1532
1829
|
#
|
1533
1830
|
# resp.vocabulary_name #=> String
|
1534
|
-
# resp.language_code #=> String, one of "
|
1831
|
+
# 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"
|
1535
1832
|
# resp.last_modified_time #=> Time
|
1536
1833
|
# resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
|
1537
1834
|
#
|
@@ -1549,7 +1846,7 @@ module Aws::TranscribeService
|
|
1549
1846
|
# that you provide in the request.
|
1550
1847
|
#
|
1551
1848
|
# @option params [required, String] :vocabulary_name
|
1552
|
-
# The name of the vocabulary to update. The name is case
|
1849
|
+
# The name of the vocabulary to update. The name is case sensitive. If
|
1553
1850
|
# you try to update a vocabulary with the same name as a previous
|
1554
1851
|
# vocabulary you will receive a `ConflictException` error.
|
1555
1852
|
#
|
@@ -1588,7 +1885,7 @@ module Aws::TranscribeService
|
|
1588
1885
|
#
|
1589
1886
|
# resp = client.update_vocabulary({
|
1590
1887
|
# vocabulary_name: "VocabularyName", # required
|
1591
|
-
# language_code: "
|
1888
|
+
# 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
|
1592
1889
|
# phrases: ["Phrase"],
|
1593
1890
|
# vocabulary_file_uri: "Uri",
|
1594
1891
|
# })
|
@@ -1596,7 +1893,7 @@ module Aws::TranscribeService
|
|
1596
1893
|
# @example Response structure
|
1597
1894
|
#
|
1598
1895
|
# resp.vocabulary_name #=> String
|
1599
|
-
# resp.language_code #=> String, one of "
|
1896
|
+
# 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"
|
1600
1897
|
# resp.last_modified_time #=> Time
|
1601
1898
|
# resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
|
1602
1899
|
#
|
@@ -1613,8 +1910,8 @@ module Aws::TranscribeService
|
|
1613
1910
|
#
|
1614
1911
|
# @option params [required, String] :vocabulary_filter_name
|
1615
1912
|
# The name of the vocabulary filter to update. If you try to update a
|
1616
|
-
# vocabulary filter with the same name as
|
1617
|
-
#
|
1913
|
+
# vocabulary filter with the same name as another vocabulary filter, you
|
1914
|
+
# get a `ConflictException` error.
|
1618
1915
|
#
|
1619
1916
|
# @option params [Array<String>] :words
|
1620
1917
|
# The words to use in the vocabulary filter. Only use characters from
|
@@ -1661,7 +1958,7 @@ module Aws::TranscribeService
|
|
1661
1958
|
# @example Response structure
|
1662
1959
|
#
|
1663
1960
|
# resp.vocabulary_filter_name #=> String
|
1664
|
-
# resp.language_code #=> String, one of "
|
1961
|
+
# 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"
|
1665
1962
|
# resp.last_modified_time #=> Time
|
1666
1963
|
#
|
1667
1964
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateVocabularyFilter AWS API Documentation
|
@@ -1686,7 +1983,7 @@ module Aws::TranscribeService
|
|
1686
1983
|
params: params,
|
1687
1984
|
config: config)
|
1688
1985
|
context[:gem_name] = 'aws-sdk-transcribeservice'
|
1689
|
-
context[:gem_version] = '1.
|
1986
|
+
context[:gem_version] = '1.49.0'
|
1690
1987
|
Seahorse::Client::Request.new(handlers, context)
|
1691
1988
|
end
|
1692
1989
|
|