amazonka-codestar-1.6.1: 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 # 
Instance details

Defined in Network.AWS.CodeStar.CreateUserProfile

Data CreateUserProfile Source # 
Instance details

Defined in Network.AWS.CodeStar.CreateUserProfile

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 # 
Instance details

Defined in Network.AWS.CodeStar.CreateUserProfile

Generic CreateUserProfile Source # 
Instance details

Defined in Network.AWS.CodeStar.CreateUserProfile

Associated Types

type Rep CreateUserProfile :: Type -> Type #

Hashable CreateUserProfile Source # 
Instance details

Defined in Network.AWS.CodeStar.CreateUserProfile

ToJSON CreateUserProfile Source # 
Instance details

Defined in Network.AWS.CodeStar.CreateUserProfile

AWSRequest CreateUserProfile Source # 
Instance details

Defined in Network.AWS.CodeStar.CreateUserProfile

Associated Types

type Rs CreateUserProfile :: Type #

ToHeaders CreateUserProfile Source # 
Instance details

Defined in Network.AWS.CodeStar.CreateUserProfile

ToPath CreateUserProfile Source # 
Instance details

Defined in Network.AWS.CodeStar.CreateUserProfile

ToQuery CreateUserProfile Source # 
Instance details

Defined in Network.AWS.CodeStar.CreateUserProfile

NFData CreateUserProfile Source # 
Instance details

Defined in Network.AWS.CodeStar.CreateUserProfile

Methods

rnf :: CreateUserProfile -> () #

type Rep CreateUserProfile Source # 
Instance details

Defined in Network.AWS.CodeStar.CreateUserProfile

type Rep CreateUserProfile = D1 (MetaData "CreateUserProfile" "Network.AWS.CodeStar.CreateUserProfile" "amazonka-codestar-1.6.1-CcYQrsIZo67Ij9mcPy3qxj" False) (C1 (MetaCons "CreateUserProfile'" PrefixI True) ((S1 (MetaSel (Just "_cupSshPublicKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cupUserARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_cupDisplayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_cupEmailAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Sensitive Text)))))
type Rs CreateUserProfile Source # 
Instance details

Defined in Network.AWS.CodeStar.CreateUserProfile

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 # 
Instance details

Defined in Network.AWS.CodeStar.CreateUserProfile

Data CreateUserProfileResponse Source # 
Instance details

Defined in Network.AWS.CodeStar.CreateUserProfile

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 # 
Instance details

Defined in Network.AWS.CodeStar.CreateUserProfile

Generic CreateUserProfileResponse Source # 
Instance details

Defined in Network.AWS.CodeStar.CreateUserProfile

Associated Types

type Rep CreateUserProfileResponse :: Type -> Type #

NFData CreateUserProfileResponse Source # 
Instance details

Defined in Network.AWS.CodeStar.CreateUserProfile

type Rep CreateUserProfileResponse Source # 
Instance details

Defined in Network.AWS.CodeStar.CreateUserProfile

type Rep CreateUserProfileResponse = D1 (MetaData "CreateUserProfileResponse" "Network.AWS.CodeStar.CreateUserProfile" "amazonka-codestar-1.6.1-CcYQrsIZo67Ij9mcPy3qxj" False) (C1 (MetaCons "CreateUserProfileResponse'" PrefixI True) ((S1 (MetaSel (Just "_cuprsLastModifiedTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 (MetaSel (Just "_cuprsSshPublicKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cuprsEmailAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive Text))))) :*: ((S1 (MetaSel (Just "_cuprsDisplayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cuprsCreatedTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 (MetaSel (Just "_cuprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_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.