Skip to content

Commit 91674e1

Browse files
author
AWS
committed
Amazon Transcribe Service Update: With this update Amazon Transcribe enables you to provide an AWS KMS key to encrypt your transcription output.
1 parent 1285875 commit 91674e1

File tree

2 files changed

+22
-6
lines changed

2 files changed

+22
-6
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Transcribe Service",
4+
"description": "With this update Amazon Transcribe enables you to provide an AWS KMS key to encrypt your transcription output."
5+
}

services/transcribe/src/main/resources/codegen-resources/service-2.json

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,12 @@
311311
"exception":true,
312312
"fault":true
313313
},
314+
"KMSKeyId":{
315+
"type":"string",
316+
"max":2048,
317+
"min":1,
318+
"pattern":"^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$"
319+
},
314320
"LanguageCode":{
315321
"type":"string",
316322
"enum":[
@@ -452,7 +458,8 @@
452458
},
453459
"NextToken":{
454460
"type":"string",
455-
"max":8192
461+
"max":8192,
462+
"pattern":".+"
456463
},
457464
"NotFoundException":{
458465
"type":"structure",
@@ -464,6 +471,7 @@
464471
},
465472
"OutputBucketName":{
466473
"type":"string",
474+
"max":64,
467475
"pattern":"[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9]"
468476
},
469477
"OutputLocationType":{
@@ -476,7 +484,8 @@
476484
"Phrase":{
477485
"type":"string",
478486
"max":256,
479-
"min":0
487+
"min":0,
488+
"pattern":".+"
480489
},
481490
"Phrases":{
482491
"type":"list",
@@ -522,11 +531,11 @@
522531
},
523532
"MediaSampleRateHertz":{
524533
"shape":"MediaSampleRateHertz",
525-
"documentation":"<p>The sample rate of the audio track in the input media file in Hertz. </p> <p>If you do not specify the media sample rate, Amazon Transcribe determines the sample rate. If you specify the sample rate, it must match the sample rate detected by Amazon Transcribe. In most cases, you should leave the <code>MediaSampleRateHertz</code> field blank and let Amazon Transcribe determine the sample rate.</p>"
534+
"documentation":"<p>The sample rate, in Hertz, of the audio track in the input media file. </p> <p>If you do not specify the media sample rate, Amazon Transcribe determines the sample rate. If you specify the sample rate, it must match the sample rate detected by Amazon Transcribe. In most cases, you should leave the <code>MediaSampleRateHertz</code> field blank and let Amazon Transcribe determine the sample rate.</p>"
526535
},
527536
"MediaFormat":{
528537
"shape":"MediaFormat",
529-
"documentation":"<p>The format of the input media file.</p> <p> If you do not specify the format of the media file, Amazon Transcribe determines the format. If the format is not recognized, Amazon Transcribe returns an <code>InternalFailureException</code> exception. If you specify the format, it must match the format detected by Amazon Transcribe, otherwise you get an <code>InternalFailureException</code> exception.</p>"
538+
"documentation":"<p>The format of the input media file.</p>"
530539
},
531540
"Media":{
532541
"shape":"Media",
@@ -536,6 +545,7 @@
536545
"shape":"OutputBucketName",
537546
"documentation":"<p>The location where the transcription is stored.</p> <p>If you set the <code>OutputBucketName</code>, Amazon Transcribe puts the transcription in the specified S3 bucket. When you call the <a>GetTranscriptionJob</a> operation, the operation returns this location in the <code>TranscriptFileUri</code> field. The S3 bucket must have permissions that allow Amazon Transcribe to put files in the bucket. For more information, see <a href=\"https://docs.aws.amazon.com/transcribe/latest/dg/security_iam_id-based-policy-examples.html#auth-role-iam-user\">Permissions Required for IAM User Roles</a>.</p> <p>Amazon Transcribe uses the default Amazon S3 key for server-side encryption of transcripts that are placed in your S3 bucket. You can't specify your own encryption key.</p> <p>If you don't set the <code>OutputBucketName</code>, Amazon Transcribe generates a pre-signed URL, a shareable URL that provides secure access to your transcription, and returns it in the <code>TranscriptFileUri</code> field. Use this URL to download the transcription.</p>"
538547
},
548+
"OutputEncryptionKMSKeyId":{"shape":"KMSKeyId"},
539549
"Settings":{
540550
"shape":"Settings",
541551
"documentation":"<p>A <code>Settings</code> object that provides optional settings for a transcription job.</p>"
@@ -662,7 +672,7 @@
662672
"documentation":"<p>Indicates the location of the output of the transcription job.</p> <p>If the value is <code>CUSTOMER_BUCKET</code> then the location is the S3 bucket specified in the <code>outputBucketName</code> field when the transcription job was started with the <code>StartTranscriptionJob</code> operation.</p> <p>If the value is <code>SERVICE_BUCKET</code> then the output is stored by Amazon Transcribe and can be retrieved using the URI in the <code>GetTranscriptionJob</code> response's <code>TranscriptFileUri</code> field.</p>"
663673
}
664674
},
665-
"documentation":"<p>Provides a summary of information about a transcription job. .</p>"
675+
"documentation":"<p>Provides a summary of information about a transcription job.</p>"
666676
},
667677
"UpdateVocabularyRequest":{
668678
"type":"structure",
@@ -713,7 +723,8 @@
713723
"Uri":{
714724
"type":"string",
715725
"max":2000,
716-
"min":1
726+
"min":1,
727+
"pattern":"(s3://|http(s*)://).+"
717728
},
718729
"Vocabularies":{
719730
"type":"list",

0 commit comments

Comments
 (0)