aws-sdk-transcribeservice 1.43.0 → 1.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -12,9 +14,13 @@ module Aws::TranscribeService
12
14
  include Seahorse::Model
13
15
 
14
16
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
17
+ BaseModelName = Shapes::StringShape.new(name: 'BaseModelName')
15
18
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
19
+ CLMLanguageCode = Shapes::StringShape.new(name: 'CLMLanguageCode')
16
20
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
17
21
  ContentRedaction = Shapes::StructureShape.new(name: 'ContentRedaction')
22
+ CreateLanguageModelRequest = Shapes::StructureShape.new(name: 'CreateLanguageModelRequest')
23
+ CreateLanguageModelResponse = Shapes::StructureShape.new(name: 'CreateLanguageModelResponse')
18
24
  CreateMedicalVocabularyRequest = Shapes::StructureShape.new(name: 'CreateMedicalVocabularyRequest')
19
25
  CreateMedicalVocabularyResponse = Shapes::StructureShape.new(name: 'CreateMedicalVocabularyResponse')
20
26
  CreateVocabularyFilterRequest = Shapes::StructureShape.new(name: 'CreateVocabularyFilterRequest')
@@ -23,11 +29,14 @@ module Aws::TranscribeService
23
29
  CreateVocabularyResponse = Shapes::StructureShape.new(name: 'CreateVocabularyResponse')
24
30
  DataAccessRoleArn = Shapes::StringShape.new(name: 'DataAccessRoleArn')
25
31
  DateTime = Shapes::TimestampShape.new(name: 'DateTime')
32
+ DeleteLanguageModelRequest = Shapes::StructureShape.new(name: 'DeleteLanguageModelRequest')
26
33
  DeleteMedicalTranscriptionJobRequest = Shapes::StructureShape.new(name: 'DeleteMedicalTranscriptionJobRequest')
27
34
  DeleteMedicalVocabularyRequest = Shapes::StructureShape.new(name: 'DeleteMedicalVocabularyRequest')
28
35
  DeleteTranscriptionJobRequest = Shapes::StructureShape.new(name: 'DeleteTranscriptionJobRequest')
29
36
  DeleteVocabularyFilterRequest = Shapes::StructureShape.new(name: 'DeleteVocabularyFilterRequest')
30
37
  DeleteVocabularyRequest = Shapes::StructureShape.new(name: 'DeleteVocabularyRequest')
38
+ DescribeLanguageModelRequest = Shapes::StructureShape.new(name: 'DescribeLanguageModelRequest')
39
+ DescribeLanguageModelResponse = Shapes::StructureShape.new(name: 'DescribeLanguageModelResponse')
31
40
  FailureReason = Shapes::StringShape.new(name: 'FailureReason')
32
41
  GetMedicalTranscriptionJobRequest = Shapes::StructureShape.new(name: 'GetMedicalTranscriptionJobRequest')
33
42
  GetMedicalTranscriptionJobResponse = Shapes::StructureShape.new(name: 'GetMedicalTranscriptionJobResponse')
@@ -39,11 +48,17 @@ module Aws::TranscribeService
39
48
  GetVocabularyFilterResponse = Shapes::StructureShape.new(name: 'GetVocabularyFilterResponse')
40
49
  GetVocabularyRequest = Shapes::StructureShape.new(name: 'GetVocabularyRequest')
41
50
  GetVocabularyResponse = Shapes::StructureShape.new(name: 'GetVocabularyResponse')
51
+ IdentifiedLanguageScore = Shapes::FloatShape.new(name: 'IdentifiedLanguageScore')
52
+ InputDataConfig = Shapes::StructureShape.new(name: 'InputDataConfig')
42
53
  InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
43
54
  JobExecutionSettings = Shapes::StructureShape.new(name: 'JobExecutionSettings')
44
55
  KMSKeyId = Shapes::StringShape.new(name: 'KMSKeyId')
45
56
  LanguageCode = Shapes::StringShape.new(name: 'LanguageCode')
57
+ LanguageModel = Shapes::StructureShape.new(name: 'LanguageModel')
58
+ LanguageOptions = Shapes::ListShape.new(name: 'LanguageOptions')
46
59
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
60
+ ListLanguageModelsRequest = Shapes::StructureShape.new(name: 'ListLanguageModelsRequest')
61
+ ListLanguageModelsResponse = Shapes::StructureShape.new(name: 'ListLanguageModelsResponse')
47
62
  ListMedicalTranscriptionJobsRequest = Shapes::StructureShape.new(name: 'ListMedicalTranscriptionJobsRequest')
48
63
  ListMedicalTranscriptionJobsResponse = Shapes::StructureShape.new(name: 'ListMedicalTranscriptionJobsResponse')
49
64
  ListMedicalVocabulariesRequest = Shapes::StructureShape.new(name: 'ListMedicalVocabulariesRequest')
@@ -65,6 +80,10 @@ module Aws::TranscribeService
65
80
  MedicalTranscriptionJobSummaries = Shapes::ListShape.new(name: 'MedicalTranscriptionJobSummaries')
66
81
  MedicalTranscriptionJobSummary = Shapes::StructureShape.new(name: 'MedicalTranscriptionJobSummary')
67
82
  MedicalTranscriptionSetting = Shapes::StructureShape.new(name: 'MedicalTranscriptionSetting')
83
+ ModelName = Shapes::StringShape.new(name: 'ModelName')
84
+ ModelSettings = Shapes::StructureShape.new(name: 'ModelSettings')
85
+ ModelStatus = Shapes::StringShape.new(name: 'ModelStatus')
86
+ Models = Shapes::ListShape.new(name: 'Models')
68
87
  NextToken = Shapes::StringShape.new(name: 'NextToken')
69
88
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
70
89
  OutputBucketName = Shapes::StringShape.new(name: 'OutputBucketName')
@@ -115,6 +134,19 @@ module Aws::TranscribeService
115
134
  ContentRedaction.add_member(:redaction_output, Shapes::ShapeRef.new(shape: RedactionOutput, required: true, location_name: "RedactionOutput"))
116
135
  ContentRedaction.struct_class = Types::ContentRedaction
117
136
 
137
+ CreateLanguageModelRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: CLMLanguageCode, required: true, location_name: "LanguageCode"))
138
+ CreateLanguageModelRequest.add_member(:base_model_name, Shapes::ShapeRef.new(shape: BaseModelName, required: true, location_name: "BaseModelName"))
139
+ CreateLanguageModelRequest.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "ModelName"))
140
+ CreateLanguageModelRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
141
+ CreateLanguageModelRequest.struct_class = Types::CreateLanguageModelRequest
142
+
143
+ CreateLanguageModelResponse.add_member(:language_code, Shapes::ShapeRef.new(shape: CLMLanguageCode, location_name: "LanguageCode"))
144
+ CreateLanguageModelResponse.add_member(:base_model_name, Shapes::ShapeRef.new(shape: BaseModelName, location_name: "BaseModelName"))
145
+ CreateLanguageModelResponse.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, location_name: "ModelName"))
146
+ CreateLanguageModelResponse.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, location_name: "InputDataConfig"))
147
+ CreateLanguageModelResponse.add_member(:model_status, Shapes::ShapeRef.new(shape: ModelStatus, location_name: "ModelStatus"))
148
+ CreateLanguageModelResponse.struct_class = Types::CreateLanguageModelResponse
149
+
118
150
  CreateMedicalVocabularyRequest.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, required: true, location_name: "VocabularyName"))
119
151
  CreateMedicalVocabularyRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
120
152
  CreateMedicalVocabularyRequest.add_member(:vocabulary_file_uri, Shapes::ShapeRef.new(shape: Uri, required: true, location_name: "VocabularyFileUri"))
@@ -151,6 +183,9 @@ module Aws::TranscribeService
151
183
  CreateVocabularyResponse.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
152
184
  CreateVocabularyResponse.struct_class = Types::CreateVocabularyResponse
153
185
 
186
+ DeleteLanguageModelRequest.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "ModelName"))
187
+ DeleteLanguageModelRequest.struct_class = Types::DeleteLanguageModelRequest
188
+
154
189
  DeleteMedicalTranscriptionJobRequest.add_member(:medical_transcription_job_name, Shapes::ShapeRef.new(shape: TranscriptionJobName, required: true, location_name: "MedicalTranscriptionJobName"))
155
190
  DeleteMedicalTranscriptionJobRequest.struct_class = Types::DeleteMedicalTranscriptionJobRequest
156
191
 
@@ -166,6 +201,12 @@ module Aws::TranscribeService
166
201
  DeleteVocabularyRequest.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, required: true, location_name: "VocabularyName"))
167
202
  DeleteVocabularyRequest.struct_class = Types::DeleteVocabularyRequest
168
203
 
204
+ DescribeLanguageModelRequest.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "ModelName"))
205
+ DescribeLanguageModelRequest.struct_class = Types::DescribeLanguageModelRequest
206
+
207
+ DescribeLanguageModelResponse.add_member(:language_model, Shapes::ShapeRef.new(shape: LanguageModel, location_name: "LanguageModel"))
208
+ DescribeLanguageModelResponse.struct_class = Types::DescribeLanguageModelResponse
209
+
169
210
  GetMedicalTranscriptionJobRequest.add_member(:medical_transcription_job_name, Shapes::ShapeRef.new(shape: TranscriptionJobName, required: true, location_name: "MedicalTranscriptionJobName"))
170
211
  GetMedicalTranscriptionJobRequest.struct_class = Types::GetMedicalTranscriptionJobRequest
171
212
 
@@ -209,6 +250,11 @@ module Aws::TranscribeService
209
250
  GetVocabularyResponse.add_member(:download_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "DownloadUri"))
210
251
  GetVocabularyResponse.struct_class = Types::GetVocabularyResponse
211
252
 
253
+ InputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: Uri, required: true, location_name: "S3Uri"))
254
+ InputDataConfig.add_member(:tuning_data_s3_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "TuningDataS3Uri"))
255
+ InputDataConfig.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: DataAccessRoleArn, required: true, location_name: "DataAccessRoleArn"))
256
+ InputDataConfig.struct_class = Types::InputDataConfig
257
+
212
258
  InternalFailureException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
213
259
  InternalFailureException.struct_class = Types::InternalFailureException
214
260
 
