aws-sdk-transcribeservice 1.63.0 → 1.67.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: e6f8e3c37fcef0263f9b812f4df34321cda2b5c1dc1a6e185f349d2e370b0bb5
4
- data.tar.gz: a94fcbf91b10e810f3e0c4d574f987630f76e26f1ac7946f50977535b0f0a047
3
+ metadata.gz: 9774ded29eb1a1f2140cb81816a384418b4cbda748050ecac60437f0b4591eee
4
+ data.tar.gz: bcf3b4309d61420e9ad52a192778eda4ef5c2d3546b43081a66d380af2cfd9cb
5
5
  SHA512:
6
- metadata.gz: b0053c106302e4a5fc5d6ed0bcd7914fd27fa800c6d5f0a1d431f0398c63ec60cf064eebf06f867c9c09879f2846e294832b37ec6fcd9e5001d9e0dee98d0c5a
7
- data.tar.gz: e98bf465e7e96423590afe3b02f433906c9ccde72dafd5d834b4a0ef0a9efd994712d5a6f9552e5935e122adae8f74c6cf4396e926ba682e37a51e6ef4f8e85d
6
+ metadata.gz: 0737e2a96b871a8b27b4d45d3435c3bc1644648b9c3f38eb8f1e128b59ef794db043af09033a49462fb703ac44564414c6af96fabd581f5e7761a8cfae4bbd62
7
+ data.tar.gz: 80f416acf5859367209b813a39e315b0892f4dde5c344d5b6b96ea5103ccc9befbc056caf79c71faadfc3f1161ef5dd232c88688a1b9d5f37444e65cc80a3551
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.67.0 (2021-11-30)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.66.0 (2021-11-04)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.65.0 (2021-10-29)
15
+ ------------------
16
+
17
+ * Feature - Transcribe and Transcribe Call Analytics now support automatic language identification along with custom vocabulary, vocabulary filter, custom language model and PII redaction.
18
+
19
+ 1.64.0 (2021-10-18)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.63.0 (2021-09-16)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.63.0
1
+ 1.67.0
@@ -119,7 +119,9 @@ module Aws::TranscribeService
119
119
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
120
  # are very aggressive. Construct and pass an instance of
121
121
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
122
+ # enable retries and extended timeouts. Instance profile credential
123
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
124
+ # to true.
123
125
  #
124
126
  # @option options [required, String] :region
125
127
  # The AWS region to connect to. The configured `:region` is
@@ -285,6 +287,15 @@ module Aws::TranscribeService
285
287
  # ** Please note ** When response stubbing is enabled, no HTTP
286
288
  # requests are made, and retries are disabled.
287
289
  #
290
+ # @option options [Boolean] :use_dualstack_endpoint
291
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
292
+ # will be used if available.
293
+ #
294
+ # @option options [Boolean] :use_fips_endpoint
295
+ # When set to `true`, fips compatible endpoints will be used if available.
296
+ # When a `fips` region is used, the region is normalized and this config
297
+ # is set to `true`.
298
+ #
288
299
  # @option options [Boolean] :validate_params (true)
289
300
  # When `true`, request parameters are validated before
290
301
  # sending the request.
@@ -1167,6 +1178,10 @@ module Aws::TranscribeService
1167
1178
  # resp.call_analytics_job.settings.content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
1168
1179
  # resp.call_analytics_job.settings.language_options #=> Array
1169
1180
  # 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"
1181
+ # resp.call_analytics_job.settings.language_id_settings #=> Hash
1182
+ # resp.call_analytics_job.settings.language_id_settings["LanguageCode"].vocabulary_name #=> String
1183
+ # resp.call_analytics_job.settings.language_id_settings["LanguageCode"].vocabulary_filter_name #=> String
1184
+ # resp.call_analytics_job.settings.language_id_settings["LanguageCode"].language_model_name #=> String
1170
1185
  # resp.call_analytics_job.channel_definitions #=> Array
