Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Adds an IAM user to the team for an AWS CodeStar project.
Synopsis
- associateTeamMember :: Text -> Text -> Text -> AssociateTeamMember
- data AssociateTeamMember
- atmRemoteAccessAllowed :: Lens' AssociateTeamMember (Maybe Bool)
- atmClientRequestToken :: Lens' AssociateTeamMember (Maybe Text)
- atmProjectId :: Lens' AssociateTeamMember Text
- atmUserARN :: Lens' AssociateTeamMember Text
- atmProjectRole :: Lens' AssociateTeamMember Text
- associateTeamMemberResponse :: Int -> AssociateTeamMemberResponse
- data AssociateTeamMemberResponse
- atmrsClientRequestToken :: Lens' AssociateTeamMemberResponse (Maybe Text)
- atmrsResponseStatus :: Lens' AssociateTeamMemberResponse Int
Creating a Request
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
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:
atmrsClientRequestToken
- The user- or system-generated token from the initial request that can be used to repeat the request.atmrsResponseStatus
- -- | The response status code.
data AssociateTeamMemberResponse Source #
See: associateTeamMemberResponse
smart constructor.
Instances
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.
atmrsResponseStatus :: Lens' AssociateTeamMemberResponse Int Source #
- - | The response status code.