As you might have noticed, I am using a retry block. Where the step function will retry executing the BookHotel functions up to 3 times (after the first attempt) in case of an error that is equal to any of the following errors:
"States.Timeout"
"Lambda.ServiceException"
"Lambda.AWSLambdaException"
"Lambda.SdkClientException"