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.AbsoluteTimeRange

Description

 
Synopsis

Documentation

data AbsoluteTimeRange Source #

A time range, set in seconds, between two points in the call.

See: newAbsoluteTimeRange smart constructor.

Constructors

AbsoluteTimeRange' 

Fields

  • first :: Maybe Natural

    A time range from the beginning of the call to the value that you've specified. For example, if you specify 100000, the time range is set to the first 100,000 milliseconds of the call.

  • startTime :: Maybe Natural

    A value that indicates the beginning of the time range in seconds. To set absolute time range, you must specify a start time and an end time. For example, if you specify the following values:

    • StartTime - 10000
    • Endtime - 50000

    The time range is set between 10,000 milliseconds and 50,000 milliseconds into the call.

  • last :: Maybe Natural

    A time range from the value that you've specified to the end of the call. For example, if you specify 100000, the time range is set to the last 100,000 milliseconds of the call.

  • endTime :: Maybe Natural

    A value that indicates the end of the time range in milliseconds. To set absolute time range, you must specify a start time and an end time. For example, if you specify the following values:

    • StartTime - 10000
    • Endtime - 50000

    The time range is set between 10,000 milliseconds and 50,000 milliseconds into the call.

Instances

Instances details
Eq AbsoluteTimeRange Source # 
Instance details

Defined in Amazonka.Transcribe.Types.AbsoluteTimeRange

Read AbsoluteTimeRange Source # 
Instance details

Defined in Amazonka.Transcribe.Types.AbsoluteTimeRange

Show 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 #

NFData AbsoluteTimeRange Source # 
Instance details

Defined in Amazonka.Transcribe.Types.AbsoluteTimeRange

Methods

rnf :: AbsoluteTimeRange -> () #

Hashable AbsoluteTimeRange Source # 
Instance details

Defined in Amazonka.Transcribe.Types.AbsoluteTimeRange

ToJSON AbsoluteTimeRange Source # 
Instance details

Defined in Amazonka.Transcribe.Types.AbsoluteTimeRange

FromJSON 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" "libZSservicesZSamazonka-transcribeZSamazonka-transcribe" 'False) (C1 ('MetaCons "AbsoluteTimeRange'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "first") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "last") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "endTime") '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:first:AbsoluteTimeRange', absoluteTimeRange_first - A time range from the beginning of the call to the value that you've specified. For example, if you specify 100000, the time range is set to the first 100,000 milliseconds of the call.

$sel:startTime:AbsoluteTimeRange', absoluteTimeRange_startTime - A value that indicates the beginning of the time range in seconds. To set absolute time range, you must specify a start time and an end time. For example, if you specify the following values:

  • StartTime - 10000
  • Endtime - 50000

The time range is set between 10,000 milliseconds and 50,000 milliseconds into the call.

$sel:last:AbsoluteTimeRange', absoluteTimeRange_last - A time range from the value that you've specified to the end of the call. For example, if you specify 100000, the time range is set to the last 100,000 milliseconds of the call.

$sel:endTime:AbsoluteTimeRange', absoluteTimeRange_endTime - A value that indicates the end of the time range in milliseconds. To set absolute time range, you must specify a start time and an end time. For example, if you specify the following values:

  • StartTime - 10000
  • Endtime - 50000

The time range is set between 10,000 milliseconds and 50,000 milliseconds into the call.

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

A time range from the beginning of the call to the value that you've specified. For example, if you specify 100000, the time range is set to the first 100,000 milliseconds of the call.

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

A value that indicates the beginning of the time range in seconds. To set absolute time range, you must specify a start time and an end time. For example, if you specify the following values:

  • StartTime - 10000
  • Endtime - 50000

The time range is set between 10,000 milliseconds and 50,000 milliseconds into the call.

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

A time range from the value that you've specified to the end of the call. For example, if you specify 100000, the time range is set to the last 100,000 milliseconds of the call.

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

A value that indicates the end of the time range in milliseconds. To set absolute time range, you must specify a start time and an end time. For example, if you specify the following values:

  • StartTime - 10000
  • Endtime - 50000

The time range is set between 10,000 milliseconds and 50,000 milliseconds into the call.