// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`StopKeyPhrasesDetectionJob`](crate::operation::stop_key_phrases_detection_job::builders::StopKeyPhrasesDetectionJobFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`job_id(impl Into<String>)`](crate::operation::stop_key_phrases_detection_job::builders::StopKeyPhrasesDetectionJobFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::stop_key_phrases_detection_job::builders::StopKeyPhrasesDetectionJobFluentBuilder::set_job_id):<br>required: **true**<br><p>The identifier of the key phrases detection job to stop.</p><br>
/// - On success, responds with [`StopKeyPhrasesDetectionJobOutput`](crate::operation::stop_key_phrases_detection_job::StopKeyPhrasesDetectionJobOutput) with field(s):
/// - [`job_id(Option<String>)`](crate::operation::stop_key_phrases_detection_job::StopKeyPhrasesDetectionJobOutput::job_id): <p>The identifier of the key phrases detection job to stop.</p>
/// - [`job_status(Option<JobStatus>)`](crate::operation::stop_key_phrases_detection_job::StopKeyPhrasesDetectionJobOutput::job_status): <p>Either <code>STOP_REQUESTED</code> if the job is currently running, or <code>STOPPED</code> if the job was previously stopped with the <code>StopKeyPhrasesDetectionJob</code> operation.</p>
/// - On failure, responds with [`SdkError<StopKeyPhrasesDetectionJobError>`](crate::operation::stop_key_phrases_detection_job::StopKeyPhrasesDetectionJobError)
pub fn stop_key_phrases_detection_job(
&self,
) -> crate::operation::stop_key_phrases_detection_job::builders::StopKeyPhrasesDetectionJobFluentBuilder {
crate::operation::stop_key_phrases_detection_job::builders::StopKeyPhrasesDetectionJobFluentBuilder::new(self.handle.clone())
}
}