aws-sdk-transcribeservice 1.41.0 → 1.46.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
- # `https://s3.us-east-1.amazonaws.com/examplebucket/vocab.txt`
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]
@@ -278,14 +376,6 @@ module Aws::TranscribeService
278
376
  # custom vocabulary. The URI must be in the same region as the API
279
377
  # endpoint that you are calling. The general form is
280
378
  #
281
- # `
282
- # https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
283
- # `
284
- #
285
- # For example:
286
- #
287
- # `https://s3.us-east-1.amazonaws.com/examplebucket/vocab.txt`
288
- #
289
379
  # For more information about S3 object names, see [Object Keys][1] in
290
380
  # the *Amazon S3 Developer Guide*.
291
381
  #
@@ -305,6 +395,7 @@ module Aws::TranscribeService
305
395
  :language_code,
306
396
  :phrases,
307
397
  :vocabulary_file_uri)
398
+ SENSITIVE = []
308
399
  include Aws::Structure
309
400
  end
310
401
 
@@ -339,6 +430,26 @@ module Aws::TranscribeService
339
430
  :vocabulary_state,
340
431
  :last_modified_time,
341
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 = []
342
453
  include Aws::Structure
343
454
  end
344
455
 
@@ -358,6 +469,7 @@ module Aws::TranscribeService
358
469
  #
359
470
  class DeleteMedicalTranscriptionJobRequest < Struct.new(
360
471
  :medical_transcription_job_name)
472
+ SENSITIVE = []
361
473
  include Aws::Structure
362
474
  end
363
475
 
@@ -369,13 +481,14 @@ module Aws::TranscribeService
369
481
  # }
370
482
  #
371
483
  # @!attribute [rw] vocabulary_name
372
- # The name of the vocabulary you are choosing to delete.
484
+ # The name of the vocabulary that you want to delete.
373
485
  # @return [String]
374
486
  #
375
487
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteMedicalVocabularyRequest AWS API Documentation
376
488
  #
377
489
  class DeleteMedicalVocabularyRequest < Struct.new(
378
490
  :vocabulary_name)
491
+ SENSITIVE = []
379
492
  include Aws::Structure
380
493
  end
381
494
 
@@ -394,6 +507,7 @@ module Aws::TranscribeService
394
507
  #
395
508
  class DeleteTranscriptionJobRequest < Struct.new(
396
509
  :transcription_job_name)
510
+ SENSITIVE = []
397
511
  include Aws::Structure
398
512
  end
399
513
 
@@ -412,6 +526,7 @@ module Aws::TranscribeService
412
526
  #
413
527
  class DeleteVocabularyFilterRequest < Struct.new(
414
528
  :vocabulary_filter_name)
529
+ SENSITIVE = []
415
530
  include Aws::Structure
416
531
  end
417
532
 
@@ -430,6 +545,40 @@ module Aws::TranscribeService
430
545
  #
