1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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:
    ///   - [`cluster_id(impl Into<String>)`](crate::operation::delete_hsm::builders::DeleteHsmFluentBuilder::cluster_id) / [`set_cluster_id(Option<String>)`](crate::operation::delete_hsm::builders::DeleteHsmFluentBuilder::set_cluster_id):<br>required: **true**<br><p>The identifier (ID) of the cluster that contains the HSM that you are deleting.</p><br>
    ///   - [`hsm_id(impl Into<String>)`](crate::operation::delete_hsm::builders::DeleteHsmFluentBuilder::hsm_id) / [`set_hsm_id(Option<String>)`](crate::operation::delete_hsm::builders::DeleteHsmFluentBuilder::set_hsm_id):<br>required: **false**<br><p>The identifier (ID) of the HSM that you are deleting.</p><br>
    ///   - [`eni_id(impl Into<String>)`](crate::operation::delete_hsm::builders::DeleteHsmFluentBuilder::eni_id) / [`set_eni_id(Option<String>)`](crate::operation::delete_hsm::builders::DeleteHsmFluentBuilder::set_eni_id):<br>required: **false**<br><p>The identifier (ID) of the elastic network interface (ENI) of the HSM that you are deleting.</p><br>
    ///   - [`eni_ip(impl Into<String>)`](crate::operation::delete_hsm::builders::DeleteHsmFluentBuilder::eni_ip) / [`set_eni_ip(Option<String>)`](crate::operation::delete_hsm::builders::DeleteHsmFluentBuilder::set_eni_ip):<br>required: **false**<br><p>The IP address of the elastic network interface (ENI) of the HSM that you are deleting.</p><br>
    /// - On success, responds with [`DeleteHsmOutput`](crate::operation::delete_hsm::DeleteHsmOutput) with field(s):
    ///   - [`hsm_id(Option<String>)`](crate::operation::delete_hsm::DeleteHsmOutput::hsm_id): <p>The identifier (ID) of the HSM that was deleted.</p>
    /// - On failure, responds with [`SdkError<DeleteHsmError>`](crate::operation::delete_hsm::DeleteHsmError)
    pub fn delete_hsm(&self) -> crate::operation::delete_hsm::builders::DeleteHsmFluentBuilder {
        crate::operation::delete_hsm::builders::DeleteHsmFluentBuilder::new(self.handle.clone())
    }
}