aws-sdk-transcribeservice 1.42.0 → 1.47.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,15 @@ 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
+ InputDataConfig = Shapes::StructureShape.new(name: 'InputDataConfig')
42
52
  InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
43
53
  JobExecutionSettings = Shapes::StructureShape.new(name: 'JobExecutionSettings')
44
54
  KMSKeyId = Shapes::StringShape.new(name: 'KMSKeyId')
45
55
  LanguageCode = Shapes::StringShape.new(name: 'LanguageCode')
56
+ LanguageModel = Shapes::StructureShape.new(name: 'LanguageModel')
46
57
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
58
+ ListLanguageModelsRequest = Shapes::StructureShape.new(name: 'ListLanguageModelsRequest')
59
+ ListLanguageModelsResponse = Shapes::StructureShape.new(name: 'ListLanguageModelsResponse')
47
60
  ListMedicalTranscriptionJobsRequest = Shapes::StructureShape.new(name: 'ListMedicalTranscriptionJobsRequest')
48
61
  ListMedicalTranscriptionJobsResponse = Shapes::StructureShape.new(name: 'ListMedicalTranscriptionJobsResponse')
49
62
  ListMedicalVocabulariesRequest = Shapes::StructureShape.new(name: 'ListMedicalVocabulariesRequest')
@@ -65,6 +78,10 @@ module Aws::TranscribeService
65
78
  MedicalTranscriptionJobSummaries = Shapes::ListShape.new(name: 'MedicalTranscriptionJobSummaries')
66
79
  MedicalTranscriptionJobSummary = Shapes::StructureShape.new(name: 'MedicalTranscriptionJobSummary')
67
80
  MedicalTranscriptionSetting = Shapes::StructureShape.new(name: 'MedicalTranscriptionSetting')
81
+ ModelName = Shapes::StringShape.new(name: 'ModelName')
82
+ ModelSettings = Shapes::StructureShape.new(name: 'ModelSettings')
83
+ ModelStatus = Shapes::StringShape.new(name: 'ModelStatus')
84
+ Models = Shapes::ListShape.new(name: 'Models')
68
85
  NextToken = Shapes::StringShape.new(name: 'NextToken')
69
86
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
70
87
  OutputBucketName = Shapes::StringShape.new(name: 'OutputBucketName')
@@ -115,6 +132,19 @@ module Aws::TranscribeService
115
132
  ContentRedaction.add_member(:redaction_output, Shapes::ShapeRef.new(shape: RedactionOutput, required: true, location_name: "RedactionOutput"))
116
133
  ContentRedaction.struct_class = Types::ContentRedaction
117
134
 
135
+ CreateLanguageModelRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: CLMLanguageCode, required: true, location_name: "LanguageCode"))
136
+ CreateLanguageModelRequest.add_member(:base_model_name, Shapes::ShapeRef.new(shape: BaseModelName, required: true, location_name: "BaseModelName"))
137
+ CreateLanguageModelRequest.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "ModelName"))
138
+ CreateLanguageModelRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
139
+ CreateLanguageModelRequest.struct_class = Types::CreateLanguageModelRequest
140
+
141
+ CreateLanguageModelResponse.add_member(:language_code, Shapes::ShapeRef.new(shape: CLMLanguageCode, location_name: "LanguageCode"))
142
+ CreateLanguageModelResponse.add_member(:base_model_name, Shapes::ShapeRef.new(shape: BaseModelName, location_name: "BaseModelName"))
143
+ CreateLanguageModelResponse.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, location_name: "ModelName"))
144
+ CreateLanguageModelResponse.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, location_name: "InputDataConfig"))
145
+ CreateLanguageModelResponse.add_member(:model_status, Shapes::ShapeRef.new(shape: ModelStatus, location_name: "ModelStatus"))
146
+ CreateLanguageModelResponse.struct_class = Types::CreateLanguageModelResponse
147
+
118
148
  CreateMedicalVocabularyRequest.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, required: true, location_name: "VocabularyName"))
119
149
  CreateMedicalVocabularyRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
