Is it printed if it is printed once before entering the while block?
This implementation does not seem to log the first shard iterator.
Why don't you print out response (for debugging purposes)? That way you can see if hasmoreshards is true or not. Also, amazon recommends a different api now in their documentation. It says this at the top: https://docs.aws.amazon.com/kinesis/latest/APIReference/API_DescribeStream.html
response = kinesis_client.describe_stream(StreamName=my_stream_name)
Kinesis data stream - data transfer charges for on-premises consumer/producerAccepted Answerasked 4 years ago
Transferring data from AWS Kinesis data streams to AWS Redshift using AWS Glueasked a month ago
Why Records:  is empty when i consume data from kinesis stream by python script?asked 4 months ago
Can't decrypt Aurora MySQL Kinesis activity stream. (error:InvalidCiphertextException)asked 5 months ago
How to set the starting position for a Kinesis Delivery Streamasked 18 days ago
Kinesis Transformation Buffering from Data StreamAccepted Answerasked 3 months ago
Kinesis data stream iterator age spikesasked 14 days ago
How can I consume metadata for a KVS stream using Python?asked 9 days ago
Multiple Kinesis Data Analytics apps to use the same Kinesis firehose delivery stream as sourceAccepted Answerasked 2 years ago
Using AWS Lambda to run Python script, how can I save data?Accepted Answerasked 3 years ago