getCompatibleVersions

Returns a map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.