| 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 |
Network.AWS.CodeStar.DisassociateTeamMember
Description
Removes a user from a project. Removing a user from a project also removes the IAM policies from that user that allowed access to the project and its resources. Disassociating a team member does not remove that user's profile from AWS CodeStar. It does not remove the user from IAM.
- disassociateTeamMember :: Text -> Text -> DisassociateTeamMember
- data DisassociateTeamMember
- dtmProjectId :: Lens' DisassociateTeamMember Text
- dtmUserARN :: Lens' DisassociateTeamMember Text
- disassociateTeamMemberResponse :: Int -> DisassociateTeamMemberResponse
- data DisassociateTeamMemberResponse
- dtmrsResponseStatus :: Lens' DisassociateTeamMemberResponse Int
Creating a Request
disassociateTeamMember Source #
Arguments
| :: Text | |
| -> Text | |
| -> DisassociateTeamMember |
Creates a value of DisassociateTeamMember with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dtmProjectId- The ID of the AWS CodeStar project from which you want to remove a team member.dtmUserARN- The Amazon Resource Name (ARN) of the IAM user or group whom you want to remove from the project.
data DisassociateTeamMember Source #
See: disassociateTeamMember smart constructor.
Instances
Request Lenses
dtmProjectId :: Lens' DisassociateTeamMember Text Source #
The ID of the AWS CodeStar project from which you want to remove a team member.
dtmUserARN :: Lens' DisassociateTeamMember Text Source #
The Amazon Resource Name (ARN) of the IAM user or group whom you want to remove from the project.
Destructuring the Response
disassociateTeamMemberResponse Source #
Arguments
| :: Int | |
| -> DisassociateTeamMemberResponse |
Creates a value of DisassociateTeamMemberResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dtmrsResponseStatus- -- | The response status code.
data DisassociateTeamMemberResponse Source #
See: disassociateTeamMemberResponse smart constructor.
Instances
Response Lenses
dtmrsResponseStatus :: Lens' DisassociateTeamMemberResponse Int Source #
- - | The response status code.