{ "version":"2.0", "metadata":{ "apiVersion":"2017-10-26", "endpointPrefix":"transcribe", "jsonVersion":"1.1", "protocol":"json", "serviceFullName":"Amazon Transcribe Service", "serviceId":"Transcribe", "signatureVersion":"v4", "signingName":"transcribe", "targetPrefix":"Transcribe", "uid":"transcribe-2017-10-26" }, "operations":{ "CreateVocabulary":{ "name":"CreateVocabulary", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"CreateVocabularyRequest"}, "output":{"shape":"CreateVocabularyResponse"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"LimitExceededException"}, {"shape":"InternalFailureException"}, {"shape":"ConflictException"} ], "documentation":"

Creates a new custom vocabulary that you can use to change the way Amazon Transcribe handles transcription of an audio file.

" }, "CreateVocabularyFilter":{ "name":"CreateVocabularyFilter", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"CreateVocabularyFilterRequest"}, "output":{"shape":"CreateVocabularyFilterResponse"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"LimitExceededException"}, {"shape":"InternalFailureException"}, {"shape":"ConflictException"} ], "documentation":"

Creates a new vocabulary filter that you can use to filter words, such as profane words, from the output of a transcription job.

" }, "DeleteTranscriptionJob":{ "name":"DeleteTranscriptionJob", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteTranscriptionJobRequest"}, "errors":[ {"shape":"LimitExceededException"}, {"shape":"BadRequestException"}, {"shape":"InternalFailureException"} ], "documentation":"

Deletes a previously submitted transcription job along with any other generated results such as the transcription, models, and so on.

" }, "DeleteVocabulary":{ "name":"DeleteVocabulary", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteVocabularyRequest"}, "errors":[ {"shape":"NotFoundException"}, {"shape":"LimitExceededException"}, {"shape":"BadRequestException"}, {"shape":"InternalFailureException"} ], "documentation":"

Deletes a vocabulary from Amazon Transcribe.

" }, "DeleteVocabularyFilter":{ "name":"DeleteVocabularyFilter", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteVocabularyFilterRequest"}, "errors":[ {"shape":"NotFoundException"}, {"shape":"LimitExceededException"}, {"shape":"BadRequestException"}, {"shape":"InternalFailureException"} ], "documentation":"

Removes a vocabulary filter.

" }, "GetTranscriptionJob":{ "name":"GetTranscriptionJob", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetTranscriptionJobRequest"}, "output":{"shape":"GetTranscriptionJobResponse"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"LimitExceededException"}, {"shape":"InternalFailureException"}, {"shape":"NotFoundException"} ], "documentation":"

Returns information about a transcription job. To see the status of the job, check the TranscriptionJobStatus field. If the status is COMPLETED, the job is finished and you can find the results at the location specified in the TranscriptFileUri field. If you enable content redaction, the redacted transcript appears in RedactedTranscriptFileUri.

" }, "GetVocabulary":{ "name":"GetVocabulary", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetVocabularyRequest"}, "output":{"shape":"GetVocabularyResponse"}, "errors":[ {"shape":"NotFoundException"}, {"shape":"LimitExceededException"}, {"shape":"InternalFailureException"}, {"shape":"BadRequestException"} ], "documentation":"

Gets information about a vocabulary.

" }, "GetVocabularyFilter":{ "name":"GetVocabularyFilter", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"GetVocabularyFilterRequest"}, "output":{"shape":"GetVocabularyFilterResponse"}, "errors":[ {"shape":"NotFoundException"}, {"shape":"LimitExceededException"}, {"shape":"InternalFailureException"}, {"shape":"BadRequestException"} ], "documentation":"

Returns information about a vocabulary filter.

" }, "ListTranscriptionJobs":{ "name":"ListTranscriptionJobs", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListTranscriptionJobsRequest"}, "output":{"shape":"ListTranscriptionJobsResponse"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"LimitExceededException"}, {"shape":"InternalFailureException"} ], "documentation":"

Lists transcription jobs with the specified status.

" }, "ListVocabularies":{ "name":"ListVocabularies", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListVocabulariesRequest"}, "output":{"shape":"ListVocabulariesResponse"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"LimitExceededException"}, {"shape":"InternalFailureException"} ], "documentation":"

Returns a list of vocabularies that match the specified criteria. If no criteria are specified, returns the entire list of vocabularies.

" }, "ListVocabularyFilters":{ "name":"ListVocabularyFilters", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"ListVocabularyFiltersRequest"}, "output":{"shape":"ListVocabularyFiltersResponse"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"LimitExceededException"}, {"shape":"InternalFailureException"} ], "documentation":"

Gets information about vocabulary filters.

