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.UpdateTeamMember

Description

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.

Synopsis

Creating a Request

data UpdateTeamMember Source #

See: newUpdateTeamMember smart constructor.

Constructors

UpdateTeamMember' 

Fields

  • remoteAccessAllowed :: Maybe Bool

    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.

  • projectRole :: Maybe Text

    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.

  • projectId :: Text

    The ID of the project.

  • userArn :: Text

    The Amazon Resource Name (ARN) of the user for whom you want to change team membership attributes.

Instances

Instances details
Eq UpdateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateTeamMember

Read UpdateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateTeamMember

Show UpdateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateTeamMember

Generic UpdateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateTeamMember

Associated Types

type Rep UpdateTeamMember :: Type -> Type #

NFData UpdateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateTeamMember

Methods

rnf :: UpdateTeamMember -> () #

Hashable UpdateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateTeamMember

ToJSON UpdateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateTeamMember

AWSRequest UpdateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateTeamMember

Associated Types

type AWSResponse UpdateTeamMember #

ToHeaders UpdateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateTeamMember

ToPath UpdateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateTeamMember

ToQuery UpdateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateTeamMember

type Rep UpdateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateTeamMember

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

Defined in Amazonka.CodeStar.UpdateTeamMember

newUpdateTeamMember Source #

Create a value of UpdateTeamMember 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:remoteAccessAllowed:UpdateTeamMember', updateTeamMember_remoteAccessAllowed - 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.

$sel:projectRole:UpdateTeamMember', updateTeamMember_projectRole - 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.

$sel:projectId:UpdateTeamMember', updateTeamMember_projectId - The ID of the project.

$sel:userArn:UpdateTeamMember', updateTeamMember_userArn - The Amazon Resource Name (ARN) of the user for whom you want to change team membership attributes.

Request Lenses

updateTeamMember_remoteAccessAllowed :: 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.

updateTeamMember_projectRole :: 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.

updateTeamMember_userArn :: Lens' UpdateTeamMember Text Source #

The Amazon Resource Name (ARN) of the user for whom you want to change team membership attributes.

Destructuring the Response

data UpdateTeamMemberResponse Source #

See: newUpdateTeamMemberResponse smart constructor.

Constructors

UpdateTeamMemberResponse' 

Fields

Instances

Instances details
Eq UpdateTeamMemberResponse Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateTeamMember

Read UpdateTeamMemberResponse Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateTeamMember

Show UpdateTeamMemberResponse Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateTeamMember

Generic UpdateTeamMemberResponse Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateTeamMember

Associated Types

type Rep UpdateTeamMemberResponse :: Type -> Type #

NFData UpdateTeamMemberResponse Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateTeamMember

type Rep UpdateTeamMemberResponse Source # 
Instance details

Defined in Amazonka.CodeStar.UpdateTeamMember

type Rep UpdateTeamMemberResponse = D1 ('MetaData "UpdateTeamMemberResponse" "Amazonka.CodeStar.UpdateTeamMember" "libZSservicesZSamazonka-codestarZSamazonka-codestar" 'False) (C1 ('MetaCons "UpdateTeamMemberResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "userArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "remoteAccessAllowed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "projectRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUpdateTeamMemberResponse Source #

Create a value of UpdateTeamMemberResponse 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:userArn:UpdateTeamMember', updateTeamMemberResponse_userArn - The Amazon Resource Name (ARN) of the user whose team membership attributes were updated.

$sel:remoteAccessAllowed:UpdateTeamMember', updateTeamMemberResponse_remoteAccessAllowed - Whether a team member is allowed to remotely access project resources using the SSH public key associated with the user's profile.

$sel:projectRole:UpdateTeamMember', updateTeamMemberResponse_projectRole - The project role granted to the user.

$sel:httpStatus:UpdateTeamMemberResponse', updateTeamMemberResponse_httpStatus - The response's http status code.

Response Lenses

updateTeamMemberResponse_userArn :: Lens' UpdateTeamMemberResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the user whose team membership attributes were updated.

updateTeamMemberResponse_remoteAccessAllowed :: 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.