aws_sdk_mturk/client/
delete_hit.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 [`DeleteHIT`](crate::operation::delete_hit::builders::DeleteHITFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`hit_id(impl Into<String>)`](crate::operation::delete_hit::builders::DeleteHITFluentBuilder::hit_id) / [`set_hit_id(Option<String>)`](crate::operation::delete_hit::builders::DeleteHITFluentBuilder::set_hit_id):<br>required: **true**<br><p>The ID of the HIT to be deleted.</p><br>
7    /// - On success, responds with [`DeleteHitOutput`](crate::operation::delete_hit::DeleteHitOutput)
8    /// - On failure, responds with [`SdkError<DeleteHITError>`](crate::operation::delete_hit::DeleteHITError)
9    pub fn delete_hit(&self) -> crate::operation::delete_hit::builders::DeleteHITFluentBuilder {
10        crate::operation::delete_hit::builders::DeleteHITFluentBuilder::new(self.handle.clone())
11    }
12}