async fn delete_model(
        &self,
        input: DeleteModelInput,
    ) -> Result<(), RusotoError<DeleteModelError>> {
        let mut request = self.new_signed_request("POST", "/");
        request.add_header("x-amz-target", "SageMaker.DeleteModel");
        let encoded = serde_json::to_string(&input).unwrap();
        request.set_payload(Some(encoded));

        let response = self
            .sign_and_dispatch(request, DeleteModelError::from_response)
            .await?;
        std::mem::drop(response);
        Ok(())
    }
<p>Deletes a model. The <code>DeleteModel</code> API deletes only the model entry that was created in Amazon SageMaker when you called the <a>CreateModel</a> API. It does not delete model artifacts, inference code, or the IAM role that you specified when creating the model. </p>
rusoto/services/sagemaker/src/generated.rs