aws-sdk-transcribeservice 1.45.0 → 1.50.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-transcribeservice.rb +4 -3
- data/lib/aws-sdk-transcribeservice/client.rb +394 -99
- data/lib/aws-sdk-transcribeservice/client_api.rb +138 -1
- data/lib/aws-sdk-transcribeservice/types.rb +554 -103
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10a36a99fa5423075c04db00a80747aca6417bc91b31cc1dd8dd73b972f12780
|
4
|
+
data.tar.gz: 0de6de3e02c9705745691c0de11255dc4718096cea8e14262587a7abb0c7d99d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 561c6131ce1175d01825ba5ecf68c23e4ed48369dfac3c3d47b98de5d6e07f26a13fef6a280d488b049f3bff61fa37d0a5f741453b64619c463b79f68853c1d6
|
7
|
+
data.tar.gz: 2c5f52f261c2595a5aafaf342c0ad71dd5575a63079f0a993f96bacf58d5daed9a0bce69fbbe4784e4fc160e6eb04595e1413dfea99256c3481e1e1f6bb58bf8
|
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -27,7 +28,7 @@ require_relative 'aws-sdk-transcribeservice/customizations'
|
|
27
28
|
# structure.
|
28
29
|
#
|
29
30
|
# transcribe_service = Aws::TranscribeService::Client.new
|
30
|
-
# resp = transcribe_service.
|
31
|
+
# resp = transcribe_service.create_language_model(params)
|
31
32
|
#
|
32
33
|
# See {Client} for more information.
|
33
34
|
#
|
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-transcribeservice/customizations'
|
|
44
45
|
#
|
45
46
|
# See {Errors} for more information.
|
46
47
|
#
|
47
|
-
#
|
48
|
+
# @!group service
|
48
49
|
module Aws::TranscribeService
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.50.0'
|
51
52
|
|
52
53
|
end
|
@@ -85,13 +85,28 @@ module Aws::TranscribeService
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
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
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::TranscribeService
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# 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.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -322,37 +337,103 @@ module Aws::TranscribeService
|
|
322
337
|
|
323
338
|
# @!group API Operations
|
324
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
|
+
|
325
405
|
# Creates a new custom vocabulary that you can use to change how Amazon
|
326
406
|
# Transcribe Medical transcribes your audio file.
|
327
407
|
#
|
328
408
|
# @option params [required, String] :vocabulary_name
|
329
409
|
# The name of the custom vocabulary. This case-sensitive name must be
|
330
410
|
# unique within an AWS account. If you try to create a vocabulary with
|
331
|
-
# the same name as a previous vocabulary you
|
332
|
-
#
|
411
|
+
# the same name as a previous vocabulary, you get a `ConflictException`
|
412
|
+
# error.
|
333
413
|
#
|
334
414
|
# @option params [required, String] :language_code
|
335
|
-
# The language code used for the entries
|
336
|
-
# The language code of your custom vocabulary must match the
|
337
|
-
# code of your transcription job. US English (en-US) is the
|
338
|
-
# 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.
|
339
419
|
#
|
340
420
|
# @option params [required, String] :vocabulary_file_uri
|
341
|
-
# The Amazon S3
|
342
|
-
# vocabulary. The URI must be in the same AWS
|
343
|
-
# you're calling. Enter information about your
|
344
|
-
# 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:
|
345
425
|
#
|
346
426
|
# `
|
347
427
|
# https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
|
348
428
|
# `
|
349
429
|
#
|
350
|
-
#
|
430
|
+
# The following is an example URI for a vocabulary file that is stored
|
431
|
+
# in Amazon S3:
|
351
432
|
#
|
352
433
|
# `https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt`
|
353
434
|
#
|
354
|
-
# For more information about S3 object names, see [Object
|
355
|
-
# 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*.
|
356
437
|
#
|
357
438
|
# For more information about custom vocabularies, see [Medical Custom
|
358
439
|
# Vocabularies][2].
|
@@ -374,14 +455,14 @@ module Aws::TranscribeService
|
|
374
455
|
#
|
375
456
|
# resp = client.create_medical_vocabulary({
|
376
457
|
# vocabulary_name: "VocabularyName", # required
|
377
|
-
# 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
|
378
459
|
# vocabulary_file_uri: "Uri", # required
|
379
460
|
# })
|
380
461
|
#
|
381
462
|
# @example Response structure
|
382
463
|
#
|
383
464
|
# resp.vocabulary_name #=> String
|
384
|
-
# 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"
|
385
466
|
# resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
|
386
467
|
# resp.last_modified_time #=> Time
|
387
468
|
# resp.failure_reason #=> String
|
@@ -400,7 +481,7 @@ module Aws::TranscribeService
|
|
400
481
|
#
|
401
482
|
# @option params [required, String] :vocabulary_name
|
402
483
|
# The name of the vocabulary. The name must be unique within an AWS
|
403
|
-
# account. The name is case
|
484
|
+
# account. The name is case sensitive. If you try to create a vocabulary
|
404
485
|
# with the same name as a previous vocabulary you will receive a
|
405
486
|
# `ConflictException` error.
|
406
487
|
#
|
@@ -438,7 +519,7 @@ module Aws::TranscribeService
|
|
438
519
|
#
|
439
520
|
# resp = client.create_vocabulary({
|
440
521
|
# vocabulary_name: "VocabularyName", # required
|
441
|
-
# 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
|
442
523
|
# phrases: ["Phrase"],
|
443
524
|
# vocabulary_file_uri: "Uri",
|
444
525
|
# })
|
@@ -446,7 +527,7 @@ module Aws::TranscribeService
|
|
446
527
|
# @example Response structure
|
447
528
|
#
|
448
529
|
# resp.vocabulary_name #=> String
|
449
|
-
# 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"
|
450
531
|
# resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
|
451
532
|
# resp.last_modified_time #=> Time
|
452
533
|
# resp.failure_reason #=> String
|
@@ -465,9 +546,9 @@ module Aws::TranscribeService
|
|
465
546
|
#
|
466
547
|
# @option params [required, String] :vocabulary_filter_name
|
467
548
|
# The vocabulary filter name. The name must be unique within the account
|
468
|
-
# that contains it.If you try to create a vocabulary filter with the
|
469
|
-
# same name as
|
470
|
-
#
|
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.
|
471
552
|
#
|
472
553
|
# @option params [required, String] :language_code
|
473
554
|
# The language code of the words in the vocabulary filter. All words in
|
@@ -512,7 +593,7 @@ module Aws::TranscribeService
|
|
512
593
|
#
|
513
594
|
# resp = client.create_vocabulary_filter({
|
514
595
|
# vocabulary_filter_name: "VocabularyFilterName", # required
|
515
|
-
# 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
|
516
597
|
# words: ["Word"],
|
517
598
|
# vocabulary_filter_file_uri: "Uri",
|
518
599
|
# })
|
@@ -520,7 +601,7 @@ module Aws::TranscribeService
|
|
520
601
|
# @example Response structure
|
521
602
|
#
|
522
603
|
# resp.vocabulary_filter_name #=> String
|
523
|
-
# 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"
|
524
605
|
# resp.last_modified_time #=> Time
|
525
606
|
#
|
526
607
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateVocabularyFilter AWS API Documentation
|
@@ -532,6 +613,28 @@ module Aws::TranscribeService
|
|
532
613
|
req.send_request(options)
|
533
614
|
end
|
534
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
|
+
|
535
638
|
# Deletes a transcription job generated by Amazon Transcribe Medical and
|
536
639
|
# any related information.
|
537
640
|
#
|
@@ -559,7 +662,7 @@ module Aws::TranscribeService
|
|
559
662
|
# Deletes a vocabulary from Amazon Transcribe Medical.
|
560
663
|
#
|
561
664
|
# @option params [required, String] :vocabulary_name
|
562
|
-
# The name of the vocabulary you
|
665
|
+
# The name of the vocabulary that you want to delete.
|
563
666
|
#
|
564
667
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
565
668
|
#
|
@@ -645,6 +748,52 @@ module Aws::TranscribeService
|
|
645
748
|
req.send_request(options)
|
646
749
|
end
|
647
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
|
+
|
648
797
|
# Returns information about a transcription job from Amazon Transcribe
|
649
798
|
# Medical. To see the status of the job, check the
|
650
799
|
# `TranscriptionJobStatus` field. If the status is `COMPLETED`, the job
|
@@ -668,9 +817,9 @@ module Aws::TranscribeService
|
|
668
817
|
#
|
669
818
|
# resp.medical_transcription_job.medical_transcription_job_name #=> String
|
670
819
|
# resp.medical_transcription_job.transcription_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
|
671
|
-
# 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"
|
672
821
|
# resp.medical_transcription_job.media_sample_rate_hertz #=> Integer
|
673
|
-
# 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"
|
674
823
|
# resp.medical_transcription_job.media.media_file_uri #=> String
|
675
824
|
# resp.medical_transcription_job.transcript.transcript_file_uri #=> String
|
676
825
|
# resp.medical_transcription_job.start_time #=> Time
|
@@ -695,11 +844,11 @@ module Aws::TranscribeService
|
|
695
844
|
req.send_request(options)
|
696
845
|
end
|
697
846
|
|
698
|
-
#
|
847
|
+
# Retrieves information about a medical vocabulary.
|
699
848
|
#
|
700
849
|
# @option params [required, String] :vocabulary_name
|
701
|
-
# The name of the vocabulary you
|
702
|
-
#
|
850
|
+
# The name of the vocabulary that you want information about. The value
|
851
|
+
# is case sensitive.
|
703
852
|
#
|
704
853
|
# @return [Types::GetMedicalVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
705
854
|
#
|
@@ -719,7 +868,7 @@ module Aws::TranscribeService
|
|
719
868
|
# @example Response structure
|
720
869
|
#
|
721
870
|
# resp.vocabulary_name #=> String
|
722
|
-
# 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"
|
723
872
|
# resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
|
724
873
|
# resp.last_modified_time #=> Time
|
725
874
|
# resp.failure_reason #=> String
|
@@ -758,9 +907,9 @@ module Aws::TranscribeService
|
|
758
907
|
#
|
759
908
|
# resp.transcription_job.transcription_job_name #=> String
|
760
909
|
# resp.transcription_job.transcription_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
|
761
|
-
# 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"
|
762
911
|
# resp.transcription_job.media_sample_rate_hertz #=> Integer
|
763
|
-
# 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"
|
764
913
|
# resp.transcription_job.media.media_file_uri #=> String
|
765
914
|
# resp.transcription_job.transcript.transcript_file_uri #=> String
|
766
915
|
# resp.transcription_job.transcript.redacted_transcript_file_uri #=> String
|
@@ -776,10 +925,15 @@ module Aws::TranscribeService
|
|
776
925
|
# resp.transcription_job.settings.max_alternatives #=> Integer
|
777
926
|
# resp.transcription_job.settings.vocabulary_filter_name #=> String
|
778
927
|
# resp.transcription_job.settings.vocabulary_filter_method #=> String, one of "remove", "mask"
|
928
|
+
# resp.transcription_job.model_settings.language_model_name #=> String
|
779
929
|
# resp.transcription_job.job_execution_settings.allow_deferred_execution #=> Boolean
|
780
930
|
# resp.transcription_job.job_execution_settings.data_access_role_arn #=> String
|
781
931
|
# resp.transcription_job.content_redaction.redaction_type #=> String, one of "PII"
|
782
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
|
783
937
|
#
|
784
938
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetTranscriptionJob AWS API Documentation
|
785
939
|
#
|
@@ -794,7 +948,7 @@ module Aws::TranscribeService
|
|
794
948
|
#
|
795
949
|
# @option params [required, String] :vocabulary_name
|
796
950
|
# The name of the vocabulary to return information about. The name is
|
797
|
-
# case
|
951
|
+
# case sensitive.
|
798
952
|
#
|
799
953
|
# @return [Types::GetVocabularyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
800
954
|
#
|
@@ -814,7 +968,7 @@ module Aws::TranscribeService
|
|
814
968
|
# @example Response structure
|
815
969
|
#
|
816
970
|
# resp.vocabulary_name #=> String
|
817
|
-
# 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"
|
818
972
|
# resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
|
819
973
|
# resp.last_modified_time #=> Time
|
820
974
|
# resp.failure_reason #=> String
|
@@ -850,7 +1004,7 @@ module Aws::TranscribeService
|
|
850
1004
|
# @example Response structure
|
851
1005
|
#
|
852
1006
|
# resp.vocabulary_filter_name #=> String
|
853
|
-
# 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"
|
854
1008
|
# resp.last_modified_time #=> Time
|
855
1009
|
# resp.download_uri #=> String
|
856
1010
|
#
|
@@ -863,6 +1017,71 @@ module Aws::TranscribeService
|
|
863
1017
|
req.send_request(options)
|
864
1018
|
end
|
865
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
|
+
|
866
1085
|
# Lists medical transcription jobs with a specified status or substring
|
867
1086
|
# that matches their names.
|
868
1087
|
#
|
@@ -912,7 +1131,7 @@ module Aws::TranscribeService
|
|
912
1131
|
# resp.medical_transcription_job_summaries[0].creation_time #=> Time
|
913
1132
|
# resp.medical_transcription_job_summaries[0].start_time #=> Time
|
914
1133
|
# resp.medical_transcription_job_summaries[0].completion_time #=> Time
|
915
|
-
# 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"
|
916
1135
|
# resp.medical_transcription_job_summaries[0].transcription_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
|
917
1136
|
# resp.medical_transcription_job_summaries[0].failure_reason #=> String
|
918
1137
|
# resp.medical_transcription_job_summaries[0].output_location_type #=> String, one of "CUSTOMER_BUCKET", "SERVICE_BUCKET"
|
@@ -928,26 +1147,27 @@ module Aws::TranscribeService
|
|
928
1147
|
req.send_request(options)
|
929
1148
|
end
|
930
1149
|
|
931
|
-
# Returns a list of vocabularies that match the specified criteria.
|
932
|
-
#
|
933
|
-
#
|
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.
|
934
1153
|
#
|
935
1154
|
# @option params [String] :next_token
|
936
1155
|
# If the result of your previous request to `ListMedicalVocabularies`
|
937
|
-
# 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.
|
938
1158
|
#
|
939
1159
|
# @option params [Integer] :max_results
|
940
1160
|
# The maximum number of vocabularies to return in the response.
|
941
1161
|
#
|
942
1162
|
# @option params [String] :state_equals
|
943
|
-
# When specified, only
|
944
|
-
# 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.
|
945
1166
|
#
|
946
1167
|
# @option params [String] :name_contains
|
947
|
-
# Returns vocabularies
|
948
|
-
#
|
949
|
-
#
|
950
|
-
# list.
|
1168
|
+
# Returns vocabularies whose names contain the specified string. The
|
1169
|
+
# search is not case sensitive. `ListMedicalVocabularies` returns both
|
1170
|
+
# "`vocabularyname`" and "`VocabularyName`".
|
951
1171
|
#
|
952
1172
|
# @return [Types::ListMedicalVocabulariesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
953
1173
|
#
|
@@ -972,7 +1192,7 @@ module Aws::TranscribeService
|
|
972
1192
|
# resp.next_token #=> String
|
973
1193
|
# resp.vocabularies #=> Array
|
974
1194
|
# resp.vocabularies[0].vocabulary_name #=> String
|
975
|
-
# 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"
|
976
1196
|
# resp.vocabularies[0].last_modified_time #=> Time
|
977
1197
|
# resp.vocabularies[0].vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
|
978
1198
|
#
|
@@ -1032,12 +1252,15 @@ module Aws::TranscribeService
|
|
1032
1252
|
# resp.transcription_job_summaries[0].creation_time #=> Time
|
1033
1253
|
# resp.transcription_job_summaries[0].start_time #=> Time
|
1034
1254
|
# resp.transcription_job_summaries[0].completion_time #=> Time
|
1035
|
-
# 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"
|
1036
1256
|
# resp.transcription_job_summaries[0].transcription_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
|
1037
1257
|
# resp.transcription_job_summaries[0].failure_reason #=> String
|
1038
1258
|
# resp.transcription_job_summaries[0].output_location_type #=> String, one of "CUSTOMER_BUCKET", "SERVICE_BUCKET"
|
1039
1259
|
# resp.transcription_job_summaries[0].content_redaction.redaction_type #=> String, one of "PII"
|
1040
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
|
1041
1264
|
#
|
1042
1265
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListTranscriptionJobs AWS API Documentation
|
1043
1266
|
#
|
@@ -1067,7 +1290,7 @@ module Aws::TranscribeService
|
|
1067
1290
|
# @option params [String] :name_contains
|
1068
1291
|
# When specified, the vocabularies returned in the list are limited to
|
1069
1292
|
# vocabularies whose name contains the specified string. The search is
|
1070
|
-
# case
|
1293
|
+
# not case sensitive, `ListVocabularies` returns both "vocabularyname"
|
1071
1294
|
# and "VocabularyName" in the response list.
|
1072
1295
|
#
|
1073
1296
|
# @return [Types::ListVocabulariesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1093,7 +1316,7 @@ module Aws::TranscribeService
|
|
1093
1316
|
# resp.next_token #=> String
|
1094
1317
|
# resp.vocabularies #=> Array
|
1095
1318
|
# resp.vocabularies[0].vocabulary_name #=> String
|
1096
|
-
# 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"
|
1097
1320
|
# resp.vocabularies[0].last_modified_time #=> Time
|
1098
1321
|
# resp.vocabularies[0].vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
|
1099
1322
|
#
|
@@ -1142,7 +1365,7 @@ module Aws::TranscribeService
|
|
1142
1365
|
# resp.next_token #=> String
|
1143
1366
|
# resp.vocabulary_filters #=> Array
|
1144
1367
|
# resp.vocabulary_filters[0].vocabulary_filter_name #=> String
|
1145
|
-
# 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"
|
1146
1369
|
# resp.vocabulary_filters[0].last_modified_time #=> Time
|
1147
1370
|
#
|
1148
1371
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListVocabularyFilters AWS API Documentation
|
@@ -1154,14 +1377,14 @@ module Aws::TranscribeService
|
|
1154
1377
|
req.send_request(options)
|
1155
1378
|
end
|
1156
1379
|
|
1157
|
-
#
|
1380
|
+
# Starts a batch job to transcribe medical speech to text.
|
1158
1381
|
#
|
1159
1382
|
# @option params [required, String] :medical_transcription_job_name
|
1160
1383
|
# The name of the medical transcription job. You can't use the strings
|
1161
|
-
# "
|
1162
|
-
# 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
|
1163
1386
|
# transcription job with the same name as a previous medical
|
1164
|
-
# transcription job you
|
1387
|
+
# transcription job, you get a `ConflictException` error.
|
1165
1388
|
#
|
1166
1389
|
# @option params [required, String] :language_code
|
1167
1390
|
# The language code for the language spoken in the input media file. US
|
@@ -1205,6 +1428,28 @@ module Aws::TranscribeService
|
|
1205
1428
|
#
|
1206
1429
|
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/security_iam_id-based-policy-examples.html#auth-role-iam-user
|
1207
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
|
+
#
|
1208
1453
|
# @option params [String] :output_encryption_kms_key_id
|
1209
1454
|
# The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS)
|
1210
1455
|
# key used to encrypt the output of the transcription job. The user
|
@@ -1255,13 +1500,14 @@ module Aws::TranscribeService
|
|
1255
1500
|
#
|
1256
1501
|
# resp = client.start_medical_transcription_job({
|
1257
1502
|
# medical_transcription_job_name: "TranscriptionJobName", # required
|
1258
|
-
# 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
|
1259
1504
|
# media_sample_rate_hertz: 1,
|
1260
|
-
# media_format: "mp3", # accepts mp3, mp4, wav, flac
|
1505
|
+
# media_format: "mp3", # accepts mp3, mp4, wav, flac, ogg, amr, webm
|
1261
1506
|
# media: { # required
|
1262
1507
|
# media_file_uri: "Uri",
|
1263
1508
|
# },
|
1264
1509
|
# output_bucket_name: "OutputBucketName", # required
|
1510
|
+
# output_key: "OutputKey",
|
1265
1511
|
# output_encryption_kms_key_id: "KMSKeyId",
|
1266
1512
|
# settings: {
|
1267
1513
|
# show_speaker_labels: false,
|
@@ -1279,9 +1525,9 @@ module Aws::TranscribeService
|
|
1279
1525
|
#
|
1280
1526
|
# resp.medical_transcription_job.medical_transcription_job_name #=> String
|
1281
1527
|
# resp.medical_transcription_job.transcription_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
|
1282
|
-
# 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"
|
1283
1529
|
# resp.medical_transcription_job.media_sample_rate_hertz #=> Integer
|
1284
|
-
# 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"
|
1285
1531
|
# resp.medical_transcription_job.media.media_file_uri #=> String
|
1286
1532
|
# resp.medical_transcription_job.transcript.transcript_file_uri #=> String
|
1287
1533
|
# resp.medical_transcription_job.start_time #=> Time
|
@@ -1309,13 +1555,12 @@ module Aws::TranscribeService
|
|
1309
1555
|
# Starts an asynchronous job to transcribe speech to text.
|
1310
1556
|
#
|
1311
1557
|
# @option params [required, String] :transcription_job_name
|
1312
|
-
# The name of the job.
|
1313
|
-
#
|
1314
|
-
#
|
1315
|
-
#
|
1316
|
-
# `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.
|
1317
1562
|
#
|
1318
|
-
# @option params [
|
1563
|
+
# @option params [String] :language_code
|
1319
1564
|
# The language code for the language used in the input media file.
|
1320
1565
|
#
|
1321
1566
|
# @option params [Integer] :media_sample_rate_hertz
|
@@ -1362,6 +1607,28 @@ module Aws::TranscribeService
|
|
1362
1607
|
#
|
1363
1608
|
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/security_iam_id-based-policy-examples.html#auth-role-iam-user
|
1364
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
|
+
#
|
1365
1632
|
# @option params [String] :output_encryption_kms_key_id
|
1366
1633
|
# The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS)
|
1367
1634
|
# key used to encrypt the output of the transcription job. The user
|
@@ -1396,6 +1663,10 @@ module Aws::TranscribeService
|
|
1396
1663
|
# A `Settings` object that provides optional settings for a
|
1397
1664
|
# transcription job.
|
1398
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
|
+
#
|
1399
1670
|
# @option params [Types::JobExecutionSettings] :job_execution_settings
|
1400
1671
|
# Provides information about how a transcription job is executed. Use
|
1401
1672
|
# this field to indicate that the job can be queued for deferred
|
@@ -1405,6 +1676,17 @@ module Aws::TranscribeService
|
|
1405
1676
|
# @option params [Types::ContentRedaction] :content_redaction
|
1406
1677
|
# An object that contains the request parameters for content redaction.
|
1407
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
|
+
#
|
1408
1690
|
# @return [Types::StartTranscriptionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1409
1691
|
#
|
1410
1692
|
# * {Types::StartTranscriptionJobResponse#transcription_job #transcription_job} => Types::TranscriptionJob
|
@@ -1413,13 +1695,14 @@ module Aws::TranscribeService
|
|
1413
1695
|
#
|
1414
1696
|
# resp = client.start_transcription_job({
|
1415
1697
|
# transcription_job_name: "TranscriptionJobName", # required
|
1416
|
-
# 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
|
1417
1699
|
# media_sample_rate_hertz: 1,
|
1418
|
-
# media_format: "mp3", # accepts mp3, mp4, wav, flac
|
1700
|
+
# media_format: "mp3", # accepts mp3, mp4, wav, flac, ogg, amr, webm
|
1419
1701
|
# media: { # required
|
1420
1702
|
# media_file_uri: "Uri",
|
1421
1703
|
# },
|
1422
1704
|
# output_bucket_name: "OutputBucketName",
|
1705
|
+
# output_key: "OutputKey",
|
1423
1706
|
# output_encryption_kms_key_id: "KMSKeyId",
|
1424
1707
|
# settings: {
|
1425
1708
|
# vocabulary_name: "VocabularyName",
|
@@ -1431,6 +1714,9 @@ module Aws::TranscribeService
|
|
1431
1714
|
# vocabulary_filter_name: "VocabularyFilterName",
|
1432
1715
|
# vocabulary_filter_method: "remove", # accepts remove, mask
|
1433
1716
|
# },
|
1717
|
+
# model_settings: {
|
1718
|
+
# language_model_name: "ModelName",
|
1719
|
+
# },
|
1434
1720
|
# job_execution_settings: {
|
1435
1721
|
# allow_deferred_execution: false,
|
1436
1722
|
# data_access_role_arn: "DataAccessRoleArn",
|
@@ -1439,15 +1725,17 @@ module Aws::TranscribeService
|
|
1439
1725
|
# redaction_type: "PII", # required, accepts PII
|
1440
1726
|
# redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
|
1441
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
|
1442
1730
|
# })
|
1443
1731
|
#
|
1444
1732
|
# @example Response structure
|
1445
1733
|
#
|
1446
1734
|
# resp.transcription_job.transcription_job_name #=> String
|
1447
1735
|
# resp.transcription_job.transcription_job_status #=> String, one of "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED"
|
1448
|
-
# 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"
|
1449
1737
|
# resp.transcription_job.media_sample_rate_hertz #=> Integer
|
1450
|
-
# 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"
|
1451
1739
|
# resp.transcription_job.media.media_file_uri #=> String
|
1452
1740
|
# resp.transcription_job.transcript.transcript_file_uri #=> String
|
1453
1741
|
# resp.transcription_job.transcript.redacted_transcript_file_uri #=> String
|
@@ -1463,10 +1751,15 @@ module Aws::TranscribeService
|
|
1463
1751
|
# resp.transcription_job.settings.max_alternatives #=> Integer
|
1464
1752
|
# resp.transcription_job.settings.vocabulary_filter_name #=> String
|
1465
1753
|
# resp.transcription_job.settings.vocabulary_filter_method #=> String, one of "remove", "mask"
|
1754
|
+
# resp.transcription_job.model_settings.language_model_name #=> String
|
1466
1755
|
# resp.transcription_job.job_execution_settings.allow_deferred_execution #=> Boolean
|
1467
1756
|
# resp.transcription_job.job_execution_settings.data_access_role_arn #=> String
|
1468
1757
|
# resp.transcription_job.content_redaction.redaction_type #=> String, one of "PII"
|
1469
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
|
1470
1763
|
#
|
1471
1764
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartTranscriptionJob AWS API Documentation
|
1472
1765
|
#
|
@@ -1477,24 +1770,26 @@ module Aws::TranscribeService
|
|
1477
1770
|
req.send_request(options)
|
1478
1771
|
end
|
1479
1772
|
|
1480
|
-
# Updates
|
1481
|
-
# file
|
1482
|
-
#
|
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.
|
1483
1777
|
#
|
1484
1778
|
# @option params [required, String] :vocabulary_name
|
1485
|
-
# The name of the vocabulary to update. The name is case
|
1486
|
-
# you try to update a vocabulary with the same name as a
|
1487
|
-
#
|
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.
|
1488
1782
|
#
|
1489
1783
|
# @option params [required, String] :language_code
|
1490
|
-
# The language code of the entries in the updated
|
1491
|
-
# (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.
|
1492
1787
|
#
|
1493
1788
|
# @option params [String] :vocabulary_file_uri
|
1494
|
-
# The Amazon S3
|
1495
|
-
#
|
1496
|
-
#
|
1497
|
-
#
|
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:
|
1498
1793
|
#
|
1499
1794
|
# `
|
1500
1795
|
# https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
|
@@ -1504,8 +1799,8 @@ module Aws::TranscribeService
|
|
1504
1799
|
#
|
1505
1800
|
# `https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt`
|
1506
1801
|
#
|
1507
|
-
# For more information about S3 object names, see [Object
|
1508
|
-
# 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*.
|
1509
1804
|
#
|
1510
1805
|
# For more information about custom vocabularies in Amazon Transcribe
|
1511
1806
|
# Medical, see [Medical Custom Vocabularies][2].
|
@@ -1526,14 +1821,14 @@ module Aws::TranscribeService
|
|
1526
1821
|
#
|
1527
1822
|
# resp = client.update_medical_vocabulary({
|
1528
1823
|
# vocabulary_name: "VocabularyName", # required
|
1529
|
-
# 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
|
1530
1825
|
# vocabulary_file_uri: "Uri",
|
1531
1826
|
# })
|
1532
1827
|
#
|
1533
1828
|
# @example Response structure
|
1534
1829
|
#
|
1535
1830
|
# resp.vocabulary_name #=> String
|
1536
|
-
# 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"
|
1537
1832
|
# resp.last_modified_time #=> Time
|
1538
1833
|
# resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
|
1539
1834
|
#
|
@@ -1551,7 +1846,7 @@ module Aws::TranscribeService
|
|
1551
1846
|
# that you provide in the request.
|
1552
1847
|
#
|
1553
1848
|
# @option params [required, String] :vocabulary_name
|
1554
|
-
# 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
|
1555
1850
|
# you try to update a vocabulary with the same name as a previous
|
1556
1851
|
# vocabulary you will receive a `ConflictException` error.
|
1557
1852
|
#
|
@@ -1590,7 +1885,7 @@ module Aws::TranscribeService
|
|
1590
1885
|
#
|
1591
1886
|
# resp = client.update_vocabulary({
|
1592
1887
|
# vocabulary_name: "VocabularyName", # required
|
1593
|
-
# 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
|
1594
1889
|
# phrases: ["Phrase"],
|
1595
1890
|
# vocabulary_file_uri: "Uri",
|
1596
1891
|
# })
|
@@ -1598,7 +1893,7 @@ module Aws::TranscribeService
|
|
1598
1893
|
# @example Response structure
|
1599
1894
|
#
|
1600
1895
|
# resp.vocabulary_name #=> String
|
1601
|
-
# 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"
|
1602
1897
|
# resp.last_modified_time #=> Time
|
1603
1898
|
# resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
|
1604
1899
|
#
|
@@ -1615,8 +1910,8 @@ module Aws::TranscribeService
|
|
1615
1910
|
#
|
1616
1911
|
# @option params [required, String] :vocabulary_filter_name
|
1617
1912
|
# The name of the vocabulary filter to update. If you try to update a
|
1618
|
-
# vocabulary filter with the same name as
|
1619
|
-
#
|
1913
|
+
# vocabulary filter with the same name as another vocabulary filter, you
|
1914
|
+
# get a `ConflictException` error.
|
1620
1915
|
#
|
1621
1916
|
# @option params [Array<String>] :words
|
1622
1917
|
# The words to use in the vocabulary filter. Only use characters from
|
@@ -1663,7 +1958,7 @@ module Aws::TranscribeService
|
|
1663
1958
|
# @example Response structure
|
1664
1959
|
#
|
1665
1960
|
# resp.vocabulary_filter_name #=> String
|
1666
|
-
# 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"
|
1667
1962
|
# resp.last_modified_time #=> Time
|
1668
1963
|
#
|
1669
1964
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateVocabularyFilter AWS API Documentation
|
@@ -1688,7 +1983,7 @@ module Aws::TranscribeService
|
|
1688
1983
|
params: params,
|
1689
1984
|
config: config)
|
1690
1985
|
context[:gem_name] = 'aws-sdk-transcribeservice'
|
1691
|
-
context[:gem_version] = '1.
|
1986
|
+
context[:gem_version] = '1.50.0'
|
1692
1987
|
Seahorse::Client::Request.new(handlers, context)
|
1693
1988
|
end
|
1694
1989
|
|