431
546
  class DeleteVocabularyRequest < Struct.new(
432
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 = []
433
582
  include Aws::Structure
434
583
  end
435
584
 
@@ -448,6 +597,7 @@ module Aws::TranscribeService
448
597
  #
449
598
  class GetMedicalTranscriptionJobRequest < Struct.new(
450
599
  :medical_transcription_job_name)
600
+ SENSITIVE = []
451
601
  include Aws::Structure
452
602
  end
453
603
 
@@ -460,6 +610,7 @@ module Aws::TranscribeService
460
610
  #
461
611
  class GetMedicalTranscriptionJobResponse < Struct.new(
462
612
  :medical_transcription_job)
613
+ SENSITIVE = []
463
614
  include Aws::Structure
464
615
  end
465
616
 
@@ -471,32 +622,35 @@ module Aws::TranscribeService
471
622
  # }
472
623
  #
473
624
  # @!attribute [rw] vocabulary_name
474
- # The name of the vocabulary you are trying to get information about.
475
- # 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.
476
627
  # @return [String]
477
628
  #
478
629
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetMedicalVocabularyRequest AWS API Documentation
479
630
  #
480
631
  class GetMedicalVocabularyRequest < Struct.new(
481
632
  :vocabulary_name)
633
+ SENSITIVE = []
482
634
  include Aws::Structure
483
635
  end
484
636
 
485
637
  # @!attribute [rw] vocabulary_name
486
- # The valid name that Amazon Transcribe Medical returns.
638
+ # The name of the vocabulary returned by Amazon Transcribe Medical.
487
639
  # @return [String]
488
640
  #
489
641
  # @!attribute [rw] language_code
490
- # The valid language code returned for your vocabulary entries.
642
+ # The valid language code for your vocabulary entries.
491
643
  # @return [String]
492
644
  #
493
645
  # @!attribute [rw] vocabulary_state
494
- # 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.
495
649
  # @return [String]
496
650
  #
497
651
  # @!attribute [rw] last_modified_time
498
- # The date and time the vocabulary was last modified with a text file
499
- # 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.
500
654
  # @return [Time]
501
655
  #
502
656
  # @!attribute [rw] failure_reason
@@ -505,8 +659,8 @@ module Aws::TranscribeService
505
659
  # @return [String]
506
660
  #
507
661
  # @!attribute [rw] download_uri
508
- # The Amazon S3 location where the vocabulary is stored. Use this URI
509
- # 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
510
664
  # vocabulary from the URI for a limited time.
511
665
  # @return [String]
512
666
  #
@@ -519,6 +673,7 @@ module Aws::TranscribeService
519
673
  :last_modified_time,
520
674
  :failure_reason,
521
675
  :download_uri)
676
+ SENSITIVE = []
522
677
  include Aws::Structure
523
678
  end
524
679
 
@@ -537,6 +692,7 @@ module Aws::TranscribeService
537
692
  #
538
693
  class GetTranscriptionJobRequest < Struct.new(
539
694
  :transcription_job_name)
695
+ SENSITIVE = []
540
696
  include Aws::Structure
541
697
  end
542
698
 
@@ -548,6 +704,7 @@ module Aws::TranscribeService
548
704
  #
549
705
  class GetTranscriptionJobResponse < Struct.new(
550
706
  :transcription_job)
707
+ SENSITIVE = []
551
708
  include Aws::Structure
552
709
  end
553
710
 
@@ -566,6 +723,7 @@ module Aws::TranscribeService
566
723
  #
567
724
  class GetVocabularyFilterRequest < Struct.new(
568
725
  :vocabulary_filter_name)
726
+ SENSITIVE = []
569
727
  include Aws::Structure
570
728
  end
571
729
 
@@ -594,6 +752,7 @@ module Aws::TranscribeService
594
752
  :language_code,
595
753
  :last_modified_time,
596
754
  :download_uri)
755
+ SENSITIVE = []
597
756
  include Aws::Structure
598
757
  end
599
758
 
@@ -606,13 +765,14 @@ module Aws::TranscribeService
606
765
  #
607
766
  # @!attribute [rw] vocabulary_name
608
767
  # The name of the vocabulary to return information about. The name is
609
- # case-sensitive.
768
+ # case sensitive.
610
769
  # @return [String]
611
770
  #
612
771
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetVocabularyRequest AWS API Documentation
613
772
  #
614
773
  class GetVocabularyRequest < Struct.new(
615
774
  :vocabulary_name)
775
+ SENSITIVE = []
616
776
  include Aws::Structure
617
777
  end
618
778
 
@@ -652,6 +812,45 @@ module Aws::TranscribeService
652
812
  :last_modified_time,
653
813
  :failure_reason,
654
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 = []
655
854
  include Aws::Structure
656
855
  end
657
856
 
@@ -665,6 +864,7 @@ module Aws::TranscribeService
665
864
  #
666
865
  class InternalFailureException < Struct.new(
667
866
  :message)
867
+ SENSITIVE = []
668
868
  include Aws::Structure
669
869
  end
670
870
 