1171
1186
  # resp.call_analytics_job.channel_definitions[0].channel_id #=> Integer
1172
1187
  # resp.call_analytics_job.channel_definitions[0].participant_role #=> String, one of "AGENT", "CUSTOMER"
@@ -1333,6 +1348,10 @@ module Aws::TranscribeService
1333
1348
  # resp.transcription_job.subtitles.formats[0] #=> String, one of "vtt", "srt"
1334
1349
  # resp.transcription_job.subtitles.subtitle_file_uris #=> Array
1335
1350
  # resp.transcription_job.subtitles.subtitle_file_uris[0] #=> String
1351
+ # resp.transcription_job.language_id_settings #=> Hash
1352
+ # resp.transcription_job.language_id_settings["LanguageCode"].vocabulary_name #=> String
1353
+ # resp.transcription_job.language_id_settings["LanguageCode"].vocabulary_filter_name #=> String
1354
+ # resp.transcription_job.language_id_settings["LanguageCode"].language_model_name #=> String
1336
1355
  #
1337
1356
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetTranscriptionJob AWS API Documentation
1338
1357
  #
@@ -1770,6 +1789,13 @@ module Aws::TranscribeService
1770
1789
  #
1771
1790
  # @option params [required, String] :resource_arn
1772
1791
  # Lists all tags associated with a given Amazon Resource Name (ARN).
1792
+ # ARNs have the format
1793
+ # `arn:partition:service:region:account-id:resource-type/resource-id`
1794
+ # (for example,
1795
+ # `arn:aws:transcribe:us-east-1:account-id:transcription-job/your-job-name`).
1796
+ # Valid values for `resource-type` are: `transcription-job`,
1797
+ # `medical-transcription-job`, `vocabulary`, `medical-vocabulary`,
1798
+ # `vocabulary-filter`, and `language-model`.
1773
1799
  #
1774
1800
  # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1775
1801
  #
@@ -2094,6 +2120,13 @@ module Aws::TranscribeService
2094
2120
  # redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
2095
2121
  # },
2096
2122
  # 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
2123
+ # language_id_settings: {
2124
+ # "af-ZA" => {
2125
+ # vocabulary_name: "VocabularyName",
2126
+ # vocabulary_filter_name: "VocabularyFilterName",
2127
+ # language_model_name: "ModelName",
2128
+ # },
2129
+ # },
2097
2130
  # },
2098
2131
  # channel_definitions: [
2099
2132
  # {
@@ -2128,6 +2161,10 @@ module Aws::TranscribeService
2128
2161
  # resp.call_analytics_job.settings.content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
2129
2162
  # resp.call_analytics_job.settings.language_options #=> Array
2130
2163
  # 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"
2164
+ # resp.call_analytics_job.settings.language_id_settings #=> Hash
2165
+ # resp.call_analytics_job.settings.language_id_settings["LanguageCode"].vocabulary_name #=> String
2166
+ # resp.call_analytics_job.settings.language_id_settings["LanguageCode"].vocabulary_filter_name #=> String
2167
+ # resp.call_analytics_job.settings.language_id_settings["LanguageCode"].language_model_name #=> String
2131
2168
  # resp.call_analytics_job.channel_definitions #=> Array
2132
2169
  # resp.call_analytics_job.channel_definitions[0].channel_id #=> Integer
2133
2170
  # resp.call_analytics_job.channel_definitions[0].participant_role #=> String, one of "AGENT", "CUSTOMER"
@@ -2232,8 +2269,8 @@ module Aws::TranscribeService
2232
2269
  # current account or another account:
2233
2270
  #
2234
2271
  # * Amazon Resource Name (ARN) of a KMS key in the current account or
2235
- # another account: "arn:aws:kms:region:account
2236
- # ID:key/1234abcd-12ab-34cd-56ef-1234567890ab"
2272
+ # another account:
2273
+ # "arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab"
2237
2274
  #