@@ -216,9 +262,32 @@ module Aws::TranscribeService
216
262
  JobExecutionSettings.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: DataAccessRoleArn, location_name: "DataAccessRoleArn"))
217
263
  JobExecutionSettings.struct_class = Types::JobExecutionSettings
218
264
 
265
+ LanguageModel.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, location_name: "ModelName"))
266
+ LanguageModel.add_member(:create_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreateTime"))
267
+ LanguageModel.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastModifiedTime"))
268
+ LanguageModel.add_member(:language_code, Shapes::ShapeRef.new(shape: CLMLanguageCode, location_name: "LanguageCode"))
269
+ LanguageModel.add_member(:base_model_name, Shapes::ShapeRef.new(shape: BaseModelName, location_name: "BaseModelName"))
270
+ LanguageModel.add_member(:model_status, Shapes::ShapeRef.new(shape: ModelStatus, location_name: "ModelStatus"))
271
+ LanguageModel.add_member(:upgrade_availability, Shapes::ShapeRef.new(shape: Boolean, location_name: "UpgradeAvailability"))
272
+ LanguageModel.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
273
+ LanguageModel.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, location_name: "InputDataConfig"))
274
+ LanguageModel.struct_class = Types::LanguageModel
275
+
276
+ LanguageOptions.member = Shapes::ShapeRef.new(shape: LanguageCode)
277
+
219
278
  LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
220
279
  LimitExceededException.struct_class = Types::LimitExceededException
221
280
 
281
+ ListLanguageModelsRequest.add_member(:status_equals, Shapes::ShapeRef.new(shape: ModelStatus, location_name: "StatusEquals"))
282
+ ListLanguageModelsRequest.add_member(:name_contains, Shapes::ShapeRef.new(shape: ModelName, location_name: "NameContains"))
283
+ ListLanguageModelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
284
+ ListLanguageModelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
285
+ ListLanguageModelsRequest.struct_class = Types::ListLanguageModelsRequest
286
+
287
+ ListLanguageModelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
288
+ ListLanguageModelsResponse.add_member(:models, Shapes::ShapeRef.new(shape: Models, location_name: "Models"))
289
+ ListLanguageModelsResponse.struct_class = Types::ListLanguageModelsResponse
290
+
222
291
  ListMedicalTranscriptionJobsRequest.add_member(:status, Shapes::ShapeRef.new(shape: TranscriptionJobStatus, location_name: "Status"))
223
292
  ListMedicalTranscriptionJobsRequest.add_member(:job_name_contains, Shapes::ShapeRef.new(shape: TranscriptionJobName, location_name: "JobNameContains"))
224
293
  ListMedicalTranscriptionJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
@@ -316,6 +385,11 @@ module Aws::TranscribeService
316
385
  MedicalTranscriptionSetting.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, location_name: "VocabularyName"))
317
386
  MedicalTranscriptionSetting.struct_class = Types::MedicalTranscriptionSetting
318
387
 
388
+ ModelSettings.add_member(:language_model_name, Shapes::ShapeRef.new(shape: ModelName, location_name: "LanguageModelName"))
389
+ ModelSettings.struct_class = Types::ModelSettings
390
+
391
+ Models.member = Shapes::ShapeRef.new(shape: LanguageModel)
392
+
319
393
  NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
320
394
  NotFoundException.struct_class = Types::NotFoundException
321
395
 
@@ -347,15 +421,18 @@ module Aws::TranscribeService
347
421
  StartMedicalTranscriptionJobResponse.struct_class = Types::StartMedicalTranscriptionJobResponse
348
422
 
349
423
  StartTranscriptionJobRequest.add_member(:transcription_job_name, Shapes::ShapeRef.new(shape: TranscriptionJobName, required: true, location_name: "TranscriptionJobName"))
350
- StartTranscriptionJobRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
424
+ StartTranscriptionJobRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
351
425
  StartTranscriptionJobRequest.add_member(:media_sample_rate_hertz, Shapes::ShapeRef.new(shape: MediaSampleRateHertz, location_name: "MediaSampleRateHertz"))
352
426
  StartTranscriptionJobRequest.add_member(:media_format, Shapes::ShapeRef.new(shape: MediaFormat, location_name: "MediaFormat"))
353
427
  StartTranscriptionJobRequest.add_member(:media, Shapes::ShapeRef.new(shape: Media, required: true, location_name: "Media"))
354
428
  StartTranscriptionJobRequest.add_member(:output_bucket_name, Shapes::ShapeRef.new(shape: OutputBucketName, location_name: "OutputBucketName"))
355
429
  StartTranscriptionJobRequest.add_member(:output_encryption_kms_key_id, Shapes::ShapeRef.new(shape: KMSKeyId, location_name: "OutputEncryptionKMSKeyId"))
356
430
  StartTranscriptionJobRequest.add_member(:settings, Shapes::ShapeRef.new(shape: Settings, location_name: "Settings"))
431
+ StartTranscriptionJobRequest.add_member(:model_settings, Shapes::ShapeRef.new(shape: ModelSettings, location_name: "ModelSettings"))
357
432
  StartTranscriptionJobRequest.add_member(:job_execution_settings, Shapes::ShapeRef.new(shape: JobExecutionSettings, location_name: "JobExecutionSettings"))
358
433
  StartTranscriptionJobRequest.add_member(:content_redaction, Shapes::ShapeRef.new(shape: ContentRedaction, location_name: "ContentRedaction"))
434
+ StartTranscriptionJobRequest.add_member(:identify_language, Shapes::ShapeRef.new(shape: Boolean, location_name: "IdentifyLanguage"))
435
+ StartTranscriptionJobRequest.add_member(:language_options, Shapes::ShapeRef.new(shape: LanguageOptions, location_name: "LanguageOptions"))
359
436
  StartTranscriptionJobRequest.struct_class = Types::StartTranscriptionJobRequest
360
437
 
361
438
  StartTranscriptionJobResponse.add_member(:transcription_job, Shapes::ShapeRef.new(shape: TranscriptionJob, location_name: "TranscriptionJob"))
@@ -377,8 +454,12 @@ module Aws::TranscribeService
377
454
  TranscriptionJob.add_member(:completion_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CompletionTime"))
378
455
  TranscriptionJob.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
379
456
  TranscriptionJob.add_member(:settings, Shapes::ShapeRef.new(shape: Settings, location_name: "Settings"))
457
+ TranscriptionJob.add_member(:model_settings, Shapes::ShapeRef.new(shape: ModelSettings, location_name: "ModelSettings"))
380
458
  TranscriptionJob.add_member(:job_execution_settings, Shapes::ShapeRef.new(shape: JobExecutionSettings, location_name: "JobExecutionSettings"))
381
459
  TranscriptionJob.add_member(:content_redaction, Shapes::ShapeRef.new(shape: ContentRedaction, location_name: "ContentRedaction"))
460
+ TranscriptionJob.add_member(:identify_language, Shapes::ShapeRef.new(shape: Boolean, location_name: "IdentifyLanguage"))
461
+ TranscriptionJob.add_member(:language_options, Shapes::ShapeRef.new(shape: LanguageOptions, location_name: "LanguageOptions"))
462
+ TranscriptionJob.add_member(:identified_language_score, Shapes::ShapeRef.new(shape: IdentifiedLanguageScore, location_name: "IdentifiedLanguageScore"))
382
463
  TranscriptionJob.struct_class = Types::TranscriptionJob
383
464
 
384
465
  TranscriptionJobSummaries.member = Shapes::ShapeRef.new(shape: TranscriptionJobSummary)
@@ -392,6 +473,9 @@ module Aws::TranscribeService
392
473
  TranscriptionJobSummary.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
393
474
  TranscriptionJobSummary.add_member(:output_location_type, Shapes::ShapeRef.new(shape: OutputLocationType, location_name: "OutputLocationType"))
394
475
  TranscriptionJobSummary.add_member(:content_redaction, Shapes::ShapeRef.new(shape: ContentRedaction, location_name: "ContentRedaction"))
476
+ TranscriptionJobSummary.add_member(:model_settings, Shapes::ShapeRef.new(shape: ModelSettings, location_name: "ModelSettings"))
477
+ TranscriptionJobSummary.add_member(:identify_language, Shapes::ShapeRef.new(shape: Boolean, location_name: "IdentifyLanguage"))
478
+ TranscriptionJobSummary.add_member(:identified_language_score, Shapes::ShapeRef.new(shape: IdentifiedLanguageScore, location_name: "IdentifiedLanguageScore"))
395
479
  TranscriptionJobSummary.struct_class = Types::TranscriptionJobSummary
396
480
 
397
481
  UpdateMedicalVocabularyRequest.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, required: true, location_name: "VocabularyName"))
@@ -463,6 +547,18 @@ module Aws::TranscribeService
463
547
  "uid" => "transcribe-2017-10-26",
464
548
  }
465
549
 
550
+ api.add_operation(:create_language_model, Seahorse::Model::Operation.new.tap do |o|
551
+ o.name = "CreateLanguageModel"
552
+ o.http_method = "POST"
553
+ o.http_request_uri = "/"
554
+ o.input = Shapes::ShapeRef.new(shape: CreateLanguageModelRequest)
555
+ o.output = Shapes::ShapeRef.new(shape: CreateLanguageModelResponse)
556
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
557
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
558
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
559
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
560
+ end)
561
+
466
562
  api.add_operation(:create_medical_vocabulary, Seahorse::Model::Operation.new.tap do |o|
467
563
  o.name = "CreateMedicalVocabulary"
468
564
  o.http_method = "POST"
@@ -499,6 +595,17 @@ module Aws::TranscribeService
499
595
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
500
596
  end)
501
597
 
598
+ api.add_operation(:delete_language_model, Seahorse::Model::Operation.new.tap do |o|
599
+ o.name = "DeleteLanguageModel"
600
+ o.http_method = "POST"
601
+ o.http_request_uri = "/"
602
+ o.input = Shapes::ShapeRef.new(shape: DeleteLanguageModelRequest)
603
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
604
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
605
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
606
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
607
+ end)
608
+
502
609
  api.add_operation(:delete_medical_transcription_job, Seahorse::Model::Operation.new.tap do |o|
503
610
  o.name = "DeleteMedicalTranscriptionJob"
504
611
  o.http_method = "POST"
@@ -557,6 +664,18 @@ module Aws::TranscribeService
557
664
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
558
665
  end)
559
666
 
