1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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:
    ///   - [`user_arn(impl ::std::convert::Into<String>)`](crate::operation::update_user_profile::builders::UpdateUserProfileFluentBuilder::user_arn) / [`set_user_arn(Option<String>)`](crate::operation::update_user_profile::builders::UpdateUserProfileFluentBuilder::set_user_arn): <p>The name that will be displayed as the friendly name for the user in AWS CodeStar.</p>
    ///   - [`display_name(impl ::std::convert::Into<String>)`](crate::operation::update_user_profile::builders::UpdateUserProfileFluentBuilder::display_name) / [`set_display_name(Option<String>)`](crate::operation::update_user_profile::builders::UpdateUserProfileFluentBuilder::set_display_name): <p>The name that is displayed as the friendly name for the user in AWS CodeStar.</p>
    ///   - [`email_address(impl ::std::convert::Into<String>)`](crate::operation::update_user_profile::builders::UpdateUserProfileFluentBuilder::email_address) / [`set_email_address(Option<String>)`](crate::operation::update_user_profile::builders::UpdateUserProfileFluentBuilder::set_email_address): <p>The email address that is displayed as part of the user's profile in AWS CodeStar.</p>
    ///   - [`ssh_public_key(impl ::std::convert::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): <p>The SSH public key associated with the user in AWS CodeStar. If a project owner allows the user remote access to project resources, this public key will be used along with the user's private key for SSH access.</p>
    /// - On success, responds with [`UpdateUserProfileOutput`](crate::operation::update_user_profile::UpdateUserProfileOutput) with field(s):
    ///   - [`user_arn(Option<String>)`](crate::operation::update_user_profile::UpdateUserProfileOutput::user_arn): <p>The Amazon Resource Name (ARN) of the user in IAM.</p>
    ///   - [`display_name(Option<String>)`](crate::operation::update_user_profile::UpdateUserProfileOutput::display_name): <p>The name that is displayed as the friendly name for the user in AWS CodeStar.</p>
    ///   - [`email_address(Option<String>)`](crate::operation::update_user_profile::UpdateUserProfileOutput::email_address): <p>The email address that is displayed as part of the user's profile in AWS CodeStar.</p>
    ///   - [`ssh_public_key(Option<String>)`](crate::operation::update_user_profile::UpdateUserProfileOutput::ssh_public_key): <p>The SSH public key associated with the user in AWS CodeStar. This is the public portion of the public/private keypair the user can use to access project resources if a project owner allows the user remote access to those resources.</p>
    ///   - [`created_timestamp(Option<DateTime>)`](crate::operation::update_user_profile::UpdateUserProfileOutput::created_timestamp): <p>The date the user profile was created, in timestamp format.</p>
    ///   - [`last_modified_timestamp(Option<DateTime>)`](crate::operation::update_user_profile::UpdateUserProfileOutput::last_modified_timestamp): <p>The date the user profile was last modified, in timestamp format.</p>
    /// - 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())
    }
}