Is there a way to execute a glue job via API Gateway?

2020-03-17T16:10:09

I want to know that is there any way to execute an AWS Glue Job (Python shell type) directly via API Gateway. My Glue job reads a file from the AWS S3 bucket and does an operation using the file content. I have already created the python script in the AWS glue job and it is run successfully. I want to execute the Glue Job via API Gateway.

Is it possible to do so?

Can you please give me a hint to do this? Thanks in advance!

Copyright License:
Author:「Indi」,Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.
Link to:https://stackoverflow.com/questions/60718487/is-there-a-way-to-execute-a-glue-job-via-api-gateway

About “Is there a way to execute a glue job via API Gateway?” questions

I want to know that is there any way to execute an AWS Glue Job (Python shell type) directly via API Gateway. My Glue job reads a file from the AWS S3 bucket and does an operation using the file co...
I executed an AWS Glue Job via API Gateway to start the job run. The job run is successful. But the result of the Script (print of a result) has not gotten through the execution. Only job run ID co...
I have one code of the aws glue artifact stored in aws codecommit and needed execute him from the another glue job. It's possible make this?
I have models in dbt but I after dbt test, I want to trigger an API call which could kick-off my AWS glue job. Any suggestions for workaround on this? Approaches tried: Dbt —> fal script (which...
Trying to debug AWS Glue scripts locally using Glue ETL library. I have installed aws-glue-libs and spark-3.1.1-amzn-0-bin-3.2.1-amzn-3.tgz. When I run job.init(), I get the following error trace: ...
I am running a AWS Glue job to execute stored procedures in an oracle database. I want to be able to catch the sql exception when a stored procedure fails. I am using 'from py4j.java_gateway import
In AWS Glue job, we can write some script and execute the script via job. In AWS Lambda too, we can write the same script and execute the same logic provided in above job. So, my query is not whats...
Is it possible to trigger a glue job(pyspark) from another glue job(pyspark) using boto3. Everything seems to be working fine(no syntax or code errors) except the boto3 method glue_client.start_job...
I have what I consider to be a pretty simple requirement. I want to create a job that takes one file and transforms it into another file and then updates the data catalog meta data within Glue. T...
I am running an AWS Glue job written from scratch to read from database and save the result in s3. I would like to set an HTTP API call to send the status of the Glue job after completing the read ...

Copyright License:Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.