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
data FragmentSelector Source #
Describes the timestamp range and timestamp origin of a range of fragments.
Only fragments with a start timestamp greater than or equal to the given start time and less than or equal to the end time are returned. For example, if a stream contains fragments with the following start timestamps:
- 00:00:00
- 00:00:02
- 00:00:04
- 00:00:06
A fragment selector range with a start time of 00:00:01 and end time of 00:00:04 would return the fragments with start times of 00:00:02 and 00:00:04.
See: newFragmentSelector
smart constructor.
FragmentSelector' | |
|
Instances
Create a value of FragmentSelector
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:fragmentSelectorType:FragmentSelector'
, fragmentSelector_fragmentSelectorType
- The origin of the timestamps to use (Server or Producer).
$sel:timestampRange:FragmentSelector'
, fragmentSelector_timestampRange
- The range of timestamps to return.
fragmentSelector_fragmentSelectorType :: Lens' FragmentSelector FragmentSelectorType Source #
The origin of the timestamps to use (Server or Producer).
fragmentSelector_timestampRange :: Lens' FragmentSelector TimestampRange Source #
The range of timestamps to return.