1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListJobExecutionsForThing`](crate::operation::list_job_executions_for_thing::builders::ListJobExecutionsForThingFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_job_executions_for_thing::builders::ListJobExecutionsForThingFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`thing_name(impl Into<String>)`](crate::operation::list_job_executions_for_thing::builders::ListJobExecutionsForThingFluentBuilder::thing_name) / [`set_thing_name(Option<String>)`](crate::operation::list_job_executions_for_thing::builders::ListJobExecutionsForThingFluentBuilder::set_thing_name):<br>required: **true**<br><p>The thing name.</p><br>
    ///   - [`status(JobExecutionStatus)`](crate::operation::list_job_executions_for_thing::builders::ListJobExecutionsForThingFluentBuilder::status) / [`set_status(Option<JobExecutionStatus>)`](crate::operation::list_job_executions_for_thing::builders::ListJobExecutionsForThingFluentBuilder::set_status):<br>required: **false**<br><p>An optional filter that lets you search for jobs that have the specified status.</p><br>
    ///   - [`namespace_id(impl Into<String>)`](crate::operation::list_job_executions_for_thing::builders::ListJobExecutionsForThingFluentBuilder::namespace_id) / [`set_namespace_id(Option<String>)`](crate::operation::list_job_executions_for_thing::builders::ListJobExecutionsForThingFluentBuilder::set_namespace_id):<br>required: **false**<br><p>The namespace used to indicate that a job is a customer-managed job.</p> <p>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.</p> <p><code>$aws/things/<i>THING_NAME</i>/jobs/<i>JOB_ID</i>/notify-namespace-<i>NAMESPACE_ID</i>/</code></p><note>  <p>The <code>namespaceId</code> feature is only supported by IoT Greengrass at this time. For more information, see <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/setting-up.html">Setting up IoT Greengrass core devices.</a></p> </note><br>
    ///   - [`max_results(i32)`](crate::operation::list_job_executions_for_thing::builders::ListJobExecutionsForThingFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_job_executions_for_thing::builders::ListJobExecutionsForThingFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to be returned per request.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_job_executions_for_thing::builders::ListJobExecutionsForThingFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_job_executions_for_thing::builders::ListJobExecutionsForThingFluentBuilder::set_next_token):<br>required: **false**<br><p>The token to retrieve the next set of results.</p><br>
    ///   - [`job_id(impl Into<String>)`](crate::operation::list_job_executions_for_thing::builders::ListJobExecutionsForThingFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::list_job_executions_for_thing::builders::ListJobExecutionsForThingFluentBuilder::set_job_id):<br>required: **false**<br><p>The unique identifier you assigned to this job when it was created.</p><br>
    /// - On success, responds with [`ListJobExecutionsForThingOutput`](crate::operation::list_job_executions_for_thing::ListJobExecutionsForThingOutput) with field(s):
    ///   - [`execution_summaries(Option<Vec::<JobExecutionSummaryForThing>>)`](crate::operation::list_job_executions_for_thing::ListJobExecutionsForThingOutput::execution_summaries): <p>A list of job execution summaries.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_job_executions_for_thing::ListJobExecutionsForThingOutput::next_token): <p>The token for the next set of results, or <b>null</b> if there are no additional results.</p>
    /// - On failure, responds with [`SdkError<ListJobExecutionsForThingError>`](crate::operation::list_job_executions_for_thing::ListJobExecutionsForThingError)
    pub fn list_job_executions_for_thing(&self) -> crate::operation::list_job_executions_for_thing::builders::ListJobExecutionsForThingFluentBuilder {
        crate::operation::list_job_executions_for_thing::builders::ListJobExecutionsForThingFluentBuilder::new(self.handle.clone())
    }
}