ElasticsearchService.Client.cancel_elasticsearch_service_software_update(**kwargs)¶Cancels a scheduled service software update for an Amazon ES domain. You can only perform this operation before the AutomatedUpdateDate and when the UpdateStatus is in the PENDING_UPDATE state.
See also: AWS API Documentation
Request Syntax
response = client.cancel_elasticsearch_service_software_update(
DomainName='string'
)
[REQUIRED]
The name of the domain that you want to stop the latest service software update on.
{
'ServiceSoftwareOptions': {
'CurrentVersion': 'string',
'NewVersion': 'string',
'UpdateAvailable': True|False,
'Cancellable': True|False,
'UpdateStatus': 'PENDING_UPDATE'|'IN_PROGRESS'|'COMPLETED'|'NOT_ELIGIBLE'|'ELIGIBLE',
'Description': 'string',
'AutomatedUpdateDate': datetime(2015, 1, 1),
'OptionalDeployment': True|False
}
}
Response Structure
The result of a CancelElasticsearchServiceSoftwareUpdate operation. Contains the status of the update.
The current status of the Elasticsearch service software update.
The current service software version that is present on the domain.
The new service software version if one is available.
True if you are able to update you service software version. False if you are not able to update your service software version.
True if you are able to cancel your service software version update. False if you are not able to cancel your service software version.
The status of your service software update. This field can take the following values: ELIGIBLE , PENDING_UPDATE , IN_PROGRESS , COMPLETED , and NOT_ELIGIBLE .
The description of the UpdateStatus .
Timestamp, in Epoch time, until which you can manually request a service software update. After this date, we automatically update your service software.
True if a service software is never automatically updated. False if a service software is automatically updated after AutomatedUpdateDate .
Exceptions
ElasticsearchService.Client.exceptions.BaseExceptionElasticsearchService.Client.exceptions.InternalExceptionElasticsearchService.Client.exceptions.ResourceNotFoundExceptionElasticsearchService.Client.exceptions.ValidationException