// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`AssociateTargetsWithJob`](crate::operation::associate_targets_with_job::builders::AssociateTargetsWithJobFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`targets(Vec<String>)`](crate::operation::associate_targets_with_job::builders::AssociateTargetsWithJobFluentBuilder::targets) / [`set_targets(Option<Vec<String>>)`](crate::operation::associate_targets_with_job::builders::AssociateTargetsWithJobFluentBuilder::set_targets): <p>A list of thing group ARNs that define the targets of the job.</p>
/// - [`job_id(impl Into<String>)`](crate::operation::associate_targets_with_job::builders::AssociateTargetsWithJobFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::associate_targets_with_job::builders::AssociateTargetsWithJobFluentBuilder::set_job_id): <p>The unique identifier you assigned to this job when it was created.</p>
/// - [`comment(impl Into<String>)`](crate::operation::associate_targets_with_job::builders::AssociateTargetsWithJobFluentBuilder::comment) / [`set_comment(Option<String>)`](crate::operation::associate_targets_with_job::builders::AssociateTargetsWithJobFluentBuilder::set_comment): <p>An optional comment string describing why the job was associated with the targets.</p>
/// - [`namespace_id(impl Into<String>)`](crate::operation::associate_targets_with_job::builders::AssociateTargetsWithJobFluentBuilder::namespace_id) / [`set_namespace_id(Option<String>)`](crate::operation::associate_targets_with_job::builders::AssociateTargetsWithJobFluentBuilder::set_namespace_id): <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 in public preview.</p> </note>
/// - On success, responds with [`AssociateTargetsWithJobOutput`](crate::operation::associate_targets_with_job::AssociateTargetsWithJobOutput) with field(s):
/// - [`job_arn(Option<String>)`](crate::operation::associate_targets_with_job::AssociateTargetsWithJobOutput::job_arn): <p>An ARN identifying the job.</p>
/// - [`job_id(Option<String>)`](crate::operation::associate_targets_with_job::AssociateTargetsWithJobOutput::job_id): <p>The unique identifier you assigned to this job when it was created.</p>
/// - [`description(Option<String>)`](crate::operation::associate_targets_with_job::AssociateTargetsWithJobOutput::description): <p>A short text description of the job.</p>
/// - On failure, responds with [`SdkError<AssociateTargetsWithJobError>`](crate::operation::associate_targets_with_job::AssociateTargetsWithJobError)
pub fn associate_targets_with_job(
&self,
) -> crate::operation::associate_targets_with_job::builders::AssociateTargetsWithJobFluentBuilder
{
crate::operation::associate_targets_with_job::builders::AssociateTargetsWithJobFluentBuilder::new(self.handle.clone())
}
}