Learn R Programming

paws.database (version 0.1.12)

redshift_modify_scheduled_action: Modifies a scheduled action

Description

Modifies a scheduled action.

Usage

redshift_modify_scheduled_action(ScheduledActionName, TargetAction,
  Schedule, IamRole, ScheduledActionDescription, StartTime, EndTime,
  Enable)

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
    ),
    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"
  )
)

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( ) or cron( ) 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.

Request syntax

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
)