amazonka-transcribe-2.0: Amazon Transcribe Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Transcribe.Types.AbsoluteTimeRange

Description

 
Synopsis

Documentation

data AbsoluteTimeRange Source #

A time range, in milliseconds, between two points in your media file.

You can use StartTime and EndTime to search a custom segment. For example, setting StartTime to 10000 and EndTime to 50000 only searches for your specified criteria in the audio contained between the 10,000 millisecond mark and the 50,000 millisecond mark of your media file. You must use StartTime and EndTime as a set; that is, if you include one, you must include both.

You can use also First to search from the start of the audio until the time that you specify, or Last to search from the time that you specify until the end of the audio. For example, setting First to 50000 only searches for your specified criteria in the audio contained between the start of the media file to the 50,000 millisecond mark. You can use First and Last independently of each other.

If you prefer to use percentage instead of milliseconds, see .

See: newAbsoluteTimeRange smart constructor.

Constructors

AbsoluteTimeRange' 

Fields

  • endTime :: Maybe Natural

    The time, in milliseconds, when Amazon Transcribe stops searching for the specified criteria in your audio. If you include EndTime in your request, you must also include StartTime.

  • first :: Maybe Natural

    The time, in milliseconds, from the start of your media file until the specified value. Amazon Transcribe searches for your specified criteria in this time segment.

  • last :: Maybe Natural

    The time, in milliseconds, from the specified value until the end of your media file. Amazon Transcribe searches for your specified criteria in this time segment.

  • startTime :: Maybe Natural

    The time, in milliseconds, when Amazon Transcribe starts searching for the specified criteria in your audio. If you include StartTime in your request, you must also include EndTime.

Instances

Instances details
FromJSON AbsoluteTimeRange Source # 
Instance details

Defined in Amazonka.Transcribe.Types.AbsoluteTimeRange

ToJSON AbsoluteTimeRange Source # 
Instance details

Defined in Amazonka.Transcribe.Types.AbsoluteTimeRange

Generic AbsoluteTimeRange Source # 
Instance details

Defined in Amazonka.Transcribe.Types.AbsoluteTimeRange

Associated Types

type Rep AbsoluteTimeRange :: Type -> Type #

Read AbsoluteTimeRange Source # 
Instance details

Defined in Amazonka.Transcribe.Types.AbsoluteTimeRange

Show AbsoluteTimeRange Source # 
Instance details

Defined in Amazonka.Transcribe.Types.AbsoluteTimeRange

NFData AbsoluteTimeRange Source # 
Instance details

Defined in Amazonka.Transcribe.Types.AbsoluteTimeRange

Methods

rnf :: AbsoluteTimeRange -> () #

Eq AbsoluteTimeRange Source # 
Instance details

Defined in Amazonka.Transcribe.Types.AbsoluteTimeRange

Hashable AbsoluteTimeRange Source # 
Instance details

Defined in Amazonka.Transcribe.Types.AbsoluteTimeRange

type Rep AbsoluteTimeRange Source # 
Instance details

Defined in Amazonka.Transcribe.Types.AbsoluteTimeRange

type Rep AbsoluteTimeRange = D1 ('MetaData "AbsoluteTimeRange" "Amazonka.Transcribe.Types.AbsoluteTimeRange" "amazonka-transcribe-2.0-4BjJqzwmm0K94bsEMe1tnF" 'False) (C1 ('MetaCons "AbsoluteTimeRange'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "first") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "last") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))

newAbsoluteTimeRange :: AbsoluteTimeRange Source #

Create a value of AbsoluteTimeRange 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:endTime:AbsoluteTimeRange', absoluteTimeRange_endTime - The time, in milliseconds, when Amazon Transcribe stops searching for the specified criteria in your audio. If you include EndTime in your request, you must also include StartTime.

$sel:first:AbsoluteTimeRange', absoluteTimeRange_first - The time, in milliseconds, from the start of your media file until the specified value. Amazon Transcribe searches for your specified criteria in this time segment.

$sel:last:AbsoluteTimeRange', absoluteTimeRange_last - The time, in milliseconds, from the specified value until the end of your media file. Amazon Transcribe searches for your specified criteria in this time segment.

$sel:startTime:AbsoluteTimeRange', absoluteTimeRange_startTime - The time, in milliseconds, when Amazon Transcribe starts searching for the specified criteria in your audio. If you include StartTime in your request, you must also include EndTime.

absoluteTimeRange_endTime :: Lens' AbsoluteTimeRange (Maybe Natural) Source #

The time, in milliseconds, when Amazon Transcribe stops searching for the specified criteria in your audio. If you include EndTime in your request, you must also include StartTime.

absoluteTimeRange_first :: Lens' AbsoluteTimeRange (Maybe Natural) Source #

The time, in milliseconds, from the start of your media file until the specified value. Amazon Transcribe searches for your specified criteria in this time segment.

absoluteTimeRange_last :: Lens' AbsoluteTimeRange (Maybe Natural) Source #

The time, in milliseconds, from the specified value until the end of your media file. Amazon Transcribe searches for your specified criteria in this time segment.

absoluteTimeRange_startTime :: Lens' AbsoluteTimeRange (Maybe Natural) Source #

The time, in milliseconds, when Amazon Transcribe starts searching for the specified criteria in your audio. If you include StartTime in your request, you must also include EndTime.