aws-sdk-transcribeservice 1.12.0 → 1.13.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 +18 -27
- data/lib/aws-sdk-transcribeservice/types.rb +10 -15
- 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: 9a9383d957c6ed7c263b687e484636c0fac371f7
|
4
|
+
data.tar.gz: f57f8195fc66eda2d181abc2e98ba1fc230e9878
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 165bfedf4bb00a982ff079614e097d98bf0098a61bd64789b9bb1a3e6253e8a155ded81b94db5a88989e2973640a3fbfbf5c8d26cb33e9c12c4941144e4707f2
|
7
|
+
data.tar.gz: 2d8e3d1a4c3d750907359bd98cec1e4f9ddfd025db4333d473a57a841c8ca387bed282d79d3dc5251271825ab202e18f428b2ba5db8951c248fd436ab221e134
|
@@ -216,10 +216,7 @@ module Aws::TranscribeService
|
|
216
216
|
# @!group API Operations
|
217
217
|
|
218
218
|
# Creates a new custom vocabulary that you can use to change the way
|
219
|
-
# Amazon Transcribe handles transcription of an audio file.
|
220
|
-
# vocabularies for en-AU, en-UK, and fr-CA languages that are in preview
|
221
|
-
# are not available. In the console, the vocabulary section will be
|
222
|
-
# greyed-out and SDK will return error message.
|
219
|
+
# Amazon Transcribe handles transcription of an audio file.
|
223
220
|
#
|
224
221
|
# @option params [required, String] :vocabulary_name
|
225
222
|
# The name of the vocabulary. The name must be unique within an AWS
|
@@ -243,14 +240,14 @@ module Aws::TranscribeService
|
|
243
240
|
#
|
244
241
|
# resp = client.create_vocabulary({
|
245
242
|
# vocabulary_name: "VocabularyName", # required
|
246
|
-
# language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR
|
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
|
247
244
|
# phrases: ["Phrase"], # required
|
248
245
|
# })
|
249
246
|
#
|
250
247
|
# @example Response structure
|
251
248
|
#
|
252
249
|
# resp.vocabulary_name #=> String
|
253
|
-
# resp.language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR"
|
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"
|
254
251
|
# resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
|
255
252
|
# resp.last_modified_time #=> Time
|
256
253
|
# resp.failure_reason #=> String
|
@@ -331,7 +328,7 @@ module Aws::TranscribeService
|
|
331
328
|
#
|
332
329
|
# resp.transcription_job.transcription_job_name #=> String
|
333
330
|
# resp.transcription_job.transcription_job_status #=> String, one of "IN_PROGRESS", "FAILED", "COMPLETED"
|
334
|
-
# resp.transcription_job.language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR"
|
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"
|
335
332
|
# resp.transcription_job.media_sample_rate_hertz #=> Integer
|
336
333
|
# resp.transcription_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac"
|
337
334
|
# resp.transcription_job.media.media_file_uri #=> String
|
@@ -353,10 +350,7 @@ module Aws::TranscribeService
|
|
353
350
|
req.send_request(options)
|
354
351
|
end
|
355
352
|
|
356
|
-
# Gets information about a vocabulary.
|
357
|
-
# en-UK, and fr-CA languages that are in preview are not available. In
|
358
|
-
# the console, the vocabulary section will be greyed-out and SDK will
|
359
|
-
# return error message.
|
353
|
+
# Gets information about a vocabulary.
|
360
354
|
#
|
361
355
|
# @option params [required, String] :vocabulary_name
|
362
356
|
# The name of the vocabulary to return information about. The name is
|
@@ -380,7 +374,7 @@ module Aws::TranscribeService
|
|
380
374
|
# @example Response structure
|
381
375
|
#
|
382
376
|
# resp.vocabulary_name #=> String
|
383
|
-
# resp.language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR"
|
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"
|
384
378
|
# resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
|
385
379
|
# resp.last_modified_time #=> Time
|
386
380
|
# resp.failure_reason #=> String
|
@@ -399,7 +393,9 @@ module Aws::TranscribeService
|
|
399
393
|
#
|
400
394
|
# @option params [String] :status
|
401
395
|
# When specified, returns only transcription jobs with the specified
|
402
|
-
# status.
|
396
|
+
# status. Jobs are ordered by creation date, with the newest jobs
|
397
|
+
# returned first. If you don’t specify a status, Amazon Transcribe
|
398
|
+
# returns all transcription jobs ordered by creation date.
|
403
399
|
#
|
404
400
|
# @option params [String] :job_name_contains
|
405
401
|
# When specified, the jobs returned in the list are limited to jobs
|
@@ -437,7 +433,7 @@ module Aws::TranscribeService
|
|
437
433
|
# resp.transcription_job_summaries[0].transcription_job_name #=> String
|
438
434
|
# resp.transcription_job_summaries[0].creation_time #=> Time
|
439
435
|
# resp.transcription_job_summaries[0].completion_time #=> Time
|
440
|
-
# 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"
|
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"
|
441
437
|
# resp.transcription_job_summaries[0].transcription_job_status #=> String, one of "IN_PROGRESS", "FAILED", "COMPLETED"
|
442
438
|
# resp.transcription_job_summaries[0].failure_reason #=> String
|
443
439
|
# resp.transcription_job_summaries[0].output_location_type #=> String, one of "CUSTOMER_BUCKET", "SERVICE_BUCKET"
|
@@ -494,7 +490,7 @@ module Aws::TranscribeService
|
|
494
490
|
# resp.next_token #=> String
|
495
491
|
# resp.vocabularies #=> Array
|
496
492
|
# resp.vocabularies[0].vocabulary_name #=> String
|
497
|
-
# resp.vocabularies[0].language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR"
|
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"
|
498
494
|
# resp.vocabularies[0].last_modified_time #=> Time
|
499
495
|
# resp.vocabularies[0].vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
|
500
496
|
#
|
@@ -507,9 +503,7 @@ module Aws::TranscribeService
|
|
507
503
|
req.send_request(options)
|
508
504
|
end
|
509
505
|
|
510
|
-
# Starts an asynchronous job to transcribe speech to text.
|
511
|
-
# en-AU, en-UK, and fr-CA languages are in preview and are only
|
512
|
-
# available to whitelisted customers.
|
506
|
+
# Starts an asynchronous job to transcribe speech to text.
|
513
507
|
#
|
514
508
|
# @option params [required, String] :transcription_job_name
|
515
509
|
# The name of the job. Note that you can't use the strings "." or
|
@@ -559,7 +553,7 @@ module Aws::TranscribeService
|
|
559
553
|
#
|
560
554
|
# resp = client.start_transcription_job({
|
561
555
|
# transcription_job_name: "TranscriptionJobName", # required
|
562
|
-
# language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR
|
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
|
563
557
|
# media_sample_rate_hertz: 1,
|
564
558
|
# media_format: "mp3", # required, accepts mp3, mp4, wav, flac
|
565
559
|
# media: { # required
|
@@ -578,7 +572,7 @@ module Aws::TranscribeService
|
|
578
572
|
#
|
579
573
|
# resp.transcription_job.transcription_job_name #=> String
|
580
574
|
# resp.transcription_job.transcription_job_status #=> String, one of "IN_PROGRESS", "FAILED", "COMPLETED"
|
581
|
-
# resp.transcription_job.language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR"
|
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"
|
582
576
|
# resp.transcription_job.media_sample_rate_hertz #=> Integer
|
583
577
|
# resp.transcription_job.media_format #=> String, one of "mp3", "mp4", "wav", "flac"
|
584
578
|
# resp.transcription_job.media.media_file_uri #=> String
|
@@ -602,10 +596,7 @@ module Aws::TranscribeService
|
|
602
596
|
|
603
597
|
# Updates an existing vocabulary with new values. The `UpdateVocabulary`
|
604
598
|
# operation overwrites all of the existing information with the values
|
605
|
-
# that you provide in the request.
|
606
|
-
# en-UK, and fr-CA languages that are in preview are not available. In
|
607
|
-
# the console, the vocabulary section will be greyed-out and SDK will
|
608
|
-
# return error message.
|
599
|
+
# that you provide in the request.
|
609
600
|
#
|
610
601
|
# @option params [required, String] :vocabulary_name
|
611
602
|
# The name of the vocabulary to update. The name is case-sensitive.
|
@@ -627,14 +618,14 @@ module Aws::TranscribeService
|
|
627
618
|
#
|
628
619
|
# resp = client.update_vocabulary({
|
629
620
|
# vocabulary_name: "VocabularyName", # required
|
630
|
-
# language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR
|
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
|
631
622
|
# phrases: ["Phrase"], # required
|
632
623
|
# })
|
633
624
|
#
|
634
625
|
# @example Response structure
|
635
626
|
#
|
636
627
|
# resp.vocabulary_name #=> String
|
637
|
-
# resp.language_code #=> String, one of "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR"
|
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"
|
638
629
|
# resp.last_modified_time #=> Time
|
639
630
|
# resp.vocabulary_state #=> String, one of "PENDING", "READY", "FAILED"
|
640
631
|
#
|
@@ -660,7 +651,7 @@ module Aws::TranscribeService
|
|
660
651
|
params: params,
|
661
652
|
config: config)
|
662
653
|
context[:gem_name] = 'aws-sdk-transcribeservice'
|
663
|
-
context[:gem_version] = '1.
|
654
|
+
context[:gem_version] = '1.13.0'
|
664
655
|
Seahorse::Client::Request.new(handlers, context)
|
665
656
|
end
|
666
657
|
|
@@ -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
|
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
|
17
17
|
# phrases: ["Phrase"], # required
|
18
18
|
# }
|
19
19
|
#
|
@@ -208,7 +208,9 @@ module Aws::TranscribeService
|
|
208
208
|
#
|
209
209
|
# @!attribute [rw] status
|
210
210
|
# When specified, returns only transcription jobs with the specified
|
211
|
-
# status.
|
211
|
+
# status. Jobs are ordered by creation date, with the newest jobs
|
212
|
+
# returned first. If you don’t specify a status, Amazon Transcribe
|
213
|
+
# returns all transcription jobs ordered by creation date.
|
212
214
|
# @return [String]
|
213
215
|
#
|
214
216
|
# @!attribute [rw] job_name_contains
|
@@ -349,7 +351,7 @@ module Aws::TranscribeService
|
|
349
351
|
# is:
|
350
352
|
#
|
351
353
|
# `
|
352
|
-
# https
|
354
|
+
# https://s3-<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
|
353
355
|
# `
|
354
356
|
#
|
355
357
|
# For example:
|
@@ -440,7 +442,7 @@ module Aws::TranscribeService
|
|
440
442
|
#
|
441
443
|
# {
|
442
444
|
# transcription_job_name: "TranscriptionJobName", # required
|
443
|
-
# language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR
|
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
|
444
446
|
# media_sample_rate_hertz: 1,
|
445
447
|
# media_format: "mp3", # required, accepts mp3, mp4, wav, flac
|
446
448
|
# media: { # required
|
@@ -549,9 +551,7 @@ module Aws::TranscribeService
|
|
549
551
|
end
|
550
552
|
|
551
553
|
# Describes an asynchronous transcription job that was created with the
|
552
|
-
# `StartTranscriptionJob` operation.
|
553
|
-
# languages are in preview and are only available to whitelisted
|
554
|
-
# customers.
|
554
|
+
# `StartTranscriptionJob` operation.
|
555
555
|
#
|
556
556
|
# @!attribute [rw] transcription_job_name
|
557
557
|
# The name of the transcription job.
|
@@ -619,9 +619,7 @@ module Aws::TranscribeService
|
|
619
619
|
include Aws::Structure
|
620
620
|
end
|
621
621
|
|
622
|
-
# Provides a summary of information about a transcription job.
|
623
|
-
# en-AU, en-UK, and fr-CA languages are in preview and are only
|
624
|
-
# available to whitelisted customers.
|
622
|
+
# Provides a summary of information about a transcription job. .
|
625
623
|
#
|
626
624
|
# @!attribute [rw] transcription_job_name
|
627
625
|
# The name of the transcription job.
|
@@ -680,7 +678,7 @@ module Aws::TranscribeService
|
|
680
678
|
#
|
681
679
|
# {
|
682
680
|
# vocabulary_name: "VocabularyName", # required
|
683
|
-
# language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR
|
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
|
684
682
|
# phrases: ["Phrase"], # required
|
685
683
|
# }
|
686
684
|
#
|
@@ -733,10 +731,7 @@ module Aws::TranscribeService
|
|
733
731
|
include Aws::Structure
|
734
732
|
end
|
735
733
|
|
736
|
-
# Provides information about a custom vocabulary.
|
737
|
-
# for en-AU, en-UK, and fr-CA languages that are in preview are not
|
738
|
-
# available. In the console, the vocabulary section will be greyed-out
|
739
|
-
# and SDK will return error message.
|
734
|
+
# Provides information about a custom vocabulary.
|
740
735
|
#
|
741
736
|
# @!attribute [rw] vocabulary_name
|
742
737
|
# The name of the vocabulary.
|
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.13.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: 2018-
|
11
|
+
date: 2018-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|