// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateUserProfile`](crate::operation::update_user_profile::builders::UpdateUserProfileFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`iam_user_arn(impl Into<String>)`](crate::operation::update_user_profile::builders::UpdateUserProfileFluentBuilder::iam_user_arn) / [`set_iam_user_arn(Option<String>)`](crate::operation::update_user_profile::builders::UpdateUserProfileFluentBuilder::set_iam_user_arn):<br>required: **true**<br><p>The user IAM ARN. This can also be a federated user's ARN.</p><br>
/// - [`ssh_username(impl Into<String>)`](crate::operation::update_user_profile::builders::UpdateUserProfileFluentBuilder::ssh_username) / [`set_ssh_username(Option<String>)`](crate::operation::update_user_profile::builders::UpdateUserProfileFluentBuilder::set_ssh_username):<br>required: **false**<br><p>The user's SSH user name. The allowable characters are [a-z], [A-Z], [0-9], '-', and '_'. If the specified name includes other punctuation marks, AWS OpsWorks Stacks removes them. For example, <code>my.name</code> will be changed to <code>myname</code>. If you do not specify an SSH user name, AWS OpsWorks Stacks generates one from the IAM user name.</p><br>
/// - [`ssh_public_key(impl Into<String>)`](crate::operation::update_user_profile::builders::UpdateUserProfileFluentBuilder::ssh_public_key) / [`set_ssh_public_key(Option<String>)`](crate::operation::update_user_profile::builders::UpdateUserProfileFluentBuilder::set_ssh_public_key):<br>required: **false**<br><p>The user's new SSH public key.</p><br>
/// - [`allow_self_management(bool)`](crate::operation::update_user_profile::builders::UpdateUserProfileFluentBuilder::allow_self_management) / [`set_allow_self_management(Option<bool>)`](crate::operation::update_user_profile::builders::UpdateUserProfileFluentBuilder::set_allow_self_management):<br>required: **false**<br><p>Whether users can specify their own SSH public key through the My Settings page. For more information, see <a href="https://docs.aws.amazon.com/opsworks/latest/userguide/security-settingsshkey.html">Managing User Permissions</a>.</p><br>
/// - On success, responds with [`UpdateUserProfileOutput`](crate::operation::update_user_profile::UpdateUserProfileOutput)
/// - On failure, responds with [`SdkError<UpdateUserProfileError>`](crate::operation::update_user_profile::UpdateUserProfileError)
pub fn update_user_profile(&self) -> crate::operation::update_user_profile::builders::UpdateUserProfileFluentBuilder {
crate::operation::update_user_profile::builders::UpdateUserProfileFluentBuilder::new(self.handle.clone())
}
}