aws-sdk-transcribeservice 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 403fb45eb51b4b0fa3c3716ff83ad78d05ebf28c
|
4
|
+
data.tar.gz: cc67830830bfc104779026fc41b7e01ffce22a80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e8857ce4519db1057f1c8b49bc48168c32260279032f65191237aea557602a8a8589c2ab6d3c35c47d3f3de6f6fb7c9620016089e2eb1abfee885fb60155380
|
7
|
+
data.tar.gz: bf1fab7d5978b39c6558dee222a6c43abd31e6700e9ff8022ef79c59b2088e104c9cd6dee413927bebabb4cdcd0e34ab0ed5189fe513b811d09859de4108a362
|
@@ -361,6 +361,7 @@ module Aws::TranscribeService
|
|
361
361
|
# resp.transcription_job_summaries[0].language_code #=> String, one of "en-US", "es-US"
|
362
362
|
# resp.transcription_job_summaries[0].transcription_job_status #=> String, one of "IN_PROGRESS", "FAILED", "COMPLETED"
|
363
363
|
# resp.transcription_job_summaries[0].failure_reason #=> String
|
364
|
+
# resp.transcription_job_summaries[0].output_location_type #=> String, one of "CUSTOMER_BUCKET", "SERVICE_BUCKET"
|
364
365
|
#
|
365
366
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListTranscriptionJobs AWS API Documentation
|
366
367
|
#
|
@@ -430,7 +431,8 @@ module Aws::TranscribeService
|
|
430
431
|
# Starts an asynchronous job to transcribe speech to text.
|
431
432
|
#
|
432
433
|
# @option params [required, String] :transcription_job_name
|
433
|
-
# The name of the job.
|
434
|
+
# The name of the job. You can't use the strings "." or ".." in the
|
435
|
+
# job name. The name must be unique within an AWS account.
|
434
436
|
#
|
435
437
|
# @option params [required, String] :language_code
|
436
438
|
# The language code for the language used in the input media file.
|
@@ -444,6 +446,25 @@ module Aws::TranscribeService
|
|
444
446
|
# @option params [required, Types::Media] :media
|
445
447
|
# An object that describes the input media for a transcription job.
|
446
448
|
#
|
449
|
+
# @option params [String] :output_bucket_name
|
450
|
+
# The location where the transcription is stored.
|
451
|
+
#
|
452
|
+
# If you set the `OutputBucketName`, Amazon Transcribe puts the
|
453
|
+
# transcription in the specified S3 bucket. When you call the
|
454
|
+
# GetTranscriptionJob operation, the operation returns this location in
|
455
|
+
# the `TranscriptFileUri` field. The S3 bucket must have permissions
|
456
|
+
# that allow Amazon Transcribe to put files in the bucket. For more
|
457
|
+
# information, see [Permissions Required for IAM User Roles][1].
|
458
|
+
#
|
459
|
+
# If you don't set the `OutputBucketName`, Amazon Transcribe generates
|
460
|
+
# a pre-signed URL, a shareable URL that provides secure access to your
|
461
|
+
# transcription, and returns it in the `TranscriptFileUri` field. Use
|
462
|
+
# this URL to download the transcription.
|
463
|
+
#
|
464
|
+
#
|
465
|
+
#
|
466
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/access-control-managing-permissions.html#auth-role-iam-user
|
467
|
+
#
|
447
468
|
# @option params [Types::Settings] :settings
|
448
469
|
# A `Settings` object that provides optional settings for a
|
449
470
|
# transcription job.
|
@@ -462,6 +483,7 @@ module Aws::TranscribeService
|
|
462
483
|
# media: { # required
|
463
484
|
# media_file_uri: "Uri",
|
464
485
|
# },
|
486
|
+
# output_bucket_name: "OutputBucketName",
|
465
487
|
# settings: {
|
466
488
|
# vocabulary_name: "VocabularyName",
|
467
489
|
# show_speaker_labels: false,
|
@@ -494,7 +516,9 @@ module Aws::TranscribeService
|
|
494
516
|
req.send_request(options)
|
495
517
|
end
|
496
518
|
|
497
|
-
# Updates an existing vocabulary with new values.
|
519
|
+
# Updates an existing vocabulary with new values. The `UpdateVocabulary`
|
520
|
+
# operation overwrites all of the existing information with the values
|
521
|
+
# that you provide in the request.
|
498
522
|
#
|
499
523
|
# @option params [required, String] :vocabulary_name
|
500
524
|
# The name of the vocabulary to update. The name is case-sensitive.
|
@@ -549,7 +573,7 @@ module Aws::TranscribeService
|
|
549
573
|
params: params,
|
550
574
|
config: config)
|
551
575
|
context[:gem_name] = 'aws-sdk-transcribeservice'
|
552
|
-
context[:gem_version] = '1.
|
576
|
+
context[:gem_version] = '1.3.0'
|
553
577
|
Seahorse::Client::Request.new(handlers, context)
|
554
578
|
end
|
555
579
|
|
@@ -37,6 +37,8 @@ module Aws::TranscribeService
|
|
37
37
|
MediaSampleRateHertz = Shapes::IntegerShape.new(name: 'MediaSampleRateHertz')
|
38
38
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
39
39
|
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
40
|
+
OutputBucketName = Shapes::StringShape.new(name: 'OutputBucketName')
|
41
|
+
OutputLocationType = Shapes::StringShape.new(name: 'OutputLocationType')
|
40
42
|
Phrase = Shapes::StringShape.new(name: 'Phrase')
|
41
43
|
Phrases = Shapes::ListShape.new(name: 'Phrases')
|
42
44
|
Settings = Shapes::StructureShape.new(name: 'Settings')
|
@@ -126,6 +128,7 @@ module Aws::TranscribeService
|
|
126
128
|
StartTranscriptionJobRequest.add_member(:media_sample_rate_hertz, Shapes::ShapeRef.new(shape: MediaSampleRateHertz, location_name: "MediaSampleRateHertz"))
|
127
129
|
StartTranscriptionJobRequest.add_member(:media_format, Shapes::ShapeRef.new(shape: MediaFormat, required: true, location_name: "MediaFormat"))
|
128
130
|
StartTranscriptionJobRequest.add_member(:media, Shapes::ShapeRef.new(shape: Media, required: true, location_name: "Media"))
|
131
|
+
StartTranscriptionJobRequest.add_member(:output_bucket_name, Shapes::ShapeRef.new(shape: OutputBucketName, location_name: "OutputBucketName"))
|
129
132
|
StartTranscriptionJobRequest.add_member(:settings, Shapes::ShapeRef.new(shape: Settings, location_name: "Settings"))
|
130
133
|
StartTranscriptionJobRequest.struct_class = Types::StartTranscriptionJobRequest
|
131
134
|
|
@@ -156,6 +159,7 @@ module Aws::TranscribeService
|
|
156
159
|
TranscriptionJobSummary.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
|
157
160
|
TranscriptionJobSummary.add_member(:transcription_job_status, Shapes::ShapeRef.new(shape: TranscriptionJobStatus, location_name: "TranscriptionJobStatus"))
|
158
161
|
TranscriptionJobSummary.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
|
162
|
+
TranscriptionJobSummary.add_member(:output_location_type, Shapes::ShapeRef.new(shape: OutputLocationType, location_name: "OutputLocationType"))
|
159
163
|
TranscriptionJobSummary.struct_class = Types::TranscriptionJobSummary
|
160
164
|
|
161
165
|
UpdateVocabularyRequest.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, required: true, location_name: "VocabularyName"))
|
@@ -213,6 +217,7 @@ module Aws::TranscribeService
|
|
213
217
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
214
218
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
215
219
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
220
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
216
221
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
217
222
|
end)
|
218
223
|
|
@@ -296,6 +301,7 @@ module Aws::TranscribeService
|
|
296
301
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
297
302
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
298
303
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
304
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
299
305
|
end)
|
300
306
|
end
|
301
307
|
|
@@ -406,6 +406,7 @@ module Aws::TranscribeService
|
|
406
406
|
# media: { # required
|
407
407
|
# media_file_uri: "Uri",
|
408
408
|
# },
|
409
|
+
# output_bucket_name: "OutputBucketName",
|
409
410
|
# settings: {
|
410
411
|
# vocabulary_name: "VocabularyName",
|
411
412
|
# show_speaker_labels: false,
|
@@ -414,7 +415,8 @@ module Aws::TranscribeService
|
|
414
415
|
# }
|
415
416
|
#
|
416
417
|
# @!attribute [rw] transcription_job_name
|
417
|
-
# The name of the job.
|
418
|
+
# The name of the job. You can't use the strings "." or ".." in
|
419
|
+
# the job name. The name must be unique within an AWS account.
|
418
420
|
# @return [String]
|
419
421
|
#
|
420
422
|
# @!attribute [rw] language_code
|
@@ -434,6 +436,28 @@ module Aws::TranscribeService
|
|
434
436
|
# An object that describes the input media for a transcription job.
|
435
437
|
# @return [Types::Media]
|
436
438
|
#
|
439
|
+
# @!attribute [rw] output_bucket_name
|
440
|
+
# The location where the transcription is stored.
|
441
|
+
#
|
442
|
+
# If you set the `OutputBucketName`, Amazon Transcribe puts the
|
443
|
+
# transcription in the specified S3 bucket. When you call the
|
444
|
+
# GetTranscriptionJob operation, the operation returns this location
|
445
|
+
# in the `TranscriptFileUri` field. The S3 bucket must have
|
446
|
+
# permissions that allow Amazon Transcribe to put files in the bucket.
|
447
|
+
# For more information, see [Permissions Required for IAM User
|
448
|
+
# Roles][1].
|
449
|
+
#
|
450
|
+
# If you don't set the `OutputBucketName`, Amazon Transcribe
|
451
|
+
# generates a pre-signed URL, a shareable URL that provides secure
|
452
|
+
# access to your transcription, and returns it in the
|
453
|
+
# `TranscriptFileUri` field. Use this URL to download the
|
454
|
+
# transcription.
|
455
|
+
#
|
456
|
+
#
|
457
|
+
#
|
458
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/access-control-managing-permissions.html#auth-role-iam-user
|
459
|
+
# @return [String]
|
460
|
+
#
|
437
461
|
# @!attribute [rw] settings
|
438
462
|
# A `Settings` object that provides optional settings for a
|
439
463
|
# transcription job.
|
@@ -447,6 +471,7 @@ module Aws::TranscribeService
|
|
447
471
|
:media_sample_rate_hertz,
|
448
472
|
:media_format,
|
449
473
|
:media,
|
474
|
+
:output_bucket_name,
|
450
475
|
:settings)
|
451
476
|
include Aws::Structure
|
452
477
|
end
|
@@ -462,11 +487,16 @@ module Aws::TranscribeService
|
|
462
487
|
include Aws::Structure
|
463
488
|
end
|
464
489
|
|
465
|
-
#
|
490
|
+
# Identifies the location of a transcription.
|
466
491
|
#
|
467
492
|
# @!attribute [rw] transcript_file_uri
|
468
|
-
# The
|
469
|
-
#
|
493
|
+
# The location where the transcription is stored.
|
494
|
+
#
|
495
|
+
# Use this URI to access the transcription. If you specified an S3
|
496
|
+
# bucket in the `OutputBucketName` field when you created the job,
|
497
|
+
# this is the URI of that bucket. If you chose to store the
|
498
|
+
# transcription in Amazon Transcribe, this is a shareable URL that
|
499
|
+
# provides secure access to that location.
|
470
500
|
# @return [String]
|
471
501
|
#
|
472
502
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/Transcript AWS API Documentation
|
@@ -480,7 +510,7 @@ module Aws::TranscribeService
|
|
480
510
|
# `StartTranscriptionJob` operation.
|
481
511
|
#
|
482
512
|
# @!attribute [rw] transcription_job_name
|
483
|
-
#
|
513
|
+
# The name of the transcription job.
|
484
514
|
# @return [String]
|
485
515
|
#
|
486
516
|
# @!attribute [rw] transcription_job_status
|
@@ -501,7 +531,7 @@ module Aws::TranscribeService
|
|
501
531
|
# @return [String]
|
502
532
|
#
|
503
533
|
# @!attribute [rw] media
|
504
|
-
# An object that describes the input media for
|
534
|
+
# An object that describes the input media for the transcription job.
|
505
535
|
# @return [Types::Media]
|
506
536
|
#
|
507
537
|
# @!attribute [rw] transcript
|
@@ -509,11 +539,11 @@ module Aws::TranscribeService
|
|
509
539
|
# @return [Types::Transcript]
|
510
540
|
#
|
511
541
|
# @!attribute [rw] creation_time
|
512
|
-
#
|
542
|
+
# A timestamp that shows when the job was created.
|
513
543
|
# @return [Time]
|
514
544
|
#
|
515
545
|
# @!attribute [rw] completion_time
|
516
|
-
#
|
546
|
+
# A timestamp that shows when the job was completed.
|
517
547
|
# @return [Time]
|
518
548
|
#
|
519
549
|
# @!attribute [rw] failure_reason
|
@@ -522,7 +552,10 @@ module Aws::TranscribeService
|
|
522
552
|
# @return [String]
|
523
553
|
#
|
524
554
|
# @!attribute [rw] settings
|
525
|
-
# Optional settings for the transcription job.
|
555
|
+
# Optional settings for the transcription job. Use these settings to
|
556
|
+
# turn on speaker recognition, to set the maximum number of speakers
|
557
|
+
# that should be identified and to specify a custom vocabulary to use
|
558
|
+
# when processing the transcription job.
|
526
559
|
# @return [Types::Settings]
|
527
560
|
#
|
528
561
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/TranscriptionJob AWS API Documentation
|
@@ -545,15 +578,15 @@ module Aws::TranscribeService
|
|
545
578
|
# Provides a summary of information about a transcription job.
|
546
579
|
#
|
547
580
|
# @!attribute [rw] transcription_job_name
|
548
|
-
# The name
|
581
|
+
# The name of the transcription job.
|
549
582
|
# @return [String]
|
550
583
|
#
|
551
584
|
# @!attribute [rw] creation_time
|
552
|
-
#
|
585
|
+
# A timestamp that shows when the job was created.
|
553
586
|
# @return [Time]
|
554
587
|
#
|
555
588
|
# @!attribute [rw] completion_time
|
556
|
-
#
|
589
|
+
# A timestamp that shows when the job was completed.
|
557
590
|
# @return [Time]
|
558
591
|
#
|
559
592
|
# @!attribute [rw] language_code
|
@@ -567,8 +600,20 @@ module Aws::TranscribeService
|
|
567
600
|
# @return [String]
|
568
601
|
#
|
569
602
|
# @!attribute [rw] failure_reason
|
570
|
-
# If the `TranscriptionJobStatus` field is `FAILED`,
|
571
|
-
#
|
603
|
+
# If the `TranscriptionJobStatus` field is `FAILED`, a description of
|
604
|
+
# the error.
|
605
|
+
# @return [String]
|
606
|
+
#
|
607
|
+
# @!attribute [rw] output_location_type
|
608
|
+
# Indicates the location of the output of the transcription job.
|
609
|
+
#
|
610
|
+
# If the value is `CUSTOMER_BUCKET` then the location is the S3 bucket
|
611
|
+
# specified in the `outputBucketName` field when the transcription job
|
612
|
+
# was started with the `StartTranscriptionJob` operation.
|
613
|
+
#
|
614
|
+
# If the value is `SERVICE_BUCKET` then the output is stored by Amazon
|
615
|
+
# Transcribe and can be retrieved using the URI in the
|
616
|
+
# `GetTranscriptionJob` response's `TranscriptFileUri` field.
|
572
617
|
# @return [String]
|
573
618
|
#
|
574
619
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/TranscriptionJobSummary AWS API Documentation
|
@@ -579,7 +624,8 @@ module Aws::TranscribeService
|
|
579
624
|
:completion_time,
|
580
625
|
:language_code,
|
581
626
|
:transcription_job_status,
|
582
|
-
:failure_reason
|
627
|
+
:failure_reason,
|
628
|
+
:output_location_type)
|
583
629
|
include Aws::Structure
|
584
630
|
end
|
585
631
|
|
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.3.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-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|