handsome-rocket-92204
05/21/2019, 6:43 PMasync def get_restapi(name):
result = await apigateway.get_rest_api(name=name)
return result.id
if get_restapi('test-jenkins') == None:
rest_api = apigateway.RestApi(name, name=name)
Obviously this wouldn't work but that's the functionality I'm looking for