aws_sdk_codestar/client/create_user_profile.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 [`CreateUserProfile`](crate::operation::create_user_profile::builders::CreateUserProfileFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`user_arn(impl Into<String>)`](crate::operation::create_user_profile::builders::CreateUserProfileFluentBuilder::user_arn) / [`set_user_arn(Option<String>)`](crate::operation::create_user_profile::builders::CreateUserProfileFluentBuilder::set_user_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the user in IAM.</p><br>
7 /// - [`display_name(impl Into<String>)`](crate::operation::create_user_profile::builders::CreateUserProfileFluentBuilder::display_name) / [`set_display_name(Option<String>)`](crate::operation::create_user_profile::builders::CreateUserProfileFluentBuilder::set_display_name):<br>required: **true**<br><p>The name that will be displayed as the friendly name for the user in AWS CodeStar.</p><br>
8 /// - [`email_address(impl Into<String>)`](crate::operation::create_user_profile::builders::CreateUserProfileFluentBuilder::email_address) / [`set_email_address(Option<String>)`](crate::operation::create_user_profile::builders::CreateUserProfileFluentBuilder::set_email_address):<br>required: **true**<br><p>The email address that will be displayed as part of the user's profile in AWS CodeStar.</p><br>
9 /// - [`ssh_public_key(impl Into<String>)`](crate::operation::create_user_profile::builders::CreateUserProfileFluentBuilder::ssh_public_key) / [`set_ssh_public_key(Option<String>)`](crate::operation::create_user_profile::builders::CreateUserProfileFluentBuilder::set_ssh_public_key):<br>required: **false**<br><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><br>
10 /// - On success, responds with [`CreateUserProfileOutput`](crate::operation::create_user_profile::CreateUserProfileOutput) with field(s):
11 /// - [`user_arn(String)`](crate::operation::create_user_profile::CreateUserProfileOutput::user_arn): <p>The Amazon Resource Name (ARN) of the user in IAM.</p>
12 /// - [`display_name(Option<String>)`](crate::operation::create_user_profile::CreateUserProfileOutput::display_name): <p>The name that is displayed as the friendly name for the user in AWS CodeStar.</p>
13 /// - [`email_address(Option<String>)`](crate::operation::create_user_profile::CreateUserProfileOutput::email_address): <p>The email address that is displayed as part of the user's profile in AWS CodeStar.</p>
14 /// - [`ssh_public_key(Option<String>)`](crate::operation::create_user_profile::CreateUserProfileOutput::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>
15 /// - [`created_timestamp(Option<DateTime>)`](crate::operation::create_user_profile::CreateUserProfileOutput::created_timestamp): <p>The date the user profile was created, in timestamp format.</p>
16 /// - [`last_modified_timestamp(Option<DateTime>)`](crate::operation::create_user_profile::CreateUserProfileOutput::last_modified_timestamp): <p>The date the user profile was last modified, in timestamp format.</p>
17 /// - On failure, responds with [`SdkError<CreateUserProfileError>`](crate::operation::create_user_profile::CreateUserProfileError)
18 pub fn create_user_profile(&self) -> crate::operation::create_user_profile::builders::CreateUserProfileFluentBuilder {
19 crate::operation::create_user_profile::builders::CreateUserProfileFluentBuilder::new(self.handle.clone())
20 }
21}