aws-sdk-transcribeservice 1.62.0 → 1.66.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: c3a08bc63113d37f2d4c4fa67c20c3175be38240d929de23b194672109ce972b
4
+ data.tar.gz: 66828db78ddf6c22cab42a1ecb39ba813b0af7f5dc968b678a0b6f16068653e8
5
5
  SHA512:
6
- metadata.gz: 05d588a06a55946c205fe3d6abb788dda1eb923b2721a95eddba02140ac71a4ece51504a7f71184e1dbb55b4e8153baafd4f00ca22604cb3fc0165fe7cfac4f3
7
- data.tar.gz: ba80c14131c903485e4b67095271a9074ac959845f2fb34ef7a7602e5e3373e7ceff7ede121f29dcd9c817507f76132251b7b14f7b33a498abc3e12d854c5418
6
+ metadata.gz: 0b1a58469aaeb720c56ad0749c0e5daf06e886e5559ba319612c624d15a2f009258c9e72a9d78949cf2dcf160f7b27c7f4116fba87ca3393e1887637dafe20ac
7
+ data.tar.gz: f828d058a0c316de95381c6b0c1d1b68e4a1e22eeac759500d9e715ead446e1c3eaeaa4bfd08f2cce574f5d3f90021e8c3e3da310c877fca3cbea8fff2be3839
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.66.0 (2021-11-04)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.65.0 (2021-10-29)
10
+ ------------------
11
+
12
+ * Feature - Transcribe and Transcribe Call Analytics now support automatic language identification along with custom vocabulary, vocabulary filter, custom language model and PII redaction.
13
+
14
+ 1.64.0 (2021-10-18)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.63.0 (2021-09-16)
20
+ ------------------
21
+
22
+ * Feature - This release adds support for subtitling with Amazon Transcribe batch jobs.
23
+
4
24
  1.62.0 (2021-09-10)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.62.0
1
+ 1.66.0
@@ -285,6 +285,15 @@ module Aws::TranscribeService
285
285
  # ** Please note ** When response stubbing is enabled, no HTTP
286
286
  # requests are made, and retries are disabled.
287
287
  #
288
+ # @option options [Boolean] :use_dualstack_endpoint
289
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
290
+ # will be used if available.
291
+ #
292
+ # @option options [Boolean] :use_fips_endpoint
293
+ # When set to `true`, fips compatible endpoints will be used if available.
294
+ # When a `fips` region is used, the region is normalized and this config
295
+ # is set to `true`.
296
+ #
288
297
  # @option options [Boolean] :validate_params (true)
289
298
  # When `true`, request parameters are validated before
290
299
  # sending the request.
@@ -1167,6 +1176,10 @@ module Aws::TranscribeService
1167
1176
  # resp.call_analytics_job.settings.content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
1168
1177
  # resp.call_analytics_job.settings.language_options #=> Array
1169
1178
  # 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"
1179
+ # resp.call_analytics_job.settings.language_id_settings #=> Hash
1180
+ # resp.call_analytics_job.settings.language_id_settings["LanguageCode"].vocabulary_name #=> String
1181
+ # resp.call_analytics_job.settings.language_id_settings["LanguageCode"].vocabulary_filter_name #=> String
1182
+ # resp.call_analytics_job.settings.language_id_settings["LanguageCode"].language_model_name #=> String
1170
1183
  # resp.call_analytics_job.channel_definitions #=> Array
1171
1184
  # resp.call_analytics_job.channel_definitions[0].channel_id #=> Integer
1172
1185
  # resp.call_analytics_job.channel_definitions[0].participant_role #=> String, one of "AGENT", "CUSTOMER"
@@ -1329,6 +1342,14 @@ module Aws::TranscribeService
1329
1342
  # resp.transcription_job.tags #=> Array
1330
1343
  # resp.transcription_job.tags[0].key #=> String
1331
1344
  # resp.transcription_job.tags[0].value #=> String
