v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1445539.0 KB

Retrieves data records from a specified shard in an Amazon Keyspaces data stream. This operation returns a collection of data records from the shard, including the primary key columns and information about modifications made to the captured table data. Each record represents a single data modification in the Amazon Keyspaces table and includes metadata about when the change occurred.

post/#X-Amz-Target=KeyspacesStreams.GetRecords

Headers

X-Amz-Target'KeyspacesStreams.GetRecords' required

Request body

shardIteratorstring required

The unique identifier of the shard iterator. A shard iterator specifies the position in the shard from which you want to start reading data records sequentially. You obtain this value by calling the <code>GetShardIterator </code> operation. Each shard iterator is valid for 15 minutes after creation.

maxResultsinteger

The maximum number of records to return in a single <code>GetRecords</code> request. The default value is 100. You can specify a limit between 1 and 1000, but the actual number returned might be less than the specified maximum if the size of the data for the returned records exceeds the internal size limit.

Response

Success

nextShardIteratorstring

The next position in the shard from which to start sequentially reading data records. If null, the shard has been closed and the requested iterator will not return any more data.

All 4 operations