2238
2275
  # * ARN of a KMS Key Alias: "arn:aws:kms:region:account
2239
2276
  # ID:alias/ExampleAlias"
@@ -2447,8 +2484,8 @@ module Aws::TranscribeService
2447
2484
  # "arn:aws:kms:region:account
2448
2485
  # ID:key/1234abcd-12ab-34cd-56ef-1234567890ab"
2449
2486
  #
2450
- # * ARN of a KMS Key Alias: "arn:aws:kms:region:account
2451
- # ID:alias/ExampleAlias"
2487
+ # * ARN of a KMS Key Alias:
2488
+ # "arn:aws:kms:region:account-ID:alias/ExampleAlias"
2452
2489
  #
2453
2490
  # If you don't specify an encryption key, the output of the
2454
2491
  # transcription job is encrypted with the default Amazon S3 key
@@ -2498,6 +2535,11 @@ module Aws::TranscribeService
2498
2535
  # @option params [Array<Types::Tag>] :tags
2499
2536
  # Add tags to an Amazon Transcribe transcription job.
2500
2537
  #
2538
+ # @option params [Hash<String,Types::LanguageIdSettings>] :language_id_settings
2539
+ # The language identification settings associated with your
2540
+ # transcription job. These settings include `VocabularyName`,
2541
+ # `VocabularyFilterName`, and `LanguageModelName`.
2542
+ #
2501
2543
  # @return [Types::StartTranscriptionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2502
2544
  #
2503
2545
  # * {Types::StartTranscriptionJobResponse#transcription_job #transcription_job} => Types::TranscriptionJob
@@ -2551,6 +2593,13 @@ module Aws::TranscribeService
2551
2593
  # value: "TagValue", # required
2552
2594
  # },
2553
2595
  # ],
2596
+ # language_id_settings: {
2597
+ # "af-ZA" => {
2598
+ # vocabulary_name: "VocabularyName",
2599
+ # vocabulary_filter_name: "VocabularyFilterName",
2600
+ # language_model_name: "ModelName",
2601
+ # },
2602
+ # },
2554
2603
  # })
2555
2604
  #
2556
2605
  # @example Response structure
@@ -2592,6 +2641,10 @@ module Aws::TranscribeService
2592
2641
  # resp.transcription_job.subtitles.formats[0] #=> String, one of "vtt", "srt"
2593
2642
  # resp.transcription_job.subtitles.subtitle_file_uris #=> Array
2594
2643
  # resp.transcription_job.subtitles.subtitle_file_uris[0] #=> String
2644
+ # resp.transcription_job.language_id_settings #=> Hash
2645
+ # resp.transcription_job.language_id_settings["LanguageCode"].vocabulary_name #=> String
2646
+ # resp.transcription_job.language_id_settings["LanguageCode"].vocabulary_filter_name #=> String
2647
+ # resp.transcription_job.language_id_settings["LanguageCode"].language_model_name #=> String
2595
2648
  #
2596
2649
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartTranscriptionJob AWS API Documentation
2597
2650
  #
@@ -2602,11 +2655,17 @@ module Aws::TranscribeService
2602
2655
  req.send_request(options)
2603
2656
  end
2604
2657
 
2605
- # Tags a Amazon Transcribe resource with the given list of tags.
2658
+ # Tags an Amazon Transcribe resource with the given list of tags.
2606
2659
  #
2607
2660
  # @option params [required, String] :resource_arn
2608
2661
  # The Amazon Resource Name (ARN) of the Amazon Transcribe resource you
2609
- # want to tag.
2662
+ # want to tag. ARNs have the format
2663
+ # `arn:partition:service:region:account-id:resource-type/resource-id`
2664
+ # (for example,
2665
+ # `arn:aws:transcribe:us-east-1:account-id:transcription-job/your-job-name`).
2666
+ # Valid values for `resource-type` are: `transcription-job`,
2667
+ # `medical-transcription-job`, `vocabulary`, `medical-vocabulary`,
2668
+ # `vocabulary-filter`, and `language-model`.
2610
2669
  #
