amazonka-rekognition-2.0: Amazon Rekognition SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Rekognition.Types.KinesisVideoStreamStartSelector

Description

 
Synopsis

Documentation

data KinesisVideoStreamStartSelector Source #

Specifies the starting point in a Kinesis stream to start processing. You can use the producer timestamp or the fragment number. One of either producer timestamp or fragment number is required. If you use the producer timestamp, you must put the time in milliseconds. For more information about fragment numbers, see Fragment.

See: newKinesisVideoStreamStartSelector smart constructor.

Constructors

KinesisVideoStreamStartSelector' 

Fields

  • fragmentNumber :: Maybe Text

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

  • producerTimestamp :: Maybe Natural

    The timestamp from the producer corresponding to the fragment, in milliseconds, expressed in unix time format.

Instances

Instances details
ToJSON KinesisVideoStreamStartSelector Source # 
Instance details

Defined in Amazonka.Rekognition.Types.KinesisVideoStreamStartSelector

Generic KinesisVideoStreamStartSelector Source # 
Instance details

Defined in Amazonka.Rekognition.Types.KinesisVideoStreamStartSelector

Associated Types

type Rep KinesisVideoStreamStartSelector :: Type -> Type #

Read KinesisVideoStreamStartSelector Source # 
Instance details

Defined in Amazonka.Rekognition.Types.KinesisVideoStreamStartSelector

Show KinesisVideoStreamStartSelector Source # 
Instance details

Defined in Amazonka.Rekognition.Types.KinesisVideoStreamStartSelector

NFData KinesisVideoStreamStartSelector Source # 
Instance details

Defined in Amazonka.Rekognition.Types.KinesisVideoStreamStartSelector

Eq KinesisVideoStreamStartSelector Source # 
Instance details

Defined in Amazonka.Rekognition.Types.KinesisVideoStreamStartSelector

Hashable KinesisVideoStreamStartSelector Source # 
Instance details

Defined in Amazonka.Rekognition.Types.KinesisVideoStreamStartSelector

type Rep KinesisVideoStreamStartSelector Source # 
Instance details

Defined in Amazonka.Rekognition.Types.KinesisVideoStreamStartSelector

type Rep KinesisVideoStreamStartSelector = D1 ('MetaData "KinesisVideoStreamStartSelector" "Amazonka.Rekognition.Types.KinesisVideoStreamStartSelector" "amazonka-rekognition-2.0-EaCrS9R3rWADqefEZvOx5B" 'False) (C1 ('MetaCons "KinesisVideoStreamStartSelector'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fragmentNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "producerTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

newKinesisVideoStreamStartSelector :: KinesisVideoStreamStartSelector Source #

Create a value of KinesisVideoStreamStartSelector 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:fragmentNumber:KinesisVideoStreamStartSelector', kinesisVideoStreamStartSelector_fragmentNumber - The unique identifier of the fragment. This value monotonically increases based on the ingestion order.

$sel:producerTimestamp:KinesisVideoStreamStartSelector', kinesisVideoStreamStartSelector_producerTimestamp - The timestamp from the producer corresponding to the fragment, in milliseconds, expressed in unix time format.

kinesisVideoStreamStartSelector_fragmentNumber :: Lens' KinesisVideoStreamStartSelector (Maybe Text) Source #

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

kinesisVideoStreamStartSelector_producerTimestamp :: Lens' KinesisVideoStreamStartSelector (Maybe Natural) Source #

The timestamp from the producer corresponding to the fragment, in milliseconds, expressed in unix time format.