aws-sdk-transcribeservice 1.64.0 → 1.68.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: b27880a80be709a367937825b64f53dbf13aacde941327ed6d2c3934a1d0da8c
4
- data.tar.gz: 94e4f9e91191ee275a45be6554e74b2f7d5eeb6f728152647c1fb7d0f4a3f235
3
+ metadata.gz: 56c0fbf9e370a7857517f23853ab36f68d628a9ad7655380641b972969f083d1
4
+ data.tar.gz: 3f70b27976ca907fb5486e29eb5fe166d184d137e44750ba17183455d5925d58
5
5
  SHA512:
6
- metadata.gz: 8a774d0214746f2266aa55e0b67599cf329fa751db1dc7aea685c95f04d95f2161ea41f12b1bfac04ead33211360c5e20b3e29e523aa504d987aa3c4cc269bca
7
- data.tar.gz: a6c255ff7dcf194f31b5d96aeca6627dc0f629c012e366dd993f228a4f14e5cd2d2de1f48fde941b99110b89212b179e30b22d7097460812be19cf4c26d4f0a2
6
+ metadata.gz: 8ae123873e0ba508eaff64fa1f085cfb16923c9319560382dde706956faafd377faa2323c9468d5fd42e6c8a3452f21126c2b3c7a38fd4bb8c2b5d45be646d07
7
+ data.tar.gz: 3db6557284a77c3644db89fc7b255df14450d63c87fb03c2f313e875881c084a54ca406bb0197d7f57b8d9e6732a91ffd794d96cfe85be4df5ef940a28d2bcf2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.68.0 (2021-12-21)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.67.0 (2021-11-30)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.66.0 (2021-11-04)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.65.0 (2021-10-29)
20
+ ------------------
21
+
22
+ * Feature - Transcribe and Transcribe Call Analytics now support automatic language identification along with custom vocabulary, vocabulary filter, custom language model and PII redaction.
23
+
4
24
  1.64.0 (2021-10-18)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.64.0
1
+ 1.68.0
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/defaults_mode.rb'
30
31
  require 'aws-sdk-core/plugins/signature_v4.rb'
31
32
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
32
33
 
@@ -73,6 +74,7 @@ module Aws::TranscribeService
73
74
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
75
  add_plugin(Aws::Plugins::TransferEncoding)
75
76
  add_plugin(Aws::Plugins::HttpChecksum)
77
+ add_plugin(Aws::Plugins::DefaultsMode)
76
78
  add_plugin(Aws::Plugins::SignatureV4)
77
79
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
78
80
 
@@ -119,7 +121,9 @@ module Aws::TranscribeService
119
121
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
122
  # are very aggressive. Construct and pass an instance of
121
123
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
124
+ # enable retries and extended timeouts. Instance profile credential
125
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
126
+ # to true.
123
127
  #
124
128
  # @option options [required, String] :region
125
129
  # The AWS region to connect to. The configured `:region` is
@@ -173,6 +177,10 @@ module Aws::TranscribeService
173
177
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
174
178
  # a clock skew correction and retry requests with skewed client clocks.
175
179
  #
180
+ # @option options [String] :defaults_mode ("legacy")
181
+ # See {Aws::DefaultsModeConfiguration} for a list of the
182
+ # accepted modes and the configuration defaults that are included.
183
+ #
176
184
  # @option options [Boolean] :disable_host_prefix_injection (false)
177
185
  # Set to true to disable SDK automatically adding host prefix
178
186
  # to default service endpoint when available.
@@ -285,6 +293,15 @@ module Aws::TranscribeService
285
293
  # ** Please note ** When response stubbing is enabled, no HTTP
286
294
  # requests are made, and retries are disabled.
287
295
  #
296
+ # @option options [Boolean] :use_dualstack_endpoint
297
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
298
+ # will be used if available.
299
+ #
300
+ # @option options [Boolean] :use_fips_endpoint
301
+ # When set to `true`, fips compatible endpoints will be used if available.
302
+ # When a `fips` region is used, the region is normalized and this config
303
+ # is set to `true`.
304
+ #
288
305
  # @option options [Boolean] :validate_params (true)
289
306
  # When `true`, request parameters are validated before
290
307
  # sending the request.
@@ -296,7 +313,7 @@ module Aws::TranscribeService
296
313
  # seconds to wait when opening a HTTP session before raising a
297
314
  # `Timeout::Error`.
298
315
  #
299
- # @option options [Integer] :http_read_timeout (60) The default
316
+ # @option options [Float] :http_read_timeout (60) The default
300
317
  # number of seconds to wait for response data. This value can
301
318
  # safely be set per-request on the session.
302
319
  #
@@ -312,6 +329,9 @@ module Aws::TranscribeService
312
329
  # disables this behaviour. This value can safely be set per
313
330
  # request on the session.
314
331
  #
332
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
333
+ # in seconds.
334
+ #
315
335
  # @option options [Boolean] :http_wire_trace (false) When `true`,
316
336
  # HTTP debug output will be sent to the `:logger`.
317
337
  #
@@ -1167,6 +1187,10 @@ module Aws::TranscribeService
1167
1187
  # resp.call_analytics_job.settings.content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
