kinesis_get_records {botor}R Documentation

Gets data records from a Kinesis data stream's shard

Description

Gets data records from a Kinesis data stream's shard

Usage

kinesis_get_records(shard_iterator)

Arguments

shard_iterator

the position in the shard from which you want to start sequentially reading data records, usually provided by kinesis_get_shard_iterator

Value

list of Records, NextShardIterator and MillisBehindLatest

References

https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/kinesis.html#Kinesis.Client.get_records

Examples

## Not run: 
botor(profile_name = 'botor-tester')
iterator <- kinesis_get_shard_iterator(stream = 'botor-tester', shard = '0')
kinesis_get_records(iterator$ShardIterator)

## End(Not run)

[Package botor version 0.3.0 Index]