" }, "StartTranscriptionJob":{ "name":"StartTranscriptionJob", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"StartTranscriptionJobRequest"}, "output":{"shape":"StartTranscriptionJobResponse"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"LimitExceededException"}, {"shape":"InternalFailureException"}, {"shape":"ConflictException"} ], "documentation":"

Starts an asynchronous job to transcribe speech to text.

" }, "UpdateVocabulary":{ "name":"UpdateVocabulary", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"UpdateVocabularyRequest"}, "output":{"shape":"UpdateVocabularyResponse"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"LimitExceededException"}, {"shape":"InternalFailureException"}, {"shape":"NotFoundException"}, {"shape":"ConflictException"} ], "documentation":"

Updates an existing vocabulary with new values. The UpdateVocabulary operation overwrites all of the existing information with the values that you provide in the request.

" }, "UpdateVocabularyFilter":{ "name":"UpdateVocabularyFilter", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"UpdateVocabularyFilterRequest"}, "output":{"shape":"UpdateVocabularyFilterResponse"}, "errors":[ {"shape":"BadRequestException"}, {"shape":"LimitExceededException"}, {"shape":"InternalFailureException"}, {"shape":"NotFoundException"} ], "documentation":"

Updates a vocabulary filter with a new list of filtered words.

" } }, "shapes":{ "BadRequestException":{ "type":"structure", "members":{ "Message":{"shape":"FailureReason"} }, "documentation":"

Your request didn't pass one or more validation tests. For example, if the transcription you're trying to delete doesn't exist or if it is in a non-terminal state (for example, it's \"in progress\"). See the exception Message field for more information.

", "exception":true }, "Boolean":{"type":"boolean"}, "ConflictException":{ "type":"structure", "members":{ "Message":{"shape":"String"} }, "documentation":"

When you are using the CreateVocabulary operation, the JobName field is a duplicate of a previously entered job name. Resend your request with a different name.

When you are using the UpdateVocabulary operation, there are two jobs running at the same time. Resend the second request later.

", "exception":true }, "ContentRedaction":{ "type":"structure", "required":[ "RedactionType", "RedactionOutput" ], "members":{ "RedactionType":{ "shape":"RedactionType", "documentation":"

Request parameter that defines the entities to be redacted. The only accepted value is PII.

" }, "RedactionOutput":{ "shape":"RedactionOutput", "documentation":"

Request parameter where you choose whether to output only the redacted transcript or generate an additional unredacted transcript.

When you choose redacted Amazon Transcribe outputs a JSON file with only the redacted transcript and related information.

When you choose redacted_and_unredacted Amazon Transcribe outputs a JSON file with the unredacted transcript and related information in addition to the JSON file with the redacted transcript.

" } }, "documentation":"

Settings for content redaction within a transcription job.

You can redact transcripts in US English (en-us). For more information see: Automatic Content Redaction

" }, "CreateVocabularyFilterRequest":{ "type":"structure", "required":[ "VocabularyFilterName", "LanguageCode" ], "members":{ "VocabularyFilterName":{ "shape":"VocabularyFilterName", "documentation":"

The vocabulary filter name. The name must be unique within the account that contains it.

" }, "LanguageCode":{ "shape":"LanguageCode", "documentation":"

The language code of the words in the vocabulary filter. All words in the filter must be in the same language. The vocabulary filter can only be used with transcription jobs in the specified language.

" }, "Words":{ "shape":"Words", "documentation":"

The words to use in the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.

If you provide a list of words in the Words parameter, you can't use the VocabularyFilterFileUri parameter.

" }, "VocabularyFilterFileUri":{ "shape":"Uri", "documentation":"

The Amazon S3 location of a text file used as input to create the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.

The specified file must be less than 50 KB of UTF-8 characters.

If you provide the location of a list of words in the VocabularyFilterFileUri parameter, you can't use the Words parameter.

" } } }, "CreateVocabularyFilterResponse":{ "type":"structure", "members":{ "VocabularyFilterName":{ "shape":"VocabularyFilterName", "documentation":"

The name of the vocabulary filter.

" }, "LanguageCode":{ "shape":"LanguageCode", "documentation":"

The language code of the words in the collection.

" }, "LastModifiedTime":{ "shape":"DateTime", "documentation":"

The date and time that the vocabulary filter was modified.

" } } }, "CreateVocabularyRequest":{ "type":"structure", "required":[ "VocabularyName", "LanguageCode" ], "members":{ "VocabularyName":{ "shape":"VocabularyName", "documentation":"

The name of the vocabulary. The name must be unique within an AWS account. The name is case-sensitive.

" }, "LanguageCode":{ "shape":"LanguageCode", "documentation":"

The language code of the vocabulary entries.

" }, "Phrases":{ "shape":"Phrases", "documentation":"

An array of strings that contains the vocabulary entries.

