2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
1
By updating the S3 location of the script, you are only creating a new version of the code in S3. To completely replace the code in Glue, you would have to use boto3 to update Glue job with the location of the new script- https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/glue.html#Glue.Client.update_job. This will not reset any of the other parameters.
response = client.update_job({
"JobName": "string",
"JobUpdate": {
"Command": {
"Name": "string",
"PythonVersion": "string",
"ScriptLocation": "string"
}
}
})
répondu il y a 2 ans
0
I followed ananthtm's answer and could update the jobs.It however overwrote the other parameters like Connections etc when I passed the basic ones as mentioned . I then added the other parameters in the update statement and it worked fine.
répondu il y a 2 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a 6 mois
- demandé il y a 2 mois
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 ans