aws-sdk-transcribeservice 1.58.0 → 1.62.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/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-transcribeservice/client.rb +275 -85
- data/lib/aws-sdk-transcribeservice/client_api.rb +91 -0
- data/lib/aws-sdk-transcribeservice/types.rb +347 -171
- data/lib/aws-sdk-transcribeservice.rb +1 -1
- metadata +5 -5
@@ -76,6 +76,7 @@ module Aws::TranscribeService
|
|
76
76
|
InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
|
77
77
|
InterruptionFilter = Shapes::StructureShape.new(name: 'InterruptionFilter')
|
78
78
|
JobExecutionSettings = Shapes::StructureShape.new(name: 'JobExecutionSettings')
|
79
|
+
KMSEncryptionContextMap = Shapes::MapShape.new(name: 'KMSEncryptionContextMap')
|
79
80
|
KMSKeyId = Shapes::StringShape.new(name: 'KMSKeyId')
|
80
81
|
LanguageCode = Shapes::StringShape.new(name: 'LanguageCode')
|
81
82
|
LanguageModel = Shapes::StructureShape.new(name: 'LanguageModel')
|
@@ -91,6 +92,8 @@ module Aws::TranscribeService
|
|
91
92
|
ListMedicalTranscriptionJobsResponse = Shapes::StructureShape.new(name: 'ListMedicalTranscriptionJobsResponse')
|
92
93
|
ListMedicalVocabulariesRequest = Shapes::StructureShape.new(name: 'ListMedicalVocabulariesRequest')
|
93
94
|
ListMedicalVocabulariesResponse = Shapes::StructureShape.new(name: 'ListMedicalVocabulariesResponse')
|
95
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
96
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
94
97
|
ListTranscriptionJobsRequest = Shapes::StructureShape.new(name: 'ListTranscriptionJobsRequest')
|
95
98
|
ListTranscriptionJobsResponse = Shapes::StructureShape.new(name: 'ListTranscriptionJobsResponse')
|
96
99
|
ListVocabulariesRequest = Shapes::StructureShape.new(name: 'ListVocabulariesRequest')
|
@@ -142,7 +145,15 @@ module Aws::TranscribeService
|
|
142
145
|
StartTranscriptionJobResponse = Shapes::StructureShape.new(name: 'StartTranscriptionJobResponse')
|
143
146
|
String = Shapes::StringShape.new(name: 'String')
|
144
147
|
StringTargetList = Shapes::ListShape.new(name: 'StringTargetList')
|
148
|
+
Tag = Shapes::StructureShape.new(name: 'Tag')
|
149
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
150
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
151
|
+
TagList = Shapes::ListShape.new(name: 'TagList')
|
152
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
153
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
154
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
145
155
|
TimestampMilliseconds = Shapes::IntegerShape.new(name: 'TimestampMilliseconds')
|
156
|
+
TranscribeArn = Shapes::StringShape.new(name: 'TranscribeArn')
|
146
157
|
Transcript = Shapes::StructureShape.new(name: 'Transcript')
|
147
158
|
TranscriptFilter = Shapes::StructureShape.new(name: 'TranscriptFilter')
|
148
159
|
TranscriptFilterType = Shapes::StringShape.new(name: 'TranscriptFilterType')
|
@@ -152,6 +163,8 @@ module Aws::TranscribeService
|
|
152
163
|
TranscriptionJobSummaries = Shapes::ListShape.new(name: 'TranscriptionJobSummaries')
|
153
164
|
TranscriptionJobSummary = Shapes::StructureShape.new(name: 'TranscriptionJobSummary')
|
154
165
|
Type = Shapes::StringShape.new(name: 'Type')
|
166
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
167
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
155
168
|
UpdateCallAnalyticsCategoryRequest = Shapes::StructureShape.new(name: 'UpdateCallAnalyticsCategoryRequest')
|
156
169
|
UpdateCallAnalyticsCategoryResponse = Shapes::StructureShape.new(name: 'UpdateCallAnalyticsCategoryResponse')
|
157
170
|
UpdateMedicalVocabularyRequest = Shapes::StructureShape.new(name: 'UpdateMedicalVocabularyRequest')
|
@@ -249,6 +262,7 @@ module Aws::TranscribeService
|
|
249
262
|
CreateLanguageModelRequest.add_member(:base_model_name, Shapes::ShapeRef.new(shape: BaseModelName, required: true, location_name: "BaseModelName"))
|
250
263
|
CreateLanguageModelRequest.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, required: true, location_name: "ModelName"))
|
251
264
|
CreateLanguageModelRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: InputDataConfig, required: true, location_name: "InputDataConfig"))
|
265
|
+
CreateLanguageModelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
252
266
|
CreateLanguageModelRequest.struct_class = Types::CreateLanguageModelRequest
|
253
267
|
|
254
268
|
CreateLanguageModelResponse.add_member(:language_code, Shapes::ShapeRef.new(shape: CLMLanguageCode, location_name: "LanguageCode"))
|
@@ -261,6 +275,7 @@ module Aws::TranscribeService
|
|
261
275
|
CreateMedicalVocabularyRequest.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, required: true, location_name: "VocabularyName"))
|
262
276
|
CreateMedicalVocabularyRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
263
277
|
CreateMedicalVocabularyRequest.add_member(:vocabulary_file_uri, Shapes::ShapeRef.new(shape: Uri, required: true, location_name: "VocabularyFileUri"))
|
278
|
+
CreateMedicalVocabularyRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
264
279
|
CreateMedicalVocabularyRequest.struct_class = Types::CreateMedicalVocabularyRequest
|
265
280
|
|
266
281
|
CreateMedicalVocabularyResponse.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, location_name: "VocabularyName"))
|
@@ -274,6 +289,7 @@ module Aws::TranscribeService
|
|
274
289
|
CreateVocabularyFilterRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
275
290
|
CreateVocabularyFilterRequest.add_member(:words, Shapes::ShapeRef.new(shape: Words, location_name: "Words"))
|
276
291
|
CreateVocabularyFilterRequest.add_member(:vocabulary_filter_file_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "VocabularyFilterFileUri"))
|
292
|
+
CreateVocabularyFilterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
277
293
|
CreateVocabularyFilterRequest.struct_class = Types::CreateVocabularyFilterRequest
|
278
294
|
|
279
295
|
CreateVocabularyFilterResponse.add_member(:vocabulary_filter_name, Shapes::ShapeRef.new(shape: VocabularyFilterName, location_name: "VocabularyFilterName"))
|
@@ -285,6 +301,7 @@ module Aws::TranscribeService
|
|
285
301
|
CreateVocabularyRequest.add_member(:language_code, Shapes::ShapeRef.new(shape: LanguageCode, required: true, location_name: "LanguageCode"))
|
286
302
|
CreateVocabularyRequest.add_member(:phrases, Shapes::ShapeRef.new(shape: Phrases, location_name: "Phrases"))
|
287
303
|
CreateVocabularyRequest.add_member(:vocabulary_file_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "VocabularyFileUri"))
|
304
|
+
CreateVocabularyRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
288
305
|
CreateVocabularyRequest.struct_class = Types::CreateVocabularyRequest
|
289
306
|
|
290
307
|
CreateVocabularyResponse.add_member(:vocabulary_name, Shapes::ShapeRef.new(shape: VocabularyName, location_name: "VocabularyName"))
|
@@ -402,6 +419,9 @@ module Aws::TranscribeService
|
|
402
419
|
JobExecutionSettings.add_member(:data_access_role_arn, Shapes::ShapeRef.new(shape: DataAccessRoleArn, location_name: "DataAccessRoleArn"))
|
403
420
|
JobExecutionSettings.struct_class = Types::JobExecutionSettings
|
404
421
|
|
422
|
+
KMSEncryptionContextMap.key = Shapes::ShapeRef.new(shape: NonEmptyString)
|
423
|
+
KMSEncryptionContextMap.value = Shapes::ShapeRef.new(shape: NonEmptyString)
|
424
|
+
|
405
425
|
LanguageModel.add_member(:model_name, Shapes::ShapeRef.new(shape: ModelName, location_name: "ModelName"))
|
406
426
|
LanguageModel.add_member(:create_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreateTime"))
|
407
427
|
LanguageModel.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastModifiedTime"))
|
@@ -469,6 +489,13 @@ module Aws::TranscribeService
|
|
469
489
|
ListMedicalVocabulariesResponse.add_member(:vocabularies, Shapes::ShapeRef.new(shape: Vocabularies, location_name: "Vocabularies"))
|
470
490
|
ListMedicalVocabulariesResponse.struct_class = Types::ListMedicalVocabulariesResponse
|
471
491
|
|
492
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TranscribeArn, required: true, location_name: "ResourceArn"))
|
493
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
494
|
+
|
495
|
+
ListTagsForResourceResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TranscribeArn, location_name: "ResourceArn"))
|
496
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
497
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
498
|
+
|
472
499
|
ListTranscriptionJobsRequest.add_member(:status, Shapes::ShapeRef.new(shape: TranscriptionJobStatus, location_name: "Status"))
|
473
500
|
ListTranscriptionJobsRequest.add_member(:job_name_contains, Shapes::ShapeRef.new(shape: TranscriptionJobName, location_name: "JobNameContains"))
|
474
501
|
ListTranscriptionJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
@@ -522,6 +549,7 @@ module Aws::TranscribeService
|
|
522
549
|
MedicalTranscriptionJob.add_member(:content_identification_type, Shapes::ShapeRef.new(shape: MedicalContentIdentificationType, location_name: "ContentIdentificationType"))
|
523
550
|
MedicalTranscriptionJob.add_member(:specialty, Shapes::ShapeRef.new(shape: Specialty, location_name: "Specialty"))
|
524
551
|
MedicalTranscriptionJob.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "Type"))
|
552
|
+
MedicalTranscriptionJob.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
525
553
|
MedicalTranscriptionJob.struct_class = Types::MedicalTranscriptionJob
|
526
554
|
|
527
555
|
MedicalTranscriptionJobSummaries.member = Shapes::ShapeRef.new(shape: MedicalTranscriptionJobSummary)
|
@@ -622,10 +650,12 @@ module Aws::TranscribeService
|
|
622
650
|
StartMedicalTranscriptionJobRequest.add_member(:output_bucket_name, Shapes::ShapeRef.new(shape: OutputBucketName, required: true, location_name: "OutputBucketName"))
|
623
651
|
StartMedicalTranscriptionJobRequest.add_member(:output_key, Shapes::ShapeRef.new(shape: OutputKey, location_name: "OutputKey"))
|
624
652
|
StartMedicalTranscriptionJobRequest.add_member(:output_encryption_kms_key_id, Shapes::ShapeRef.new(shape: KMSKeyId, location_name: "OutputEncryptionKMSKeyId"))
|
653
|
+
StartMedicalTranscriptionJobRequest.add_member(:kms_encryption_context, Shapes::ShapeRef.new(shape: KMSEncryptionContextMap, location_name: "KMSEncryptionContext"))
|
625
654
|
StartMedicalTranscriptionJobRequest.add_member(:settings, Shapes::ShapeRef.new(shape: MedicalTranscriptionSetting, location_name: "Settings"))
|
626
655
|
StartMedicalTranscriptionJobRequest.add_member(:content_identification_type, Shapes::ShapeRef.new(shape: MedicalContentIdentificationType, location_name: "ContentIdentificationType"))
|
627
656
|
StartMedicalTranscriptionJobRequest.add_member(:specialty, Shapes::ShapeRef.new(shape: Specialty, required: true, location_name: "Specialty"))
|
628
657
|
StartMedicalTranscriptionJobRequest.add_member(:type, Shapes::ShapeRef.new(shape: Type, required: true, location_name: "Type"))
|
658
|
+
StartMedicalTranscriptionJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
629
659
|
StartMedicalTranscriptionJobRequest.struct_class = Types::StartMedicalTranscriptionJobRequest
|
630
660
|
|
631
661
|
StartMedicalTranscriptionJobResponse.add_member(:medical_transcription_job, Shapes::ShapeRef.new(shape: MedicalTranscriptionJob, location_name: "MedicalTranscriptionJob"))
|
@@ -639,12 +669,14 @@ module Aws::TranscribeService
|
|
639
669
|
StartTranscriptionJobRequest.add_member(:output_bucket_name, Shapes::ShapeRef.new(shape: OutputBucketName, location_name: "OutputBucketName"))
|
640
670
|
StartTranscriptionJobRequest.add_member(:output_key, Shapes::ShapeRef.new(shape: OutputKey, location_name: "OutputKey"))
|
641
671
|
StartTranscriptionJobRequest.add_member(:output_encryption_kms_key_id, Shapes::ShapeRef.new(shape: KMSKeyId, location_name: "OutputEncryptionKMSKeyId"))
|
672
|
+
StartTranscriptionJobRequest.add_member(:kms_encryption_context, Shapes::ShapeRef.new(shape: KMSEncryptionContextMap, location_name: "KMSEncryptionContext"))
|
642
673
|
StartTranscriptionJobRequest.add_member(:settings, Shapes::ShapeRef.new(shape: Settings, location_name: "Settings"))
|
643
674
|
StartTranscriptionJobRequest.add_member(:model_settings, Shapes::ShapeRef.new(shape: ModelSettings, location_name: "ModelSettings"))
|
644
675
|
StartTranscriptionJobRequest.add_member(:job_execution_settings, Shapes::ShapeRef.new(shape: JobExecutionSettings, location_name: "JobExecutionSettings"))
|
645
676
|
StartTranscriptionJobRequest.add_member(:content_redaction, Shapes::ShapeRef.new(shape: ContentRedaction, location_name: "ContentRedaction"))
|
646
677
|
StartTranscriptionJobRequest.add_member(:identify_language, Shapes::ShapeRef.new(shape: Boolean, location_name: "IdentifyLanguage"))
|
647
678
|
StartTranscriptionJobRequest.add_member(:language_options, Shapes::ShapeRef.new(shape: LanguageOptions, location_name: "LanguageOptions"))
|
679
|
+
StartTranscriptionJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
648
680
|
StartTranscriptionJobRequest.struct_class = Types::StartTranscriptionJobRequest
|
649
681
|
|
650
682
|
StartTranscriptionJobResponse.add_member(:transcription_job, Shapes::ShapeRef.new(shape: TranscriptionJob, location_name: "TranscriptionJob"))
|
@@ -652,6 +684,20 @@ module Aws::TranscribeService
|
|
652
684
|
|
653
685
|
StringTargetList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
654
686
|
|
687
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
|
688
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
|
689
|
+
Tag.struct_class = Types::Tag
|
690
|
+
|
691
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
692
|
+
|
693
|
+
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
694
|
+
|
695
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TranscribeArn, required: true, location_name: "ResourceArn"))
|
696
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
|
697
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
698
|
+
|
699
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
700
|
+
|
655
701
|
Transcript.add_member(:transcript_file_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "TranscriptFileUri"))
|
656
702
|
Transcript.add_member(:redacted_transcript_file_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "RedactedTranscriptFileUri"))
|
657
703
|
Transcript.struct_class = Types::Transcript
|
@@ -682,6 +728,7 @@ module Aws::TranscribeService
|
|
682
728
|
TranscriptionJob.add_member(:identify_language, Shapes::ShapeRef.new(shape: Boolean, location_name: "IdentifyLanguage"))
|
683
729
|
TranscriptionJob.add_member(:language_options, Shapes::ShapeRef.new(shape: LanguageOptions, location_name: "LanguageOptions"))
|
684
730
|
TranscriptionJob.add_member(:identified_language_score, Shapes::ShapeRef.new(shape: IdentifiedLanguageScore, location_name: "IdentifiedLanguageScore"))
|
731
|
+
TranscriptionJob.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
685
732
|
TranscriptionJob.struct_class = Types::TranscriptionJob
|
686
733
|
|
687
734
|
TranscriptionJobSummaries.member = Shapes::ShapeRef.new(shape: TranscriptionJobSummary)
|
@@ -700,6 +747,12 @@ module Aws::TranscribeService
|
|
700
747
|
TranscriptionJobSummary.add_member(:identified_language_score, Shapes::ShapeRef.new(shape: IdentifiedLanguageScore, location_name: "IdentifiedLanguageScore"))
|
701
748
|
TranscriptionJobSummary.struct_class = Types::TranscriptionJobSummary
|
702
749
|
|
750
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TranscribeArn, required: true, location_name: "ResourceArn"))
|
751
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
|
752
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
753
|
+
|
754
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
755
|
+
|
703
756
|
UpdateCallAnalyticsCategoryRequest.add_member(:category_name, Shapes::ShapeRef.new(shape: CategoryName, required: true, location_name: "CategoryName"))
|
704
757
|
UpdateCallAnalyticsCategoryRequest.add_member(:rules, Shapes::ShapeRef.new(shape: RuleList, required: true, location_name: "Rules"))
|
705
758
|
UpdateCallAnalyticsCategoryRequest.struct_class = Types::UpdateCallAnalyticsCategoryRequest
|
@@ -1109,6 +1162,18 @@ module Aws::TranscribeService
|
|
1109
1162
|
)
|
1110
1163
|
end)
|
1111
1164
|
|
1165
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
1166
|
+
o.name = "ListTagsForResource"
|
1167
|
+
o.http_method = "POST"
|
1168
|
+
o.http_request_uri = "/"
|
1169
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
1170
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
1171
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1172
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1173
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1174
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
1175
|
+
end)
|
1176
|
+
|
1112
1177
|
api.add_operation(:list_transcription_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1113
1178
|
o.name = "ListTranscriptionJobs"
|
1114
1179
|
o.http_method = "POST"
|
@@ -1196,6 +1261,32 @@ module Aws::TranscribeService
|
|
1196
1261
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1197
1262
|
end)
|
1198
1263
|
|
1264
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1265
|
+
o.name = "TagResource"
|
1266
|
+
o.http_method = "POST"
|
1267
|
+
o.http_request_uri = "/"
|
1268
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
1269
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
1270
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1271
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1272
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1273
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1274
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
1275
|
+
end)
|
1276
|
+
|
1277
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1278
|
+
o.name = "UntagResource"
|
1279
|
+
o.http_method = "POST"
|
1280
|
+
o.http_request_uri = "/"
|
1281
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
1282
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
1283
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1284
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1285
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1286
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1287
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
1288
|
+
end)
|
1289
|
+
|
1199
1290
|
api.add_operation(:update_call_analytics_category, Seahorse::Model::Operation.new.tap do |o|
|
1200
1291
|
o.name = "UpdateCallAnalyticsCategory"
|
1201
1292
|
o.http_method = "POST"
|
@@ -106,52 +106,13 @@ module Aws::TranscribeService
|
|
106
106
|
# Amazon Transcribe will use machine learning to automatically
|
107
107
|
# identify the language. To improve the accuracy of language
|
108
108
|
# identification, you can provide an array containing the possible
|
109
|
-
# language codes for the language spoken in your audio.
|
109
|
+
# language codes for the language spoken in your audio. Refer to
|
110
|
+
# [Supported languages and language-specific features][1] for
|
111
|
+
# additional information.
|
110
112
|
#
|
111
|
-
# The following list shows the supported languages and corresponding
|
112
|
-
# language codes for call analytics jobs:
|
113
113
|
#
|
114
|
-
# * Gulf Arabic (ar-AE)
|
115
114
|
#
|
116
|
-
#
|
117
|
-
#
|
118
|
-
# * Australian English (en-AU)
|
119
|
-
#
|
120
|
-
# * British English (en-GB)
|
121
|
-
#
|
122
|
-
# * Indian English (en-IN)
|
123
|
-
#
|
124
|
-
# * Irish English (en-IE)
|
125
|
-
#
|
126
|
-
# * Scottish English (en-AB)
|
127
|
-
#
|
128
|
-
# * US English (en-US)
|
129
|
-
#
|
130
|
-
# * Welsh English (en-WL)
|
131
|
-
#
|
132
|
-
# * Spanish (es-ES)
|
133
|
-
#
|
134
|
-
# * US Spanish (es-US)
|
135
|
-
#
|
136
|
-
# * French (fr-FR)
|
137
|
-
#
|
138
|
-
# * Canadian French (fr-CA)
|
139
|
-
#
|
140
|
-
# * German (de-DE)
|
141
|
-
#
|
142
|
-
# * Swiss German (de-CH)
|
143
|
-
#
|
144
|
-
# * Indian Hindi (hi-IN)
|
145
|
-
#
|
146
|
-
# * Italian (it-IT)
|
147
|
-
#
|
148
|
-
# * Japanese (ja-JP)
|
149
|
-
#
|
150
|
-
# * Korean (ko-KR)
|
151
|
-
#
|
152
|
-
# * Portuguese (pt-PT)
|
153
|
-
#
|
154
|
-
# * Brazilian Portuguese (pt-BR)
|
115
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html
|
155
116
|
# @return [String]
|
156
117
|
#
|
157
118
|
# @!attribute [rw] media_sample_rate_hertz
|
@@ -202,7 +163,7 @@ module Aws::TranscribeService
|
|
202
163
|
#
|
203
164
|
# * `Invalid sample rate for audio file`\: The sample rate specified
|
204
165
|
# in the `MediaSampleRateHertz` of the request isn't valid. The
|
205
|
-
# sample rate must be between
|
166
|
+
# sample rate must be between 8,000 and 48,000 Hertz.
|
206
167
|
#
|
207
168
|
# * `The sample rate provided does not match the detected sample
|
208
169
|
# rate`\: The sample rate in the audio file doesn't match the
|
@@ -213,7 +174,7 @@ module Aws::TranscribeService
|
|
213
174
|
# * `Invalid file size: file size too large`\: The size of your audio
|
214
175
|
# file is larger than what Amazon Transcribe Medical can process.
|
215
176
|
# For more information, see *Guidelines and Quotas* in the Amazon
|
216
|
-
# Transcribe Medical Guide
|
177
|
+
# Transcribe Medical Guide.
|
217
178
|
#
|
218
179
|
# * `Invalid number of channels: number of channels too large`\: Your
|
219
180
|
# audio contains more channels than Amazon Transcribe Medical is
|
@@ -285,7 +246,7 @@ module Aws::TranscribeService
|
|
285
246
|
# redaction_type: "PII", # required, accepts PII
|
286
247
|
# redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
|
287
248
|
# },
|
288
|
-
# 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
|
249
|
+
# language_options: ["af-ZA"], # accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ
|
289
250
|
# }
|
290
251
|
#
|
291
252
|
# @!attribute [rw] vocabulary_name
|
@@ -327,52 +288,12 @@ module Aws::TranscribeService
|
|
327
288
|
# Amazon Transcribe will use machine learning to identify the language
|
328
289
|
# for you. To improve the ability of Amazon Transcribe to correctly
|
329
290
|
# identify the language, you can provide an array of the languages
|
330
|
-
# that can be present in the audio.
|
331
|
-
#
|
332
|
-
# The following list shows the supported languages and corresponding
|
333
|
-
# language codes for call analytics jobs:
|
334
|
-
#
|
335
|
-
# * Gulf Arabic (ar-AE)
|
291
|
+
# that can be present in the audio. Refer to [Supported languages and
|
292
|
+
# language-specific features][1] for additional information.
|
336
293
|
#
|
337
|
-
# * Mandarin Chinese, Mainland (zh-CN)
|
338
294
|
#
|
339
|
-
# * Australian English (en-AU)
|
340
295
|
#
|
341
|
-
#
|
342
|
-
#
|
343
|
-
# * Indian English (en-IN)
|
344
|
-
#
|
345
|
-
# * Irish English (en-IE)
|
346
|
-
#
|
347
|
-
# * Scottish English (en-AB)
|
348
|
-
#
|
349
|
-
# * US English (en-US)
|
350
|
-
#
|
351
|
-
# * Welsh English (en-WL)
|
352
|
-
#
|
353
|
-
# * Spanish (es-ES)
|
354
|
-
#
|
355
|
-
# * US Spanish (es-US)
|
356
|
-
#
|
357
|
-
# * French (fr-FR)
|
358
|
-
#
|
359
|
-
# * Canadian French (fr-CA)
|
360
|
-
#
|
361
|
-
# * German (de-DE)
|
362
|
-
#
|
363
|
-
# * Swiss German (de-CH)
|
364
|
-
#
|
365
|
-
# * Indian Hindi (hi-IN)
|
366
|
-
#
|
367
|
-
# * Italian (it-IT)
|
368
|
-
#
|
369
|
-
# * Japanese (ja-JP)
|
370
|
-
#
|
371
|
-
# * Korean (ko-KR)
|
372
|
-
#
|
373
|
-
# * Portuguese (pt-PT)
|
374
|
-
#
|
375
|
-
# * Brazilian Portuguese (pt-BR)
|
296
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html
|
376
297
|
# @return [Array<String>]
|
377
298
|
#
|
378
299
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CallAnalyticsJobSettings AWS API Documentation
|
@@ -665,6 +586,12 @@ module Aws::TranscribeService
|
|
665
586
|
# tuning_data_s3_uri: "Uri",
|
666
587
|
# data_access_role_arn: "DataAccessRoleArn", # required
|
667
588
|
# },
|
589
|
+
# tags: [
|
590
|
+
# {
|
591
|
+
# key: "TagKey", # required
|
592
|
+
# value: "TagValue", # required
|
593
|
+
# },
|
594
|
+
# ],
|
668
595
|
# }
|
669
596
|
#
|
670
597
|
# @!attribute [rw] language_code
|
@@ -677,10 +604,10 @@ module Aws::TranscribeService
|
|
677
604
|
# create your custom language model.
|
678
605
|
#
|
679
606
|
# If you want to use your custom language model to transcribe audio
|
680
|
-
# with a sample rate of 16
|
607
|
+
# with a sample rate of 16,000 Hz or greater, choose `Wideband`.
|
681
608
|
#
|
682
609
|
# If you want to use your custom language model to transcribe audio
|
683
|
-
# with a sample rate that is less than 16
|
610
|
+
# with a sample rate that is less than 16,000 Hz, choose `Narrowband`.
|
684
611
|
# @return [String]
|
685
612
|
#
|
686
613
|
# @!attribute [rw] model_name
|
@@ -693,13 +620,19 @@ module Aws::TranscribeService
|
|
693
620
|
# required input files to create a custom language model.
|
694
621
|
# @return [Types::InputDataConfig]
|
695
622
|
#
|
623
|
+
# @!attribute [rw] tags
|
624
|
+
# Adds one or more tags, each in the form of a key:value pair, to a
|
625
|
+
# new language model at the time you create this new model.
|
626
|
+
# @return [Array<Types::Tag>]
|
627
|
+
#
|
696
628
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateLanguageModelRequest AWS API Documentation
|
697
629
|
#
|
698
630
|
class CreateLanguageModelRequest < Struct.new(
|
699
631
|
:language_code,
|
700
632
|
:base_model_name,
|
701
633
|
:model_name,
|
702
|
-
:input_data_config
|
634
|
+
:input_data_config,
|
635
|
+
:tags)
|
703
636
|
SENSITIVE = []
|
704
637
|
include Aws::Structure
|
705
638
|
end
|
@@ -745,8 +678,14 @@ module Aws::TranscribeService
|
|
745
678
|
#
|
746
679
|
# {
|
747
680
|
# vocabulary_name: "VocabularyName", # required
|
748
|
-
# 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
|
681
|
+
# 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, zh-TW, th-TH, en-ZA, en-NZ
|
749
682
|
# vocabulary_file_uri: "Uri", # required
|
683
|
+
# tags: [
|
684
|
+
# {
|
685
|
+
# key: "TagKey", # required
|
686
|
+
# value: "TagValue", # required
|
687
|
+
# },
|
688
|
+
# ],
|
750
689
|
# }
|
751
690
|
#
|
752
691
|
# @!attribute [rw] vocabulary_name
|
@@ -791,12 +730,18 @@ module Aws::TranscribeService
|
|
791
730
|
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html#how-vocabulary-med
|
792
731
|
# @return [String]
|
793
732
|
#
|
733
|
+
# @!attribute [rw] tags
|
734
|
+
# Adds one or more tags, each in the form of a key:value pair, to a
|
735
|
+
# new medical vocabulary at the time you create this new vocabulary.
|
736
|
+
# @return [Array<Types::Tag>]
|
737
|
+
#
|
794
738
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateMedicalVocabularyRequest AWS API Documentation
|
795
739
|
#
|
796
740
|
class CreateMedicalVocabularyRequest < Struct.new(
|
797
741
|
:vocabulary_name,
|
798
742
|
:language_code,
|
799
|
-
:vocabulary_file_uri
|
743
|
+
:vocabulary_file_uri,
|
744
|
+
:tags)
|
800
745
|
SENSITIVE = []
|
801
746
|
include Aws::Structure
|
802
747
|
end
|
@@ -844,9 +789,15 @@ module Aws::TranscribeService
|
|
844
789
|
#
|
845
790
|
# {
|
846
791
|
# vocabulary_filter_name: "VocabularyFilterName", # required
|
847
|
-
# 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
|
792
|
+
# 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, zh-TW, th-TH, en-ZA, en-NZ
|
848
793
|
# words: ["Word"],
|
849
794
|
# vocabulary_filter_file_uri: "Uri",
|
795
|
+
# tags: [
|
796
|
+
# {
|
797
|
+
# key: "TagKey", # required
|
798
|
+
# value: "TagValue", # required
|
799
|
+
# },
|
800
|
+
# ],
|
850
801
|
# }
|
851
802
|
#
|
852
803
|
# @!attribute [rw] vocabulary_filter_name
|
@@ -892,13 +843,20 @@ module Aws::TranscribeService
|
|
892
843
|
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary.html#charsets
|
893
844
|
# @return [String]
|
894
845
|
#
|
846
|
+
# @!attribute [rw] tags
|
847
|
+
# Adds one or more tags, each in the form of a key:value pair, to a
|
848
|
+
# new Amazon Transcribe vocabulary filter at the time you create this
|
849
|
+
# new vocabulary filter.
|
850
|
+
# @return [Array<Types::Tag>]
|
851
|
+
#
|
895
852
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateVocabularyFilterRequest AWS API Documentation
|
896
853
|
#
|
897
854
|
class CreateVocabularyFilterRequest < Struct.new(
|
898
855
|
:vocabulary_filter_name,
|
899
856
|
:language_code,
|
900
857
|
:words,
|
901
|
-
:vocabulary_filter_file_uri
|
858
|
+
:vocabulary_filter_file_uri,
|
859
|
+
:tags)
|
902
860
|
SENSITIVE = []
|
903
861
|
include Aws::Structure
|
904
862
|
end
|
@@ -930,9 +888,15 @@ module Aws::TranscribeService
|
|
930
888
|
#
|
931
889
|
# {
|
932
890
|
# vocabulary_name: "VocabularyName", # required
|
933
|
-
# 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
|
891
|
+
# 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, zh-TW, th-TH, en-ZA, en-NZ
|
934
892
|
# phrases: ["Phrase"],
|
935
893
|
# vocabulary_file_uri: "Uri",
|
894
|
+
# tags: [
|
895
|
+
# {
|
896
|
+
# key: "TagKey", # required
|
897
|
+
# value: "TagValue", # required
|
898
|
+
# },
|
899
|
+
# ],
|
936
900
|
# }
|
937
901
|
#
|
938
902
|
# @!attribute [rw] vocabulary_name
|
@@ -944,7 +908,7 @@ module Aws::TranscribeService
|
|
944
908
|
#
|
945
909
|
# @!attribute [rw] language_code
|
946
910
|
# The language code of the vocabulary entries. For a list of languages
|
947
|
-
# and their corresponding language codes, see
|
911
|
+
# and their corresponding language codes, see transcribe-whatis.
|
948
912
|
# @return [String]
|
949
913
|
#
|
950
914
|
# @!attribute [rw] phrases
|
@@ -954,13 +918,13 @@ module Aws::TranscribeService
|
|
954
918
|
# @!attribute [rw] vocabulary_file_uri
|
955
919
|
# The S3 location of the text file that contains the definition of the
|
956
920
|
# custom vocabulary. The URI must be in the same region as the API
|
957
|
-
# endpoint that you are calling. The general form is
|
921
|
+
# endpoint that you are calling. The general form is:
|
958
922
|
#
|
959
923
|
# For more information about S3 object names, see [Object Keys][1] in
|
960
924
|
# the *Amazon S3 Developer Guide*.
|
961
925
|
#
|
962
926
|
# For more information about custom vocabularies, see [Custom
|
963
|
-
#
|
927
|
+
# vocabularies][2].
|
964
928
|
#
|
965
929
|
#
|
966
930
|
#
|
@@ -968,13 +932,20 @@ module Aws::TranscribeService
|
|
968
932
|
# [2]: https://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary
|
969
933
|
# @return [String]
|
970
934
|
#
|
935
|
+
# @!attribute [rw] tags
|
936
|
+
# Adds one or more tags, each in the form of a key:value pair, to a
|
937
|
+
# new Amazon Transcribe vocabulary at the time you create this new
|
938
|
+
# vocabulary.
|
939
|
+
# @return [Array<Types::Tag>]
|
940
|
+
#
|
971
941
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateVocabularyRequest AWS API Documentation
|
972
942
|
#
|
973
943
|
class CreateVocabularyRequest < Struct.new(
|
974
944
|
:vocabulary_name,
|
975
945
|
:language_code,
|
976
946
|
:phrases,
|
977
|
-
:vocabulary_file_uri
|
947
|
+
:vocabulary_file_uri,
|
948
|
+
:tags)
|
978
949
|
SENSITIVE = []
|
979
950
|
include Aws::Structure
|
980
951
|
end
|
@@ -1645,6 +1616,8 @@ module Aws::TranscribeService
|
|
1645
1616
|
# execution limit. If the field is false, Amazon Transcribe returns a
|
1646
1617
|
# `LimitExceededException` exception.
|
1647
1618
|
#
|
1619
|
+
# Note that job queuing is enabled by default for call analytics jobs.
|
1620
|
+
#
|
1648
1621
|
# If you specify the `AllowDeferredExecution` field, you must specify
|
1649
1622
|
# the `DataAccessRoleArn` field.
|
1650
1623
|
# @return [Boolean]
|
@@ -1757,9 +1730,10 @@ module Aws::TranscribeService
|
|
1757
1730
|
# @return [String]
|
1758
1731
|
#
|
1759
1732
|
# @!attribute [rw] max_results
|
1760
|
-
# The maximum number of categories to return in
|
1761
|
-
# are fewer results
|
1762
|
-
# results.
|
1733
|
+
# The maximum number of categories to return in each page of results.
|
1734
|
+
# If there are fewer results than the value you specify, only the
|
1735
|
+
# actual results are returned. If you do not specify a value, the
|
1736
|
+
# default of 5 is used.
|
1763
1737
|
# @return [Integer]
|
1764
1738
|
#
|
1765
1739
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListCallAnalyticsCategoriesRequest AWS API Documentation
|
@@ -1820,9 +1794,10 @@ module Aws::TranscribeService
|
|
1820
1794
|
# @return [String]
|
1821
1795
|
#
|
1822
1796
|
# @!attribute [rw] max_results
|
1823
|
-
# The maximum number of call analytics jobs to return in
|
1824
|
-
# If there are fewer results
|
1825
|
-
# the actual results.
|
1797
|
+
# The maximum number of call analytics jobs to return in each page of
|
1798
|
+
# results. If there are fewer results than the value you specify, only
|
1799
|
+
# the actual results are returned. If you do not specify a value, the
|
1800
|
+
# default of 5 is used.
|
1826
1801
|
# @return [Integer]
|
1827
1802
|
#
|
1828
1803
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListCallAnalyticsJobsRequest AWS API Documentation
|
@@ -1894,9 +1869,10 @@ module Aws::TranscribeService
|
|
1894
1869
|
# @return [String]
|
1895
1870
|
#
|
1896
1871
|
# @!attribute [rw] max_results
|
1897
|
-
# The maximum number of language models to return in
|
1898
|
-
# there are fewer results
|
1899
|
-
# actual results.
|
1872
|
+
# The maximum number of language models to return in each page of
|
1873
|
+
# results. If there are fewer results than the value you specify, only
|
1874
|
+
# the actual results are returned. If you do not specify a value, the
|
1875
|
+
# default of 5 is used.
|
1900
1876
|
# @return [Integer]
|
1901
1877
|
#
|
1902
1878
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListLanguageModelsRequest AWS API Documentation
|
@@ -1962,9 +1938,10 @@ module Aws::TranscribeService
|
|
1962
1938
|
# @return [String]
|
1963
1939
|
#
|
1964
1940
|
# @!attribute [rw] max_results
|
1965
|
-
# The maximum number of medical transcription jobs to return in
|
1966
|
-
#
|
1967
|
-
#
|
1941
|
+
# The maximum number of medical transcription jobs to return in each
|
1942
|
+
# page of results. If there are fewer results than the value you
|
1943
|
+
# specify, only the actual results are returned. If you do not specify
|
1944
|
+
# a value, the default of 5 is used.
|
1968
1945
|
# @return [Integer]
|
1969
1946
|
#
|
1970
1947
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListMedicalTranscriptionJobsRequest AWS API Documentation
|
@@ -2023,7 +2000,10 @@ module Aws::TranscribeService
|
|
2023
2000
|
# @return [String]
|
2024
2001
|
#
|
2025
2002
|
# @!attribute [rw] max_results
|
2026
|
-
# The maximum number of vocabularies to return in
|
2003
|
+
# The maximum number of vocabularies to return in each page of
|
2004
|
+
# results. If there are fewer results than the value you specify, only
|
2005
|
+
# the actual results are returned. If you do not specify a value, the
|
2006
|
+
# default of 5 is used.
|
2027
2007
|
# @return [Integer]
|
2028
2008
|
#
|
2029
2009
|
# @!attribute [rw] state_equals
|
@@ -2078,6 +2058,43 @@ module Aws::TranscribeService
|
|
2078
2058
|
include Aws::Structure
|
2079
2059
|
end
|
2080
2060
|
|
2061
|
+
# @note When making an API call, you may pass ListTagsForResourceRequest
|
2062
|
+
# data as a hash:
|
2063
|
+
#
|
2064
|
+
# {
|
2065
|
+
# resource_arn: "TranscribeArn", # required
|
2066
|
+
# }
|
2067
|
+
#
|
2068
|
+
# @!attribute [rw] resource_arn
|
2069
|
+
# Lists all tags associated with a given Amazon Resource Name (ARN).
|
2070
|
+
# @return [String]
|
2071
|
+
#
|
2072
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListTagsForResourceRequest AWS API Documentation
|
2073
|
+
#
|
2074
|
+
class ListTagsForResourceRequest < Struct.new(
|
2075
|
+
:resource_arn)
|
2076
|
+
SENSITIVE = []
|
2077
|
+
include Aws::Structure
|
2078
|
+
end
|
2079
|
+
|
2080
|
+
# @!attribute [rw] resource_arn
|
2081
|
+
# Lists all tags associated with the given Amazon Resource Name (ARN).
|
2082
|
+
# @return [String]
|
2083
|
+
#
|
2084
|
+
# @!attribute [rw] tags
|
2085
|
+
# Lists all tags associated with the given transcription job,
|
2086
|
+
# vocabulary, or resource.
|
2087
|
+
# @return [Array<Types::Tag>]
|
2088
|
+
#
|
2089
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListTagsForResourceResponse AWS API Documentation
|
2090
|
+
#
|
2091
|
+
class ListTagsForResourceResponse < Struct.new(
|
2092
|
+
:resource_arn,
|
2093
|
+
:tags)
|
2094
|
+
SENSITIVE = []
|
2095
|
+
include Aws::Structure
|
2096
|
+
end
|
2097
|
+
|
2081
2098
|
# @note When making an API call, you may pass ListTranscriptionJobsRequest
|
2082
2099
|
# data as a hash:
|
2083
2100
|
#
|
@@ -2101,14 +2118,15 @@ module Aws::TranscribeService
|
|
2101
2118
|
# @return [String]
|
2102
2119
|
#
|
2103
2120
|
# @!attribute [rw] next_token
|
2104
|
-
# If the result of the previous request to `ListTranscriptionJobs`
|
2121
|
+
# If the result of the previous request to `ListTranscriptionJobs` is
|
2105
2122
|
# truncated, include the `NextToken` to fetch the next set of jobs.
|
2106
2123
|
# @return [String]
|
2107
2124
|
#
|
2108
2125
|
# @!attribute [rw] max_results
|
2109
|
-
# The maximum number of jobs to return in
|
2110
|
-
# fewer results
|
2111
|
-
# results.
|
2126
|
+
# The maximum number of jobs to return in each page of results. If
|
2127
|
+
# there are fewer results than the value you specify, only the actual
|
2128
|
+
# results are returned. If you do not specify a value, the default of
|
2129
|
+
# 5 is used.
|
2112
2130
|
# @return [Integer]
|
2113
2131
|
#
|
2114
2132
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListTranscriptionJobsRequest AWS API Documentation
|
@@ -2166,9 +2184,10 @@ module Aws::TranscribeService
|
|
2166
2184
|
# @return [String]
|
2167
2185
|
#
|
2168
2186
|
# @!attribute [rw] max_results
|
2169
|
-
# The maximum number of vocabularies to return in
|
2170
|
-
# there are fewer results
|
2171
|
-
# actual results.
|
2187
|
+
# The maximum number of vocabularies to return in each page of
|
2188
|
+
# results. If there are fewer results than the value you specify, only
|
2189
|
+
# the actual results are returned. If you do not specify a value, the
|
2190
|
+
# default of 5 is used.
|
2172
2191
|
# @return [Integer]
|
2173
2192
|
#
|
2174
2193
|
# @!attribute [rw] state_equals
|
@@ -2238,9 +2257,10 @@ module Aws::TranscribeService
|
|
2238
2257
|
# @return [String]
|
2239
2258
|
#
|
2240
2259
|
# @!attribute [rw] max_results
|
2241
|
-
# The maximum number of filters to return in
|
2242
|
-
# are fewer results
|
2243
|
-
#
|
2260
|
+
# The maximum number of filters to return in each page of results. If
|
2261
|
+
# there are fewer results than the value you specify, only the actual
|
2262
|
+
# results are returned. If you do not specify a value, the default of
|
2263
|
+
# 5 is used.
|
2244
2264
|
# @return [Integer]
|
2245
2265
|
#
|
2246
2266
|
# @!attribute [rw] name_contains
|
@@ -2412,7 +2432,7 @@ module Aws::TranscribeService
|
|
2412
2432
|
#
|
2413
2433
|
# * `Invalid sample rate for audio file`- The sample rate specified in
|
2414
2434
|
# the `MediaSampleRateHertz` of the request isn't valid. The sample
|
2415
|
-
# rate must be between
|
2435
|
+
# rate must be between 8,000 and 48,000 Hertz.
|
2416
2436
|
#
|
2417
2437
|
# * `The sample rate provided does not match the detected sample
|
2418
2438
|
# rate`- The sample rate in the audio file doesn't match the sample
|
@@ -2450,13 +2470,12 @@ module Aws::TranscribeService
|
|
2450
2470
|
#
|
2451
2471
|
# @!attribute [rw] specialty
|
2452
2472
|
# The medical specialty of any clinicians providing a dictation or
|
2453
|
-
# having a conversation.
|
2454
|
-
# for
|
2455
|
-
#
|
2473
|
+
# having a conversation. Refer to [Transcribing a medical
|
2474
|
+
# conversation][1]for a list of supported specialties.
|
2475
|
+
#
|
2456
2476
|
#
|
2457
|
-
# * Family Medicine
|
2458
2477
|
#
|
2459
|
-
#
|
2478
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/transcribe-medical-conversation.html
|
2460
2479
|
# @return [String]
|
2461
2480
|
#
|
2462
2481
|
# @!attribute [rw] type
|
@@ -2470,6 +2489,10 @@ module Aws::TranscribeService
|
|
2470
2489
|
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/what-is-transcribe-med.html
|
2471
2490
|
# @return [String]
|
2472
2491
|
#
|
2492
|
+
# @!attribute [rw] tags
|
2493
|
+
# A key:value pair assigned to a given medical transcription job.
|
2494
|
+
# @return [Array<Types::Tag>]
|
2495
|
+
#
|
2473
2496
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/MedicalTranscriptionJob AWS API Documentation
|
2474
2497
|
#
|
2475
2498
|
class MedicalTranscriptionJob < Struct.new(
|
@@ -2487,7 +2510,8 @@ module Aws::TranscribeService
|
|
2487
2510
|
:settings,
|
2488
2511
|
:content_identification_type,
|
2489
2512
|
:specialty,
|
2490
|
-
:type
|
2513
|
+
:type,
|
2514
|
+
:tags)
|
2491
2515
|
SENSITIVE = []
|
2492
2516
|
include Aws::Structure
|
2493
2517
|
end
|
@@ -2525,15 +2549,19 @@ module Aws::TranscribeService
|
|
2525
2549
|
# @return [String]
|
2526
2550
|
#
|
2527
2551
|
# @!attribute [rw] output_location_type
|
2528
|
-
# Indicates the location of the transcription job's output.
|
2529
|
-
#
|
2530
|
-
#
|
2531
|
-
# `OutputBucketName` field when the
|
2552
|
+
# Indicates the location of the transcription job's output. This
|
2553
|
+
# field must be the path of an S3 bucket; if you don't already have
|
2554
|
+
# an S3 bucket, one is created based on the path you add.
|
2532
2555
|
# @return [String]
|
2533
2556
|
#
|
2534
2557
|
# @!attribute [rw] specialty
|
2535
|
-
# The medical specialty of the transcription job.
|
2536
|
-
#
|
2558
|
+
# The medical specialty of the transcription job. Refer to
|
2559
|
+
# [Transcribing a medical conversation][1]for a list of supported
|
2560
|
+
# specialties.
|
2561
|
+
#
|
2562
|
+
#
|
2563
|
+
#
|
2564
|
+
# [1]: https://docs.aws.amazon.com/transcribe/latest/dg/transcribe-medical-conversation.html
|
2537
2565
|
# @return [String]
|
2538
2566
|
#
|
2539
2567
|
# @!attribute [rw] content_identification_type
|
@@ -3047,7 +3075,7 @@ module Aws::TranscribeService
|
|
3047
3075
|
# redaction_type: "PII", # required, accepts PII
|
3048
3076
|
# redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
|
3049
3077
|
# },
|
3050
|
-
# 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
|
3078
|
+
# language_options: ["af-ZA"], # accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ
|
3051
3079
|
# },
|
3052
3080
|
# channel_definitions: [
|
3053
3081
|
# {
|
@@ -3060,9 +3088,9 @@ module Aws::TranscribeService
|
|
3060
3088
|
# @!attribute [rw] call_analytics_job_name
|
3061
3089
|
# The name of the call analytics job. You can't use the string "."
|
3062
3090
|
# or ".." by themselves as the job name. The name must also be
|
3063
|
-
# unique within an
|
3064
|
-
# job with the same name as a previous call analytics
|
3065
|
-
# `ConflictException` error.
|
3091
|
+
# unique within an Amazon Web Services account. If you try to create a
|
3092
|
+
# call analytics job with the same name as a previous call analytics
|
3093
|
+
# job, you get a `ConflictException` error.
|
3066
3094
|
# @return [String]
|
3067
3095
|
#
|
3068
3096
|
# @!attribute [rw] media
|
@@ -3093,21 +3121,22 @@ module Aws::TranscribeService
|
|
3093
3121
|
# Transcribe saves the output of the analytics job as
|
3094
3122
|
# s3://DOC-EXAMPLEBUCKET1/folder/filename.json
|
3095
3123
|
#
|
3096
|
-
# You can specify an
|
3097
|
-
# output of our analytics job using the
|
3098
|
-
# parameter. If you don't specify a KMS
|
3099
|
-
# the default Amazon S3 key for
|
3100
|
-
# analytics job output that is placed in
|
3124
|
+
# You can specify an Amazon Web Services Key Management Service (KMS)
|
3125
|
+
# key to encrypt the output of our analytics job using the
|
3126
|
+
# `OutputEncryptionKMSKeyId` parameter. If you don't specify a KMS
|
3127
|
+
# key, Amazon Transcribe uses the default Amazon S3 key for
|
3128
|
+
# server-side encryption of the analytics job output that is placed in
|
3129
|
+
# your S3 bucket.
|
3101
3130
|
# @return [String]
|
3102
3131
|
#
|
3103
3132
|
# @!attribute [rw] output_encryption_kms_key_id
|
3104
|
-
# The Amazon Resource Name (ARN) of the
|
3105
|
-
# used to encrypt the output of the call
|
3106
|
-
# calling the operation must have permission
|
3107
|
-
# key.
|
3133
|
+
# The Amazon Resource Name (ARN) of the Amazon Web Services Key
|
3134
|
+
# Management Service key used to encrypt the output of the call
|
3135
|
+
# analytics job. The user calling the operation must have permission
|
3136
|
+
# to use the specified KMS key.
|
3108
3137
|
#
|
3109
|
-
# You use either of the following to identify an
|
3110
|
-
# current account:
|
3138
|
+
# You use either of the following to identify an Amazon Web Services
|
3139
|
+
# KMS key in the current account:
|
3111
3140
|
#
|
3112
3141
|
# * KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
|
3113
3142
|
#
|
@@ -3183,7 +3212,7 @@ module Aws::TranscribeService
|
|
3183
3212
|
#
|
3184
3213
|
# {
|
3185
3214
|
# medical_transcription_job_name: "TranscriptionJobName", # required
|
3186
|
-
# 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
|
3215
|
+
# 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, zh-TW, th-TH, en-ZA, en-NZ
|
3187
3216
|
# media_sample_rate_hertz: 1,
|
3188
3217
|
# media_format: "mp3", # accepts mp3, mp4, wav, flac, ogg, amr, webm
|
3189
3218
|
# media: { # required
|
@@ -3193,6 +3222,9 @@ module Aws::TranscribeService
|
|
3193
3222
|
# output_bucket_name: "OutputBucketName", # required
|
3194
3223
|
# output_key: "OutputKey",
|
3195
3224
|
# output_encryption_kms_key_id: "KMSKeyId",
|
3225
|
+
# kms_encryption_context: {
|
3226
|
+
# "NonEmptyString" => "NonEmptyString",
|
3227
|
+
# },
|
3196
3228
|
# settings: {
|
3197
3229
|
# show_speaker_labels: false,
|
3198
3230
|
# max_speaker_labels: 1,
|
@@ -3204,6 +3236,12 @@ module Aws::TranscribeService
|
|
3204
3236
|
# content_identification_type: "PHI", # accepts PHI
|
3205
3237
|
# specialty: "PRIMARYCARE", # required, accepts PRIMARYCARE
|
3206
3238
|
# type: "CONVERSATION", # required, accepts CONVERSATION, DICTATION
|
3239
|
+
# tags: [
|
3240
|
+
# {
|
3241
|
+
# key: "TagKey", # required
|
3242
|
+
# value: "TagValue", # required
|
3243
|
+
# },
|
3244
|
+
# ],
|
3207
3245
|
# }
|
3208
3246
|
#
|
3209
3247
|
# @!attribute [rw] medical_transcription_job_name
|
@@ -3318,6 +3356,12 @@ module Aws::TranscribeService
|
|
3318
3356
|
# specify an output location in the `OutputBucketName` parameter.
|
3319
3357
|
# @return [String]
|
3320
3358
|
#
|
3359
|
+
# @!attribute [rw] kms_encryption_context
|
3360
|
+
# A map of plain text, non-secret key:value pairs, known as encryption
|
3361
|
+
# context pairs, that provide an added layer of security for your
|
3362
|
+
# data.
|
3363
|
+
# @return [Hash<String,String>]
|
3364
|
+
#
|
3321
3365
|
# @!attribute [rw] settings
|
3322
3366
|
# Optional settings for the medical transcription job.
|
3323
3367
|
# @return [Types::MedicalTranscriptionSetting]
|
@@ -3337,9 +3381,13 @@ module Aws::TranscribeService
|
|
3337
3381
|
# The type of speech in the input audio. `CONVERSATION` refers to
|
3338
3382
|
# conversations between two or more speakers, e.g., a conversations
|
3339
3383
|
# between doctors and patients. `DICTATION` refers to single-speaker
|
3340
|
-
# dictated speech,
|
3384
|
+
# dictated speech, such as clinical notes.
|
3341
3385
|
# @return [String]
|
3342
3386
|
#
|
3387
|
+
# @!attribute [rw] tags
|
3388
|
+
# Add tags to an Amazon Transcribe medical transcription job.
|
3389
|
+
# @return [Array<Types::Tag>]
|
3390
|
+
#
|
3343
3391
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartMedicalTranscriptionJobRequest AWS API Documentation
|
3344
3392
|
#
|
3345
3393
|
class StartMedicalTranscriptionJobRequest < Struct.new(
|
@@ -3351,10 +3399,12 @@ module Aws::TranscribeService
|
|
3351
3399
|
:output_bucket_name,
|
3352
3400
|
:output_key,
|
3353
3401
|
:output_encryption_kms_key_id,
|
3402
|
+
:kms_encryption_context,
|
3354
3403
|
:settings,
|
3355
3404
|
:content_identification_type,
|
3356
3405
|
:specialty,
|
3357
|
-
:type
|
3406
|
+
:type,
|
3407
|
+
:tags)
|
3358
3408
|
SENSITIVE = []
|
3359
3409
|
include Aws::Structure
|
3360
3410
|
end
|
@@ -3376,7 +3426,7 @@ module Aws::TranscribeService
|
|
3376
3426
|
#
|
3377
3427
|
# {
|
3378
3428
|
# transcription_job_name: "TranscriptionJobName", # required
|
3379
|
-
# 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
|
3429
|
+
# 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, zh-TW, th-TH, en-ZA, en-NZ
|
3380
3430
|
# media_sample_rate_hertz: 1,
|
3381
3431
|
# media_format: "mp3", # accepts mp3, mp4, wav, flac, ogg, amr, webm
|
3382
3432
|
# media: { # required
|
@@ -3386,6 +3436,9 @@ module Aws::TranscribeService
|
|
3386
3436
|
# output_bucket_name: "OutputBucketName",
|
3387
3437
|
# output_key: "OutputKey",
|
3388
3438
|
# output_encryption_kms_key_id: "KMSKeyId",
|
3439
|
+
# kms_encryption_context: {
|
3440
|
+
# "NonEmptyString" => "NonEmptyString",
|
3441
|
+
# },
|
3389
3442
|
# settings: {
|
3390
3443
|
# vocabulary_name: "VocabularyName",
|
3391
3444
|
# show_speaker_labels: false,
|
@@ -3408,7 +3461,13 @@ module Aws::TranscribeService
|
|
3408
3461
|
# redaction_output: "redacted", # required, accepts redacted, redacted_and_unredacted
|
3409
3462
|
# },
|
3410
3463
|
# identify_language: false,
|
3411
|
-
# 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
|
3464
|
+
# language_options: ["af-ZA"], # accepts af-ZA, ar-AE, ar-SA, cy-GB, da-DK, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA, fr-FR, ga-IE, gd-GB, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR, pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ
|
3465
|
+
# tags: [
|
3466
|
+
# {
|
3467
|
+
# key: "TagKey", # required
|
3468
|
+
# value: "TagValue", # required
|
3469
|
+
# },
|
3470
|
+
# ],
|
3412
3471
|
# }
|
3413
3472
|
#
|
3414
3473
|
# @!attribute [rw] transcription_job_name
|
@@ -3423,7 +3482,7 @@ module Aws::TranscribeService
|
|
3423
3482
|
# The language code for the language used in the input media file.
|
3424
3483
|
#
|
3425
3484
|
# To transcribe speech in Modern Standard Arabic (ar-SA), your audio
|
3426
|
-
# or video file must be encoded at a sample rate of
|
3485
|
+
# or video file must be encoded at a sample rate of 16,000 Hz or
|
3427
3486
|
# higher.
|
3428
3487
|
# @return [String]
|
3429
3488
|
#
|
@@ -3532,6 +3591,12 @@ module Aws::TranscribeService
|
|
3532
3591
|
# specify an output location in the `OutputBucketName` parameter.
|
3533
3592
|
# @return [String]
|
3534
3593
|
#
|
3594
|
+
# @!attribute [rw] kms_encryption_context
|
3595
|
+
# A map of plain text, non-secret key:value pairs, known as encryption
|
3596
|
+
# context pairs, that provide an added layer of security for your
|
3597
|
+
# data.
|
3598
|
+
# @return [Hash<String,String>]
|
3599
|
+
#
|
3535
3600
|
# @!attribute [rw] settings
|
3536
3601
|
# A `Settings` object that provides optional settings for a
|
3537
3602
|
# transcription job.
|
@@ -3568,10 +3633,14 @@ module Aws::TranscribeService
|
|
3568
3633
|
# list.
|
3569
3634
|
#
|
3570
3635
|
# To transcribe speech in Modern Standard Arabic (ar-SA), your audio
|
3571
|
-
# or video file must be encoded at a sample rate of
|
3636
|
+
# or video file must be encoded at a sample rate of 16,000 Hz or
|
3572
3637
|
# higher.
|
3573
3638
|
# @return [Array<String>]
|
3574
3639
|
#
|
3640
|
+
# @!attribute [rw] tags
|
3641
|
+
# Add tags to an Amazon Transcribe transcription job.
|
3642
|
+
# @return [Array<Types::Tag>]
|
3643
|
+
#
|
3575
3644
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartTranscriptionJobRequest AWS API Documentation
|
3576
3645
|
#
|
3577
3646
|
class StartTranscriptionJobRequest < Struct.new(
|
@@ -3583,12 +3652,14 @@ module Aws::TranscribeService
|
|
3583
3652
|
:output_bucket_name,
|
3584
3653
|
:output_key,
|
3585
3654
|
:output_encryption_kms_key_id,
|
3655
|
+
:kms_encryption_context,
|
3586
3656
|
:settings,
|
3587
3657
|
:model_settings,
|
3588
3658
|
:job_execution_settings,
|
3589
3659
|
:content_redaction,
|
3590
3660
|
:identify_language,
|
3591
|
-
:language_options
|
3661
|
+
:language_options,
|
3662
|
+
:tags)
|
3592
3663
|
SENSITIVE = []
|
3593
3664
|
include Aws::Structure
|
3594
3665
|
end
|
@@ -3605,6 +3676,75 @@ module Aws::TranscribeService
|
|
3605
3676
|
include Aws::Structure
|
3606
3677
|
end
|
3607
3678
|
|
3679
|
+
# A key:value pair that adds metadata to a resource used by Amazon
|
3680
|
+
# Transcribe. For example, a tag with the key:value pair
|
3681
|
+
# ‘Department’:’Sales’ might be added to a resource to indicate its use
|
3682
|
+
# by your organization's sales department.
|
3683
|
+
#
|
3684
|
+
# @note When making an API call, you may pass Tag
|
3685
|
+
# data as a hash:
|
3686
|
+
#
|
3687
|
+
# {
|
3688
|
+
# key: "TagKey", # required
|
3689
|
+
# value: "TagValue", # required
|
3690
|
+
# }
|
3691
|
+
#
|
3692
|
+
# @!attribute [rw] key
|
3693
|
+
# The first part of a key:value pair that forms a tag associated with
|
3694
|
+
# a given resource. For example, in the tag ‘Department’:’Sales’, the
|
3695
|
+
# key is 'Department'.
|
3696
|
+
# @return [String]
|
3697
|
+
#
|
3698
|
+
# @!attribute [rw] value
|
3699
|
+
# The second part of a key:value pair that forms a tag associated with
|
3700
|
+
# a given resource. For example, in the tag ‘Department’:’Sales’, the
|
3701
|
+
# value is 'Sales'.
|
3702
|
+
# @return [String]
|
3703
|
+
#
|
3704
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/Tag AWS API Documentation
|
3705
|
+
#
|
3706
|
+
class Tag < Struct.new(
|
3707
|
+
:key,
|
3708
|
+
:value)
|
3709
|
+
SENSITIVE = []
|
3710
|
+
include Aws::Structure
|
3711
|
+
end
|
3712
|
+
|
3713
|
+
# @note When making an API call, you may pass TagResourceRequest
|
3714
|
+
# data as a hash:
|
3715
|
+
#
|
3716
|
+
# {
|
3717
|
+
# resource_arn: "TranscribeArn", # required
|
3718
|
+
# tags: [ # required
|
3719
|
+
# {
|
3720
|
+
# key: "TagKey", # required
|
3721
|
+
# value: "TagValue", # required
|
3722
|
+
# },
|
3723
|
+
# ],
|
3724
|
+
# }
|
3725
|
+
#
|
3726
|
+
# @!attribute [rw] resource_arn
|
3727
|
+
# The Amazon Resource Name (ARN) of the Amazon Transcribe resource you
|
3728
|
+
# want to tag.
|
3729
|
+
# @return [String]
|
3730
|
+
#
|
3731
|
+
# @!attribute [rw] tags
|
3732
|
+
# The tags you are assigning to a given Amazon Transcribe resource.
|
3733
|
+
# @return [Array<Types::Tag>]
|
3734
|
+
#
|
3735
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/TagResourceRequest AWS API Documentation
|
3736
|
+
#
|
3737
|
+
class TagResourceRequest < Struct.new(
|
3738
|
+
:resource_arn,
|
3739
|
+
:tags)
|
3740
|
+
SENSITIVE = []
|
3741
|
+
include Aws::Structure
|
3742
|
+
end
|
3743
|
+
|
3744
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/TagResourceResponse AWS API Documentation
|
3745
|
+
#
|
3746
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
3747
|
+
|
3608
3748
|
# Identifies the location of a transcription.
|
3609
3749
|
#
|
3610
3750
|
# @!attribute [rw] transcript_file_uri
|
@@ -3742,7 +3882,7 @@ module Aws::TranscribeService
|
|
3742
3882
|
# @return [Types::Transcript]
|
3743
3883
|
#
|
3744
3884
|
# @!attribute [rw] start_time
|
3745
|
-
# A timestamp that shows
|
3885
|
+
# A timestamp that shows when the job started processing.
|
3746
3886
|
# @return [Time]
|
3747
3887
|
#
|
3748
3888
|
# @!attribute [rw] creation_time
|
@@ -3750,7 +3890,7 @@ module Aws::TranscribeService
|
|
3750
3890
|
# @return [Time]
|
3751
3891
|
#
|
3752
3892
|
# @!attribute [rw] completion_time
|
3753
|
-
# A timestamp that shows when the job
|
3893
|
+
# A timestamp that shows when the job completed.
|
3754
3894
|
# @return [Time]
|
3755
3895
|
#
|
3756
3896
|
# @!attribute [rw] failure_reason
|
@@ -3771,7 +3911,7 @@ module Aws::TranscribeService
|
|
3771
3911
|
#
|
3772
3912
|
# * `Invalid sample rate for audio file` - The sample rate specified
|
3773
3913
|
# in the `MediaSampleRateHertz` of the request isn't valid. The
|
3774
|
-
# sample rate must be between
|
3914
|
+
# sample rate must be between 8,000 and 48,000 Hertz.
|
3775
3915
|
#
|
3776
3916
|
# * `The sample rate provided does not match the detected sample rate`
|
3777
3917
|
# - The sample rate in the audio file doesn't match the sample rate
|
@@ -3832,6 +3972,10 @@ module Aws::TranscribeService
|
|
3832
3972
|
# language it identified.
|
3833
3973
|
# @return [Float]
|
3834
3974
|
#
|
3975
|
+
# @!attribute [rw] tags
|
3976
|
+
# A key:value pair assigned to a given transcription job.
|
3977
|
+
# @return [Array<Types::Tag>]
|
3978
|
+
#
|
3835
3979
|
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/TranscriptionJob AWS API Documentation
|
3836
3980
|
#
|
3837
3981
|
class TranscriptionJob < Struct.new(
|
@@ -3852,7 +3996,8 @@ module Aws::TranscribeService
|
|
3852
3996
|
:content_redaction,
|
3853
3997
|
:identify_language,
|
3854
3998
|
:language_options,
|
3855
|
-
:identified_language_score
|
3999
|
+
:identified_language_score,
|
4000
|
+
:tags)
|
3856
4001
|
SENSITIVE = []
|
3857
4002
|
include Aws::Structure
|
3858
4003
|
end
|
@@ -3942,6 +4087,37 @@ module Aws::TranscribeService
|
|
3942
4087
|
include Aws::Structure
|
3943
4088
|
end
|
3944
4089
|
|
4090
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
4091
|
+
# data as a hash:
|
4092
|
+
#
|
4093
|
+
# {
|
4094
|
+
# resource_arn: "TranscribeArn", # required
|
4095
|
+
# tag_keys: ["TagKey"], # required
|
4096
|
+
# }
|
4097
|
+
#
|
4098
|
+
# @!attribute [rw] resource_arn
|
4099
|
+
# The Amazon Resource Name (ARN) of the Amazon Transcribe resource you
|
4100
|
+
# want to remove tags from.
|
4101
|
+
# @return [String]
|
4102
|
+
#
|
4103
|
+
# @!attribute [rw] tag_keys
|
4104
|
+
# A list of tag keys you want to remove from a specified Amazon
|
4105
|
+
# Transcribe resource.
|
4106
|
+
# @return [Array<String>]
|
4107
|
+
#
|
4108
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UntagResourceRequest AWS API Documentation
|
4109
|
+
#
|
4110
|
+
class UntagResourceRequest < Struct.new(
|
4111
|
+
:resource_arn,
|
4112
|
+
:tag_keys)
|
4113
|
+
SENSITIVE = []
|
4114
|
+
include Aws::Structure
|
4115
|
+
end
|
4116
|
+
|
4117
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UntagResourceResponse AWS API Documentation
|
4118
|
+
#
|
4119
|
+
class UntagResourceResponse < Aws::EmptyStructure; end
|
4120
|
+
|
3945
4121
|
# @note When making an API call, you may pass UpdateCallAnalyticsCategoryRequest
|
3946
4122
|
# data as a hash:
|
3947
4123
|
#
|
@@ -4062,7 +4238,7 @@ module Aws::TranscribeService
|
|
4062
4238
|
#
|
4063
4239
|
# {
|
4064
4240
|
# vocabulary_name: "VocabularyName", # required
|
4065
|
-
# 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
|
4241
|
+
# 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, zh-TW, th-TH, en-ZA, en-NZ
|
4066
4242
|
# vocabulary_file_uri: "Uri",
|
4067
4243
|
# }
|
4068
4244
|
#
|
@@ -4079,10 +4255,10 @@ module Aws::TranscribeService
|
|
4079
4255
|
# @return [String]
|
4080
4256
|
#
|
4081
4257
|
# @!attribute [rw] vocabulary_file_uri
|
4082
|
-
# The location in Amazon S3 of the text file that contains
|
4083
|
-
#
|
4084
|
-
#
|
4085
|
-
#
|
4258
|
+
# The location in Amazon S3 of the text file that contains your custom
|
4259
|
+
# vocabulary. The URI must be in the same Amazon Web Services Region
|
4260
|
+
# as the resource that you are calling. The following is the format
|
4261
|
+
# for a URI:
|
4086
4262
|
#
|
4087
4263
|
# `
|
4088
4264
|
# https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>
|
@@ -4227,7 +4403,7 @@ module Aws::TranscribeService
|
|
4227
4403
|
#
|
4228
4404
|
# {
|
4229
4405
|
# vocabulary_name: "VocabularyName", # required
|
4230
|
-
# 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
|
4406
|
+
# 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, zh-TW, th-TH, en-ZA, en-NZ
|
4231
4407
|
# phrases: ["Phrase"],
|
4232
4408
|
# vocabulary_file_uri: "Uri",
|
4233
4409
|
# }
|
@@ -4240,7 +4416,7 @@ module Aws::TranscribeService
|
|
4240
4416
|
#
|
4241
4417
|
# @!attribute [rw] language_code
|
4242
4418
|
# The language code of the vocabulary entries. For a list of languages
|
4243
|
-
# and their corresponding language codes, see
|
4419
|
+
# and their corresponding language codes, see transcribe-whatis.
|
4244
4420
|
# @return [String]
|
4245
4421
|
#
|
4246
4422
|
# @!attribute [rw] phrases
|