| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.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.
Synopsis
- data DisassociateTeamMember = DisassociateTeamMember' {}
- newDisassociateTeamMember :: Text -> Text -> DisassociateTeamMember
- disassociateTeamMember_projectId :: Lens' DisassociateTeamMember Text
- disassociateTeamMember_userArn :: Lens' DisassociateTeamMember Text
- data DisassociateTeamMemberResponse = DisassociateTeamMemberResponse' {
- httpStatus :: Int
- newDisassociateTeamMemberResponse :: Int -> DisassociateTeamMemberResponse
- disassociateTeamMemberResponse_httpStatus :: Lens' DisassociateTeamMemberResponse Int
Creating a Request
data DisassociateTeamMember Source #
See: newDisassociateTeamMember smart constructor.
Constructors
| DisassociateTeamMember' | |
Instances
newDisassociateTeamMember Source #
Create a value of DisassociateTeamMember with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DisassociateTeamMember, disassociateTeamMember_projectId - The ID of the AWS CodeStar project from which you want to remove a team
member.
DisassociateTeamMember, disassociateTeamMember_userArn - The Amazon Resource Name (ARN) of the IAM user or group whom you want to
remove from the project.
Request Lenses
disassociateTeamMember_projectId :: Lens' DisassociateTeamMember Text Source #
The ID of the AWS CodeStar project from which you want to remove a team member.
disassociateTeamMember_userArn :: 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
data DisassociateTeamMemberResponse Source #
See: newDisassociateTeamMemberResponse smart constructor.
Constructors
| DisassociateTeamMemberResponse' | |
Fields
| |
Instances
newDisassociateTeamMemberResponse Source #
Create a value of DisassociateTeamMemberResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DisassociateTeamMemberResponse', disassociateTeamMemberResponse_httpStatus - The response's http status code.
Response Lenses
disassociateTeamMemberResponse_httpStatus :: Lens' DisassociateTeamMemberResponse Int Source #
The response's http status code.