我有这个简单的功能
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):命令不应为空。
有人可以帮忙吗?