aws-sdk-transcribeservice 1.44.1 → 1.49.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.
- checksums.yaml +4 -4
- data/lib/aws-sdk-transcribeservice.rb +6 -3
- data/lib/aws-sdk-transcribeservice/client.rb +396 -99
- data/lib/aws-sdk-transcribeservice/client_api.rb +140 -1
- data/lib/aws-sdk-transcribeservice/errors.rb +2 -0
- data/lib/aws-sdk-transcribeservice/resource.rb +2 -0
- data/lib/aws-sdk-transcribeservice/types.rb +615 -103
- metadata +2 -2
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -12,9 +14,13 @@ module Aws::TranscribeService
|
|
12
14
|
include Seahorse::Model
|
13
15
|
|
14
16
|
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
17
|
+
BaseModelName = Shapes::StringShape.new(name: 'BaseModelName')
|
15
18
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
19
|
+
CLMLanguageCode = Shapes::StringShape.new(name: 'CLMLanguageCode')
|
16
20
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
17
21
|
ContentRedaction = Shapes::StructureShape.new(name: 'ContentRedaction')
|
22
|
+
CreateLanguageModelRequest = Shapes::StructureShape.new(name: 'CreateLanguageModelRequest')
|
23
|
+
CreateLanguageModelResponse = Shapes::StructureShape.new(name: 'CreateLanguageModelResponse')
|
18
24
|
CreateMedicalVocabularyRequest = Shapes::StructureShape.new(name: 'CreateMedicalVocabularyRequest')
|
19
25
|
CreateMedicalVocabularyResponse = Shapes::StructureShape.new(name: 'CreateMedicalVocabularyResponse')
|
20
26
|
CreateVocabularyFilterRequest = Shapes::StructureShape.new(name: 'CreateVocabularyFilterRequest')
|
@@ -23,11 +29,14 @@ module Aws::TranscribeService
|
|
23
29
|
CreateVocabularyResponse = Shapes::StructureShape.new(name: 'CreateVocabularyResponse')
|
24
30
|
DataAccessRoleArn = Shapes::StringShape.new(name: 'DataAccessRoleArn')
|
25
31
|
DateTime = Shapes::TimestampShape.new(name: 'DateTime')
|
32
|
+
DeleteLanguageModelRequest = Shapes::StructureShape.new(name: 'DeleteLanguageModelRequest')
|
26
33
|
DeleteMedicalTranscriptionJobRequest = Shapes::StructureShape.new(name: 'DeleteMedicalTranscriptionJobRequest')
|
27
34
|
DeleteMedicalVocabularyRequest = Shapes::StructureShape.new(name: 'DeleteMedicalVocabularyRequest')
|
28
35
|
DeleteTranscriptionJobRequest = Shapes::StructureShape.new(name: 'DeleteTranscriptionJobRequest')
|
29
36
|
DeleteVocabularyFilterRequest = Shapes::StructureShape.new(name: 'DeleteVocabularyFilterRequest')
|
30
37
|
DeleteVocabularyRequest = Shapes::StructureShape.new(name: 'DeleteVocabularyRequest')
|
38
|
+
DescribeLanguageModelRequest = Shapes::StructureShape.new(name: 'DescribeLanguageModelRequest')
|
39
|
+
DescribeLanguageModelResponse = Shapes::StructureShape.new(name: 'DescribeLanguageModelResponse')
|
31
40
|
FailureReason = Shapes::StringShape.new(name: 'FailureReason')
|
32
41
|
GetMedicalTranscriptionJobRequest = Shapes::StructureShape.new(name: 'GetMedicalTranscriptionJobRequest')
|
33
42
|
GetMedicalTranscriptionJobResponse = Shapes::StructureShape.new(name: 'GetMedicalTranscriptionJobResponse')
|
@@ -39,11 +48,17 @@ module Aws::TranscribeService
|
|
39
48
|
GetVocabularyFilterResponse = Shapes::StructureShape.new(name: 'GetVocabularyFilterResponse')
|
40
49
|
GetVocabularyRequest = Shapes::StructureShape.new(name: 'GetVocabularyRequest')
|
41
50
|
GetVocabularyResponse = Shapes::StructureShape.new(name: 'GetVocabularyResponse')
|
51
|
+
IdentifiedLanguageScore = Shapes::FloatShape.new(name: 'IdentifiedLanguageScore')
|
52
|
+
InputDataConfig = Shapes::StructureShape.new(name: 'InputDataConfig')
|
42
53
|
InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
|
43
54
|
JobExecutionSettings = Shapes::StructureShape.new(name: 'JobExecutionSettings')
|
44
55
|
KMSKeyId = Shapes::StringShape.new(name: 'KMSKeyId')
|
45
56
|
LanguageCode = Shapes::StringShape.new(name: 'LanguageCode')
|
57
|
+
LanguageModel = Shapes::StructureShape.new(name: 'LanguageModel')
|
58
|
+
LanguageOptions = Shapes::ListShape.new(name: 'LanguageOptions')
|
46
59
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
60
|
+
ListLanguageModelsRequest = Shapes::StructureShape.new(name: 'ListLanguageModelsRequest')
|
61
|
+
ListLanguageModelsResponse = Shapes::StructureShape.new(name: 'ListLanguageModelsResponse')
|
47
62
|
ListMedicalTranscriptionJobsRequest = Shapes::StructureShape.new(name: 'ListMedicalTranscriptionJobsRequest')
|
48
63
|
ListMedicalTranscriptionJobsResponse = Shapes::StructureShape.new(name: 'ListMedicalTranscriptionJobsResponse')
|
49
64
|
ListMedicalVocabulariesRequest = Shapes::StructureShape.new(name: 'ListMedicalVocabulariesRequest')
|
@@ -65,9 +80,14 @@ module Aws::TranscribeService
|
|
65
80
|
MedicalTranscriptionJobSummaries = Shapes::ListShape.new(name: 'MedicalTranscriptionJobSummaries')
|
66
81
|
MedicalTranscriptionJobSummary = Shapes::StructureShape.new(name: 'MedicalTranscriptionJobSummary')
|
67
82
|
MedicalTranscriptionSetting = Shapes::StructureShape.new(name: 'MedicalTranscriptionSetting')
|
83
|
+
ModelName = Shapes::StringShape.new(name: 'ModelName')
|
84
|
+
ModelSettings = Shapes::StructureShape.new(name: 'ModelSettings')
|
85
|
+
ModelStatus = Shapes::StringShape.new(name: 'ModelStatus')
|
86
|
+
Models = Shapes::ListShape.new(name: 'Models')
|
68
87
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
69
88
|
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
70
89
|
OutputBucketName = Shapes::StringShape.new(name: 'OutputBucketName')
|
90
|
+
OutputKey = Shapes::StringShape.new(name: 'OutputKey')
|
71
91
|
OutputLocationType = Shapes::StringShape.new(name: 'OutputLocationType')
|
72
92
|
Phrase = Shapes::StringShape.new(name: 'Phrase')
|
73
93
|
Phrases = Shapes::ListShape.new(name: 'Phrases')
|
@@ -115,6 +135,19 @@ module Aws::TranscribeService
|
|
115
135
|
ContentRedaction.add_member(:redaction_output, Shapes::ShapeRef.new(shape: RedactionOutput, required: true, location_name: "RedactionOutput"))
|
116
136
|
ContentRedaction.struct_class = Types::ContentRedaction
|
117
137
|
|
138
|
+
CreateLanguageModelRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: CLMLanguageCode, required: true, location_name: "LanguageCode"))
|
139
|
+
CreateLanguageModelRequest.add_member(:base_model_name, Shapes::ShapeRef.new(shape: BaseModelName, required: true, location_name: "BaseModelName"))
|
140
|
+
CreateLanguageModelRequest.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "ModelName"))
|
141
|
+
CreateLanguageModelRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
|
142
|
+
CreateLanguageModelRequest.struct_class = Types::CreateLanguageModelRequest
|
143
|
+
|
144
|
+
CreateLanguageModelResponse.add_member(:language_code, Shapes::ShapeRef.new(shape: CLMLanguageCode, location_name: "LanguageCode"))
|
145
|
+
CreateLanguageModelResponse.add_member(:base_model_name, Shapes::ShapeRef.new(shape: BaseModelName, location_name: "BaseModelName"))
|
146
|
+
CreateLanguageModelResponse.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, location_name: "ModelName"))
|
147
|
+
CreateLanguageModelResponse.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, location_name: "InputDataConfig"))
|
148
|
+
CreateLanguageModelResponse.add_member(:model_status, Shapes::ShapeRef.new(shape: ModelStatus, location_name: "ModelStatus"))
|
149
|
+
CreateLanguageModelResponse.struct_class = Types::CreateLanguageModelResponse
|
150
|
+
|
118
151
|
CreateMedicalVocabularyRequest.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, required: true, location_name: "VocabularyName"))
|
119
152
|
CreateMedicalVocabularyRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
120
153
|
CreateMedicalVocabularyRequest.add_member(:vocabulary_file_uri, Shapes::ShapeRef.new(shape: Uri, required: true, location_name: "VocabularyFileUri"))
|
@@ -151,6 +184,9 @@ module Aws::TranscribeService
|
|
151
184
|
CreateVocabularyResponse.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
|
152
185
|
CreateVocabularyResponse.struct_class = Types::CreateVocabularyResponse
|
153
186
|
|
187
|
+
DeleteLanguageModelRequest.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "ModelName"))
|
188
|
+
DeleteLanguageModelRequest.struct_class = Types::DeleteLanguageModelRequest
|
189
|
+
|
154
190
|
DeleteMedicalTranscriptionJobRequest.add_member(:medical_transcription_job_name, Shapes::ShapeRef.new(shape: TranscriptionJobName, required: true, location_name: "MedicalTranscriptionJobName"))
|
155
191
|
DeleteMedicalTranscriptionJobRequest.struct_class = Types::DeleteMedicalTranscriptionJobRequest
|
156
192
|
|
@@ -166,6 +202,12 @@ module Aws::TranscribeService
|
|
166
202
|
DeleteVocabularyRequest.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, required: true, location_name: "VocabularyName"))
|
167
203
|
DeleteVocabularyRequest.struct_class = Types::DeleteVocabularyRequest
|
168
204
|
|
205
|
+
DescribeLanguageModelRequest.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "ModelName"))
|
206
|
+
DescribeLanguageModelRequest.struct_class = Types::DescribeLanguageModelRequest
|
207
|
+
|
208
|
+
DescribeLanguageModelResponse.add_member(:language_model, Shapes::ShapeRef.new(shape: LanguageModel, location_name: "LanguageModel"))
|
209
|
+
DescribeLanguageModelResponse.struct_class = Types::DescribeLanguageModelResponse
|
210
|
+
|
169
211
|
GetMedicalTranscriptionJobRequest.add_member(:medical_transcription_job_name, Shapes::ShapeRef.new(shape: TranscriptionJobName, required: true, location_name: "MedicalTranscriptionJobName"))
|
170
212
|
GetMedicalTranscriptionJobRequest.struct_class = Types::GetMedicalTranscriptionJobRequest
|
171
213
|
|
@@ -209,6 +251,11 @@ module Aws::TranscribeService
|
|
209
251
|
GetVocabularyResponse.add_member(:download_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "DownloadUri"))
|
210
252
|
GetVocabularyResponse.struct_class = Types::GetVocabularyResponse
|
211
253
|
|
254
|
+
InputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: Uri, required: true, location_name: "S3Uri"))
|
255
|
+
InputDataConfig.add_member(:tuning_data_s3_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "TuningDataS3Uri"))
|
256
|
+
InputDataConfig.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: DataAccessRoleArn, required: true, location_name: "DataAccessRoleArn"))
|
257
|
+
InputDataConfig.struct_class = Types::InputDataConfig
|
258
|
+
|
212
259
|
InternalFailureException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
213
260
|
InternalFailureException.struct_class = Types::InternalFailureException
|
214
261
|
|
@@ -216,9 +263,32 @@ module Aws::TranscribeService
|
|
216
263
|
JobExecutionSettings.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: DataAccessRoleArn, location_name: "DataAccessRoleArn"))
|
217
264
|
JobExecutionSettings.struct_class = Types::JobExecutionSettings
|
218
265
|
|
266
|
+
LanguageModel.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, location_name: "ModelName"))
|
267
|
+
LanguageModel.add_member(:create_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreateTime"))
|
268
|
+
LanguageModel.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastModifiedTime"))
|
269
|
+
LanguageModel.add_member(:language_code, Shapes::ShapeRef.new(shape: CLMLanguageCode, location_name: "LanguageCode"))
|
270
|
+
LanguageModel.add_member(:base_model_name, Shapes::ShapeRef.new(shape: BaseModelName, location_name: "BaseModelName"))
|
271
|
+
LanguageModel.add_member(:model_status, Shapes::ShapeRef.new(shape: ModelStatus, location_name: "ModelStatus"))
|
272
|
+
LanguageModel.add_member(:upgrade_availability, Shapes::ShapeRef.new(shape: Boolean, location_name: "UpgradeAvailability"))
|
273
|
+
LanguageModel.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
|
274
|
+
LanguageModel.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, location_name: "InputDataConfig"))
|
275
|
+
LanguageModel.struct_class = Types::LanguageModel
|
276
|
+
|
277
|
+
LanguageOptions.member = Shapes::ShapeRef.new(shape: LanguageCode)
|
278
|
+
|
219
279
|
LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
220
280
|
LimitExceededException.struct_class = Types::LimitExceededException
|
221
281
|
|
282
|
+
ListLanguageModelsRequest.add_member(:status_equals, Shapes::ShapeRef.new(shape: ModelStatus, location_name: "StatusEquals"))
|
283
|
+
ListLanguageModelsRequest.add_member(:name_contains, Shapes::ShapeRef.new(shape: ModelName, location_name: "NameContains"))
|
284
|
+
ListLanguageModelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
285
|
+
ListLanguageModelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
286
|
+
ListLanguageModelsRequest.struct_class = Types::ListLanguageModelsRequest
|
287
|
+
|
288
|
+
ListLanguageModelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
289
|
+
ListLanguageModelsResponse.add_member(:models, Shapes::ShapeRef.new(shape: Models, location_name: "Models"))
|
290
|
+
ListLanguageModelsResponse.struct_class = Types::ListLanguageModelsResponse
|
291
|
+
|
222
292
|
ListMedicalTranscriptionJobsRequest.add_member(:status, Shapes::ShapeRef.new(shape: TranscriptionJobStatus, location_name: "Status"))
|
223
293
|
ListMedicalTranscriptionJobsRequest.add_member(:job_name_contains, Shapes::ShapeRef.new(shape: TranscriptionJobName, location_name: "JobNameContains"))
|
224
294
|
ListMedicalTranscriptionJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
@@ -316,6 +386,11 @@ module Aws::TranscribeService
|
|
316
386
|
MedicalTranscriptionSetting.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, location_name: "VocabularyName"))
|
317
387
|
MedicalTranscriptionSetting.struct_class = Types::MedicalTranscriptionSetting
|
318
388
|
|
389
|
+
ModelSettings.add_member(:language_model_name, Shapes::ShapeRef.new(shape: ModelName, location_name: "LanguageModelName"))
|
390
|
+
ModelSettings.struct_class = Types::ModelSettings
|
391
|
+
|
392
|
+
Models.member = Shapes::ShapeRef.new(shape: LanguageModel)
|
393
|
+
|
319
394
|
NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
320
395
|
NotFoundException.struct_class = Types::NotFoundException
|
321
396
|
|
@@ -337,6 +412,7 @@ module Aws::TranscribeService
|
|
337
412
|
StartMedicalTranscriptionJobRequest.add_member(:media_format, Shapes::ShapeRef.new(shape: MediaFormat, location_name: "MediaFormat"))
|
338
413
|
StartMedicalTranscriptionJobRequest.add_member(:media, Shapes::ShapeRef.new(shape: Media, required: true, location_name: "Media"))
|
339
414
|
StartMedicalTranscriptionJobRequest.add_member(:output_bucket_name, Shapes::ShapeRef.new(shape: OutputBucketName, required: true, location_name: "OutputBucketName"))
|
415
|
+
StartMedicalTranscriptionJobRequest.add_member(:output_key, Shapes::ShapeRef.new(shape: OutputKey, location_name: "OutputKey"))
|
340
416
|
StartMedicalTranscriptionJobRequest.add_member(:output_encryption_kms_key_id, Shapes::ShapeRef.new(shape: KMSKeyId, location_name: "OutputEncryptionKMSKeyId"))
|
341
417
|
StartMedicalTranscriptionJobRequest.add_member(:settings, Shapes::ShapeRef.new(shape: MedicalTranscriptionSetting, location_name: "Settings"))
|
342
418
|
StartMedicalTranscriptionJobRequest.add_member(:specialty, Shapes::ShapeRef.new(shape: Specialty, required: true, location_name: "Specialty"))
|
@@ -347,15 +423,19 @@ module Aws::TranscribeService
|
|
347
423
|
StartMedicalTranscriptionJobResponse.struct_class = Types::StartMedicalTranscriptionJobResponse
|
348
424
|
|
349
425
|
StartTranscriptionJobRequest.add_member(:transcription_job_name, Shapes::ShapeRef.new(shape: TranscriptionJobName, required: true, location_name: "TranscriptionJobName"))
|
350
|
-
StartTranscriptionJobRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode,
|
426
|
+
StartTranscriptionJobRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, location_name: "LanguageCode"))
|
351
427
|
StartTranscriptionJobRequest.add_member(:media_sample_rate_hertz, Shapes::ShapeRef.new(shape: MediaSampleRateHertz, location_name: "MediaSampleRateHertz"))
|
352
428
|
StartTranscriptionJobRequest.add_member(:media_format, Shapes::ShapeRef.new(shape: MediaFormat, location_name: "MediaFormat"))
|
353
429
|
StartTranscriptionJobRequest.add_member(:media, Shapes::ShapeRef.new(shape: Media, required: true, location_name: "Media"))
|
354
430
|
StartTranscriptionJobRequest.add_member(:output_bucket_name, Shapes::ShapeRef.new(shape: OutputBucketName, location_name: "OutputBucketName"))
|
431
|
+
StartTranscriptionJobRequest.add_member(:output_key, Shapes::ShapeRef.new(shape: OutputKey, location_name: "OutputKey"))
|
355
432
|
StartTranscriptionJobRequest.add_member(:output_encryption_kms_key_id, Shapes::ShapeRef.new(shape: KMSKeyId, location_name: "OutputEncryptionKMSKeyId"))
|
356
433
|
StartTranscriptionJobRequest.add_member(:settings, Shapes::ShapeRef.new(shape: Settings, location_name: "Settings"))
|
434
|
+
StartTranscriptionJobRequest.add_member(:model_settings, Shapes::ShapeRef.new(shape: ModelSettings, location_name: "ModelSettings"))
|
357
435
|
StartTranscriptionJobRequest.add_member(:job_execution_settings, Shapes::ShapeRef.new(shape: JobExecutionSettings, location_name: "JobExecutionSettings"))
|
358
436
|
StartTranscriptionJobRequest.add_member(:content_redaction, Shapes::ShapeRef.new(shape: ContentRedaction, location_name: "ContentRedaction"))
|
437
|
+
StartTranscriptionJobRequest.add_member(:identify_language, Shapes::ShapeRef.new(shape: Boolean, location_name: "IdentifyLanguage"))
|
438
|
+
StartTranscriptionJobRequest.add_member(:language_options, Shapes::ShapeRef.new(shape: LanguageOptions, location_name: "LanguageOptions"))
|
359
439
|
StartTranscriptionJobRequest.struct_class = Types::StartTranscriptionJobRequest
|
360
440
|
|
361
441
|
StartTranscriptionJobResponse.add_member(:transcription_job, Shapes::ShapeRef.new(shape: TranscriptionJob, location_name: "TranscriptionJob"))
|
@@ -377,8 +457,12 @@ module Aws::TranscribeService
|
|
377
457
|
TranscriptionJob.add_member(:completion_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CompletionTime"))
|
378
458
|
TranscriptionJob.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
|
379
459
|
TranscriptionJob.add_member(:settings, Shapes::ShapeRef.new(shape: Settings, location_name: "Settings"))
|
460
|
+
TranscriptionJob.add_member(:model_settings, Shapes::ShapeRef.new(shape: ModelSettings, location_name: "ModelSettings"))
|
380
461
|
TranscriptionJob.add_member(:job_execution_settings, Shapes::ShapeRef.new(shape: JobExecutionSettings, location_name: "JobExecutionSettings"))
|
381
462
|
TranscriptionJob.add_member(:content_redaction, Shapes::ShapeRef.new(shape: ContentRedaction, location_name: "ContentRedaction"))
|
463
|
+
TranscriptionJob.add_member(:identify_language, Shapes::ShapeRef.new(shape: Boolean, location_name: "IdentifyLanguage"))
|
464
|
+
TranscriptionJob.add_member(:language_options, Shapes::ShapeRef.new(shape: LanguageOptions, location_name: "LanguageOptions"))
|
465
|
+
TranscriptionJob.add_member(:identified_language_score, Shapes::ShapeRef.new(shape: IdentifiedLanguageScore, location_name: "IdentifiedLanguageScore"))
|
382
466
|
TranscriptionJob.struct_class = Types::TranscriptionJob
|
383
467
|
|
384
468
|
TranscriptionJobSummaries.member = Shapes::ShapeRef.new(shape: TranscriptionJobSummary)
|
@@ -392,6 +476,9 @@ module Aws::TranscribeService
|
|
392
476
|
TranscriptionJobSummary.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason"))
|
393
477
|
TranscriptionJobSummary.add_member(:output_location_type, Shapes::ShapeRef.new(shape: OutputLocationType, location_name: "OutputLocationType"))
|
394
478
|
TranscriptionJobSummary.add_member(:content_redaction, Shapes::ShapeRef.new(shape: ContentRedaction, location_name: "ContentRedaction"))
|
479
|
+
TranscriptionJobSummary.add_member(:model_settings, Shapes::ShapeRef.new(shape: ModelSettings, location_name: "ModelSettings"))
|
480
|
+
TranscriptionJobSummary.add_member(:identify_language, Shapes::ShapeRef.new(shape: Boolean, location_name: "IdentifyLanguage"))
|
481
|
+
TranscriptionJobSummary.add_member(:identified_language_score, Shapes::ShapeRef.new(shape: IdentifiedLanguageScore, location_name: "IdentifiedLanguageScore"))
|
395
482
|
TranscriptionJobSummary.struct_class = Types::TranscriptionJobSummary
|
396
483
|
|
397
484
|
UpdateMedicalVocabularyRequest.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, required: true, location_name: "VocabularyName"))
|
@@ -463,6 +550,18 @@ module Aws::TranscribeService
|
|
463
550
|
"uid" => "transcribe-2017-10-26",
|
464
551
|
}
|
465
552
|
|
553
|
+
api.add_operation(:create_language_model, Seahorse::Model::Operation.new.tap do |o|
|
554
|
+
o.name = "CreateLanguageModel"
|
555
|
+
o.http_method = "POST"
|
556
|
+
o.http_request_uri = "/"
|
557
|
+
o.input = Shapes::ShapeRef.new(shape: CreateLanguageModelRequest)
|
558
|
+
o.output = Shapes::ShapeRef.new(shape: CreateLanguageModelResponse)
|
559
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
560
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
561
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
562
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
563
|
+
end)
|
564
|
+
|
466
565
|
api.add_operation(:create_medical_vocabulary, Seahorse::Model::Operation.new.tap do |o|
|
467
566
|
o.name = "CreateMedicalVocabulary"
|
468
567
|
o.http_method = "POST"
|
@@ -499,6 +598,17 @@ module Aws::TranscribeService
|
|
499
598
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
500
599
|
end)
|
501
600
|
|
601
|
+
api.add_operation(:delete_language_model, Seahorse::Model::Operation.new.tap do |o|
|
602
|
+
o.name = "DeleteLanguageModel"
|
603
|
+
o.http_method = "POST"
|
604
|
+
o.http_request_uri = "/"
|
605
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteLanguageModelRequest)
|
606
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
607
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
608
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
609
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
610
|
+
end)
|
611
|
+
|
502
612
|
api.add_operation(:delete_medical_transcription_job, Seahorse::Model::Operation.new.tap do |o|
|
503
613
|
o.name = "DeleteMedicalTranscriptionJob"
|
504
614
|
o.http_method = "POST"
|
@@ -557,6 +667,18 @@ module Aws::TranscribeService
|
|
557
667
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
558
668
|
end)
|
559
669
|
|
670
|
+
api.add_operation(:describe_language_model, Seahorse::Model::Operation.new.tap do |o|
|
671
|
+
o.name = "DescribeLanguageModel"
|
672
|
+
o.http_method = "POST"
|
673
|
+
o.http_request_uri = "/"
|
674
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeLanguageModelRequest)
|
675
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeLanguageModelResponse)
|
676
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
677
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
678
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
679
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
680
|
+
end)
|
681
|
+
|
560
682
|
api.add_operation(:get_medical_transcription_job, Seahorse::Model::Operation.new.tap do |o|
|
561
683
|
o.name = "GetMedicalTranscriptionJob"
|
562
684
|
o.http_method = "POST"
|
@@ -617,6 +739,23 @@ module Aws::TranscribeService
|
|
617
739
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
618
740
|
end)
|
619
741
|
|
742
|
+
api.add_operation(:list_language_models, Seahorse::Model::Operation.new.tap do |o|
|
743
|
+
o.name = "ListLanguageModels"
|
744
|
+
o.http_method = "POST"
|
745
|
+
o.http_request_uri = "/"
|
746
|
+
o.input = Shapes::ShapeRef.new(shape: ListLanguageModelsRequest)
|
747
|
+
o.output = Shapes::ShapeRef.new(shape: ListLanguageModelsResponse)
|
748
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
749
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
750
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
751
|
+
o[:pager] = Aws::Pager.new(
|
752
|
+
limit_key: "max_results",
|
753
|
+
tokens: {
|
754
|
+
"next_token" => "next_token"
|
755
|
+
}
|
756
|
+
)
|
757
|
+
end)
|
758
|
+
|
620
759
|
api.add_operation(:list_medical_transcription_jobs, Seahorse::Model::Operation.new.tap do |o|
|
621
760
|
o.name = "ListMedicalTranscriptionJobs"
|
622
761
|
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:
|
@@ -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
|
13
|
-
#
|
14
|
-
#
|
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
|
-
#
|
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: "
|
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
|
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
|
90
|
-
# vocabulary. The language code of your custom vocabulary must
|
91
|
-
# the language code of your transcription job. US English
|
92
|
-
# the only language code available for Amazon Transcribe
|
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
|
97
|
-
# custom vocabulary. The URI must be in the same AWS
|
98
|
-
#
|
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
|
-
#
|
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
|
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
|
227
|
+
# account and is case sensitive.
|
133
228
|
# @return [String]
|
134
229
|
#
|
135
230
|
# @!attribute [rw] language_code
|
136
|
-
# The language code
|
137
|
-
#
|
138
|
-
#
|
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
|
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: "
|
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
|
181
|
-
#
|
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: "
|
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
|
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
|
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
|
467
|
-
#
|
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
|
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
|
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
|
491
|
-
# different from
|
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
|
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
|
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
|
-
#
|
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
|
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
|
818
|
-
#
|
819
|
-
#
|
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.
|
840
|
-
# `MaxResults` parameter. If there are
|
841
|
-
# page
|
842
|
-
#
|
843
|
-
#
|
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
|
848
|
-
# search criteria
|
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
|
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
|
980
|
-
# parameter. If there are more jobs in the list than
|
981
|
-
# Amazon Transcribe returns the `NextPage` token.
|
982
|
-
# the next
|
983
|
-
#
|
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
|
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 [
|
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
|
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,13 +1876,14 @@ module Aws::TranscribeService
|
|
1501
1876
|
#
|
1502
1877
|
# {
|
1503
1878
|
# medical_transcription_job_name: "TranscriptionJobName", # required
|
1504
|
-
# language_code: "
|
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
|
-
# media_format: "mp3", # accepts mp3, mp4, wav, flac
|
1881
|
+
# media_format: "mp3", # accepts mp3, mp4, wav, flac, ogg, amr, webm
|
1507
1882
|
# media: { # required
|
1508
1883
|
# media_file_uri: "Uri",
|
1509
1884
|
# },
|
1510
1885
|
# output_bucket_name: "OutputBucketName", # required
|
1886
|
+
# output_key: "OutputKey",
|
1511
1887
|
# output_encryption_kms_key_id: "KMSKeyId",
|
1512
1888
|
# settings: {
|
1513
1889
|
# show_speaker_labels: false,
|
@@ -1523,10 +1899,10 @@ module Aws::TranscribeService
|
|
1523
1899
|
#
|
1524
1900
|
# @!attribute [rw] medical_transcription_job_name
|
1525
1901
|
# The name of the medical transcription job. You can't use the
|
1526
|
-
# strings "
|
1527
|
-
# also be unique within an AWS account. If you try to create a
|
1528
|
-
# transcription job with the same name as a previous medical
|
1529
|
-
# transcription job you
|
1902
|
+
# strings "`.`" or "`..`" by themselves as the job name. The name
|
1903
|
+
# must also be unique within an AWS account. If you try to create a
|
1904
|
+
# medical transcription job with the same name as a previous medical
|
1905
|
+
# transcription job, you get a `ConflictException` error.
|
1530
1906
|
# @return [String]
|
1531
1907
|
#
|
1532
1908
|
# @!attribute [rw] language_code
|
@@ -1578,6 +1954,29 @@ module Aws::TranscribeService
|
|
1578
1954
|
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/security_iam_id-based-policy-examples.html#auth-role-iam-user
|
1579
1955
|
# @return [String]
|
1580
1956
|
#
|
1957
|
+
# @!attribute [rw] output_key
|
1958
|
+
# You can specify a location in an Amazon S3 bucket to store the
|
1959
|
+
# output of your medical transcription job.
|
1960
|
+
#
|
1961
|
+
# If you don't specify an output key, Amazon Transcribe Medical
|
1962
|
+
# stores the output of your transcription job in the Amazon S3 bucket
|
1963
|
+
# you specified. By default, the object key is
|
1964
|
+
# "your-transcription-job-name.json".
|
1965
|
+
#
|
1966
|
+
# You can use output keys to specify the Amazon S3 prefix and file
|
1967
|
+
# name of the transcription output. For example, specifying the Amazon
|
1968
|
+
# S3 prefix, "folder1/folder2/", as an output key would lead to the
|
1969
|
+
# output being stored as
|
1970
|
+
# "folder1/folder2/your-transcription-job-name.json". If you specify
|
1971
|
+
# "my-other-job-name.json" as the output key, the object key is
|
1972
|
+
# changed to "my-other-job-name.json". You can use an output key to
|
1973
|
+
# change both the prefix and the file name, for example
|
1974
|
+
# "folder/my-other-job-name.json".
|
1975
|
+
#
|
1976
|
+
# If you specify an output key, you must also specify an S3 bucket in
|
1977
|
+
# the `OutputBucketName` parameter.
|
1978
|
+
# @return [String]
|
1979
|
+
#
|
1581
1980
|
# @!attribute [rw] output_encryption_kms_key_id
|
1582
1981
|
# The Amazon Resource Name (ARN) of the AWS Key Management Service
|
1583
1982
|
# (KMS) key used to encrypt the output of the transcription job. The
|
@@ -1633,10 +2032,12 @@ module Aws::TranscribeService
|
|
1633
2032
|
:media_format,
|
1634
2033
|
:media,
|
1635
2034
|
:output_bucket_name,
|
2035
|
+
:output_key,
|
1636
2036
|
:output_encryption_kms_key_id,
|
1637
2037
|
:settings,
|
1638
2038
|
:specialty,
|
1639
2039
|
:type)
|
2040
|
+
SENSITIVE = []
|
1640
2041
|
include Aws::Structure
|
1641
2042
|
end
|
1642
2043
|
|
@@ -1648,6 +2049,7 @@ module Aws::TranscribeService
|
|
1648
2049
|
#
|
1649
2050
|
class StartMedicalTranscriptionJobResponse < Struct.new(
|
1650
2051
|
:medical_transcription_job)
|
2052
|
+
SENSITIVE = []
|
1651
2053
|
include Aws::Structure
|
1652
2054
|
end
|
1653
2055
|
|
@@ -1656,13 +2058,14 @@ module Aws::TranscribeService
|
|
1656
2058
|
#
|
1657
2059
|
# {
|
1658
2060
|
# transcription_job_name: "TranscriptionJobName", # required
|
1659
|
-
# language_code: "
|
2061
|
+
# language_code: "af-ZA", # accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN
|
1660
2062
|
# media_sample_rate_hertz: 1,
|
1661
|
-
# media_format: "mp3", # accepts mp3, mp4, wav, flac
|
2063
|
+
# media_format: "mp3", # accepts mp3, mp4, wav, flac, ogg, amr, webm
|
1662
2064
|
# media: { # required
|
1663
2065
|
# media_file_uri: "Uri",
|
1664
2066
|
# },
|
1665
2067
|
# output_bucket_name: "OutputBucketName",
|
2068
|
+
# output_key: "OutputKey",
|
1666
2069
|
# output_encryption_kms_key_id: "KMSKeyId",
|
1667
2070
|
# settings: {
|
1668
2071
|
# vocabulary_name: "VocabularyName",
|
@@ -1674,6 +2077,9 @@ module Aws::TranscribeService
|
|
1674
2077
|
# vocabulary_filter_name: "VocabularyFilterName",
|
1675
2078
|
# vocabulary_filter_method: "remove", # accepts remove, mask
|
1676
2079
|
# },
|
2080
|
+
# model_settings: {
|
2081
|
+
# language_model_name: "ModelName",
|
2082
|
+
# },
|
1677
2083
|
# job_execution_settings: {
|
1678
2084
|
# allow_deferred_execution: false,
|
1679
2085
|
# data_access_role_arn: "DataAccessRoleArn",
|
@@ -1682,13 +2088,15 @@ module Aws::TranscribeService
|
|
1682
2088
|
# redaction_type: "PII", # required, accepts PII
|
1683
2089
|
# redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
|
1684
2090
|
# },
|
2091
|
+
# identify_language: false,
|
2092
|
+
# language_options: ["af-ZA"], # accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN
|
1685
2093
|
# }
|
1686
2094
|
#
|
1687
2095
|
# @!attribute [rw] transcription_job_name
|
1688
|
-
# The name of the job.
|
1689
|
-
#
|
1690
|
-
#
|
1691
|
-
#
|
2096
|
+
# The name of the job. You can't use the strings "`.`" or "`..`"
|
2097
|
+
# by themselves as the job name. The name must also be unique within
|
2098
|
+
# an AWS account. If you try to create a transcription job with the
|
2099
|
+
# same name as a previous transcription job, you get a
|
1692
2100
|
# `ConflictException` error.
|
1693
2101
|
# @return [String]
|
1694
2102
|
#
|
@@ -1747,6 +2155,29 @@ module Aws::TranscribeService
|
|
1747
2155
|
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/security_iam_id-based-policy-examples.html#auth-role-iam-user
|
1748
2156
|
# @return [String]
|
1749
2157
|
#
|
2158
|
+
# @!attribute [rw] output_key
|
2159
|
+
# You can specify a location in an Amazon S3 bucket to store the
|
2160
|
+
# output of your transcription job.
|
2161
|
+
#
|
2162
|
+
# If you don't specify an output key, Amazon Transcribe stores the
|
2163
|
+
# output of your transcription job in the Amazon S3 bucket you
|
2164
|
+
# specified. By default, the object key is
|
2165
|
+
# "your-transcription-job-name.json".
|
2166
|
+
#
|
2167
|
+
# You can use output keys to specify the Amazon S3 prefix and file
|
2168
|
+
# name of the transcription output. For example, specifying the Amazon
|
2169
|
+
# S3 prefix, "folder1/folder2/", as an output key would lead to the
|
2170
|
+
# output being stored as
|
2171
|
+
# "folder1/folder2/your-transcription-job-name.json". If you specify
|
2172
|
+
# "my-other-job-name.json" as the output key, the object key is
|
2173
|
+
# changed to "my-other-job-name.json". You can use an output key to
|
2174
|
+
# change both the prefix and the file name, for example
|
2175
|
+
# "folder/my-other-job-name.json".
|
2176
|
+
#
|
2177
|
+
# If you specify an output key, you must also specify an S3 bucket in
|
2178
|
+
# the `OutputBucketName` parameter.
|
2179
|
+
# @return [String]
|
2180
|
+
#
|
1750
2181
|
# @!attribute [rw] output_encryption_kms_key_id
|
1751
2182
|
# The Amazon Resource Name (ARN) of the AWS Key Management Service
|
1752
2183
|
# (KMS) key used to encrypt the output of the transcription job. The
|
@@ -1783,6 +2214,11 @@ module Aws::TranscribeService
|
|
1783
2214
|
# transcription job.
|
1784
2215
|
# @return [Types::Settings]
|
1785
2216
|
#
|
2217
|
+
# @!attribute [rw] model_settings
|
2218
|
+
# Choose the custom language model you use for your transcription job
|
2219
|
+
# in this parameter.
|
2220
|
+
# @return [Types::ModelSettings]
|
2221
|
+
#
|
1786
2222
|
# @!attribute [rw] job_execution_settings
|
1787
2223
|
# Provides information about how a transcription job is executed. Use
|
1788
2224
|
# this field to indicate that the job can be queued for deferred
|
@@ -1795,6 +2231,20 @@ module Aws::TranscribeService
|
|
1795
2231
|
# redaction.
|
1796
2232
|
# @return [Types::ContentRedaction]
|
1797
2233
|
#
|
2234
|
+
# @!attribute [rw] identify_language
|
2235
|
+
# Set this field to `true` to enable automatic language
|
2236
|
+
# identification. Automatic language identification is disabled by
|
2237
|
+
# default. You receive a `BadRequestException` error if you enter a
|
2238
|
+
# value for a `LanguageCode`.
|
2239
|
+
# @return [Boolean]
|
2240
|
+
#
|
2241
|
+
# @!attribute [rw] language_options
|
2242
|
+
# An object containing a list of languages that might be present in
|
2243
|
+
# your collection of audio files. Automatic language identification
|
2244
|
+
# chooses a language that best matches the source audio from that
|
2245
|
+
# list.
|
2246
|
+
# @return [Array<String>]
|
2247
|
+
#
|
1798
2248
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartTranscriptionJobRequest AWS API Documentation
|
1799
2249
|
#
|
1800
2250
|
class StartTranscriptionJobRequest < Struct.new(
|
@@ -1804,10 +2254,15 @@ module Aws::TranscribeService
|
|
1804
2254
|
:media_format,
|
1805
2255
|
:media,
|
1806
2256
|
:output_bucket_name,
|
2257
|
+
:output_key,
|
1807
2258
|
:output_encryption_kms_key_id,
|
1808
2259
|
:settings,
|
2260
|
+
:model_settings,
|
1809
2261
|
:job_execution_settings,
|
1810
|
-
:content_redaction
|
2262
|
+
:content_redaction,
|
2263
|
+
:identify_language,
|
2264
|
+
:language_options)
|
2265
|
+
SENSITIVE = []
|
1811
2266
|
include Aws::Structure
|
1812
2267
|
end
|
1813
2268
|
|
@@ -1819,13 +2274,14 @@ module Aws::TranscribeService
|
|
1819
2274
|
#
|
1820
2275
|
class StartTranscriptionJobResponse < Struct.new(
|
1821
2276
|
:transcription_job)
|
2277
|
+
SENSITIVE = []
|
1822
2278
|
include Aws::Structure
|
1823
2279
|
end
|
1824
2280
|
|
1825
2281
|
# Identifies the location of a transcription.
|
1826
2282
|
#
|
1827
2283
|
# @!attribute [rw] transcript_file_uri
|
1828
|
-
# The S3 object location of the
|
2284
|
+
# The S3 object location of the transcript.
|
1829
2285
|
#
|
1830
2286
|
# Use this URI to access the transcript. If you specified an S3 bucket
|
1831
2287
|
# in the `OutputBucketName` field when you created the job, this is
|
@@ -1837,7 +2293,7 @@ module Aws::TranscribeService
|
|
1837
2293
|
# @!attribute [rw] redacted_transcript_file_uri
|
1838
2294
|
# The S3 object location of the redacted transcript.
|
1839
2295
|
#
|
1840
|
-
# Use this URI to access the
|
2296
|
+
# Use this URI to access the redacted transcript. If you specified an
|
1841
2297
|
# S3 bucket in the `OutputBucketName` field when you created the job,
|
1842
2298
|
# this is the URI of that bucket. If you chose to store the transcript
|
1843
2299
|
# in Amazon Transcribe, this is a shareable URL that provides secure
|
@@ -1849,6 +2305,7 @@ module Aws::TranscribeService
|
|
1849
2305
|
class Transcript < Struct.new(
|
1850
2306
|
:transcript_file_uri,
|
1851
2307
|
:redacted_transcript_file_uri)
|
2308
|
+
SENSITIVE = []
|
1852
2309
|
include Aws::Structure
|
1853
2310
|
end
|
1854
2311
|
|
@@ -1945,6 +2402,10 @@ module Aws::TranscribeService
|
|
1945
2402
|
# when processing the transcription job.
|
1946
2403
|
# @return [Types::Settings]
|
1947
2404
|
#
|
2405
|
+
# @!attribute [rw] model_settings
|
2406
|
+
# An object containing the details of your custom language model.
|
2407
|
+
# @return [Types::ModelSettings]
|
2408
|
+
#
|
1948
2409
|
# @!attribute [rw] job_execution_settings
|
1949
2410
|
# Provides information about how a transcription job is executed.
|
1950
2411
|
# @return [Types::JobExecutionSettings]
|
@@ -1954,6 +2415,23 @@ module Aws::TranscribeService
|
|
1954
2415
|
# transcription job.
|
1955
2416
|
# @return [Types::ContentRedaction]
|
1956
2417
|
#
|
2418
|
+
# @!attribute [rw] identify_language
|
2419
|
+
# A value that shows if automatic language identification was enabled
|
2420
|
+
# for a transcription job.
|
2421
|
+
# @return [Boolean]
|
2422
|
+
#
|
2423
|
+
# @!attribute [rw] language_options
|
2424
|
+
# An object that shows the optional array of languages inputted for
|
2425
|
+
# transcription jobs with automatic language identification enabled.
|
2426
|
+
# @return [Array<String>]
|
2427
|
+
#
|
2428
|
+
# @!attribute [rw] identified_language_score
|
2429
|
+
# A value between zero and one that Amazon Transcribe assigned to the
|
2430
|
+
# language that it identified in the source audio. Larger values
|
2431
|
+
# indicate that Amazon Transcribe has higher confidence in the
|
2432
|
+
# language it identified.
|
2433
|
+
# @return [Float]
|
2434
|
+
#
|
1957
2435
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/TranscriptionJob AWS API Documentation
|
1958
2436
|
#
|
1959
2437
|
class TranscriptionJob < Struct.new(
|
@@ -1969,8 +2447,13 @@ module Aws::TranscribeService
|
|
1969
2447
|
:completion_time,
|
1970
2448
|
:failure_reason,
|
1971
2449
|
:settings,
|
2450
|
+
:model_settings,
|
1972
2451
|
:job_execution_settings,
|
1973
|
-
:content_redaction
|
2452
|
+
:content_redaction,
|
2453
|
+
:identify_language,
|
2454
|
+
:language_options,
|
2455
|
+
:identified_language_score)
|
2456
|
+
SENSITIVE = []
|
1974
2457
|
include Aws::Structure
|
1975
2458
|
end
|
1976
2459
|
|
@@ -2023,6 +2506,23 @@ module Aws::TranscribeService
|
|
2023
2506
|
# The content redaction settings of the transcription job.
|
2024
2507
|
# @return [Types::ContentRedaction]
|
2025
2508
|
#
|
2509
|
+
# @!attribute [rw] model_settings
|
2510
|
+
# The object used to call your custom language model to your
|
2511
|
+
# transcription job.
|
2512
|
+
# @return [Types::ModelSettings]
|
2513
|
+
#
|
2514
|
+
# @!attribute [rw] identify_language
|
2515
|
+
# Whether automatic language identification was enabled for a
|
2516
|
+
# transcription job.
|
2517
|
+
# @return [Boolean]
|
2518
|
+
#
|
2519
|
+
# @!attribute [rw] identified_language_score
|
2520
|
+
# A value between zero and one that Amazon Transcribe assigned to the
|
2521
|
+
# language it identified in the source audio. A higher score indicates
|
2522
|
+
# that Amazon Transcribe is more confident in the language it
|
2523
|
+
# identified.
|
2524
|
+
# @return [Float]
|
2525
|
+
#
|
2026
2526
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/TranscriptionJobSummary AWS API Documentation
|
2027
2527
|
#
|
2028
2528
|
class TranscriptionJobSummary < Struct.new(
|
@@ -2034,7 +2534,11 @@ module Aws::TranscribeService
|
|
2034
2534
|
:transcription_job_status,
|
2035
2535
|
:failure_reason,
|
2036
2536
|
:output_location_type,
|
2037
|
-
:content_redaction
|
2537
|
+
:content_redaction,
|
2538
|
+
:model_settings,
|
2539
|
+
:identify_language,
|
2540
|
+
:identified_language_score)
|
2541
|
+
SENSITIVE = []
|
2038
2542
|
include Aws::Structure
|
2039
2543
|
end
|
2040
2544
|
|
@@ -2043,27 +2547,27 @@ module Aws::TranscribeService
|
|
2043
2547
|
#
|
2044
2548
|
# {
|
2045
2549
|
# vocabulary_name: "VocabularyName", # required
|
2046
|
-
# language_code: "
|
2550
|
+
# 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
2551
|
# vocabulary_file_uri: "Uri",
|
2048
2552
|
# }
|
2049
2553
|
#
|
2050
2554
|
# @!attribute [rw] vocabulary_name
|
2051
|
-
# The name of the vocabulary to update. The name is case
|
2052
|
-
# you try to update a vocabulary with the same name as a
|
2053
|
-
#
|
2555
|
+
# The name of the vocabulary to update. The name is case sensitive. If
|
2556
|
+
# you try to update a vocabulary with the same name as a vocabulary
|
2557
|
+
# you've already made, you get a `ConflictException` error.
|
2054
2558
|
# @return [String]
|
2055
2559
|
#
|
2056
2560
|
# @!attribute [rw] language_code
|
2057
|
-
# The language code of the
|
2058
|
-
# English (en-US) is the only valid language
|
2059
|
-
# Medical.
|
2561
|
+
# The language code of the language used for the entries in the
|
2562
|
+
# updated vocabulary. US English (en-US) is the only valid language
|
2563
|
+
# code in Amazon Transcribe Medical.
|
2060
2564
|
# @return [String]
|
2061
2565
|
#
|
2062
2566
|
# @!attribute [rw] vocabulary_file_uri
|
2063
|
-
# The Amazon S3
|
2064
|
-
#
|
2065
|
-
#
|
2066
|
-
#
|
2567
|
+
# The location in Amazon S3 of the text file that contains the you use
|
2568
|
+
# for your custom vocabulary. The URI must be in the same AWS Region
|
2569
|
+
# as the resource that you are calling. The following is the format
|
2570
|
+
# for a URI:
|
2067
2571
|
#
|
2068
2572
|
# `
|
2069
2573
|
# https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
|
@@ -2073,8 +2577,8 @@ module Aws::TranscribeService
|
|
2073
2577
|
#
|
2074
2578
|
# `https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt`
|
2075
2579
|
#
|
2076
|
-
# For more information about S3 object names, see [Object
|
2077
|
-
# the *Amazon S3 Developer Guide*.
|
2580
|
+
# For more information about Amazon S3 object names, see [Object
|
2581
|
+
# Keys][1] in the *Amazon S3 Developer Guide*.
|
2078
2582
|
#
|
2079
2583
|
# For more information about custom vocabularies in Amazon Transcribe
|
2080
2584
|
# Medical, see [Medical Custom Vocabularies][2].
|
@@ -2091,6 +2595,7 @@ module Aws::TranscribeService
|
|
2091
2595
|
:vocabulary_name,
|
2092
2596
|
:language_code,
|
2093
2597
|
:vocabulary_file_uri)
|
2598
|
+
SENSITIVE = []
|
2094
2599
|
include Aws::Structure
|
2095
2600
|
end
|
2096
2601
|
|
@@ -2099,18 +2604,18 @@ module Aws::TranscribeService
|
|
2099
2604
|
# @return [String]
|
2100
2605
|
#
|
2101
2606
|
# @!attribute [rw] language_code
|
2102
|
-
# The language code for the text file used to update
|
2103
|
-
# vocabulary. US English (en-US) is the only language
|
2104
|
-
# Amazon Transcribe Medical.
|
2607
|
+
# The language code for the language of the text file used to update
|
2608
|
+
# the custom vocabulary. US English (en-US) is the only language
|
2609
|
+
# supported in Amazon Transcribe Medical.
|
2105
2610
|
# @return [String]
|
2106
2611
|
#
|
2107
2612
|
# @!attribute [rw] last_modified_time
|
2108
|
-
# The date and time the vocabulary was updated.
|
2613
|
+
# The date and time that the vocabulary was updated.
|
2109
2614
|
# @return [Time]
|
2110
2615
|
#
|
2111
2616
|
# @!attribute [rw] vocabulary_state
|
2112
2617
|
# The processing state of the update to the vocabulary. When the
|
2113
|
-
# `VocabularyState` field is `READY
|
2618
|
+
# `VocabularyState` field is `READY`, the vocabulary is ready to be
|
2114
2619
|
# used in a `StartMedicalTranscriptionJob` request.
|
2115
2620
|
# @return [String]
|
2116
2621
|
#
|
@@ -2121,6 +2626,7 @@ module Aws::TranscribeService
|
|
2121
2626
|
:language_code,
|
2122
2627
|
:last_modified_time,
|
2123
2628
|
:vocabulary_state)
|
2629
|
+
SENSITIVE = []
|
2124
2630
|
include Aws::Structure
|
2125
2631
|
end
|
2126
2632
|
|
@@ -2135,8 +2641,8 @@ module Aws::TranscribeService
|
|
2135
2641
|
#
|
2136
2642
|
# @!attribute [rw] vocabulary_filter_name
|
2137
2643
|
# The name of the vocabulary filter to update. If you try to update a
|
2138
|
-
# vocabulary filter with the same name as
|
2139
|
-
# you
|
2644
|
+
# vocabulary filter with the same name as another vocabulary filter,
|
2645
|
+
# you get a `ConflictException` error.
|
2140
2646
|
# @return [String]
|
2141
2647
|
#
|
2142
2648
|
# @!attribute [rw] words
|
@@ -2175,6 +2681,7 @@ module Aws::TranscribeService
|
|
2175
2681
|
:vocabulary_filter_name,
|
2176
2682
|
:words,
|
2177
2683
|
:vocabulary_filter_file_uri)
|
2684
|
+
SENSITIVE = []
|
2178
2685
|
include Aws::Structure
|
2179
2686
|
end
|
2180
2687
|
|
@@ -2196,6 +2703,7 @@ module Aws::TranscribeService
|
|
2196
2703
|
:vocabulary_filter_name,
|
2197
2704
|
:language_code,
|
2198
2705
|
:last_modified_time)
|
2706
|
+
SENSITIVE = []
|
2199
2707
|
include Aws::Structure
|
2200
2708
|
end
|
2201
2709
|
|
@@ -2204,13 +2712,13 @@ module Aws::TranscribeService
|
|
2204
2712
|
#
|
2205
2713
|
# {
|
2206
2714
|
# vocabulary_name: "VocabularyName", # required
|
2207
|
-
# language_code: "
|
2715
|
+
# 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
2716
|
# phrases: ["Phrase"],
|
2209
2717
|
# vocabulary_file_uri: "Uri",
|
2210
2718
|
# }
|
2211
2719
|
#
|
2212
2720
|
# @!attribute [rw] vocabulary_name
|
2213
|
-
# The name of the vocabulary to update. The name is case
|
2721
|
+
# The name of the vocabulary to update. The name is case sensitive. If
|
2214
2722
|
# you try to update a vocabulary with the same name as a previous
|
2215
2723
|
# vocabulary you will receive a `ConflictException` error.
|
2216
2724
|
# @return [String]
|
@@ -2249,6 +2757,7 @@ module Aws::TranscribeService
|
|
2249
2757
|
:language_code,
|
2250
2758
|
:phrases,
|
2251
2759
|
:vocabulary_file_uri)
|
2760
|
+
SENSITIVE = []
|
2252
2761
|
include Aws::Structure
|
2253
2762
|
end
|
2254
2763
|
|
@@ -2277,6 +2786,7 @@ module Aws::TranscribeService
|
|
2277
2786
|
:language_code,
|
2278
2787
|
:last_modified_time,
|
2279
2788
|
:vocabulary_state)
|
2789
|
+
SENSITIVE = []
|
2280
2790
|
include Aws::Structure
|
2281
2791
|
end
|
2282
2792
|
|
@@ -2301,6 +2811,7 @@ module Aws::TranscribeService
|
|
2301
2811
|
:vocabulary_filter_name,
|
2302
2812
|
:language_code,
|
2303
2813
|
:last_modified_time)
|
2814
|
+
SENSITIVE = []
|
2304
2815
|
include Aws::Structure
|
2305
2816
|
end
|
2306
2817
|
|
@@ -2330,6 +2841,7 @@ module Aws::TranscribeService
|
|
2330
2841
|
:language_code,
|
2331
2842
|
:last_modified_time,
|
2332
2843
|
:vocabulary_state)
|
2844
|
+
SENSITIVE = []
|
2333
2845
|
include Aws::Structure
|
2334
2846
|
end
|
2335
2847
|
|