Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StartTranscriptionJobCommand

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 don't know the languages spoken in your media, use either IdentifyLanguage or IdentifyMultipleLanguages and let Amazon Transcribe identify the languages for you.

example

Use a bare-bones client and the command you need to make an API call.

import { TranscribeClient, StartTranscriptionJobCommand } from "@aws-sdk/client-transcribe"; // ES Modules import
// const { TranscribeClient, StartTranscriptionJobCommand } = require("@aws-sdk/client-transcribe"); // CommonJS import
const client = new TranscribeClient(config);
const command = new StartTranscriptionJobCommand(input);
const response = await client.send(command);
see

StartTranscriptionJobCommandInput for command's input shape.

see

StartTranscriptionJobCommandOutput for command's response shape.

see

config for TranscribeClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: StartTranscriptionJobCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions