amazonka-codestar-1.6.0: Amazon CodeStar SDK.

Copyright(c) 2013-2018 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.CreateUserProfile

Contents

Description

Creates a profile for a user that includes user preferences, such as the display name and email address assocciated with the user, 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

createUserProfile Source #

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

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

  • cupSshPublicKey - 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.
  • cupUserARN - The Amazon Resource Name (ARN) of the user in IAM.
  • cupDisplayName - The name that will be displayed as the friendly name for the user in AWS CodeStar.
  • cupEmailAddress - The email address that will be displayed as part of the user's profile in AWS CodeStar.

data CreateUserProfile Source #

See: createUserProfile smart constructor.

Instances

Eq CreateUserProfile Source # 
Data CreateUserProfile Source # 

Methods

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

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

toConstr :: CreateUserProfile -> Constr #

dataTypeOf :: CreateUserProfile -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CreateUserProfile Source # 
Generic CreateUserProfile Source # 
Hashable CreateUserProfile Source # 
ToJSON CreateUserProfile Source # 
NFData CreateUserProfile Source # 

Methods

rnf :: CreateUserProfile -> () #

AWSRequest CreateUserProfile Source # 
ToHeaders CreateUserProfile Source # 
ToPath CreateUserProfile Source # 
ToQuery CreateUserProfile Source # 
type Rep CreateUserProfile Source # 
type Rep CreateUserProfile = D1 * (MetaData "CreateUserProfile" "Network.AWS.CodeStar.CreateUserProfile" "amazonka-codestar-1.6.0-5SZ4tYCpUgiG3GgoUtUaxn" False) (C1 * (MetaCons "CreateUserProfile'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_cupSshPublicKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_cupUserARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cupDisplayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_cupEmailAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Sensitive Text))))))
type Rs CreateUserProfile Source # 

Request Lenses

cupSshPublicKey :: Lens' CreateUserProfile (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.

cupUserARN :: Lens' CreateUserProfile Text Source #

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

cupDisplayName :: Lens' CreateUserProfile Text Source #

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

cupEmailAddress :: Lens' CreateUserProfile Text Source #

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

Destructuring the Response

createUserProfileResponse Source #

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

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

  • cuprsLastModifiedTimestamp - The date the user profile was last modified, in timestamp format.
  • cuprsSshPublicKey - 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.
  • cuprsEmailAddress - The email address that is displayed as part of the user's profile in AWS CodeStar.
  • cuprsDisplayName - The name that is displayed as the friendly name for the user in AWS CodeStar.
  • cuprsCreatedTimestamp - The date the user profile was created, in timestamp format.
  • cuprsResponseStatus - -- | The response status code.
  • cuprsUserARN - The Amazon Resource Name (ARN) of the user in IAM.

data CreateUserProfileResponse Source #

See: createUserProfileResponse smart constructor.

Instances

Eq CreateUserProfileResponse Source # 
Data CreateUserProfileResponse Source # 

Methods

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

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

toConstr :: CreateUserProfileResponse -> Constr #

dataTypeOf :: CreateUserProfileResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CreateUserProfileResponse Source # 
Generic CreateUserProfileResponse Source # 
NFData CreateUserProfileResponse Source # 
type Rep CreateUserProfileResponse Source # 
type Rep CreateUserProfileResponse = D1 * (MetaData "CreateUserProfileResponse" "Network.AWS.CodeStar.CreateUserProfile" "amazonka-codestar-1.6.0-5SZ4tYCpUgiG3GgoUtUaxn" False) (C1 * (MetaCons "CreateUserProfileResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_cuprsLastModifiedTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cuprsSshPublicKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_cuprsEmailAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (Sensitive Text)))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_cuprsDisplayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_cuprsCreatedTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe POSIX)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cuprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "_cuprsUserARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))))

Response Lenses

cuprsLastModifiedTimestamp :: Lens' CreateUserProfileResponse (Maybe UTCTime) Source #

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

cuprsSshPublicKey :: Lens' CreateUserProfileResponse (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.

cuprsEmailAddress :: Lens' CreateUserProfileResponse (Maybe Text) Source #

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

cuprsDisplayName :: Lens' CreateUserProfileResponse (Maybe Text) Source #

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

cuprsCreatedTimestamp :: Lens' CreateUserProfileResponse (Maybe UTCTime) Source #

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

cuprsUserARN :: Lens' CreateUserProfileResponse Text Source #

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