Struct aws_sdk_redshift::input::CreateScheduledActionInput [−][src]
#[non_exhaustive]pub struct CreateScheduledActionInput {
pub scheduled_action_name: Option<String>,
pub target_action: Option<ScheduledActionType>,
pub schedule: Option<String>,
pub iam_role: Option<String>,
pub scheduled_action_description: Option<String>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
pub enable: Option<bool>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.scheduled_action_name: Option<String>
The name of the scheduled action. The name must be unique within an account. For more information about this parameter, see ScheduledAction
.
target_action: Option<ScheduledActionType>
A JSON format string of the Amazon Redshift API operation with input parameters. For more information about this parameter, see ScheduledAction
.
schedule: Option<String>
The schedule in at( )
or cron( )
format. For more information about this parameter, see ScheduledAction
.
iam_role: Option<String>
The IAM role to assume to run the target action. For more information about this parameter, see ScheduledAction
.
scheduled_action_description: Option<String>
The description of the scheduled action.
start_time: Option<DateTime>
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
.
end_time: Option<DateTime>
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
.
enable: Option<bool>
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
.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateScheduledAction, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateScheduledAction, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateScheduledAction
>
Creates a new builder-style object to manufacture CreateScheduledActionInput
The name of the scheduled action. The name must be unique within an account. For more information about this parameter, see ScheduledAction
.
A JSON format string of the Amazon Redshift API operation with input parameters. For more information about this parameter, see ScheduledAction
.
The schedule in at( )
or cron( )
format. For more information about this parameter, see ScheduledAction
.
The IAM role to assume to run the target action. For more information about this parameter, see ScheduledAction
.
The description of the scheduled action.
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
.
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
.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreateScheduledActionInput
impl Send for CreateScheduledActionInput
impl Sync for CreateScheduledActionInput
impl Unpin for CreateScheduledActionInput
impl UnwindSafe for CreateScheduledActionInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more