http://redshift.{region}.amazonaws.com/#Action=ModifyClusterMaintenanceModifies the maintenance settings of a cluster.
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.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request GET \2 --url 'http://redshift.{region}.amazonaws.com/#Action=ModifyClusterMaintenance' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}http://redshift.{region}.amazonaws.com/#Action=ModifyClusterMaintenanceModifies the maintenance settings of a cluster.
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.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request GET \2 --url 'http://redshift.{region}.amazonaws.com/#Action=ModifyClusterMaintenance' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}