Learn R Programming

paws.database (version 0.1.5)

redshift_modify_cluster_maintenance: Modifies the maintenance settings of a cluster

Description

Modifies the maintenance settings of a cluster. For example, you can defer a maintenance window. You can also update or cancel a deferment.

Usage

redshift_modify_cluster_maintenance(ClusterIdentifier, DeferMaintenance,
  DeferMaintenanceIdentifier, DeferMaintenanceStartTime,
  DeferMaintenanceEndTime, DeferMaintenanceDuration)

Arguments

ClusterIdentifier

[required] A unique identifier for the cluster.

DeferMaintenance

A boolean indicating whether to enable the deferred maintenance window.

DeferMaintenanceIdentifier

A unique identifier for the deferred maintenance window.

DeferMaintenanceStartTime

A timestamp indicating the start time for the deferred maintenance window.

DeferMaintenanceEndTime

A timestamp indicating end time for the deferred maintenance window. If you specify an end time, you can't specify a duration.

DeferMaintenanceDuration

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.

Request syntax

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
)