Modifies a scheduled action.
redshift_modify_scheduled_action(ScheduledActionName, TargetAction,
Schedule, IamRole, ScheduledActionDescription, StartTime, EndTime,
Enable)
A list with the following syntax:
list(
ScheduledActionName = "string",
TargetAction = list(
ResizeCluster = list(
ClusterIdentifier = "string",
ClusterType = "string",
NodeType = "string",
NumberOfNodes = 123,
Classic = TRUE|FALSE
),
PauseCluster = list(
ClusterIdentifier = "string"
),
ResumeCluster = list(
ClusterIdentifier = "string"
)
),
Schedule = "string",
IamRole = "string",
ScheduledActionDescription = "string",
State = "ACTIVE"|"DISABLED",
NextInvocations = list(
as.POSIXct(
"2015-01-01"
)
),
StartTime = as.POSIXct(
"2015-01-01"
),
EndTime = as.POSIXct(
"2015-01-01"
)
)
[required] The name of the scheduled action to modify.
A modified JSON format of the scheduled action. For more information about this parameter, see ScheduledAction.
A modified schedule in either at( )
or cron( )
format. For more
information about this parameter, see ScheduledAction.
A different IAM role to assume to run the target action. For more information about this parameter, see ScheduledAction.
A modified description of the scheduled action.
A modified start time of the scheduled action. For more information about this parameter, see ScheduledAction.
A modified end time of the scheduled action. For more information about this parameter, see ScheduledAction.
A modified enable flag of the scheduled action. If true, the scheduled action is active. If false, the scheduled action is disabled.
svc$modify_scheduled_action(
ScheduledActionName = "string",
TargetAction = list(
ResizeCluster = list(
ClusterIdentifier = "string",
ClusterType = "string",
NodeType = "string",
NumberOfNodes = 123,
Classic = TRUE|FALSE
),
PauseCluster = list(
ClusterIdentifier = "string"
),
ResumeCluster = list(
ClusterIdentifier = "string"
)
),
Schedule = "string",
IamRole = "string",
ScheduledActionDescription = "string",
StartTime = as.POSIXct(
"2015-01-01"
),
EndTime = as.POSIXct(
"2015-01-01"
),
Enable = TRUE|FALSE
)