Skip to main content

pending_maintenance_actions

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

Overview

Namepending_maintenance_actions
TypeResource
Idaws.docdb_elastic.pending_maintenance_actions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
pending_maintenance_action_detailsarrayProvides information about a pending maintenance action for a resource.
resource_arnstringThe Amazon DocumentDB Amazon Resource Name (ARN) of the resource to which the pending maintenance action applies.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_pending_maintenance_actionselectresource_arn, regionRetrieves all maintenance actions that are pending.
list_pending_maintenance_actionsselectregionmaxResults, nextTokenRetrieves a list of all maintenance actions that are pending.

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
regionstringAWS region (default: us-east-1)
resource_arnstringRetrieves pending maintenance actions for a specific Amazon Resource Name (ARN).
maxResultsintegerThe maximum number of results to include in the response. If more records exist than the specified maxResults value, a pagination token (marker) is included in the response so that the remaining results can be retrieved.
nextTokenstringAn optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by maxResults.

SELECT examples

Retrieves all maintenance actions that are pending.

SELECT
pending_maintenance_action_details,
resource_arn
FROM aws.docdb_elastic.pending_maintenance_actions
WHERE resource_arn = '{{ resource_arn }}' -- required
AND region = '{{ region }}' -- required
;