aws-sdk-transcribeservice 1.64.0 → 1.65.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: e4f58581d51b15040009ece0711e97268e575aea5932809a219365362a7ff8f2
4
+ data.tar.gz: 3f32a1111d339277beb324b23c4221fe80a9ad29edaab7a9101ca92edb6f99fc
5
5
  SHA512:
6
- metadata.gz: 8a774d0214746f2266aa55e0b67599cf329fa751db1dc7aea685c95f04d95f2161ea41f12b1bfac04ead33211360c5e20b3e29e523aa504d987aa3c4cc269bca
7
- data.tar.gz: a6c255ff7dcf194f31b5d96aeca6627dc0f629c012e366dd993f228a4f14e5cd2d2de1f48fde941b99110b89212b179e30b22d7097460812be19cf4c26d4f0a2
6
+ metadata.gz: a8eebd0457ccbaffd62f4061a435728c4da2e5da06a02c0c1123fd545fc85d7d291ea5a4b27fc901bc70ae426e535ba9927b7a50f79cd8e85d4a1fae1d7b1055
7
+ data.tar.gz: 7dddb7f40840afd7c9b5f09a03efd414870528faccbb71fd269d7c28c87a5a96dbd2c1c6482b2b22ae64f5e60e4a0bf37f4860e5000a33f939add50350eec000
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.65.0 (2021-10-29)
5
+ ------------------
6
+
7
+ * Feature - Transcribe and Transcribe Call Analytics now support automatic language identification along with custom vocabulary, vocabulary filter, custom language model and PII redaction.
8
+
4
9
  1.64.0 (2021-10-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.64.0
1
+ 1.65.0
@@ -1167,6 +1167,10 @@ module Aws::TranscribeService
1167
1167
  # resp.call_analytics_job.settings.content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
1168
1168
  # resp.call_analytics_job.settings.language_options #=> Array
1169
1169
  # resp.call_analytics_job.settings.language_options[0] #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
1170
+ # resp.call_analytics_job.settings.language_id_settings #=> Hash
1171
+ # resp.call_analytics_job.settings.language_id_settings["LanguageCode"].vocabulary_name #=> String
1172
+ # resp.call_analytics_job.settings.language_id_settings["LanguageCode"].vocabulary_filter_name #=> String
1173
+ # resp.call_analytics_job.settings.language_id_settings["LanguageCode"].language_model_name #=> String
1170
1174
  # resp.call_analytics_job.channel_definitions #=> Array
1171
1175
  # resp.call_analytics_job.channel_definitions[0].channel_id #=> Integer
1172
1176
  # resp.call_analytics_job.channel_definitions[0].participant_role #=> String, one of "AGENT", "CUSTOMER"
@@ -1333,6 +1337,10 @@ module Aws::TranscribeService
1333
1337
  # resp.transcription_job.subtitles.formats[0] #=> String, one of "vtt", "srt"
1334
1338
  # resp.transcription_job.subtitles.subtitle_file_uris #=> Array
1335
1339
  # resp.transcription_job.subtitles.subtitle_file_uris[0] #=> String
1340
+ # resp.transcription_job.language_id_settings #=> Hash
1341
+ # resp.transcription_job.language_id_settings["LanguageCode"].vocabulary_name #=> String
1342
+ # resp.transcription_job.language_id_settings["LanguageCode"].vocabulary_filter_name #=> String
1343
+ # resp.transcription_job.language_id_settings["LanguageCode"].language_model_name #=> String
1336
1344
  #
1337
1345
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetTranscriptionJob AWS API Documentation
1338
1346
  #
@@ -1770,6 +1778,13 @@ module Aws::TranscribeService
1770
1778
  #
1771
1779
  # @option params [required, String] :resource_arn
1772
1780
  # Lists all tags associated with a given Amazon Resource Name (ARN).
1781
+ # ARNs have the format
1782
+ # `arn:partition:service:region:account-id:resource-type/resource-id`
1783
+ # (for example,
1784
+ # `arn:aws:transcribe:us-east-1:account-id:transcription-job/your-job-name`).
1785
+ # Valid values for `resource-type` are: `transcription-job`,
1786
+ # `medical-transcription-job`, `vocabulary`, `medical-vocabulary`,
1787
+ # `vocabulary-filter`, and `language-model`.
1773
1788
  #
1774
1789
  # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1775
1790
  #
@@ -2094,6 +2109,13 @@ module Aws::TranscribeService
2094
2109
  # redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
2095
2110
  # },
2096
2111
  # language_options: ["af-ZA"], # accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ
2112
+ # language_id_settings: {
2113
+ # "af-ZA" => {
2114
+ # vocabulary_name: "VocabularyName",
2115
+ # vocabulary_filter_name: "VocabularyFilterName",
2116
+ # language_model_name: "ModelName",
2117
+ # },
2118
+ # },
2097
2119
  # },
2098
2120
  # channel_definitions: [
2099
2121
  # {
@@ -2128,6 +2150,10 @@ module Aws::TranscribeService
2128
2150
  # resp.call_analytics_job.settings.content_redaction.redaction_output #=> String, one of "redacted", "redacted_and_unredacted"
2129
2151
  # resp.call_analytics_job.settings.language_options #=> Array
2130
2152
  # resp.call_analytics_job.settings.language_options[0] #=> String, one of "af-ZA", "ar-AE", "ar-SA", "cy-GB", "da-DK", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fa-IR", "fr-CA", "fr-FR", "ga-IE", "gd-GB", "he-IL", "hi-IN", "id-ID", "it-IT", "ja-JP", "ko-KR", "ms-MY", "nl-NL", "pt-BR", "pt-PT", "ru-RU", "ta-IN", "te-IN", "tr-TR", "zh-CN", "zh-TW", "th-TH", "en-ZA", "en-NZ"
2153
+ # resp.call_analytics_job.settings.language_id_settings #=> Hash
2154
+ # resp.call_analytics_job.settings.language_id_settings["LanguageCode"].vocabulary_name #=> String
2155
+ # resp.call_analytics_job.settings.language_id_settings["LanguageCode"].vocabulary_filter_name #=> String
2156
+ # resp.call_analytics_job.settings.language_id_settings["LanguageCode"].language_model_name #=> String
2131
2157
  # resp.call_analytics_job.channel_definitions #=> Array
2132
2158
  # resp.call_analytics_job.channel_definitions[0].channel_id #=> Integer
2133
2159
  # resp.call_analytics_job.channel_definitions[0].participant_role #=> String, one of "AGENT", "CUSTOMER"
@@ -2232,8 +2258,8 @@ module Aws::TranscribeService
2232
2258
  # current account or another account:
2233
2259
  #
2234
2260
  # * 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"
2261
+ # another account:
2262
+ # "arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab"
2237
2263
  #
2238
2264
  # * ARN of a KMS Key Alias: "arn:aws:kms:region:account
2239
2265
  # ID:alias/ExampleAlias"
@@ -2447,8 +2473,8 @@ module Aws::TranscribeService
2447
2473
  # "arn:aws:kms:region:account
2448
2474
  # ID:key/1234abcd-12ab-34cd-56ef-1234567890ab"
2449
2475
  #
2450
- # * ARN of a KMS Key Alias: "arn:aws:kms:region:account
2451
- # ID:alias/ExampleAlias"
2476
+ # * ARN of a KMS Key Alias:
2477
+ # "arn:aws:kms:region:account-ID:alias/ExampleAlias"
2452
2478
  #
2453
2479
  # If you don't specify an encryption key, the output of the
2454
2480
  # transcription job is encrypted with the default Amazon S3 key
@@ -2498,6 +2524,11 @@ module Aws::TranscribeService
2498
2524
  # @option params [Array<Types::Tag>] :tags
2499
2525
  # Add tags to an Amazon Transcribe transcription job.
2500
2526
  #
2527
+ # @option params [Hash<String,Types::LanguageIdSettings>] :language_id_settings
2528
+ # The language identification settings associated with your
2529
+ # transcription job. These settings include `VocabularyName`,
2530
+ # `VocabularyFilterName`, and `LanguageModelName`.
2531
+ #
2501
2532
  # @return [Types::StartTranscriptionJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2502
2533
  #
2503
2534
  # * {Types::StartTranscriptionJobResponse#transcription_job #transcription_job} => Types::TranscriptionJob
@@ -2551,6 +2582,13 @@ module Aws::TranscribeService
2551
2582
  # value: "TagValue", # required
2552
2583
  # },
2553
2584
  # ],
2585
+ # language_id_settings: {
2586
+ # "af-ZA" => {
2587
+ # vocabulary_name: "VocabularyName",
2588
+ # vocabulary_filter_name: "VocabularyFilterName",
2589
+ # language_model_name: "ModelName",
2590
+ # },
2591
+ # },
2554
2592
  # })
2555
2593
  #
2556
2594
  # @example Response structure
@@ -2592,6 +2630,10 @@ module Aws::TranscribeService
2592
2630
  # resp.transcription_job.subtitles.formats[0] #=> String, one of "vtt", "srt"
2593
2631
  # resp.transcription_job.subtitles.subtitle_file_uris #=> Array
2594
2632
  # resp.transcription_job.subtitles.subtitle_file_uris[0] #=> String
2633
+ # resp.transcription_job.language_id_settings #=> Hash
2634
+ # resp.transcription_job.language_id_settings["LanguageCode"].vocabulary_name #=> String
2635
+ # resp.transcription_job.language_id_settings["LanguageCode"].vocabulary_filter_name #=> String
2636
+ # resp.transcription_job.language_id_settings["LanguageCode"].language_model_name #=> String
2595
2637
  #
2596
2638
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartTranscriptionJob AWS API Documentation
2597
2639
  #
@@ -2602,11 +2644,17 @@ module Aws::TranscribeService
2602
2644
  req.send_request(options)
2603
2645
  end
2604
2646
 
2605
- # Tags a Amazon Transcribe resource with the given list of tags.
2647
+ # Tags an Amazon Transcribe resource with the given list of tags.
2606
2648
  #
2607
2649
  # @option params [required, String] :resource_arn
2608
2650
  # The Amazon Resource Name (ARN) of the Amazon Transcribe resource you
2609
- # want to tag.
2651
+ # want to tag. ARNs have the format
2652
+ # `arn:partition:service:region:account-id:resource-type/resource-id`
2653
+ # (for example,
2654
+ # `arn:aws:transcribe:us-east-1:account-id:transcription-job/your-job-name`).
2655
+ # Valid values for `resource-type` are: `transcription-job`,
2656
+ # `medical-transcription-job`, `vocabulary`, `medical-vocabulary`,
2657
+ # `vocabulary-filter`, and `language-model`.
2610
2658
  #
2611
2659
  # @option params [required, Array<Types::Tag>] :tags
2612
2660
  # The tags you are assigning to a given Amazon Transcribe resource.
@@ -2638,7 +2686,13 @@ module Aws::TranscribeService
2638
2686
  #
2639
2687
  # @option params [required, String] :resource_arn
2640
2688
  # The Amazon Resource Name (ARN) of the Amazon Transcribe resource you
2641
- # want to remove tags from.
2689
+ # want to remove tags from. ARNs have the format
2690
+ # `arn:partition:service:region:account-id:resource-type/resource-id`
2691
+ # (for example,
2692
+ # `arn:aws:transcribe:us-east-1:account-id:transcription-job/your-job-name`).
2693
+ # Valid values for `resource-type` are: `transcription-job`,
2694
+ # `medical-transcription-job`, `vocabulary`, `medical-vocabulary`,
2695
+ # `vocabulary-filter`, and `language-model`.
2642
2696
  #
2643
2697
  # @option params [required, Array<String>] :tag_keys
2644
2698
  # A list of tag keys you want to remove from a specified Amazon
@@ -3034,7 +3088,7 @@ module Aws::TranscribeService
3034
3088
  params: params,
3035
3089
  config: config)
3036
3090
  context[:gem_name] = 'aws-sdk-transcribeservice'
3037
- context[:gem_version] = '1.64.0'
3091
+ context[:gem_version] = '1.65.0'
3038
3092
  Seahorse::Client::Request.new(handlers, context)
3039
3093
  end
3040
3094
 
@@ -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.65.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.65.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-18 00:00:00.000000000 Z
11
+ date: 2021-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core