Modify Scheduled Action
redshift_modify_scheduled_action | R Documentation |
Modifies a scheduled action¶
Description¶
Modifies a scheduled action.
Usage¶
redshift_modify_scheduled_action(ScheduledActionName, TargetAction,
Schedule, IamRole, ScheduledActionDescription, StartTime, EndTime,
Enable)
Arguments¶
ScheduledActionName
[required] The name of the scheduled action to modify.
TargetAction
A modified JSON format of the scheduled action. For more information about this parameter, see ScheduledAction.
Schedule
A modified schedule in either
at( )
orcron( )
format. For more information about this parameter, see ScheduledAction.IamRole
A different IAM role to assume to run the target action. For more information about this parameter, see ScheduledAction.
ScheduledActionDescription
A modified description of the scheduled action.
StartTime
A modified start time of the scheduled action. For more information about this parameter, see ScheduledAction.
EndTime
A modified end time of the scheduled action. For more information about this parameter, see ScheduledAction.
Enable
A modified enable flag of the scheduled action. If true, the scheduled action is active. If false, the scheduled action is disabled.
Value¶
A list with the following syntax:
list(
ScheduledActionName = "string",
TargetAction = list(
ResizeCluster = list(
ClusterIdentifier = "string",
ClusterType = "string",
NodeType = "string",
NumberOfNodes = 123,
Classic = TRUE|FALSE,
ReservedNodeId = "string",
TargetReservedNodeOfferingId = "string"
),
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"
)
)
Request syntax¶
svc$modify_scheduled_action(
ScheduledActionName = "string",
TargetAction = list(
ResizeCluster = list(
ClusterIdentifier = "string",
ClusterType = "string",
NodeType = "string",
NumberOfNodes = 123,
Classic = TRUE|FALSE,
ReservedNodeId = "string",
TargetReservedNodeOfferingId = "string"
),
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
)