Skip to main content

upgrade_status

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

Overview

Nameupgrade_status
TypeResource
Idaws.es.upgrade_status

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
step_statusstringOne of 4 statuses that a step can go through returned as part of the GetUpgradeStatusResponse object. The status can take one of the following values: In Progress Succeeded Succeeded with Issues Failed (IN_PROGRESS, SUCCEEDED, SUCCEEDED_WITH_ISSUES, FAILED)
upgrade_namestringA string that describes the update briefly
upgrade_stepstringRepresents one of 3 steps that an Upgrade or Upgrade Eligibility Check does through: PreUpgradeCheck Snapshot Upgrade (PRE_UPGRADE_CHECK, SNAPSHOT, UPGRADE)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_upgrade_statusselectdomain_name, regionRetrieves the latest status of the last upgrade or upgrade eligibility check that was 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)

SELECT examples

Retrieves the latest status of the last upgrade or upgrade eligibility check that was performed on the domain.

SELECT
step_status,
upgrade_name,
upgrade_step
FROM aws.es.upgrade_status
WHERE domain_name = '{{ domain_name }}' -- required
AND region = '{{ region }}' -- required
;