AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the StartTranscriptionJob operation. Transcribes the audio from a media file and applies any additional Request Parameters you choose to include in your request.
To make a StartTranscriptionJob
request, you must first upload your media file
into an Amazon S3 bucket; you can then specify the Amazon S3 location of the file
using the Media
parameter.
You must include the following parameters in your StartTranscriptionJob
request:
region
: The Amazon Web Services Region where you are making your request.
For a list of Amazon Web Services Regions supported with Amazon Transcribe, refer
to Amazon
Transcribe endpoints and quotas.
TranscriptionJobName
: A custom name you create for your transcription job
that is unique within your Amazon Web Services account.
Media
(MediaFileUri
): The Amazon S3 location of your media file.
One of LanguageCode
, IdentifyLanguage
, or IdentifyMultipleLanguages
:
If you know the language of your media file, specify it using the LanguageCode
parameter; you can find all valid language codes in the Supported
languages table. If you do not know the languages spoken in your media, use either
IdentifyLanguage
or IdentifyMultipleLanguages
and let Amazon Transcribe
identify the languages for you.
Namespace: Amazon.TranscribeService.Model
Assembly: AWSSDK.TranscribeService.dll
Version: 3.x.y.z
public class StartTranscriptionJobRequest : AmazonTranscribeServiceRequest IAmazonWebServiceRequest
The StartTranscriptionJobRequest type exposes the following members
Name | Description | |
---|---|---|
StartTranscriptionJobRequest() |
Name | Type | Description | |
---|---|---|---|
ContentRedaction | Amazon.TranscribeService.Model.ContentRedaction |
Gets and sets the property ContentRedaction.
Makes it possible to redact or flag specified personally identifiable information
(PII) in your transcript. If you use |
|
IdentifyLanguage | System.Boolean |
Gets and sets the property IdentifyLanguage.
Enables automatic language identification in your transcription job request. Use this
parameter if your media file contains only one language. If your media contains multiple
languages, use
If you include
If you want to apply a custom language model, a custom vocabulary, or a custom vocabulary
filter to your automatic language identification request, include
Note that you must include one of |
|
IdentifyMultipleLanguages | System.Boolean |
Gets and sets the property IdentifyMultipleLanguages.
Enables automatic multi-language identification in your transcription job request.
Use this parameter if your media file contains more than one language. If your media
contains only one language, use
If you include
If you want to apply a custom vocabulary or a custom vocabulary filter to your automatic
language identification request, include
Note that you must include one of |
|
JobExecutionSettings | Amazon.TranscribeService.Model.JobExecutionSettings |
Gets and sets the property JobExecutionSettings.
Makes it possible to control how your transcription job is processed. Currently, the
only
If you include |
|
KMSEncryptionContext | System.Collections.Generic.Dictionary<System.String, System.String> |
Gets and sets the property KMSEncryptionContext. A map of plain text, non-secret key:value pairs, known as encryption context pairs, that provide an added layer of security for your data. For more information, see KMS encryption context and Asymmetric keys in KMS. |
|
LanguageCode | Amazon.TranscribeService.LanguageCode |
Gets and sets the property LanguageCode. The language code that represents the language spoken in the input media file.
If you're unsure of the language spoken in your media file, consider using
Note that you must include one of For a list of supported languages and their associated language codes, refer to the Supported languages table.
To transcribe speech in Modern Standard Arabic ( |
|
LanguageIdSettings | System.Collections.Generic.Dictionary<System.String, Amazon.TranscribeService.Model.LanguageIdSettings> |
Gets and sets the property LanguageIdSettings.
If using automatic language identification in your request and you want to apply a
custom language model, a custom vocabulary, or a custom vocabulary filter, include
It's recommended that you include
If you want to include a custom language model with your request but do not
want to use automatic language identification, use instead the |
|
LanguageOptions | System.Collections.Generic.List<System.String> |
Gets and sets the property LanguageOptions. You can specify two or more language codes that represent the languages you think may be present in your media. Including more than five is not recommended. If you're unsure what languages are present, do not include this parameter.
If you include For more information, refer to Supported languages.
To transcribe speech in Modern Standard Arabic ( |
|
Media | Amazon.TranscribeService.Model.Media |
Gets and sets the property Media. Describes the Amazon S3 location of the media file you want to use in your request. |
|
MediaFormat | Amazon.TranscribeService.MediaFormat |
Gets and sets the property MediaFormat. Specify the format of your input media file. |
|
MediaSampleRateHertz | System.Int32 |
Gets and sets the property MediaSampleRateHertz. The sample rate, in hertz, of the audio track in your input media file.
If you do not specify the media sample rate, Amazon Transcribe determines it for you.
If you specify the sample rate, it must match the rate detected by Amazon Transcribe.
If there's a mismatch between the value that you specify and the value detected, your
job fails. In most cases, you can omit |
|
ModelSettings | Amazon.TranscribeService.Model.ModelSettings |
Gets and sets the property ModelSettings.
Specify the custom language model you want to include with your transcription job.
If you include For more information, see Custom language models. |
|
OutputBucketName | System.String |
Gets and sets the property OutputBucketName.
The name of the Amazon S3 bucket where you want your transcription output stored.
Do not include the
If you want your output to go to a sub-folder of this bucket, specify it using the
For example, if you want your output stored in Note that Amazon Transcribe must have permission to use the specified location. You can change Amazon S3 permissions using the Amazon Web Services Management Console. See also Permissions Required for IAM User Roles.
If you do not specify |
|
OutputEncryptionKMSKeyId | System.String |
Gets and sets the property OutputEncryptionKMSKeyId. The KMS key you want to use to encrypt your transcription output. If using a key located in the current Amazon Web Services account, you can specify your KMS key in one of four ways:
If using a key located in a different Amazon Web Services account than the current Amazon Web Services account, you can specify your KMS key in one of two ways:
If you do not specify an encryption key, your output 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
using the Note that the role making the request must have permission to use the specified KMS key. |
|
OutputKey | System.String |
Gets and sets the property OutputKey.
Use in combination with
Here are some examples of how you can use
If you specify the name of an Amazon S3 bucket sub-folder that doesn't exist, one is created for you. |
|
Settings | Amazon.TranscribeService.Model.Settings |
Gets and sets the property Settings. Specify additional optional settings in your request, including channel identification, alternative transcriptions, speaker partitioning. You can use that to apply custom vocabularies and vocabulary filters.
If you want to include a custom vocabulary or a custom vocabulary filter (or both)
with your request but do not want to use automatic language identification,
use
If you're using automatic language identification with your request and want to include
a custom language model, a custom vocabulary, or a custom vocabulary filter, use instead
the |
|
Subtitles | Amazon.TranscribeService.Model.Subtitles |
Gets and sets the property Subtitles. Produces subtitle files for your input media. You can specify WebVTT (*.vtt) and SubRip (*.srt) formats. |
|
Tags | System.Collections.Generic.List<Amazon.TranscribeService.Model.Tag> |
Gets and sets the property Tags. Adds one or more custom tags, each in the form of a key:value pair, to a new transcription job at the time you start this new job. To learn more about using tags with Amazon Transcribe, refer to Tagging resources. |
|
ToxicityDetection | System.Collections.Generic.List<Amazon.TranscribeService.Model.ToxicityDetectionSettings> |
Gets and sets the property ToxicityDetection.
Enables toxic speech detection in your transcript. If you include For information on the types of toxic speech Amazon Transcribe can detect, see Detecting toxic speech. |
|
TranscriptionJobName | System.String |
Gets and sets the property TranscriptionJobName.
A unique name, chosen by you, for your transcription job. The name that you specify
is also used as the default name of your transcription output file. If you want to
specify a different name for your transcription output, use the
This name is case sensitive, cannot contain spaces, and must be unique within an Amazon
Web Services account. If you try to create a new job with the same name as an existing
job, you get a |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5