aws_sdk_transfer/client/delete_host_key.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 [`DeleteHostKey`](crate::operation::delete_host_key::builders::DeleteHostKeyFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - On success, responds with [`DeleteHostKeyOutput`](crate::operation::delete_host_key::DeleteHostKeyOutput)
9 /// - On failure, responds with [`SdkError<DeleteHostKeyError>`](crate::operation::delete_host_key::DeleteHostKeyError)
10 pub fn delete_host_key(&self) -> crate::operation::delete_host_key::builders::DeleteHostKeyFluentBuilder {
11 crate::operation::delete_host_key::builders::DeleteHostKeyFluentBuilder::new(self.handle.clone())
12 }
13}