libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder
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.ElasticTranscoder.Types.TimeSpan

Description

 
Synopsis

Documentation

data TimeSpan Source #

Settings that determine when a clip begins and how long it lasts.

See: newTimeSpan smart constructor.

Constructors

TimeSpan' 

Fields

  • startTime :: Maybe Text

    The place in the input file where you want a clip to start. The format can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, Elastic Transcoder starts at the beginning of the input file.

  • duration :: Maybe Text

    The duration of the clip. The format can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, Elastic Transcoder creates an output file from StartTime to the end of the file.

    If you specify a value longer than the duration of the input file, Elastic Transcoder transcodes the file and returns a warning message.

Instances

Instances details
Eq TimeSpan Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.TimeSpan

Read TimeSpan Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.TimeSpan

Show TimeSpan Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.TimeSpan

Generic TimeSpan Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.TimeSpan

Associated Types

type Rep TimeSpan :: Type -> Type #

Methods

from :: TimeSpan -> Rep TimeSpan x #

to :: Rep TimeSpan x -> TimeSpan #

NFData TimeSpan Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.TimeSpan

Methods

rnf :: TimeSpan -> () #

Hashable TimeSpan Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.TimeSpan

Methods

hashWithSalt :: Int -> TimeSpan -> Int #

hash :: TimeSpan -> Int #

ToJSON TimeSpan Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.TimeSpan

FromJSON TimeSpan Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.TimeSpan

type Rep TimeSpan Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.TimeSpan

type Rep TimeSpan = D1 ('MetaData "TimeSpan" "Amazonka.ElasticTranscoder.Types.TimeSpan" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "TimeSpan'" 'PrefixI 'True) (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "duration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newTimeSpan :: TimeSpan Source #

Create a value of TimeSpan 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:startTime:TimeSpan', timeSpan_startTime - The place in the input file where you want a clip to start. The format can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, Elastic Transcoder starts at the beginning of the input file.

$sel:duration:TimeSpan', timeSpan_duration - The duration of the clip. The format can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, Elastic Transcoder creates an output file from StartTime to the end of the file.

If you specify a value longer than the duration of the input file, Elastic Transcoder transcodes the file and returns a warning message.

timeSpan_startTime :: Lens' TimeSpan (Maybe Text) Source #

The place in the input file where you want a clip to start. The format can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, Elastic Transcoder starts at the beginning of the input file.

timeSpan_duration :: Lens' TimeSpan (Maybe Text) Source #

The duration of the clip. The format can be either HH:mm:ss.SSS (maximum value: 23:59:59.999; SSS is thousandths of a second) or sssss.SSS (maximum value: 86399.999). If you don't specify a value, Elastic Transcoder creates an output file from StartTime to the end of the file.

If you specify a value longer than the duration of the input file, Elastic Transcoder transcodes the file and returns a warning message.