| 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 |
Amazonka.Transcribe.Types.RelativeTimeRange
Description
Synopsis
- data RelativeTimeRange = RelativeTimeRange' {}
- newRelativeTimeRange :: RelativeTimeRange
- relativeTimeRange_endPercentage :: Lens' RelativeTimeRange (Maybe Natural)
- relativeTimeRange_first :: Lens' RelativeTimeRange (Maybe Natural)
- relativeTimeRange_last :: Lens' RelativeTimeRange (Maybe Natural)
- relativeTimeRange_startPercentage :: Lens' RelativeTimeRange (Maybe Natural)
Documentation
data RelativeTimeRange Source #
A time range, in percentage, between two points in your media file.
You can use StartPercentage and EndPercentage to search a custom
segment. For example, setting StartPercentage to 10 and
EndPercentage to 50 only searches for your specified criteria in the
audio contained between the 10 percent mark and the 50 percent mark of
your media file.
You can use also First to search from the start of the media file
until the time that you specify. Or use Last to search from the time
that you specify until the end of the media file. For example, setting
First to 10 only searches for your specified criteria in the audio
contained in the first 10 percent of the media file.
If you prefer to use milliseconds instead of percentage, see .
See: newRelativeTimeRange smart constructor.
Constructors
| RelativeTimeRange' | |
Fields
| |
Instances
newRelativeTimeRange :: RelativeTimeRange Source #
Create a value of RelativeTimeRange 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:endPercentage:RelativeTimeRange', relativeTimeRange_endPercentage - The time, in percentage, when Amazon Transcribe stops searching for the
specified criteria in your media file. If you include EndPercentage in
your request, you must also include StartPercentage.
$sel:first:RelativeTimeRange', relativeTimeRange_first - The time, in percentage, from the start of your media file until the
specified value. Amazon Transcribe searches for your specified criteria
in this time segment.
$sel:last:RelativeTimeRange', relativeTimeRange_last - The time, in percentage, from the specified value until the end of your
media file. Amazon Transcribe searches for your specified criteria in
this time segment.
$sel:startPercentage:RelativeTimeRange', relativeTimeRange_startPercentage - The time, in percentage, when Amazon Transcribe starts searching for the
specified criteria in your media file. If you include StartPercentage
in your request, you must also include EndPercentage.
relativeTimeRange_endPercentage :: Lens' RelativeTimeRange (Maybe Natural) Source #
The time, in percentage, when Amazon Transcribe stops searching for the
specified criteria in your media file. If you include EndPercentage in
your request, you must also include StartPercentage.
relativeTimeRange_first :: Lens' RelativeTimeRange (Maybe Natural) Source #
The time, in percentage, from the start of your media file until the specified value. Amazon Transcribe searches for your specified criteria in this time segment.
relativeTimeRange_last :: Lens' RelativeTimeRange (Maybe Natural) Source #
The time, in percentage, from the specified value until the end of your media file. Amazon Transcribe searches for your specified criteria in this time segment.
relativeTimeRange_startPercentage :: Lens' RelativeTimeRange (Maybe Natural) Source #
The time, in percentage, when Amazon Transcribe starts searching for the
specified criteria in your media file. If you include StartPercentage
in your request, you must also include EndPercentage.