You’re assuming that `apigateway.get_rest_api` ret...
# python
i
You’re assuming that
apigateway.get_rest_api
returns None when the rest API isn’t found, but I think it’s more likely that it’ll throw an exception instead