pending_maintenance_actions
Creates, updates, deletes, gets or lists a pending_maintenance_actions resource.
Overview
| Name | pending_maintenance_actions |
| Type | Resource |
| Id | aws.rds.pending_maintenance_actions |
Fields
The following fields are returned by SELECT queries:
- describe_pending_maintenance_actions
| Name | Datatype | Description |
|---|---|---|
pending_maintenance_action_details | string | A list that provides details about the pending maintenance actions for the resource. |
resource_identifier | string | The ARN of the resource that has pending maintenance actions. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_pending_maintenance_actions | select | region | ResourceIdentifier, Filters, Marker, MaxRecords | Returns a list of resources (for example, DB instances) that have at least one pending maintenance action. This API follows an eventual consistency model. This means that the result of the DescribePendingMaintenanceActions command might not be immediately visible to all subsequent RDS commands. Keep this in mind when you use DescribePendingMaintenanceActions immediately after using a previous API command such as ApplyPendingMaintenanceActions. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
Filters | array | A filter that specifies one or more resources to return pending maintenance actions for. Supported filters: db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list only includes pending maintenance actions for the DB clusters identified by these ARNs. db-instance-id - Accepts DB instance identifiers and DB instance ARNs. The results list only includes pending maintenance actions for the DB instances identified by these ARNs. |
Marker | string | An optional pagination token provided by a previous DescribePendingMaintenanceActions request. If this parameter is specified, the response includes only records beyond the marker, up to a number of records specified by MaxRecords. |
MaxRecords | integer | The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that you can retrieve the remaining results. Default: 100 Constraints: Minimum 20, maximum 100. |
ResourceIdentifier | string | The ARN of a resource to return pending maintenance actions for. |
SELECT examples
- describe_pending_maintenance_actions
Returns a list of resources (for example, DB instances) that have at least one pending maintenance action. This API follows an eventual consistency model. This means that the result of the DescribePendingMaintenanceActions command might not be immediately visible to all subsequent RDS commands. Keep this in mind when you use DescribePendingMaintenanceActions immediately after using a previous API command such as ApplyPendingMaintenanceActions.
SELECT
pending_maintenance_action_details,
resource_identifier
FROM aws.rds.pending_maintenance_actions
WHERE region = '{{ region }}' -- required
AND ResourceIdentifier = '{{ ResourceIdentifier }}'
AND Filters = '{{ Filters }}'
AND Marker = '{{ Marker }}'
AND MaxRecords = '{{ MaxRecords }}'
;