Copyright | (c) 2013-2017 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 |
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.
- updateTeamMember :: Text -> Text -> UpdateTeamMember
- data UpdateTeamMember
- utmRemoteAccessAllowed :: Lens' UpdateTeamMember (Maybe Bool)
- utmProjectRole :: Lens' UpdateTeamMember (Maybe Text)
- utmProjectId :: Lens' UpdateTeamMember Text
- utmUserARN :: Lens' UpdateTeamMember Text
- updateTeamMemberResponse :: Int -> UpdateTeamMemberResponse
- data UpdateTeamMemberResponse
- utmrsUserARN :: Lens' UpdateTeamMemberResponse (Maybe Text)
- utmrsRemoteAccessAllowed :: Lens' UpdateTeamMemberResponse (Maybe Bool)
- utmrsProjectRole :: Lens' UpdateTeamMemberResponse (Maybe Text)
- utmrsResponseStatus :: Lens' UpdateTeamMemberResponse Int
Creating a Request
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.
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.
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.
utmrsResponseStatus :: Lens' UpdateTeamMemberResponse Int Source #
- - | The response status code.