2611
2670
  # @option params [required, Array<Types::Tag>] :tags
2612
2671
  # The tags you are assigning to a given Amazon Transcribe resource.
@@ -2638,7 +2697,13 @@ module Aws::TranscribeService
2638
2697
  #
2639
2698
  # @option params [required, String] :resource_arn
2640
2699
  # The Amazon Resource Name (ARN) of the Amazon Transcribe resource you
2641
- # want to remove tags from.
2700
+ # want to remove tags from. ARNs have the format
2701
+ # `arn:partition:service:region:account-id:resource-type/resource-id`
2702
+ # (for example,
2703
+ # `arn:aws:transcribe:us-east-1:account-id:transcription-job/your-job-name`).
2704
+ # Valid values for `resource-type` are: `transcription-job`,
2705
+ # `medical-transcription-job`, `vocabulary`, `medical-vocabulary`,
2706
+ # `vocabulary-filter`, and `language-model`.
2642
2707
  #
2643
2708
  # @option params [required, Array<String>] :tag_keys
2644
2709
  # A list of tag keys you want to remove from a specified Amazon
@@ -3034,7 +3099,7 @@ module Aws::TranscribeService
3034
3099
  params: params,
3035
3100
  config: config)
3036
3101
  context[:gem_name] = 'aws-sdk-transcribeservice'
3037
- context[:gem_version] = '1.63.0'
3102
+ context[:gem_version] = '1.67.0'
3038
3103
  Seahorse::Client::Request.new(handlers, context)
3039
3104
  end
3040
3105
 
@@ -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')
@@ -222,6 +224,7 @@ module Aws::TranscribeService
222
224
  CallAnalyticsJobSettings.add_member(:language_model_name, Shapes::ShapeRef.new(shape: ModelName, location_name: "LanguageModelName"))
223
225
  CallAnalyticsJobSettings.add_member(:content_redaction, Shapes::ShapeRef.new(shape: ContentRedaction, location_name: "ContentRedaction"))
224
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"))
225
228
  CallAnalyticsJobSettings.struct_class = Types::CallAnalyticsJobSettings
226
229
 
227
230
  CallAnalyticsJobSummaries.member = Shapes::ShapeRef.new(shape: CallAnalyticsJobSummary)
@@ -427,6 +430,14 @@ module Aws::TranscribeService
427
430
  KMSEncryptionContextMap.key = Shapes::ShapeRef.new(shape: NonEmptyString)
428
431
  KMSEncryptionContextMap.value = Shapes::ShapeRef.new(shape: NonEmptyString)
429
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
+
430
441
  LanguageModel.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, location_name: "ModelName"))