667
+ api.add_operation(:describe_language_model, Seahorse::Model::Operation.new.tap do |o|
668
+ o.name = "DescribeLanguageModel"
669
+ o.http_method = "POST"
670
+ o.http_request_uri = "/"
671
+ o.input = Shapes::ShapeRef.new(shape: DescribeLanguageModelRequest)
672
+ o.output = Shapes::ShapeRef.new(shape: DescribeLanguageModelResponse)
673
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
674
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
675
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
676
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
677
+ end)
678
+
560
679
  api.add_operation(:get_medical_transcription_job, Seahorse::Model::Operation.new.tap do |o|
561
680
  o.name = "GetMedicalTranscriptionJob"
562
681
  o.http_method = "POST"
@@ -617,6 +736,23 @@ module Aws::TranscribeService
617
736
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
618
737
  end)
619
738
 
739
+ api.add_operation(:list_language_models, Seahorse::Model::Operation.new.tap do |o|
740
+ o.name = "ListLanguageModels"
741
+ o.http_method = "POST"
742
+ o.http_request_uri = "/"
743
+ o.input = Shapes::ShapeRef.new(shape: ListLanguageModelsRequest)
744
+ o.output = Shapes::ShapeRef.new(shape: ListLanguageModelsResponse)
745
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
746
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
747
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
748
+ o[:pager] = Aws::Pager.new(
749
+ limit_key: "max_results",
750
+ tokens: {
751
+ "next_token" => "next_token"
752
+ }
753
+ )
754
+ end)
755
+
620
756
  api.add_operation(:list_medical_transcription_jobs, Seahorse::Model::Operation.new.tap do |o|
621
757
  o.name = "ListMedicalTranscriptionJobs"
622
758
  o.http_method = "POST"
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -9,9 +11,9 @@ module Aws::TranscribeService
9
11
  module Types
10
12
 
11
13
  # Your request didn't pass one or more validation tests. For example,
12
- # if the transcription you're trying to delete doesn't exist or if it
13
- # is in a non-terminal state (for example, it's "in progress"). See
14
- # the exception `Message` field for more information.
14
+ # if the entity that you're trying to delete doesn't exist or if it is
15
+ # in a non-terminal state (for example, it's "in progress"). See the
16
+ # exception `Message` field for more information.
15
17
  #
16
18
  # @!attribute [rw] message
17
19
  # @return [String]
@@ -20,10 +22,11 @@ module Aws::TranscribeService
20
22
  #
21
23
  class BadRequestException < Struct.new(
22
24
  :message)
25
+ SENSITIVE = []
23
26
  include Aws::Structure
24
27
  end
25
28
 
26
- # The resource name already exists.
29
+ # There is already a resource with that name.
27
30
  #
28
31
  # @!attribute [rw] message
29
32
  # @return [String]
@@ -32,6 +35,7 @@ module Aws::TranscribeService
32
35
  #
33
36
  class ConflictException < Struct.new(
34
37
  :message)
38
+ SENSITIVE = []
35
39
  include Aws::Structure
36
40
  end
37
41
 
@@ -66,6 +70,94 @@ module Aws::TranscribeService
66
70
  class ContentRedaction < Struct.new(
67
71
  :redaction_type,
68
72
  :redaction_output)
73
+ SENSITIVE = []
74
+ include Aws::Structure
75
+ end
76
+
77
+ # @note When making an API call, you may pass CreateLanguageModelRequest
78
+ # data as a hash:
79
+ #
80
+ # {
81
+ # language_code: "en-US", # required, accepts en-US
82
+ # base_model_name: "NarrowBand", # required, accepts NarrowBand, WideBand
83
+ # model_name: "ModelName", # required
84
+ # input_data_config: { # required
85
+ # s3_uri: "Uri", # required
86
+ # tuning_data_s3_uri: "Uri",
87
+ # data_access_role_arn: "DataAccessRoleArn", # required
88
+ # },
89
+ # }
90
+ #
91
+ # @!attribute [rw] language_code
92
+ # The language of the input text you're using to train your custom
93
+ # language model.
94
+ # @return [String]
95
+ #
96
+ # @!attribute [rw] base_model_name
97
+ # The Amazon Transcribe standard language model, or base model used to
98
+ # create your custom language model.
99
+ #
100
+ # If you want to use your custom language model to transcribe audio
101
+ # with a sample rate of 16 kHz or greater, choose `Wideband`.
102
+ #
103
+ # If you want to use your custom language model to transcribe audio
104
+ # with a sample rate that is less than 16 kHz, choose `Narrowband`.
105
+ # @return [String]
106
+ #
107
+ # @!attribute [rw] model_name
108
+ # The name you choose for your custom language model when you create
109
+ # it.
110
+ # @return [String]
111
+ #
112
+ # @!attribute [rw] input_data_config
113
+ # Contains the data access role and the Amazon S3 prefixes to read the
114
+ # required input files to create a custom language model.
115
+ # @return [Types::InputDataConfig]
116
+ #
117
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateLanguageModelRequest AWS API Documentation
118
+ #
119
+ class CreateLanguageModelRequest < Struct.new(
120
+ :language_code,
121
+ :base_model_name,
122
+ :model_name,
123
+ :input_data_config)
124
+ SENSITIVE = []
125
+ include Aws::Structure
126
+ end
127
+
128
+ # @!attribute [rw] language_code
129
+ # The language code of the text you've used to create a custom
130
+ # language model.
131
+ # @return [String]
132
+ #
133
+ # @!attribute [rw] base_model_name
134
+ # The Amazon Transcribe standard language model, or base model you've
135
+ # used to create a custom language model.
136
+ # @return [String]
137
+ #
138
+ # @!attribute [rw] model_name
139
+ # The name you've chosen for your custom language model.
140
+ # @return [String]
141
+ #
142
+ # @!attribute [rw] input_data_config
143
+ # The data access role and Amazon S3 prefixes you've chosen to create
144
+ # your custom language model.
145
+ # @return [Types::InputDataConfig]
146
+ #
147
+ # @!attribute [rw] model_status
148
+ # The status of the custom language model. When the status is
149
+ # `COMPLETED` the model is ready to use.
150
+ # @return [String]
151
+ #
152
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateLanguageModelResponse AWS API Documentation
153
+ #
154
+ class CreateLanguageModelResponse < Struct.new(
155
+ :language_code,
156
+ :base_model_name,
157
+ :model_name,
158
+ :input_data_config,
159
+ :model_status)
160
+ SENSITIVE = []
69
161
  include Aws::Structure
70
162
  end
71
163
 
@@ -74,40 +166,42 @@ module Aws::TranscribeService
74
166
  #
75
167
  # {
76
168
  # vocabulary_name: "VocabularyName", # required
77
- # language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR, it-IT, ko-KR, es-ES, en-IN, hi-IN, ar-SA, ru-RU, zh-CN, nl-NL, id-ID, ta-IN, fa-IR, en-IE, en-AB, en-WL, pt-PT, te-IN, tr-TR, de-CH, he-IL, ms-MY, ja-JP, ar-AE
169
+ # language_code: "af-ZA", # required, 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
78
170
  # vocabulary_file_uri: "Uri", # required
79
171
  # }
80
172
  #
81
173
  # @!attribute [rw] vocabulary_name
82
174
  # The name of the custom vocabulary. This case-sensitive name must be
83
175
  # unique within an AWS account. If you try to create a vocabulary with
84
- # the same name as a previous vocabulary you will receive a
176
+ # the same name as a previous vocabulary, you get a
85
177
  # `ConflictException` error.
86
178
  # @return [String]
87
179
  #
88
180
  # @!attribute [rw] language_code
89
- # The language code used for the entries within your custom
90
- # vocabulary. The language code of your custom vocabulary must match
91
- # the language code of your transcription job. US English (en-US) is
92
- # the only language code available for Amazon Transcribe Medical.
181
+ # The language code for the language used for the entries in your
182
+ # custom vocabulary. The language code of your custom vocabulary must
183
+ # match the language code of your transcription job. US English
184
+ # (en-US) is the only language code available for Amazon Transcribe
185
+ # Medical.
93
186
  # @return [String]
94
187
  #
95
188
  # @!attribute [rw] vocabulary_file_uri
96
- # The Amazon S3 location of the text file you use to define your
97
- # custom vocabulary. The URI must be in the same AWS region as the API
98
- # endpoint you're calling. Enter information about your
189
+ # The location in Amazon S3 of the text file you use to define your
190
+ # custom vocabulary. The URI must be in the same AWS Region as the
191
+ # resource that you're calling. Enter information about your
99
192
  # `VocabularyFileUri` in the following format:
100
193
  #
101
194
  # `
102
195
  # https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
103
196
  # `
104
197
  #
105
- # This is an example of a vocabulary file uri location in Amazon S3:
198
+ # The following is an example URI for a vocabulary file that is stored
199
+ # in Amazon S3:
106
200
  #
107
201
  # `https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt`
108
202
  #
109
- # For more information about S3 object names, see [Object Keys][1] in
110
- # the *Amazon S3 Developer Guide*.
203
+ # For more information about Amazon S3 object names, see [Object
204
+ # Keys][1] in the *Amazon S3 Developer Guide*.
111
205
  #
112
206
  # For more information about custom vocabularies, see [Medical Custom
113
207
  # Vocabularies][2].
@@ -124,28 +218,29 @@ module Aws::TranscribeService
124
218
  :vocabulary_name,
125
219
  :language_code,
126
220
  :vocabulary_file_uri)
221
+ SENSITIVE = []
127
222
  include Aws::Structure
128
223
  end
129
224
 
130
225
  # @!attribute [rw] vocabulary_name
131
226
  # The name of the vocabulary. The name must be unique within an AWS
132
- # account. It is also case-sensitive.
227
+ # account and is case sensitive.
133
228
  # @return [String]
134
229
  #
135
230
  # @!attribute [rw] language_code
136
- # The language code you chose to describe the entries in your custom
137
- # vocabulary. US English (en-US) is the only valid language code for
138
- # Amazon Transcribe Medical.
231
+ # The language code for the entries in your custom vocabulary. US
232
+ # English (en-US) is the only valid language code for Amazon
233
+ # Transcribe Medical.
139
234
  # @return [String]
140
235
  #
141
236
  # @!attribute [rw] vocabulary_state
142
237
  # The processing state of your custom vocabulary in Amazon Transcribe