" }, "VocabularyFileUri":{ "shape":"Uri", "documentation":"

The S3 location of the text file that contains the definition of the custom vocabulary. The URI must be in the same region as the API endpoint that you are calling. The general form is

https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>

For example:

https://s3.us-east-1.amazonaws.com/examplebucket/vocab.txt

For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.

For more information about custom vocabularies, see Custom Vocabularies.

" } } }, "CreateVocabularyResponse":{ "type":"structure", "members":{ "VocabularyName":{ "shape":"VocabularyName", "documentation":"

The name of the vocabulary.

" }, "LanguageCode":{ "shape":"LanguageCode", "documentation":"

The language code of the vocabulary entries.

" }, "VocabularyState":{ "shape":"VocabularyState", "documentation":"

The processing state of the vocabulary. When the VocabularyState field contains READY the vocabulary is ready to be used in a StartTranscriptionJob request.

" }, "LastModifiedTime":{ "shape":"DateTime", "documentation":"

The date and time that the vocabulary was created.

" }, "FailureReason":{ "shape":"FailureReason", "documentation":"

If the VocabularyState field is FAILED, this field contains information about why the job failed.

" } } }, "DataAccessRoleArn":{ "type":"string", "pattern":"^arn:aws:iam::[0-9]{0,63}:role/[A-Za-z0-9:_/+=,@.-]{0,1023}$" }, "DateTime":{"type":"timestamp"}, "DeleteTranscriptionJobRequest":{ "type":"structure", "required":["TranscriptionJobName"], "members":{ "TranscriptionJobName":{ "shape":"TranscriptionJobName", "documentation":"

The name of the transcription job to be deleted.

" } } }, "DeleteVocabularyFilterRequest":{ "type":"structure", "required":["VocabularyFilterName"], "members":{ "VocabularyFilterName":{ "shape":"VocabularyFilterName", "documentation":"

The name of the vocabulary filter to remove.

" } } }, "DeleteVocabularyRequest":{ "type":"structure", "required":["VocabularyName"], "members":{ "VocabularyName":{ "shape":"VocabularyName", "documentation":"

The name of the vocabulary to delete.

" } } }, "FailureReason":{"type":"string"}, "GetTranscriptionJobRequest":{ "type":"structure", "required":["TranscriptionJobName"], "members":{ "TranscriptionJobName":{ "shape":"TranscriptionJobName", "documentation":"

The name of the job.

" } } }, "GetTranscriptionJobResponse":{ "type":"structure", "members":{ "TranscriptionJob":{ "shape":"TranscriptionJob", "documentation":"

An object that contains the results of the transcription job.

" } } }, "GetVocabularyFilterRequest":{ "type":"structure", "required":["VocabularyFilterName"], "members":{ "VocabularyFilterName":{ "shape":"VocabularyFilterName", "documentation":"

The name of the vocabulary filter for which to return information.

" } } }, "GetVocabularyFilterResponse":{ "type":"structure", "members":{ "VocabularyFilterName":{ "shape":"VocabularyFilterName", "documentation":"

The name of the vocabulary filter.

" }, "LanguageCode":{ "shape":"LanguageCode", "documentation":"

The language code of the words in the vocabulary filter.

" }, "LastModifiedTime":{ "shape":"DateTime", "documentation":"

The date and time that the contents of the vocabulary filter were updated.

" }, "DownloadUri":{ "shape":"Uri", "documentation":"

The URI of the list of words in the vocabulary filter. You can use this URI to get the list of words.

" } } }, "GetVocabularyRequest":{ "type":"structure", "required":["VocabularyName"], "members":{ "VocabularyName":{ "shape":"VocabularyName", "documentation":"

The name of the vocabulary to return information about. The name is case-sensitive.

" } } }, "GetVocabularyResponse":{ "type":"structure", "members":{ "VocabularyName":{ "shape":"VocabularyName", "documentation":"

The name of the vocabulary to return.

" }, "LanguageCode":{ "shape":"LanguageCode", "documentation":"

The language code of the vocabulary entries.

" }, "VocabularyState":{ "shape":"VocabularyState", "documentation":"

The processing state of the vocabulary.

" }, "LastModifiedTime":{ "shape":"DateTime", "documentation":"

The date and time that the vocabulary was last modified.

" }, "FailureReason":{ "shape":"FailureReason", "documentation":"

If the VocabularyState field is FAILED, this field contains information about why the job failed.

" }, "DownloadUri":{ "shape":"Uri", "documentation":"

The S3 location where the vocabulary is stored. Use this URI to get the contents of the vocabulary. The URI is available for a limited time.

" } } }, "InternalFailureException":{ "type":"structure", "members":{ "Message":{"shape":"String"} }, "documentation":"

There was an internal error. Check the error message and try your request again.

