According to Amazon documentation, AWS elasticsearch Service supports the API _cluster, but this command not working:
curl -XGET 'https://search-aa-kfrqt6kjja5w7asrt7hi.sa-east-1.es.amazonaws.com/_cluster/state?pretty'
{"Message":"Your request: '/_cluster/state' is not allowed."}
the cluster with template "allow open access to this domain"
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "es:*",
"Resource": "arn:aws:es:sa-east-1:7183736:domain/aa-ca/*"
}
]
}
Thank you for any help you can provide !