aws-sdk-transcribeservice 1.73.0 → 1.74.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-transcribeservice/client.rb +10 -2
- data/lib/aws-sdk-transcribeservice/client_api.rb +3 -0
- data/lib/aws-sdk-transcribeservice/types.rb +40 -11
- data/lib/aws-sdk-transcribeservice.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4be3ff9d3ef269de9398f8c0f2eb1e3d6c141626f6976a8a162741241eabc1a7
|
4
|
+
data.tar.gz: 4c2ee0e731b225fa6425e5970c73af6599eeaea439e11c0fc7cea1b7dc41e654
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7bdf0119a025d0e85e9fe9ee37784ce0f90d5aa380fab39401f08e2cab2a7c857044dfe2075e80583ffcd660d7de1e511d503c7dbb0bc94942ed45ce139676e3
|
7
|
+
data.tar.gz: 296a74110000b1706836464b274aea384c720104ba00c1e3a21ccd940f91010a56d624a2a7e6bb23cc05824a535803d6a5ba616f3b783b611b05a91cdb39d966
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.74.0 (2022-03-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds an additional parameter for subtitling with Amazon Transcribe batch jobs: outputStartIndex.
|
8
|
+
|
4
9
|
1.73.0 (2022-03-10)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.74.0
|
@@ -1422,6 +1422,7 @@ module Aws::TranscribeService
|
|
1422
1422
|
# resp.transcription_job.subtitles.formats[0] #=> String, one of "vtt", "srt"
|
1423
1423
|
# resp.transcription_job.subtitles.subtitle_file_uris #=> Array
|
1424
1424
|
# resp.transcription_job.subtitles.subtitle_file_uris[0] #=> String
|
1425
|
+
# resp.transcription_job.subtitles.output_start_index #=> Integer
|
1425
1426
|
# resp.transcription_job.language_id_settings #=> Hash
|
1426
1427
|
# resp.transcription_job.language_id_settings["LanguageCode"].vocabulary_name #=> String
|
1427
1428
|
# resp.transcription_job.language_id_settings["LanguageCode"].vocabulary_filter_name #=> String
|
@@ -2472,7 +2473,9 @@ module Aws::TranscribeService
|
|
2472
2473
|
# `ConflictException` error.
|
2473
2474
|
#
|
2474
2475
|
# @option params [String] :language_code
|
2475
|
-
# The language code for the language used in the input media file.
|
2476
|
+
# The language code for the language used in the input media file. You
|
2477
|
+
# must include either `LanguageCode` or `IdentifyLanguage` in your
|
2478
|
+
# request.
|
2476
2479
|
#
|
2477
2480
|
# To transcribe speech in Modern Standard Arabic (ar-SA), your audio or
|
2478
2481
|
# video file must be encoded at a sample rate of 16,000 Hz or higher.
|
@@ -2600,6 +2603,9 @@ module Aws::TranscribeService
|
|
2600
2603
|
# a `BadRequestException` error if you enter a value for a
|
2601
2604
|
# `LanguageCode`.
|
2602
2605
|
#
|
2606
|
+
# You must include either `LanguageCode` or `IdentifyLanguage` in your
|
2607
|
+
# request.
|
2608
|
+
#
|
2603
2609
|
# @option params [Array<String>] :language_options
|
2604
2610
|
# An object containing a list of languages that might be present in your
|
2605
2611
|
# collection of audio files. Automatic language identification chooses a
|
@@ -2666,6 +2672,7 @@ module Aws::TranscribeService
|
|
2666
2672
|
# 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, zh-TW, th-TH, en-ZA, en-NZ
|
2667
2673
|
# subtitles: {
|
2668
2674
|
# formats: ["vtt"], # accepts vtt, srt
|
2675
|
+
# output_start_index: 1,
|
2669
2676
|
# },
|
2670
2677
|
# tags: [
|
2671
2678
|
# {
|
@@ -2723,6 +2730,7 @@ module Aws::TranscribeService
|
|
2723
2730
|
# resp.transcription_job.subtitles.formats[0] #=> String, one of "vtt", "srt"
|
2724
2731
|
# resp.transcription_job.subtitles.subtitle_file_uris #=> Array
|
2725
2732
|
# resp.transcription_job.subtitles.subtitle_file_uris[0] #=> String
|
2733
|
+
# resp.transcription_job.subtitles.output_start_index #=> Integer
|
2726
2734
|
# resp.transcription_job.language_id_settings #=> Hash
|
2727
2735
|
# resp.transcription_job.language_id_settings["LanguageCode"].vocabulary_name #=> String
|
2728
2736
|
# resp.transcription_job.language_id_settings["LanguageCode"].vocabulary_filter_name #=> String
|
@@ -3187,7 +3195,7 @@ module Aws::TranscribeService
|
|
3187
3195
|
params: params,
|
3188
3196
|
config: config)
|
3189
3197
|
context[:gem_name] = 'aws-sdk-transcribeservice'
|
3190
|
-
context[:gem_version] = '1.
|
3198
|
+
context[:gem_version] = '1.74.0'
|
3191
3199
|
Seahorse::Client::Request.new(handlers, context)
|
3192
3200
|
end
|
3193
3201
|
|
@@ -153,6 +153,7 @@ module Aws::TranscribeService
|
|
153
153
|
SubtitleFileUris = Shapes::ListShape.new(name: 'SubtitleFileUris')
|
154
154
|
SubtitleFormat = Shapes::StringShape.new(name: 'SubtitleFormat')
|
155
155
|
SubtitleFormats = Shapes::ListShape.new(name: 'SubtitleFormats')
|
156
|
+
SubtitleOutputStartIndex = Shapes::IntegerShape.new(name: 'SubtitleOutputStartIndex')
|
156
157
|
Subtitles = Shapes::StructureShape.new(name: 'Subtitles')
|
157
158
|
SubtitlesOutput = Shapes::StructureShape.new(name: 'SubtitlesOutput')
|
158
159
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
@@ -713,10 +714,12 @@ module Aws::TranscribeService
|
|
713
714
|
SubtitleFormats.member = Shapes::ShapeRef.new(shape: SubtitleFormat)
|
714
715
|
|
715
716
|
Subtitles.add_member(:formats, Shapes::ShapeRef.new(shape: SubtitleFormats, location_name: "Formats"))
|
717
|
+
Subtitles.add_member(:output_start_index, Shapes::ShapeRef.new(shape: SubtitleOutputStartIndex, location_name: "OutputStartIndex"))
|
716
718
|
Subtitles.struct_class = Types::Subtitles
|
717
719
|
|
718
720
|
SubtitlesOutput.add_member(:formats, Shapes::ShapeRef.new(shape: SubtitleFormats, location_name: "Formats"))
|
719
721
|
SubtitlesOutput.add_member(:subtitle_file_uris, Shapes::ShapeRef.new(shape: SubtitleFileUris, location_name: "SubtitleFileUris"))
|
722
|
+
SubtitlesOutput.add_member(:output_start_index, Shapes::ShapeRef.new(shape: SubtitleOutputStartIndex, location_name: "OutputStartIndex"))
|
720
723
|
SubtitlesOutput.struct_class = Types::SubtitlesOutput
|
721
724
|
|
722
725
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
@@ -115,7 +115,7 @@ module Aws::TranscribeService
|
|
115
115
|
# @return [String]
|
116
116
|
#
|
117
117
|
# @!attribute [rw] media_sample_rate_hertz
|
118
|
-
# The sample rate, in Hertz, of the audio.
|
118
|
+
# The sample rate, in Hertz, of the input audio.
|
119
119
|
# @return [Integer]
|
120
120
|
#
|
121
121
|
# @!attribute [rw] media_format
|
@@ -3589,6 +3589,7 @@ module Aws::TranscribeService
|
|
3589
3589
|
# 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, zh-TW, th-TH, en-ZA, en-NZ
|
3590
3590
|
# subtitles: {
|
3591
3591
|
# formats: ["vtt"], # accepts vtt, srt
|
3592
|
+
# output_start_index: 1,
|
3592
3593
|
# },
|
3593
3594
|
# tags: [
|
3594
3595
|
# {
|
@@ -3614,7 +3615,9 @@ module Aws::TranscribeService
|
|
3614
3615
|
# @return [String]
|
3615
3616
|
#
|
3616
3617
|
# @!attribute [rw] language_code
|
3617
|
-
# The language code for the language used in the input media file.
|
3618
|
+
# The language code for the language used in the input media file. You
|
3619
|
+
# must include either `LanguageCode` or `IdentifyLanguage` in your
|
3620
|
+
# request.
|
3618
3621
|
#
|
3619
3622
|
# To transcribe speech in Modern Standard Arabic (ar-SA), your audio
|
3620
3623
|
# or video file must be encoded at a sample rate of 16,000 Hz or
|
@@ -3759,6 +3762,9 @@ module Aws::TranscribeService
|
|
3759
3762
|
# identification. Automatic language identification is disabled by
|
3760
3763
|
# default. You receive a `BadRequestException` error if you enter a
|
3761
3764
|
# value for a `LanguageCode`.
|
3765
|
+
#
|
3766
|
+
# You must include either `LanguageCode` or `IdentifyLanguage` in your
|
3767
|
+
# request.
|
3762
3768
|
# @return [Boolean]
|
3763
3769
|
#
|
3764
3770
|
# @!attribute [rw] language_options
|
@@ -3812,7 +3818,7 @@ module Aws::TranscribeService
|
|
3812
3818
|
end
|
3813
3819
|
|
3814
3820
|
# @!attribute [rw] transcription_job
|
3815
|
-
#
|
3821
|
+
# Provides information about your asynchronous transcription job.
|
3816
3822
|
# @return [Types::TranscriptionJob]
|
3817
3823
|
#
|
3818
3824
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartTranscriptionJobResponse AWS API Documentation
|
@@ -3823,33 +3829,49 @@ module Aws::TranscribeService
|
|
3823
3829
|
include Aws::Structure
|
3824
3830
|
end
|
3825
3831
|
|
3826
|
-
# Generate subtitles for your batch transcription job.
|
3832
|
+
# Generate subtitles for your batch transcription job. Note that your
|
3833
|
+
# subtitle files are placed in the same location as your transcription
|
3834
|
+
# output.
|
3827
3835
|
#
|
3828
3836
|
# @note When making an API call, you may pass Subtitles
|
3829
3837
|
# data as a hash:
|
3830
3838
|
#
|
3831
3839
|
# {
|
3832
3840
|
# formats: ["vtt"], # accepts vtt, srt
|
3841
|
+
# output_start_index: 1,
|
3833
3842
|
# }
|
3834
3843
|
#
|
3835
3844
|
# @!attribute [rw] formats
|
3836
|
-
# Specify the output format for your subtitle file
|
3845
|
+
# Specify the output format for your subtitle file; if you select both
|
3846
|
+
# `srt` and `vtt` formats, two output files are generated.
|
3837
3847
|
# @return [Array<String>]
|
3838
3848
|
#
|
3849
|
+
# @!attribute [rw] output_start_index
|
3850
|
+
# Defines the starting value that is assigned to the first subtitle
|
3851
|
+
# segment.
|
3852
|
+
#
|
3853
|
+
# The default start index for Amazon Transcribe is `0`, which differs
|
3854
|
+
# from the more widely used standard of `1`. If you're uncertain
|
3855
|
+
# which value to use, we recommend choosing `1`, as this may improve
|
3856
|
+
# compatibility with other services.
|
3857
|
+
# @return [Integer]
|
3858
|
+
#
|
3839
3859
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/Subtitles AWS API Documentation
|
3840
3860
|
#
|
3841
3861
|
class Subtitles < Struct.new(
|
3842
|
-
:formats
|
3862
|
+
:formats,
|
3863
|
+
:output_start_index)
|
3843
3864
|
SENSITIVE = []
|
3844
3865
|
include Aws::Structure
|
3845
3866
|
end
|
3846
3867
|
|
3847
|
-
#
|
3848
|
-
#
|
3868
|
+
# The S3 location where your subtitle files are located. Note that your
|
3869
|
+
# subtitle files are placed in the same location as your transcription
|
3870
|
+
# output. Refer to `TranscriptFileUri` to download your files.
|
3849
3871
|
#
|
3850
3872
|
# @!attribute [rw] formats
|
3851
|
-
#
|
3852
|
-
#
|
3873
|
+
# The format of your subtitle files. If your request specified both
|
3874
|
+
# `srt` and `vtt` formats, both formats are shown.
|
3853
3875
|
# @return [Array<String>]
|
3854
3876
|
#
|
3855
3877
|
# @!attribute [rw] subtitle_file_uris
|
@@ -3857,11 +3879,18 @@ module Aws::TranscribeService
|
|
3857
3879
|
# must be an S3 bucket.
|
3858
3880
|
# @return [Array<String>]
|
3859
3881
|
#
|
3882
|
+
# @!attribute [rw] output_start_index
|
3883
|
+
# Shows the output start index value for your subtitle files. If you
|
3884
|
+
# did not specify a value in your request, the default value of `0` is
|
3885
|
+
# used.
|
3886
|
+
# @return [Integer]
|
3887
|
+
#
|
3860
3888
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/SubtitlesOutput AWS API Documentation
|
3861
3889
|
#
|
3862
3890
|
class SubtitlesOutput < Struct.new(
|
3863
3891
|
:formats,
|
3864
|
-
:subtitle_file_uris
|
3892
|
+
:subtitle_file_uris,
|
3893
|
+
:output_start_index)
|
3865
3894
|
SENSITIVE = []
|
3866
3895
|
include Aws::Structure
|
3867
3896
|
end
|
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.74.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: 2022-03-
|
11
|
+
date: 2022-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|