120
150
  CreateMedicalVocabularyRequest.add_member(:vocabulary_file_uri, Shapes::ShapeRef.new(shape: Uri, required: true, location_name: "VocabularyFileUri"))
@@ -151,6 +181,9 @@ module Aws::TranscribeService
151
181
  CreateVocabularyResponse.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
152
182
  CreateVocabularyResponse.struct_class = Types::CreateVocabularyResponse
153
183
 
184
+ DeleteLanguageModelRequest.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "ModelName"))
185
+ DeleteLanguageModelRequest.struct_class = Types::DeleteLanguageModelRequest
186
+
154
187
  DeleteMedicalTranscriptionJobRequest.add_member(:medical_transcription_job_name, Shapes::ShapeRef.new(shape: TranscriptionJobName, required: true, location_name: "MedicalTranscriptionJobName"))
155
188
  DeleteMedicalTranscriptionJobRequest.struct_class = Types::DeleteMedicalTranscriptionJobRequest
156
189
 
@@ -166,6 +199,12 @@ module Aws::TranscribeService
166
199
  DeleteVocabularyRequest.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, required: true, location_name: "VocabularyName"))
167
200
  DeleteVocabularyRequest.struct_class = Types::DeleteVocabularyRequest
168
201
 
202
+ DescribeLanguageModelRequest.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "ModelName"))
203
+ DescribeLanguageModelRequest.struct_class = Types::DescribeLanguageModelRequest
204
+
205
+ DescribeLanguageModelResponse.add_member(:language_model, Shapes::ShapeRef.new(shape: LanguageModel, location_name: "LanguageModel"))
206
+ DescribeLanguageModelResponse.struct_class = Types::DescribeLanguageModelResponse
207
+
169
208
  GetMedicalTranscriptionJobRequest.add_member(:medical_transcription_job_name, Shapes::ShapeRef.new(shape: TranscriptionJobName, required: true, location_name: "MedicalTranscriptionJobName"))
170
209
  GetMedicalTranscriptionJobRequest.struct_class = Types::GetMedicalTranscriptionJobRequest
171
210
 
@@ -209,6 +248,11 @@ module Aws::TranscribeService
209
248
  GetVocabularyResponse.add_member(:download_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "DownloadUri"))
210
249
  GetVocabularyResponse.struct_class = Types::GetVocabularyResponse
211
250
 
251
+ InputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: Uri, required: true, location_name: "S3Uri"))
252
+ InputDataConfig.add_member(:tuning_data_s3_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "TuningDataS3Uri"))
253
+ InputDataConfig.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: DataAccessRoleArn, required: true, location_name: "DataAccessRoleArn"))
254
+ InputDataConfig.struct_class = Types::InputDataConfig
255
+
212
256
  InternalFailureException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
213
257
  InternalFailureException.struct_class = Types::InternalFailureException
214
258
 
@@ -216,9 +260,30 @@ module Aws::TranscribeService
216
260
  JobExecutionSettings.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: DataAccessRoleArn, location_name: "DataAccessRoleArn"))
217
261
  JobExecutionSettings.struct_class = Types::JobExecutionSettings
218
262
 
263
+ LanguageModel.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, location_name: "ModelName"))
264
+ LanguageModel.add_member(:create_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreateTime"))
265
+ LanguageModel.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastModifiedTime"))
266
+ LanguageModel.add_member(:language_code, Shapes::ShapeRef.new(shape: CLMLanguageCode, location_name: "LanguageCode"))
267
+ LanguageModel.add_member(:base_model_name, Shapes::ShapeRef.new(shape: BaseModelName, location_name: "BaseModelName"))
268
+ LanguageModel.add_member(:model_status, Shapes::ShapeRef.new(shape: ModelStatus, location_name: "ModelStatus"))
269
+ LanguageModel.add_member(:upgrade_availability, Shapes::ShapeRef.new(shape: Boolean, location_name: "UpgradeAvailability"))
270
+ LanguageModel.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
271
+ LanguageModel.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, location_name: "InputDataConfig"))
272
+ LanguageModel.struct_class = Types::LanguageModel
273
+
219
274
  LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
