Skip to main content

domain_maintenances

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

Overview

Namedomain_maintenances
TypeResource
Idaws.opensearch.domain_maintenances

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
domain_maintenancesarrayA list of the submitted maintenance actions.
next_tokenstringWhen nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_domain_maintenancesselectdomain_name, regionaction, status, maxResults, nextTokenA list of maintenance actions for 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_namestringThe name of the domain.
regionstringAWS region (default: us-east-1)
actionstringThe name of the action.
maxResultsintegerAn optional parameter that specifies the maximum number of results to return. You can use nextToken to get the next page of results.
nextTokenstringIf your initial ListDomainMaintenances operation returns a nextToken, include the returned nextToken in subsequent ListDomainMaintenances operations, which returns results in the next page.
statusstringThe status of the action.

SELECT examples

A list of maintenance actions for the domain.

SELECT
domain_maintenances,
next_token
FROM aws.opensearch.domain_maintenances
WHERE domain_name = '{{ domain_name }}' -- required
AND region = '{{ region }}' -- required
AND action = '{{ action }}'
AND status = '{{ status }}'
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;