1168
1188
  # resp.call_analytics_job.settings.language_options #=> Array
1169
1189
  # 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"
1190
+ # resp.call_analytics_job.settings.language_id_settings #=> Hash
1191
+ # resp.call_analytics_job.settings.language_id_settings["LanguageCode"].vocabulary_name #=> String
1192
+ # resp.call_analytics_job.settings.language_id_settings["LanguageCode"].vocabulary_filter_name #=> String
1193
+ # resp.call_analytics_job.settings.language_id_settings["LanguageCode"].language_model_name #=> String
1170
1194
  # resp.call_analytics_job.channel_definitions #=> Array
1171
1195
  # resp.call_analytics_job.channel_definitions[0].channel_id #=> Integer
1172
1196
  # resp.call_analytics_job.channel_definitions[0].participant_role #=> String, one of "AGENT", "CUSTOMER"
@@ -1333,6 +1357,10 @@ module Aws::TranscribeService
1333
1357
  # resp.transcription_job.subtitles.formats[0] #=> String, one of "vtt", "srt"
1334
1358
  # resp.transcription_job.subtitles.subtitle_file_uris #=> Array
1335
1359
  # resp.transcription_job.subtitles.subtitle_file_uris[0] #=> String
1360
+ # resp.transcription_job.language_id_settings #=> Hash
1361
+ # resp.transcription_job.language_id_settings["LanguageCode"].vocabulary_name #=> String
1362
+ # resp.transcription_job.language_id_settings["LanguageCode"].vocabulary_filter_name #=> String
1363
+ # resp.transcription_job.language_id_settings["LanguageCode"].language_model_name #=> String
1336
1364
  #
1337
1365
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetTranscriptionJob AWS API Documentation
1338
1366
  #
@@ -1770,6 +1798,13 @@ module Aws::TranscribeService
1770
1798
  #
1771
1799
  # @option params [required, String] :resource_arn
1772
1800
  # Lists all tags associated with a given Amazon Resource Name (ARN).
1801
+ # ARNs have the format
1802
+ # `arn:partition:service:region:account-id:resource-type/resource-id`
1803
+ # (for example,
1804
+ # `arn:aws:transcribe:us-east-1:account-id:transcription-job/your-job-name`).
1805
+ # Valid values for `resource-type` are: `transcription-job`,
1806
+ # `medical-transcription-job`, `vocabulary`, `medical-vocabulary`,
1807
+ # `vocabulary-filter`, and `language-model`.
1773
1808
  #
1774
1809
  # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1775
1810
  #
@@ -2094,6 +2129,13 @@ module Aws::TranscribeService
2094
2129
  # redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
2095
2130
  # },
2096
2131
  # 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
2132
+ # language_id_settings: {
2133
+ # "af-ZA" => {
2134
+ # vocabulary_name: "VocabularyName",
2135
+ # vocabulary_filter_name: "VocabularyFilterName",
2136
+ # language_model_name: "ModelName",
2137
+ # },
2138
+ # },
2097
2139
  # },
2098
2140
  # channel_definitions: [
2099
2141
  # {
@@ -2128,6 +2170,10 @@ module Aws::TranscribeService
2128
2170
  # resp.call_analytics_job.settings.content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
2129
2171
  # resp.call_analytics_job.settings.language_options #=> Array
2130
2172
  # 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"
2173
+ # resp.call_analytics_job.settings.language_id_settings #=> Hash
2174
+ # resp.call_analytics_job.settings.language_id_settings["LanguageCode"].vocabulary_name #=> String
2175
+ # resp.call_analytics_job.settings.language_id_settings["LanguageCode"].vocabulary_filter_name #=> String
2176
+ # resp.call_analytics_job.settings.language_id_settings["LanguageCode"].language_model_name #=> String
2131
2177
  # resp.call_analytics_job.channel_definitions #=> Array
2132
2178
  # resp.call_analytics_job.channel_definitions[0].channel_id #=> Integer
2133
2179
  # resp.call_analytics_job.channel_definitions[0].participant_role #=> String, one of "AGENT", "CUSTOMER"
@@ -2232,8 +2278,8 @@ module Aws::TranscribeService
2232
2278
  # current account or another account:
2233
2279
  #
2234
2280
  # * 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"
2281
+ # another account:
2282
+ # "arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab"
2237
2283
  #
2238
2284
  # * ARN of a KMS Key Alias: "arn:aws:kms:region:account
2239
2285
  # ID:alias/ExampleAlias"
@@ -2447,8 +2493,8 @@ module Aws::TranscribeService
2447
2493
  # "arn:aws:kms:region:account
2448
2494
  # ID:key/1234abcd-12ab-34cd-56ef-1234567890ab"
2449
2495
  #
2450
- # * ARN of a KMS Key Alias: "arn:aws:kms:region:account
2451
- # ID:alias/ExampleAlias"
2496
+ # * ARN of a KMS Key Alias:
2497
+ # "arn:aws:kms:region:account-ID:alias/ExampleAlias"
2452
2498
  #
2453
2499
  # If you don't specify an encryption key, the output of the