1345
+ # resp.transcription_job.subtitles.formats #=> Array
1346
+ # resp.transcription_job.subtitles.formats[0] #=> String, one of "vtt", "srt"
1347
+ # resp.transcription_job.subtitles.subtitle_file_uris #=> Array
1348
+ # resp.transcription_job.subtitles.subtitle_file_uris[0] #=> String
1349
+ # resp.transcription_job.language_id_settings #=> Hash
1350
+ # resp.transcription_job.language_id_settings["LanguageCode"].vocabulary_name #=> String
1351
+ # resp.transcription_job.language_id_settings["LanguageCode"].vocabulary_filter_name #=> String
1352
+ # resp.transcription_job.language_id_settings["LanguageCode"].language_model_name #=> String
1332
1353
  #
1333
1354
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetTranscriptionJob AWS API Documentation
1334
1355
  #
@@ -1766,6 +1787,13 @@ module Aws::TranscribeService
1766
1787
  #
1767
1788
  # @option params [required, String] :resource_arn
1768
1789
  # Lists all tags associated with a given Amazon Resource Name (ARN).
1790
+ # ARNs have the format
1791
+ # `arn:partition:service:region:account-id:resource-type/resource-id`
1792
+ # (for example,
1793
+ # `arn:aws:transcribe:us-east-1:account-id:transcription-job/your-job-name`).
1794
+ # Valid values for `resource-type` are: `transcription-job`,
1795
+ # `medical-transcription-job`, `vocabulary`, `medical-vocabulary`,
1796
+ # `vocabulary-filter`, and `language-model`.
1769
1797
  #
1770
1798
  # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1771
1799
  #
@@ -2090,6 +2118,13 @@ module Aws::TranscribeService
2090
2118
  # redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
2091
2119
  # },
2092
2120
  # 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
2121
+ # language_id_settings: {
2122
+ # "af-ZA" => {
2123
+ # vocabulary_name: "VocabularyName",
2124
+ # vocabulary_filter_name: "VocabularyFilterName",
2125
+ # language_model_name: "ModelName",
2126
+ # },
2127
+ # },
2093
2128
  # },
2094
2129
  # channel_definitions: [
2095
2130
  # {
@@ -2124,6 +2159,10 @@ module Aws::TranscribeService
2124
2159
  # resp.call_analytics_job.settings.content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
2125
2160
  # resp.call_analytics_job.settings.language_options #=> Array
2126
2161
  # 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"
2162
+ # resp.call_analytics_job.settings.language_id_settings #=> Hash
2163
+ # resp.call_analytics_job.settings.language_id_settings["LanguageCode"].vocabulary_name #=> String
2164
+ # resp.call_analytics_job.settings.language_id_settings["LanguageCode"].vocabulary_filter_name #=> String
2165
+ # resp.call_analytics_job.settings.language_id_settings["LanguageCode"].language_model_name #=> String
2127
2166
  # resp.call_analytics_job.channel_definitions #=> Array
2128
2167
  # resp.call_analytics_job.channel_definitions[0].channel_id #=> Integer
2129
2168
  # resp.call_analytics_job.channel_definitions[0].participant_role #=> String, one of "AGENT", "CUSTOMER"
@@ -2228,8 +2267,8 @@ module Aws::TranscribeService
2228
2267
  # current account or another account:
2229
2268
  #
2230
2269
  # * Amazon Resource Name (ARN) of a KMS key in the current account or
2231
- # another account: "arn:aws:kms:region:account
2232
- # ID:key/1234abcd-12ab-34cd-56ef-1234567890ab"
2270
+ # another account:
2271
+ # "arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab"
2233
2272
  #
2234
2273
  # * ARN of a KMS Key Alias: "arn:aws:kms:region:account
2235
2274
  # ID:alias/ExampleAlias"
@@ -2443,8 +2482,8 @@ module Aws::TranscribeService
2443
2482
  # "arn:aws:kms:region:account
2444
2483
  # ID:key/1234abcd-12ab-34cd-56ef-1234567890ab"
2445
2484
  #
2446
- # * ARN of a KMS Key Alias: "arn:aws:kms:region:account
2447
- # ID:alias/ExampleAlias"
2485
+ # * ARN of a KMS Key Alias:
2486
+ # "arn:aws:kms:region:account-ID:alias/ExampleAlias"
2448
2487
  #
2449
2488
  # If you don't specify an encryption key, the output of the
2450
2489
  # transcription job is encrypted with the default Amazon S3 key
@@ -2488,9 +2527,17 @@ module Aws::TranscribeService
2488
2527
  # To transcribe speech in Modern Standard Arabic (ar-SA), your audio or
2489
2528
  # video file must be encoded at a sample rate of 16,000 Hz or higher.
2490
2529
  #
2530
+ # @option params [Types::Subtitles] :subtitles
2531
+ # Add subtitles to your batch transcription job.
2532
+ #
2491
2533
  # @option params [Array<Types::Tag>] :tags
2492
2534
  # Add tags to an Amazon Transcribe transcription job.
2493
2535
  #
2536
+ # @option params [Hash<String,Types::LanguageIdSettings>] :language_id_settings
2537
+ # The language identification settings associated with your
2538
+ # transcription job. These settings include `VocabularyName`,
2539
+ # `VocabularyFilterName`, and `LanguageModelName`.
2540
+ #
2494
2541
  # @return [Types::StartTranscriptionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2495
2542
  #
2496
2543
  # * {Types::StartTranscriptionJobResponse#transcription_job #transcription_job} => Types::TranscriptionJob
@@ -2535,12 +2582,22 @@ module Aws::TranscribeService
2535
2582
  # },
2536
2583
  # identify_language: false,
2537
2584
  # 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
2585
+ # subtitles: {
2586
+ # formats: ["vtt"], # accepts vtt, srt
2587
+ # },
2538
2588
  # tags: [
2539
2589
  # {
2540
2590
  # key: "TagKey", # required
2541
2591
  # value: "TagValue", # required
2542
2592
  # },
2543
2593
  # ],
2594
+ # language_id_settings: {
2595
+ # "af-ZA" => {
2596
+ # vocabulary_name: "VocabularyName",
2597
+ # vocabulary_filter_name: "VocabularyFilterName",
2598
+ # language_model_name: "ModelName",
2599
+ # },
2600
+ # },
2544
2601
  # })
2545
2602
  #
2546
2603
  # @example Response structure
@@ -2578,6 +2635,14 @@ module Aws::TranscribeService
2578
2635
  # resp.transcription_job.tags #=> Array
2579
2636
  # resp.transcription_job.tags[0].key #=> String
2580
2637
  # resp.transcription_job.tags[0].value #=> String
2638
+ # resp.transcription_job.subtitles.formats #=> Array
2639
+ # resp.transcription_job.subtitles.formats[0] #=> String, one of "vtt", "srt"
2640
+ # resp.transcription_job.subtitles.subtitle_file_uris #=> Array
2641
+ # resp.transcription_job.subtitles.subtitle_file_uris[0] #=> String
2642
+ # resp.transcription_job.language_id_settings #=> Hash
2643
+ # resp.transcription_job.language_id_settings["LanguageCode"].vocabulary_name #=> String
2644
+ # resp.transcription_job.language_id_settings["LanguageCode"].vocabulary_filter_name #=> String
2645
+ # resp.transcription_job.language_id_settings["LanguageCode"].language_model_name #=> String
2581
2646
  #
2582
2647
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartTranscriptionJob AWS API Documentation
2583
2648
  #
@@ -2588,11 +2653,17 @@ module Aws::TranscribeService
2588
2653
  req.send_request(options)
2589
2654
  end
2590
2655
 
2591
- # Tags a Amazon Transcribe resource with the given list of tags.
2656
+ # Tags an Amazon Transcribe resource with the given list of tags.
2592
2657
  #
2593
2658
  # @option params [required, String] :resource_arn
2594
2659
  # The Amazon Resource Name (ARN) of the Amazon Transcribe resource you
2595
- # want to tag.
2660
+ # want to tag. ARNs have the format
2661
+ # `arn:partition:service:region:account-id:resource-type/resource-id`
2662
+ # (for example,
2663
+ # `arn:aws:transcribe:us-east-1:account-id:transcription-job/your-job-name`).
2664
+ # Valid values for `resource-type` are: `transcription-job`,
2665
+ # `medical-transcription-job`, `vocabulary`, `medical-vocabulary`,
2666
+ # `vocabulary-filter`, and `language-model`.
2596
2667
  #
