Skip to content

Instantly share code, notes, and snippets.

@ashhadulislam
Created August 19, 2020 13:55
Show Gist options
  • Save ashhadulislam/87c955f961395837079f3c058e631638 to your computer and use it in GitHub Desktop.
Save ashhadulislam/87c955f961395837079f3c058e631638 to your computer and use it in GitHub Desktop.
kinesis = kinesis.connect_to_region("us-east-2")
shard_id = 'shardId-000000000000' #we only have one shard!
shard_it = kinesis.get_shard_iterator("end-stream", shard_id, "LATEST")["ShardIterator"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment