aws-sdk-transcribeservice 1.62.0 → 1.63.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
  SHA256:
3
- metadata.gz: a4200e9642a997b0adcd3323fbc70660de72fabb0175adf709a178404bb03a2a
4
- data.tar.gz: 6927cb368b973628a21f7bd82d9666ff3690063560b84ceda0ac0072ca1ba129
3
+ metadata.gz: e6f8e3c37fcef0263f9b812f4df34321cda2b5c1dc1a6e185f349d2e370b0bb5
4
+ data.tar.gz: a94fcbf91b10e810f3e0c4d574f987630f76e26f1ac7946f50977535b0f0a047
5
5
  SHA512:
6
- metadata.gz: 05d588a06a55946c205fe3d6abb788dda1eb923b2721a95eddba02140ac71a4ece51504a7f71184e1dbb55b4e8153baafd4f00ca22604cb3fc0165fe7cfac4f3
7
- data.tar.gz: ba80c14131c903485e4b67095271a9074ac959845f2fb34ef7a7602e5e3373e7ceff7ede121f29dcd9c817507f76132251b7b14f7b33a498abc3e12d854c5418
6
+ metadata.gz: b0053c106302e4a5fc5d6ed0bcd7914fd27fa800c6d5f0a1d431f0398c63ec60cf064eebf06f867c9c09879f2846e294832b37ec6fcd9e5001d9e0dee98d0c5a
7
+ data.tar.gz: e98bf465e7e96423590afe3b02f433906c9ccde72dafd5d834b4a0ef0a9efd994712d5a6f9552e5935e122adae8f74c6cf4396e926ba682e37a51e6ef4f8e85d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.63.0 (2021-09-16)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for subtitling with Amazon Transcribe batch jobs.
8
+
4
9
  1.62.0 (2021-09-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.62.0
1
+ 1.63.0
@@ -1329,6 +1329,10 @@ module Aws::TranscribeService
1329
1329
  # resp.transcription_job.tags #=> Array
1330
1330
  # resp.transcription_job.tags[0].key #=> String
1331
1331
  # resp.transcription_job.tags[0].value #=> String
1332
+ # resp.transcription_job.subtitles.formats #=> Array
1333
+ # resp.transcription_job.subtitles.formats[0] #=> String, one of "vtt", "srt"
1334
+ # resp.transcription_job.subtitles.subtitle_file_uris #=> Array
1335
+ # resp.transcription_job.subtitles.subtitle_file_uris[0] #=> String
1332
1336
  #
1333
1337
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetTranscriptionJob AWS API Documentation
1334
1338
  #
@@ -2488,6 +2492,9 @@ module Aws::TranscribeService
2488
2492
  # To transcribe speech in Modern Standard Arabic (ar-SA), your audio or
2489
2493
  # video file must be encoded at a sample rate of 16,000 Hz or higher.
2490
2494
  #
2495
+ # @option params [Types::Subtitles] :subtitles
2496
+ # Add subtitles to your batch transcription job.
2497
+ #
2491
2498
  # @option params [Array<Types::Tag>] :tags
2492
2499
  # Add tags to an Amazon Transcribe transcription job.
2493
2500
  #
@@ -2535,6 +2542,9 @@ module Aws::TranscribeService
2535
2542
  # },
2536
2543
  # identify_language: false,
2537
2544
  # 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
2545
+ # subtitles: {
2546
+ # formats: ["vtt"], # accepts vtt, srt
2547
+ # },
2538
2548
  # tags: [
2539
2549
  # {
2540
2550
  # key: "TagKey", # required
@@ -2578,6 +2588,10 @@ module Aws::TranscribeService
2578
2588
  # resp.transcription_job.tags #=> Array
2579
2589
  # resp.transcription_job.tags[0].key #=> String
2580
2590
  # resp.transcription_job.tags[0].value #=> String
2591
+ # resp.transcription_job.subtitles.formats #=> Array
2592
+ # resp.transcription_job.subtitles.formats[0] #=> String, one of "vtt", "srt"
2593
+ # resp.transcription_job.subtitles.subtitle_file_uris #=> Array
2594
+ # resp.transcription_job.subtitles.subtitle_file_uris[0] #=> String
2581
2595
  #
2582
2596
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartTranscriptionJob AWS API Documentation
2583
2597
  #
@@ -3020,7 +3034,7 @@ module Aws::TranscribeService
3020
3034
  params: params,
3021
3035
  config: config)