@@ -707,6 +907,66 @@ module Aws::TranscribeService
707
907
  class JobExecutionSettings < Struct.new(
708
908
  :allow_deferred_execution,
709
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 = []
710
970
  include Aws::Structure
711
971
  end
712
972
 
@@ -721,6 +981,73 @@ module Aws::TranscribeService
721
981
  #
722
982
  class LimitExceededException < Struct.new(
723
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 = []
724
1051
  include Aws::Structure
725
1052
  end
726
1053
 
@@ -766,6 +1093,7 @@ module Aws::TranscribeService
766
1093
  :job_name_contains,
767
1094
  :next_token,
768
1095
  :max_results)
1096
+ SENSITIVE = []
769
1097
  include Aws::Structure
770
1098
  end
771
1099
 
@@ -793,6 +1121,7 @@ module Aws::TranscribeService
793
1121
  :status,
794
1122
  :next_token,
795
1123
  :medical_transcription_job_summaries)
1124
+ SENSITIVE = []
796
1125
  include Aws::Structure
797
1126
  end
798
1127
 
@@ -809,7 +1138,7 @@ module Aws::TranscribeService
809
1138
  # @!attribute [rw] next_token
810
1139
  # If the result of your previous request to `ListMedicalVocabularies`
811
1140
  # was truncated, include the `NextToken` to fetch the next set of
812
- # jobs.
1141
+ # vocabularies.
813
1142
  # @return [String]
814
1143
  #
815
1144
  # @!attribute [rw] max_results
@@ -817,15 +1146,15 @@ module Aws::TranscribeService
817
1146
  # @return [Integer]
818
1147
  #
819
1148
  # @!attribute [rw] state_equals
820
- # When specified, only returns vocabularies with the `VocabularyState`
821
- # 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.
822
1152
  # @return [String]
823
1153
  #
824
1154
  # @!attribute [rw] name_contains
825
- # Returns vocabularies in the list whose name contains the specified
826
- # string. The search is case-insensitive, `ListMedicalVocabularies`
827
- # returns both "vocabularyname" and "VocabularyName" in the
828
- # 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`".
829
1158
  # @return [String]
830
1159
  #
831
1160
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListMedicalVocabulariesRequest AWS API Documentation
@@ -835,6 +1164,7 @@ module Aws::TranscribeService
835
1164
  :max_results,
836
1165
  :state_equals,
837
1166
  :name_contains)
1167
+ SENSITIVE = []
838
1168
  include Aws::Structure
839
1169
  end
840
1170
 
@@ -844,16 +1174,17 @@ module Aws::TranscribeService
844
1174
  #
845
1175
  # @!attribute [rw] next_token
846
1176
  # The `ListMedicalVocabularies` operation returns a page of
847
- # vocabularies at a time. The maximum size of the page is set by the
848
- # `MaxResults` parameter. If there are more jobs in the list than the
849
- # page size, Amazon Transcribe Medical returns the `NextPage` token.
850
- # Include the token in the next request to the
851
- # `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 .
852
1183
  # @return [String]
853
1184
  #
854
1185
  # @!attribute [rw] vocabularies
855
- # A list of objects that describe the vocabularies that match the
856
- # search criteria in the request.
1186
+ # A list of objects that describe the vocabularies that match your
1187
+ # search criteria.
857
1188
  # @return [Array<Types::VocabularyInfo>]
858
1189
  #
859
1190
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListMedicalVocabulariesResponse AWS API Documentation
@@ -862,6 +1193,7 @@ module Aws::TranscribeService
862
1193
  :status,
863
1194
  :next_token,
864
1195
  :vocabularies)
1196
+ SENSITIVE = []
865
1197
  include Aws::Structure
866
1198
  end
867
1199
 
@@ -905,6 +1237,7 @@ module Aws::TranscribeService
905
1237
  :job_name_contains,
906
1238
  :next_token,
907
1239
  :max_results)
1240
+ SENSITIVE = []
908
1241
  include Aws::Structure
909
1242
  end
910
1243
 
@@ -932,6 +1265,7 @@ module Aws::TranscribeService
932
1265
  :status,
933
1266
  :next_token,
934
1267
  :transcription_job_summaries)
1268
+ SENSITIVE = []
935
1269
  include Aws::Structure
936
1270
  end
937
1271
 
@@ -964,8 +1298,8 @@ module Aws::TranscribeService
964
1298
  # @!attribute [rw] name_contains
965
1299
  # When specified, the vocabularies returned in the list are limited to
966
1300
  # vocabularies whose name contains the specified string. The search is
