OpenSearchService.Client.
get_compatible_versions
(**kwargs)¶Returns a map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.
See also: AWS API Documentation
Request Syntax
response = client.get_compatible_versions(
DomainName='string'
)
{
'CompatibleVersions': [
{
'SourceVersion': 'string',
'TargetVersions': [
'string',
]
},
]
}
Response Structure
Container for the response returned by the GetCompatibleVersions
operation.
A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.
A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.
The current version that the OpenSearch Service domain is running.
The possible versions that you can upgrade the domain to.
Exceptions
OpenSearchService.Client.exceptions.BaseException
OpenSearchService.Client.exceptions.ResourceNotFoundException
OpenSearchService.Client.exceptions.DisabledOperationException
OpenSearchService.Client.exceptions.ValidationException
OpenSearchService.Client.exceptions.InternalException