Applies a pending maintenance action to a resource (for example, to an Amazon DocumentDB instance).
get/#Action=ApplyPendingMaintenanceAction
Query parameters
ResourceIdentifierstring required
The Amazon Resource Name (ARN) of the resource that the pending maintenance action applies to.
ApplyActionstring required
<p>The pending maintenance action to apply to this resource.</p> <p>Valid values: <code>system-update</code>, <code>db-upgrade</code> </p>
OptInTypestring required
<p>A value that specifies the type of opt-in request or undoes an opt-in request. An opt-in request of type <code>immediate</code> can't be undone.</p> <p>Valid values:</p> <ul> <li> <p> <code>immediate</code> - Apply the maintenance action immediately.</p> </li> <li> <p> <code>next-maintenance</code> - Apply the maintenance action during the next maintenance window for the resource. </p> </li> <li> <p> <code>undo-opt-in</code> - Cancel any existing <code>next-maintenance</code> opt-in requests.</p> </li> </ul>
Action'ApplyPendingMaintenanceAction' required
Version'2014-10-31' required
Response
Success