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

Description

Adds an IAM user to the team for an AWS CodeStar project.

Synopsis

Creating a Request

data AssociateTeamMember Source #

See: newAssociateTeamMember smart constructor.

Constructors

AssociateTeamMember' 

Fields

  • remoteAccessAllowed :: Maybe Bool

    Whether the team member is allowed to use an SSH public/private key pair to remotely access project resources, for example Amazon EC2 instances.

  • clientRequestToken :: Maybe Text

    A user- or system-generated token that identifies the entity that requested the team member association to the project. This token can be used to repeat the request.

  • projectId :: Text

    The ID of the project to which you will add the IAM user.

  • userArn :: Text

    The Amazon Resource Name (ARN) for the IAM user you want to add to the AWS CodeStar project.

  • projectRole :: Text

    The AWS CodeStar project role that will apply to this user. This role determines what actions a user can take in an AWS CodeStar project.

Instances

Instances details
Eq AssociateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.AssociateTeamMember

Read AssociateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.AssociateTeamMember

Show AssociateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.AssociateTeamMember

Generic AssociateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.AssociateTeamMember

Associated Types

type Rep AssociateTeamMember :: Type -> Type #

NFData AssociateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.AssociateTeamMember

Methods

rnf :: AssociateTeamMember -> () #

Hashable AssociateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.AssociateTeamMember

ToJSON AssociateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.AssociateTeamMember

AWSRequest AssociateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.AssociateTeamMember

Associated Types

type AWSResponse AssociateTeamMember #

ToHeaders AssociateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.AssociateTeamMember

ToPath AssociateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.AssociateTeamMember

ToQuery AssociateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.AssociateTeamMember

type Rep AssociateTeamMember Source # 
Instance details

Defined in Amazonka.CodeStar.AssociateTeamMember

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

Defined in Amazonka.CodeStar.AssociateTeamMember

newAssociateTeamMember Source #

Create a value of AssociateTeamMember 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:AssociateTeamMember', associateTeamMember_remoteAccessAllowed - Whether the team member is allowed to use an SSH public/private key pair to remotely access project resources, for example Amazon EC2 instances.

$sel:clientRequestToken:AssociateTeamMember', associateTeamMember_clientRequestToken - A user- or system-generated token that identifies the entity that requested the team member association to the project. This token can be used to repeat the request.

$sel:projectId:AssociateTeamMember', associateTeamMember_projectId - The ID of the project to which you will add the IAM user.

$sel:userArn:AssociateTeamMember', associateTeamMember_userArn - The Amazon Resource Name (ARN) for the IAM user you want to add to the AWS CodeStar project.

$sel:projectRole:AssociateTeamMember', associateTeamMember_projectRole - The AWS CodeStar project role that will apply to this user. This role determines what actions a user can take in an AWS CodeStar project.

Request Lenses

associateTeamMember_remoteAccessAllowed :: Lens' AssociateTeamMember (Maybe Bool) Source #

Whether the team member is allowed to use an SSH public/private key pair to remotely access project resources, for example Amazon EC2 instances.

associateTeamMember_clientRequestToken :: Lens' AssociateTeamMember (Maybe Text) Source #

A user- or system-generated token that identifies the entity that requested the team member association to the project. This token can be used to repeat the request.

associateTeamMember_projectId :: Lens' AssociateTeamMember Text Source #

The ID of the project to which you will add the IAM user.

associateTeamMember_userArn :: Lens' AssociateTeamMember Text Source #

The Amazon Resource Name (ARN) for the IAM user you want to add to the AWS CodeStar project.

associateTeamMember_projectRole :: Lens' AssociateTeamMember Text Source #

The AWS CodeStar project role that will apply to this user. This role determines what actions a user can take in an AWS CodeStar project.

Destructuring the Response

data AssociateTeamMemberResponse Source #

See: newAssociateTeamMemberResponse smart constructor.

Constructors

AssociateTeamMemberResponse' 

Fields

Instances

Instances details
Eq AssociateTeamMemberResponse Source # 
Instance details

Defined in Amazonka.CodeStar.AssociateTeamMember

Read AssociateTeamMemberResponse Source # 
Instance details

Defined in Amazonka.CodeStar.AssociateTeamMember

Show AssociateTeamMemberResponse Source # 
Instance details

Defined in Amazonka.CodeStar.AssociateTeamMember

Generic AssociateTeamMemberResponse Source # 
Instance details

Defined in Amazonka.CodeStar.AssociateTeamMember

Associated Types

type Rep AssociateTeamMemberResponse :: Type -> Type #

NFData AssociateTeamMemberResponse Source # 
Instance details

Defined in Amazonka.CodeStar.AssociateTeamMember

type Rep AssociateTeamMemberResponse Source # 
Instance details

Defined in Amazonka.CodeStar.AssociateTeamMember

type Rep AssociateTeamMemberResponse = D1 ('MetaData "AssociateTeamMemberResponse" "Amazonka.CodeStar.AssociateTeamMember" "libZSservicesZSamazonka-codestarZSamazonka-codestar" 'False) (C1 ('MetaCons "AssociateTeamMemberResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAssociateTeamMemberResponse Source #

Create a value of AssociateTeamMemberResponse 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:clientRequestToken:AssociateTeamMember', associateTeamMemberResponse_clientRequestToken - The user- or system-generated token from the initial request that can be used to repeat the request.

$sel:httpStatus:AssociateTeamMemberResponse', associateTeamMemberResponse_httpStatus - The response's http status code.

Response Lenses

associateTeamMemberResponse_clientRequestToken :: Lens' AssociateTeamMemberResponse (Maybe Text) Source #

The user- or system-generated token from the initial request that can be used to repeat the request.