Module Smaws_Client_DynamoDBStreams.GetRecords

Retrieves the stream records from a given shard.

Specify a shard iterator using the ShardIterator parameter. The shard iterator specifies the position in the shard from which you want to start reading stream records sequentially. If there are no stream records available in the portion of the shard that the iterator points to, GetRecords returns an empty list. Note that it might take multiple calls to get to a portion of the shard that contains stream records.

GetRecords can retrieve a maximum of 1 MB of data or 1000 stream records, whichever comes first.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `ExpiredIteratorException of Types.expired_iterator_exception | `InternalServerError of Types.internal_server_error | `LimitExceededException of Types.limit_exceeded_exception | `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_records_input -> (Types.get_records_output, [> Smaws_Lib.Protocols.AwsJson.error | `ExpiredIteratorException of Types.expired_iterator_exception | `InternalServerError of Types.internal_server_error | `LimitExceededException of Types.limit_exceeded_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `TrimmedDataAccessException of Types.trimmed_data_access_exception ]) Stdlib.result