", "exception":true, "fault":true }, "JobExecutionSettings":{ "type":"structure", "members":{ "AllowDeferredExecution":{ "shape":"Boolean", "documentation":"

Indicates whether a job should be queued by Amazon Transcribe when the concurrent execution limit is exceeded. When the AllowDeferredExecution field is true, jobs are queued and will be executed when the number of executing jobs falls below the concurrent execution limit. If the field is false, Amazon Transcribe returns a LimitExceededException exception.

If you specify the AllowDeferredExecution field, you must specify the DataAccessRoleArn field.

" }, "DataAccessRoleArn":{ "shape":"DataAccessRoleArn", "documentation":"

The Amazon Resource Name (ARN) of a role that has access to the S3 bucket that contains the input files. Amazon Transcribe will assume this role to read queued media files. If you have specified an output S3 bucket for the transcription results, this role should have access to the output bucket as well.

If you specify the AllowDeferredExecution field, you must specify the DataAccessRoleArn field.

" } }, "documentation":"

Provides information about when a transcription job should be executed.

" }, "KMSKeyId":{ "type":"string", "max":2048, "min":1, "pattern":"^[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,2048}$" }, "LanguageCode":{ "type":"string", "enum":[ "en-US", "es-US", "en-AU", "fr-CA", "en-GB", "de-DE", "pt-BR", "fr-FR", "it-IT", "ko-KR", "es-ES", "en-IN", "hi-IN", "ar-SA", "ru-RU", "zh-CN", "nl-NL", "id-ID", "ta-IN", "fa-IR", "en-IE", "en-AB", "en-WL", "pt-PT", "te-IN", "tr-TR", "de-CH", "he-IL", "ms-MY", "ja-JP", "ar-AE" ] }, "LimitExceededException":{ "type":"structure", "members":{ "Message":{"shape":"String"} }, "documentation":"

Either you have sent too many requests or your input file is too long. Wait before you resend your request, or use a smaller file and resend the request.

", "exception":true }, "ListTranscriptionJobsRequest":{ "type":"structure", "members":{ "Status":{ "shape":"TranscriptionJobStatus", "documentation":"

When specified, returns only transcription jobs with the specified status. Jobs are ordered by creation date, with the newest jobs returned first. If you don’t specify a status, Amazon Transcribe returns all transcription jobs ordered by creation date.

" }, "JobNameContains":{ "shape":"TranscriptionJobName", "documentation":"

When specified, the jobs returned in the list are limited to jobs whose name contains the specified string.

" }, "NextToken":{ "shape":"NextToken", "documentation":"

If the result of the previous request to ListTranscriptionJobs was truncated, include the NextToken to fetch the next set of jobs.

" }, "MaxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of jobs to return in the response. If there are fewer results in the list, this response contains only the actual results.

" } } }, "ListTranscriptionJobsResponse":{ "type":"structure", "members":{ "Status":{ "shape":"TranscriptionJobStatus", "documentation":"

The requested status of the jobs returned.

" }, "NextToken":{ "shape":"NextToken", "documentation":"

The ListTranscriptionJobs operation returns a page of jobs at a time. The maximum size of the page is set by the MaxResults parameter. If there are more jobs in the list than the page size, Amazon Transcribe returns the NextPage token. Include the token in the next request to the ListTranscriptionJobs operation to return in the next page of jobs.

" }, "TranscriptionJobSummaries":{ "shape":"TranscriptionJobSummaries", "documentation":"

A list of objects containing summary information for a transcription job.

" } } }, "ListVocabulariesRequest":{ "type":"structure", "members":{ "NextToken":{ "shape":"NextToken", "documentation":"

If the result of the previous request to ListVocabularies was truncated, include the NextToken to fetch the next set of jobs.

" }, "MaxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of vocabularies to return in the response. If there are fewer results in the list, this response contains only the actual results.

" }, "StateEquals":{ "shape":"VocabularyState", "documentation":"

When specified, only returns vocabularies with the VocabularyState field equal to the specified state.

" }, "NameContains":{ "shape":"VocabularyName", "documentation":"

When specified, the vocabularies returned in the list are limited to vocabularies whose name contains the specified string. The search is case-insensitive, ListVocabularies will return both \"vocabularyname\" and \"VocabularyName\" in the response list.

" } } }, "ListVocabulariesResponse":{ "type":"structure", "members":{ "Status":{ "shape":"TranscriptionJobStatus", "documentation":"

The requested vocabulary state.

" }, "NextToken":{ "shape":"NextToken", "documentation":"

The ListVocabularies operation returns a page of vocabularies at a time. The maximum size of the page is set by the MaxResults parameter. If there are more jobs in the list than the page size, Amazon Transcribe returns the NextPage token. Include the token in the next request to the ListVocabularies operation to return in the next page of jobs.

