Module Values.GetShardIteratorInputSource

Represents the input of a GetShardIterator operation.

Sourcetype nonrec t = {
  1. streamArn : StreamArn.t;
    (*

    The Amazon Resource Name (ARN) for the stream.

    *)
  2. shardId : ShardId.t;
    (*

    The identifier of the shard. The iterator will be returned for this shard ID.

    *)
  3. shardIteratorType : ShardIteratorType.t;
    (*

    Determines how the shard iterator is used to start reading stream records from the shard: AT_SEQUENCE_NUMBER - Start reading exactly from the position denoted by a specific sequence number. AFTER_SEQUENCE_NUMBER - Start reading right after the position denoted by a specific sequence number. TRIM_HORIZON - Start reading at the last (untrimmed) stream record, which is the oldest record in the shard. In DynamoDB Streams, there is a 24 hour limit on data retention. Stream records whose age exceeds this limit are subject to removal (trimming) from the stream. LATEST - Start reading just after the most recent stream record in the shard, so that you always read the most recent data in the shard.

    *)
  4. sequenceNumber : SequenceNumber.t option;
    (*

    The sequence number of a stream record in the shard from which to start reading.

    *)
}
Sourceval context_ : string
Sourceval make : ?sequenceNumber:??? -> streamArn:StreamArn.t -> shardId:ShardId.t -> shardIteratorType:ShardIteratorType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of StreamArn.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t