libZSservicesZSamazonka-codestarZSamazonka-codestar
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

Creating a Request

data DisassociateTeamMember Source #

See: newDisassociateTeamMember smart constructor.

Constructors

DisassociateTeamMember' 

Fields

  • projectId :: Text

    The ID of the AWS CodeStar project from which you want to remove a team member.

  • userArn :: Text

    The Amazon Resource Name (ARN) of the IAM user or group whom you want to remove from the project.

Instances

Instances details
Eq DisassociateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.DisassociateTeamMember

Read DisassociateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.DisassociateTeamMember

Show DisassociateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.DisassociateTeamMember

Generic DisassociateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.DisassociateTeamMember

Associated Types

type Rep DisassociateTeamMember :: Type -> Type #

NFData DisassociateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.DisassociateTeamMember

Methods

rnf :: DisassociateTeamMember -> () #

Hashable DisassociateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.DisassociateTeamMember

ToJSON DisassociateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.DisassociateTeamMember

AWSRequest DisassociateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.DisassociateTeamMember

Associated Types

type AWSResponse DisassociateTeamMember #

ToHeaders DisassociateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.DisassociateTeamMember

ToPath DisassociateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.DisassociateTeamMember

ToQuery DisassociateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.DisassociateTeamMember

type Rep DisassociateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.DisassociateTeamMember

type Rep DisassociateTeamMember = D1 ('MetaData "DisassociateTeamMember" "Amazonka.CodeStar.DisassociateTeamMember" "libZSservicesZSamazonka-codestarZSamazonka-codestar" 'False) (C1 ('MetaCons "DisassociateTeamMember'" 'PrefixI 'True) (S1 ('MetaSel ('Just "projectId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "userArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DisassociateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.DisassociateTeamMember

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:

$sel:projectId:DisassociateTeamMember', disassociateTeamMember_projectId - The ID of the AWS CodeStar project from which you want to remove a team member.

$sel:userArn: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

Instances details
Eq DisassociateTeamMemberResponse Source # 
Instance details

Defined in Amazonka.CodeStar.DisassociateTeamMember

Read DisassociateTeamMemberResponse Source # 
Instance details

Defined in Amazonka.CodeStar.DisassociateTeamMember

Show DisassociateTeamMemberResponse Source # 
Instance details

Defined in Amazonka.CodeStar.DisassociateTeamMember

Generic DisassociateTeamMemberResponse Source # 
Instance details

Defined in Amazonka.CodeStar.DisassociateTeamMember

Associated Types

type Rep DisassociateTeamMemberResponse :: Type -> Type #

NFData DisassociateTeamMemberResponse Source # 
Instance details

Defined in Amazonka.CodeStar.DisassociateTeamMember

type Rep DisassociateTeamMemberResponse Source # 
Instance details

Defined in Amazonka.CodeStar.DisassociateTeamMember

type Rep DisassociateTeamMemberResponse = D1 ('MetaData "DisassociateTeamMemberResponse" "Amazonka.CodeStar.DisassociateTeamMember" "libZSservicesZSamazonka-codestarZSamazonka-codestar" 'False) (C1 ('MetaCons "DisassociateTeamMemberResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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