Skip to main content

upgrade_histories

Creates, updates, deletes, gets or lists a upgrade_histories resource.

Overview

Nameupgrade_histories
TypeResource
Idaws.es.upgrade_histories

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
start_timestampstring (date-time)UTC Timestamp at which the Upgrade API call was made in "yyyy-MM-ddTHH:mm:ssZ" format.
steps_listarrayA list of UpgradeStepItem s representing information about each step performed as pard of a specific Upgrade or Upgrade Eligibility Check.
upgrade_namestringA string that describes the update briefly
upgrade_statusstringThe overall status of the update. The status can take one of the following values: In Progress Succeeded Succeeded with Issues Failed (IN_PROGRESS, SUCCEEDED, SUCCEEDED_WITH_ISSUES, FAILED)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_upgrade_historyselectdomain_name, regionmaxResults, nextTokenRetrieves the complete history of the last 10 upgrades that were performed on the domain.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
domain_namestring
regionstringAWS region (default: us-east-1)
maxResultsinteger
nextTokenstring

SELECT examples

Retrieves the complete history of the last 10 upgrades that were performed on the domain.

SELECT
start_timestamp,
steps_list,
upgrade_name,
upgrade_status
FROM aws.es.upgrade_histories
WHERE domain_name = '{{ domain_name }}' -- required
AND region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;