v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14238527879.4 KB

Creates a scheduled action. A scheduled action contains a schedule and an Amazon Redshift API action. For example, you can create a schedule of when to run the <code>ResizeCluster</code> API operation.

get/#Action=CreateScheduledAction

Query parameters

ScheduledActionNamestring required

The name of the scheduled action. The name must be unique within an account. For more information about this parameter, see <a>ScheduledAction</a>.

A JSON format string of the Amazon Redshift API operation with input parameters. For more information about this parameter, see <a>ScheduledAction</a>.

Schedulestring required

The schedule in <code>at( )</code> or <code>cron( )</code> format. For more information about this parameter, see <a>ScheduledAction</a>.

IamRolestring required

The IAM role to assume to run the target action. For more information about this parameter, see <a>ScheduledAction</a>.

ScheduledActionDescriptionstring

The description of the scheduled action.

StartTimestring date-time

The start time in UTC of the scheduled action. Before this time, the scheduled action does not trigger. For more information about this parameter, see <a>ScheduledAction</a>.

EndTimestring date-time

The end time in UTC of the scheduled action. After this time, the scheduled action does not trigger. For more information about this parameter, see <a>ScheduledAction</a>.

Enableboolean

If true, the schedule is enabled. If false, the scheduled action does not trigger. For more information about <code>state</code> of the scheduled action, see <a>ScheduledAction</a>.

Action'CreateScheduledAction' required
Version'2012-12-01' required

Response

Success