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

Description

 
Synopsis

Documentation

data Fragment Source #

Represents a segment of video or other time-delimited data.

See: newFragment smart constructor.

Constructors

Fragment' 

Fields

Instances

Instances details
Eq Fragment Source # 
Instance details

Defined in Amazonka.KinesisVideoArchivedMedia.Types.Fragment

Read Fragment Source # 
Instance details

Defined in Amazonka.KinesisVideoArchivedMedia.Types.Fragment

Show Fragment Source # 
Instance details

Defined in Amazonka.KinesisVideoArchivedMedia.Types.Fragment

Generic Fragment Source # 
Instance details

Defined in Amazonka.KinesisVideoArchivedMedia.Types.Fragment

Associated Types

type Rep Fragment :: Type -> Type #

Methods

from :: Fragment -> Rep Fragment x #

to :: Rep Fragment x -> Fragment #

NFData Fragment Source # 
Instance details

Defined in Amazonka.KinesisVideoArchivedMedia.Types.Fragment

Methods

rnf :: Fragment -> () #

Hashable Fragment Source # 
Instance details

Defined in Amazonka.KinesisVideoArchivedMedia.Types.Fragment

Methods

hashWithSalt :: Int -> Fragment -> Int #

hash :: Fragment -> Int #

FromJSON Fragment Source # 
Instance details

Defined in Amazonka.KinesisVideoArchivedMedia.Types.Fragment

type Rep Fragment Source # 
Instance details

Defined in Amazonka.KinesisVideoArchivedMedia.Types.Fragment

type Rep Fragment = D1 ('MetaData "Fragment" "Amazonka.KinesisVideoArchivedMedia.Types.Fragment" "libZSservicesZSamazonka-kinesis-video-archived-mediaZSamazonka-kinesis-video-archived-media" 'False) (C1 ('MetaCons "Fragment'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "fragmentLengthInMilliseconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "serverTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "fragmentSizeInBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "fragmentNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "producerTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))

newFragment :: Fragment Source #

Create a value of Fragment 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:fragmentLengthInMilliseconds:Fragment', fragment_fragmentLengthInMilliseconds - The playback duration or other time value associated with the fragment.

$sel:serverTimestamp:Fragment', fragment_serverTimestamp - The timestamp from the AWS server corresponding to the fragment.

$sel:fragmentSizeInBytes:Fragment', fragment_fragmentSizeInBytes - The total fragment size, including information about the fragment and contained media data.

$sel:fragmentNumber:Fragment', fragment_fragmentNumber - The unique identifier of the fragment. This value monotonically increases based on the ingestion order.

$sel:producerTimestamp:Fragment', fragment_producerTimestamp - The timestamp from the producer corresponding to the fragment.

fragment_fragmentLengthInMilliseconds :: Lens' Fragment (Maybe Integer) Source #

The playback duration or other time value associated with the fragment.

fragment_serverTimestamp :: Lens' Fragment (Maybe UTCTime) Source #

The timestamp from the AWS server corresponding to the fragment.

fragment_fragmentSizeInBytes :: Lens' Fragment (Maybe Integer) Source #

The total fragment size, including information about the fragment and contained media data.

fragment_fragmentNumber :: Lens' Fragment (Maybe Text) Source #

The unique identifier of the fragment. This value monotonically increases based on the ingestion order.

fragment_producerTimestamp :: Lens' Fragment (Maybe UTCTime) Source #

The timestamp from the producer corresponding to the fragment.