aws_sdk_machinelearning/client/
update_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 [`UpdateBatchPrediction`](crate::operation::update_batch_prediction::builders::UpdateBatchPredictionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`batch_prediction_id(impl Into<String>)`](crate::operation::update_batch_prediction::builders::UpdateBatchPredictionFluentBuilder::batch_prediction_id) / [`set_batch_prediction_id(Option<String>)`](crate::operation::update_batch_prediction::builders::UpdateBatchPredictionFluentBuilder::set_batch_prediction_id):<br>required: **true**<br><p>The ID assigned to the <code>BatchPrediction</code> during creation.</p><br>
7    ///   - [`batch_prediction_name(impl Into<String>)`](crate::operation::update_batch_prediction::builders::UpdateBatchPredictionFluentBuilder::batch_prediction_name) / [`set_batch_prediction_name(Option<String>)`](crate::operation::update_batch_prediction::builders::UpdateBatchPredictionFluentBuilder::set_batch_prediction_name):<br>required: **true**<br><p>A new user-supplied name or description of the <code>BatchPrediction</code>.</p><br>
8    /// - On success, responds with [`UpdateBatchPredictionOutput`](crate::operation::update_batch_prediction::UpdateBatchPredictionOutput) with field(s):
9    ///   - [`batch_prediction_id(Option<String>)`](crate::operation::update_batch_prediction::UpdateBatchPredictionOutput::batch_prediction_id): <p>The ID assigned to the <code>BatchPrediction</code> during creation. This value should be identical to the value of the <code>BatchPredictionId</code> in the request.</p>
10    /// - On failure, responds with [`SdkError<UpdateBatchPredictionError>`](crate::operation::update_batch_prediction::UpdateBatchPredictionError)
11    pub fn update_batch_prediction(&self) -> crate::operation::update_batch_prediction::builders::UpdateBatchPredictionFluentBuilder {
12        crate::operation::update_batch_prediction::builders::UpdateBatchPredictionFluentBuilder::new(self.handle.clone())
13    }
14}