aws_sdk_frauddetector/client/
cancel_batch_prediction_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 [`CancelBatchPredictionJob`](crate::operation::cancel_batch_prediction_job::builders::CancelBatchPredictionJobFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`job_id(impl Into<String>)`](crate::operation::cancel_batch_prediction_job::builders::CancelBatchPredictionJobFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::cancel_batch_prediction_job::builders::CancelBatchPredictionJobFluentBuilder::set_job_id):<br>required: **true**<br><p>The ID of the batch prediction job to cancel.</p><br>
7    /// - On success, responds with [`CancelBatchPredictionJobOutput`](crate::operation::cancel_batch_prediction_job::CancelBatchPredictionJobOutput)
8    /// - On failure, responds with [`SdkError<CancelBatchPredictionJobError>`](crate::operation::cancel_batch_prediction_job::CancelBatchPredictionJobError)
9    pub fn cancel_batch_prediction_job(&self) -> crate::operation::cancel_batch_prediction_job::builders::CancelBatchPredictionJobFluentBuilder {
10        crate::operation::cancel_batch_prediction_job::builders::CancelBatchPredictionJobFluentBuilder::new(self.handle.clone())
11    }
12}