2454
2500
  # transcription job is encrypted with the default Amazon S3 key
@@ -2498,6 +2544,11 @@ module Aws::TranscribeService
2498
2544
  # @option params [Array<Types::Tag>] :tags
2499
2545
  # Add tags to an Amazon Transcribe transcription job.
2500
2546
  #
2547
+ # @option params [Hash<String,Types::LanguageIdSettings>] :language_id_settings
2548
+ # The language identification settings associated with your
2549
+ # transcription job. These settings include `VocabularyName`,
2550
+ # `VocabularyFilterName`, and `LanguageModelName`.
2551
+ #
2501
2552
  # @return [Types::StartTranscriptionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2502
2553
  #
2503
2554
  # * {Types::StartTranscriptionJobResponse#transcription_job #transcription_job} => Types::TranscriptionJob
@@ -2551,6 +2602,13 @@ module Aws::TranscribeService
2551
2602
  # value: "TagValue", # required
2552
2603
  # },
2553
2604
  # ],
2605
+ # language_id_settings: {
2606
+ # "af-ZA" => {
2607
+ # vocabulary_name: "VocabularyName",
2608
+ # vocabulary_filter_name: "VocabularyFilterName",
2609
+ # language_model_name: "ModelName",
2610
+ # },
2611
+ # },
2554
2612
  # })
2555
2613
  #
2556
2614
  # @example Response structure
@@ -2592,6 +2650,10 @@ module Aws::TranscribeService
2592
2650
  # resp.transcription_job.subtitles.formats[0] #=> String, one of "vtt", "srt"
2593
2651
  # resp.transcription_job.subtitles.subtitle_file_uris #=> Array
2594
2652
  # resp.transcription_job.subtitles.subtitle_file_uris[0] #=> String
2653
+ # resp.transcription_job.language_id_settings #=> Hash
2654
+ # resp.transcription_job.language_id_settings["LanguageCode"].vocabulary_name #=> String
2655
+ # resp.transcription_job.language_id_settings["LanguageCode"].vocabulary_filter_name #=> String
2656
+ # resp.transcription_job.language_id_settings["LanguageCode"].language_model_name #=> String
2595
2657
  #
2596
2658
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartTranscriptionJob AWS API Documentation
2597
2659
  #
@@ -2602,11 +2664,17 @@ module Aws::TranscribeService
2602
2664
  req.send_request(options)
2603
2665
  end
2604
2666
 
2605
- # Tags a Amazon Transcribe resource with the given list of tags.
2667
+ # Tags an Amazon Transcribe resource with the given list of tags.
2606
2668
  #
2607
2669
  # @option params [required, String] :resource_arn
2608
2670
  # The Amazon Resource Name (ARN) of the Amazon Transcribe resource you
2609
- # want to tag.
2671
+ # want to tag. ARNs have the format
2672
+ # `arn:partition:service:region:account-id:resource-type/resource-id`
2673
+ # (for example,
2674
+ # `arn:aws:transcribe:us-east-1:account-id:transcription-job/your-job-name`).
2675
+ # Valid values for `resource-type` are: `transcription-job`,
2676
+ # `medical-transcription-job`, `vocabulary`, `medical-vocabulary`,
2677
+ # `vocabulary-filter`, and `language-model`.
2610
2678
  #
2611
2679
  # @option params [required, Array<Types::Tag>] :tags
2612
2680
  # The tags you are assigning to a given Amazon Transcribe resource.
@@ -2638,7 +2706,13 @@ module Aws::TranscribeService
2638
2706
  #
2639
2707
  # @option params [required, String] :resource_arn
2640
2708
  # The Amazon Resource Name (ARN) of the Amazon Transcribe resource you
2641
- # want to remove tags from.
2709
+ # want to remove tags from. ARNs have the format
2710
+ # `arn:partition:service:region:account-id:resource-type/resource-id`
2711
+ # (for example,
2712
+ # `arn:aws:transcribe:us-east-1:account-id:transcription-job/your-job-name`).
2713
+ # Valid values for `resource-type` are: `transcription-job`,
2714
+ # `medical-transcription-job`, `vocabulary`, `medical-vocabulary`,
2715
+ # `vocabulary-filter`, and `language-model`.
2642
2716
  #
2643
2717
  # @option params [required, Array<String>] :tag_keys
2644
2718
  # A list of tag keys you want to remove from a specified Amazon
@@ -3034,7 +3108,7 @@ module Aws::TranscribeService
3034
3108
  params: params,
3035
3109
  config: config)
3036
3110
  context[:gem_name] = 'aws-sdk-transcribeservice'
3037
- context[:gem_version] = '1.64.0'
3111
+ context[:gem_version] = '1.68.0'
3038
3112
  Seahorse::Client::Request.new(handlers, context)
3039
3113
  end
3040
3114
 
@@ -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.64.0'
51
+ GEM_VERSION = '1.68.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.64.0
4
+ version: 1.68.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-10-18 00:00:00.000000000 Z
11
+ date: 2021-12-21 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.121.2
22
+ version: 3.125.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.121.2
32
+ version: 3.125.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement