aws_sdk_neptunedata/client/
delete_ml_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 [`DeleteMLEndpoint`](crate::operation::delete_ml_endpoint::builders::DeleteMLEndpointFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::delete_ml_endpoint::builders::DeleteMLEndpointFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::delete_ml_endpoint::builders::DeleteMLEndpointFluentBuilder::set_id):<br>required: **true**<br><p>The unique identifier of the inference endpoint.</p><br>
7    ///   - [`neptune_iam_role_arn(impl Into<String>)`](crate::operation::delete_ml_endpoint::builders::DeleteMLEndpointFluentBuilder::neptune_iam_role_arn) / [`set_neptune_iam_role_arn(Option<String>)`](crate::operation::delete_ml_endpoint::builders::DeleteMLEndpointFluentBuilder::set_neptune_iam_role_arn):<br>required: **false**<br><p>The ARN of an IAM role providing Neptune access to SageMaker and Amazon S3 resources. This must be listed in your DB cluster parameter group or an error will be thrown.</p><br>
8    ///   - [`clean(bool)`](crate::operation::delete_ml_endpoint::builders::DeleteMLEndpointFluentBuilder::clean) / [`set_clean(Option<bool>)`](crate::operation::delete_ml_endpoint::builders::DeleteMLEndpointFluentBuilder::set_clean):<br>required: **false**<br><p>If this flag is set to <code>TRUE</code>, all Neptune ML S3 artifacts should be deleted when the job is stopped. The default is <code>FALSE</code>.</p><br>
9    /// - On success, responds with [`DeleteMlEndpointOutput`](crate::operation::delete_ml_endpoint::DeleteMlEndpointOutput) with field(s):
10    ///   - [`status(Option<String>)`](crate::operation::delete_ml_endpoint::DeleteMlEndpointOutput::status): <p>The status of the cancellation.</p>
11    /// - On failure, responds with [`SdkError<DeleteMLEndpointError>`](crate::operation::delete_ml_endpoint::DeleteMLEndpointError)
12    pub fn delete_ml_endpoint(&self) -> crate::operation::delete_ml_endpoint::builders::DeleteMLEndpointFluentBuilder {
13        crate::operation::delete_ml_endpoint::builders::DeleteMLEndpointFluentBuilder::new(self.handle.clone())
14    }
15}