aws_sdk_iam/client/
delete_ssh_public_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 [`DeleteSSHPublicKey`](crate::operation::delete_ssh_public_key::builders::DeleteSSHPublicKeyFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>The name of the IAM user associated with the SSH public key.</p> <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-</p><br>
7    ///   - [`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>The unique identifier for the SSH public key.</p> <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters that can consist of any upper or lowercased letter or digit.</p><br>
8    /// - On success, responds with [`DeleteSshPublicKeyOutput`](crate::operation::delete_ssh_public_key::DeleteSshPublicKeyOutput)
9    /// - On failure, responds with [`SdkError<DeleteSSHPublicKeyError>`](crate::operation::delete_ssh_public_key::DeleteSSHPublicKeyError)
10    pub fn delete_ssh_public_key(&self) -> crate::operation::delete_ssh_public_key::builders::DeleteSSHPublicKeyFluentBuilder {
11        crate::operation::delete_ssh_public_key::builders::DeleteSSHPublicKeyFluentBuilder::new(self.handle.clone())
12    }
13}