ElasticsearchService.Client.
get_compatible_elasticsearch_versions
(**kwargs)¶Returns a list of upgrade compatible Elastisearch versions. You can optionally pass a DomainName
to get all upgrade compatible Elasticsearch versions for that specific domain.
See also: AWS API Documentation
Request Syntax
response = client.get_compatible_elasticsearch_versions(
DomainName='string'
)
{
'CompatibleElasticsearchVersions': [
{
'SourceVersion': 'string',
'TargetVersions': [
'string',
]
},
]
}
Response Structure
Container for response returned by GetCompatibleElasticsearchVersions
operation.
A map of compatible Elasticsearch versions returned as part of the GetCompatibleElasticsearchVersions
operation.
A map from an ElasticsearchVersion
to a list of compatible ElasticsearchVersion
s to which the domain can be upgraded.
The current version of Elasticsearch on which a domain is.
List of supported elastic search versions.
Exceptions
ElasticsearchService.Client.exceptions.BaseException
ElasticsearchService.Client.exceptions.ResourceNotFoundException
ElasticsearchService.Client.exceptions.DisabledOperationException
ElasticsearchService.Client.exceptions.ValidationException
ElasticsearchService.Client.exceptions.InternalException