Table of Contents

Enum ShardIteratorType

Namespace
DynaSharp.Streams
Assembly
DynaSharp.dll

Where in a shard reading starts.

public enum ShardIteratorType

Fields

Unknown = 0

A position this library does not know. Never valid in a request.

TrimHorizon = 1

The oldest record that is still in the shard, DynamoDB name TRIM_HORIZON. Records are kept for 24 hours.

Latest = 2

Just after the newest record, DynamoDB name LATEST: only records written after the iterator was created are read.

AtSequenceNumber = 3

The record with the given sequence number, DynamoDB name AT_SEQUENCE_NUMBER. Needs SequenceNumber.

AfterSequenceNumber = 4

The record after the one with the given sequence number, DynamoDB name AFTER_SEQUENCE_NUMBER. Needs SequenceNumber; the way to resume after the last processed record.