1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteHsm`](crate::operation::delete_hsm::builders::DeleteHsmFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`hsm_arn(impl Into<String>)`](crate::operation::delete_hsm::builders::DeleteHsmFluentBuilder::hsm_arn) / [`set_hsm_arn(Option<String>)`](crate::operation::delete_hsm::builders::DeleteHsmFluentBuilder::set_hsm_arn):<br>required: **true**<br><p>The ARN of the HSM to delete.</p><br>
    /// - On success, responds with [`DeleteHsmOutput`](crate::operation::delete_hsm::DeleteHsmOutput) with field(s):
    ///   - [`status(String)`](crate::operation::delete_hsm::DeleteHsmOutput::status): <p>The status of the operation.</p>
    /// - On failure, responds with [`SdkError<DeleteHsmError>`](crate::operation::delete_hsm::DeleteHsmError)
    #[deprecated(note = "This API is deprecated.")]
    pub fn delete_hsm(&self) -> crate::operation::delete_hsm::builders::DeleteHsmFluentBuilder {
        crate::operation::delete_hsm::builders::DeleteHsmFluentBuilder::new(self.handle.clone())
    }
}