I am trying to test whether a particular OpenSearch Index exists via opensearch-py.
I am receiving a 403 error and can't for the life of me establish the correct permissions:
2022-07-04 14:11:11,535 - WARNING | L258 log_request_fail (): HEAD https://<blah>.<region>.es.amazonaws.com:443/test-index [status:403 request:0.072s]
The call is
if opensearch_client.indices.exists(index='test-index'):
...
What permissions on the OpenSearch side are required to perform this operation?
I can't see anything relating to the HTTP HEAD operation, for example.
Other operations are working just fine.
Help!