967
- # case-insensitive, `ListVocabularies` returns both "vocabularyname"
968
- # and "VocabularyName" in the response list.
1301
+ # not case sensitive, `ListVocabularies` returns both
1302
+ # "vocabularyname" and "VocabularyName" in the response list.
969
1303
  # @return [String]
970
1304
  #
971
1305
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListVocabulariesRequest AWS API Documentation
@@ -975,6 +1309,7 @@ module Aws::TranscribeService
975
1309
  :max_results,
976
1310
  :state_equals,
977
1311
  :name_contains)
1312
+ SENSITIVE = []
978
1313
  include Aws::Structure
979
1314
  end
980
1315
 
@@ -984,11 +1319,11 @@ module Aws::TranscribeService
984
1319
  #
985
1320
  # @!attribute [rw] next_token
986
1321
  # The `ListVocabularies` operation returns a page of vocabularies at a
987
- # time. The maximum size of the page is set by the `MaxResults`
988
- # parameter. If there are more jobs in the list than the page size,
989
- # Amazon Transcribe returns the `NextPage` token. Include the token in
990
- # the next request to the `ListVocabularies` operation to return in
991
- # 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.
992
1327
  # @return [String]
993
1328
  #
994
1329
  # @!attribute [rw] vocabularies
@@ -1002,6 +1337,7 @@ module Aws::TranscribeService
1002
1337
  :status,
1003
1338
  :next_token,
1004
1339
  :vocabularies)
1340
+ SENSITIVE = []
1005
1341
  include Aws::Structure
1006
1342
  end
1007
1343
 
@@ -1037,6 +1373,7 @@ module Aws::TranscribeService
1037
1373
  :next_token,
1038
1374
  :max_results,
1039
1375
  :name_contains)
1376
+ SENSITIVE = []
1040
1377
  include Aws::Structure
1041
1378
  end
1042
1379
 
@@ -1062,6 +1399,7 @@ module Aws::TranscribeService
1062
1399
  class ListVocabularyFiltersResponse < Struct.new(
1063
1400
  :next_token,
1064
1401
  :vocabulary_filters)
1402
+ SENSITIVE = []
1065
1403
  include Aws::Structure
1066
1404
  end
1067
1405
 
@@ -1079,14 +1417,8 @@ module Aws::TranscribeService
1079
1417
  # the same region as the API endpoint that you are calling. The
1080
1418
  # general form is:
1081
1419
  #
1082
- # ` s3://<bucket-name>/<keyprefix>/<objectkey> `
1083
- #
1084
1420
  # For example:
1085
1421
  #
1086
- # `s3://examplebucket/example.mp4`
1087
- #
1088
- # `s3://examplebucket/mediadocs/example.mp4`
1089
- #
1090
1422
  # For more information about S3 object names, see [Object Keys][1] in
1091
1423
  # the *Amazon S3 Developer Guide*.
1092
1424
  #
@@ -1099,6 +1431,7 @@ module Aws::TranscribeService
1099
1431
  #
1100
1432
  class Media < Struct.new(
1101
1433
  :media_file_uri)
1434
+ SENSITIVE = []
1102
1435
  include Aws::Structure
1103
1436
  end
1104
1437
 
@@ -1115,10 +1448,11 @@ module Aws::TranscribeService
1115
1448
  #
1116
1449
  class MedicalTranscript < Struct.new(
1117
1450
  :transcript_file_uri)
1451
+ SENSITIVE = []
1118
1452
  include Aws::Structure
1119
1453
  end
1120
1454
 
1121
- # The data structure that containts the information for a medical
1455
+ # The data structure that contains the information for a medical
1122
1456
  # transcription job.
1123
1457
  #
1124
1458
  # @!attribute [rw] medical_transcription_job_name
@@ -1200,8 +1534,8 @@ module Aws::TranscribeService
1200
1534
  #
1201
1535
  # * `Invalid file size: file size too large`- The size of your audio
1202
1536
  # file is larger than what Amazon Transcribe Medical can process.
1203
- # For more information, see [Guidlines and Quotas][1] in the *Amazon
1204
- # Transcribe Medical Guide*
1537
+ # For more information, see [Guidelines and Quotas][1] in the
1538
+ # *Amazon Transcribe Medical Guide*
1205
1539
  #
