Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
Settings that determine when a clip begins and how long it lasts.
See: newTimeSpan
smart constructor.
TimeSpan' | |
|
Instances
Eq TimeSpan Source # | |
Read TimeSpan Source # | |
Show TimeSpan Source # | |
Generic TimeSpan Source # | |
NFData TimeSpan Source # | |
Defined in Amazonka.ElasticTranscoder.Types.TimeSpan | |
Hashable TimeSpan Source # | |
Defined in Amazonka.ElasticTranscoder.Types.TimeSpan | |
ToJSON TimeSpan Source # | |
Defined in Amazonka.ElasticTranscoder.Types.TimeSpan | |
FromJSON TimeSpan Source # | |
type Rep TimeSpan Source # | |
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.