|
311 | 311 | "exception":true,
|
312 | 312 | "fault":true
|
313 | 313 | },
|
| 314 | + "KMSKeyId":{ |
| 315 | + "type":"string", |
| 316 | + "max":2048, |
| 317 | + "min":1, |
| 318 | + "pattern":"^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$" |
| 319 | + }, |
314 | 320 | "LanguageCode":{
|
315 | 321 | "type":"string",
|
316 | 322 | "enum":[
|
|
452 | 458 | },
|
453 | 459 | "NextToken":{
|
454 | 460 | "type":"string",
|
455 |
| - "max":8192 |
| 461 | + "max":8192, |
| 462 | + "pattern":".+" |
456 | 463 | },
|
457 | 464 | "NotFoundException":{
|
458 | 465 | "type":"structure",
|
|
464 | 471 | },
|
465 | 472 | "OutputBucketName":{
|
466 | 473 | "type":"string",
|
| 474 | + "max":64, |
467 | 475 | "pattern":"[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9]"
|
468 | 476 | },
|
469 | 477 | "OutputLocationType":{
|
|
476 | 484 | "Phrase":{
|
477 | 485 | "type":"string",
|
478 | 486 | "max":256,
|
479 |
| - "min":0 |
| 487 | + "min":0, |
| 488 | + "pattern":".+" |
480 | 489 | },
|
481 | 490 | "Phrases":{
|
482 | 491 | "type":"list",
|
|
522 | 531 | },
|
523 | 532 | "MediaSampleRateHertz":{
|
524 | 533 | "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>" |
526 | 535 | },
|
527 | 536 | "MediaFormat":{
|
528 | 537 | "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>" |
530 | 539 | },
|
531 | 540 | "Media":{
|
532 | 541 | "shape":"Media",
|
|
536 | 545 | "shape":"OutputBucketName",
|
537 | 546 | "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>"
|
538 | 547 | },
|
| 548 | + "OutputEncryptionKMSKeyId":{"shape":"KMSKeyId"}, |
539 | 549 | "Settings":{
|
540 | 550 | "shape":"Settings",
|
541 | 551 | "documentation":"<p>A <code>Settings</code> object that provides optional settings for a transcription job.</p>"
|
|
662 | 672 | "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>"
|
663 | 673 | }
|
664 | 674 | },
|
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>" |
666 | 676 | },
|
667 | 677 | "UpdateVocabularyRequest":{
|
668 | 678 | "type":"structure",
|
|
713 | 723 | "Uri":{
|
714 | 724 | "type":"string",
|
715 | 725 | "max":2000,
|
716 |
| - "min":1 |
| 726 | + "min":1, |
| 727 | + "pattern":"(s3://|http(s*)://).+" |
717 | 728 | },
|
718 | 729 | "Vocabularies":{
|
719 | 730 | "type":"list",
|
|
0 commit comments