1206
1540
  # * `Invalid number of channels: number of channels too large`- Your
1207
1541
  # audio contains more channels than Amazon Transcribe Medical is
@@ -1254,6 +1588,7 @@ module Aws::TranscribeService
1254
1588
  :settings,
1255
1589
  :specialty,
1256
1590
  :type)
1591
+ SENSITIVE = []
1257
1592
  include Aws::Structure
1258
1593
  end
1259
1594
 
@@ -1318,6 +1653,7 @@ module Aws::TranscribeService
1318
1653
  :output_location_type,
1319
1654
  :specialty,
1320
1655
  :type)
1656
+ SENSITIVE = []
1321
1657
  include Aws::Structure
1322
1658
  end
1323
1659
 
@@ -1337,7 +1673,7 @@ module Aws::TranscribeService
1337
1673
  #
1338
1674
  # @!attribute [rw] show_speaker_labels
1339
1675
  # Determines whether the transcription job uses speaker recognition to
1340
- # identify different speakers in the input audio. Speaker recongition
1676
+ # identify different speakers in the input audio. Speaker recognition
1341
1677
  # labels individual speakers in the audio file. If you set the
1342
1678
  # `ShowSpeakerLabels` field to true, you must also set the maximum
1343
1679
  # number of speaker labels in the `MaxSpeakerLabels` field.
@@ -1398,6 +1734,29 @@ module Aws::TranscribeService
1398
1734
  :show_alternatives,
1399
1735
  :max_alternatives,
1400
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 = []
1401
1760
  include Aws::Structure
1402
1761
  end
1403
1762
 
@@ -1411,6 +1770,7 @@ module Aws::TranscribeService
1411
1770
  #
1412
1771
  class NotFoundException < Struct.new(
1413
1772
  :message)
1773
+ SENSITIVE = []
1414
1774
  include Aws::Structure
1415
1775
  end
1416
1776
 
@@ -1507,6 +1867,7 @@ module Aws::TranscribeService
1507
1867
  :max_alternatives,
1508
1868
  :vocabulary_filter_name,
1509
1869
  :vocabulary_filter_method)
1870
+ SENSITIVE = []
1510
1871
  include Aws::Structure
1511
1872
  end
1512
1873
 
@@ -1515,7 +1876,7 @@ module Aws::TranscribeService
1515
1876
  #
1516
1877
  # {
1517
1878
  # medical_transcription_job_name: "TranscriptionJobName", # required
1518
- # 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
1519
1880
  # media_sample_rate_hertz: 1,
1520
1881
  # media_format: "mp3", # accepts mp3, mp4, wav, flac
1521
1882
  # media: { # required
@@ -1537,10 +1898,10 @@ module Aws::TranscribeService
1537
1898
  #
1538
1899
  # @!attribute [rw] medical_transcription_job_name
1539
1900
  # The name of the medical transcription job. You can't use the
1540
- # strings "." or ".." by themselves as the job name. The name must
1541
- # also be unique within an AWS account. If you try to create a medical
1542
- # transcription job with the same name as a previous medical
1543
- # 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.
1544
1905
  # @return [String]
1545
1906
  #
1546
1907
  # @!attribute [rw] language_code
@@ -1651,6 +2012,7 @@ module Aws::TranscribeService
1651
2012
  :settings,
1652
2013
  :specialty,
1653
2014
  :type)
2015
+ SENSITIVE = []
1654
2016
  include Aws::Structure
1655
2017
  end
1656
2018
 
@@ -1662,6 +2024,7 @@ module Aws::TranscribeService
1662
2024
  #
1663
2025
  class StartMedicalTranscriptionJobResponse < Struct.new(
1664
2026
  :medical_transcription_job)
2027
+ SENSITIVE = []
1665
2028
  include Aws::Structure
1666
2029
  end
1667
2030
 
@@ -1670,7 +2033,7 @@ module Aws::TranscribeService
1670
2033
  #
1671
2034
  # {
1672
2035
  # transcription_job_name: "TranscriptionJobName", # required
1673
- # 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
1674
2037
  # media_sample_rate_hertz: 1,
