Struct aws_sdk_iot::types::AwsJobTimeoutConfig
source · #[non_exhaustive]pub struct AwsJobTimeoutConfig {
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 AwsJobTimeoutConfig
impl AwsJobTimeoutConfig
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 AwsJobTimeoutConfig
impl AwsJobTimeoutConfig
sourcepub fn builder() -> AwsJobTimeoutConfigBuilder
pub fn builder() -> AwsJobTimeoutConfigBuilder
Creates a new builder-style object to manufacture AwsJobTimeoutConfig
.
Trait Implementations§
source§impl Clone for AwsJobTimeoutConfig
impl Clone for AwsJobTimeoutConfig
source§fn clone(&self) -> AwsJobTimeoutConfig
fn clone(&self) -> AwsJobTimeoutConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AwsJobTimeoutConfig
impl Debug for AwsJobTimeoutConfig
source§impl PartialEq for AwsJobTimeoutConfig
impl PartialEq for AwsJobTimeoutConfig
source§fn eq(&self, other: &AwsJobTimeoutConfig) -> bool
fn eq(&self, other: &AwsJobTimeoutConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsJobTimeoutConfig
Auto Trait Implementations§
impl Freeze for AwsJobTimeoutConfig
impl RefUnwindSafe for AwsJobTimeoutConfig
impl Send for AwsJobTimeoutConfig
impl Sync for AwsJobTimeoutConfig
impl Unpin for AwsJobTimeoutConfig
impl UnwindSafe for AwsJobTimeoutConfig
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> 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