boto3:输入中的未知参数:create_crawler

时间:2018-10-23 19:38:56

标签: boto3 aws-glue

  

ParamValidationError(report = report.generate_report())   botocore.exceptions.ParamValidationError:参数验证失败:   输入中的未知参数:“ CrawlerSecurityConfiguration”,必须为   名称,角色,数据库名称,描述,目标,时间表,   分类器,TablePrefix,SchemaChangePolicy,配置

我在所有文档都说错的同时收到此错误,例如https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/glue.html#Glue.Client.create_crawler

glue.create_database(DatabaseInput={'Name': name})
glue.create_crawler(Name=name, Role='AWSGlueServiceRole-RBRS', DatabaseName=name, Targets={'S3Targets': [{'Path': source, 'Exclusions': []}]}, SchemaChangePolicy={'UpdateBehavior': 'UPDATE_IN_DATABASE', 'DeleteBehavior': 'DEPRECATE_IN_DATABASE'}, CrawlerSecurityConfiguration='rbrs')

0 个答案:

没有答案