aws_sdk_machinelearning/client/
delete_realtime_endpoint.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 [`DeleteRealtimeEndpoint`](crate::operation::delete_realtime_endpoint::builders::DeleteRealtimeEndpointFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`ml_model_id(impl Into<String>)`](crate::operation::delete_realtime_endpoint::builders::DeleteRealtimeEndpointFluentBuilder::ml_model_id) / [`set_ml_model_id(Option<String>)`](crate::operation::delete_realtime_endpoint::builders::DeleteRealtimeEndpointFluentBuilder::set_ml_model_id):<br>required: **true**<br><p>The ID assigned to the <code>MLModel</code> during creation.</p><br>
7    /// - On success, responds with [`DeleteRealtimeEndpointOutput`](crate::operation::delete_realtime_endpoint::DeleteRealtimeEndpointOutput) with field(s):
8    ///   - [`ml_model_id(Option<String>)`](crate::operation::delete_realtime_endpoint::DeleteRealtimeEndpointOutput::ml_model_id): <p>A user-supplied ID that uniquely identifies the <code>MLModel</code>. This value should be identical to the value of the <code>MLModelId</code> in the request.</p>
9    ///   - [`realtime_endpoint_info(Option<RealtimeEndpointInfo>)`](crate::operation::delete_realtime_endpoint::DeleteRealtimeEndpointOutput::realtime_endpoint_info): <p>The endpoint information of the <code>MLModel</code></p>
10    /// - On failure, responds with [`SdkError<DeleteRealtimeEndpointError>`](crate::operation::delete_realtime_endpoint::DeleteRealtimeEndpointError)
11    pub fn delete_realtime_endpoint(&self) -> crate::operation::delete_realtime_endpoint::builders::DeleteRealtimeEndpointFluentBuilder {
12        crate::operation::delete_realtime_endpoint::builders::DeleteRealtimeEndpointFluentBuilder::new(self.handle.clone())
13    }
14}