libZSservicesZSamazonka-kinesis-video-archived-mediaZSamazonka-kinesis-video-archived-media
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.KinesisVideoArchivedMedia.Types.FragmentSelector

Description

 
Synopsis

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.

Constructors

FragmentSelector' 

Fields

Instances

Instances details
Eq FragmentSelector Source # 
Instance details

Defined in Amazonka.KinesisVideoArchivedMedia.Types.FragmentSelector

Read FragmentSelector Source # 
Instance details

Defined in Amazonka.KinesisVideoArchivedMedia.Types.FragmentSelector

Show FragmentSelector Source # 
Instance details

Defined in Amazonka.KinesisVideoArchivedMedia.Types.FragmentSelector

Generic FragmentSelector Source # 
Instance details

Defined in Amazonka.KinesisVideoArchivedMedia.Types.FragmentSelector

Associated Types

type Rep FragmentSelector :: Type -> Type #

NFData FragmentSelector Source # 
Instance details

Defined in Amazonka.KinesisVideoArchivedMedia.Types.FragmentSelector

Methods

rnf :: FragmentSelector -> () #

Hashable FragmentSelector Source # 
Instance details

Defined in Amazonka.KinesisVideoArchivedMedia.Types.FragmentSelector

ToJSON FragmentSelector Source # 
Instance details

Defined in Amazonka.KinesisVideoArchivedMedia.Types.FragmentSelector

type Rep FragmentSelector Source # 
Instance details

Defined in Amazonka.KinesisVideoArchivedMedia.Types.FragmentSelector

type Rep FragmentSelector = D1 ('MetaData "FragmentSelector" "Amazonka.KinesisVideoArchivedMedia.Types.FragmentSelector" "libZSservicesZSamazonka-kinesis-video-archived-mediaZSamazonka-kinesis-video-archived-media" 'False) (C1 ('MetaCons "FragmentSelector'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fragmentSelectorType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FragmentSelectorType) :*: S1 ('MetaSel ('Just "timestampRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TimestampRange)))

newFragmentSelector Source #

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).