aws-sdk-transcribeservice 1.16.0 → 1.17.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 +1 -1
- data/lib/aws-sdk-transcribeservice/client.rb +15 -11
- data/lib/aws-sdk-transcribeservice/types.rb +44 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28ed42babdb76729ee3f33be214773b3ccbf1b9f
|
4
|
+
data.tar.gz: c5f49f173fc6b571729904452f552264b585bcfc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e45520f81e012e5330fbd752aae640e64b9884d8c82f1746690ac12abccba762221864b08e441548bb47fb2847222df141f6a6164dfa1d2c10656e5f802f4719
|
7
|
+
data.tar.gz: 60d1d07e7ed700055d9ee0a0b44853f9b9daf37e5448efa9a12bf76da63c6609c17d3f4cd6382322f144a9062e95b232055deaa9105631e0201b1398bbadd4c2
|
@@ -240,14 +240,14 @@ module Aws::TranscribeService
|
|
240
240
|
#
|
241
241
|
# resp = client.create_vocabulary({
|
242
242
|
# vocabulary_name: "VocabularyName", # required
|
243
|
-
# language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR, it-IT
|
243
|
+
# language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR, it-IT, ko-KR
|
244
244
|
# phrases: ["Phrase"], # required
|
245
245
|
# })
|
246
246
|
#
|
247
247
|
# @example Response structure
|
248
248
|
#
|
249
249
|
# resp.vocabulary_name #=> String
|
250
|
-
# resp.language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR", "it-IT"
|
250
|
+
# resp.language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR", "it-IT", "ko-KR"
|
251
251
|
# resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
|
252
252
|
# resp.last_modified_time #=> Time
|
253
253
|
# resp.failure_reason #=> String
|
@@ -328,7 +328,7 @@ module Aws::TranscribeService
|
|
328
328
|
#
|
329
329
|
# resp.transcription_job.transcription_job_name #=> String
|
330
330
|
# resp.transcription_job.transcription_job_status #=> String, one of "IN_PROGRESS", "FAILED", "COMPLETED"
|
331
|
-
# resp.transcription_job.language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR", "it-IT"
|
331
|
+
# resp.transcription_job.language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR", "it-IT", "ko-KR"
|
332
332
|
# resp.transcription_job.media_sample_rate_hertz #=> Integer
|
333
333
|
# resp.transcription_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac"
|
334
334
|
# resp.transcription_job.media.media_file_uri #=> String
|
@@ -374,7 +374,7 @@ module Aws::TranscribeService
|
|
374
374
|
# @example Response structure
|
375
375
|
#
|
376
376
|
# resp.vocabulary_name #=> String
|
377
|
-
# resp.language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR", "it-IT"
|
377
|
+
# resp.language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR", "it-IT", "ko-KR"
|
378
378
|
# resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
|
379
379
|
# resp.last_modified_time #=> Time
|
380
380
|
# resp.failure_reason #=> String
|
@@ -433,7 +433,7 @@ module Aws::TranscribeService
|
|
433
433
|
# resp.transcription_job_summaries[0].transcription_job_name #=> String
|
434
434
|
# resp.transcription_job_summaries[0].creation_time #=> Time
|
435
435
|
# resp.transcription_job_summaries[0].completion_time #=> Time
|
436
|
-
# resp.transcription_job_summaries[0].language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR", "it-IT"
|
436
|
+
# resp.transcription_job_summaries[0].language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR", "it-IT", "ko-KR"
|
437
437
|
# resp.transcription_job_summaries[0].transcription_job_status #=> String, one of "IN_PROGRESS", "FAILED", "COMPLETED"
|
438
438
|
# resp.transcription_job_summaries[0].failure_reason #=> String
|
439
439
|
# resp.transcription_job_summaries[0].output_location_type #=> String, one of "CUSTOMER_BUCKET", "SERVICE_BUCKET"
|
@@ -490,7 +490,7 @@ module Aws::TranscribeService
|
|
490
490
|
# resp.next_token #=> String
|
491
491
|
# resp.vocabularies #=> Array
|
492
492
|
# resp.vocabularies[0].vocabulary_name #=> String
|
493
|
-
# resp.vocabularies[0].language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR", "it-IT"
|
493
|
+
# resp.vocabularies[0].language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR", "it-IT", "ko-KR"
|
494
494
|
# resp.vocabularies[0].last_modified_time #=> Time
|
495
495
|
# resp.vocabularies[0].vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
|
496
496
|
#
|
@@ -532,6 +532,10 @@ module Aws::TranscribeService
|
|
532
532
|
# that allow Amazon Transcribe to put files in the bucket. For more
|
533
533
|
# information, see [Permissions Required for IAM User Roles][1].
|
534
534
|
#
|
535
|
+
# Amazon Transcribe uses the default Amazon S3 key for server-side
|
536
|
+
# encryption of transcripts that are placed in your S3 bucket. You
|
537
|
+
# can't specify your own encryption key.
|
538
|
+
#
|
535
539
|
# If you don't set the `OutputBucketName`, Amazon Transcribe generates
|
536
540
|
# a pre-signed URL, a shareable URL that provides secure access to your
|
537
541
|
# transcription, and returns it in the `TranscriptFileUri` field. Use
|
@@ -553,7 +557,7 @@ module Aws::TranscribeService
|
|
553
557
|
#
|
554
558
|
# resp = client.start_transcription_job({
|
555
559
|
# transcription_job_name: "TranscriptionJobName", # required
|
556
|
-
# language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR, it-IT
|
560
|
+
# language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR, it-IT, ko-KR
|
557
561
|
# media_sample_rate_hertz: 1,
|
558
562
|
# media_format: "mp3", # required, accepts mp3, mp4, wav, flac
|
559
563
|
# media: { # required
|
@@ -572,7 +576,7 @@ module Aws::TranscribeService
|
|
572
576
|
#
|
573
577
|
# resp.transcription_job.transcription_job_name #=> String
|
574
578
|
# resp.transcription_job.transcription_job_status #=> String, one of "IN_PROGRESS", "FAILED", "COMPLETED"
|
575
|
-
# resp.transcription_job.language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR", "it-IT"
|
579
|
+
# resp.transcription_job.language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR", "it-IT", "ko-KR"
|
576
580
|
# resp.transcription_job.media_sample_rate_hertz #=> Integer
|
577
581
|
# resp.transcription_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac"
|
578
582
|
# resp.transcription_job.media.media_file_uri #=> String
|
@@ -618,14 +622,14 @@ module Aws::TranscribeService
|
|
618
622
|
#
|
619
623
|
# resp = client.update_vocabulary({
|
620
624
|
# vocabulary_name: "VocabularyName", # required
|
621
|
-
# language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR, it-IT
|
625
|
+
# language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR, it-IT, ko-KR
|
622
626
|
# phrases: ["Phrase"], # required
|
623
627
|
# })
|
624
628
|
#
|
625
629
|
# @example Response structure
|
626
630
|
#
|
627
631
|
# resp.vocabulary_name #=> String
|
628
|
-
# resp.language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR", "it-IT"
|
632
|
+
# resp.language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR", "it-IT", "ko-KR"
|
629
633
|
# resp.last_modified_time #=> Time
|
630
634
|
# resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
|
631
635
|
#
|
@@ -651,7 +655,7 @@ module Aws::TranscribeService
|
|
651
655
|
params: params,
|
652
656
|
config: config)
|
653
657
|
context[:gem_name] = 'aws-sdk-transcribeservice'
|
654
|
-
context[:gem_version] = '1.
|
658
|
+
context[:gem_version] = '1.17.0'
|
655
659
|
Seahorse::Client::Request.new(handlers, context)
|
656
660
|
end
|
657
661
|
|
@@ -13,7 +13,7 @@ module Aws::TranscribeService
|
|
13
13
|
#
|
14
14
|
# {
|
15
15
|
# vocabulary_name: "VocabularyName", # required
|
16
|
-
# language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR, it-IT
|
16
|
+
# language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR, it-IT, ko-KR
|
17
17
|
# phrases: ["Phrase"], # required
|
18
18
|
# }
|
19
19
|
#
|
@@ -442,7 +442,7 @@ module Aws::TranscribeService
|
|
442
442
|
#
|
443
443
|
# {
|
444
444
|
# transcription_job_name: "TranscriptionJobName", # required
|
445
|
-
# language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR, it-IT
|
445
|
+
# language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR, it-IT, ko-KR
|
446
446
|
# media_sample_rate_hertz: 1,
|
447
447
|
# media_format: "mp3", # required, accepts mp3, mp4, wav, flac
|
448
448
|
# media: { # required
|
@@ -491,6 +491,10 @@ module Aws::TranscribeService
|
|
491
491
|
# For more information, see [Permissions Required for IAM User
|
492
492
|
# Roles][1].
|
493
493
|
#
|
494
|
+
# Amazon Transcribe uses the default Amazon S3 key for server-side
|
495
|
+
# encryption of transcripts that are placed in your S3 bucket. You
|
496
|
+
# can't specify your own encryption key.
|
497
|
+
#
|
494
498
|
# If you don't set the `OutputBucketName`, Amazon Transcribe
|
495
499
|
# generates a pre-signed URL, a shareable URL that provides secure
|
496
500
|
# access to your transcription, and returns it in the
|
@@ -593,6 +597,43 @@ module Aws::TranscribeService
|
|
593
597
|
# @!attribute [rw] failure_reason
|
594
598
|
# If the `TranscriptionJobStatus` field is `FAILED`, this field
|
595
599
|
# contains information about why the job failed.
|
600
|
+
#
|
601
|
+
# The `FailureReason` field can contain one of the following values:
|
602
|
+
#
|
603
|
+
# * `Unsupported media format` - The media format specified in the
|
604
|
+
# `MediaFormat` field of the request isn't valid. See the
|
605
|
+
# description of the `MediaFormat` field for a list of valid values.
|
606
|
+
#
|
607
|
+
# * `The media format provided does not match the detected media
|
608
|
+
# format` - The media format of the audio file doesn't match the
|
609
|
+
# format specified in the `MediaFormat` field in the request. Check
|
610
|
+
# the media format of your media file and make sure that the two
|
611
|
+
# values match.
|
612
|
+
#
|
613
|
+
# * `Invalid sample rate for audio file` - The sample rate specified
|
614
|
+
# in the `MediaSampleRateHertz` of the request isn't valid. The
|
615
|
+
# sample rate must be between 8000 and 48000 Hertz.
|
616
|
+
#
|
617
|
+
# * `The sample rate provided does not match the detected sample rate`
|
618
|
+
# - The sample rate in the audio file doesn't match the sample rate
|
619
|
+
# specified in the `MediaSampleRateHertz` field in the request.
|
620
|
+
# Check the sample rate of your media file and make sure that the
|
621
|
+
# two values match.
|
622
|
+
#
|
623
|
+
# * `Invalid file size: file size too large` - The size of your audio
|
624
|
+
# file is larger than Amazon Transcribe can process. For more
|
625
|
+
# information, see [Limits][1] in the *Amazon Transcribe Developer
|
626
|
+
# Guide*.
|
627
|
+
#
|
628
|
+
# * `Invalid number of channels: number of channels too large` - Your
|
629
|
+
# audio contains more channels than Amazon Transcribe is configured
|
630
|
+
# to process. To request additional channels, see [Amazon Transcribe
|
631
|
+
# Limits][2] in the *Amazon Web Services General Reference*.
|
632
|
+
#
|
633
|
+
#
|
634
|
+
#
|
635
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/limits-guidelines.html#limits
|
636
|
+
# [2]: https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html#limits-amazon-transcribe
|
596
637
|
# @return [String]
|
597
638
|
#
|
598
639
|
# @!attribute [rw] settings
|
@@ -678,7 +719,7 @@ module Aws::TranscribeService
|
|
678
719
|
#
|
679
720
|
# {
|
680
721
|
# vocabulary_name: "VocabularyName", # required
|
681
|
-
# language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR, it-IT
|
722
|
+
# language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR, it-IT, ko-KR
|
682
723
|
# phrases: ["Phrase"], # required
|
683
724
|
# }
|
684
725
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-transcribeservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|