aws_sdk_transfer/client/
delete_ssh_public_key.rs

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 [`DeleteSshPublicKey`](crate::operation::delete_ssh_public_key::builders::DeleteSshPublicKeyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`server_id(impl Into<String>)`](crate::operation::delete_ssh_public_key::builders::DeleteSshPublicKeyFluentBuilder::server_id) / [`set_server_id(Option<String>)`](crate::operation::delete_ssh_public_key::builders::DeleteSshPublicKeyFluentBuilder::set_server_id):<br>required: **true**<br><p>A system-assigned unique identifier for a file transfer protocol-enabled server instance that has the user assigned to it.</p><br>
    ///   - [`ssh_public_key_id(impl Into<String>)`](crate::operation::delete_ssh_public_key::builders::DeleteSshPublicKeyFluentBuilder::ssh_public_key_id) / [`set_ssh_public_key_id(Option<String>)`](crate::operation::delete_ssh_public_key::builders::DeleteSshPublicKeyFluentBuilder::set_ssh_public_key_id):<br>required: **true**<br><p>A unique identifier used to reference your user's specific SSH key.</p><br>
    ///   - [`user_name(impl Into<String>)`](crate::operation::delete_ssh_public_key::builders::DeleteSshPublicKeyFluentBuilder::user_name) / [`set_user_name(Option<String>)`](crate::operation::delete_ssh_public_key::builders::DeleteSshPublicKeyFluentBuilder::set_user_name):<br>required: **true**<br><p>A unique string that identifies a user whose public key is being deleted.</p><br>
    /// - On success, responds with [`DeleteSshPublicKeyOutput`](crate::operation::delete_ssh_public_key::DeleteSshPublicKeyOutput)
    /// - On failure, responds with [`SdkError<DeleteSshPublicKeyError>`](crate::operation::delete_ssh_public_key::DeleteSshPublicKeyError)
    pub fn delete_ssh_public_key(&self) -> crate::operation::delete_ssh_public_key::builders::DeleteSshPublicKeyFluentBuilder {
        crate::operation::delete_ssh_public_key::builders::DeleteSshPublicKeyFluentBuilder::new(self.handle.clone())
    }
}