How to do a date range match in shell script

I need to find all the files in Amazon S3 which are were generated 10 mins after the user-input-time.

Eg: If the user input the following time: 2018-11-07 10:00:00, then we should get the following output:

2018-11-07 10:02:06  file1
2018-11-07 10:07:10  file2

This is because only 2 files were generated from 10:00:00 - 10:10:00.

I am using aws cli & grep command.

aws s3 ls s3://${s3_bucket} --recursive --human-readable --summarize | grep "${input_time} 10:0" | sort -n

However, I wish to replace the hard coded grep, with a more generic regex, which would grep for files in next 10 mins.