143
- # Medical. If the state is `READY` you can use the vocabulary in a
238
+ # Medical. If the state is `READY`, you can use the vocabulary in a
144
239
  # `StartMedicalTranscriptionJob` request.
145
240
  # @return [String]
146
241
  #
147
242
  # @!attribute [rw] last_modified_time
148
- # The date and time you created the vocabulary.
243
+ # The date and time that you created the vocabulary.
149
244
  # @return [Time]
150
245
  #
151
246
  # @!attribute [rw] failure_reason
@@ -161,6 +256,7 @@ module Aws::TranscribeService
161
256
  :vocabulary_state,
162
257
  :last_modified_time,
163
258
  :failure_reason)
259
+ SENSITIVE = []
164
260
  include Aws::Structure
165
261
  end
166
262
 
@@ -169,16 +265,16 @@ module Aws::TranscribeService
169
265
  #
170
266
  # {
171
267
  # vocabulary_filter_name: "VocabularyFilterName", # required
172
- # language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR, it-IT, ko-KR, es-ES, en-IN, hi-IN, ar-SA, ru-RU, zh-CN, nl-NL, id-ID, ta-IN, fa-IR, en-IE, en-AB, en-WL, pt-PT, te-IN, tr-TR, de-CH, he-IL, ms-MY, ja-JP, ar-AE
268
+ # language_code: "af-ZA", # required, 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
173
269
  # words: ["Word"],
174
270
  # vocabulary_filter_file_uri: "Uri",
175
271
  # }
176
272
  #
177
273
  # @!attribute [rw] vocabulary_filter_name
178
274
  # The vocabulary filter name. The name must be unique within the
179
- # account that contains it.If you try to create a vocabulary filter
180
- # with the same name as a previous vocabulary filter you will receive
181
- # a `ConflictException` error.
275
+ # account that contains it. If you try to create a vocabulary filter
276
+ # with the same name as another vocabulary filter, you get a
277
+ # `ConflictException` error.
182
278
  # @return [String]
183
279
  #
184
280
  # @!attribute [rw] language_code
@@ -224,6 +320,7 @@ module Aws::TranscribeService
224
320
  :language_code,
225
321
  :words,
226
322
  :vocabulary_filter_file_uri)
323
+ SENSITIVE = []
227
324
  include Aws::Structure
228
325
  end
229
326
 
@@ -245,6 +342,7 @@ module Aws::TranscribeService
245
342
  :vocabulary_filter_name,
246
343
  :language_code,
247
344
  :last_modified_time)
345
+ SENSITIVE = []
248
346
  include Aws::Structure
249
347
  end
250
348
 
@@ -253,14 +351,14 @@ module Aws::TranscribeService
253
351
  #
254
352
  # {
255
353
  # vocabulary_name: "VocabularyName", # required
256
- # language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR, it-IT, ko-KR, es-ES, en-IN, hi-IN, ar-SA, ru-RU, zh-CN, nl-NL, id-ID, ta-IN, fa-IR, en-IE, en-AB, en-WL, pt-PT, te-IN, tr-TR, de-CH, he-IL, ms-MY, ja-JP, ar-AE
354
+ # language_code: "af-ZA", # required, 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
257
355
  # phrases: ["Phrase"],
258
356
  # vocabulary_file_uri: "Uri",
259
357
  # }
260
358
  #
261
359
  # @!attribute [rw] vocabulary_name
262
360
  # The name of the vocabulary. The name must be unique within an AWS
263
- # account. The name is case-sensitive. If you try to create a
361
+ # account. The name is case sensitive. If you try to create a
264
362
  # vocabulary with the same name as a previous vocabulary you will
265
363
  # receive a `ConflictException` error.
266
364
  # @return [String]
@@ -297,6 +395,7 @@ module Aws::TranscribeService
297
395
  :language_code,
298
396
  :phrases,
299
397
  :vocabulary_file_uri)
398
+ SENSITIVE = []
300
399
  include Aws::Structure
301
400
  end
302
401
 
@@ -331,6 +430,26 @@ module Aws::TranscribeService
331
430
  :vocabulary_state,
332
431
  :last_modified_time,
333
432
  :failure_reason)
433
+ SENSITIVE = []
434
+ include Aws::Structure
435
+ end
436
+
437
+ # @note When making an API call, you may pass DeleteLanguageModelRequest
438
+ # data as a hash:
439
+ #
440
+ # {
441
+ # model_name: "ModelName", # required
442
+ # }
443
+ #
444
+ # @!attribute [rw] model_name
445
+ # The name of the model you're choosing to delete.
446
+ # @return [String]
447
+ #
448
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteLanguageModelRequest AWS API Documentation
449
+ #
450
+ class DeleteLanguageModelRequest < Struct.new(
451
+ :model_name)
452
+ SENSITIVE = []
334
453
  include Aws::Structure
335
454
  end
336
455
 
@@ -350,6 +469,7 @@ module Aws::TranscribeService
350
469
  #
351
470
  class DeleteMedicalTranscriptionJobRequest < Struct.new(
352
471
  :medical_transcription_job_name)
472
+ SENSITIVE = []
353
473
  include Aws::Structure
354
474
  end
355
475
 
@@ -361,13 +481,14 @@ module Aws::TranscribeService
361
481
  # }
362
482
  #
363
483
  # @!attribute [rw] vocabulary_name
364
- # The name of the vocabulary you are choosing to delete.
484
+ # The name of the vocabulary that you want to delete.
365
485
  # @return [String]
366
486
  #
367
487
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteMedicalVocabularyRequest AWS API Documentation
368
488
  #
369
489
  class DeleteMedicalVocabularyRequest < Struct.new(
370
490
  :vocabulary_name)
491
+ SENSITIVE = []
371
492
  include Aws::Structure
372
493
  end
373
494
 
@@ -386,6 +507,7 @@ module Aws::TranscribeService
386
507
  #
387
508
  class DeleteTranscriptionJobRequest < Struct.new(
388
509
  :transcription_job_name)
510
+ SENSITIVE = []
389
511
  include Aws::Structure
390
512
  end
391
513
 
@@ -404,6 +526,7 @@ module Aws::TranscribeService
404
526
  #
405
527
  class DeleteVocabularyFilterRequest < Struct.new(
406
528
  :vocabulary_filter_name)
529
+ SENSITIVE = []
407
530
  include Aws::Structure
408
531
  end
409
532
 
@@ -422,6 +545,40 @@ module Aws::TranscribeService
422
545
  #
423
546
  class DeleteVocabularyRequest < Struct.new(
424
547
  :vocabulary_name)
548
+ SENSITIVE = []
549
+ include Aws::Structure
550
+ end
551
+
552
+ # @note When making an API call, you may pass DescribeLanguageModelRequest
553
+ # data as a hash:
554
+ #
555
+ # {
556
+ # model_name: "ModelName", # required
557
+ # }
558
+ #
559
+ # @!attribute [rw] model_name
560
+ # The name of the custom language model you submit to get more
561
+ # information.
562
+ # @return [String]
563
+ #
564
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DescribeLanguageModelRequest AWS API Documentation
565
+ #
566
+ class DescribeLanguageModelRequest < Struct.new(
567
+ :model_name)
568
+ SENSITIVE = []
569
+ include Aws::Structure
570
+ end
571
+
572
+ # @!attribute [rw] language_model
573
+ # The name of the custom language model you requested more information
574
+ # about.
575
+ # @return [Types::LanguageModel]
576
+ #
577
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DescribeLanguageModelResponse AWS API Documentation
578
+ #
579
+ class DescribeLanguageModelResponse < Struct.new(
580
+ :language_model)
581
+ SENSITIVE = []
425
582
  include Aws::Structure
426
583
  end
427
584
 
@@ -440,6 +597,7 @@ module Aws::TranscribeService
440
597
  #
441
598
  class GetMedicalTranscriptionJobRequest < Struct.new(
442
599
  :medical_transcription_job_name)
600
+ SENSITIVE = []
443
601
  include Aws::Structure
444
602
  end
445
603
 
@@ -452,6 +610,7 @@ module Aws::TranscribeService
452
610
  #
453
611
  class GetMedicalTranscriptionJobResponse < Struct.new(
454
612
  :medical_transcription_job)
613
+ SENSITIVE = []
455
614
  include Aws::Structure
456
615
  end
457
616
 
@@ -463,32 +622,35 @@ module Aws::TranscribeService
463
622
  # }
464
623
  #
465
624
  # @!attribute [rw] vocabulary_name
466
- # The name of the vocabulary you are trying to get information about.
467
- # The value you enter for this request is case-sensitive.
625
+ # The name of the vocabulary that you want information about. The
626
+ # value is case sensitive.
468
627
  # @return [String]
469
628
  #
470
629
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetMedicalVocabularyRequest AWS API Documentation
471
630
  #
472
631
  class GetMedicalVocabularyRequest < Struct.new(
473
632
  :vocabulary_name)
633
+ SENSITIVE = []
474
634
  include Aws::Structure
475
635
  end
476
636
 
477
637
  # @!attribute [rw] vocabulary_name
478
- # The valid name that Amazon Transcribe Medical returns.
638
+ # The name of the vocabulary returned by Amazon Transcribe Medical.
479
639
  # @return [String]
480
640
  #
481
641
  # @!attribute [rw] language_code
482
- # The valid language code returned for your vocabulary entries.
642
+ # The valid language code for your vocabulary entries.
483
643
  # @return [String]
484
644
  #
485
645
  # @!attribute [rw] vocabulary_state
486
- # The processing state of the vocabulary.
646
+ # The processing state of the vocabulary. If the `VocabularyState` is
647
+ # `READY` then you can use it in the `StartMedicalTranscriptionJob`
648
+ # operation.
487
649
  # @return [String]
488
650
  #
489
651
  # @!attribute [rw] last_modified_time
490
- # The date and time the vocabulary was last modified with a text file
491
- # different from what was previously used.
652
+ # The date and time that the vocabulary was last modified with a text
653
+ # file different from the one that was previously used.
492
654
  # @return [Time]
493
655
  #
494
656
  # @!attribute [rw] failure_reason
@@ -497,8 +659,8 @@ module Aws::TranscribeService
497
659
  # @return [String]
498
660
  #
499
661
  # @!attribute [rw] download_uri
