Struct aws_sdk_iot::types::TimeoutConfig
source · #[non_exhaustive]pub struct TimeoutConfig {
pub in_progress_timeout_in_minutes: Option<i64>,
}Expand description
Specifies the amount of time each device has to finish its execution of the job. A timer is started when the job execution status is set to IN_PROGRESS. If the job execution status is not set to another terminal state before the timer expires, it will be automatically set to TIMED_OUT.
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.in_progress_timeout_in_minutes: Option<i64>Specifies the amount of time, in minutes, this device has to finish execution of this job. The timeout interval can be anywhere between 1 minute and 7 days (1 to 10080 minutes). The in progress timer can't be updated and will apply to all job executions for the job. Whenever a job execution remains in the IN_PROGRESS status for longer than this interval, the job execution will fail and switch to the terminal TIMED_OUT status.
Implementations§
source§impl TimeoutConfig
impl TimeoutConfig
sourcepub fn in_progress_timeout_in_minutes(&self) -> Option<i64>
pub fn in_progress_timeout_in_minutes(&self) -> Option<i64>
Specifies the amount of time, in minutes, this device has to finish execution of this job. The timeout interval can be anywhere between 1 minute and 7 days (1 to 10080 minutes). The in progress timer can't be updated and will apply to all job executions for the job. Whenever a job execution remains in the IN_PROGRESS status for longer than this interval, the job execution will fail and switch to the terminal TIMED_OUT status.
source§impl TimeoutConfig
impl TimeoutConfig
sourcepub fn builder() -> TimeoutConfigBuilder
pub fn builder() -> TimeoutConfigBuilder
Creates a new builder-style object to manufacture TimeoutConfig.
Trait Implementations§
source§impl Clone for TimeoutConfig
impl Clone for TimeoutConfig
source§fn clone(&self) -> TimeoutConfig
fn clone(&self) -> TimeoutConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TimeoutConfig
impl Debug for TimeoutConfig
source§impl PartialEq for TimeoutConfig
impl PartialEq for TimeoutConfig
source§fn eq(&self, other: &TimeoutConfig) -> bool
fn eq(&self, other: &TimeoutConfig) -> bool
self and other values to be equal, and is used
by ==.