libZSservicesZSamazonka-transcribeZSamazonka-transcribe
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Transcribe.Types.TranscriptionJob

Description

 
Synopsis

Documentation

data TranscriptionJob Source #

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

See: newTranscriptionJob smart constructor.

Constructors

TranscriptionJob' 

Fields

  • creationTime :: Maybe POSIX

    A timestamp that shows when the job was created.

  • failureReason :: Maybe Text

    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:

    • Unsupported media format - The media format specified in the MediaFormat field of the request isn't valid. See the description of the MediaFormat field for a list of valid values.
    • The media format provided does not match the detected media format
    • The media format of the audio file doesn't match the format specified in the MediaFormat field in the request. Check the media format of your media file and make sure that the two values match.
    • Invalid sample rate for audio file - The sample rate specified in the MediaSampleRateHertz of the request isn't valid. The sample rate must be between 8,000 and 48,000 Hertz.
    • The sample rate provided does not match the detected sample rate - The sample rate in the audio file doesn't match the sample rate specified in the MediaSampleRateHertz field in the request. Check the sample rate of your media file and make sure that the two values match.
    • Invalid file size: file size too large - The size of your audio file is larger than Amazon Transcribe can process. For more information, see Limits in the Amazon Transcribe Developer Guide.
    • Invalid number of channels: number of channels too large - Your audio contains more channels than Amazon Transcribe is configured to process. To request additional channels, see Amazon Transcribe Limits in the Amazon Web Services General Reference.
  • contentRedaction :: Maybe ContentRedaction

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

  • identifiedLanguageScore :: Maybe Double

    A value between zero and one that Amazon Transcribe assigned to the language that it identified in the source audio. Larger values indicate that Amazon Transcribe has higher confidence in the language it identified.

  • subtitles :: Maybe SubtitlesOutput

    Generate subtitles for your batch transcription job.

  • languageCode :: Maybe LanguageCode

    The language code for the input speech.

  • languageOptions :: Maybe (NonEmpty LanguageCode)

    An object that shows the optional array of languages inputted for transcription jobs with automatic language identification enabled.

  • settings :: Maybe Settings

    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.

  • startTime :: Maybe POSIX

    A timestamp that shows when the job started processing.

  • completionTime :: Maybe POSIX

    A timestamp that shows when the job completed.

  • media :: Maybe Media

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

  • mediaFormat :: Maybe MediaFormat

    The format of the input media file.

  • modelSettings :: Maybe ModelSettings

    An object containing the details of your custom language model.

  • transcriptionJobStatus :: Maybe TranscriptionJobStatus

    The status of the transcription job.

  • jobExecutionSettings :: Maybe JobExecutionSettings

    Provides information about how a transcription job is executed.

  • transcriptionJobName :: Maybe Text

    The name of the transcription job.

  • identifyLanguage :: Maybe Bool

    A value that shows if automatic language identification was enabled for a transcription job.

  • transcript :: Maybe Transcript

    An object that describes the output of the transcription job.

  • tags :: Maybe (NonEmpty Tag)

    A key:value pair assigned to a given transcription job.

  • mediaSampleRateHertz :: Maybe Natural

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

Instances

Instances details
Eq TranscriptionJob Source # 
Instance details

Defined in Amazonka.Transcribe.Types.TranscriptionJob

Read TranscriptionJob Source # 
Instance details

Defined in Amazonka.Transcribe.Types.TranscriptionJob

Show TranscriptionJob Source # 
Instance details

Defined in Amazonka.Transcribe.Types.TranscriptionJob

Generic TranscriptionJob Source # 
Instance details

Defined in Amazonka.Transcribe.Types.TranscriptionJob

Associated Types

type Rep TranscriptionJob :: Type -> Type #

NFData TranscriptionJob Source # 
Instance details

Defined in Amazonka.Transcribe.Types.TranscriptionJob

Methods

rnf :: TranscriptionJob -> () #

Hashable TranscriptionJob Source # 
Instance details

Defined in Amazonka.Transcribe.Types.TranscriptionJob

FromJSON TranscriptionJob Source # 
Instance details

Defined in Amazonka.Transcribe.Types.TranscriptionJob

type Rep TranscriptionJob Source # 
Instance details

Defined in Amazonka.Transcribe.Types.TranscriptionJob

