ElasticsearchService / Client / list_elasticsearch_versions

list_elasticsearch_versions#

ElasticsearchService.Client.list_elasticsearch_versions(**kwargs)#

List all supported Elasticsearch versions

See also: AWS API Documentation

Request Syntax

response = client.list_elasticsearch_versions(
    MaxResults=123,
    NextToken='string'
)
Parameters:
  • MaxResults (integer) – Set this value to limit the number of results returned. Value provided must be greater than 10 else it wont be honored.

  • NextToken (string) – Paginated APIs accepts NextToken input to returns next page results and provides a NextToken output in the response which can be used by the client to retrieve more results.

Return type:

dict

Returns:

Response Syntax

{
    'ElasticsearchVersions': [
        'string',
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    Container for the parameters for response received from ListElasticsearchVersions operation.

    • ElasticsearchVersions (list) –

      List of supported elastic search versions.

      • (string) –

    • NextToken (string) –

      Paginated APIs accepts NextToken input to returns next page results and provides a NextToken output in the response which can be used by the client to retrieve more results.

Exceptions