1675
2038
  # media_format: "mp3", # accepts mp3, mp4, wav, flac
1676
2039
  # media: { # required
@@ -1688,6 +2051,9 @@ module Aws::TranscribeService
1688
2051
  # vocabulary_filter_name: "VocabularyFilterName",
1689
2052
  # vocabulary_filter_method: "remove", # accepts remove, mask
1690
2053
  # },
2054
+ # model_settings: {
2055
+ # language_model_name: "ModelName",
2056
+ # },
1691
2057
  # job_execution_settings: {
1692
2058
  # allow_deferred_execution: false,
1693
2059
  # data_access_role_arn: "DataAccessRoleArn",
@@ -1699,10 +2065,10 @@ module Aws::TranscribeService
1699
2065
  # }
1700
2066
  #
1701
2067
  # @!attribute [rw] transcription_job_name
1702
- # The name of the job. Note that you can't use the strings "." or
1703
- # ".." by themselves as the job name. The name must also be unique
1704
- # within an AWS account. If you try to create a transcription job with
1705
- # 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
1706
2072
  # `ConflictException` error.
1707
2073
  # @return [String]
1708
2074
  #
@@ -1797,6 +2163,11 @@ module Aws::TranscribeService
1797
2163
  # transcription job.
1798
2164
  # @return [Types::Settings]
1799
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
+ #
1800
2171
  # @!attribute [rw] job_execution_settings
1801
2172
  # Provides information about how a transcription job is executed. Use
1802
2173
  # this field to indicate that the job can be queued for deferred
@@ -1820,8 +2191,10 @@ module Aws::TranscribeService
1820
2191
  :output_bucket_name,
1821
2192
  :output_encryption_kms_key_id,
1822
2193
  :settings,
2194
+ :model_settings,
1823
2195
  :job_execution_settings,
1824
2196
  :content_redaction)
2197
+ SENSITIVE = []
1825
2198
  include Aws::Structure
1826
2199
  end
1827
2200
 
@@ -1833,13 +2206,14 @@ module Aws::TranscribeService
1833
2206
  #
1834
2207
  class StartTranscriptionJobResponse < Struct.new(
1835
2208
  :transcription_job)
2209
+ SENSITIVE = []
1836
2210
  include Aws::Structure
1837
2211
  end
1838
2212
 
1839
2213
  # Identifies the location of a transcription.
1840
2214
  #
1841
2215
  # @!attribute [rw] transcript_file_uri
1842
- # The S3 object location of the the transcript.
2216
+ # The S3 object location of the transcript.
1843
2217
  #
1844
2218
  # Use this URI to access the transcript. If you specified an S3 bucket
1845
2219
  # in the `OutputBucketName` field when you created the job, this is
@@ -1851,7 +2225,7 @@ module Aws::TranscribeService
1851
2225
  # @!attribute [rw] redacted_transcript_file_uri
1852
2226
  # The S3 object location of the redacted transcript.
1853
2227
  #
1854
- # 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
1855
2229
  # S3 bucket in the `OutputBucketName` field when you created the job,
1856
2230
  # this is the URI of that bucket. If you chose to store the transcript
1857
2231
  # in Amazon Transcribe, this is a shareable URL that provides secure
@@ -1863,6 +2237,7 @@ module Aws::TranscribeService
1863
2237
  class Transcript < Struct.new(
1864
2238
  :transcript_file_uri,
1865
2239
  :redacted_transcript_file_uri)
2240
+ SENSITIVE = []
1866
2241
  include Aws::Structure
1867
2242
  end
1868
2243
 
@@ -1959,6 +2334,10 @@ module Aws::TranscribeService
1959
2334
  # when processing the transcription job.
1960
2335
  # @return [Types::Settings]
1961
2336
  #
2337
+ # @!attribute [rw] model_settings
2338
+ # An object containing the details of your custom language model.
2339
+ # @return [Types::ModelSettings]
2340
+ #
1962
2341
  # @!attribute [rw] job_execution_settings
1963
2342
  # Provides information about how a transcription job is executed.
1964
2343
  # @return [Types::JobExecutionSettings]
@@ -1983,8 +2362,10 @@ module Aws::TranscribeService
1983
2362
  :completion_time,
