aws_sdk_machinelearning/client/delete_batch_prediction.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 [`DeleteBatchPrediction`](crate::operation::delete_batch_prediction::builders::DeleteBatchPredictionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`batch_prediction_id(impl Into<String>)`](crate::operation::delete_batch_prediction::builders::DeleteBatchPredictionFluentBuilder::batch_prediction_id) / [`set_batch_prediction_id(Option<String>)`](crate::operation::delete_batch_prediction::builders::DeleteBatchPredictionFluentBuilder::set_batch_prediction_id):<br>required: **true**<br><p>A user-supplied ID that uniquely identifies the <code>BatchPrediction</code>.</p><br>
7 /// - On success, responds with [`DeleteBatchPredictionOutput`](crate::operation::delete_batch_prediction::DeleteBatchPredictionOutput) with field(s):
8 /// - [`batch_prediction_id(Option<String>)`](crate::operation::delete_batch_prediction::DeleteBatchPredictionOutput::batch_prediction_id): <p>A user-supplied ID that uniquely identifies the <code>BatchPrediction</code>. This value should be identical to the value of the <code>BatchPredictionID</code> in the request.</p>
9 /// - On failure, responds with [`SdkError<DeleteBatchPredictionError>`](crate::operation::delete_batch_prediction::DeleteBatchPredictionError)
10 pub fn delete_batch_prediction(&self) -> crate::operation::delete_batch_prediction::builders::DeleteBatchPredictionFluentBuilder {
11 crate::operation::delete_batch_prediction::builders::DeleteBatchPredictionFluentBuilder::new(self.handle.clone())
12 }
13}