220
275
  LimitExceededException.struct_class = Types::LimitExceededException
221
276
 
277
+ ListLanguageModelsRequest.add_member(:status_equals, Shapes::ShapeRef.new(shape: ModelStatus, location_name: "StatusEquals"))
278
+ ListLanguageModelsRequest.add_member(:name_contains, Shapes::ShapeRef.new(shape: ModelName, location_name: "NameContains"))
279
+ ListLanguageModelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
280
+ ListLanguageModelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
281
+ ListLanguageModelsRequest.struct_class = Types::ListLanguageModelsRequest
282
+
283
+ ListLanguageModelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
284
+ ListLanguageModelsResponse.add_member(:models, Shapes::ShapeRef.new(shape: Models, location_name: "Models"))
285
+ ListLanguageModelsResponse.struct_class = Types::ListLanguageModelsResponse
286
+
222
287
  ListMedicalTranscriptionJobsRequest.add_member(:status, Shapes::ShapeRef.new(shape: TranscriptionJobStatus, location_name: "Status"))
223
288
  ListMedicalTranscriptionJobsRequest.add_member(:job_name_contains, Shapes::ShapeRef.new(shape: TranscriptionJobName, location_name: "JobNameContains"))
224
289
  ListMedicalTranscriptionJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
@@ -316,6 +381,11 @@ module Aws::TranscribeService
316
381
  MedicalTranscriptionSetting.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, location_name: "VocabularyName"))
317
382
  MedicalTranscriptionSetting.struct_class = Types::MedicalTranscriptionSetting
318
383
 
384
+ ModelSettings.add_member(:language_model_name, Shapes::ShapeRef.new(shape: ModelName, location_name: "LanguageModelName"))
385
+ ModelSettings.struct_class = Types::ModelSettings
386
+
387
+ Models.member = Shapes::ShapeRef.new(shape: LanguageModel)
388
+
319
389
  NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
320
390
  NotFoundException.struct_class = Types::NotFoundException
321
391
 
@@ -354,6 +424,7 @@ module Aws::TranscribeService
354
424
  StartTranscriptionJobRequest.add_member(:output_bucket_name, Shapes::ShapeRef.new(shape: OutputBucketName, location_name: "OutputBucketName"))
355
425
  StartTranscriptionJobRequest.add_member(:output_encryption_kms_key_id, Shapes::ShapeRef.new(shape: KMSKeyId, location_name: "OutputEncryptionKMSKeyId"))
356
426
  StartTranscriptionJobRequest.add_member(:settings, Shapes::ShapeRef.new(shape: Settings, location_name: "Settings"))
427
+ StartTranscriptionJobRequest.add_member(:model_settings, Shapes::ShapeRef.new(shape: ModelSettings, location_name: "ModelSettings"))
357
428
  StartTranscriptionJobRequest.add_member(:job_execution_settings, Shapes::ShapeRef.new(shape: JobExecutionSettings, location_name: "JobExecutionSettings"))
358
429
  StartTranscriptionJobRequest.add_member(:content_redaction, Shapes::ShapeRef.new(shape: ContentRedaction, location_name: "ContentRedaction"))
359
430
  StartTranscriptionJobRequest.struct_class = Types::StartTranscriptionJobRequest