" }, "Vocabularies":{ "shape":"Vocabularies", "documentation":"

A list of objects that describe the vocabularies that match the search criteria in the request.

" } } }, "ListVocabularyFiltersRequest":{ "type":"structure", "members":{ "NextToken":{ "shape":"NextToken", "documentation":"

If the result of the previous request to ListVocabularyFilters was truncated, include the NextToken to fetch the next set of collections.

" }, "MaxResults":{ "shape":"MaxResults", "documentation":"

The maximum number of filters to return in the response. If there are fewer results in the list, this response contains only the actual results.

" }, "NameContains":{ "shape":"VocabularyFilterName", "documentation":"

Filters the response so that it only contains vocabulary filters whose name contains the specified string.

" } } }, "ListVocabularyFiltersResponse":{ "type":"structure", "members":{ "NextToken":{ "shape":"NextToken", "documentation":"

The ListVocabularyFilters operation returns a page of collections at a time. The maximum size of the page is set by the MaxResults parameter. If there are more jobs in the list than the page size, Amazon Transcribe returns the NextPage token. Include the token in the next request to the ListVocabularyFilters operation to return in the next page of jobs.

" }, "VocabularyFilters":{ "shape":"VocabularyFilters", "documentation":"

The list of vocabulary filters. It will contain at most MaxResults number of filters. If there are more filters, call the ListVocabularyFilters operation again with the NextToken parameter in the request set to the value of the NextToken field in the response.

" } } }, "MaxAlternatives":{ "type":"integer", "max":10, "min":2 }, "MaxResults":{ "type":"integer", "max":100, "min":1 }, "MaxSpeakers":{ "type":"integer", "max":10, "min":2 }, "Media":{ "type":"structure", "members":{ "MediaFileUri":{ "shape":"Uri", "documentation":"

The S3 object location of the input media file. The URI must be in the same region as the API endpoint that you are calling. The general form is:

s3://<bucket-name>/<keyprefix>/<objectkey>

For example:

s3://examplebucket/example.mp4

s3://examplebucket/mediadocs/example.mp4

For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.

" } }, "documentation":"

Describes the input media file in a transcription request.

" }, "MediaFormat":{ "type":"string", "enum":[ "mp3", "mp4", "wav", "flac" ] }, "MediaSampleRateHertz":{ "type":"integer", "max":48000, "min":8000 }, "NextToken":{ "type":"string", "max":8192, "pattern":".+" }, "NotFoundException":{ "type":"structure", "members":{ "Message":{"shape":"String"} }, "documentation":"

We can't find the requested resource. Check the name and try your request again.

", "exception":true }, "OutputBucketName":{ "type":"string", "max":64, "pattern":"[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9]" }, "OutputLocationType":{ "type":"string", "enum":[ "CUSTOMER_BUCKET", "SERVICE_BUCKET" ] }, "Phrase":{ "type":"string", "max":256, "min":0, "pattern":".+" }, "Phrases":{ "type":"list", "member":{"shape":"Phrase"} }, "RedactionOutput":{ "type":"string", "enum":[ "redacted", "redacted_and_unredacted" ] }, "RedactionType":{ "type":"string", "enum":["PII"] }, "Settings":{ "type":"structure", "members":{ "VocabularyName":{ "shape":"VocabularyName", "documentation":"

The name of a vocabulary to use when processing the transcription job.

" }, "ShowSpeakerLabels":{ "shape":"Boolean", "documentation":"

Determines whether the transcription job uses speaker recognition to identify different speakers in the input audio. Speaker recognition labels individual speakers in the audio file. If you set the ShowSpeakerLabels field to true, you must also set the maximum number of speaker labels MaxSpeakerLabels field.

You can't set both ShowSpeakerLabels and ChannelIdentification in the same request. If you set both, your request returns a BadRequestException.

" }, "MaxSpeakerLabels":{ "shape":"MaxSpeakers", "documentation":"

The maximum number of speakers to identify in the input audio. If there are more speakers in the audio than this number, multiple speakers will be identified as a single speaker. If you specify the MaxSpeakerLabels field, you must set the ShowSpeakerLabels field to true.

" }, "ChannelIdentification":{ "shape":"Boolean", "documentation":"

Instructs Amazon Transcribe to process each audio channel separately and then merge the transcription output of each channel into a single transcription.

Amazon Transcribe also produces a transcription of each item detected on an audio channel, including the start time and end time of the item and alternative transcriptions of the item including the confidence that Amazon Transcribe has in the transcription.

You can't set both ShowSpeakerLabels and ChannelIdentification in the same request. If you set both, your request returns a BadRequestException.

" }, "ShowAlternatives":{ "shape":"Boolean", "documentation":"

