Struct aws_sdk_iot::operation::list_jobs::ListJobsInput
source · #[non_exhaustive]pub struct ListJobsInput {
pub status: Option<JobStatus>,
pub target_selection: Option<TargetSelection>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
pub thing_group_name: Option<String>,
pub thing_group_id: 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.status: Option<JobStatus>
An optional filter that lets you search for jobs that have the specified status.
target_selection: Option<TargetSelection>
Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a thing when the thing is added to a target group, even after the job was completed by all things originally in the group.
We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. By using continuous jobs, devices that join the group receive the job execution even after the job has been created.
max_results: Option<i32>
The maximum number of results to return per request.
next_token: Option<String>
The token to retrieve the next set of results.
thing_group_name: Option<String>
A filter that limits the returned jobs to those for the specified group.
thing_group_id: Option<String>
A filter that limits the returned jobs to those for the specified group.
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 ListJobsInput
impl ListJobsInput
sourcepub fn status(&self) -> Option<&JobStatus>
pub fn status(&self) -> Option<&JobStatus>
An optional filter that lets you search for jobs that have the specified status.
sourcepub fn target_selection(&self) -> Option<&TargetSelection>
pub fn target_selection(&self) -> Option<&TargetSelection>
Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a thing when the thing is added to a target group, even after the job was completed by all things originally in the group.
We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. By using continuous jobs, devices that join the group receive the job execution even after the job has been created.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to return per request.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token to retrieve the next set of results.
sourcepub fn thing_group_name(&self) -> Option<&str>
pub fn thing_group_name(&self) -> Option<&str>
A filter that limits the returned jobs to those for the specified group.
sourcepub fn thing_group_id(&self) -> Option<&str>
pub fn thing_group_id(&self) -> Option<&str>
A filter that limits the returned jobs to those for the specified group.
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 ListJobsInput
impl ListJobsInput
sourcepub fn builder() -> ListJobsInputBuilder
pub fn builder() -> ListJobsInputBuilder
Creates a new builder-style object to manufacture ListJobsInput
.
Trait Implementations§
source§impl Clone for ListJobsInput
impl Clone for ListJobsInput
source§fn clone(&self) -> ListJobsInput
fn clone(&self) -> ListJobsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListJobsInput
impl Debug for ListJobsInput
source§impl PartialEq for ListJobsInput
impl PartialEq for ListJobsInput
source§fn eq(&self, other: &ListJobsInput) -> bool
fn eq(&self, other: &ListJobsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListJobsInput
Auto Trait Implementations§
impl Freeze for ListJobsInput
impl RefUnwindSafe for ListJobsInput
impl Send for ListJobsInput
impl Sync for ListJobsInput
impl Unpin for ListJobsInput
impl UnwindSafe for ListJobsInput
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