v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1496640547.5 KB

Lists all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service supports.

get/2021-01-01/opensearch/versions

Query parameters

maxResultsinteger

An optional parameter that specifies the maximum number of results to return for a given request.

An optional parameter that specifies the maximum number of results to return. You can use <code>nextToken</code> to get the next page of results.

nextTokenstring

When <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.

If your initial <code>ListVersions</code> operation returns a <code>nextToken</code>, you can include the returned <code>nextToken</code> in subsequent <code>ListVersions</code> operations, which returns results in the next page.

Response

Success

VersionsVersionString[]

A list of all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service supports.

NextTokenstring

When <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.