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

Contents

Description

Adds an IAM user to the team for an AWS CodeStar project.

Synopsis

Creating a Request

associateTeamMember Source #

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

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

  • atmRemoteAccessAllowed - Whether the team member is allowed to use an SSH public/private key pair to remotely access project resources, for example Amazon EC2 instances.
  • atmClientRequestToken - A user- or system-generated token that identifies the entity that requested the team member association to the project. This token can be used to repeat the request.
  • atmProjectId - The ID of the project to which you will add the IAM user.
  • atmUserARN - The Amazon Resource Name (ARN) for the IAM user you want to add to the AWS CodeStar project.
  • atmProjectRole - The AWS CodeStar project role that will apply to this user. This role determines what actions a user can take in an AWS CodeStar project.

data AssociateTeamMember Source #

See: associateTeamMember smart constructor.

Instances

Eq AssociateTeamMember Source # 
Data AssociateTeamMember Source # 

Methods

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

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

toConstr :: AssociateTeamMember -> Constr #

dataTypeOf :: AssociateTeamMember -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: AssociateTeamMember -> () #

AWSRequest AssociateTeamMember Source # 
ToQuery AssociateTeamMember Source # 
ToPath AssociateTeamMember Source # 
ToHeaders AssociateTeamMember Source # 
type Rep AssociateTeamMember Source # 
type Rep AssociateTeamMember = D1 (MetaData "AssociateTeamMember" "Network.AWS.CodeStar.AssociateTeamMember" "amazonka-codestar-1.5.0-D0CgJ15zjGp6mJTHDAkzYz" False) (C1 (MetaCons "AssociateTeamMember'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_atmRemoteAccessAllowed") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_atmClientRequestToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_atmProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_atmUserARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_atmProjectRole") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs AssociateTeamMember Source # 

Request Lenses

atmRemoteAccessAllowed :: Lens' AssociateTeamMember (Maybe Bool) Source #

Whether the team member is allowed to use an SSH public/private key pair to remotely access project resources, for example Amazon EC2 instances.

atmClientRequestToken :: Lens' AssociateTeamMember (Maybe Text) Source #

A user- or system-generated token that identifies the entity that requested the team member association to the project. This token can be used to repeat the request.

atmProjectId :: Lens' AssociateTeamMember Text Source #

The ID of the project to which you will add the IAM user.

atmUserARN :: Lens' AssociateTeamMember Text Source #

The Amazon Resource Name (ARN) for the IAM user you want to add to the AWS CodeStar project.

atmProjectRole :: Lens' AssociateTeamMember Text Source #

The AWS CodeStar project role that will apply to this user. This role determines what actions a user can take in an AWS CodeStar project.

Destructuring the Response

associateTeamMemberResponse Source #

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

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

data AssociateTeamMemberResponse Source #

See: associateTeamMemberResponse smart constructor.

Instances

Eq AssociateTeamMemberResponse Source # 
Data AssociateTeamMemberResponse Source # 

Methods

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

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

toConstr :: AssociateTeamMemberResponse -> Constr #

dataTypeOf :: AssociateTeamMemberResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AssociateTeamMemberResponse Source # 
Show AssociateTeamMemberResponse Source # 
Generic AssociateTeamMemberResponse Source # 
NFData AssociateTeamMemberResponse Source # 
type Rep AssociateTeamMemberResponse Source # 
type Rep AssociateTeamMemberResponse = D1 (MetaData "AssociateTeamMemberResponse" "Network.AWS.CodeStar.AssociateTeamMember" "amazonka-codestar-1.5.0-D0CgJ15zjGp6mJTHDAkzYz" False) (C1 (MetaCons "AssociateTeamMemberResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_atmrsClientRequestToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_atmrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

atmrsClientRequestToken :: Lens' AssociateTeamMemberResponse (Maybe Text) Source #

The user- or system-generated token from the initial request that can be used to repeat the request.