500
- # The Amazon S3 location where the vocabulary is stored. Use this URI
501
- # to get the contents of the vocabulary. You can download your
662
+ # The location in Amazon S3 where the vocabulary is stored. Use this
663
+ # URI to get the contents of the vocabulary. You can download your
502
664
  # vocabulary from the URI for a limited time.
503
665
  # @return [String]
504
666
  #
@@ -511,6 +673,7 @@ module Aws::TranscribeService
511
673
  :last_modified_time,
512
674
  :failure_reason,
513
675
  :download_uri)
676
+ SENSITIVE = []
514
677
  include Aws::Structure
515
678
  end
516
679
 
@@ -529,6 +692,7 @@ module Aws::TranscribeService
529
692
  #
530
693
  class GetTranscriptionJobRequest < Struct.new(
531
694
  :transcription_job_name)
695
+ SENSITIVE = []
532
696
  include Aws::Structure
533
697
  end
534
698
 
@@ -540,6 +704,7 @@ module Aws::TranscribeService
540
704
  #
541
705
  class GetTranscriptionJobResponse < Struct.new(
542
706
  :transcription_job)
707
+ SENSITIVE = []
543
708
  include Aws::Structure
544
709
  end
545
710
 
@@ -558,6 +723,7 @@ module Aws::TranscribeService
558
723
  #
559
724
  class GetVocabularyFilterRequest < Struct.new(
560
725
  :vocabulary_filter_name)
726
+ SENSITIVE = []
561
727
  include Aws::Structure
562
728
  end
563
729
 
@@ -586,6 +752,7 @@ module Aws::TranscribeService
586
752
  :language_code,
587
753
  :last_modified_time,
588
754
  :download_uri)
755
+ SENSITIVE = []
589
756
  include Aws::Structure
590
757
  end
591
758
 
@@ -598,13 +765,14 @@ module Aws::TranscribeService
598
765
  #
599
766
  # @!attribute [rw] vocabulary_name
600
767
  # The name of the vocabulary to return information about. The name is
601
- # case-sensitive.
768
+ # case sensitive.
602
769
  # @return [String]
603
770
  #
604
771
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetVocabularyRequest AWS API Documentation
605
772
  #
606
773
  class GetVocabularyRequest < Struct.new(
607
774
  :vocabulary_name)
775
+ SENSITIVE = []
608
776
  include Aws::Structure
609
777
  end
610
778
 
@@ -644,6 +812,45 @@ module Aws::TranscribeService
644
812
  :last_modified_time,
645
813
  :failure_reason,
646
814
  :download_uri)
815
+ SENSITIVE = []
816
+ include Aws::Structure
817
+ end
818
+
819
+ # The object that contains the Amazon S3 object location and access role
820
+ # required to train and tune your custom language model.
821
+ #
822
+ # @note When making an API call, you may pass InputDataConfig
823
+ # data as a hash:
824
+ #
825
+ # {
826
+ # s3_uri: "Uri", # required
827
+ # tuning_data_s3_uri: "Uri",
828
+ # data_access_role_arn: "DataAccessRoleArn", # required
829
+ # }
830
+ #
831
+ # @!attribute [rw] s3_uri
832
+ # The Amazon S3 prefix you specify to access the plain text files that
833
+ # you use to train your custom language model.
834
+ # @return [String]
835
+ #
836
+ # @!attribute [rw] tuning_data_s3_uri
837
+ # The Amazon S3 prefix you specify to access the plain text files that
838
+ # you use to tune your custom language model.
839
+ # @return [String]
840
+ #
841
+ # @!attribute [rw] data_access_role_arn
842
+ # The Amazon Resource Name (ARN) that uniquely identifies the
843
+ # permissions you've given Amazon Transcribe to access your Amazon S3
844
+ # buckets containing your media files or text data.
845
+ # @return [String]
846
+ #
847
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/InputDataConfig AWS API Documentation
848
+ #
849
+ class InputDataConfig < Struct.new(
850
+ :s3_uri,
851
+ :tuning_data_s3_uri,
852
+ :data_access_role_arn)
853
+ SENSITIVE = []
647
854
  include Aws::Structure
648
855
  end
649
856
 
@@ -657,6 +864,7 @@ module Aws::TranscribeService
657
864
  #
658
865
  class InternalFailureException < Struct.new(
659
866
  :message)
867
+ SENSITIVE = []
660
868
  include Aws::Structure
661
869
  end
662
870
 
@@ -699,6 +907,66 @@ module Aws::TranscribeService
699
907
  class JobExecutionSettings < Struct.new(
700
908
  :allow_deferred_execution,
701
909
  :data_access_role_arn)
910
+ SENSITIVE = []
911
+ include Aws::Structure
912
+ end
913
+
914
+ # The structure used to describe a custom language model.
915
+ #
916
+ # @!attribute [rw] model_name
917
+ # The name of the custom language model.
918
+ # @return [String]
919
+ #
920
+ # @!attribute [rw] create_time
921
+ # The time the custom language model was created.
922
+ # @return [Time]
923
+ #
924
+ # @!attribute [rw] last_modified_time
925
+ # The most recent time the custom language model was modified.
926
+ # @return [Time]
927
+ #
928
+ # @!attribute [rw] language_code
929
+ # The language code you used to create your custom language model.
930
+ # @return [String]
931
+ #
932
+ # @!attribute [rw] base_model_name
933
+ # The Amazon Transcribe standard language model, or base model used to
934
+ # create the custom language model.
935
+ # @return [String]
936
+ #
937
+ # @!attribute [rw] model_status
938
+ # The creation status of a custom language model. When the status is
939
+ # `COMPLETED` the model is ready for use.
940
+ # @return [String]
941
+ #
942
+ # @!attribute [rw] upgrade_availability
943
+ # Whether the base model used for the custom language model is up to
944
+ # date. If this field is `true` then you are running the most
945
+ # up-to-date version of the base model in your custom language model.
946
+ # @return [Boolean]
947
+ #
948
+ # @!attribute [rw] failure_reason
949
+ # The reason why the custom language model couldn't be created.
950
+ # @return [String]
951
+ #
952
+ # @!attribute [rw] input_data_config
953
+ # The data access role and Amazon S3 prefixes for the input files used
954
+ # to train the custom language model.
955
+ # @return [Types::InputDataConfig]
956
+ #
957
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/LanguageModel AWS API Documentation
958
+ #
959
+ class LanguageModel < Struct.new(
960
+ :model_name,
961
+ :create_time,
962
+ :last_modified_time,
963
+ :language_code,
964
+ :base_model_name,
965
+ :model_status,
966
+ :upgrade_availability,
967
+ :failure_reason,
968
+ :input_data_config)
969
+ SENSITIVE = []
702
970
  include Aws::Structure
703
971
  end
704
972
 
@@ -713,6 +981,73 @@ module Aws::TranscribeService
713
981
  #
714
982
  class LimitExceededException < Struct.new(
715
983
  :message)
984
+ SENSITIVE = []
985
+ include Aws::Structure
986
+ end
987
+
988
+ # @note When making an API call, you may pass ListLanguageModelsRequest
989
+ # data as a hash:
990
+ #
991
+ # {
992
+ # status_equals: "IN_PROGRESS", # accepts IN_PROGRESS, FAILED, COMPLETED
993
+ # name_contains: "ModelName",
994
+ # next_token: "NextToken",
995
+ # max_results: 1,
996
+ # }
997
+ #
998
+ # @!attribute [rw] status_equals
999
+ # When specified, returns only custom language models with the
1000
+ # specified status. Language models are ordered by creation date, with
1001
+ # the newest models first. If you don't specify a status, Amazon
1002
+ # Transcribe returns all custom language models ordered by date.
1003
+ # @return [String]
1004
+ #
1005
+ # @!attribute [rw] name_contains
1006
+ # When specified, the custom language model names returned contain the
1007
+ # substring you've specified.
1008
+ # @return [String]
1009
+ #
1010
+ # @!attribute [rw] next_token
1011
+ # When included, fetches the next set of jobs if the result of the
1012
+ # previous request was truncated.
1013
+ # @return [String]
1014
+ #
1015
+ # @!attribute [rw] max_results
1016
+ # The maximum number of language models to return in the response. If
1017
+ # there are fewer results in the list, the response contains only the
1018
+ # actual results.
1019
+ # @return [Integer]
1020
+ #
1021
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListLanguageModelsRequest AWS API Documentation
1022
+ #
1023
+ class ListLanguageModelsRequest < Struct.new(
1024
+ :status_equals,
1025
+ :name_contains,
1026
+ :next_token,
1027
+ :max_results)
1028
+ SENSITIVE = []
1029
+ include Aws::Structure
1030
+ end
1031
+
1032
+ # @!attribute [rw] next_token
1033
+ # The operation returns a page of jobs at a time. The maximum size of
1034
+ # the list is set by the MaxResults parameter. If there are more
1035
+ # language models in the list than the page size, Amazon Transcribe
1036
+ # returns the `NextPage` token. Include the token in the next request
1037
+ # to the operation to return the next page of language models.
1038
+ # @return [String]
1039
+ #
1040
+ # @!attribute [rw] models
1041
+ # A list of objects containing information about custom language
1042
+ # models.
1043
+ # @return [Array<Types::LanguageModel>]
1044
+ #
1045
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListLanguageModelsResponse AWS API Documentation
1046
+ #
1047
+ class ListLanguageModelsResponse < Struct.new(
1048
+ :next_token,
1049
+ :models)
1050
+ SENSITIVE = []
716
1051
  include Aws::Structure
717
1052
  end
718
1053
 
@@ -758,6 +1093,7 @@ module Aws::TranscribeService
758
1093
  :job_name_contains,
759
1094
  :next_token,
760
1095
  :max_results)
1096
+ SENSITIVE = []
761
1097
  include Aws::Structure
762
1098
  end
763
1099
 
@@ -785,6 +1121,7 @@ module Aws::TranscribeService
785
1121
  :status,
786
1122
  :next_token,
787
1123
  :medical_transcription_job_summaries)
1124
+ SENSITIVE = []
788
1125
  include Aws::Structure
789
1126
  end
790
1127
 
@@ -801,7 +1138,7 @@ module Aws::TranscribeService
801
1138
  # @!attribute [rw] next_token
802
1139
  # If the result of your previous request to `ListMedicalVocabularies`
803
1140
  # was truncated, include the `NextToken` to fetch the next set of
