#[non_exhaustive]pub struct AssociateTargetsWithJobInput {
pub targets: Option<Vec<String>>,
pub job_id: Option<String>,
pub comment: Option<String>,
pub namespace_id: Option<String>,
}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.targets: Option<Vec<String>>A list of thing group ARNs that define the targets of the job.
job_id: Option<String>The unique identifier you assigned to this job when it was created.
comment: Option<String>An optional comment string describing why the job was associated with the targets.
namespace_id: Option<String>The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, Amazon Web Services IoT Core sends jobs notifications to MQTT topics that contain the value in the following format.
$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/
The namespaceId feature is only supported by IoT Greengrass at this time. For more information, see Setting up IoT Greengrass core devices.
Implementations§
source§impl AssociateTargetsWithJobInput
impl AssociateTargetsWithJobInput
sourcepub fn targets(&self) -> &[String]
pub fn targets(&self) -> &[String]
A list of thing group ARNs that define the targets of the job.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .targets.is_none().
sourcepub fn job_id(&self) -> Option<&str>
pub fn job_id(&self) -> Option<&str>
The unique identifier you assigned to this job when it was created.
sourcepub fn comment(&self) -> Option<&str>
pub fn comment(&self) -> Option<&str>
An optional comment string describing why the job was associated with the targets.
sourcepub fn namespace_id(&self) -> Option<&str>
pub fn namespace_id(&self) -> Option<&str>
The namespace used to indicate that a job is a customer-managed job.
When you specify a value for this parameter, Amazon Web Services IoT Core sends jobs notifications to MQTT topics that contain the value in the following format.
$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/
The namespaceId feature is only supported by IoT Greengrass at this time. For more information, see Setting up IoT Greengrass core devices.
source§impl AssociateTargetsWithJobInput
impl AssociateTargetsWithJobInput
sourcepub fn builder() -> AssociateTargetsWithJobInputBuilder
pub fn builder() -> AssociateTargetsWithJobInputBuilder
Creates a new builder-style object to manufacture AssociateTargetsWithJobInput.
Trait Implementations§
source§impl Clone for AssociateTargetsWithJobInput
impl Clone for AssociateTargetsWithJobInput
source§fn clone(&self) -> AssociateTargetsWithJobInput
fn clone(&self) -> AssociateTargetsWithJobInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AssociateTargetsWithJobInput
impl Debug for AssociateTargetsWithJobInput
source§impl PartialEq for AssociateTargetsWithJobInput
impl PartialEq for AssociateTargetsWithJobInput
source§fn eq(&self, other: &AssociateTargetsWithJobInput) -> bool
fn eq(&self, other: &AssociateTargetsWithJobInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AssociateTargetsWithJobInput
Auto Trait Implementations§
impl Freeze for AssociateTargetsWithJobInput
impl RefUnwindSafe for AssociateTargetsWithJobInput
impl Send for AssociateTargetsWithJobInput
impl Sync for AssociateTargetsWithJobInput
impl Unpin for AssociateTargetsWithJobInput
impl UnwindSafe for AssociateTargetsWithJobInput
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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