Struct aws_sdk_iot::input::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.
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 in public preview.
Implementations
sourceimpl ListJobsInput
impl ListJobsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListJobs, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListJobs, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ListJobs
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ListJobsInput
sourceimpl 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.
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 in public preview.
Trait Implementations
sourceimpl Clone for ListJobsInput
impl Clone for ListJobsInput
sourcefn clone(&self) -> ListJobsInput
fn clone(&self) -> ListJobsInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ListJobsInput
impl Debug for ListJobsInput
sourceimpl PartialEq<ListJobsInput> for ListJobsInput
impl PartialEq<ListJobsInput> for ListJobsInput
sourcefn eq(&self, other: &ListJobsInput) -> bool
fn eq(&self, other: &ListJobsInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ListJobsInput) -> bool
fn ne(&self, other: &ListJobsInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for ListJobsInput
Auto Trait Implementations
impl RefUnwindSafe for ListJobsInput
impl Send for ListJobsInput
impl Sync for ListJobsInput
impl Unpin for ListJobsInput
impl UnwindSafe for ListJobsInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more