Skip to content

The type of pending maintenance action to be applied to the resource

Description

The type of pending maintenance action to be applied to the resource.

Usage

docdbelastic_apply_pending_maintenance_action(applyAction, applyOn,
  optInType, resourceArn)

Arguments

  • applyAction

    [required] The pending maintenance action to apply to the resource.

    Valid actions are:

    • ENGINE_UPDATE
    • ENGINE_UPGRADE
    • SECURITY_UPDATE
    • OS_UPDATE
    • MASTER_USER_PASSWORD_UPDATE
  • applyOn

    A specific date to apply the pending maintenance action. Required if opt-in-type is APPLY_ON. Format: yyyy/MM/dd HH:mm-yyyy/MM/dd HH:mm

  • optInType

    [required] A value that specifies the type of opt-in request, or undoes an opt-in request. An opt-in request of type IMMEDIATE can't be undone.

  • resourceArn

    [required] The Amazon DocumentDB Amazon Resource Name (ARN) of the resource to which the pending maintenance action applies.

Value

A list with the following syntax:

list(
  resourcePendingMaintenanceAction = list(
    pendingMaintenanceActionDetails = list(
      list(
        action = "string",
        autoAppliedAfterDate = "string",
        currentApplyDate = "string",
        description = "string",
        forcedApplyDate = "string",
        optInStatus = "string"
      )
    ),
    resourceArn = "string"
  )
)

Request syntax

svc$apply_pending_maintenance_action(
  applyAction = "string",
  applyOn = "string",
  optInType = "IMMEDIATE"|"NEXT_MAINTENANCE"|"APPLY_ON"|"UNDO_OPT_IN",
  resourceArn = "string"
)