@@ -377,6 +448,7 @@ module Aws::TranscribeService
377
448
  TranscriptionJob.add_member(:completion_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CompletionTime"))
378
449
  TranscriptionJob.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
379
450
  TranscriptionJob.add_member(:settings, Shapes::ShapeRef.new(shape: Settings, location_name: "Settings"))
451
+ TranscriptionJob.add_member(:model_settings, Shapes::ShapeRef.new(shape: ModelSettings, location_name: "ModelSettings"))
380
452
  TranscriptionJob.add_member(:job_execution_settings, Shapes::ShapeRef.new(shape: JobExecutionSettings, location_name: "JobExecutionSettings"))
381
453
  TranscriptionJob.add_member(:content_redaction, Shapes::ShapeRef.new(shape: ContentRedaction, location_name: "ContentRedaction"))
382
454
  TranscriptionJob.struct_class = Types::TranscriptionJob
@@ -392,6 +464,7 @@ module Aws::TranscribeService
392
464
  TranscriptionJobSummary.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
393
465
  TranscriptionJobSummary.add_member(:output_location_type, Shapes::ShapeRef.new(shape: OutputLocationType, location_name: "OutputLocationType"))
394
466
  TranscriptionJobSummary.add_member(:content_redaction, Shapes::ShapeRef.new(shape: ContentRedaction, location_name: "ContentRedaction"))
467
+ TranscriptionJobSummary.add_member(:model_settings, Shapes::ShapeRef.new(shape: ModelSettings, location_name: "ModelSettings"))
395
468
  TranscriptionJobSummary.struct_class = Types::TranscriptionJobSummary
396
469
 
397
470
  UpdateMedicalVocabularyRequest.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, required: true, location_name: "VocabularyName"))
@@ -463,6 +536,18 @@ module Aws::TranscribeService
463
536
  "uid" => "transcribe-2017-10-26",
464
537
  }
465
538
 
539
+ api.add_operation(:create_language_model, Seahorse::Model::Operation.new.tap do |o|
540
+ o.name = "CreateLanguageModel"
541
+ o.http_method = "POST"
542
+ o.http_request_uri = "/"
543
+ o.input = Shapes::ShapeRef.new(shape: CreateLanguageModelRequest)
544
+ o.output = Shapes::ShapeRef.new(shape: CreateLanguageModelResponse)
545
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
546
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
547
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
548
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
549
+ end)
550
+
466
551
  api.add_operation(:create_medical_vocabulary, Seahorse::Model::Operation.new.tap do |o|
467
552
  o.name = "CreateMedicalVocabulary"
468
553
  o.http_method = "POST"
@@ -499,6 +584,17 @@ module Aws::TranscribeService
499
584
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
500
585
  end)
501
586
 
587
+ api.add_operation(:delete_language_model, Seahorse::Model::Operation.new.tap do |o|
588
+ o.name = "DeleteLanguageModel"
589
+ o.http_method = "POST"
590
+ o.http_request_uri = "/"
591
+ o.input = Shapes::ShapeRef.new(shape: DeleteLanguageModelRequest)
592
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
593
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
594
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
595
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
596
+ end)
597
+
502
598
  api.add_operation(:delete_medical_transcription_job, Seahorse::Model::Operation.new.tap do |o|
503
599
  o.name = "DeleteMedicalTranscriptionJob"
504
600
  o.http_method = "POST"
@@ -557,6 +653,18 @@ module Aws::TranscribeService
557
653
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
558
654
  end)
559
655
 
656
+ api.add_operation(:describe_language_model, Seahorse::Model::Operation.new.tap do |o|
657
+ o.name = "DescribeLanguageModel"
658
+ o.http_method = "POST"
659
+ o.http_request_uri = "/"
660
+ o.input = Shapes::ShapeRef.new(shape: DescribeLanguageModelRequest)
661
+ o.output = Shapes::ShapeRef.new(shape: DescribeLanguageModelResponse)
662
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
663
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
664
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
665
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
666
+ end)
667
+
560
668
  api.add_operation(:get_medical_transcription_job, Seahorse::Model::Operation.new.tap do |o|
561
669
  o.name = "GetMedicalTranscriptionJob"
562
670
  o.http_method = "POST"
@@ -617,6 +725,23 @@ module Aws::TranscribeService
617
725
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
618
726
  end)
619
727
 