804
- # jobs.
1141
+ # vocabularies.
805
1142
  # @return [String]
806
1143
  #
807
1144
  # @!attribute [rw] max_results
@@ -809,15 +1146,15 @@ module Aws::TranscribeService
809
1146
  # @return [Integer]
810
1147
  #
811
1148
  # @!attribute [rw] state_equals
812
- # When specified, only returns vocabularies with the `VocabularyState`
813
- # equal to the specified vocabulary state.
1149
+ # When specified, returns only vocabularies with the `VocabularyState`
1150
+ # equal to the specified vocabulary state. Use this field to see which
1151
+ # vocabularies are ready for your medical transcription jobs.
814
1152
  # @return [String]
815
1153
  #
816
1154
  # @!attribute [rw] name_contains
817
- # Returns vocabularies in the list whose name contains the specified
818
- # string. The search is case-insensitive, `ListMedicalVocabularies`
819
- # returns both "vocabularyname" and "VocabularyName" in the
820
- # response list.
1155
+ # Returns vocabularies whose names contain the specified string. The
1156
+ # search is not case sensitive. `ListMedicalVocabularies` returns both
1157
+ # "`vocabularyname`" and "`VocabularyName`".
821
1158
  # @return [String]
822
1159
  #
823
1160
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListMedicalVocabulariesRequest AWS API Documentation
@@ -827,6 +1164,7 @@ module Aws::TranscribeService
827
1164
  :max_results,
828
1165
  :state_equals,
829
1166
  :name_contains)
1167
+ SENSITIVE = []
830
1168
  include Aws::Structure
831
1169
  end
832
1170
 
@@ -836,16 +1174,17 @@ module Aws::TranscribeService
836
1174
  #
837
1175
  # @!attribute [rw] next_token
838
1176
  # The `ListMedicalVocabularies` operation returns a page of
839
- # vocabularies at a time. The maximum size of the page is set by the
840
- # `MaxResults` parameter. If there are more jobs in the list than the
841
- # page size, Amazon Transcribe Medical returns the `NextPage` token.
842
- # Include the token in the next request to the
843
- # `ListMedicalVocabularies` operation to return the next page of jobs.
1177
+ # vocabularies at a time. You set the maximum number of vocabularies
1178
+ # to return on a page with the `MaxResults` parameter. If there are
1179
+ # more jobs in the list will fit on a page, Amazon Transcribe Medical
1180
+ # returns the `NextPage` token. To return the next page of
1181
+ # vocabularies, include the token in the next request to the
1182
+ # `ListMedicalVocabularies` operation .
844
1183
  # @return [String]
845
1184
  #
846
1185
  # @!attribute [rw] vocabularies
847
- # A list of objects that describe the vocabularies that match the
848
- # search criteria in the request.
1186
+ # A list of objects that describe the vocabularies that match your
1187
+ # search criteria.
849
1188
  # @return [Array<Types::VocabularyInfo>]
850
1189
  #
851
1190
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListMedicalVocabulariesResponse AWS API Documentation
@@ -854,6 +1193,7 @@ module Aws::TranscribeService
854
1193
  :status,
855
1194
  :next_token,
856
1195
  :vocabularies)
1196
+ SENSITIVE = []
857
1197
  include Aws::Structure
858
1198
  end
859
1199
 
@@ -897,6 +1237,7 @@ module Aws::TranscribeService
897
1237
  :job_name_contains,
898
1238
  :next_token,
899
1239
  :max_results)
1240
+ SENSITIVE = []
900
1241
  include Aws::Structure
901
1242
  end
902
1243
 
@@ -924,6 +1265,7 @@ module Aws::TranscribeService
924
1265
  :status,
925
1266
  :next_token,
926
1267
  :transcription_job_summaries)
1268
+ SENSITIVE = []
927
1269
  include Aws::Structure
928
1270
  end
929
1271
 
@@ -956,8 +1298,8 @@ module Aws::TranscribeService
956
1298
  # @!attribute [rw] name_contains
957
1299
  # When specified, the vocabularies returned in the list are limited to
958
1300
  # vocabularies whose name contains the specified string. The search is
959
- # case-insensitive, `ListVocabularies` returns both "vocabularyname"
960
- # and "VocabularyName" in the response list.
1301
+ # not case sensitive, `ListVocabularies` returns both
1302
+ # "vocabularyname" and "VocabularyName" in the response list.
961
1303
  # @return [String]
962
1304
  #
963
1305
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListVocabulariesRequest AWS API Documentation
@@ -967,6 +1309,7 @@ module Aws::TranscribeService
967
1309
  :max_results,
968
1310
  :state_equals,
969
1311
  :name_contains)
1312
+ SENSITIVE = []
970
1313
  include Aws::Structure
971
1314
  end
972
1315
 
@@ -976,11 +1319,11 @@ module Aws::TranscribeService
976
1319
  #
977
1320
  # @!attribute [rw] next_token
978
1321
  # The `ListVocabularies` operation returns a page of vocabularies at a
979
- # time. The maximum size of the page is set by the `MaxResults`
980
- # parameter. If there are more jobs in the list than the page size,
981
- # Amazon Transcribe returns the `NextPage` token. Include the token in
982
- # the next request to the `ListVocabularies` operation to return in
983
- # the next page of jobs.
1322
+ # time. The maximum size of the page is set in the `MaxResults`
1323
+ # parameter. If there are more jobs in the list than will fit on the
1324
+ # page, Amazon Transcribe returns the `NextPage` token. To return in
1325
+ # the next page of jobs, include the token in the next request to the
1326
+ # `ListVocabularies` operation.
984
1327
  # @return [String]
985
1328
  #
986
1329
  # @!attribute [rw] vocabularies
@@ -994,6 +1337,7 @@ module Aws::TranscribeService
994
1337
  :status,
995
1338
  :next_token,
996
1339
  :vocabularies)
1340
+ SENSITIVE = []
997
1341
  include Aws::Structure
998
1342
  end
999
1343
 
@@ -1029,6 +1373,7 @@ module Aws::TranscribeService
1029
1373
  :next_token,
1030
1374
  :max_results,
1031
1375
  :name_contains)
1376
+ SENSITIVE = []
1032
1377
  include Aws::Structure
1033
1378
  end
1034
1379
 
@@ -1054,6 +1399,7 @@ module Aws::TranscribeService
1054
1399
  class ListVocabularyFiltersResponse < Struct.new(
1055
1400
  :next_token,
1056
1401
  :vocabulary_filters)
1402
+ SENSITIVE = []
1057
1403
  include Aws::Structure
1058
1404
  end
1059
1405
 
@@ -1085,6 +1431,7 @@ module Aws::TranscribeService
1085
1431
  #
1086
1432
  class Media < Struct.new(
1087
1433
  :media_file_uri)
1434
+ SENSITIVE = []
1088
1435
  include Aws::Structure
1089
1436
  end
1090
1437
 
@@ -1101,10 +1448,11 @@ module Aws::TranscribeService
1101
1448
  #
1102
1449
  class MedicalTranscript < Struct.new(
1103
1450
  :transcript_file_uri)
1451
+ SENSITIVE = []
1104
1452
  include Aws::Structure
1105
1453
  end
1106
1454
 
1107
- # The data structure that containts the information for a medical
1455
+ # The data structure that contains the information for a medical
1108
1456
  # transcription job.
1109
1457
  #
1110
1458
  # @!attribute [rw] medical_transcription_job_name
@@ -1186,8 +1534,8 @@ module Aws::TranscribeService
1186
1534
  #
1187
1535
  # * `Invalid file size: file size too large`- The size of your audio
1188
1536
  # file is larger than what Amazon Transcribe Medical can process.
1189
- # For more information, see [Guidlines and Quotas][1] in the *Amazon
1190
- # Transcribe Medical Guide*
1537
+ # For more information, see [Guidelines and Quotas][1] in the
1538
+ # *Amazon Transcribe Medical Guide*
1191
1539
  #
1192
1540
  # * `Invalid number of channels: number of channels too large`- Your
1193
1541
  # audio contains more channels than Amazon Transcribe Medical is
@@ -1240,6 +1588,7 @@ module Aws::TranscribeService
1240
1588
  :settings,
1241
1589
  :specialty,
1242
1590
  :type)
1591
+ SENSITIVE = []
1243
1592
  include Aws::Structure
1244
1593
  end
1245
1594
 
@@ -1304,6 +1653,7 @@ module Aws::TranscribeService
1304
1653
  :output_location_type,
1305
1654
  :specialty,
1306
1655
  :type)
1656
+ SENSITIVE = []
1307
1657
  include Aws::Structure
1308
1658
  end
1309
1659
 
@@ -1323,7 +1673,7 @@ module Aws::TranscribeService
1323
1673
  #
1324
1674
  # @!attribute [rw] show_speaker_labels
1325
1675
  # Determines whether the transcription job uses speaker recognition to
1326
- # identify different speakers in the input audio. Speaker recongition
1676
+ # identify different speakers in the input audio. Speaker recognition
1327
1677
  # labels individual speakers in the audio file. If you set the
1328
1678
  # `ShowSpeakerLabels` field to true, you must also set the maximum
1329
1679
  # number of speaker labels in the `MaxSpeakerLabels` field.
@@ -1384,6 +1734,29 @@ module Aws::TranscribeService
1384
1734
  :show_alternatives,
1385
1735
  :max_alternatives,
1386
1736
  :vocabulary_name)
1737
+ SENSITIVE = []
1738
+ include Aws::Structure
1739
+ end
1740
+
1741
+ # The object used to call your custom language model to your
1742
+ # transcription job.
1743
+ #
1744
+ # @note When making an API call, you may pass ModelSettings
1745
+ # data as a hash:
1746
+ #
1747
+ # {
1748
+ # language_model_name: "ModelName",
1749
+ # }
1750
+ #
1751
+ # @!attribute [rw] language_model_name
1752
+ # The name of your custom language model.
1753
+ # @return [String]
1754
+ #
1755
+ # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ModelSettings AWS API Documentation
1756
+ #
1757
+ class ModelSettings < Struct.new(
1758
+ :language_model_name)
1759
+ SENSITIVE = []
1387
1760
  include Aws::Structure
1388
1761
  end
1389
1762
 
@@ -1397,6 +1770,7 @@ module Aws::TranscribeService
1397
1770
  #