type Rep TranscriptionJob = D1 ('MetaData "TranscriptionJob" "Amazonka.Transcribe.Types.TranscriptionJob" "libZSservicesZSamazonka-transcribeZSamazonka-transcribe" 'False) (C1 ('MetaCons "TranscriptionJob'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "failureReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "contentRedaction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContentRedaction)) :*: (S1 ('MetaSel ('Just "identifiedLanguageScore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "subtitles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SubtitlesOutput))))) :*: ((S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LanguageCode)) :*: S1 ('MetaSel ('Just "languageOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty LanguageCode)))) :*: (S1 ('MetaSel ('Just "settings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Settings)) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "completionTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))) :*: (((S1 ('MetaSel ('Just "media") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Media)) :*: S1 ('MetaSel ('Just "mediaFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MediaFormat))) :*: (S1 ('MetaSel ('Just "modelSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ModelSettings)) :*: (S1 ('MetaSel ('Just "transcriptionJobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TranscriptionJobStatus)) :*: S1 ('MetaSel ('Just "jobExecutionSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobExecutionSettings))))) :*: ((S1 ('MetaSel ('Just "transcriptionJobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "identifyLanguage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "transcript") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Transcript)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Tag))) :*: S1 ('MetaSel ('Just "mediaSampleRateHertz") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))))))

newTranscriptionJob :: TranscriptionJob Source #

Create a value of TranscriptionJob with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:creationTime:TranscriptionJob', transcriptionJob_creationTime - A timestamp that shows when the job was created.

$sel:failureReason:TranscriptionJob', transcriptionJob_failureReason - 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:

  • Unsupported media format - The media format specified in the MediaFormat field of the request isn't valid. See the description of the MediaFormat field for a list of valid values.
  • The media format provided does not match the detected media format
  • The media format of the audio file doesn't match the format specified in the MediaFormat field in the request. Check the media format of your media file and make sure that the two values match.
  • Invalid sample rate for audio file - The sample rate specified in the MediaSampleRateHertz of the request isn't valid. The sample rate must be between 8,000 and 48,000 Hertz.
  • The sample rate provided does not match the detected sample rate - The sample rate in the audio file doesn't match the sample rate specified in the MediaSampleRateHertz field in the request. Check the sample rate of your media file and make sure that the two values match.
  • Invalid file size: file size too large - The size of your audio file is larger than Amazon Transcribe can process. For more information, see Limits in the Amazon Transcribe Developer Guide.
  • Invalid number of channels: number of channels too large - Your audio contains more channels than Amazon Transcribe is configured to process. To request additional channels, see Amazon Transcribe Limits in the Amazon Web Services General Reference.

$sel:contentRedaction:TranscriptionJob', transcriptionJob_contentRedaction - An object that describes content redaction settings for the transcription job.

$sel:identifiedLanguageScore:TranscriptionJob', transcriptionJob_identifiedLanguageScore - A value between zero and one that Amazon Transcribe assigned to the language that it identified in the source audio. Larger values indicate that Amazon Transcribe has higher confidence in the language it identified.

$sel:subtitles:TranscriptionJob', transcriptionJob_subtitles - Generate subtitles for your batch transcription job.

$sel:languageCode:TranscriptionJob', transcriptionJob_languageCode - The language code for the input speech.

$sel:languageOptions:TranscriptionJob', transcriptionJob_languageOptions - An object that shows the optional array of languages inputted for transcription jobs with automatic language identification enabled.

$sel:settings:TranscriptionJob', transcriptionJob_settings - 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.

$sel:startTime:TranscriptionJob', transcriptionJob_startTime - A timestamp that shows when the job started processing.

$sel:completionTime:TranscriptionJob', transcriptionJob_completionTime - A timestamp that shows when the job completed.

$sel:media:TranscriptionJob', transcriptionJob_media - An object that describes the input media for the transcription job.

$sel:mediaFormat:TranscriptionJob', transcriptionJob_mediaFormat - The format of the input media file.

$sel:modelSettings:TranscriptionJob', transcriptionJob_modelSettings - An object containing the details of your custom language model.

$sel:transcriptionJobStatus:TranscriptionJob', transcriptionJob_transcriptionJobStatus - The status of the transcription job.

$sel:jobExecutionSettings:TranscriptionJob', transcriptionJob_jobExecutionSettings - Provides information about how a transcription job is executed.

$sel:transcriptionJobName:TranscriptionJob', transcriptionJob_transcriptionJobName - The name of the transcription job.

$sel:identifyLanguage:TranscriptionJob', transcriptionJob_identifyLanguage - A value that shows if automatic language identification was enabled for a transcription job.

$sel:transcript:TranscriptionJob', transcriptionJob_transcript - An object that describes the output of the transcription job.

$sel:tags:TranscriptionJob', transcriptionJob_tags - A key:value pair assigned to a given transcription job.

$sel:mediaSampleRateHertz:TranscriptionJob', transcriptionJob_mediaSampleRateHertz - The sample rate, in Hertz, of the audio track in the input media file.

transcriptionJob_creationTime :: Lens' TranscriptionJob (Maybe UTCTime) Source #

A timestamp that shows when the job was created.

transcriptionJob_failureReason :: Lens' TranscriptionJob (Maybe Text) Source #

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:

  • Unsupported media format - The media format specified in the MediaFormat field of the request isn't valid. See the description of the MediaFormat field for a list of valid values.
  • The media format provided does not match the detected media format
  • The media format of the audio file doesn't match the format specified in the MediaFormat field in the request. Check the media format of your media file and make sure that the two values match.
  • Invalid sample rate for audio file - The sample rate specified in the MediaSampleRateHertz of the request isn't valid. The sample rate must be between 8,000 and 48,000 Hertz.
  • The sample rate provided does not match the detected sample rate - The sample rate in the audio file doesn't match the sample rate specified in the MediaSampleRateHertz field in the request. Check the sample rate of your media file and make sure that the two values match.
  • Invalid file size: file size too large - The size of your audio file is larger than Amazon Transcribe can process. For more information, see Limits in the Amazon Transcribe Developer Guide.
  • Invalid number of channels: number of channels too large - Your audio contains more channels than Amazon Transcribe is configured to process. To request additional channels, see Amazon Transcribe Limits in the Amazon Web Services General Reference.

transcriptionJob_contentRedaction :: Lens' TranscriptionJob (Maybe ContentRedaction) Source #

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

transcriptionJob_identifiedLanguageScore :: Lens' TranscriptionJob (Maybe Double) Source #

A value between zero and one that Amazon Transcribe assigned to the language that it identified in the source audio. Larger values indicate that Amazon Transcribe has higher confidence in the language it identified.

transcriptionJob_subtitles :: Lens' TranscriptionJob (Maybe SubtitlesOutput) Source #

Generate subtitles for your batch transcription job.

transcriptionJob_languageCode :: Lens' TranscriptionJob (Maybe LanguageCode) Source #

The language code for the input speech.

transcriptionJob_languageOptions :: Lens' TranscriptionJob (Maybe (NonEmpty LanguageCode)) Source #

An object that shows the optional array of languages inputted for transcription jobs with automatic language identification enabled.

transcriptionJob_settings :: Lens' TranscriptionJob (Maybe Settings) Source #

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.

transcriptionJob_startTime :: Lens' TranscriptionJob (Maybe UTCTime) Source #

A timestamp that shows when the job started processing.

transcriptionJob_completionTime :: Lens' TranscriptionJob (Maybe UTCTime) Source #

A timestamp that shows when the job completed.

transcriptionJob_media :: Lens' TranscriptionJob (Maybe Media) Source #

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

transcriptionJob_modelSettings :: Lens' TranscriptionJob (Maybe ModelSettings) Source #

An object containing the details of your custom language model.

transcriptionJob_jobExecutionSettings :: Lens' TranscriptionJob (Maybe JobExecutionSettings) Source #

Provides information about how a transcription job is executed.

transcriptionJob_identifyLanguage :: Lens' TranscriptionJob (Maybe Bool) Source #

A value that shows if automatic language identification was enabled for a transcription job.

transcriptionJob_transcript :: Lens' TranscriptionJob (Maybe Transcript) Source #

An object that describes the output of the transcription job.

transcriptionJob_tags :: Lens' TranscriptionJob (Maybe (NonEmpty Tag)) Source #

A key:value pair assigned to a given transcription job.

transcriptionJob_mediaSampleRateHertz :: Lens' TranscriptionJob (Maybe Natural) Source #

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