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.
TargetActionA modified JSON format of the scheduled action. For more information about this parameter, see ScheduledAction.
ScheduleA modified schedule in either
at( )orcron( )format. For more information about this parameter, see ScheduledAction.IamRoleA different IAM role to assume to run the target action. For more information about this parameter, see ScheduledAction.
ScheduledActionDescriptionA modified description of the scheduled action.
StartTimeA modified start time of the scheduled action. For more information about this parameter, see ScheduledAction.
EndTimeA modified end time of the scheduled action. For more information about this parameter, see ScheduledAction.
EnableA 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
)