aws_sdk_comprehend/client/
stop_events_detection_job.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`StopEventsDetectionJob`](crate::operation::stop_events_detection_job::builders::StopEventsDetectionJobFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`job_id(impl Into<String>)`](crate::operation::stop_events_detection_job::builders::StopEventsDetectionJobFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::stop_events_detection_job::builders::StopEventsDetectionJobFluentBuilder::set_job_id):<br>required: **true**<br><p>The identifier of the events detection job to stop.</p><br>
7    /// - On success, responds with [`StopEventsDetectionJobOutput`](crate::operation::stop_events_detection_job::StopEventsDetectionJobOutput) with field(s):
8    ///   - [`job_id(Option<String>)`](crate::operation::stop_events_detection_job::StopEventsDetectionJobOutput::job_id): <p>The identifier of the events detection job to stop.</p>
9    ///   - [`job_status(Option<JobStatus>)`](crate::operation::stop_events_detection_job::StopEventsDetectionJobOutput::job_status): <p>The status of the events detection job.</p>
10    /// - On failure, responds with [`SdkError<StopEventsDetectionJobError>`](crate::operation::stop_events_detection_job::StopEventsDetectionJobError)
11    pub fn stop_events_detection_job(&self) -> crate::operation::stop_events_detection_job::builders::StopEventsDetectionJobFluentBuilder {
12        crate::operation::stop_events_detection_job::builders::StopEventsDetectionJobFluentBuilder::new(self.handle.clone())
13    }
14}