---
title: "GET /#Action=CreateScheduledAction"
method: GET
path: "/#Action=CreateScheduledAction"
---

# GET /#Action=CreateScheduledAction

`GET /#Action=CreateScheduledAction`

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.

## Query parameters

- `ScheduledActionName` string, required
- `TargetAction` object, required — The action type that specifies an Amazon Redshift API operation that is supported by the Amazon Redshift scheduler.
  - `ResizeCluster` object — An action that runs a <code>ResizeCluster</code> API operation.
    - `ClusterIdentifier` string, required — The unique identifier for the cluster to resize.
    - `ClusterType` string — The new cluster type for the specified cluster.
    - `NodeType` string — The new node type for the nodes you are adding. If not specified, the cluster's current node type is used.
    - `NumberOfNodes` integer — The new number of nodes for the cluster. If not specified, the cluster's current number of nodes is used.
    - `Classic` boolean — A boolean value indicating whether the resize operation is using the classic resize process. If you don't provide this parameter or set the value to <code>false</code>, the resize type is elastic.
    - `ReservedNodeId` string — The identifier of the reserved node.
    - `TargetReservedNodeOfferingId` string — The identifier of the target reserved node offering.
  - `PauseCluster` object — An action that runs a <code>PauseCluster</code> API operation.
    - `ClusterIdentifier` string, required — The identifier of the cluster to be paused.
  - `ResumeCluster` object — An action that runs a <code>ResumeCluster</code> API operation.
    - `ClusterIdentifier` string, required — The identifier of the cluster to be resumed.
- `Schedule` string, required
- `IamRole` string, required
- `ScheduledActionDescription` string
- `StartTime` string, date-time
- `EndTime` string, date-time
- `Enable` boolean
- `Action` 'CreateScheduledAction', required
- `Version` '2012-12-01', required

## Response `200`

Success

## Other responses

- `480` — ScheduledActionAlreadyExistsFault
- `481` — ScheduledActionQuotaExceededFault
- `482` — ScheduledActionTypeUnsupportedFault
- `483` — InvalidScheduleFault
- `484` — InvalidScheduledActionFault
- `485` — UnauthorizedOperation

---

[API](https://skmtc.net/aws/apis/redshift.md) · [All operations](https://skmtc.net/aws/apis/redshift/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/redshift/versions/20d3543bb6e9/schema)