728
+ api.add_operation(:list_language_models, Seahorse::Model::Operation.new.tap do |o|
729
+ o.name = "ListLanguageModels"
730
+ o.http_method = "POST"
731
+ o.http_request_uri = "/"
732
+ o.input = Shapes::ShapeRef.new(shape: ListLanguageModelsRequest)
733
+ o.output = Shapes::ShapeRef.new(shape: ListLanguageModelsResponse)
734
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
735
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
736
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
737
+ o[:pager] = Aws::Pager.new(
738
+ limit_key: "max_results",
739
+ tokens: {
740
+ "next_token" => "next_token"
741
+ }
742
+ )
743
+ end)
744
+
620
745
  api.add_operation(:list_medical_transcription_jobs, Seahorse::Model::Operation.new.tap do |o|
621
746
  o.name = "ListMedicalTranscriptionJobs"
622
747
  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", # 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
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",
@@ -1685,10 +2065,10 @@ module Aws::TranscribeService
1685
2065
  # }
1686
2066
  #
1687
2067
  # @!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
2068
+ # The name of the job. You can't use the strings "`.`" or "`..`"
2069
+ # by themselves as the job name. The name must also be unique within
2070
+ # an AWS account. If you try to create a transcription job with the
2071
+ # same name as a previous transcription job, you get a
1692
2072
  # `ConflictException` error.
1693
2073
  # @return [String]
1694
2074
  #
@@ -1783,6 +2163,11 @@ module Aws::TranscribeService
1783
2163
  # transcription job.
1784
2164
  # @return [Types::Settings]
1785
2165
  #
2166
+ # @!attribute [rw] model_settings
2167
+ # Choose the custom language model you use for your transcription job
2168
+ # in this parameter.
2169
+ # @return [Types::ModelSettings]
2170
+ #
1786
2171
  # @!attribute [rw] job_execution_settings
1787
2172
  # Provides information about how a transcription job is executed. Use
1788
2173
  # this field to indicate that the job can be queued for deferred
@@ -1806,8 +2191,10 @@ module Aws::TranscribeService
1806
2191
  :output_bucket_name,
1807
2192
  :output_encryption_kms_key_id,
1808
2193
  :settings,
2194
+ :model_settings,
1809
2195
  :job_execution_settings,
1810
2196
  :content_redaction)
2197
+ SENSITIVE = []
1811
2198
  include Aws::Structure
1812
2199
  end
1813
2200
 
@@ -1819,13 +2206,14 @@ module Aws::TranscribeService
1819
2206
  #
1820
2207
  class StartTranscriptionJobResponse < Struct.new(
1821
2208
  :transcription_job)
2209
+ SENSITIVE = []
1822
2210
  include Aws::Structure
1823
2211
  end
1824
2212
 
1825
2213
  # Identifies the location of a transcription.
1826
2214
  #
1827
2215
  # @!attribute [rw] transcript_file_uri
1828
- # The S3 object location of the the transcript.
2216
+ # The S3 object location of the transcript.
1829
2217
  #
1830
2218
  # Use this URI to access the transcript. If you specified an S3 bucket
1831
2219
  # in the `OutputBucketName` field when you created the job, this is
@@ -1837,7 +2225,7 @@ module Aws::TranscribeService
1837
2225
  # @!attribute [rw] redacted_transcript_file_uri
1838
2226
  # The S3 object location of the redacted transcript.
1839
2227
  #
1840
- # Use this URI to access the redacated transcript. If you specified an
2228
+ # Use this URI to access the redacted transcript. If you specified an
1841
2229
  # S3 bucket in the `OutputBucketName` field when you created the job,
1842
2230
  # this is the URI of that bucket. If you chose to store the transcript
1843
2231
  # in Amazon Transcribe, this is a shareable URL that provides secure
@@ -1849,6 +2237,7 @@ module Aws::TranscribeService
1849
2237
  class Transcript < Struct.new(
1850
2238
  :transcript_file_uri,
1851
2239
  :redacted_transcript_file_uri)
2240
+ SENSITIVE = []
1852
2241
  include Aws::Structure
1853
2242
  end
1854
2243
 
@@ -1945,6 +2334,10 @@ module Aws::TranscribeService
1945
2334
  # when processing the transcription job.
1946
2335
  # @return [Types::Settings]
1947
2336
  #
2337
+ # @!attribute [rw] model_settings
2338
+ # An object containing the details of your custom language model.
2339
+ # @return [Types::ModelSettings]
2340
+ #
1948
2341
  # @!attribute [rw] job_execution_settings
