Learn R Programming

paws.database (version 0.7.0)

redshiftserverless_update_scheduled_action: Updates a scheduled action

Description

Updates a scheduled action.

See https://www.paws-r-sdk.com/docs/redshiftserverless_update_scheduled_action/ for full documentation.

Usage

redshiftserverless_update_scheduled_action(
  enabled = NULL,
  endTime = NULL,
  roleArn = NULL,
  schedule = NULL,
  scheduledActionDescription = NULL,
  scheduledActionName,
  startTime = NULL,
  targetAction = NULL
)

Arguments

enabled

Specifies whether to enable the scheduled action.

endTime

The end time in UTC of the scheduled action to update.

roleArn

The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift Serverless API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler to schedule creating snapshots (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift scheduler, see Using Identity-Based Policies for Amazon Redshift in the Amazon Redshift Management Guide

schedule

The schedule for a one-time (at timestamp format) or recurring (cron format) scheduled action. Schedule invocations must be separated by at least one hour. Times are in UTC.

  • Format of at timestamp is yyyy-mm-ddThh:mm:ss. For example, 2016-03-04T17:27:00.

  • Format of cron expression is (Minutes Hours Day-of-month Month Day-of-week Year). For example, "(0 10 ? * MON *)". For more information, see Cron Expressions in the Amazon CloudWatch Events User Guide.

scheduledActionDescription

The descripion of the scheduled action to update to.

scheduledActionName

[required] The name of the scheduled action to update to.

startTime

The start time in UTC of the scheduled action to update to.

targetAction