Determines whether the transcription contains alternative transcriptions. If you set the ShowAlternatives field to true, you must also set the maximum number of alternatives to return in the MaxAlternatives field.

" }, "MaxAlternatives":{ "shape":"MaxAlternatives", "documentation":"

The number of alternative transcriptions that the service should return. If you specify the MaxAlternatives field, you must set the ShowAlternatives field to true.

" }, "VocabularyFilterName":{ "shape":"VocabularyFilterName", "documentation":"

The name of the vocabulary filter to use when transcribing the audio. The filter that you specify must have the same language code as the transcription job.

" }, "VocabularyFilterMethod":{ "shape":"VocabularyFilterMethod", "documentation":"

Set to mask to remove filtered text from the transcript and replace it with three asterisks (\"***\") as placeholder text. Set to remove to remove filtered text from the transcript without using placeholder text.

" } }, "documentation":"

Provides optional settings for the StartTranscriptionJob operation.

" }, "StartTranscriptionJobRequest":{ "type":"structure", "required":[ "TranscriptionJobName", "LanguageCode", "Media" ], "members":{ "TranscriptionJobName":{ "shape":"TranscriptionJobName", "documentation":"

The name of the job. Note that you can't use the strings \".\" or \"..\" by themselves as the job name. The name must also be unique within an AWS account.

" }, "LanguageCode":{ "shape":"LanguageCode", "documentation":"

The language code for the language used in the input media file.

" }, "MediaSampleRateHertz":{ "shape":"MediaSampleRateHertz", "documentation":"

The sample rate, in Hertz, of the audio track in the input media file.

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 MediaSampleRateHertz field blank and let Amazon Transcribe determine the sample rate.

" }, "MediaFormat":{ "shape":"MediaFormat", "documentation":"

The format of the input media file.

" }, "Media":{ "shape":"Media", "documentation":"

An object that describes the input media for a transcription job.

" }, "OutputBucketName":{ "shape":"OutputBucketName", "documentation":"

The location where the transcription is stored.

If you set the OutputBucketName, Amazon Transcribe puts the transcript in the specified S3 bucket. When you call the GetTranscriptionJob operation, the operation returns this location in the TranscriptFileUri field. If you enable content redaction, the redacted transcript appears in RedactedTranscriptFileUri. If you enable content redaction and choose to output an unredacted transcript, that transcript's location still appears in the TranscriptFileUri. The S3 bucket must have permissions that allow Amazon Transcribe to put files in the bucket. For more information, see Permissions Required for IAM User Roles.

You can specify an AWS Key Management Service (KMS) key to encrypt the output of your transcription using the OutputEncryptionKMSKeyId parameter. If you don't specify a KMS key, Amazon Transcribe uses the default Amazon S3 key for server-side encryption of transcripts that are placed in your S3 bucket.

If you don't set the OutputBucketName, Amazon Transcribe generates a pre-signed URL, a shareable URL that provides secure access to your transcription, and returns it in the TranscriptFileUri field. Use this URL to download the transcription.

" }, "OutputEncryptionKMSKeyId":{ "shape":"KMSKeyId", "documentation":"

The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS) key used to encrypt the output of the transcription job. The user calling the StartTranscriptionJob operation must have permission to use the specified KMS key.

You can use either of the following to identify a KMS key in the current account:

You can use either of the following to identify a KMS key in the current account or another account:

If you don't specify an encryption key, the output of the transcription job is encrypted with the default Amazon S3 key (SSE-S3).

If you specify a KMS key to encrypt your output, you must also specify an output location in the OutputBucketName parameter.

" }, "Settings":{ "shape":"Settings", "documentation":"

A Settings object that provides optional settings for a transcription job.

" }, "JobExecutionSettings":{ "shape":"JobExecutionSettings", "documentation":"

Provides information about how a transcription job is executed. Use this field to indicate that the job can be queued for deferred execution if the concurrency limit is reached and there are no slots available to immediately run the job.

" }, "ContentRedaction":{ "shape":"ContentRedaction", "documentation":"

An object that contains the request parameters for content redaction.

" } } }, "StartTranscriptionJobResponse":{ "type":"structure", "members":{ "TranscriptionJob":{ "shape":"TranscriptionJob", "documentation":"

An object containing details of the asynchronous transcription job.

" } } }, "String":{"type":"string"}, "Transcript":{ "type":"structure", "members":{ "TranscriptFileUri":{ "shape":"Uri", "documentation":"

The S3 object location of the the transcript.

Use this URI to access the transcript. If you specified an S3 bucket in the OutputBucketName field when you created the job, this is the URI of that bucket. If you chose to store the transcript in Amazon Transcribe, this is a shareable URL that provides secure access to that location.

" }, "RedactedTranscriptFileUri":{ "shape":"Uri", "documentation":"

