Amazon Redshift
API Reference (API Version 2012-12-01)

ModifyClusterMaintenance

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

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

ClusterIdentifier

A unique identifier for the cluster.

Type: String

Required: Yes

DeferMaintenance

A boolean indicating whether to enable the deferred maintenance window.

Type: Boolean

Required: No

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.

Type: Integer

Required: No

DeferMaintenanceEndTime

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

Type: Timestamp

Required: No

DeferMaintenanceIdentifier

A unique identifier for the deferred maintenance window.

Type: String

Required: No

DeferMaintenanceStartTime

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

Type: Timestamp

Required: No

Response Elements

The following element is returned by the service.

Cluster

Describes a cluster.

Type: Cluster object

Errors

For information about the errors that are common to all actions, see Common Errors.

ClusterNotFound

The ClusterIdentifier parameter does not refer to an existing cluster.

HTTP Status Code: 404

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: