amazonka-codestar-1.5.0: Amazon CodeStar SDK.

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

Network.AWS.CodeStar.DescribeUserProfile

Contents

Description

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

Synopsis

Creating a Request

describeUserProfile Source #

Creates a value of DescribeUserProfile with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dupUserARN - The Amazon Resource Name (ARN) of the user.

data DescribeUserProfile Source #

See: describeUserProfile smart constructor.

Instances

Eq DescribeUserProfile Source # 
Data DescribeUserProfile Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeUserProfile -> c DescribeUserProfile #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeUserProfile #

toConstr :: DescribeUserProfile -> Constr #

dataTypeOf :: DescribeUserProfile -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeUserProfile) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeUserProfile) #

gmapT :: (forall b. Data b => b -> b) -> DescribeUserProfile -> DescribeUserProfile #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeUserProfile -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeUserProfile -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeUserProfile -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeUserProfile -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeUserProfile -> m DescribeUserProfile #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeUserProfile -> m DescribeUserProfile #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeUserProfile -> m DescribeUserProfile #

Read DescribeUserProfile Source # 
Show DescribeUserProfile Source # 
Generic DescribeUserProfile Source # 
Hashable DescribeUserProfile Source # 
ToJSON DescribeUserProfile Source # 
NFData DescribeUserProfile Source # 

Methods

rnf :: DescribeUserProfile -> () #

AWSRequest DescribeUserProfile Source # 
ToQuery DescribeUserProfile Source # 
ToPath DescribeUserProfile Source # 
ToHeaders DescribeUserProfile Source # 
type Rep DescribeUserProfile Source # 
type Rep DescribeUserProfile = D1 (MetaData "DescribeUserProfile" "Network.AWS.CodeStar.DescribeUserProfile" "amazonka-codestar-1.5.0-D0CgJ15zjGp6mJTHDAkzYz" True) (C1 (MetaCons "DescribeUserProfile'" PrefixI True) (S1 (MetaSel (Just Symbol "_dupUserARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DescribeUserProfile Source # 

Request Lenses

dupUserARN :: Lens' DescribeUserProfile Text Source #

The Amazon Resource Name (ARN) of the user.

Destructuring the Response

describeUserProfileResponse Source #

Creates a value of DescribeUserProfileResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • duprsSshPublicKey - 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.
  • duprsEmailAddress - The email address for the user. Optional.
  • duprsDisplayName - 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).
  • duprsResponseStatus - -- | The response status code.
  • duprsUserARN - The Amazon Resource Name (ARN) of the user.
  • duprsCreatedTimestamp - The date and time when the user profile was created in AWS CodeStar, in timestamp format.
  • duprsLastModifiedTimestamp - The date and time when the user profile was last modified, in timestamp format.

data DescribeUserProfileResponse Source #

See: describeUserProfileResponse smart constructor.

Instances

Eq DescribeUserProfileResponse Source # 
Data DescribeUserProfileResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeUserProfileResponse -> c DescribeUserProfileResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeUserProfileResponse #

toConstr :: DescribeUserProfileResponse -> Constr #

dataTypeOf :: DescribeUserProfileResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeUserProfileResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeUserProfileResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeUserProfileResponse -> DescribeUserProfileResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeUserProfileResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeUserProfileResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeUserProfileResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeUserProfileResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeUserProfileResponse -> m DescribeUserProfileResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeUserProfileResponse -> m DescribeUserProfileResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeUserProfileResponse -> m DescribeUserProfileResponse #

Show DescribeUserProfileResponse Source # 
Generic DescribeUserProfileResponse Source # 
NFData DescribeUserProfileResponse Source # 
type Rep DescribeUserProfileResponse Source # 
type Rep DescribeUserProfileResponse = D1 (MetaData "DescribeUserProfileResponse" "Network.AWS.CodeStar.DescribeUserProfile" "amazonka-codestar-1.5.0-D0CgJ15zjGp6mJTHDAkzYz" False) (C1 (MetaCons "DescribeUserProfileResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_duprsSshPublicKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_duprsEmailAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) (S1 (MetaSel (Just Symbol "_duprsDisplayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_duprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_duprsUserARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_duprsCreatedTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 POSIX)) (S1 (MetaSel (Just Symbol "_duprsLastModifiedTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 POSIX))))))

Response Lenses

duprsSshPublicKey :: 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.

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

The email address for the user. Optional.

duprsDisplayName :: 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).

duprsUserARN :: Lens' DescribeUserProfileResponse Text Source #

The Amazon Resource Name (ARN) of the user.

duprsCreatedTimestamp :: Lens' DescribeUserProfileResponse UTCTime Source #

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

duprsLastModifiedTimestamp :: Lens' DescribeUserProfileResponse UTCTime Source #

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