---
title: "GET /pending-actions"
method: GET
path: "/pending-actions"
---

# GET /pending-actions

`GET /pending-actions`

Retrieves a list of all maintenance actions that are pending.

## Query parameters

- `maxResults` integer
- `nextToken` string — <pre><code>Token or cursor used in paginated operations. When this value is provided as operation input, the service returns results from where the previous response left off. When this value is present in operation output, it indicates that there are more results to retrieve. This should be opaque to not expose implementation details and potentially versioned to allow evolution of pagination strategy. </code></pre>

## Response `200`

Success

- ListPendingMaintenanceActionsOutput
  - `nextToken` string — An optional pagination token provided by a previous request. If this parameter is displayed, the responses will include only records beyond the marker, up to the value specified by <code>maxResults</code>.
  - `resourcePendingMaintenanceActions` ResourcePendingMaintenanceAction[], required — Provides information about a pending maintenance action for a resource.
    - `pendingMaintenanceActionDetails` PendingMaintenanceActionDetails[] — Provides information about a pending maintenance action for a resource.
      - `action` string, required — Displays the specific action of a pending maintenance action.
      - `autoAppliedAfterDate` string — Displays the date of the maintenance window when the action is applied. The maintenance action is applied to the resource during its first maintenance window after this date. If this date is specified, any <code>NEXT_MAINTENANCE</code> <code>optInType</code> requests are ignored.
      - `currentApplyDate` string — Displays the effective date when the pending maintenance action is applied to the resource.
      - `description` string — Displays a description providing more detail about the maintenance action.
      - `forcedApplyDate` string — Displays the date when the maintenance action is automatically applied. The maintenance action is applied to the resource on this date regardless of the maintenance window for the resource. If this date is specified, any <code>IMMEDIATE</code> <code>optInType</code> requests are ignored.
      - `optInStatus` string — Displays the type of <code>optInType</code> request that has been received for the resource.
    - `resourceArn` string — The Amazon DocumentDB Amazon Resource Name (ARN) of the resource to which the pending maintenance action applies.

## Other responses

- `480` — ThrottlingException
- `481` — ValidationException
- `482` — InternalServerException
- `483` — AccessDeniedException

---

[API](https://skmtc.net/aws/apis/docdb-elastic.md) · [All operations](https://skmtc.net/aws/apis/docdb-elastic/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/docdb-elastic/versions/71417e1f0c94/schema)