1984
2363
  :failure_reason,
1985
2364
  :settings,
2365
+ :model_settings,
1986
2366
  :job_execution_settings,
1987
2367
  :content_redaction)
2368
+ SENSITIVE = []
1988
2369
  include Aws::Structure
1989
2370
  end
1990
2371
 
@@ -2037,6 +2418,11 @@ module Aws::TranscribeService
2037
2418
  # The content redaction settings of the transcription job.
2038
2419
  # @return [Types::ContentRedaction]
2039
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
+ #
2040
2426
  # @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/TranscriptionJobSummary AWS API Documentation
2041
2427
  #
2042
2428
  class TranscriptionJobSummary < Struct.new(
@@ -2048,7 +2434,9 @@ module Aws::TranscribeService
2048
2434
  :transcription_job_status,
2049
2435
  :failure_reason,
2050
2436
  :output_location_type,
2051
- :content_redaction)
2437
+ :content_redaction,
2438
+ :model_settings)
2439
+ SENSITIVE = []
2052
2440
  include Aws::Structure
2053
2441
  end
2054
2442
 
@@ -2057,27 +2445,27 @@ module Aws::TranscribeService
2057
2445
  #
2058
2446
  # {
2059
2447
  # vocabulary_name: "VocabularyName", # required
2060
- # 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
2061
2449
  # vocabulary_file_uri: "Uri",
2062
2450
  # }
2063
2451
  #
2064
2452
  # @!attribute [rw] vocabulary_name
2065
- # The name of the vocabulary to update. The name is case-sensitive. If
2066
- # you try to update a vocabulary with the same name as a previous
2067
- # 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.
2068
2456
  # @return [String]
2069
2457
  #
2070
2458
  # @!attribute [rw] language_code
2071
- # The language code of the entries in the updated vocabulary. US
2072
- # English (en-US) is the only valid language code in Amazon Transcribe
2073
- # 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.
2074
2462
  # @return [String]
2075
2463
  #
2076
2464
  # @!attribute [rw] vocabulary_file_uri
2077
- # The Amazon S3 location of the text file containing the definition of
2078
- # the custom vocabulary. The URI must be in the same AWS region as the
2079
- # API endpoint you are calling. You can see the fields you need to
2080
- # 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:
2081
2469
  #
2082
2470
  # `
2083
2471
  # https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
@@ -2085,10 +2473,10 @@ module Aws::TranscribeService
2085
2473
  #
2086
2474
  # For example:
2087
2475
  #
2088
- # `https://s3.us-east-1.amazonaws.com/examplebucket/vocab.txt`
2476
+ # `https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt`
2089
2477
  #
2090
- # For more information about S3 object names, see [Object Keys][1] in
2091
- # 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*.
2092
2480
  #
2093
2481
  # For more information about custom vocabularies in Amazon Transcribe
2094
2482
  # Medical, see [Medical Custom Vocabularies][2].
@@ -2105,6 +2493,7 @@ module Aws::TranscribeService
2105
2493
  :vocabulary_name,
2106
2494
  :language_code,
2107
2495
  :vocabulary_file_uri)
2496
+ SENSITIVE = []
2108
2497
  include Aws::Structure
2109
2498
  end
2110
2499
 
@@ -2113,18 +2502,18 @@ module Aws::TranscribeService
2113
2502
  # @return [String]
2114
2503
  #
2115
2504
  # @!attribute [rw] language_code
2116
- # The language code for the text file used to update the custom
2117
- # vocabulary. US English (en-US) is the only language supported in
2118
- # 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.
2119
2508
  # @return [String]
2120
2509
  #
2121
2510
  # @!attribute [rw] last_modified_time
2122
- # The date and time the vocabulary was updated.
2511
+ # The date and time that the vocabulary was updated.
2123
2512
  # @return [Time]
2124
2513
  #
2125
2514
  # @!attribute [rw] vocabulary_state
2126
2515
  # The processing state of the update to the vocabulary. When the
2127
- # `VocabularyState` field is `READY` the vocabulary is ready to be
2516
+ # `VocabularyState` field is `READY`, the vocabulary is ready to be
2128
2517
  # used in a `StartMedicalTranscriptionJob` request.
