1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CancelMLDataProcessingJob`](crate::operation::cancel_ml_data_processing_job::builders::CancelMLDataProcessingJobFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`id(impl Into<String>)`](crate::operation::cancel_ml_data_processing_job::builders::CancelMLDataProcessingJobFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::cancel_ml_data_processing_job::builders::CancelMLDataProcessingJobFluentBuilder::set_id):<br>required: **true**<br><p>The unique identifier of the data-processing job.</p><br>
    ///   - [`neptune_iam_role_arn(impl Into<String>)`](crate::operation::cancel_ml_data_processing_job::builders::CancelMLDataProcessingJobFluentBuilder::neptune_iam_role_arn) / [`set_neptune_iam_role_arn(Option<String>)`](crate::operation::cancel_ml_data_processing_job::builders::CancelMLDataProcessingJobFluentBuilder::set_neptune_iam_role_arn):<br>required: **false**<br><p>The ARN of an IAM role that provides Neptune access to SageMaker and Amazon S3 resources. This must be listed in your DB cluster parameter group or an error will occur.</p><br>
    ///   - [`clean(bool)`](crate::operation::cancel_ml_data_processing_job::builders::CancelMLDataProcessingJobFluentBuilder::clean) / [`set_clean(Option<bool>)`](crate::operation::cancel_ml_data_processing_job::builders::CancelMLDataProcessingJobFluentBuilder::set_clean):<br>required: **false**<br><p>If set to <code>TRUE</code>, this flag specifies that all Neptune ML S3 artifacts should be deleted when the job is stopped. The default is <code>FALSE</code>.</p><br>
    /// - On success, responds with [`CancelMlDataProcessingJobOutput`](crate::operation::cancel_ml_data_processing_job::CancelMlDataProcessingJobOutput) with field(s):
    ///   - [`status(Option<String>)`](crate::operation::cancel_ml_data_processing_job::CancelMlDataProcessingJobOutput::status): <p>The status of the cancellation request.</p>
    /// - On failure, responds with [`SdkError<CancelMLDataProcessingJobError>`](crate::operation::cancel_ml_data_processing_job::CancelMLDataProcessingJobError)
    pub fn cancel_ml_data_processing_job(&self) -> crate::operation::cancel_ml_data_processing_job::builders::CancelMLDataProcessingJobFluentBuilder {
        crate::operation::cancel_ml_data_processing_job::builders::CancelMLDataProcessingJobFluentBuilder::new(self.handle.clone())
    }
}