aws_sdk_transfer/client/delete_host_key.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteHostKey`](crate::operation::delete_host_key::builders::DeleteHostKeyFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`server_id(impl Into<String>)`](crate::operation::delete_host_key::builders::DeleteHostKeyFluentBuilder::server_id) / [`set_server_id(Option<String>)`](crate::operation::delete_host_key::builders::DeleteHostKeyFluentBuilder::set_server_id):<br>required: **true**<br><p>The identifier of the server that contains the host key that you are deleting.</p><br>
/// - [`host_key_id(impl Into<String>)`](crate::operation::delete_host_key::builders::DeleteHostKeyFluentBuilder::host_key_id) / [`set_host_key_id(Option<String>)`](crate::operation::delete_host_key::builders::DeleteHostKeyFluentBuilder::set_host_key_id):<br>required: **true**<br><p>The identifier of the host key that you are deleting.</p><br>
/// - On success, responds with [`DeleteHostKeyOutput`](crate::operation::delete_host_key::DeleteHostKeyOutput)
/// - On failure, responds with [`SdkError<DeleteHostKeyError>`](crate::operation::delete_host_key::DeleteHostKeyError)
pub fn delete_host_key(&self) -> crate::operation::delete_host_key::builders::DeleteHostKeyFluentBuilder {
crate::operation::delete_host_key::builders::DeleteHostKeyFluentBuilder::new(self.handle.clone())
}
}