The AWS Lambda managed resource that reads records from a Kinesis data stream and invokes a function with batches is an…