aws-sdk-transcribeservice 1.61.0 → 1.65.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 +90 -8
- data/lib/aws-sdk-transcribeservice/client_api.rb +37 -0
- data/lib/aws-sdk-transcribeservice/types.rb +204 -17
- data/lib/aws-sdk-transcribeservice.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4f58581d51b15040009ece0711e97268e575aea5932809a219365362a7ff8f2
|
4
|
+
data.tar.gz: 3f32a1111d339277beb324b23c4221fe80a9ad29edaab7a9101ca92edb6f99fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8eebd0457ccbaffd62f4061a435728c4da2e5da06a02c0c1123fd545fc85d7d291ea5a4b27fc901bc70ae426e535ba9927b7a50f79cd8e85d4a1fae1d7b1055
|
7
|
+
data.tar.gz: 7dddb7f40840afd7c9b5f09a03efd414870528faccbb71fd269d7c28c87a5a96dbd2c1c6482b2b22ae64f5e60e4a0bf37f4860e5000a33f939add50350eec000
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.65.0 (2021-10-29)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Transcribe and Transcribe Call Analytics now support automatic language identification along with custom vocabulary, vocabulary filter, custom language model and PII redaction.
|
8
|
+
|
9
|
+
1.64.0 (2021-10-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.63.0 (2021-09-16)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This release adds support for subtitling with Amazon Transcribe batch jobs.
|
18
|
+
|
19
|
+
1.62.0 (2021-09-10)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* 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.
|
23
|
+
|
4
24
|
1.61.0 (2021-09-01)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.65.0
|
@@ -1167,6 +1167,10 @@ module Aws::TranscribeService
|
|
1167
1167
|
# resp.call_analytics_job.settings.content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
|
1168
1168
|
# resp.call_analytics_job.settings.language_options #=> Array
|
1169
1169
|
# resp.call_analytics_job.settings.language_options[0] #=> String, one of "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"
|
1170
|
+
# resp.call_analytics_job.settings.language_id_settings #=> Hash
|
1171
|
+
# resp.call_analytics_job.settings.language_id_settings["LanguageCode"].vocabulary_name #=> String
|
1172
|
+
# resp.call_analytics_job.settings.language_id_settings["LanguageCode"].vocabulary_filter_name #=> String
|
1173
|
+
# resp.call_analytics_job.settings.language_id_settings["LanguageCode"].language_model_name #=> String
|
1170
1174
|
# resp.call_analytics_job.channel_definitions #=> Array
|
1171
1175
|
# resp.call_analytics_job.channel_definitions[0].channel_id #=> Integer
|
1172
1176
|
# resp.call_analytics_job.channel_definitions[0].participant_role #=> String, one of "AGENT", "CUSTOMER"
|
@@ -1329,6 +1333,14 @@ module Aws::TranscribeService
|
|
1329
1333
|
# resp.transcription_job.tags #=> Array
|
1330
1334
|
# resp.transcription_job.tags[0].key #=> String
|
1331
1335
|
# resp.transcription_job.tags[0].value #=> String
|
1336
|
+
# resp.transcription_job.subtitles.formats #=> Array
|
1337
|
+
# resp.transcription_job.subtitles.formats[0] #=> String, one of "vtt", "srt"
|
1338
|
+
# resp.transcription_job.subtitles.subtitle_file_uris #=> Array
|
1339
|
+
# resp.transcription_job.subtitles.subtitle_file_uris[0] #=> String
|
1340
|
+
# resp.transcription_job.language_id_settings #=> Hash
|
1341
|
+
# resp.transcription_job.language_id_settings["LanguageCode"].vocabulary_name #=> String
|
1342
|
+
# resp.transcription_job.language_id_settings["LanguageCode"].vocabulary_filter_name #=> String
|
1343
|
+
# resp.transcription_job.language_id_settings["LanguageCode"].language_model_name #=> String
|
1332
1344
|
#
|
1333
1345
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetTranscriptionJob AWS API Documentation
|
1334
1346
|
#
|
@@ -1766,6 +1778,13 @@ module Aws::TranscribeService
|
|
1766
1778
|
#
|
1767
1779
|
# @option params [required, String] :resource_arn
|
1768
1780
|
# Lists all tags associated with a given Amazon Resource Name (ARN).
|
1781
|
+
# ARNs have the format
|
1782
|
+
# `arn:partition:service:region:account-id:resource-type/resource-id`
|
1783
|
+
# (for example,
|
1784
|
+
# `arn:aws:transcribe:us-east-1:account-id:transcription-job/your-job-name`).
|
1785
|
+
# Valid values for `resource-type` are: `transcription-job`,
|
1786
|
+
# `medical-transcription-job`, `vocabulary`, `medical-vocabulary`,
|
1787
|
+
# `vocabulary-filter`, and `language-model`.
|
1769
1788
|
#
|
1770
1789
|
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1771
1790
|
#
|
@@ -2090,6 +2109,13 @@ module Aws::TranscribeService
|
|
2090
2109
|
# redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
|
2091
2110
|
# },
|
2092
2111
|
# 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
|
2112
|
+
# language_id_settings: {
|
2113
|
+
# "af-ZA" => {
|
2114
|
+
# vocabulary_name: "VocabularyName",
|
2115
|
+
# vocabulary_filter_name: "VocabularyFilterName",
|
2116
|
+
# language_model_name: "ModelName",
|
2117
|
+
# },
|
2118
|
+
# },
|
2093
2119
|
# },
|
2094
2120
|
# channel_definitions: [
|
2095
2121
|
# {
|
@@ -2124,6 +2150,10 @@ module Aws::TranscribeService
|
|
2124
2150
|
# resp.call_analytics_job.settings.content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
|
2125
2151
|
# resp.call_analytics_job.settings.language_options #=> Array
|
2126
2152
|
# resp.call_analytics_job.settings.language_options[0] #=> String, one of "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"
|
2153
|
+
# resp.call_analytics_job.settings.language_id_settings #=> Hash
|
2154
|
+
# resp.call_analytics_job.settings.language_id_settings["LanguageCode"].vocabulary_name #=> String
|
2155
|
+
# resp.call_analytics_job.settings.language_id_settings["LanguageCode"].vocabulary_filter_name #=> String
|
2156
|
+
# resp.call_analytics_job.settings.language_id_settings["LanguageCode"].language_model_name #=> String
|
2127
2157
|
# resp.call_analytics_job.channel_definitions #=> Array
|
2128
2158
|
# resp.call_analytics_job.channel_definitions[0].channel_id #=> Integer
|
2129
2159
|
# resp.call_analytics_job.channel_definitions[0].participant_role #=> String, one of "AGENT", "CUSTOMER"
|
@@ -2228,8 +2258,8 @@ module Aws::TranscribeService
|
|
2228
2258
|
# current account or another account:
|
2229
2259
|
#
|
2230
2260
|
# * Amazon Resource Name (ARN) of a KMS key in the current account or
|
2231
|
-
# another account:
|
2232
|
-
# ID:key/1234abcd-12ab-34cd-56ef-1234567890ab"
|
2261
|
+
# another account:
|
2262
|
+
# "arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab"
|
2233
2263
|
#
|
2234
2264
|
# * ARN of a KMS Key Alias: "arn:aws:kms:region:account
|
2235
2265
|
# ID:alias/ExampleAlias"
|
@@ -2241,6 +2271,10 @@ module Aws::TranscribeService
|
|
2241
2271
|
# If you specify a KMS key to encrypt your output, you must also specify
|
2242
2272
|
# an output location in the `OutputBucketName` parameter.
|
2243
2273
|
#
|
2274
|
+
# @option params [Hash<String,String>] :kms_encryption_context
|
2275
|
+
# A map of plain text, non-secret key:value pairs, known as encryption
|
2276
|
+
# context pairs, that provide an added layer of security for your data.
|
2277
|
+
#
|
2244
2278
|
# @option params [Types::MedicalTranscriptionSetting] :settings
|
2245
2279
|
# Optional settings for the medical transcription job.
|
2246
2280
|
#
|
@@ -2280,6 +2314,9 @@ module Aws::TranscribeService
|
|
2280
2314
|
# output_bucket_name: "OutputBucketName", # required
|
2281
2315
|
# output_key: "OutputKey",
|
2282
2316
|
# output_encryption_kms_key_id: "KMSKeyId",
|
2317
|
+
# kms_encryption_context: {
|
2318
|
+
# "NonEmptyString" => "NonEmptyString",
|
2319
|
+
# },
|
2283
2320
|
# settings: {
|
2284
2321
|
# show_speaker_labels: false,
|
2285
2322
|
# max_speaker_labels: 1,
|
@@ -2436,8 +2473,8 @@ module Aws::TranscribeService
|
|
2436
2473
|
# "arn:aws:kms:region:account
|
2437
2474
|
# ID:key/1234abcd-12ab-34cd-56ef-1234567890ab"
|
2438
2475
|
#
|
2439
|
-
# * ARN of a KMS Key Alias:
|
2440
|
-
# ID:alias/ExampleAlias"
|
2476
|
+
# * ARN of a KMS Key Alias:
|
2477
|
+
# "arn:aws:kms:region:account-ID:alias/ExampleAlias"
|
2441
2478
|
#
|
2442
2479
|
# If you don't specify an encryption key, the output of the
|
2443
2480
|
# transcription job is encrypted with the default Amazon S3 key
|
@@ -2446,6 +2483,10 @@ module Aws::TranscribeService
|
|
2446
2483
|
# If you specify a KMS key to encrypt your output, you must also specify
|
2447
2484
|
# an output location in the `OutputBucketName` parameter.
|
2448
2485
|
#
|
2486
|
+
# @option params [Hash<String,String>] :kms_encryption_context
|
2487
|
+
# A map of plain text, non-secret key:value pairs, known as encryption
|
2488
|
+
# context pairs, that provide an added layer of security for your data.
|
2489
|
+
#
|
2449
2490
|
# @option params [Types::Settings] :settings
|
2450
2491
|
# A `Settings` object that provides optional settings for a
|
2451
2492
|
# transcription job.
|
@@ -2477,9 +2518,17 @@ module Aws::TranscribeService
|
|
2477
2518
|
# To transcribe speech in Modern Standard Arabic (ar-SA), your audio or
|
2478
2519
|
# video file must be encoded at a sample rate of 16,000 Hz or higher.
|
2479
2520
|
#
|
2521
|
+
# @option params [Types::Subtitles] :subtitles
|
2522
|
+
# Add subtitles to your batch transcription job.
|
2523
|
+
#
|
2480
2524
|
# @option params [Array<Types::Tag>] :tags
|
2481
2525
|
# Add tags to an Amazon Transcribe transcription job.
|
2482
2526
|
#
|
2527
|
+
# @option params [Hash<String,Types::LanguageIdSettings>] :language_id_settings
|
2528
|
+
# The language identification settings associated with your
|
2529
|
+
# transcription job. These settings include `VocabularyName`,
|
2530
|
+
# `VocabularyFilterName`, and `LanguageModelName`.
|
2531
|
+
#
|
2483
2532
|
# @return [Types::StartTranscriptionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2484
2533
|
#
|
2485
2534
|
# * {Types::StartTranscriptionJobResponse#transcription_job #transcription_job} => Types::TranscriptionJob
|
@@ -2498,6 +2547,9 @@ module Aws::TranscribeService
|
|
2498
2547
|
# output_bucket_name: "OutputBucketName",
|
2499
2548
|
# output_key: "OutputKey",
|
2500
2549
|
# output_encryption_kms_key_id: "KMSKeyId",
|
2550
|
+
# kms_encryption_context: {
|
2551
|
+
# "NonEmptyString" => "NonEmptyString",
|
2552
|
+
# },
|
2501
2553
|
# settings: {
|
2502
2554
|
# vocabulary_name: "VocabularyName",
|
2503
2555
|
# show_speaker_labels: false,
|
@@ -2521,12 +2573,22 @@ module Aws::TranscribeService
|
|
2521
2573
|
# },
|
2522
2574
|
# identify_language: false,
|
2523
2575
|
# 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
|
2576
|
+
# subtitles: {
|
2577
|
+
# formats: ["vtt"], # accepts vtt, srt
|
2578
|
+
# },
|
2524
2579
|
# tags: [
|
2525
2580
|
# {
|
2526
2581
|
# key: "TagKey", # required
|
2527
2582
|
# value: "TagValue", # required
|
2528
2583
|
# },
|
2529
2584
|
# ],
|
2585
|
+
# language_id_settings: {
|
2586
|
+
# "af-ZA" => {
|
2587
|
+
# vocabulary_name: "VocabularyName",
|
2588
|
+
# vocabulary_filter_name: "VocabularyFilterName",
|
2589
|
+
# language_model_name: "ModelName",
|
2590
|
+
# },
|
2591
|
+
# },
|
2530
2592
|
# })
|
2531
2593
|
#
|
2532
2594
|
# @example Response structure
|
@@ -2564,6 +2626,14 @@ module Aws::TranscribeService
|
|
2564
2626
|
# resp.transcription_job.tags #=> Array
|
2565
2627
|
# resp.transcription_job.tags[0].key #=> String
|
2566
2628
|
# resp.transcription_job.tags[0].value #=> String
|
2629
|
+
# resp.transcription_job.subtitles.formats #=> Array
|
2630
|
+
# resp.transcription_job.subtitles.formats[0] #=> String, one of "vtt", "srt"
|
2631
|
+
# resp.transcription_job.subtitles.subtitle_file_uris #=> Array
|
2632
|
+
# resp.transcription_job.subtitles.subtitle_file_uris[0] #=> String
|
2633
|
+
# resp.transcription_job.language_id_settings #=> Hash
|
2634
|
+
# resp.transcription_job.language_id_settings["LanguageCode"].vocabulary_name #=> String
|
2635
|
+
# resp.transcription_job.language_id_settings["LanguageCode"].vocabulary_filter_name #=> String
|
2636
|
+
# resp.transcription_job.language_id_settings["LanguageCode"].language_model_name #=> String
|
2567
2637
|
#
|
2568
2638
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartTranscriptionJob AWS API Documentation
|
2569
2639
|
#
|
@@ -2574,11 +2644,17 @@ module Aws::TranscribeService
|
|
2574
2644
|
req.send_request(options)
|
2575
2645
|
end
|
2576
2646
|
|
2577
|
-
# Tags
|
2647
|
+
# Tags an Amazon Transcribe resource with the given list of tags.
|
2578
2648
|
#
|
2579
2649
|
# @option params [required, String] :resource_arn
|
2580
2650
|
# The Amazon Resource Name (ARN) of the Amazon Transcribe resource you
|
2581
|
-
# want to tag.
|
2651
|
+
# want to tag. ARNs have the format
|
2652
|
+
# `arn:partition:service:region:account-id:resource-type/resource-id`
|
2653
|
+
# (for example,
|
2654
|
+
# `arn:aws:transcribe:us-east-1:account-id:transcription-job/your-job-name`).
|
2655
|
+
# Valid values for `resource-type` are: `transcription-job`,
|
2656
|
+
# `medical-transcription-job`, `vocabulary`, `medical-vocabulary`,
|
2657
|
+
# `vocabulary-filter`, and `language-model`.
|
2582
2658
|
#
|
2583
2659
|
# @option params [required, Array<Types::Tag>] :tags
|
2584
2660
|
# The tags you are assigning to a given Amazon Transcribe resource.
|
@@ -2610,7 +2686,13 @@ module Aws::TranscribeService
|
|
2610
2686
|
#
|
2611
2687
|
# @option params [required, String] :resource_arn
|
2612
2688
|
# The Amazon Resource Name (ARN) of the Amazon Transcribe resource you
|
2613
|
-
# want to remove tags from.
|
2689
|
+
# want to remove tags from. ARNs have the format
|
2690
|
+
# `arn:partition:service:region:account-id:resource-type/resource-id`
|
2691
|
+
# (for example,
|
2692
|
+
# `arn:aws:transcribe:us-east-1:account-id:transcription-job/your-job-name`).
|
2693
|
+
# Valid values for `resource-type` are: `transcription-job`,
|
2694
|
+
# `medical-transcription-job`, `vocabulary`, `medical-vocabulary`,
|
2695
|
+
# `vocabulary-filter`, and `language-model`.
|
2614
2696
|
#
|
2615
2697
|
# @option params [required, Array<String>] :tag_keys
|
2616
2698
|
# A list of tag keys you want to remove from a specified Amazon
|
@@ -3006,7 +3088,7 @@ module Aws::TranscribeService
|
|
3006
3088
|
params: params,
|
3007
3089
|
config: config)
|
3008
3090
|
context[:gem_name] = 'aws-sdk-transcribeservice'
|
3009
|
-
context[:gem_version] = '1.
|
3091
|
+
context[:gem_version] = '1.65.0'
|
3010
3092
|
Seahorse::Client::Request.new(handlers, context)
|
3011
3093
|
end
|
3012
3094
|
|
@@ -76,8 +76,11 @@ 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')
|
82
|
+
LanguageIdSettings = Shapes::StructureShape.new(name: 'LanguageIdSettings')
|
83
|
+
LanguageIdSettingsMap = Shapes::MapShape.new(name: 'LanguageIdSettingsMap')
|
81
84
|
LanguageModel = Shapes::StructureShape.new(name: 'LanguageModel')
|
82
85
|
LanguageOptions = Shapes::ListShape.new(name: 'LanguageOptions')
|
83
86
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
@@ -144,6 +147,11 @@ module Aws::TranscribeService
|
|
144
147
|
StartTranscriptionJobResponse = Shapes::StructureShape.new(name: 'StartTranscriptionJobResponse')
|
145
148
|
String = Shapes::StringShape.new(name: 'String')
|
146
149
|
StringTargetList = Shapes::ListShape.new(name: 'StringTargetList')
|
150
|
+
SubtitleFileUris = Shapes::ListShape.new(name: 'SubtitleFileUris')
|
151
|
+
SubtitleFormat = Shapes::StringShape.new(name: 'SubtitleFormat')
|
152
|
+
SubtitleFormats = Shapes::ListShape.new(name: 'SubtitleFormats')
|
153
|
+
Subtitles = Shapes::StructureShape.new(name: 'Subtitles')
|
154
|
+
SubtitlesOutput = Shapes::StructureShape.new(name: 'SubtitlesOutput')
|
147
155
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
148
156
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
149
157
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
@@ -216,6 +224,7 @@ module Aws::TranscribeService
|
|
216
224
|
CallAnalyticsJobSettings.add_member(:language_model_name, Shapes::ShapeRef.new(shape: ModelName, location_name: "LanguageModelName"))
|
217
225
|
CallAnalyticsJobSettings.add_member(:content_redaction, Shapes::ShapeRef.new(shape: ContentRedaction, location_name: "ContentRedaction"))
|
218
226
|
CallAnalyticsJobSettings.add_member(:language_options, Shapes::ShapeRef.new(shape: LanguageOptions, location_name: "LanguageOptions"))
|
227
|
+
CallAnalyticsJobSettings.add_member(:language_id_settings, Shapes::ShapeRef.new(shape: LanguageIdSettingsMap, location_name: "LanguageIdSettings"))
|
219
228
|
CallAnalyticsJobSettings.struct_class = Types::CallAnalyticsJobSettings
|
220
229
|
|
221
230
|
CallAnalyticsJobSummaries.member = Shapes::ShapeRef.new(shape: CallAnalyticsJobSummary)
|
@@ -418,6 +427,17 @@ module Aws::TranscribeService
|
|
418
427
|
JobExecutionSettings.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: DataAccessRoleArn, location_name: "DataAccessRoleArn"))
|
419
428
|
JobExecutionSettings.struct_class = Types::JobExecutionSettings
|
420
429
|
|
430
|
+
KMSEncryptionContextMap.key = Shapes::ShapeRef.new(shape: NonEmptyString)
|
431
|
+
KMSEncryptionContextMap.value = Shapes::ShapeRef.new(shape: NonEmptyString)
|
432
|
+
|
433
|
+
LanguageIdSettings.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, location_name: "VocabularyName"))
|
434
|
+
LanguageIdSettings.add_member(:vocabulary_filter_name, Shapes::ShapeRef.new(shape: VocabularyFilterName, location_name: "VocabularyFilterName"))
|
435
|
+
LanguageIdSettings.add_member(:language_model_name, Shapes::ShapeRef.new(shape: ModelName, location_name: "LanguageModelName"))
|
436
|
+
LanguageIdSettings.struct_class = Types::LanguageIdSettings
|
437
|
+
|
438
|
+
LanguageIdSettingsMap.key = Shapes::ShapeRef.new(shape: LanguageCode)
|
439
|
+
LanguageIdSettingsMap.value = Shapes::ShapeRef.new(shape: LanguageIdSettings)
|
440
|
+
|
421
441
|
LanguageModel.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, location_name: "ModelName"))
|
422
442
|
LanguageModel.add_member(:create_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreateTime"))
|
423
443
|
LanguageModel.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastModifiedTime"))
|
@@ -646,6 +666,7 @@ module Aws::TranscribeService
|
|
646
666
|
StartMedicalTranscriptionJobRequest.add_member(:output_bucket_name, Shapes::ShapeRef.new(shape: OutputBucketName, required: true, location_name: "OutputBucketName"))
|
647
667
|
StartMedicalTranscriptionJobRequest.add_member(:output_key, Shapes::ShapeRef.new(shape: OutputKey, location_name: "OutputKey"))
|
648
668
|
StartMedicalTranscriptionJobRequest.add_member(:output_encryption_kms_key_id, Shapes::ShapeRef.new(shape: KMSKeyId, location_name: "OutputEncryptionKMSKeyId"))
|
669
|
+
StartMedicalTranscriptionJobRequest.add_member(:kms_encryption_context, Shapes::ShapeRef.new(shape: KMSEncryptionContextMap, location_name: "KMSEncryptionContext"))
|
649
670
|
StartMedicalTranscriptionJobRequest.add_member(:settings, Shapes::ShapeRef.new(shape: MedicalTranscriptionSetting, location_name: "Settings"))
|
650
671
|
StartMedicalTranscriptionJobRequest.add_member(:content_identification_type, Shapes::ShapeRef.new(shape: MedicalContentIdentificationType, location_name: "ContentIdentificationType"))
|
651
672
|
StartMedicalTranscriptionJobRequest.add_member(:specialty, Shapes::ShapeRef.new(shape: Specialty, required: true, location_name: "Specialty"))
|
@@ -664,13 +685,16 @@ module Aws::TranscribeService
|
|
664
685
|
StartTranscriptionJobRequest.add_member(:output_bucket_name, Shapes::ShapeRef.new(shape: OutputBucketName, location_name: "OutputBucketName"))
|
665
686
|
StartTranscriptionJobRequest.add_member(:output_key, Shapes::ShapeRef.new(shape: OutputKey, location_name: "OutputKey"))
|
666
687
|
StartTranscriptionJobRequest.add_member(:output_encryption_kms_key_id, Shapes::ShapeRef.new(shape: KMSKeyId, location_name: "OutputEncryptionKMSKeyId"))
|
688
|
+
StartTranscriptionJobRequest.add_member(:kms_encryption_context, Shapes::ShapeRef.new(shape: KMSEncryptionContextMap, location_name: "KMSEncryptionContext"))
|
667
689
|
StartTranscriptionJobRequest.add_member(:settings, Shapes::ShapeRef.new(shape: Settings, location_name: "Settings"))
|
668
690
|
StartTranscriptionJobRequest.add_member(:model_settings, Shapes::ShapeRef.new(shape: ModelSettings, location_name: "ModelSettings"))
|
669
691
|
StartTranscriptionJobRequest.add_member(:job_execution_settings, Shapes::ShapeRef.new(shape: JobExecutionSettings, location_name: "JobExecutionSettings"))
|
670
692
|
StartTranscriptionJobRequest.add_member(:content_redaction, Shapes::ShapeRef.new(shape: ContentRedaction, location_name: "ContentRedaction"))
|
671
693
|
StartTranscriptionJobRequest.add_member(:identify_language, Shapes::ShapeRef.new(shape: Boolean, location_name: "IdentifyLanguage"))
|
672
694
|
StartTranscriptionJobRequest.add_member(:language_options, Shapes::ShapeRef.new(shape: LanguageOptions, location_name: "LanguageOptions"))
|
695
|
+
StartTranscriptionJobRequest.add_member(:subtitles, Shapes::ShapeRef.new(shape: Subtitles, location_name: "Subtitles"))
|
673
696
|
StartTranscriptionJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
697
|
+
StartTranscriptionJobRequest.add_member(:language_id_settings, Shapes::ShapeRef.new(shape: LanguageIdSettingsMap, location_name: "LanguageIdSettings"))
|
674
698
|
StartTranscriptionJobRequest.struct_class = Types::StartTranscriptionJobRequest
|
675
699
|
|
676
700
|
StartTranscriptionJobResponse.add_member(:transcription_job, Shapes::ShapeRef.new(shape: TranscriptionJob, location_name: "TranscriptionJob"))
|
@@ -678,6 +702,17 @@ module Aws::TranscribeService
|
|
678
702
|
|
679
703
|
StringTargetList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
680
704
|
|
705
|
+
SubtitleFileUris.member = Shapes::ShapeRef.new(shape: Uri)
|
706
|
+
|
707
|
+
SubtitleFormats.member = Shapes::ShapeRef.new(shape: SubtitleFormat)
|
708
|
+
|
709
|
+
Subtitles.add_member(:formats, Shapes::ShapeRef.new(shape: SubtitleFormats, location_name: "Formats"))
|
710
|
+
Subtitles.struct_class = Types::Subtitles
|
711
|
+
|
712
|
+
SubtitlesOutput.add_member(:formats, Shapes::ShapeRef.new(shape: SubtitleFormats, location_name: "Formats"))
|
713
|
+
SubtitlesOutput.add_member(:subtitle_file_uris, Shapes::ShapeRef.new(shape: SubtitleFileUris, location_name: "SubtitleFileUris"))
|
714
|
+
SubtitlesOutput.struct_class = Types::SubtitlesOutput
|
715
|
+
|
681
716
|
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
682
717
|
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
|
683
718
|
Tag.struct_class = Types::Tag
|
@@ -723,6 +758,8 @@ module Aws::TranscribeService
|
|
723
758
|
TranscriptionJob.add_member(:language_options, Shapes::ShapeRef.new(shape: LanguageOptions, location_name: "LanguageOptions"))
|
724
759
|
TranscriptionJob.add_member(:identified_language_score, Shapes::ShapeRef.new(shape: IdentifiedLanguageScore, location_name: "IdentifiedLanguageScore"))
|
725
760
|
TranscriptionJob.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
761
|
+
TranscriptionJob.add_member(:subtitles, Shapes::ShapeRef.new(shape: SubtitlesOutput, location_name: "Subtitles"))
|
762
|
+
TranscriptionJob.add_member(:language_id_settings, Shapes::ShapeRef.new(shape: LanguageIdSettingsMap, location_name: "LanguageIdSettings"))
|
726
763
|
TranscriptionJob.struct_class = Types::TranscriptionJob
|
727
764
|
|
728
765
|
TranscriptionJobSummaries.member = Shapes::ShapeRef.new(shape: TranscriptionJobSummary)
|
@@ -188,8 +188,9 @@ module Aws::TranscribeService
|
|
188
188
|
# @return [String]
|
189
189
|
#
|
190
190
|
# @!attribute [rw] data_access_role_arn
|
191
|
-
# The Amazon Resource Number (ARN) that you use to
|
192
|
-
# analytics job.
|
191
|
+
# The Amazon Resource Number (ARN) that you use to access the
|
192
|
+
# analytics job. ARNs have the format
|
193
|
+
# `arn:partition:service:region:account-id:resource-type/resource-id`.
|
193
194
|
# @return [String]
|
194
195
|
#
|
195
196
|
# @!attribute [rw] identified_language_score
|
@@ -247,6 +248,13 @@ module Aws::TranscribeService
|
|
247
248
|
# redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
|
248
249
|
# },
|
249
250
|
# 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
|
251
|
+
# language_id_settings: {
|
252
|
+
# "af-ZA" => {
|
253
|
+
# vocabulary_name: "VocabularyName",
|
254
|
+
# vocabulary_filter_name: "VocabularyFilterName",
|
255
|
+
# language_model_name: "ModelName",
|
256
|
+
# },
|
257
|
+
# },
|
250
258
|
# }
|
251
259
|
#
|
252
260
|
# @!attribute [rw] vocabulary_name
|
@@ -296,6 +304,12 @@ module Aws::TranscribeService
|
|
296
304
|
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html
|
297
305
|
# @return [Array<String>]
|
298
306
|
#
|
307
|
+
# @!attribute [rw] language_id_settings
|
308
|
+
# The language identification settings associated with your call
|
309
|
+
# analytics job. These settings include `VocabularyName`,
|
310
|
+
# `VocabularyFilterName`, and `LanguageModelName`.
|
311
|
+
# @return [Hash<String,Types::LanguageIdSettings>]
|
312
|
+
#
|
299
313
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CallAnalyticsJobSettings AWS API Documentation
|
300
314
|
#
|
301
315
|
class CallAnalyticsJobSettings < Struct.new(
|
@@ -304,7 +318,8 @@ module Aws::TranscribeService
|
|
304
318
|
:vocabulary_filter_method,
|
305
319
|
:language_model_name,
|
306
320
|
:content_redaction,
|
307
|
-
:language_options
|
321
|
+
:language_options,
|
322
|
+
:language_id_settings)
|
308
323
|
SENSITIVE = []
|
309
324
|
include Aws::Structure
|
310
325
|
end
|
@@ -1503,7 +1518,9 @@ module Aws::TranscribeService
|
|
1503
1518
|
# @!attribute [rw] data_access_role_arn
|
1504
1519
|
# The Amazon Resource Name (ARN) that uniquely identifies the
|
1505
1520
|
# permissions you've given Amazon Transcribe to access your Amazon S3
|
1506
|
-
# buckets containing your media files or text data.
|
1521
|
+
# buckets containing your media files or text data. ARNs have the
|
1522
|
+
# format
|
1523
|
+
# `arn:partition:service:region:account-id:resource-type/resource-id`.
|
1507
1524
|
# @return [String]
|
1508
1525
|
#
|
1509
1526
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/InputDataConfig AWS API Documentation
|
@@ -1616,16 +1633,20 @@ module Aws::TranscribeService
|
|
1616
1633
|
# execution limit. If the field is false, Amazon Transcribe returns a
|
1617
1634
|
# `LimitExceededException` exception.
|
1618
1635
|
#
|
1636
|
+
# Note that job queuing is enabled by default for call analytics jobs.
|
1637
|
+
#
|
1619
1638
|
# If you specify the `AllowDeferredExecution` field, you must specify
|
1620
1639
|
# the `DataAccessRoleArn` field.
|
1621
1640
|
# @return [Boolean]
|
1622
1641
|
#
|
1623
1642
|
# @!attribute [rw] data_access_role_arn
|
1624
|
-
# The Amazon Resource Name (ARN)
|
1625
|
-
#
|
1626
|
-
# role
|
1627
|
-
#
|
1628
|
-
#
|
1643
|
+
# The Amazon Resource Name (ARN), in the form
|
1644
|
+
# `arn:partition:service:region:account-id:resource-type/resource-id`,
|
1645
|
+
# of a role that has access to the S3 bucket that contains the input
|
1646
|
+
# files. Amazon Transcribe assumes this role to read queued media
|
1647
|
+
# files. If you have specified an output S3 bucket for the
|
1648
|
+
# transcription results, this role should have access to the output
|
1649
|
+
# bucket as well.
|
1629
1650
|
#
|
1630
1651
|
# If you specify the `AllowDeferredExecution` field, you must specify
|
1631
1652
|
# the `DataAccessRoleArn` field.
|
@@ -1640,6 +1661,49 @@ module Aws::TranscribeService
|
|
1640
1661
|
include Aws::Structure
|
1641
1662
|
end
|
1642
1663
|
|
1664
|
+
# Language-specific settings that can be specified when language
|
1665
|
+
# identification is enabled.
|
1666
|
+
#
|
1667
|
+
# @note When making an API call, you may pass LanguageIdSettings
|
1668
|
+
# data as a hash:
|
1669
|
+
#
|
1670
|
+
# {
|
1671
|
+
# vocabulary_name: "VocabularyName",
|
1672
|
+
# vocabulary_filter_name: "VocabularyFilterName",
|
1673
|
+
# language_model_name: "ModelName",
|
1674
|
+
# }
|
1675
|
+
#
|
1676
|
+
# @!attribute [rw] vocabulary_name
|
1677
|
+
# The name of the vocabulary you want to use when processing your
|
1678
|
+
# transcription job. The vocabulary you specify must have the same
|
1679
|
+
# language code as the transcription job; if the languages don't
|
1680
|
+
# match, the vocabulary won't be applied.
|
1681
|
+
# @return [String]
|
1682
|
+
#
|
1683
|
+
# @!attribute [rw] vocabulary_filter_name
|
1684
|
+
# The name of the vocabulary filter you want to use when transcribing
|
1685
|
+
# your audio. The filter you specify must have the same language code
|
1686
|
+
# as the transcription job; if the languages don't match, the
|
1687
|
+
# vocabulary filter won't be applied.
|
1688
|
+
# @return [String]
|
1689
|
+
#
|
1690
|
+
# @!attribute [rw] language_model_name
|
1691
|
+
# The name of the language model you want to use when transcribing
|
1692
|
+
# your audio. The model you specify must have the same language code
|
1693
|
+
# as the transcription job; if the languages don't match, the
|
1694
|
+
# language model won't be applied.
|
1695
|
+
# @return [String]
|
1696
|
+
#
|
1697
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/LanguageIdSettings AWS API Documentation
|
1698
|
+
#
|
1699
|
+
class LanguageIdSettings < Struct.new(
|
1700
|
+
:vocabulary_name,
|
1701
|
+
:vocabulary_filter_name,
|
1702
|
+
:language_model_name)
|
1703
|
+
SENSITIVE = []
|
1704
|
+
include Aws::Structure
|
1705
|
+
end
|
1706
|
+
|
1643
1707
|
# The structure used to describe a custom language model.
|
1644
1708
|
#
|
1645
1709
|
# @!attribute [rw] model_name
|
@@ -2065,6 +2129,13 @@ module Aws::TranscribeService
|
|
2065
2129
|
#
|
2066
2130
|
# @!attribute [rw] resource_arn
|
2067
2131
|
# Lists all tags associated with a given Amazon Resource Name (ARN).
|
2132
|
+
# ARNs have the format
|
2133
|
+
# `arn:partition:service:region:account-id:resource-type/resource-id`
|
2134
|
+
# (for example,
|
2135
|
+
# `arn:aws:transcribe:us-east-1:account-id:transcription-job/your-job-name`).
|
2136
|
+
# Valid values for `resource-type` are: `transcription-job`,
|
2137
|
+
# `medical-transcription-job`, `vocabulary`, `medical-vocabulary`,
|
2138
|
+
# `vocabulary-filter`, and `language-model`.
|
2068
2139
|
# @return [String]
|
2069
2140
|
#
|
2070
2141
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListTagsForResourceRequest AWS API Documentation
|
@@ -3074,6 +3145,13 @@ module Aws::TranscribeService
|
|
3074
3145
|
# redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
|
3075
3146
|
# },
|
3076
3147
|
# 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
|
3148
|
+
# language_id_settings: {
|
3149
|
+
# "af-ZA" => {
|
3150
|
+
# vocabulary_name: "VocabularyName",
|
3151
|
+
# vocabulary_filter_name: "VocabularyFilterName",
|
3152
|
+
# language_model_name: "ModelName",
|
3153
|
+
# },
|
3154
|
+
# },
|
3077
3155
|
# },
|
3078
3156
|
# channel_definitions: [
|
3079
3157
|
# {
|
@@ -3220,6 +3298,9 @@ module Aws::TranscribeService
|
|
3220
3298
|
# output_bucket_name: "OutputBucketName", # required
|
3221
3299
|
# output_key: "OutputKey",
|
3222
3300
|
# output_encryption_kms_key_id: "KMSKeyId",
|
3301
|
+
# kms_encryption_context: {
|
3302
|
+
# "NonEmptyString" => "NonEmptyString",
|
3303
|
+
# },
|
3223
3304
|
# settings: {
|
3224
3305
|
# show_speaker_labels: false,
|
3225
3306
|
# max_speaker_labels: 1,
|
@@ -3337,8 +3418,8 @@ module Aws::TranscribeService
|
|
3337
3418
|
# current account or another account:
|
3338
3419
|
#
|
3339
3420
|
# * Amazon Resource Name (ARN) of a KMS key in the current account or
|
3340
|
-
# another account:
|
3341
|
-
# ID:key/1234abcd-12ab-34cd-56ef-1234567890ab"
|
3421
|
+
# another account:
|
3422
|
+
# "arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab"
|
3342
3423
|
#
|
3343
3424
|
# * ARN of a KMS Key Alias: "arn:aws:kms:region:account
|
3344
3425
|
# ID:alias/ExampleAlias"
|
@@ -3351,6 +3432,12 @@ module Aws::TranscribeService
|
|
3351
3432
|
# specify an output location in the `OutputBucketName` parameter.
|
3352
3433
|
# @return [String]
|
3353
3434
|
#
|
3435
|
+
# @!attribute [rw] kms_encryption_context
|
3436
|
+
# A map of plain text, non-secret key:value pairs, known as encryption
|
3437
|
+
# context pairs, that provide an added layer of security for your
|
3438
|
+
# data.
|
3439
|
+
# @return [Hash<String,String>]
|
3440
|
+
#
|
3354
3441
|
# @!attribute [rw] settings
|
3355
3442
|
# Optional settings for the medical transcription job.
|
3356
3443
|
# @return [Types::MedicalTranscriptionSetting]
|
@@ -3388,6 +3475,7 @@ module Aws::TranscribeService
|
|
3388
3475
|
:output_bucket_name,
|
3389
3476
|
:output_key,
|
3390
3477
|
:output_encryption_kms_key_id,
|
3478
|
+
:kms_encryption_context,
|
3391
3479
|
:settings,
|
3392
3480
|
:content_identification_type,
|
3393
3481
|
:specialty,
|
@@ -3424,6 +3512,9 @@ module Aws::TranscribeService
|
|
3424
3512
|
# output_bucket_name: "OutputBucketName",
|
3425
3513
|
# output_key: "OutputKey",
|
3426
3514
|
# output_encryption_kms_key_id: "KMSKeyId",
|
3515
|
+
# kms_encryption_context: {
|
3516
|
+
# "NonEmptyString" => "NonEmptyString",
|
3517
|
+
# },
|
3427
3518
|
# settings: {
|
3428
3519
|
# vocabulary_name: "VocabularyName",
|
3429
3520
|
# show_speaker_labels: false,
|
@@ -3447,12 +3538,22 @@ module Aws::TranscribeService
|
|
3447
3538
|
# },
|
3448
3539
|
# identify_language: false,
|
3449
3540
|
# 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
|
3541
|
+
# subtitles: {
|
3542
|
+
# formats: ["vtt"], # accepts vtt, srt
|
3543
|
+
# },
|
3450
3544
|
# tags: [
|
3451
3545
|
# {
|
3452
3546
|
# key: "TagKey", # required
|
3453
3547
|
# value: "TagValue", # required
|
3454
3548
|
# },
|
3455
3549
|
# ],
|
3550
|
+
# language_id_settings: {
|
3551
|
+
# "af-ZA" => {
|
3552
|
+
# vocabulary_name: "VocabularyName",
|
3553
|
+
# vocabulary_filter_name: "VocabularyFilterName",
|
3554
|
+
# language_model_name: "ModelName",
|
3555
|
+
# },
|
3556
|
+
# },
|
3456
3557
|
# }
|
3457
3558
|
#
|
3458
3559
|
# @!attribute [rw] transcription_job_name
|
@@ -3565,8 +3666,8 @@ module Aws::TranscribeService
|
|
3565
3666
|
# "arn:aws:kms:region:account
|
3566
3667
|
# ID:key/1234abcd-12ab-34cd-56ef-1234567890ab"
|
3567
3668
|
#
|
3568
|
-
# * ARN of a KMS Key Alias:
|
3569
|
-
# ID:alias/ExampleAlias"
|
3669
|
+
# * ARN of a KMS Key Alias:
|
3670
|
+
# "arn:aws:kms:region:account-ID:alias/ExampleAlias"
|
3570
3671
|
#
|
3571
3672
|
# If you don't specify an encryption key, the output of the
|
3572
3673
|
# transcription job is encrypted with the default Amazon S3 key
|
@@ -3576,6 +3677,12 @@ module Aws::TranscribeService
|
|
3576
3677
|
# specify an output location in the `OutputBucketName` parameter.
|
3577
3678
|
# @return [String]
|
3578
3679
|
#
|
3680
|
+
# @!attribute [rw] kms_encryption_context
|
3681
|
+
# A map of plain text, non-secret key:value pairs, known as encryption
|
3682
|
+
# context pairs, that provide an added layer of security for your
|
3683
|
+
# data.
|
3684
|
+
# @return [Hash<String,String>]
|
3685
|
+
#
|
3579
3686
|
# @!attribute [rw] settings
|
3580
3687
|
# A `Settings` object that provides optional settings for a
|
3581
3688
|
# transcription job.
|
@@ -3616,10 +3723,20 @@ module Aws::TranscribeService
|
|
3616
3723
|
# higher.
|
3617
3724
|
# @return [Array<String>]
|
3618
3725
|
#
|
3726
|
+
# @!attribute [rw] subtitles
|
3727
|
+
# Add subtitles to your batch transcription job.
|
3728
|
+
# @return [Types::Subtitles]
|
3729
|
+
#
|
3619
3730
|
# @!attribute [rw] tags
|
3620
3731
|
# Add tags to an Amazon Transcribe transcription job.
|
3621
3732
|
# @return [Array<Types::Tag>]
|
3622
3733
|
#
|
3734
|
+
# @!attribute [rw] language_id_settings
|
3735
|
+
# The language identification settings associated with your
|
3736
|
+
# transcription job. These settings include `VocabularyName`,
|
3737
|
+
# `VocabularyFilterName`, and `LanguageModelName`.
|
3738
|
+
# @return [Hash<String,Types::LanguageIdSettings>]
|
3739
|
+
#
|
3623
3740
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartTranscriptionJobRequest AWS API Documentation
|
3624
3741
|
#
|
3625
3742
|
class StartTranscriptionJobRequest < Struct.new(
|
@@ -3631,13 +3748,16 @@ module Aws::TranscribeService
|
|
3631
3748
|
:output_bucket_name,
|
3632
3749
|
:output_key,
|
3633
3750
|
:output_encryption_kms_key_id,
|
3751
|
+
:kms_encryption_context,
|
3634
3752
|
:settings,
|
3635
3753
|
:model_settings,
|
3636
3754
|
:job_execution_settings,
|
3637
3755
|
:content_redaction,
|
3638
3756
|
:identify_language,
|
3639
3757
|
:language_options,
|
3640
|
-
:
|
3758
|
+
:subtitles,
|
3759
|
+
:tags,
|
3760
|
+
:language_id_settings)
|
3641
3761
|
SENSITIVE = []
|
3642
3762
|
include Aws::Structure
|
3643
3763
|
end
|
@@ -3654,6 +3774,48 @@ module Aws::TranscribeService
|
|
3654
3774
|
include Aws::Structure
|
3655
3775
|
end
|
3656
3776
|
|
3777
|
+
# Generate subtitles for your batch transcription job.
|
3778
|
+
#
|
3779
|
+
# @note When making an API call, you may pass Subtitles
|
3780
|
+
# data as a hash:
|
3781
|
+
#
|
3782
|
+
# {
|
3783
|
+
# formats: ["vtt"], # accepts vtt, srt
|
3784
|
+
# }
|
3785
|
+
#
|
3786
|
+
# @!attribute [rw] formats
|
3787
|
+
# Specify the output format for your subtitle file.
|
3788
|
+
# @return [Array<String>]
|
3789
|
+
#
|
3790
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/Subtitles AWS API Documentation
|
3791
|
+
#
|
3792
|
+
class Subtitles < Struct.new(
|
3793
|
+
:formats)
|
3794
|
+
SENSITIVE = []
|
3795
|
+
include Aws::Structure
|
3796
|
+
end
|
3797
|
+
|
3798
|
+
# Specify the output format for your subtitle file.
|
3799
|
+
#
|
3800
|
+
# @!attribute [rw] formats
|
3801
|
+
# Specify the output format for your subtitle file; if you select both
|
3802
|
+
# SRT and VTT formats, two output files are genereated.
|
3803
|
+
# @return [Array<String>]
|
3804
|
+
#
|
3805
|
+
# @!attribute [rw] subtitle_file_uris
|
3806
|
+
# Choose the output location for your subtitle file. This location
|
3807
|
+
# must be an S3 bucket.
|
3808
|
+
# @return [Array<String>]
|
3809
|
+
#
|
3810
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/SubtitlesOutput AWS API Documentation
|
3811
|
+
#
|
3812
|
+
class SubtitlesOutput < Struct.new(
|
3813
|
+
:formats,
|
3814
|
+
:subtitle_file_uris)
|
3815
|
+
SENSITIVE = []
|
3816
|
+
include Aws::Structure
|
3817
|
+
end
|
3818
|
+
|
3657
3819
|
# A key:value pair that adds metadata to a resource used by Amazon
|
3658
3820
|
# Transcribe. For example, a tag with the key:value pair
|
3659
3821
|
# ‘Department’:’Sales’ might be added to a resource to indicate its use
|
@@ -3703,7 +3865,13 @@ module Aws::TranscribeService
|
|
3703
3865
|
#
|
3704
3866
|
# @!attribute [rw] resource_arn
|
3705
3867
|
# The Amazon Resource Name (ARN) of the Amazon Transcribe resource you
|
3706
|
-
# want to tag.
|
3868
|
+
# want to tag. ARNs have the format
|
3869
|
+
# `arn:partition:service:region:account-id:resource-type/resource-id`
|
3870
|
+
# (for example,
|
3871
|
+
# `arn:aws:transcribe:us-east-1:account-id:transcription-job/your-job-name`).
|
3872
|
+
# Valid values for `resource-type` are: `transcription-job`,
|
3873
|
+
# `medical-transcription-job`, `vocabulary`, `medical-vocabulary`,
|
3874
|
+
# `vocabulary-filter`, and `language-model`.
|
3707
3875
|
# @return [String]
|
3708
3876
|
#
|
3709
3877
|
# @!attribute [rw] tags
|
@@ -3954,6 +4122,17 @@ module Aws::TranscribeService
|
|
3954
4122
|
# A key:value pair assigned to a given transcription job.
|
3955
4123
|
# @return [Array<Types::Tag>]
|
3956
4124
|
#
|
4125
|
+
# @!attribute [rw] subtitles
|
4126
|
+
# Generate subtitles for your batch transcription job.
|
4127
|
+
# @return [Types::SubtitlesOutput]
|
4128
|
+
#
|
4129
|
+
# @!attribute [rw] language_id_settings
|
4130
|
+
# Language-specific settings that can be specified when language
|
4131
|
+
# identification is enabled for your transcription job. These settings
|
4132
|
+
# include `VocabularyName`, `VocabularyFilterName`, and
|
4133
|
+
# `LanguageModelName`LanguageModelName.
|
4134
|
+
# @return [Hash<String,Types::LanguageIdSettings>]
|
4135
|
+
#
|
3957
4136
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/TranscriptionJob AWS API Documentation
|
3958
4137
|
#
|
3959
4138
|
class TranscriptionJob < Struct.new(
|
@@ -3975,7 +4154,9 @@ module Aws::TranscribeService
|
|
3975
4154
|
:identify_language,
|
3976
4155
|
:language_options,
|
3977
4156
|
:identified_language_score,
|
3978
|
-
:tags
|
4157
|
+
:tags,
|
4158
|
+
:subtitles,
|
4159
|
+
:language_id_settings)
|
3979
4160
|
SENSITIVE = []
|
3980
4161
|
include Aws::Structure
|
3981
4162
|
end
|
@@ -4075,7 +4256,13 @@ module Aws::TranscribeService
|
|
4075
4256
|
#
|
4076
4257
|
# @!attribute [rw] resource_arn
|
4077
4258
|
# The Amazon Resource Name (ARN) of the Amazon Transcribe resource you
|
4078
|
-
# want to remove tags from.
|
4259
|
+
# want to remove tags from. ARNs have the format
|
4260
|
+
# `arn:partition:service:region:account-id:resource-type/resource-id`
|
4261
|
+
# (for example,
|
4262
|
+
# `arn:aws:transcribe:us-east-1:account-id:transcription-job/your-job-name`).
|
4263
|
+
# Valid values for `resource-type` are: `transcription-job`,
|
4264
|
+
# `medical-transcription-job`, `vocabulary`, `medical-vocabulary`,
|
4265
|
+
# `vocabulary-filter`, and `language-model`.
|
4079
4266
|
# @return [String]
|
4080
4267
|
#
|
4081
4268
|
# @!attribute [rw] tag_keys
|
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.65.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-29 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
|