v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1469325456.8 KB

Applies a pending maintenance action to a resource (for example, to a replication instance).

post/#X-Amz-Target=AmazonDMSv20160101.ApplyPendingMaintenanceAction

Headers

X-Amz-Target'AmazonDMSv20160101.ApplyPendingMaintenanceAction' required

Request body

ReplicationInstanceArnstring required

The Amazon Resource Name (ARN) of the DMS 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>os-upgrade</code>, <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. You can't undo an opt-in request of type <code>immediate</code>.</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>

Response

Success