Builder

class Builder

Properties

Link copied to clipboard

Makes it possible to redact or flag specified personally identifiable information (PII) in your transcript. If you use ContentRedaction, you must also include the sub-parameters: RedactionOutput and RedactionType. You can optionally include PiiEntityTypes to choose which types of PII you want to redact. If you do not include PiiEntityTypes in your request, all PII is redacted.

Link copied to clipboard

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 IdentifyMultipleLanguages instead.

Link copied to clipboard

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 IdentifyLanguage instead.

Link copied to clipboard

Makes it possible to control how your transcription job is processed. Currently, the only JobExecutionSettings modification you can choose is enabling job queueing using the AllowDeferredExecution sub-parameter.

Link copied to clipboard

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.

Link copied to clipboard

The language code that represents the language spoken in the input media file.

Link copied to clipboard

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 LanguageIdSettings with the relevant sub-parameters (VocabularyName, LanguageModelName, and VocabularyFilterName). Note that multi-language identification (IdentifyMultipleLanguages) doesn't support custom language models.

Link copied to clipboard

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.

Link copied to clipboard
var media: Media?

Describes the Amazon S3 location of the media file you want to use in your request.

Link copied to clipboard

Specify the format of your input media file.

Link copied to clipboard

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

Link copied to clipboard

Specify the custom language model you want to include with your transcription job. If you include ModelSettings in your request, you must include the LanguageModelName sub-parameter.

Link copied to clipboard

The name of the Amazon S3 bucket where you want your transcription output stored. Do not include the S3:// prefix of the specified bucket.

Link copied to clipboard

The KMS key you want to use to encrypt your transcription output.

Link copied to clipboard

Use in combination with OutputBucketName to specify the output location of your transcript and, optionally, a unique name for your output file. The default name for your transcription output is the same as the name you specified for your transcription job (TranscriptionJobName).

Link copied to clipboard

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.

Link copied to clipboard

Produces subtitle files for your input media. You can specify WebVTT (.vtt) and SubRip (.srt) formats.

Link copied to clipboard
var tags: List<Tag>?

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.

Link copied to clipboard

Enables toxic speech detection in your transcript. If you include ToxicityDetection in your request, you must also include ToxicityCategories.

Link copied to clipboard

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 OutputKey parameter.

Functions

Link copied to clipboard
fun media(block: Media.Builder.() -> Unit)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard