Skip to main content

domain_maintenance_status

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

Overview

Namedomain_maintenance_status
TypeResource
Idaws.opensearch.domain_maintenance_status

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
actionstringThe action name. (REBOOT_NODE, RESTART_SEARCH_PROCESS, RESTART_DASHBOARD)
created_atstring (date-time)The time at which the action was created.
node_idstringThe node ID of the maintenance action.
statusstringThe status of the maintenance action. (PENDING, IN_PROGRESS, COMPLETED, FAILED, TIMED_OUT)
status_messagestringThe status message of the maintenance action. (pattern: <code>^([\s\S]*)$</code>)
updated_atstring (date-time)The time at which the action was updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_domain_maintenance_statusselectdomain_name, maintenanceId, regionThe status of the maintenance action.

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_namestringThe name of the domain.
maintenanceIdstringThe request ID of the maintenance action.
regionstringAWS region (default: us-east-1)

SELECT examples

The status of the maintenance action.

SELECT
action,
created_at,
node_id,
status,
status_message,
updated_at
FROM aws.opensearch.domain_maintenance_status
WHERE domain_name = '{{ domain_name }}' -- required
AND maintenanceId = '{{ maintenanceId }}' -- required
AND region = '{{ region }}' -- required
;