431
442
  LanguageModel.add_member(:create_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreateTime"))
432
443
  LanguageModel.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastModifiedTime"))
@@ -683,6 +694,7 @@ module Aws::TranscribeService
683
694
  StartTranscriptionJobRequest.add_member(:language_options, Shapes::ShapeRef.new(shape: LanguageOptions, location_name: "LanguageOptions"))
684
695
  StartTranscriptionJobRequest.add_member(:subtitles, Shapes::ShapeRef.new(shape: Subtitles, location_name: "Subtitles"))
685
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"))
686
698
  StartTranscriptionJobRequest.struct_class = Types::StartTranscriptionJobRequest
687
699
 
688
700
  StartTranscriptionJobResponse.add_member(:transcription_job, Shapes::ShapeRef.new(shape: TranscriptionJob, location_name: "TranscriptionJob"))
@@ -747,6 +759,7 @@ module Aws::TranscribeService
747
759
  TranscriptionJob.add_member(:identified_language_score, Shapes::ShapeRef.new(shape: IdentifiedLanguageScore, location_name: "IdentifiedLanguageScore"))
748
760
  TranscriptionJob.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
749
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"))
750
763
  TranscriptionJob.struct_class = Types::TranscriptionJob
751
764
 
752
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"
@@ -3471,6 +3547,13 @@ module Aws::TranscribeService
3471
3547
  # value: "TagValue", # required
3472
3548
  # },
3473
3549
  # ],
3550
+ # language_id_settings: {
3551
+ # "af-ZA" => {
3552
+ # vocabulary_name: "VocabularyName",
3553
+ # vocabulary_filter_name: "VocabularyFilterName",
3554
+ # language_model_name: "ModelName",
3555
+ # },
3556
+ # },
3474
3557
  # }
3475
3558
  #
3476
3559
  # @!attribute [rw] transcription_job_name
@@ -3583,8 +3666,8 @@ module Aws::TranscribeService
3583
3666
  # "arn:aws:kms:region:account
3584
3667
  # ID:key/1234abcd-12ab-34cd-56ef-1234567890ab"
3585
3668
  #
3586
- # * ARN of a KMS Key Alias: "arn:aws:kms:region:account
3587
- # ID:alias/ExampleAlias"
3669
+ # * ARN of a KMS Key Alias:
3670
+ # "arn:aws:kms:region:account-ID:alias/ExampleAlias"
3588
3671
  #
3589
3672
  # If you don't specify an encryption key, the output of the
3590
3673
  # transcription job is encrypted with the default Amazon S3 key
@@ -3648,6 +3731,12 @@ module Aws::TranscribeService
3648
3731
  # Add tags to an Amazon Transcribe transcription job.
3649
3732
  # @return [Array<Types::Tag>]
3650
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
+ #
3651
3740
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartTranscriptionJobRequest AWS API Documentation
3652
3741
  #
3653
3742
  class StartTranscriptionJobRequest < Struct.new(
@@ -3667,7 +3756,8 @@ module Aws::TranscribeService
3667
3756
  :identify_language,
3668
3757
  :language_options,
3669
3758
  :subtitles,
3670
- :tags)
3759
+ :tags,
3760
+ :language_id_settings)
3671
3761
  SENSITIVE = []
3672
3762
  include Aws::Structure
3673
3763
  end
@@ -3775,7 +3865,13 @@ module Aws::TranscribeService
3775
3865
  #
3776
3866
  # @!attribute [rw] resource_arn
3777
3867
  # The Amazon Resource Name (ARN) of the Amazon Transcribe resource you
3778
- # 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`.
3779
3875
  # @return [String]
3780
3876
  #
3781
3877
  # @!attribute [rw] tags
@@ -4030,6 +4126,13 @@ module Aws::TranscribeService
4030
4126
  # Generate subtitles for your batch transcription job.
4031
4127
  # @return [Types::SubtitlesOutput]
4032
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
+ #
4033
4136
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/TranscriptionJob AWS API Documentation
4034
4137
  #
4035
4138
  class TranscriptionJob < Struct.new(
@@ -4052,7 +4155,8 @@ module Aws::TranscribeService
4052
4155
  :language_options,
4053
4156
  :identified_language_score,
4054
4157
  :tags,
4055
- :subtitles)
4158
+ :subtitles,
4159
+ :language_id_settings)
4056
4160
  SENSITIVE = []
4057
4161
  include Aws::Structure
4058
4162
  end
@@ -4152,7 +4256,13 @@ module Aws::TranscribeService
4152
4256
  #
4153
4257
  # @!attribute [rw] resource_arn
4154
4258
  # The Amazon Resource Name (ARN) of the Amazon Transcribe resource you
4155
- # 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`.
4156
4266
  # @return [String]
4157
4267
  #
4158
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.63.0'
51
+ GEM_VERSION = '1.67.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.63.0
4
+ version: 1.67.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-16 00:00:00.000000000 Z
11
+ date: 2021-11-30 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