1398
1771
  class NotFoundException < Struct.new(
1399
1772
  :message)
1773
+ SENSITIVE = []
1400
1774
  include Aws::Structure
1401
1775
  end
1402
1776
 
@@ -1493,6 +1867,7 @@ module Aws::TranscribeService
1493
1867
  :max_alternatives,
1494
1868
  :vocabulary_filter_name,
1495
1869
  :vocabulary_filter_method)
1870
+ SENSITIVE = []
1496
1871
  include Aws::Structure
1497
1872
  end
1498
1873
 
@@ -1501,7 +1876,7 @@ module Aws::TranscribeService
1501
1876
  #
1502
1877
  # {
1503
1878
  # medical_transcription_job_name: "TranscriptionJobName", # required
1504
- # language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR, it-IT, ko-KR, es-ES, en-IN, hi-IN, ar-SA, ru-RU, zh-CN, nl-NL, id-ID, ta-IN, fa-IR, en-IE, en-AB, en-WL, pt-PT, te-IN, tr-TR, de-CH, he-IL, ms-MY, ja-JP, ar-AE
1879
+ # language_code: "af-ZA", # required, 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
1505
1880
  # media_sample_rate_hertz: 1,
1506
1881
  # media_format: "mp3", # accepts mp3, mp4, wav, flac
1507
1882
  # media: { # required
@@ -1523,10 +1898,10 @@ module Aws::TranscribeService
1523
1898
  #
1524
1899
  # @!attribute [rw] medical_transcription_job_name
1525
1900
  # The name of the medical transcription job. You can't use the
1526
- # strings "." or ".." by themselves as the job name. The name must
1527
- # also be unique within an AWS account. If you try to create a medical
1528
- # transcription job with the same name as a previous medical
1529
- # transcription job you will receive a `ConflictException` error.
1901
+ # strings "`.`" or "`..`" by themselves as the job name. The name
1902
+ # must also be unique within an AWS account. If you try to create a
1903
+ # medical transcription job with the same name as a previous medical
1904
+ # transcription job, you get a `ConflictException` error.
1530
1905
  # @return [String]
1531
1906
  #
1532
1907
  # @!attribute [rw] language_code
@@ -1637,6 +2012,7 @@ module Aws::TranscribeService
1637
2012
  :settings,
1638
2013
  :specialty,
1639
2014
  :type)
2015
+ SENSITIVE = []
1640
2016
  include Aws::Structure
1641
2017
  end
1642
2018
 
@@ -1648,6 +2024,7 @@ module Aws::TranscribeService
1648
2024
  #
1649
2025
  class StartMedicalTranscriptionJobResponse < Struct.new(
1650
2026
  :medical_transcription_job)
2027
+ SENSITIVE = []
1651
2028
  include Aws::Structure
1652
2029
  end
1653
2030
 
@@ -1656,7 +2033,7 @@ module Aws::TranscribeService
1656
2033
  #
1657
2034
  # {
1658
2035
  # transcription_job_name: "TranscriptionJobName", # required
1659
- # language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR, it-IT, ko-KR, es-ES, en-IN, hi-IN, ar-SA, ru-RU, zh-CN, nl-NL, id-ID, ta-IN, fa-IR, en-IE, en-AB, en-WL, pt-PT, te-IN, tr-TR, de-CH, he-IL, ms-MY, ja-JP, ar-AE
2036
+ # language_code: "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
1660
2037
  # media_sample_rate_hertz: 1,
1661
2038
  # media_format: "mp3", # accepts mp3, mp4, wav, flac
1662
2039
  # media: { # required
@@ -1674,6 +2051,9 @@ module Aws::TranscribeService
1674
2051
  # vocabulary_filter_name: "VocabularyFilterName",
1675
2052
  # vocabulary_filter_method: "remove", # accepts remove, mask
1676
2053
  # },
2054
+ # model_settings: {
2055
+ # language_model_name: "ModelName",
2056
+ # },
1677
2057
  # job_execution_settings: {
1678
2058
  # allow_deferred_execution: false,
1679
2059
  # data_access_role_arn: "DataAccessRoleArn",
@@ -1682,13 +2062,15 @@ module Aws::TranscribeService
1682
2062
  # redaction_type: "PII", # required, accepts PII
1683
2063
  # redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
1684
2064
  # },
2065
+ # identify_language: false,
2066
+ # 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
1685
2067
  # }
1686
2068
  #
1687
2069
  # @!attribute [rw] transcription_job_name
1688
- # The name of the job. Note that you can't use the strings "." or
1689
- # ".." by themselves as the job name. The name must also be unique
1690
- # within an AWS account. If you try to create a transcription job with
1691
- # the same name as a previous transcription job you will receive a
2070
+ # The name of the job. You can't use the strings "`.`" or "`..`"
2071
+ # by themselves as the job name. The name must also be unique within
2072
+ # an AWS account. If you try to create a transcription job with the
2073
+ # same name as a previous transcription job, you get a
1692
2074
  # `ConflictException` error.
1693
2075
  # @return [String]
1694
2076
  #
@@ -1783,6 +2165,11 @@ module Aws::TranscribeService
1783
2165
  # transcription job.
1784
2166
  # @return [Types::Settings]
1785
2167
  #
2168
+ # @!attribute [rw] model_settings
2169
+ # Choose the custom language model you use for your transcription job
2170
+ # in this parameter.
2171
+ # @return [Types::ModelSettings]
2172
+ #
1786
2173
  # @!attribute [rw] job_execution_settings
1787
2174
  # Provides information about how a transcription job is executed. Use
1788
2175
  # this field to indicate that the job can be queued for deferred
@@ -1795,6 +2182,20 @@ module Aws::TranscribeService
1795
2182
  # redaction.
1796
2183
  # @return [Types::ContentRedaction]
1797
2184
  #
2185
+ # @!attribute [rw] identify_language
2186
+ # Set this field to `true` to enable automatic language
2187
+ # identification. Automatic language identification is disabled by
2188
+ # default. You receive a `BadRequestException` error if you enter a
2189
+ # value for a `LanguageCode`.
2190
+ # @return [Boolean]
2191
+ #
2192
+ # @!attribute [rw] language_options
2193
+ # An object containing a list of languages that might be present in
2194
+ # your collection of audio files. Automatic language identification
2195
+ # chooses a language that best matches the source audio from that
2196
+ # list.
2197
+ # @return [Array<String>]
2198
+ #
1798
2199
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartTranscriptionJobRequest AWS API Documentation
1799
2200
  #
1800
2201
  class StartTranscriptionJobRequest < Struct.new(
@@ -1806,8 +2207,12 @@ module Aws::TranscribeService
1806
2207
  :output_bucket_name,
1807
2208
  :output_encryption_kms_key_id,
1808
2209
  :settings,
2210
+ :model_settings,
1809
2211
  :job_execution_settings,
1810
- :content_redaction)
2212
+ :content_redaction,
2213
+ :identify_language,
2214
+ :language_options)
2215
+ SENSITIVE = []
1811
2216
  include Aws::Structure
1812
2217
  end
1813
2218
 
@@ -1819,13 +2224,14 @@ module Aws::TranscribeService
1819
2224
  #
1820
2225
  class StartTranscriptionJobResponse < Struct.new(
1821
2226
  :transcription_job)
2227
+ SENSITIVE = []
1822
2228
  include Aws::Structure
1823
2229
  end
1824
2230
 
1825
2231
  # Identifies the location of a transcription.
1826
2232
  #
1827
2233
  # @!attribute [rw] transcript_file_uri
1828
- # The S3 object location of the the transcript.
2234
+ # The S3 object location of the transcript.
1829
2235
  #
1830
2236
  # Use this URI to access the transcript. If you specified an S3 bucket
1831
2237
  # in the `OutputBucketName` field when you created the job, this is
@@ -1837,7 +2243,7 @@ module Aws::TranscribeService
1837
2243
  # @!attribute [rw] redacted_transcript_file_uri
1838
2244
  # The S3 object location of the redacted transcript.
1839
2245
  #
1840
- # Use this URI to access the redacated transcript. If you specified an
2246
+ # Use this URI to access the redacted transcript. If you specified an
1841
2247
  # S3 bucket in the `OutputBucketName` field when you created the job,
1842
2248
  # this is the URI of that bucket. If you chose to store the transcript
1843
2249
  # in Amazon Transcribe, this is a shareable URL that provides secure
@@ -1849,6 +2255,7 @@ module Aws::TranscribeService
1849
2255
  class Transcript < Struct.new(
1850
2256
  :transcript_file_uri,
1851
2257
  :redacted_transcript_file_uri)
2258
+ SENSITIVE = []
1852
2259
  include Aws::Structure
1853
2260
  end
1854
2261
 
@@ -1945,6 +2352,10 @@ module Aws::TranscribeService
1945
2352
  # when processing the transcription job.
1946
2353
  # @return [Types::Settings]
1947
2354
  #
2355
+ # @!attribute [rw] model_settings
2356
+ # An object containing the details of your custom language model.
2357
+ # @return [Types::ModelSettings]
2358
+ #
1948
2359
  # @!attribute [rw] job_execution_settings
1949
2360
  # Provides information about how a transcription job is executed.
1950
2361
  # @return [Types::JobExecutionSettings]
@@ -1954,6 +2365,23 @@ module Aws::TranscribeService
1954
2365
  # transcription job.
1955
2366
  # @return [Types::ContentRedaction]
1956
2367
  #
2368
+ # @!attribute [rw] identify_language
2369
+ # A value that shows if automatic language identification was enabled
2370
+ # for a transcription job.
2371
+ # @return [Boolean]
2372
+ #
2373
+ # @!attribute [rw] language_options
2374
+ # An object that shows the optional array of languages inputted for
2375
+ # transcription jobs with automatic language identification enabled.
2376
+ # @return [Array<String>]
2377
+ #
2378
+ # @!attribute [rw] identified_language_score
2379
+ # The score that Amazon Transcribe gives for the predominant language
2380
+ # that it identified in your collection of source audio files. This
2381
+ # score reflects the confidence that the language that Amazon
2382
+ # Transcribe identified is the correct language.
2383
+ # @return [Float]
2384
+ #
1957
2385
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/TranscriptionJob AWS API Documentation
1958
2386
  #
