【发布时间】:2020-08-06 23:35:17
【问题描述】:
我正在尝试通过带有 python 的 boto3 客户端在 AWS EMR 中使用新的托管扩展策略。我的进程从 json 文件中读取配置,运行集群时出现以下错误:
botocore.exceptions.ParamValidationError: Parameter validation failed:
Unknown parameter in input: "ManagedScalingPolicy", must be one of: Name, LogUri, AdditionalInfo, AmiVersion, ReleaseLabel, Instances, Steps, BootstrapActions, SupportedProducts, NewSupportedProducts, Applications, Configurations, VisibleToAllUsers, JobFlowRole, ServiceRole, Tags, SecurityConfiguration, AutoScalingRole, ScaleDownBehavior, CustomAmiId, EbsRootVolumeSize, RepoUpgradeOnBoot, KerberosAttributes, StepConcurrencyLevel
托管扩展策略位于 json 文件的根目录中。 boto3 的文档说这是正确的地方。
哪里出错了?
【问题讨论】:
标签: python json amazon-web-services amazon-emr