Struct aws_sdk_iot::types::SchedulingConfig  
source · #[non_exhaustive]pub struct SchedulingConfig {
    pub start_time: Option<String>,
    pub end_time: Option<String>,
    pub end_behavior: Option<JobEndBehavior>,
    pub maintenance_windows: Option<Vec<MaintenanceWindow>>,
}Expand description
Specifies the date and time that a job will begin the rollout of the job document to all devices in the target group. Additionally, you can specify the end behavior for each job execution when it reaches the scheduled end time.
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.start_time: Option<String>The time a job will begin rollout of the job document to all devices in the target group for a job. The startTime can be scheduled up to a year in advance and must be scheduled a minimum of thirty minutes from the current time. The date and time format for the startTime is YYYY-MM-DD for the date and HH:MM for the time.
end_time: Option<String>The time a job will stop rollout of the job document to all devices in the target group for a job. The endTime must take place no later than two years from the current time and be scheduled a minimum of thirty minutes from the current time. The minimum duration between startTime and endTime is thirty minutes. The maximum duration between startTime and endTime is two years. The date and time format for the endTime is YYYY-MM-DD for the date and HH:MM for the time.
end_behavior: Option<JobEndBehavior>Specifies the end behavior for all job executions after a job reaches the selected endTime. If endTime is not selected when creating the job, then endBehavior does not apply.
maintenance_windows: Option<Vec<MaintenanceWindow>>An optional configuration within the SchedulingConfig to setup a recurring maintenance window with a predetermined start time and duration for the rollout of a job document to all devices in a target group for a job.
Implementations§
source§impl SchedulingConfig
 
impl SchedulingConfig
sourcepub fn start_time(&self) -> Option<&str>
 
pub fn start_time(&self) -> Option<&str>
The time a job will begin rollout of the job document to all devices in the target group for a job. The startTime can be scheduled up to a year in advance and must be scheduled a minimum of thirty minutes from the current time. The date and time format for the startTime is YYYY-MM-DD for the date and HH:MM for the time.
sourcepub fn end_time(&self) -> Option<&str>
 
pub fn end_time(&self) -> Option<&str>
The time a job will stop rollout of the job document to all devices in the target group for a job. The endTime must take place no later than two years from the current time and be scheduled a minimum of thirty minutes from the current time. The minimum duration between startTime and endTime is thirty minutes. The maximum duration between startTime and endTime is two years. The date and time format for the endTime is YYYY-MM-DD for the date and HH:MM for the time.
sourcepub fn end_behavior(&self) -> Option<&JobEndBehavior>
 
pub fn end_behavior(&self) -> Option<&JobEndBehavior>
Specifies the end behavior for all job executions after a job reaches the selected endTime. If endTime is not selected when creating the job, then endBehavior does not apply.
sourcepub fn maintenance_windows(&self) -> Option<&[MaintenanceWindow]>
 
pub fn maintenance_windows(&self) -> Option<&[MaintenanceWindow]>
An optional configuration within the SchedulingConfig to setup a recurring maintenance window with a predetermined start time and duration for the rollout of a job document to all devices in a target group for a job.
source§impl SchedulingConfig
 
impl SchedulingConfig
sourcepub fn builder() -> SchedulingConfigBuilder
 
pub fn builder() -> SchedulingConfigBuilder
Creates a new builder-style object to manufacture SchedulingConfig.
Trait Implementations§
source§impl Clone for SchedulingConfig
 
impl Clone for SchedulingConfig
source§fn clone(&self) -> SchedulingConfig
 
fn clone(&self) -> SchedulingConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SchedulingConfig
 
impl Debug for SchedulingConfig
source§impl PartialEq<SchedulingConfig> for SchedulingConfig
 
impl PartialEq<SchedulingConfig> for SchedulingConfig
source§fn eq(&self, other: &SchedulingConfig) -> bool
 
fn eq(&self, other: &SchedulingConfig) -> bool
self and other values to be equal, and is used
by ==.