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 [`UpdateSSHPublicKey`](crate::operation::update_ssh_public_key::builders::UpdateSSHPublicKeyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`user_name(impl Into<String>)`](crate::operation::update_ssh_public_key::builders::UpdateSSHPublicKeyFluentBuilder::user_name) / [`set_user_name(Option<String>)`](crate::operation::update_ssh_public_key::builders::UpdateSSHPublicKeyFluentBuilder::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>
    ///   - [`ssh_public_key_id(impl Into<String>)`](crate::operation::update_ssh_public_key::builders::UpdateSSHPublicKeyFluentBuilder::ssh_public_key_id) / [`set_ssh_public_key_id(Option<String>)`](crate::operation::update_ssh_public_key::builders::UpdateSSHPublicKeyFluentBuilder::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>
    ///   - [`status(StatusType)`](crate::operation::update_ssh_public_key::builders::UpdateSSHPublicKeyFluentBuilder::status) / [`set_status(Option<StatusType>)`](crate::operation::update_ssh_public_key::builders::UpdateSSHPublicKeyFluentBuilder::set_status):<br>required: **true**<br><p>The status to assign to the SSH public key. <code>Active</code> means that the key can be used for authentication with an CodeCommit repository. <code>Inactive</code> means that the key cannot be used.</p><br>
    /// - On success, responds with [`UpdateSshPublicKeyOutput`](crate::operation::update_ssh_public_key::UpdateSshPublicKeyOutput)
    /// - On failure, responds with [`SdkError<UpdateSSHPublicKeyError>`](crate::operation::update_ssh_public_key::UpdateSSHPublicKeyError)
    pub fn update_ssh_public_key(&self) -> crate::operation::update_ssh_public_key::builders::UpdateSSHPublicKeyFluentBuilder {
        crate::operation::update_ssh_public_key::builders::UpdateSSHPublicKeyFluentBuilder::new(self.handle.clone())
    }
}