// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ImportHostKey`](crate::operation::import_host_key::builders::ImportHostKeyFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`server_id(impl Into<String>)`](crate::operation::import_host_key::builders::ImportHostKeyFluentBuilder::server_id) / [`set_server_id(Option<String>)`](crate::operation::import_host_key::builders::ImportHostKeyFluentBuilder::set_server_id): <p>The identifier of the server that contains the host key that you are importing.</p>
/// - [`host_key_body(impl Into<String>)`](crate::operation::import_host_key::builders::ImportHostKeyFluentBuilder::host_key_body) / [`set_host_key_body(Option<String>)`](crate::operation::import_host_key::builders::ImportHostKeyFluentBuilder::set_host_key_body): <p>The private key portion of an SSH key pair.</p> <p>Transfer Family accepts RSA, ECDSA, and ED25519 keys.</p>
/// - [`description(impl Into<String>)`](crate::operation::import_host_key::builders::ImportHostKeyFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::import_host_key::builders::ImportHostKeyFluentBuilder::set_description): <p>The text description that identifies this host key.</p>
/// - [`tags(Tag)`](crate::operation::import_host_key::builders::ImportHostKeyFluentBuilder::tags) / [`set_tags(Option<Vec<Tag>>)`](crate::operation::import_host_key::builders::ImportHostKeyFluentBuilder::set_tags): <p>Key-value pairs that can be used to group and search for host keys.</p>
/// - On success, responds with [`ImportHostKeyOutput`](crate::operation::import_host_key::ImportHostKeyOutput) with field(s):
/// - [`server_id(Option<String>)`](crate::operation::import_host_key::ImportHostKeyOutput::server_id): <p>Returns the server identifier that contains the imported key.</p>
/// - [`host_key_id(Option<String>)`](crate::operation::import_host_key::ImportHostKeyOutput::host_key_id): <p>Returns the host key identifier for the imported key.</p>
/// - On failure, responds with [`SdkError<ImportHostKeyError>`](crate::operation::import_host_key::ImportHostKeyError)
pub fn import_host_key(&self) -> crate::operation::import_host_key::builders::ImportHostKeyFluentBuilder {
crate::operation::import_host_key::builders::ImportHostKeyFluentBuilder::new(self.handle.clone())
}
}