Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

list_elasticsearch_versions

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

  • ElasticsearchService.Client.exceptions.BaseException
  • ElasticsearchService.Client.exceptions.InternalException
  • ElasticsearchService.Client.exceptions.ResourceNotFoundException
  • ElasticsearchService.Client.exceptions.ValidationException