1959
2387
  class TranscriptionJob < Struct.new(
@@ -1969,8 +2397,13 @@ module Aws::TranscribeService
1969
2397
  :completion_time,
1970
2398
  :failure_reason,
1971
2399
  :settings,
2400
+ :model_settings,
1972
2401
  :job_execution_settings,
1973
- :content_redaction)
2402
+ :content_redaction,
2403
+ :identify_language,
2404
+ :language_options,
2405
+ :identified_language_score)
2406
+ SENSITIVE = []
1974
2407
  include Aws::Structure
1975
2408
  end
1976
2409
 
@@ -2023,6 +2456,23 @@ module Aws::TranscribeService
2023
2456
  # The content redaction settings of the transcription job.
2024
2457
  # @return [Types::ContentRedaction]
2025
2458
  #
2459
+ # @!attribute [rw] model_settings
2460
+ # The object used to call your custom language model to your
2461
+ # transcription job.
2462
+ # @return [Types::ModelSettings]
2463
+ #
2464
+ # @!attribute [rw] identify_language
2465
+ # Whether automatic language identification was enabled for a
2466
+ # transcription job.
2467
+ # @return [Boolean]
2468
+ #
2469
+ # @!attribute [rw] identified_language_score
2470
+ # A value between zero and one that Amazon Transcribe assigned to the
2471
+ # language it identified in the source audio. A higher score indicates
2472
+ # that Amazon Transcribe is more confident in the language it
2473
+ # identified.
2474
+ # @return [Float]
2475
+ #
2026
2476
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/TranscriptionJobSummary AWS API Documentation
2027
2477
  #
2028
2478
  class TranscriptionJobSummary < Struct.new(
@@ -2034,7 +2484,11 @@ module Aws::TranscribeService
2034
2484
  :transcription_job_status,
2035
2485
  :failure_reason,
2036
2486
  :output_location_type,
2037
- :content_redaction)
2487
+ :content_redaction,
2488
+ :model_settings,
2489
+ :identify_language,
2490
+ :identified_language_score)
2491
+ SENSITIVE = []
2038
2492
  include Aws::Structure
2039
2493
  end
2040
2494
 
@@ -2043,27 +2497,27 @@ module Aws::TranscribeService
2043
2497
  #
2044
2498
  # {
2045
2499
  # vocabulary_name: "VocabularyName", # required
2046
- # language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR, it-IT, ko-KR, es-ES, en-IN, hi-IN, ar-SA, ru-RU, zh-CN, nl-NL, id-ID, ta-IN, fa-IR, en-IE, en-AB, en-WL, pt-PT, te-IN, tr-TR, de-CH, he-IL, ms-MY, ja-JP, ar-AE
2500
+ # language_code: "af-ZA", # required, 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
2047
2501
  # vocabulary_file_uri: "Uri",
2048
2502
  # }
2049
2503
  #
2050
2504
  # @!attribute [rw] vocabulary_name
2051
- # The name of the vocabulary to update. The name is case-sensitive. If
2052
- # you try to update a vocabulary with the same name as a previous
2053
- # vocabulary you will receive a `ConflictException` error.
2505
+ # The name of the vocabulary to update. The name is case sensitive. If
2506
+ # you try to update a vocabulary with the same name as a vocabulary
2507
+ # you've already made, you get a `ConflictException` error.
2054
2508
  # @return [String]
2055
2509
  #
2056
2510
  # @!attribute [rw] language_code
2057
- # The language code of the entries in the updated vocabulary. US
2058
- # English (en-US) is the only valid language code in Amazon Transcribe
2059
- # Medical.
2511
+ # The language code of the language used for the entries in the
2512
+ # updated vocabulary. US English (en-US) is the only valid language
2513
+ # code in Amazon Transcribe Medical.
2060
2514
  # @return [String]
2061
2515
  #
2062
2516
  # @!attribute [rw] vocabulary_file_uri
2063
- # The Amazon S3 location of the text file containing the definition of
2064
- # the custom vocabulary. The URI must be in the same AWS region as the
2065
- # API endpoint you are calling. You can see the fields you need to
2066
- # enter for you Amazon S3 location in the example URI here:
2517
+ # The location in Amazon S3 of the text file that contains the you use
2518
+ # for your custom vocabulary. The URI must be in the same AWS Region
2519
+ # as the resource that you are calling. The following is the format
2520
+ # for a URI:
2067
2521
  #
2068
2522
  # `
2069
2523
  # https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
@@ -2073,8 +2527,8 @@ module Aws::TranscribeService
2073
2527
  #
2074
2528
  # `https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt`
2075
2529
  #
2076
- # For more information about S3 object names, see [Object Keys][1] in
2077
- # the *Amazon S3 Developer Guide*.
2530
+ # For more information about Amazon S3 object names, see [Object
2531
+ # Keys][1] in the *Amazon S3 Developer Guide*.
2078
2532
  #
2079
2533
  # For more information about custom vocabularies in Amazon Transcribe
2080
2534
  # Medical, see [Medical Custom Vocabularies][2].
@@ -2091,6 +2545,7 @@ module Aws::TranscribeService
2091
2545
  :vocabulary_name,
2092
2546
  :language_code,
2093
2547
  :vocabulary_file_uri)
2548
+ SENSITIVE = []
2094
2549
  include Aws::Structure
2095
2550
  end
2096
2551
 
@@ -2099,18 +2554,18 @@ module Aws::TranscribeService
2099
2554
  # @return [String]
2100
2555
  #
2101
2556
  # @!attribute [rw] language_code
2102
- # The language code for the text file used to update the custom
2103
- # vocabulary. US English (en-US) is the only language supported in
2104
- # Amazon Transcribe Medical.
2557
+ # The language code for the language of the text file used to update
2558
+ # the custom vocabulary. US English (en-US) is the only language
2559
+ # supported in Amazon Transcribe Medical.
2105
2560
  # @return [String]
2106
2561
  #
2107
2562
  # @!attribute [rw] last_modified_time
2108
- # The date and time the vocabulary was updated.
2563
+ # The date and time that the vocabulary was updated.
2109
2564
  # @return [Time]
2110
2565
  #
2111
2566
  # @!attribute [rw] vocabulary_state
2112
2567
  # The processing state of the update to the vocabulary. When the
2113
- # `VocabularyState` field is `READY` the vocabulary is ready to be
2568
+ # `VocabularyState` field is `READY`, the vocabulary is ready to be
2114
2569
  # used in a `StartMedicalTranscriptionJob` request.
2115
2570
  # @return [String]
2116
2571
  #
@@ -2121,6 +2576,7 @@ module Aws::TranscribeService
2121
2576
  :language_code,
2122
2577
  :last_modified_time,
2123
2578
  :vocabulary_state)
2579
+ SENSITIVE = []
2124
2580
  include Aws::Structure
2125
2581
  end
2126
2582
 
@@ -2135,8 +2591,8 @@ module Aws::TranscribeService
2135
2591
  #
2136
2592
  # @!attribute [rw] vocabulary_filter_name
2137
2593
  # The name of the vocabulary filter to update. If you try to update a
2138
- # vocabulary filter with the same name as a previous vocabulary filter
2139
- # you will receive a `ConflictException` error.
2594
+ # vocabulary filter with the same name as another vocabulary filter,
2595
+ # you get a `ConflictException` error.
2140
2596
  # @return [String]
2141
2597
  #
2142
2598
  # @!attribute [rw] words
@@ -2175,6 +2631,7 @@ module Aws::TranscribeService
2175
2631
  :vocabulary_filter_name,
2176
2632
  :words,
2177
2633
  :vocabulary_filter_file_uri)
2634
+ SENSITIVE = []
2178
2635
  include Aws::Structure
2179
2636
  end
2180
2637
 
@@ -2196,6 +2653,7 @@ module Aws::TranscribeService
2196
2653
  :vocabulary_filter_name,
2197
2654
  :language_code,
2198
2655
  :last_modified_time)
2656
+ SENSITIVE = []
2199
2657
  include Aws::Structure
2200
2658
  end
2201
2659
 
@@ -2204,13 +2662,13 @@ module Aws::TranscribeService
2204
2662
  #
2205
2663
  # {
2206
2664
  # vocabulary_name: "VocabularyName", # required
2207
- # language_code: "en-US", # required, accepts en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR, fr-FR, it-IT, ko-KR, es-ES, en-IN, hi-IN, ar-SA, ru-RU, zh-CN, nl-NL, id-ID, ta-IN, fa-IR, en-IE, en-AB, en-WL, pt-PT, te-IN, tr-TR, de-CH, he-IL, ms-MY, ja-JP, ar-AE
2665
+ # language_code: "af-ZA", # required, 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
2208
2666
  # phrases: ["Phrase"],
2209
2667
  # vocabulary_file_uri: "Uri",
2210
2668
  # }
2211
2669
  #
2212
2670
  # @!attribute [rw] vocabulary_name
2213
- # The name of the vocabulary to update. The name is case-sensitive. If
2671
+ # The name of the vocabulary to update. The name is case sensitive. If
2214
2672
  # you try to update a vocabulary with the same name as a previous
2215
2673
  # vocabulary you will receive a `ConflictException` error.
2216
2674
  # @return [String]
@@ -2249,6 +2707,7 @@ module Aws::TranscribeService
2249
2707
  :language_code,
2250
2708
  :phrases,
2251
2709
  :vocabulary_file_uri)
2710
+ SENSITIVE = []
2252
2711
  include Aws::Structure
2253
2712
  end
2254
2713
 
@@ -2277,6 +2736,7 @@ module Aws::TranscribeService
2277
2736
  :language_code,
2278
2737
  :last_modified_time,
2279
2738
  :vocabulary_state)
2739
+ SENSITIVE = []
2280
2740
  include Aws::Structure
2281
2741
  end
2282
2742
 
@@ -2301,6 +2761,7 @@ module Aws::TranscribeService
2301
2761
  :vocabulary_filter_name,
2302
2762
  :language_code,
2303
2763
  :last_modified_time)
2764
+ SENSITIVE = []
2304
2765
  include Aws::Structure
2305
2766
  end
2306
2767
 
@@ -2330,6 +2791,7 @@ module Aws::TranscribeService
2330
2791
  :language_code,
2331
2792
  :last_modified_time,
2332
2793
  :vocabulary_state)
2794
+ SENSITIVE = []
2333
2795
  include Aws::Structure
2334
2796
  end
2335
2797