Struct aws_sdk_redshift::input::CreateScheduledActionInput
source · [−]#[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
sourceimpl CreateScheduledActionInput
impl CreateScheduledActionInput
sourcepub 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
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateScheduledActionInput
sourceimpl CreateScheduledActionInput
impl CreateScheduledActionInput
sourcepub fn scheduled_action_name(&self) -> Option<&str>
pub fn scheduled_action_name(&self) -> Option<&str>
The name of the scheduled action. The name must be unique within an account. For more information about this parameter, see ScheduledAction
.
sourcepub fn target_action(&self) -> Option<&ScheduledActionType>
pub fn target_action(&self) -> Option<&ScheduledActionType>
A JSON format string of the Amazon Redshift API operation with input parameters. For more information about this parameter, see ScheduledAction
.
sourcepub fn schedule(&self) -> Option<&str>
pub fn schedule(&self) -> Option<&str>
The schedule in at( )
or cron( )
format. For more information about this parameter, see ScheduledAction
.
sourcepub fn iam_role(&self) -> Option<&str>
pub fn iam_role(&self) -> Option<&str>
The IAM role to assume to run the target action. For more information about this parameter, see ScheduledAction
.
sourcepub fn scheduled_action_description(&self) -> Option<&str>
pub fn scheduled_action_description(&self) -> Option<&str>
The description of the scheduled action.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> 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
.
Trait Implementations
sourceimpl Clone for CreateScheduledActionInput
impl Clone for CreateScheduledActionInput
sourcefn clone(&self) -> CreateScheduledActionInput
fn clone(&self) -> CreateScheduledActionInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateScheduledActionInput
impl Debug for CreateScheduledActionInput
sourceimpl PartialEq<CreateScheduledActionInput> for CreateScheduledActionInput
impl PartialEq<CreateScheduledActionInput> for CreateScheduledActionInput
sourcefn eq(&self, other: &CreateScheduledActionInput) -> bool
fn eq(&self, other: &CreateScheduledActionInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateScheduledActionInput) -> bool
fn ne(&self, other: &CreateScheduledActionInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateScheduledActionInput
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more