3022
3036
  context[:gem_name] = 'aws-sdk-transcribeservice'
3023
- context[:gem_version] = '1.62.0'
3037
+ context[:gem_version] = '1.63.0'
3024
3038
  Seahorse::Client::Request.new(handlers, context)
3025
3039
  end
3026
3040
 
@@ -145,6 +145,11 @@ module Aws::TranscribeService
145
145
  StartTranscriptionJobResponse = Shapes::StructureShape.new(name: 'StartTranscriptionJobResponse')
146
146
  String = Shapes::StringShape.new(name: 'String')
147
147
  StringTargetList = Shapes::ListShape.new(name: 'StringTargetList')
148
+ SubtitleFileUris = Shapes::ListShape.new(name: 'SubtitleFileUris')
149
+ SubtitleFormat = Shapes::StringShape.new(name: 'SubtitleFormat')
150
+ SubtitleFormats = Shapes::ListShape.new(name: 'SubtitleFormats')
151
+ Subtitles = Shapes::StructureShape.new(name: 'Subtitles')
152
+ SubtitlesOutput = Shapes::StructureShape.new(name: 'SubtitlesOutput')
148
153
  Tag = Shapes::StructureShape.new(name: 'Tag')
149
154
  TagKey = Shapes::StringShape.new(name: 'TagKey')
150
155
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
@@ -676,6 +681,7 @@ module Aws::TranscribeService
676
681
  StartTranscriptionJobRequest.add_member(:content_redaction, Shapes::ShapeRef.new(shape: ContentRedaction, location_name: "ContentRedaction"))
677
682
  StartTranscriptionJobRequest.add_member(:identify_language, Shapes::ShapeRef.new(shape: Boolean, location_name: "IdentifyLanguage"))
678
683
  StartTranscriptionJobRequest.add_member(:language_options, Shapes::ShapeRef.new(shape: LanguageOptions, location_name: "LanguageOptions"))
684
+ StartTranscriptionJobRequest.add_member(:subtitles, Shapes::ShapeRef.new(shape: Subtitles, location_name: "Subtitles"))
679
685
  StartTranscriptionJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
680
686
  StartTranscriptionJobRequest.struct_class = Types::StartTranscriptionJobRequest
681
687
 
@@ -684,6 +690,17 @@ module Aws::TranscribeService
684
690
 
685
691
  StringTargetList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
686
692
 
693
+ SubtitleFileUris.member = Shapes::ShapeRef.new(shape: Uri)
694
+
695
+ SubtitleFormats.member = Shapes::ShapeRef.new(shape: SubtitleFormat)
696
+
697
+ Subtitles.add_member(:formats, Shapes::ShapeRef.new(shape: SubtitleFormats, location_name: "Formats"))
698
+ Subtitles.struct_class = Types::Subtitles
699
+
700
+ SubtitlesOutput.add_member(:formats, Shapes::ShapeRef.new(shape: SubtitleFormats, location_name: "Formats"))
701
+ SubtitlesOutput.add_member(:subtitle_file_uris, Shapes::ShapeRef.new(shape: SubtitleFileUris, location_name: "SubtitleFileUris"))
702
+ SubtitlesOutput.struct_class = Types::SubtitlesOutput
703
+
687
704
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
688
705
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
689
706
  Tag.struct_class = Types::Tag
@@ -729,6 +746,7 @@ module Aws::TranscribeService
729
746
  TranscriptionJob.add_member(:language_options, Shapes::ShapeRef.new(shape: LanguageOptions, location_name: "LanguageOptions"))
730
747
  TranscriptionJob.add_member(:identified_language_score, Shapes::ShapeRef.new(shape: IdentifiedLanguageScore, location_name: "IdentifiedLanguageScore"))
731
748
  TranscriptionJob.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
749
+ TranscriptionJob.add_member(:subtitles, Shapes::ShapeRef.new(shape: SubtitlesOutput, location_name: "Subtitles"))
732
750
  TranscriptionJob.struct_class = Types::TranscriptionJob
733
751
 
734
752
  TranscriptionJobSummaries.member = Shapes::ShapeRef.new(shape: TranscriptionJobSummary)
@@ -3462,6 +3462,9 @@ module Aws::TranscribeService
3462
3462
  # },
3463
3463
  # identify_language: false,
