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 |
Synopsis
- data KinesisVideoStreamStartSelector = KinesisVideoStreamStartSelector' {}
- newKinesisVideoStreamStartSelector :: KinesisVideoStreamStartSelector
- kinesisVideoStreamStartSelector_fragmentNumber :: Lens' KinesisVideoStreamStartSelector (Maybe Text)
- kinesisVideoStreamStartSelector_producerTimestamp :: Lens' KinesisVideoStreamStartSelector (Maybe Natural)
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.
KinesisVideoStreamStartSelector' | |
|
Instances
ToJSON KinesisVideoStreamStartSelector Source # | |
Generic KinesisVideoStreamStartSelector Source # | |
Read KinesisVideoStreamStartSelector Source # | |
Show KinesisVideoStreamStartSelector Source # | |
NFData KinesisVideoStreamStartSelector Source # | |
Eq KinesisVideoStreamStartSelector Source # | |
Hashable KinesisVideoStreamStartSelector Source # | |
type Rep KinesisVideoStreamStartSelector Source # | |
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.