aws-sdk-transcribeservice 1.60.0 → 1.64.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-transcribeservice/client.rb +29 -1
- data/lib/aws-sdk-transcribeservice/client_api.rb +24 -0
- data/lib/aws-sdk-transcribeservice/types.rb +78 -1
- data/lib/aws-sdk-transcribeservice.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b27880a80be709a367937825b64f53dbf13aacde941327ed6d2c3934a1d0da8c
|
4
|
+
data.tar.gz: 94e4f9e91191ee275a45be6554e74b2f7d5eeb6f728152647c1fb7d0f4a3f235
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a774d0214746f2266aa55e0b67599cf329fa751db1dc7aea685c95f04d95f2161ea41f12b1bfac04ead33211360c5e20b3e29e523aa504d987aa3c4cc269bca
|
7
|
+
data.tar.gz: a6c255ff7dcf194f31b5d96aeca6627dc0f629c012e366dd993f228a4f14e5cd2d2de1f48fde941b99110b89212b179e30b22d7097460812be19cf4c26d4f0a2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.64.0 (2021-10-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.63.0 (2021-09-16)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support for subtitling with Amazon Transcribe batch jobs.
|
13
|
+
|
14
|
+
1.62.0 (2021-09-10)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This release adds an API option for startTranscriptionJob and startMedicalTranscriptionJob that allows the user to specify encryption context key value pairs for batch jobs.
|
18
|
+
|
19
|
+
1.61.0 (2021-09-01)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.60.0 (2021-08-26)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.64.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
|
#
|
@@ -2241,6 +2245,10 @@ module Aws::TranscribeService
|
|
2241
2245
|
# If you specify a KMS key to encrypt your output, you must also specify
|
2242
2246
|
# an output location in the `OutputBucketName` parameter.
|
2243
2247
|
#
|
2248
|
+
# @option params [Hash<String,String>] :kms_encryption_context
|
2249
|
+
# A map of plain text, non-secret key:value pairs, known as encryption
|
2250
|
+
# context pairs, that provide an added layer of security for your data.
|
2251
|
+
#
|
2244
2252
|
# @option params [Types::MedicalTranscriptionSetting] :settings
|
2245
2253
|
# Optional settings for the medical transcription job.
|
2246
2254
|
#
|
@@ -2280,6 +2288,9 @@ module Aws::TranscribeService
|
|
2280
2288
|
# output_bucket_name: "OutputBucketName", # required
|
2281
2289
|
# output_key: "OutputKey",
|
2282
2290
|
# output_encryption_kms_key_id: "KMSKeyId",
|
2291
|
+
# kms_encryption_context: {
|
2292
|
+
# "NonEmptyString" => "NonEmptyString",
|
2293
|
+
# },
|
2283
2294
|
# settings: {
|
2284
2295
|
# show_speaker_labels: false,
|
2285
2296
|
# max_speaker_labels: 1,
|
@@ -2446,6 +2457,10 @@ module Aws::TranscribeService
|
|
2446
2457
|
# If you specify a KMS key to encrypt your output, you must also specify
|
2447
2458
|
# an output location in the `OutputBucketName` parameter.
|
2448
2459
|
#
|
2460
|
+
# @option params [Hash<String,String>] :kms_encryption_context
|
2461
|
+
# A map of plain text, non-secret key:value pairs, known as encryption
|
2462
|
+
# context pairs, that provide an added layer of security for your data.
|
2463
|
+
#
|
2449
2464
|
# @option params [Types::Settings] :settings
|
2450
2465
|
# A `Settings` object that provides optional settings for a
|
2451
2466
|
# transcription job.
|
@@ -2477,6 +2492,9 @@ module Aws::TranscribeService
|
|
2477
2492
|
# To transcribe speech in Modern Standard Arabic (ar-SA), your audio or
|
2478
2493
|
# video file must be encoded at a sample rate of 16,000 Hz or higher.
|
2479
2494
|
#
|
2495
|
+
# @option params [Types::Subtitles] :subtitles
|
2496
|
+
# Add subtitles to your batch transcription job.
|
2497
|
+
#
|
2480
2498
|
# @option params [Array<Types::Tag>] :tags
|
2481
2499
|
# Add tags to an Amazon Transcribe transcription job.
|
2482
2500
|
#
|
@@ -2498,6 +2516,9 @@ module Aws::TranscribeService
|
|
2498
2516
|
# output_bucket_name: "OutputBucketName",
|
2499
2517
|
# output_key: "OutputKey",
|
2500
2518
|
# output_encryption_kms_key_id: "KMSKeyId",
|
2519
|
+
# kms_encryption_context: {
|
2520
|
+
# "NonEmptyString" => "NonEmptyString",
|
2521
|
+
# },
|
2501
2522
|
# settings: {
|
2502
2523
|
# vocabulary_name: "VocabularyName",
|
2503
2524
|
# show_speaker_labels: false,
|
@@ -2521,6 +2542,9 @@ module Aws::TranscribeService
|
|
2521
2542
|
# },
|
2522
2543
|
# identify_language: false,
|
2523
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
|
+
# },
|
2524
2548
|
# tags: [
|
2525
2549
|
# {
|
2526
2550
|
# key: "TagKey", # required
|
@@ -2564,6 +2588,10 @@ module Aws::TranscribeService
|
|
2564
2588
|
# resp.transcription_job.tags #=> Array
|
2565
2589
|
# resp.transcription_job.tags[0].key #=> String
|
2566
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
|
2567
2595
|
#
|
2568
2596
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartTranscriptionJob AWS API Documentation
|
2569
2597
|
#
|
@@ -3006,7 +3034,7 @@ module Aws::TranscribeService
|
|
3006
3034
|
params: params,
|
3007
3035
|
config: config)
|
3008
3036
|
context[:gem_name] = 'aws-sdk-transcribeservice'
|
3009
|
-
context[:gem_version] = '1.
|
3037
|
+
context[:gem_version] = '1.64.0'
|
3010
3038
|
Seahorse::Client::Request.new(handlers, context)
|
3011
3039
|
end
|
3012
3040
|
|
@@ -76,6 +76,7 @@ module Aws::TranscribeService
|
|
76
76
|
InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
|
77
77
|
InterruptionFilter = Shapes::StructureShape.new(name: 'InterruptionFilter')
|
78
78
|
JobExecutionSettings = Shapes::StructureShape.new(name: 'JobExecutionSettings')
|
79
|
+
KMSEncryptionContextMap = Shapes::MapShape.new(name: 'KMSEncryptionContextMap')
|
79
80
|
KMSKeyId = Shapes::StringShape.new(name: 'KMSKeyId')
|
80
81
|
LanguageCode = Shapes::StringShape.new(name: 'LanguageCode')
|
81
82
|
LanguageModel = Shapes::StructureShape.new(name: 'LanguageModel')
|
@@ -144,6 +145,11 @@ module Aws::TranscribeService
|
|
144
145
|
StartTranscriptionJobResponse = Shapes::StructureShape.new(name: 'StartTranscriptionJobResponse')
|
145
146
|
String = Shapes::StringShape.new(name: 'String')
|
146
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')
|
147
153
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
148
154
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
149
155
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
@@ -418,6 +424,9 @@ module Aws::TranscribeService
|
|
418
424
|
JobExecutionSettings.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: DataAccessRoleArn, location_name: "DataAccessRoleArn"))
|
419
425
|
JobExecutionSettings.struct_class = Types::JobExecutionSettings
|
420
426
|
|
427
|
+
KMSEncryptionContextMap.key = Shapes::ShapeRef.new(shape: NonEmptyString)
|
428
|
+
KMSEncryptionContextMap.value = Shapes::ShapeRef.new(shape: NonEmptyString)
|
429
|
+
|
421
430
|
LanguageModel.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, location_name: "ModelName"))
|
422
431
|
LanguageModel.add_member(:create_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreateTime"))
|
423
432
|
LanguageModel.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastModifiedTime"))
|
@@ -646,6 +655,7 @@ module Aws::TranscribeService
|
|
646
655
|
StartMedicalTranscriptionJobRequest.add_member(:output_bucket_name, Shapes::ShapeRef.new(shape: OutputBucketName, required: true, location_name: "OutputBucketName"))
|
647
656
|
StartMedicalTranscriptionJobRequest.add_member(:output_key, Shapes::ShapeRef.new(shape: OutputKey, location_name: "OutputKey"))
|
648
657
|
StartMedicalTranscriptionJobRequest.add_member(:output_encryption_kms_key_id, Shapes::ShapeRef.new(shape: KMSKeyId, location_name: "OutputEncryptionKMSKeyId"))
|
658
|
+
StartMedicalTranscriptionJobRequest.add_member(:kms_encryption_context, Shapes::ShapeRef.new(shape: KMSEncryptionContextMap, location_name: "KMSEncryptionContext"))
|
649
659
|
StartMedicalTranscriptionJobRequest.add_member(:settings, Shapes::ShapeRef.new(shape: MedicalTranscriptionSetting, location_name: "Settings"))
|
650
660
|
StartMedicalTranscriptionJobRequest.add_member(:content_identification_type, Shapes::ShapeRef.new(shape: MedicalContentIdentificationType, location_name: "ContentIdentificationType"))
|
651
661
|
StartMedicalTranscriptionJobRequest.add_member(:specialty, Shapes::ShapeRef.new(shape: Specialty, required: true, location_name: "Specialty"))
|
@@ -664,12 +674,14 @@ module Aws::TranscribeService
|
|
664
674
|
StartTranscriptionJobRequest.add_member(:output_bucket_name, Shapes::ShapeRef.new(shape: OutputBucketName, location_name: "OutputBucketName"))
|
665
675
|
StartTranscriptionJobRequest.add_member(:output_key, Shapes::ShapeRef.new(shape: OutputKey, location_name: "OutputKey"))
|
666
676
|
StartTranscriptionJobRequest.add_member(:output_encryption_kms_key_id, Shapes::ShapeRef.new(shape: KMSKeyId, location_name: "OutputEncryptionKMSKeyId"))
|
677
|
+
StartTranscriptionJobRequest.add_member(:kms_encryption_context, Shapes::ShapeRef.new(shape: KMSEncryptionContextMap, location_name: "KMSEncryptionContext"))
|
667
678
|
StartTranscriptionJobRequest.add_member(:settings, Shapes::ShapeRef.new(shape: Settings, location_name: "Settings"))
|
668
679
|
StartTranscriptionJobRequest.add_member(:model_settings, Shapes::ShapeRef.new(shape: ModelSettings, location_name: "ModelSettings"))
|
669
680
|
StartTranscriptionJobRequest.add_member(:job_execution_settings, Shapes::ShapeRef.new(shape: JobExecutionSettings, location_name: "JobExecutionSettings"))
|
670
681
|
StartTranscriptionJobRequest.add_member(:content_redaction, Shapes::ShapeRef.new(shape: ContentRedaction, location_name: "ContentRedaction"))
|
671
682
|
StartTranscriptionJobRequest.add_member(:identify_language, Shapes::ShapeRef.new(shape: Boolean, location_name: "IdentifyLanguage"))
|
672
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"))
|
673
685
|
StartTranscriptionJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
674
686
|
StartTranscriptionJobRequest.struct_class = Types::StartTranscriptionJobRequest
|
675
687
|
|
@@ -678,6 +690,17 @@ module Aws::TranscribeService
|
|
678
690
|
|
679
691
|
StringTargetList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
680
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
|
+
|
681
704
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
682
705
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
|
683
706
|
Tag.struct_class = Types::Tag
|
@@ -723,6 +746,7 @@ module Aws::TranscribeService
|
|
723
746
|
TranscriptionJob.add_member(:language_options, Shapes::ShapeRef.new(shape: LanguageOptions, location_name: "LanguageOptions"))
|
724
747
|
TranscriptionJob.add_member(:identified_language_score, Shapes::ShapeRef.new(shape: IdentifiedLanguageScore, location_name: "IdentifiedLanguageScore"))
|
725
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"))
|
726
750
|
TranscriptionJob.struct_class = Types::TranscriptionJob
|
727
751
|
|
728
752
|
TranscriptionJobSummaries.member = Shapes::ShapeRef.new(shape: TranscriptionJobSummary)
|
@@ -1616,6 +1616,8 @@ module Aws::TranscribeService
|
|
1616
1616
|
# execution limit. If the field is false, Amazon Transcribe returns a
|
1617
1617
|
# `LimitExceededException` exception.
|
1618
1618
|
#
|
1619
|
+
# Note that job queuing is enabled by default for call analytics jobs.
|
1620
|
+
#
|
1619
1621
|
# If you specify the `AllowDeferredExecution` field, you must specify
|
1620
1622
|
# the `DataAccessRoleArn` field.
|
1621
1623
|
# @return [Boolean]
|
@@ -3220,6 +3222,9 @@ module Aws::TranscribeService
|
|
3220
3222
|
# output_bucket_name: "OutputBucketName", # required
|
3221
3223
|
# output_key: "OutputKey",
|
3222
3224
|
# output_encryption_kms_key_id: "KMSKeyId",
|
3225
|
+
# kms_encryption_context: {
|
3226
|
+
# "NonEmptyString" => "NonEmptyString",
|
3227
|
+
# },
|
3223
3228
|
# settings: {
|
3224
3229
|
# show_speaker_labels: false,
|
3225
3230
|
# max_speaker_labels: 1,
|
@@ -3351,6 +3356,12 @@ module Aws::TranscribeService
|
|
3351
3356
|
# specify an output location in the `OutputBucketName` parameter.
|
3352
3357
|
# @return [String]
|
3353
3358
|
#
|
3359
|
+
# @!attribute [rw] kms_encryption_context
|
3360
|
+
# A map of plain text, non-secret key:value pairs, known as encryption
|
3361
|
+
# context pairs, that provide an added layer of security for your
|
3362
|
+
# data.
|
3363
|
+
# @return [Hash<String,String>]
|
3364
|
+
#
|
3354
3365
|
# @!attribute [rw] settings
|
3355
3366
|
# Optional settings for the medical transcription job.
|
3356
3367
|
# @return [Types::MedicalTranscriptionSetting]
|
@@ -3388,6 +3399,7 @@ module Aws::TranscribeService
|
|
3388
3399
|
:output_bucket_name,
|
3389
3400
|
:output_key,
|
3390
3401
|
:output_encryption_kms_key_id,
|
3402
|
+
:kms_encryption_context,
|
3391
3403
|
:settings,
|
3392
3404
|
:content_identification_type,
|
3393
3405
|
:specialty,
|
@@ -3424,6 +3436,9 @@ module Aws::TranscribeService
|
|
3424
3436
|
# output_bucket_name: "OutputBucketName",
|
3425
3437
|
# output_key: "OutputKey",
|
3426
3438
|
# output_encryption_kms_key_id: "KMSKeyId",
|
3439
|
+
# kms_encryption_context: {
|
3440
|
+
# "NonEmptyString" => "NonEmptyString",
|
3441
|
+
# },
|
3427
3442
|
# settings: {
|
3428
3443
|
# vocabulary_name: "VocabularyName",
|
3429
3444
|
# show_speaker_labels: false,
|
@@ -3447,6 +3462,9 @@ module Aws::TranscribeService
|
|
3447
3462
|
# },
|
3448
3463
|
# identify_language: false,
|
3449
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
|
+
# },
|
3450
3468
|
# tags: [
|
3451
3469
|
# {
|
3452
3470
|
# key: "TagKey", # required
|
@@ -3576,6 +3594,12 @@ module Aws::TranscribeService
|
|
3576
3594
|
# specify an output location in the `OutputBucketName` parameter.
|
3577
3595
|
# @return [String]
|
3578
3596
|
#
|
3597
|
+
# @!attribute [rw] kms_encryption_context
|
3598
|
+
# A map of plain text, non-secret key:value pairs, known as encryption
|
3599
|
+
# context pairs, that provide an added layer of security for your
|
3600
|
+
# data.
|
3601
|
+
# @return [Hash<String,String>]
|
3602
|
+
#
|
3579
3603
|
# @!attribute [rw] settings
|
3580
3604
|
# A `Settings` object that provides optional settings for a
|
3581
3605
|
# transcription job.
|
@@ -3616,6 +3640,10 @@ module Aws::TranscribeService
|
|
3616
3640
|
# higher.
|
3617
3641
|
# @return [Array<String>]
|
3618
3642
|
#
|
3643
|
+
# @!attribute [rw] subtitles
|
3644
|
+
# Add subtitles to your batch transcription job.
|
3645
|
+
# @return [Types::Subtitles]
|
3646
|
+
#
|
3619
3647
|
# @!attribute [rw] tags
|
3620
3648
|
# Add tags to an Amazon Transcribe transcription job.
|
3621
3649
|
# @return [Array<Types::Tag>]
|
@@ -3631,12 +3659,14 @@ module Aws::TranscribeService
|
|
3631
3659
|
:output_bucket_name,
|
3632
3660
|
:output_key,
|
3633
3661
|
:output_encryption_kms_key_id,
|
3662
|
+
:kms_encryption_context,
|
3634
3663
|
:settings,
|
3635
3664
|
:model_settings,
|
3636
3665
|
:job_execution_settings,
|
3637
3666
|
:content_redaction,
|
3638
3667
|
:identify_language,
|
3639
3668
|
:language_options,
|
3669
|
+
:subtitles,
|
3640
3670
|
:tags)
|
3641
3671
|
SENSITIVE = []
|
3642
3672
|
include Aws::Structure
|
@@ -3654,6 +3684,48 @@ module Aws::TranscribeService
|
|
3654
3684
|
include Aws::Structure
|
3655
3685
|
end
|
3656
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
|
+
|
3657
3729
|
# A key:value pair that adds metadata to a resource used by Amazon
|
3658
3730
|
# Transcribe. For example, a tag with the key:value pair
|
3659
3731
|
# ‘Department’:’Sales’ might be added to a resource to indicate its use
|
@@ -3954,6 +4026,10 @@ module Aws::TranscribeService
|
|
3954
4026
|
# A key:value pair assigned to a given transcription job.
|
3955
4027
|
# @return [Array<Types::Tag>]
|
3956
4028
|
#
|
4029
|
+
# @!attribute [rw] subtitles
|
4030
|
+
# Generate subtitles for your batch transcription job.
|
4031
|
+
# @return [Types::SubtitlesOutput]
|
4032
|
+
#
|
3957
4033
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/TranscriptionJob AWS API Documentation
|
3958
4034
|
#
|
3959
4035
|
class TranscriptionJob < Struct.new(
|
@@ -3975,7 +4051,8 @@ module Aws::TranscribeService
|
|
3975
4051
|
:identify_language,
|
3976
4052
|
:language_options,
|
3977
4053
|
:identified_language_score,
|
3978
|
-
:tags
|
4054
|
+
:tags,
|
4055
|
+
:subtitles)
|
3979
4056
|
SENSITIVE = []
|
3980
4057
|
include Aws::Structure
|
3981
4058
|
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.64.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-
|
11
|
+
date: 2021-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.121.2
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.121.2
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -76,7 +76,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
76
76
|
requirements:
|
77
77
|
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version: '
|
79
|
+
version: '2.3'
|
80
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - ">="
|