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

val error_to_string : [ Smaws_Lib.Protocols.AwsQuery.error | `ClusterNotFoundFault of Types.cluster_not_found_fault | `InvalidScheduledActionFault of Types.invalid_scheduled_action_fault | `InvalidScheduleFault of Types.invalid_schedule_fault | `ScheduledActionAlreadyExistsFault of Types.scheduled_action_already_exists_fault | `ScheduledActionQuotaExceededFault of Types.scheduled_action_quota_exceeded_fault | `ScheduledActionTypeUnsupportedFault of Types.scheduled_action_type_unsupported_fault | `UnauthorizedOperation of Types.unauthorized_operation | `UnsupportedOperationFault of Types.unsupported_operation_fault ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.create_scheduled_action_message -> (Types.scheduled_action, [> Smaws_Lib.Protocols.AwsQuery.error | `ClusterNotFoundFault of Types.cluster_not_found_fault | `InvalidScheduledActionFault of Types.invalid_scheduled_action_fault | `InvalidScheduleFault of Types.invalid_schedule_fault | `ScheduledActionAlreadyExistsFault of Types.scheduled_action_already_exists_fault | `ScheduledActionQuotaExceededFault of Types.scheduled_action_quota_exceeded_fault | `ScheduledActionTypeUnsupportedFault of Types.scheduled_action_type_unsupported_fault | `UnauthorizedOperation of Types.unauthorized_operation | `UnsupportedOperationFault of Types.unsupported_operation_fault ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.create_scheduled_action_message -> (Types.scheduled_action Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsQuery.error | `ClusterNotFoundFault of Types.cluster_not_found_fault | `InvalidScheduledActionFault of Types.invalid_scheduled_action_fault | `InvalidScheduleFault of Types.invalid_schedule_fault | `ScheduledActionAlreadyExistsFault of Types.scheduled_action_already_exists_fault | `ScheduledActionQuotaExceededFault of Types.scheduled_action_quota_exceeded_fault | `ScheduledActionTypeUnsupportedFault of Types.scheduled_action_type_unsupported_fault | `UnauthorizedOperation of Types.unauthorized_operation | `UnsupportedOperationFault of Types.unsupported_operation_fault ] * Smaws_Lib.Response.metadata) Stdlib.result