2129
2518
  # @return [String]
2130
2519
  #
@@ -2135,6 +2524,7 @@ module Aws::TranscribeService
2135
2524
  :language_code,
2136
2525
  :last_modified_time,
2137
2526
  :vocabulary_state)
2527
+ SENSITIVE = []
2138
2528
  include Aws::Structure
2139
2529
  end
2140
2530
 
@@ -2149,8 +2539,8 @@ module Aws::TranscribeService
2149
2539
  #
2150
2540
  # @!attribute [rw] vocabulary_filter_name
2151
2541
  # The name of the vocabulary filter to update. If you try to update a
2152
- # vocabulary filter with the same name as a previous vocabulary filter
2153
- # you will receive a `ConflictException` error.
2542
+ # vocabulary filter with the same name as another vocabulary filter,
2543
+ # you get a `ConflictException` error.
2154
2544
  # @return [String]
2155
2545
  #
2156
2546
  # @!attribute [rw] words
@@ -2189,6 +2579,7 @@ module Aws::TranscribeService
2189
2579
  :vocabulary_filter_name,
2190
2580
  :words,
2191
2581
  :vocabulary_filter_file_uri)
2582
+ SENSITIVE = []
2192
2583
  include Aws::Structure
2193
2584
  end
2194
2585
 
@@ -2210,6 +2601,7 @@ module Aws::TranscribeService
2210
2601
  :vocabulary_filter_name,
2211
2602
  :language_code,
2212
2603
  :last_modified_time)
2604
+ SENSITIVE = []
2213
2605
  include Aws::Structure
2214
2606
  end
2215
2607
 
@@ -2218,13 +2610,13 @@ module Aws::TranscribeService
2218
2610
  #
2219
2611
  # {
2220
2612
  # vocabulary_name: "VocabularyName", # required
2221
- # 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
2222
2614
  # phrases: ["Phrase"],
2223
2615
  # vocabulary_file_uri: "Uri",
2224
2616
  # }
2225
2617
  #
2226
2618
  # @!attribute [rw] vocabulary_name
2227
- # 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
2228
2620
  # you try to update a vocabulary with the same name as a previous
2229
2621
  # vocabulary you will receive a `ConflictException` error.
2230
2622
  # @return [String]
@@ -2242,14 +2634,8 @@ module Aws::TranscribeService
2242
2634
  # custom vocabulary. The URI must be in the same region as the API
2243
2635
  # endpoint that you are calling. The general form is
2244
2636
  #
2245
- # `
2246
- # https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
2247
- # `
2248
- #
2249
2637
  # For example:
2250
2638
  #
2251
- # `https://s3.us-east-1.amazonaws.com/examplebucket/vocab.txt`
2252
- #
2253
2639
  # For more information about S3 object names, see [Object Keys][1] in
2254
2640
  # the *Amazon S3 Developer Guide*.
2255
2641
  #
@@ -2269,6 +2655,7 @@ module Aws::TranscribeService
2269
2655
  :language_code,
2270
2656
  :phrases,
2271
2657
  :vocabulary_file_uri)
2658
+ SENSITIVE = []
2272
2659
  include Aws::Structure
2273
2660
  end
2274
2661
 
@@ -2297,6 +2684,7 @@ module Aws::TranscribeService
2297
2684
  :language_code,
2298
2685
  :last_modified_time,
2299
2686
  :vocabulary_state)
2687
+ SENSITIVE = []
2300
2688
  include Aws::Structure
2301
2689
  end
2302
2690
 
@@ -2321,6 +2709,7 @@ module Aws::TranscribeService
2321
2709
  :vocabulary_filter_name,
2322
2710
  :language_code,
2323
2711
  :last_modified_time)
2712
+ SENSITIVE = []
2324
2713
  include Aws::Structure
2325
2714
  end
2326
2715
 
@@ -2350,6 +2739,7 @@ module Aws::TranscribeService
2350
2739
  :language_code,
2351
2740
  :last_modified_time,
2352
2741
  :vocabulary_state)
2742
+ SENSITIVE = []
2353
2743
  include Aws::Structure
2354
2744
  end
2355
2745