Struct aws_sdk_iot::types::VersionUpdateByJobsConfig
source · #[non_exhaustive]pub struct VersionUpdateByJobsConfig {
pub enabled: Option<bool>,
pub role_arn: Option<String>,
}
Expand description
Configuration to manage IoT Job's package version reporting. If configured, Jobs updates the thing's reserved named shadow with the package version information up on successful job completion.
Note: For each job, the destinationPackageVersions attribute has to be set with the correct data for Jobs to report to the thing shadow.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.enabled: Option<bool>
Indicates whether the Job is enabled or not.
role_arn: Option<String>
The Amazon Resource Name (ARN) of the role that grants permission to the IoT jobs service to update the reserved named shadow when the job successfully completes.
Implementations§
source§impl VersionUpdateByJobsConfig
impl VersionUpdateByJobsConfig
sourcepub fn builder() -> VersionUpdateByJobsConfigBuilder
pub fn builder() -> VersionUpdateByJobsConfigBuilder
Creates a new builder-style object to manufacture VersionUpdateByJobsConfig
.
Trait Implementations§
source§impl Clone for VersionUpdateByJobsConfig
impl Clone for VersionUpdateByJobsConfig
source§fn clone(&self) -> VersionUpdateByJobsConfig
fn clone(&self) -> VersionUpdateByJobsConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VersionUpdateByJobsConfig
impl Debug for VersionUpdateByJobsConfig
source§impl PartialEq for VersionUpdateByJobsConfig
impl PartialEq for VersionUpdateByJobsConfig
source§fn eq(&self, other: &VersionUpdateByJobsConfig) -> bool
fn eq(&self, other: &VersionUpdateByJobsConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VersionUpdateByJobsConfig
Auto Trait Implementations§
impl Freeze for VersionUpdateByJobsConfig
impl RefUnwindSafe for VersionUpdateByJobsConfig
impl Send for VersionUpdateByJobsConfig
impl Sync for VersionUpdateByJobsConfig
impl Unpin for VersionUpdateByJobsConfig
impl UnwindSafe for VersionUpdateByJobsConfig
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.