amazon-web-services - 如何通过其 REST API 更新 AWS elasticsearch 集群设置?
问题描述
我正在使用AWS Elasticsearch
,我正在尝试更新其集群设置,但出现错误:
$ curl -XPUT https://vpc-tf-security-search-roxodu3f3fdsfsdfuhu.ap-southeast-2.es.amazonaws.com/_cluster/settings -H 'Content-Type: application/json' -d'
> {"persistent" : { "indices.recovery.max_bytes_per_sec" : "50mb"}}'
{"Message":"Your request: '/_cluster/settings' payload is not allowed."}
我想知道为什么我不能改变它。这是对 AWS Elasticsearch 的限制吗?
解决方案
AWS 限制对许多 API 和设置的访问。
AWS 上支持的 API:
推荐阅读
- c# - 如何在 C# 上使用图像的字节数组
- c++ - 我可以重新分配/覆盖 std::string 吗?
- python - 使用python从网站上抓取表格并尝试获取带有文本的内容的超链接
- python - 数字猜谜游戏的编码问题
- c++ - 带有 Protobuf 序列化的 C++ Hazelcast:字符串不是 UTF-8 格式的
- java - 扩展现有 Mapstruct 接口以添加其他映射方法
- node.js - 不正确的 Node.js 方法调用仍然可以编译
- java - 数组和字符串未解析为变量
- linkedin - 通过 LinkedIn 开发人员合作伙伴计划访问 LinkedIn r_fullprofile?
- amazon-web-services - 如何设置电子邮件警报(作业状态)以接收特定 AWS Glue 作业的状态