Module Smaws_Client_DynamoDBStreams.GetShardIterator

Returns a shard iterator. A shard iterator provides information about how to retrieve the stream records from within a shard. Use the shard iterator in a subsequent GetRecords request to read the stream records from the shard.

A shard iterator expires 15 minutes after it is returned to the requester.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `InternalServerError of Types.internal_server_error | `ResourceNotFoundException of Types.resource_not_found_exception | `TrimmedDataAccessException of Types.trimmed_data_access_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.get_shard_iterator_input -> (Types.get_shard_iterator_output, [> Smaws_Lib.Protocols.AwsJson.error | `InternalServerError of Types.internal_server_error | `ResourceNotFoundException of Types.resource_not_found_exception | `TrimmedDataAccessException of Types.trimmed_data_access_exception ]) Stdlib.result