libZSservicesZSamazonka-codestarZSamazonka-codestar
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeStar.UpdateUserProfile

Description

Updates a user's profile in AWS CodeStar. The user profile is not project-specific. Information in the user profile is displayed wherever the user's information appears to other users in AWS CodeStar.

Synopsis

Creating a Request

data UpdateUserProfile Source #

See: newUpdateUserProfile smart constructor.

Constructors

UpdateUserProfile' 

Fields

  • sshPublicKey :: Maybe Text

    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.

  • emailAddress :: Maybe (Sensitive Text)

    The email address that is displayed as part of the user's profile in AWS CodeStar.

  • displayName :: Maybe (Sensitive Text)

    The name that is displayed as the friendly name for the user in AWS CodeStar.

  • userArn :: Text

    The name that will be displayed as the friendly name for the user in AWS CodeStar.

Instances

Instances details
Eq UpdateUserProfile Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateUserProfile

Show UpdateUserProfile Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateUserProfile

Generic UpdateUserProfile Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateUserProfile

Associated Types

type Rep UpdateUserProfile :: Type -> Type #

NFData UpdateUserProfile Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateUserProfile

Methods

rnf :: UpdateUserProfile -> () #

Hashable UpdateUserProfile Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateUserProfile

ToJSON UpdateUserProfile Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateUserProfile

AWSRequest UpdateUserProfile Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateUserProfile

Associated Types

type AWSResponse UpdateUserProfile #

ToHeaders UpdateUserProfile Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateUserProfile

ToPath UpdateUserProfile Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateUserProfile

ToQuery UpdateUserProfile Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateUserProfile

type Rep UpdateUserProfile Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateUserProfile

type Rep UpdateUserProfile = D1 ('MetaData "UpdateUserProfile" "Amazonka.CodeStar.UpdateUserProfile" "libZSservicesZSamazonka-codestarZSamazonka-codestar" 'False) (C1 ('MetaCons "UpdateUserProfile'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sshPublicKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "emailAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) :*: (S1 ('MetaSel ('Just "displayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "userArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateUserProfile Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateUserProfile

newUpdateUserProfile Source #

Create a value of UpdateUserProfile with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:sshPublicKey:UpdateUserProfile', updateUserProfile_sshPublicKey - 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.

$sel:emailAddress:UpdateUserProfile', updateUserProfile_emailAddress - The email address that is displayed as part of the user's profile in AWS CodeStar.

$sel:displayName:UpdateUserProfile', updateUserProfile_displayName - The name that is displayed as the friendly name for the user in AWS CodeStar.

$sel:userArn:UpdateUserProfile', updateUserProfile_userArn - The name that will be displayed as the friendly name for the user in AWS CodeStar.

Request Lenses

updateUserProfile_sshPublicKey :: Lens' UpdateUserProfile (Maybe Text) Source #

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.

updateUserProfile_emailAddress :: Lens' UpdateUserProfile (Maybe Text) Source #

The email address that is displayed as part of the user's profile in AWS CodeStar.

updateUserProfile_displayName :: Lens' UpdateUserProfile (Maybe Text) Source #

The name that is displayed as the friendly name for the user in AWS CodeStar.

updateUserProfile_userArn :: Lens' UpdateUserProfile Text Source #

The name that will be displayed as the friendly name for the user in AWS CodeStar.

Destructuring the Response

data UpdateUserProfileResponse Source #

See: newUpdateUserProfileResponse smart constructor.

Constructors

UpdateUserProfileResponse' 

Fields

Instances

Instances details
Eq UpdateUserProfileResponse Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateUserProfile

Show UpdateUserProfileResponse Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateUserProfile

Generic UpdateUserProfileResponse Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateUserProfile

Associated Types

type Rep UpdateUserProfileResponse :: Type -> Type #

NFData UpdateUserProfileResponse Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateUserProfile

type Rep UpdateUserProfileResponse Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateUserProfile

type Rep UpdateUserProfileResponse = D1 ('MetaData "UpdateUserProfileResponse" "Amazonka.CodeStar.UpdateUserProfile" "libZSservicesZSamazonka-codestarZSamazonka-codestar" 'False) (C1 ('MetaCons "UpdateUserProfileResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "lastModifiedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "sshPublicKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "emailAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))))) :*: ((S1 ('MetaSel ('Just "displayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "createdTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "userArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newUpdateUserProfileResponse Source #

Create a value of UpdateUserProfileResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:lastModifiedTimestamp:UpdateUserProfileResponse', updateUserProfileResponse_lastModifiedTimestamp - The date the user profile was last modified, in timestamp format.

$sel:sshPublicKey:UpdateUserProfile', updateUserProfileResponse_sshPublicKey - 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.

$sel:emailAddress:UpdateUserProfile', updateUserProfileResponse_emailAddress - The email address that is displayed as part of the user's profile in AWS CodeStar.

$sel:displayName:UpdateUserProfile', updateUserProfileResponse_displayName - The name that is displayed as the friendly name for the user in AWS CodeStar.

$sel:createdTimestamp:UpdateUserProfileResponse', updateUserProfileResponse_createdTimestamp - The date the user profile was created, in timestamp format.

$sel:httpStatus:UpdateUserProfileResponse', updateUserProfileResponse_httpStatus - The response's http status code.

$sel:userArn:UpdateUserProfile', updateUserProfileResponse_userArn - The Amazon Resource Name (ARN) of the user in IAM.

Response Lenses

updateUserProfileResponse_lastModifiedTimestamp :: Lens' UpdateUserProfileResponse (Maybe UTCTime) Source #

The date the user profile was last modified, in timestamp format.

updateUserProfileResponse_sshPublicKey :: Lens' UpdateUserProfileResponse (Maybe Text) Source #

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.

updateUserProfileResponse_emailAddress :: Lens' UpdateUserProfileResponse (Maybe Text) Source #

The email address that is displayed as part of the user's profile in AWS CodeStar.

updateUserProfileResponse_displayName :: Lens' UpdateUserProfileResponse (Maybe Text) Source #

The name that is displayed as the friendly name for the user in AWS CodeStar.

updateUserProfileResponse_createdTimestamp :: Lens' UpdateUserProfileResponse (Maybe UTCTime) Source #

The date the user profile was created, in timestamp format.

updateUserProfileResponse_userArn :: Lens' UpdateUserProfileResponse Text Source #

The Amazon Resource Name (ARN) of the user in IAM.