2597
2668
  # @option params [required, Array<Types::Tag>] :tags
2598
2669
  # The tags you are assigning to a given Amazon Transcribe resource.
@@ -2624,7 +2695,13 @@ module Aws::TranscribeService
2624
2695
  #
2625
2696
  # @option params [required, String] :resource_arn
2626
2697
  # The Amazon Resource Name (ARN) of the Amazon Transcribe resource you
2627
- # want to remove tags from.
2698
+ # want to remove tags from. ARNs have the format
2699
+ # `arn:partition:service:region:account-id:resource-type/resource-id`
2700
+ # (for example,
2701
+ # `arn:aws:transcribe:us-east-1:account-id:transcription-job/your-job-name`).
2702
+ # Valid values for `resource-type` are: `transcription-job`,
2703
+ # `medical-transcription-job`, `vocabulary`, `medical-vocabulary`,
2704
+ # `vocabulary-filter`, and `language-model`.
2628
2705
  #
2629
2706
  # @option params [required, Array<String>] :tag_keys
2630
2707
  # A list of tag keys you want to remove from a specified Amazon
@@ -3020,7 +3097,7 @@ module Aws::TranscribeService
3020
3097
  params: params,
3021
3098
  config: config)
3022
3099
  context[:gem_name] = 'aws-sdk-transcribeservice'
3023
- context[:gem_version] = '1.62.0'
3100
+ context[:gem_version] = '1.66.0'
3024
3101
  Seahorse::Client::Request.new(handlers, context)
3025
3102
  end
3026
3103
 
@@ -79,6 +79,8 @@ module Aws::TranscribeService
79
79
  KMSEncryptionContextMap = Shapes::MapShape.new(name: 'KMSEncryptionContextMap')
80
80
  KMSKeyId = Shapes::StringShape.new(name: 'KMSKeyId')
81
81
  LanguageCode = Shapes::StringShape.new(name: 'LanguageCode')
82
+ LanguageIdSettings = Shapes::StructureShape.new(name: 'LanguageIdSettings')
83
+ LanguageIdSettingsMap = Shapes::MapShape.new(name: 'LanguageIdSettingsMap')
82
84
  LanguageModel = Shapes::StructureShape.new(name: 'LanguageModel')
83
85
  LanguageOptions = Shapes::ListShape.new(name: 'LanguageOptions')
84
86
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
@@ -145,6 +147,11 @@ module Aws::TranscribeService
145
147
  StartTranscriptionJobResponse = Shapes::StructureShape.new(name: 'StartTranscriptionJobResponse')
146
148
  String = Shapes::StringShape.new(name: 'String')
147
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')
148
155
  Tag = Shapes::StructureShape.new(name: 'Tag')
149
156
  TagKey = Shapes::StringShape.new(name: 'TagKey')
150
157
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
@@ -217,6 +224,7 @@ module Aws::TranscribeService
217
224
  CallAnalyticsJobSettings.add_member(:language_model_name, Shapes::ShapeRef.new(shape: ModelName, location_name: "LanguageModelName"))
218
225
  CallAnalyticsJobSettings.add_member(:content_redaction, Shapes::ShapeRef.new(shape: ContentRedaction, location_name: "ContentRedaction"))
219
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"))
220
228
  CallAnalyticsJobSettings.struct_class = Types::CallAnalyticsJobSettings
221
229
 
222
230
  CallAnalyticsJobSummaries.member = Shapes::ShapeRef.new(shape: CallAnalyticsJobSummary)
@@ -422,6 +430,14 @@ module Aws::TranscribeService
422
430
  KMSEncryptionContextMap.key = Shapes::ShapeRef.new(shape: NonEmptyString)
423
431
  KMSEncryptionContextMap.value = Shapes::ShapeRef.new(shape: NonEmptyString)
424
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
+
425
441
  LanguageModel.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, location_name: "ModelName"))
