amazonka-codestar-2.0: Amazon CodeStar SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CodeStar.DescribeUserProfile

Description

Describes a user in AWS CodeStar and the user attributes across all projects.

Synopsis

Creating a Request

data DescribeUserProfile Source #

See: newDescribeUserProfile smart constructor.

Constructors

DescribeUserProfile' 

Fields

  • userArn :: Text

    The Amazon Resource Name (ARN) of the user.

Instances

Instances details
ToJSON DescribeUserProfile Source # 
Instance details

Defined in Amazonka.CodeStar.DescribeUserProfile

ToHeaders DescribeUserProfile Source # 
Instance details

Defined in Amazonka.CodeStar.DescribeUserProfile

ToPath DescribeUserProfile Source # 
Instance details

Defined in Amazonka.CodeStar.DescribeUserProfile

ToQuery DescribeUserProfile Source # 
Instance details

Defined in Amazonka.CodeStar.DescribeUserProfile

AWSRequest DescribeUserProfile Source # 
Instance details

Defined in Amazonka.CodeStar.DescribeUserProfile

Associated Types

type AWSResponse DescribeUserProfile #

Generic DescribeUserProfile Source # 
Instance details

Defined in Amazonka.CodeStar.DescribeUserProfile

Associated Types

type Rep DescribeUserProfile :: Type -> Type #

Read DescribeUserProfile Source # 
Instance details

Defined in Amazonka.CodeStar.DescribeUserProfile

Show DescribeUserProfile Source # 
Instance details

Defined in Amazonka.CodeStar.DescribeUserProfile

NFData DescribeUserProfile Source # 
Instance details

Defined in Amazonka.CodeStar.DescribeUserProfile

Methods

rnf :: DescribeUserProfile -> () #

Eq DescribeUserProfile Source # 
Instance details

Defined in Amazonka.CodeStar.DescribeUserProfile

Hashable DescribeUserProfile Source # 
Instance details

Defined in Amazonka.CodeStar.DescribeUserProfile

type AWSResponse DescribeUserProfile Source # 
Instance details

Defined in Amazonka.CodeStar.DescribeUserProfile

type Rep DescribeUserProfile Source # 
Instance details

Defined in Amazonka.CodeStar.DescribeUserProfile