3464
3464
  # 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
3465
+ # subtitles: {
3466
+ # formats: ["vtt"], # accepts vtt, srt
3467
+ # },
3465
3468
  # tags: [
3466
3469
  # {
3467
3470
  # key: "TagKey", # required
@@ -3637,6 +3640,10 @@ module Aws::TranscribeService
3637
3640
  # higher.
3638
3641
  # @return [Array<String>]
3639
3642
  #
3643
+ # @!attribute [rw] subtitles
3644
+ # Add subtitles to your batch transcription job.
3645
+ # @return [Types::Subtitles]
3646
+ #
3640
3647
  # @!attribute [rw] tags
3641
3648
  # Add tags to an Amazon Transcribe transcription job.
3642
3649
  # @return [Array<Types::Tag>]
@@ -3659,6 +3666,7 @@ module Aws::TranscribeService
3659
3666
  :content_redaction,
3660
3667
  :identify_language,
3661
3668
  :language_options,
3669
+ :subtitles,
3662
3670
  :tags)
3663
3671
  SENSITIVE = []
3664
3672
  include Aws::Structure
@@ -3676,6 +3684,48 @@ module Aws::TranscribeService
3676
3684
  include Aws::Structure
3677
3685
  end
3678
3686
 
3687
+ # Generate subtitles for your batch transcription job.
3688
+ #
3689
+ # @note When making an API call, you may pass Subtitles
3690
+ # data as a hash:
3691
+ #
3692
+ # {
3693
+ # formats: ["vtt"], # accepts vtt, srt
3694
+ # }
3695
+ #
3696
+ # @!attribute [rw] formats
3697
+ # Specify the output format for your subtitle file.
3698
+ # @return [Array<String>]
3699
+ #
3700
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/Subtitles AWS API Documentation
3701
+ #
3702
+ class Subtitles < Struct.new(
3703
+ :formats)
3704
+ SENSITIVE = []
3705
+ include Aws::Structure
3706
+ end
3707
+
3708
+ # Specify the output format for your subtitle file.
3709
+ #
3710
+ # @!attribute [rw] formats
3711
+ # Specify the output format for your subtitle file; if you select both
3712
+ # SRT and VTT formats, two output files are genereated.
3713
+ # @return [Array<String>]
3714
+ #
3715
+ # @!attribute [rw] subtitle_file_uris
3716
+ # Choose the output location for your subtitle file. This location
3717
+ # must be an S3 bucket.
3718
+ # @return [Array<String>]
3719
+ #
3720
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/SubtitlesOutput AWS API Documentation
3721
+ #
3722
+ class SubtitlesOutput < Struct.new(
3723
+ :formats,
3724
+ :subtitle_file_uris)
3725
+ SENSITIVE = []
3726
+ include Aws::Structure
3727
+ end
3728
+
3679
3729
  # A key:value pair that adds metadata to a resource used by Amazon
3680
3730
  # Transcribe. For example, a tag with the key:value pair
3681
3731
  # ‘Department’:’Sales’ might be added to a resource to indicate its use
@@ -3976,6 +4026,10 @@ module Aws::TranscribeService
3976
4026
  # A key:value pair assigned to a given transcription job.
3977
4027
  # @return [Array<Types::Tag>]
3978
4028
  #
4029
+ # @!attribute [rw] subtitles
4030
+ # Generate subtitles for your batch transcription job.
4031
+ # @return [Types::SubtitlesOutput]
4032
+ #
3979
4033
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/TranscriptionJob AWS API Documentation
3980
4034
  #
3981
4035
  class TranscriptionJob < Struct.new(
@@ -3997,7 +4051,8 @@ module Aws::TranscribeService
3997
4051
  :identify_language,
3998
4052
  :language_options,
3999
4053
  :identified_language_score,
4000
- :tags)
4054
+ :tags,
4055
+ :subtitles)
4001
4056
  SENSITIVE = []
4002
4057
  include Aws::Structure
4003
4058
  end
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-transcribeservice/customizations'
48
48
  # @!group service
49
49
  module Aws::TranscribeService
50
50
 
51
- GEM_VERSION = '1.62.0'
51
+ GEM_VERSION = '1.63.0'
52
52
 
53
53
  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.62.0
4
+ version: 1.63.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: 2021-09-10 00:00:00.000000000 Z
11
+ date: 2021-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core