通过 boto3 更新胶水作业返回 InvalidInputException 错误

时间:2021-04-15 17:46:42

标签: python boto3 aws-glue

我有这个简单的功能

def change_job_security_configuartion(glue_client, glue_job_name, new_security_configuration):
    """This function updates the glue job's security configuration"""
    response = glue_client.update_job(
        JobName=glue_job_name,
        JobUpdate= {
            'SecurityConfiguration': new_security_configuration
        }
    ) 

但它返回

<块引用>

botocore.errorfactory.InvalidInputException: 调用 UpdateJob 操作时发生错误 (InvalidInputException):命令不应为空。

有人可以帮忙吗?

0 个答案:

没有答案