The S3 object location of the redacted transcript.

Use this URI to access the redacated transcript. If you specified an S3 bucket in the OutputBucketName field when you created the job, this is the URI of that bucket. If you chose to store the transcript in Amazon Transcribe, this is a shareable URL that provides secure access to that location.

" } }, "documentation":"

Identifies the location of a transcription.

" }, "TranscriptionJob":{ "type":"structure", "members":{ "TranscriptionJobName":{ "shape":"TranscriptionJobName", "documentation":"

The name of the transcription job.

" }, "TranscriptionJobStatus":{ "shape":"TranscriptionJobStatus", "documentation":"

The status of the transcription job.

" }, "LanguageCode":{ "shape":"LanguageCode", "documentation":"

The language code for the input speech.

" }, "MediaSampleRateHertz":{ "shape":"MediaSampleRateHertz", "documentation":"

The sample rate, in Hertz, of the audio track in the input media file.

" }, "MediaFormat":{ "shape":"MediaFormat", "documentation":"

The format of the input media file.

" }, "Media":{ "shape":"Media", "documentation":"

An object that describes the input media for the transcription job.

" }, "Transcript":{ "shape":"Transcript", "documentation":"

An object that describes the output of the transcription job.

" }, "StartTime":{ "shape":"DateTime", "documentation":"

A timestamp that shows with the job was started processing.

" }, "CreationTime":{ "shape":"DateTime", "documentation":"

A timestamp that shows when the job was created.

" }, "CompletionTime":{ "shape":"DateTime", "documentation":"

A timestamp that shows when the job was completed.

" }, "FailureReason":{ "shape":"FailureReason", "documentation":"

If the TranscriptionJobStatus field is FAILED, this field contains information about why the job failed.

The FailureReason field can contain one of the following values:

" }, "Settings":{ "shape":"Settings", "documentation":"

Optional settings for the transcription job. Use these settings to turn on speaker recognition, to set the maximum number of speakers that should be identified and to specify a custom vocabulary to use when processing the transcription job.

" }, "JobExecutionSettings":{ "shape":"JobExecutionSettings", "documentation":"

Provides information about how a transcription job is executed.

" }, "ContentRedaction":{ "shape":"ContentRedaction", "documentation":"

An object that describes content redaction settings for the transcription job.

" } }, "documentation":"

Describes an asynchronous transcription job that was created with the StartTranscriptionJob operation.

" }, "TranscriptionJobName":{ "type":"string", "max":200, "min":1, "pattern":"^[0-9a-zA-Z._-]+" }, "TranscriptionJobStatus":{ "type":"string", "enum":[ "QUEUED", "IN_PROGRESS", "FAILED", "COMPLETED" ] }, "TranscriptionJobSummaries":{ "type":"list", "member":{"shape":"TranscriptionJobSummary"} }, "TranscriptionJobSummary":{ "type":"structure", "members":{ "TranscriptionJobName":{ "shape":"TranscriptionJobName", "documentation":"

The name of the transcription job.

" }, "CreationTime":{ "shape":"DateTime", "documentation":"

A timestamp that shows when the job was created.

" }, "StartTime":{ "shape":"DateTime", "documentation":"

A timestamp that shows when the job started processing.

" }, "CompletionTime":{ "shape":"DateTime", "documentation":"

A timestamp that shows when the job was completed.

" }, "LanguageCode":{ "shape":"LanguageCode", "documentation":"

The language code for the input speech.

" }, "TranscriptionJobStatus":{ "shape":"TranscriptionJobStatus", "documentation":"

The status of the transcription job. When the status is COMPLETED, use the GetTranscriptionJob operation to get the results of the transcription.

" }, "FailureReason":{ "shape":"FailureReason", "documentation":"

If the TranscriptionJobStatus field is FAILED, a description of the error.

" }, "OutputLocationType":{ "shape":"OutputLocationType", "documentation":"

Indicates the location of the output of the transcription job.

If the value is CUSTOMER_BUCKET then the location is the S3 bucket specified in the outputBucketName field when the transcription job was started with the StartTranscriptionJob operation.

If the value is SERVICE_BUCKET then the output is stored by Amazon Transcribe and can be retrieved using the URI in the GetTranscriptionJob response's TranscriptFileUri field.

" }, "ContentRedaction":{ "shape":"ContentRedaction", "documentation":"

The content redaction settings of the transcription job.

" } }, "documentation":"

Provides a summary of information about a transcription job.

" }, "UpdateVocabularyFilterRequest":{ "type":"structure", "required":["VocabularyFilterName"], "members":{ "VocabularyFilterName":{ "shape":"VocabularyFilterName", "documentation":"

The name of the vocabulary filter to update.

" }, "Words":{ "shape":"Words", "documentation":"