type Rep DescribeUserProfile = D1 ('MetaData "DescribeUserProfile" "Amazonka.CodeStar.DescribeUserProfile" "amazonka-codestar-2.0-J6u0QgMrENu7wBmwByxQnV" 'False) (C1 ('MetaCons "DescribeUserProfile'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDescribeUserProfile Source #

Create a value of DescribeUserProfile 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:

DescribeUserProfile, describeUserProfile_userArn - The Amazon Resource Name (ARN) of the user.

Request Lenses

describeUserProfile_userArn :: Lens' DescribeUserProfile Text Source #

The Amazon Resource Name (ARN) of the user.

Destructuring the Response

data DescribeUserProfileResponse Source #

See: newDescribeUserProfileResponse smart constructor.

Constructors

DescribeUserProfileResponse' 

Fields

  • displayName :: Maybe (Sensitive Text)

    The display name shown for the user in AWS CodeStar projects. For example, this could be set to both first and last name ("Mary Major") or a single name ("Mary"). The display name is also used to generate the initial icon associated with the user in AWS CodeStar projects. If spaces are included in the display name, the first character that appears after the space will be used as the second character in the user initial icon. The initial icon displays a maximum of two characters, so a display name with more than one space (for example "Mary Jane Major") would generate an initial icon using the first character and the first character after the space ("MJ", not "MM").

  • emailAddress :: Maybe (Sensitive Text)

    The email address for the user. Optional.

  • sshPublicKey :: Maybe Text

    The SSH public key associated with the user. This SSH public key is associated with the user profile, and can be used in conjunction with the associated private key for access to project resources, such as Amazon EC2 instances, if a project owner grants remote access to those resources.

  • httpStatus :: Int

    The response's http status code.

  • userArn :: Text

    The Amazon Resource Name (ARN) of the user.

  • createdTimestamp :: POSIX

    The date and time when the user profile was created in AWS CodeStar, in timestamp format.

  • lastModifiedTimestamp :: POSIX

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

Instances

Instances details
Generic DescribeUserProfileResponse Source # 
Instance details

Defined in Amazonka.CodeStar.DescribeUserProfile

Associated Types

type Rep DescribeUserProfileResponse :: Type -> Type #

Show DescribeUserProfileResponse Source # 
Instance details

Defined in Amazonka.CodeStar.DescribeUserProfile

NFData DescribeUserProfileResponse Source # 
Instance details

Defined in Amazonka.CodeStar.DescribeUserProfile

Eq DescribeUserProfileResponse Source # 
Instance details

Defined in Amazonka.CodeStar.DescribeUserProfile

type Rep DescribeUserProfileResponse Source # 
Instance details

Defined in Amazonka.CodeStar.DescribeUserProfile

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

newDescribeUserProfileResponse Source #

Create a value of DescribeUserProfileResponse 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:

DescribeUserProfileResponse, describeUserProfileResponse_displayName - The display name shown for the user in AWS CodeStar projects. For example, this could be set to both first and last name ("Mary Major") or a single name ("Mary"). The display name is also used to generate the initial icon associated with the user in AWS CodeStar projects. If spaces are included in the display name, the first character that appears after the space will be used as the second character in the user initial icon. The initial icon displays a maximum of two characters, so a display name with more than one space (for example "Mary Jane Major") would generate an initial icon using the first character and the first character after the space ("MJ", not "MM").

DescribeUserProfileResponse, describeUserProfileResponse_emailAddress - The email address for the user. Optional.

DescribeUserProfileResponse, describeUserProfileResponse_sshPublicKey - The SSH public key associated with the user. This SSH public key is associated with the user profile, and can be used in conjunction with the associated private key for access to project resources, such as Amazon EC2 instances, if a project owner grants remote access to those resources.

$sel:httpStatus:DescribeUserProfileResponse', describeUserProfileResponse_httpStatus - The response's http status code.

DescribeUserProfile, describeUserProfileResponse_userArn - The Amazon Resource Name (ARN) of the user.

$sel:createdTimestamp:DescribeUserProfileResponse', describeUserProfileResponse_createdTimestamp - The date and time when the user profile was created in AWS CodeStar, in timestamp format.

$sel:lastModifiedTimestamp:DescribeUserProfileResponse', describeUserProfileResponse_lastModifiedTimestamp - The date and time when the user profile was last modified, in timestamp format.

Response Lenses

describeUserProfileResponse_displayName :: Lens' DescribeUserProfileResponse (Maybe Text) Source #

The display name shown for the user in AWS CodeStar projects. For example, this could be set to both first and last name ("Mary Major") or a single name ("Mary"). The display name is also used to generate the initial icon associated with the user in AWS CodeStar projects. If spaces are included in the display name, the first character that appears after the space will be used as the second character in the user initial icon. The initial icon displays a maximum of two characters, so a display name with more than one space (for example "Mary Jane Major") would generate an initial icon using the first character and the first character after the space ("MJ", not "MM").

describeUserProfileResponse_sshPublicKey :: Lens' DescribeUserProfileResponse (Maybe Text) Source #

The SSH public key associated with the user. This SSH public key is associated with the user profile, and can be used in conjunction with the associated private key for access to project resources, such as Amazon EC2 instances, if a project owner grants remote access to those resources.

describeUserProfileResponse_createdTimestamp :: Lens' DescribeUserProfileResponse UTCTime Source #

The date and time when the user profile was created in AWS CodeStar, in timestamp format.

describeUserProfileResponse_lastModifiedTimestamp :: Lens' DescribeUserProfileResponse UTCTime Source #

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