#[non_exhaustive]pub struct ModifyScheduledActionInput {
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 to modify.
target_action: Option<ScheduledActionType>
A modified JSON format of the scheduled action. For more information about this parameter, see ScheduledAction
.
schedule: Option<String>
A modified schedule in either at( )
or cron( )
format. For more information about this parameter, see ScheduledAction
.
iam_role: Option<String>
A different IAM role to assume to run the target action. For more information about this parameter, see ScheduledAction
.
scheduled_action_description: Option<String>
A modified description of the scheduled action.
start_time: Option<DateTime>
A modified start time of the scheduled action. For more information about this parameter, see ScheduledAction
.
end_time: Option<DateTime>
A modified end time of the scheduled action. For more information about this parameter, see ScheduledAction
.
enable: Option<bool>
A modified enable flag of the scheduled action. If true, the scheduled action is active. If false, the scheduled action is disabled.
Implementations§
source§impl ModifyScheduledActionInput
impl ModifyScheduledActionInput
sourcepub fn scheduled_action_name(&self) -> Option<&str>
pub fn scheduled_action_name(&self) -> Option<&str>
The name of the scheduled action to modify.
sourcepub fn target_action(&self) -> Option<&ScheduledActionType>
pub fn target_action(&self) -> Option<&ScheduledActionType>
A modified JSON format of the scheduled action. For more information about this parameter, see ScheduledAction
.
sourcepub fn schedule(&self) -> Option<&str>
pub fn schedule(&self) -> Option<&str>
A modified schedule in either 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>
A different 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>
A modified description of the scheduled action.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
A modified start time of the scheduled action. For more information about this parameter, see ScheduledAction
.
source§impl ModifyScheduledActionInput
impl ModifyScheduledActionInput
sourcepub fn builder() -> ModifyScheduledActionInputBuilder
pub fn builder() -> ModifyScheduledActionInputBuilder
Creates a new builder-style object to manufacture ModifyScheduledActionInput
.
Trait Implementations§
source§impl Clone for ModifyScheduledActionInput
impl Clone for ModifyScheduledActionInput
source§fn clone(&self) -> ModifyScheduledActionInput
fn clone(&self) -> ModifyScheduledActionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ModifyScheduledActionInput
impl Debug for ModifyScheduledActionInput
impl StructuralPartialEq for ModifyScheduledActionInput
Auto Trait Implementations§
impl Freeze for ModifyScheduledActionInput
impl RefUnwindSafe for ModifyScheduledActionInput
impl Send for ModifyScheduledActionInput
impl Sync for ModifyScheduledActionInput
impl Unpin for ModifyScheduledActionInput
impl UnwindSafe for ModifyScheduledActionInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more