The words to use in the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.

If you provide a list of words in the Words parameter, you can't use the VocabularyFilterFileUri parameter.

" }, "VocabularyFilterFileUri":{ "shape":"Uri", "documentation":"

The Amazon S3 location of a text file used as input to create the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.

The specified file must be less than 50 KB of UTF-8 characters.

If you provide the location of a list of words in the VocabularyFilterFileUri parameter, you can't use the Words parameter.

" } } }, "UpdateVocabularyFilterResponse":{ "type":"structure", "members":{ "VocabularyFilterName":{ "shape":"VocabularyFilterName", "documentation":"

The name of the updated vocabulary filter.

" }, "LanguageCode":{ "shape":"LanguageCode", "documentation":"

The language code of the words in the vocabulary filter.

" }, "LastModifiedTime":{ "shape":"DateTime", "documentation":"

The date and time that the vocabulary filter was updated.

" } } }, "UpdateVocabularyRequest":{ "type":"structure", "required":[ "VocabularyName", "LanguageCode" ], "members":{ "VocabularyName":{ "shape":"VocabularyName", "documentation":"

The name of the vocabulary to update. The name is case-sensitive.

" }, "LanguageCode":{ "shape":"LanguageCode", "documentation":"

The language code of the vocabulary entries.

" }, "Phrases":{ "shape":"Phrases", "documentation":"

An array of strings containing the vocabulary entries.

" }, "VocabularyFileUri":{ "shape":"Uri", "documentation":"

The S3 location of the text file that contains the definition of the custom vocabulary. The URI must be in the same region as the API endpoint that you are calling. The general form is

https://s3.<aws-region>.amazonaws.com/<bucket-name>/<keyprefix>/<objectkey>

For example:

https://s3.us-east-1.amazonaws.com/examplebucket/vocab.txt

For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.

For more information about custom vocabularies, see Custom Vocabularies.

" } } }, "UpdateVocabularyResponse":{ "type":"structure", "members":{ "VocabularyName":{ "shape":"VocabularyName", "documentation":"

The name of the vocabulary that was updated.

" }, "LanguageCode":{ "shape":"LanguageCode", "documentation":"

The language code of the vocabulary entries.

" }, "LastModifiedTime":{ "shape":"DateTime", "documentation":"

The date and time that the vocabulary was updated.

" }, "VocabularyState":{ "shape":"VocabularyState", "documentation":"

The processing state of the vocabulary. When the VocabularyState field contains READY the vocabulary is ready to be used in a StartTranscriptionJob request.

" } } }, "Uri":{ "type":"string", "max":2000, "min":1, "pattern":"(s3://|http(s*)://).+" }, "Vocabularies":{ "type":"list", "member":{"shape":"VocabularyInfo"} }, "VocabularyFilterInfo":{ "type":"structure", "members":{ "VocabularyFilterName":{ "shape":"VocabularyFilterName", "documentation":"

The name of the vocabulary filter. The name must be unique in the account that holds the filter.

" }, "LanguageCode":{ "shape":"LanguageCode", "documentation":"

The language code of the words in the vocabulary filter.

" }, "LastModifiedTime":{ "shape":"DateTime", "documentation":"

The date and time that the vocabulary was last updated.

" } }, "documentation":"

Provides information about a vocabulary filter.

" }, "VocabularyFilterMethod":{ "type":"string", "enum":[ "remove", "mask" ] }, "VocabularyFilterName":{ "type":"string", "max":200, "min":1, "pattern":"^[0-9a-zA-Z._-]+" }, "VocabularyFilters":{ "type":"list", "member":{"shape":"VocabularyFilterInfo"} }, "VocabularyInfo":{ "type":"structure", "members":{ "VocabularyName":{ "shape":"VocabularyName", "documentation":"

The name of the vocabulary.

" }, "LanguageCode":{ "shape":"LanguageCode", "documentation":"

The language code of the vocabulary entries.

" }, "LastModifiedTime":{ "shape":"DateTime", "documentation":"

The date and time that the vocabulary was last modified.

" }, "VocabularyState":{ "shape":"VocabularyState", "documentation":"

The processing state of the vocabulary. If the state is READY you can use the vocabulary in a StartTranscriptionJob request.

" } }, "documentation":"

Provides information about a custom vocabulary.

" }, "VocabularyName":{ "type":"string", "max":200, "min":1, "pattern":"^[0-9a-zA-Z._-]+" }, "VocabularyState":{ "type":"string", "enum":[ "PENDING", "READY", "FAILED" ] }, "Word":{ "type":"string", "max":256, "min":1 }, "Words":{ "type":"list", "member":{"shape":"Word"}, "min":1 } }, "documentation":"

Operations and objects for transcribing speech to text.

" }