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.UpdateTeamMember

Contents

Description

Updates a team member's attributes in an AWS CodeStar project. For example, you can change a team member's role in the project, or change whether they have remote access to project resources.

Synopsis

Creating a Request

updateTeamMember Source #

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

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

  • utmRemoteAccessAllowed - Whether a team member is allowed to remotely access project resources using the SSH public key associated with the user's profile. Even if this is set to True, the user must associate a public key with their profile before the user can access resources.
  • utmProjectRole - The role assigned to the user in the project. Project roles have different levels of access. For more information, see Working with Teams in the AWS CodeStar User Guide .
  • utmProjectId - The ID of the project.
  • utmUserARN - The Amazon Resource Name (ARN) of the user for whom you want to change team membership attributes.

data UpdateTeamMember Source #

See: updateTeamMember smart constructor.

Instances

Eq UpdateTeamMember Source # 
Data UpdateTeamMember Source # 

Methods

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

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

toConstr :: UpdateTeamMember -> Constr #

dataTypeOf :: UpdateTeamMember -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: UpdateTeamMember -> () #

AWSRequest UpdateTeamMember Source # 
ToHeaders UpdateTeamMember Source # 
ToPath UpdateTeamMember Source # 
ToQuery UpdateTeamMember Source # 
type Rep UpdateTeamMember Source # 
type Rep UpdateTeamMember = D1 * (MetaData "UpdateTeamMember" "Network.AWS.CodeStar.UpdateTeamMember" "amazonka-codestar-1.6.0-5SZ4tYCpUgiG3GgoUtUaxn" False) (C1 * (MetaCons "UpdateTeamMember'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_utmRemoteAccessAllowed") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) (S1 * (MetaSel (Just Symbol "_utmProjectRole") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_utmProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_utmUserARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs UpdateTeamMember Source # 

Request Lenses

utmRemoteAccessAllowed :: Lens' UpdateTeamMember (Maybe Bool) Source #

Whether a team member is allowed to remotely access project resources using the SSH public key associated with the user's profile. Even if this is set to True, the user must associate a public key with their profile before the user can access resources.

utmProjectRole :: Lens' UpdateTeamMember (Maybe Text) Source #

The role assigned to the user in the project. Project roles have different levels of access. For more information, see Working with Teams in the AWS CodeStar User Guide .

utmProjectId :: Lens' UpdateTeamMember Text Source #

The ID of the project.

utmUserARN :: Lens' UpdateTeamMember Text Source #

The Amazon Resource Name (ARN) of the user for whom you want to change team membership attributes.

Destructuring the Response

updateTeamMemberResponse Source #

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

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

  • utmrsUserARN - The Amazon Resource Name (ARN) of the user whose team membership attributes were updated.
  • utmrsRemoteAccessAllowed - Whether a team member is allowed to remotely access project resources using the SSH public key associated with the user's profile.
  • utmrsProjectRole - The project role granted to the user.
  • utmrsResponseStatus - -- | The response status code.

data UpdateTeamMemberResponse Source #

See: updateTeamMemberResponse smart constructor.

Instances

Eq UpdateTeamMemberResponse Source # 
Data UpdateTeamMemberResponse Source # 

Methods

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

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

toConstr :: UpdateTeamMemberResponse -> Constr #

dataTypeOf :: UpdateTeamMemberResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateTeamMemberResponse Source # 
Show UpdateTeamMemberResponse Source # 
Generic UpdateTeamMemberResponse Source # 
NFData UpdateTeamMemberResponse Source # 
type Rep UpdateTeamMemberResponse Source # 
type Rep UpdateTeamMemberResponse = D1 * (MetaData "UpdateTeamMemberResponse" "Network.AWS.CodeStar.UpdateTeamMember" "amazonka-codestar-1.6.0-5SZ4tYCpUgiG3GgoUtUaxn" False) (C1 * (MetaCons "UpdateTeamMemberResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_utmrsUserARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_utmrsRemoteAccessAllowed") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_utmrsProjectRole") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_utmrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

utmrsUserARN :: Lens' UpdateTeamMemberResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the user whose team membership attributes were updated.

utmrsRemoteAccessAllowed :: Lens' UpdateTeamMemberResponse (Maybe Bool) Source #

Whether a team member is allowed to remotely access project resources using the SSH public key associated with the user's profile.

utmrsProjectRole :: Lens' UpdateTeamMemberResponse (Maybe Text) Source #

The project role granted to the user.