pub struct ListJobExecutionsForThing { /* private fields */ }
Expand description
Fluent builder constructing a request to ListJobExecutionsForThing
.
Lists the job executions for the specified thing.
Requires permission to access the ListJobExecutionsForThing action.
Implementations§
source§impl ListJobExecutionsForThing
impl ListJobExecutionsForThing
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ListJobExecutionsForThing, AwsResponseRetryClassifier>, SdkError<ListJobExecutionsForThingError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ListJobExecutionsForThing, AwsResponseRetryClassifier>, SdkError<ListJobExecutionsForThingError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<ListJobExecutionsForThingOutput, SdkError<ListJobExecutionsForThingError>>
pub async fn send(
self
) -> Result<ListJobExecutionsForThingOutput, SdkError<ListJobExecutionsForThingError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn into_paginator(self) -> ListJobExecutionsForThingPaginator
pub fn into_paginator(self) -> ListJobExecutionsForThingPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
sourcepub fn thing_name(self, input: impl Into<String>) -> Self
pub fn thing_name(self, input: impl Into<String>) -> Self
The thing name.
sourcepub fn set_thing_name(self, input: Option<String>) -> Self
pub fn set_thing_name(self, input: Option<String>) -> Self
The thing name.
sourcepub fn status(self, input: JobExecutionStatus) -> Self
pub fn status(self, input: JobExecutionStatus) -> Self
An optional filter that lets you search for jobs that have the specified status.
sourcepub fn set_status(self, input: Option<JobExecutionStatus>) -> Self
pub fn set_status(self, input: Option<JobExecutionStatus>) -> Self
An optional filter that lets you search for jobs that have the specified status.
sourcepub fn namespace_id(self, input: impl Into<String>) -> Self
pub fn namespace_id(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_namespace_id(self, input: Option<String>) -> Self
pub fn set_namespace_id(self, input: Option<String>) -> Self
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.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to be returned per request.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to be returned per request.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to retrieve the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to retrieve the next set of results.
sourcepub fn job_id(self, input: impl Into<String>) -> Self
pub fn job_id(self, input: impl Into<String>) -> Self
The unique identifier you assigned to this job when it was created.
sourcepub fn set_job_id(self, input: Option<String>) -> Self
pub fn set_job_id(self, input: Option<String>) -> Self
The unique identifier you assigned to this job when it was created.
Trait Implementations§
source§impl Clone for ListJobExecutionsForThing
impl Clone for ListJobExecutionsForThing
source§fn clone(&self) -> ListJobExecutionsForThing
fn clone(&self) -> ListJobExecutionsForThing
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more