Modifies the maintenance settings of a cluster. For example, you can defer a maintenance window. You can also update or cancel a deferment.
redshift_modify_cluster_maintenance(ClusterIdentifier, DeferMaintenance,
DeferMaintenanceIdentifier, DeferMaintenanceStartTime,
DeferMaintenanceEndTime, DeferMaintenanceDuration)[required] A unique identifier for the cluster.
A boolean indicating whether to enable the deferred maintenance window.
A unique identifier for the deferred maintenance window.
A timestamp indicating the start time for the deferred maintenance window.
A timestamp indicating end time for the deferred maintenance window. If you specify an end time, you can\'t specify a duration.
An integer indicating the duration of the maintenance window in days. If you specify a duration, you can\'t specify an end time. The duration must be 45 days or less.
svc$modify_cluster_maintenance(
ClusterIdentifier = "string",
DeferMaintenance = TRUE|FALSE,
DeferMaintenanceIdentifier = "string",
DeferMaintenanceStartTime = as.POSIXct(
"2015-01-01"
),
DeferMaintenanceEndTime = as.POSIXct(
"2015-01-01"
),
DeferMaintenanceDuration = 123
)