You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::TranscribeService::Types::StartTranscriptionJobRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing StartTranscriptionJobRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  transcription_job_name: "TranscriptionJobName", # required
  language_code: "en-US", # required, accepts en-US, es-US
  media_sample_rate_hertz: 1,
  media_format: "mp3", # required, accepts mp3, mp4, wav, flac
  media: { # required
    media_file_uri: "Uri",
  },
  output_bucket_name: "OutputBucketName",
  settings: {
    vocabulary_name: "VocabularyName",
    show_speaker_labels: false,
    max_speaker_labels: 1,
    channel_identification: false,
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#language_codeString

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

Possible values:

  • en-US
  • es-US

Returns:

  • (String)

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

#mediaTypes::Media

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

Returns:

  • (Types::Media)

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

#media_formatString

The format of the input media file.

Possible values:

  • mp3
  • mp4
  • wav
  • flac

Returns:

  • (String)

    The format of the input media file.

#media_sample_rate_hertzInteger

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

Returns:

  • (Integer)

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

#output_bucket_nameString

The location where the transcription is stored.

If you set the OutputBucketName, Amazon Transcribe puts the transcription in the specified S3 bucket. When you call the GetTranscriptionJob operation, the operation returns this location in the TranscriptFileUri field. 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.

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.

Returns:

  • (String)

    The location where the transcription is stored.

#settingsTypes::Settings

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

Returns:

  • (Types::Settings)

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

#transcription_job_nameString

The name of the job. You can\'t use the strings \".\" or \"..\" in the job name. The name must be unique within an AWS account.

Returns:

  • (String)

    The name of the job.