1949
2342
  # Provides information about how a transcription job is executed.
1950
2343
  # @return [Types::JobExecutionSettings]
@@ -1969,8 +2362,10 @@ module Aws::TranscribeService
1969
2362
  :completion_time,
1970
2363
  :failure_reason,
1971
2364
  :settings,
2365
+ :model_settings,
1972
2366
  :job_execution_settings,
1973
2367
  :content_redaction)
2368
+ SENSITIVE = []
1974
2369
  include Aws::Structure
1975
2370
  end
1976
2371
 
@@ -2023,6 +2418,11 @@ module Aws::TranscribeService
2023
2418
  # The content redaction settings of the transcription job.
2024
2419
  # @return [Types::ContentRedaction]
2025
2420
  #
2421
+ # @!attribute [rw] model_settings
2422
+ # The object used to call your custom language model to your
2423
+ # transcription job.
2424
+ # @return [Types::ModelSettings]
2425
+ #
2026
2426
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/TranscriptionJobSummary AWS API Documentation
2027
2427
  #
2028
2428
  class TranscriptionJobSummary < Struct.new(
@@ -2034,7 +2434,9 @@ module Aws::TranscribeService
2034
2434
  :transcription_job_status,
2035
2435
  :failure_reason,
2036
2436
  :output_location_type,
2037
- :content_redaction)
2437
+ :content_redaction,
2438
+ :model_settings)
2439
+ SENSITIVE = []
2038
2440
  include Aws::Structure
2039
2441
  end
2040
2442
 
@@ -2043,27 +2445,27 @@ module Aws::TranscribeService
2043
2445
  #
2044
2446
  # {
2045
2447
  # 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
2448
+ # 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
2449
  # vocabulary_file_uri: "Uri",
2048
2450
  # }
2049
2451
  #
2050
2452
  # @!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.
2453
+ # The name of the vocabulary to update. The name is case sensitive. If
2454
+ # you try to update a vocabulary with the same name as a vocabulary
2455
+ # you've already made, you get a `ConflictException` error.
2054
2456
  # @return [String]
2055
2457
  #
2056
2458
  # @!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.
2459
+ # The language code of the language used for the entries in the
2460
+ # updated vocabulary. US English (en-US) is the only valid language
2461
+ # code in Amazon Transcribe Medical.
2060
2462
  # @return [String]
2061
2463
  #
2062
2464
  # @!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:
2465
+ # The location in Amazon S3 of the text file that contains the you use
2466
+ # for your custom vocabulary. The URI must be in the same AWS Region
2467
+ # as the resource that you are calling. The following is the format
2468
+ # for a URI:
2067
2469
  #
2068
2470
  # `
2069
2471
  # https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
@@ -2073,8 +2475,8 @@ module Aws::TranscribeService
2073
2475
  #
2074
2476
  # `https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt`
2075
2477
  #
2076
- # For more information about S3 object names, see [Object Keys][1] in
2077
- # the *Amazon S3 Developer Guide*.
2478
+ # For more information about Amazon S3 object names, see [Object
2479
+ # Keys][1] in the *Amazon S3 Developer Guide*.
2078
2480
  #
2079
2481
  # For more information about custom vocabularies in Amazon Transcribe
2080
2482
  # Medical, see [Medical Custom Vocabularies][2].
@@ -2091,6 +2493,7 @@ module Aws::TranscribeService
2091
2493
  :vocabulary_name,
2092
2494
  :language_code,
2093
2495
  :vocabulary_file_uri)
2496
+ SENSITIVE = []
2094
2497
  include Aws::Structure
2095
2498
  end
2096
2499
 
@@ -2099,18 +2502,18 @@ module Aws::TranscribeService
2099
2502
  # @return [String]
2100
2503
  #
2101
2504
  # @!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.
2505
+ # The language code for the language of the text file used to update
2506
+ # the custom vocabulary. US English (en-US) is the only language
2507
+ # supported in Amazon Transcribe Medical.
2105
2508
  # @return [String]
2106
2509
  #
2107
2510
  # @!attribute [rw] last_modified_time
2108
- # The date and time the vocabulary was updated.
2511
+ # The date and time that the vocabulary was updated.
2109
2512
  # @return [Time]
2110
2513
  #
2111
2514
  # @!attribute [rw] vocabulary_state
2112
2515
  # The processing state of the update to the vocabulary. When the
2113
- # `VocabularyState` field is `READY` the vocabulary is ready to be
2516
+ # `VocabularyState` field is `READY`, the vocabulary is ready to be
2114
2517
  # used in a `StartMedicalTranscriptionJob` request.
2115
2518
  # @return [String]
2116
2519
  #
@@ -2121,6 +2524,7 @@ module Aws::TranscribeService
2121
2524
  :language_code,
2122
2525
  :last_modified_time,
2123
2526
  :vocabulary_state)
2527
+ SENSITIVE = []
2124
2528
  include Aws::Structure
2125
2529
  end
2126
2530
 
@@ -2135,8 +2539,8 @@ module Aws::TranscribeService
2135
2539
  #
2136
2540
  # @!attribute [rw] vocabulary_filter_name
2137
2541
  # 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.
2542
+ # vocabulary filter with the same name as another vocabulary filter,
2543
+ # you get a `ConflictException` error.
2140
2544
  # @return [String]
2141
2545
  #
2142
2546
  # @!attribute [rw] words
@@ -2175,6 +2579,7 @@ module Aws::TranscribeService
2175
2579
  :vocabulary_filter_name,
2176
2580
  :words,
2177
2581
  :vocabulary_filter_file_uri)
2582
+ SENSITIVE = []
2178
2583
  include Aws::Structure
2179
2584
  end
2180
2585
 
@@ -2196,6 +2601,7 @@ module Aws::TranscribeService
2196
2601
  :vocabulary_filter_name,
2197
2602
  :language_code,
2198
2603
  :last_modified_time)
2604
+ SENSITIVE = []
2199
2605
  include Aws::Structure
2200
2606
  end
2201
2607
 
@@ -2204,13 +2610,13 @@ module Aws::TranscribeService
2204
2610
  #
2205
2611
  # {
2206
2612
  # 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
2613
+ # 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
2614
  # phrases: ["Phrase"],
2209
2615
  # vocabulary_file_uri: "Uri",
2210
2616
  # }
2211
2617
  #
2212
2618
  # @!attribute [rw] vocabulary_name
2213
- # The name of the vocabulary to update. The name is case-sensitive. If
2619
+ # The name of the vocabulary to update. The name is case sensitive. If
2214
2620
  # you try to update a vocabulary with the same name as a previous
2215
2621
  # vocabulary you will receive a `ConflictException` error.
2216
2622
  # @return [String]
@@ -2249,6 +2655,7 @@ module Aws::TranscribeService
2249
2655
  :language_code,
2250
2656
  :phrases,
2251
2657
  :vocabulary_file_uri)
2658
+ SENSITIVE = []
2252
2659
  include Aws::Structure
2253
2660
  end
2254
2661
 
@@ -2277,6 +2684,7 @@ module Aws::TranscribeService
2277
2684
  :language_code,
2278
2685
  :last_modified_time,
2279
2686
  :vocabulary_state)
2687
+ SENSITIVE = []
2280
2688
  include Aws::Structure
2281
2689
  end
2282
2690
 
@@ -2301,6 +2709,7 @@ module Aws::TranscribeService
2301
2709
  :vocabulary_filter_name,
2302
2710
  :language_code,
2303
2711
  :last_modified_time)
2712
+ SENSITIVE = []
2304
2713
  include Aws::Structure
2305
2714
  end
2306
2715
 
@@ -2330,6 +2739,7 @@ module Aws::TranscribeService
2330
2739
  :language_code,
2331
2740
  :last_modified_time,
2332
2741
  :vocabulary_state)
2742
+ SENSITIVE = []
2333
2743
  include Aws::Structure
2334
2744
  end
2335
2745