How can a developer implement Lambda retry functionality in an AWS Step Functions state machine to stop on IllegalArgumentException and retry GetResource task once after a 10-second delay on TooManyRequestsException, without adding unnecessary complexity?