Module Values.CreateScheduledActionMessageSource

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 ResizeCluster API operation.

Sourcetype nonrec t = {
  1. scheduledActionName : String_.t;
    (*

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

    *)
  2. targetAction : ScheduledActionType.t;
    (*

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

    *)
  3. schedule : String_.t;
    (*

    The schedule in at( ) or cron( ) format. For more information about this parameter, see ScheduledAction.

    *)
  4. iamRole : String_.t;
    (*

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

    *)
  5. scheduledActionDescription : String_.t option;
    (*

    The description of the scheduled action.

    *)
  6. startTime : TStamp.t option;
    (*

    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 ScheduledAction.

    *)
  7. endTime : TStamp.t option;
    (*

    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 ScheduledAction.

    *)
  8. enable : BooleanOptional.t option;
    (*

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

    *)
}
Sourceval context_ : string
Sourceval make : ?scheduledActionDescription:??? -> ?startTime:??? -> ?endTime:??? -> ?enable:??? -> scheduledActionName:String_.t -> targetAction:ScheduledActionType.t -> schedule:String_.t -> iamRole:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of BooleanOptional.t | `String of String_.t | `Structure of (string * [> `Structure of (string * [> `Boolean of BooleanOptional.t | `Integer of IntegerOptional.t | `String of String_.t ]) list ]) list | `Timestamp of TStamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t