1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
【以下的回答经过翻译处理】 通过更新脚本的S3位置,您只会在S3中创建新版本的代码。如果要完全替换Glue中的代码,则必须使用boto3更新Glue任务中新脚本的位置 -< https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/glue.html#Glue.Client.update_job>。这不会重置任何其他参数。
response = client.update_job({
"JobName": "string",
"JobUpdate": {
"Command": {
"Name": "string",
"PythonVersion": "string",
"ScriptLocation": "string"
}
}
})
관련 콘텐츠
- 질문됨 8달 전
- AWS 공식업데이트됨 10달 전