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.pending_maintenance_actions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
pending_maintenance_action_detailsstringA list that provides details about the pending maintenance actions for the resource.
resource_identifierstringThe Amazon Resource Name (ARN) of the resource that has pending maintenance actions.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_pending_maintenance_actionsselectregionResourceIdentifier, Filters, Marker, MaxRecordsReturns a list of resources (for example, instances) that have at least one pending 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
regionstringAWS region (default: us-east-1)
FiltersarrayA filter that specifies one or more resources to return pending maintenance actions for. Supported filters: db-cluster-id - Accepts cluster identifiers and cluster Amazon Resource Names (ARNs). The results list includes only pending maintenance actions for the clusters identified by these ARNs. db-instance-id - Accepts instance identifiers and instance ARNs. The results list includes only pending maintenance actions for the DB instances identified by these ARNs.
MarkerstringAn 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 MaxRecords.
MaxRecordsintegerThe maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token (marker) is included in the response so that the remaining results can be retrieved. Default: 100 Constraints: Minimum 20, maximum 100.
ResourceIdentifierstringThe ARN of a resource to return pending maintenance actions for.

SELECT examples

Returns a list of resources (for example, instances) that have at least one pending maintenance action.

SELECT
pending_maintenance_action_details,
resource_identifier
FROM aws.docdb.pending_maintenance_actions
WHERE region = '{{ region }}' -- required
AND ResourceIdentifier = '{{ ResourceIdentifier }}'
AND Filters = '{{ Filters }}'
AND Marker = '{{ Marker }}'
AND MaxRecords = '{{ MaxRecords }}'
;