Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can click “Customize cookies” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To continue without accepting these cookies, click “Continue without accepting.” To make more detailed choices or learn more, click “Customize cookies.”

Skip to content

/AWS1/CL_DMG=>APPLYPENDINGMAINTENANCEACT()

About ApplyPendingMaintenanceAction

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

Method Signature

IMPORTING

Required arguments:

IV_REPLICATIONINSTANCEARN TYPE /AWS1/DMGSTRING /AWS1/DMGSTRING

The Amazon Resource Name (ARN) of the DMS resource that the pending maintenance action applies to.

IV_APPLYACTION TYPE /AWS1/DMGSTRING /AWS1/DMGSTRING

The pending maintenance action to apply to this resource.

Valid values: os-upgrade, system-update, db-upgrade, os-patch

IV_OPTINTYPE TYPE /AWS1/DMGSTRING /AWS1/DMGSTRING

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

Valid values:

  • immediate - Apply the maintenance action immediately.

  • next-maintenance - Apply the maintenance action during the next maintenance window for the resource.

  • undo-opt-in - Cancel any existing next-maintenance opt-in requests.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_DMGAPPLYPENDINGMAIN01 /AWS1/CL_DMGAPPLYPENDINGMAIN01

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC