Once the failure occurs, Lambda functions that are being invoked synchronously will respond with an exception. Lambda functions that are being invoked asynchronously will be retried at least 3 times. The Events from Amazon Kinesis streams and Amazon DynamoDB streams will be retried until the Lambda function succeeds or the data expires. Kinesis and DynamoDB Streams can retain data for a minimum of 24 hours.