in configurations/RedshiftConfigTestingLambda.py [0:0]
def run_glue_crawler(crawler_name):
try:
response = boto3.client('glue').start_crawler(Name=crawler_name)
return "initiated"
except be.ClientError as e:
raise Exception("run_glue_crawler: " + e.__str__())
except Exception as e:
raise Exception("run_glue_crawler: " + e.__str__())