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