Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data AbsoluteTimeRange = AbsoluteTimeRange' {}
- newAbsoluteTimeRange :: AbsoluteTimeRange
- absoluteTimeRange_endTime :: Lens' AbsoluteTimeRange (Maybe Natural)
- absoluteTimeRange_first :: Lens' AbsoluteTimeRange (Maybe Natural)
- absoluteTimeRange_last :: Lens' AbsoluteTimeRange (Maybe Natural)
- absoluteTimeRange_startTime :: Lens' AbsoluteTimeRange (Maybe Natural)
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.
AbsoluteTimeRange' | |
|
Instances
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
.