Copyright | (c) 2013-2021 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 |
Adds an IAM user to the team for an AWS CodeStar project.
Synopsis
- data AssociateTeamMember = AssociateTeamMember' {}
- newAssociateTeamMember :: Text -> Text -> Text -> AssociateTeamMember
- associateTeamMember_remoteAccessAllowed :: Lens' AssociateTeamMember (Maybe Bool)
- associateTeamMember_clientRequestToken :: Lens' AssociateTeamMember (Maybe Text)
- associateTeamMember_projectId :: Lens' AssociateTeamMember Text
- associateTeamMember_userArn :: Lens' AssociateTeamMember Text
- associateTeamMember_projectRole :: Lens' AssociateTeamMember Text
- data AssociateTeamMemberResponse = AssociateTeamMemberResponse' {}
- newAssociateTeamMemberResponse :: Int -> AssociateTeamMemberResponse
- associateTeamMemberResponse_clientRequestToken :: Lens' AssociateTeamMemberResponse (Maybe Text)
- associateTeamMemberResponse_httpStatus :: Lens' AssociateTeamMemberResponse Int
Creating a Request
data AssociateTeamMember Source #
See: newAssociateTeamMember
smart constructor.
AssociateTeamMember' | |
|
Instances
newAssociateTeamMember Source #
:: Text | |
-> Text | |
-> Text | |
-> AssociateTeamMember |
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.
AssociateTeamMemberResponse' | |
|
Instances
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.
associateTeamMemberResponse_httpStatus :: Lens' AssociateTeamMemberResponse Int Source #
The response's http status code.