426
442
  LanguageModel.add_member(:create_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreateTime"))
427
443
  LanguageModel.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastModifiedTime"))
@@ -676,7 +692,9 @@ module Aws::TranscribeService
676
692
  StartTranscriptionJobRequest.add_member(:content_redaction, Shapes::ShapeRef.new(shape: ContentRedaction, location_name: "ContentRedaction"))
677
693
  StartTranscriptionJobRequest.add_member(:identify_language, Shapes::ShapeRef.new(shape: Boolean, location_name: "IdentifyLanguage"))
678
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"))
679
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"))
680
698
  StartTranscriptionJobRequest.struct_class = Types::StartTranscriptionJobRequest
681
699
 
682
700
  StartTranscriptionJobResponse.add_member(:transcription_job, Shapes::ShapeRef.new(shape: TranscriptionJob, location_name: "TranscriptionJob"))
@@ -684,6 +702,17 @@ module Aws::TranscribeService
684
702
 
685
703
  StringTargetList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
686
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
+
687
716
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
688
717
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
689
718
  Tag.struct_class = Types::Tag
@@ -729,6 +758,8 @@ module Aws::TranscribeService
729
758
  TranscriptionJob.add_member(:language_options, Shapes::ShapeRef.new(shape: LanguageOptions, location_name: "LanguageOptions"))
730
759
  TranscriptionJob.add_member(:identified_language_score, Shapes::ShapeRef.new(shape: IdentifiedLanguageScore, location_name: "IdentifiedLanguageScore"))
731
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"))
732
763
  TranscriptionJob.struct_class = Types::TranscriptionJob
733
764
 
734
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 get access to the
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
@@ -1623,11 +1640,13 @@ module Aws::TranscribeService
1623
1640
  # @return [Boolean]
1624
1641
  #
1625
1642
  # @!attribute [rw] data_access_role_arn
1626
- # The Amazon Resource Name (ARN) of a role that has access to the S3
1627
- # bucket that contains the input files. Amazon Transcribe assumes this
1628
- # role to read queued media files. If you have specified an output S3
1629
- # bucket for the transcription results, this role should have access
1630
- # to the output bucket as well.
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.
1631
1650
  #
1632
1651
  # If you specify the `AllowDeferredExecution` field, you must specify
1633
1652
  # the `DataAccessRoleArn` field.
@@ -1642,6 +1661,49 @@ module Aws::TranscribeService
1642
1661
  include Aws::Structure
1643
1662
  end
1644
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
+
1645
1707
  # The structure used to describe a custom language model.
1646
1708
  #
1647
1709
  # @!attribute [rw] model_name
@@ -2067,6 +2129,13 @@ module Aws::TranscribeService
2067
2129
  #
2068
2130
  # @!attribute [rw] resource_arn
2069
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`.
2070
2139
  # @return [String]
2071
2140
  #
2072
2141
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListTagsForResourceRequest AWS API Documentation
@@ -3076,6 +3145,13 @@ module Aws::TranscribeService
3076
3145
  # redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
3077
3146
  # },
3078
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
+ # },
3079
3155
  # },
3080
3156
  # channel_definitions: [
3081
3157
  # {
@@ -3342,8 +3418,8 @@ module Aws::TranscribeService
3342
3418
  # current account or another account:
3343
3419
  #
3344
3420
  # * Amazon Resource Name (ARN) of a KMS key in the current account or
3345
- # another account: "arn:aws:kms:region:account
3346
- # ID:key/1234abcd-12ab-34cd-56ef-1234567890ab"
3421
+ # another account:
3422
+ # "arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab"
3347
3423
  #
3348
3424
  # * ARN of a KMS Key Alias: "arn:aws:kms:region:account
3349
3425
  # ID:alias/ExampleAlias"
@@ -3462,12 +3538,22 @@ module Aws::TranscribeService
3462
3538
  # },
3463
3539
  # identify_language: false,
3464
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
+ # },
3465
3544
  # tags: [
3466
3545
  # {
3467
3546
  # key: "TagKey", # required
3468
3547
  # value: "TagValue", # required
3469
3548
  # },
3470
3549
  # ],
3550
+ # language_id_settings: {
3551
+ # "af-ZA" => {
3552
+ # vocabulary_name: "VocabularyName",
3553
+ # vocabulary_filter_name: "VocabularyFilterName",
3554
+ # language_model_name: "ModelName",
3555
+ # },
3556
+ # },
3471
3557
  # }
3472
3558
  #
3473
3559
  # @!attribute [rw] transcription_job_name
@@ -3580,8 +3666,8 @@ module Aws::TranscribeService
3580
3666
  # "arn:aws:kms:region:account
3581
3667
  # ID:key/1234abcd-12ab-34cd-56ef-1234567890ab"
3582
3668
  #
3583
- # * ARN of a KMS Key Alias: "arn:aws:kms:region:account
3584
- # ID:alias/ExampleAlias"
3669
+ # * ARN of a KMS Key Alias:
3670
+ # "arn:aws:kms:region:account-ID:alias/ExampleAlias"
3585
3671
  #
3586
3672
  # If you don't specify an encryption key, the output of the
3587
3673
  # transcription job is encrypted with the default Amazon S3 key
@@ -3637,10 +3723,20 @@ module Aws::TranscribeService
3637
3723
  # higher.
3638
3724
  # @return [Array<String>]
3639
3725
  #
3726
+ # @!attribute [rw] subtitles
3727
+ # Add subtitles to your batch transcription job.
3728
+ # @return [Types::Subtitles]
3729
+ #
3640
3730
  # @!attribute [rw] tags
3641
3731
  # Add tags to an Amazon Transcribe transcription job.
3642
3732
  # @return [Array<Types::Tag>]
3643
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
+ #
3644
3740
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartTranscriptionJobRequest AWS API Documentation
3645
3741
  #
3646
3742
  class StartTranscriptionJobRequest < Struct.new(
@@ -3659,7 +3755,9 @@ module Aws::TranscribeService
3659
3755
  :content_redaction,
3660
3756
  :identify_language,
3661
3757
  :language_options,
3662
- :tags)
3758
+ :subtitles,
3759
+ :tags,
3760
+ :language_id_settings)
3663
3761
  SENSITIVE = []
3664
3762
  include Aws::Structure
3665
3763
  end
@@ -3676,6 +3774,48 @@ module Aws::TranscribeService
3676
3774
  include Aws::Structure
3677
3775
  end
3678
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
+
3679
3819
  # A key:value pair that adds metadata to a resource used by Amazon
3680
3820
  # Transcribe. For example, a tag with the key:value pair
3681
3821
  # ‘Department’:’Sales’ might be added to a resource to indicate its use
@@ -3725,7 +3865,13 @@ module Aws::TranscribeService
3725
3865
  #
3726
3866
  # @!attribute [rw] resource_arn
3727
3867
  # The Amazon Resource Name (ARN) of the Amazon Transcribe resource you
3728
- # 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`.
3729
3875
  # @return [String]
3730
3876
  #
3731
3877
  # @!attribute [rw] tags
@@ -3976,6 +4122,17 @@ module Aws::TranscribeService
3976
4122
  # A key:value pair assigned to a given transcription job.
3977
4123
  # @return [Array<Types::Tag>]
3978
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
+ #
3979
4136
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/TranscriptionJob AWS API Documentation
3980
4137
  #
3981
4138
  class TranscriptionJob < Struct.new(
@@ -3997,7 +4154,9 @@ module Aws::TranscribeService
3997
4154
  :identify_language,
3998
4155
  :language_options,
3999
4156
  :identified_language_score,
4000
- :tags)
4157
+ :tags,
4158
+ :subtitles,
4159
+ :language_id_settings)
4001
4160
  SENSITIVE = []
4002
4161
  include Aws::Structure
4003
4162
  end
@@ -4097,7 +4256,13 @@ module Aws::TranscribeService
4097
4256
  #
4098
4257
  # @!attribute [rw] resource_arn
4099
4258
  # The Amazon Resource Name (ARN) of the Amazon Transcribe resource you
4100
- # 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`.
4101
4266
  # @return [String]
4102
4267
  #
4103
4268
  # @!attribute [rw] tag_keys
@@ -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.66.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.66.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-11-04 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.120.0
22
+ version: 3.122.0
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.120.0
32
+ version: 3.122.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement