ElasticsearchService / Client / start_elasticsearch_service_software_update
start_elasticsearch_service_software_update#
- ElasticsearchService.Client.start_elasticsearch_service_software_update(**kwargs)#
Schedules a service software update for an Amazon ES domain.
See also: AWS API Documentation
Request Syntax
response = client.start_elasticsearch_service_software_update( DomainName='string' )
- Parameters:
DomainName (string) –
[REQUIRED]
The name of the domain that you want to update to the latest service software.
- Return type:
dict
- Returns:
Response Syntax
{ '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
(dict) –
The result of a
StartElasticsearchServiceSoftwareUpdateoperation. Contains the status of the update.ServiceSoftwareOptions (dict) –
The current status of the Elasticsearch service software update.
CurrentVersion (string) –
The current service software version that is present on the domain.
NewVersion (string) –
The new service software version if one is available.
UpdateAvailable (boolean) –
Trueif you are able to update you service software version.Falseif you are not able to update your service software version.Cancellable (boolean) –
Trueif you are able to cancel your service software version update.Falseif you are not able to cancel your service software version.UpdateStatus (string) –
The status of your service software update. This field can take the following values:
ELIGIBLE,PENDING_UPDATE,IN_PROGRESS,COMPLETED, andNOT_ELIGIBLE.Description (string) –
The description of the
UpdateStatus.AutomatedUpdateDate (datetime) –
Timestamp, in Epoch time, until which you can manually request a service software update. After this date, we automatically update your service software.
OptionalDeployment (boolean) –
Trueif a service software is never automatically updated.Falseif a service software is automatically updated afterAutomatedUpdateDate.
Exceptions
ElasticsearchService.Client.exceptions.BaseExceptionElasticsearchService.Client.exceptions.InternalExceptionElasticsearchService.Client.exceptions.ResourceNotFoundExceptionElasticsearchService.Client.exceptions.ValidationException