| 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.AssociateTeamMember
Description
Adds an IAM user to the team for an AWS CodeStar project.
Synopsis
- data AssociateTeamMember = AssociateTeamMember' {}
- newAssociateTeamMember :: Text -> Text -> Text -> AssociateTeamMember
- associateTeamMember_clientRequestToken :: Lens' AssociateTeamMember (Maybe Text)
- associateTeamMember_remoteAccessAllowed :: Lens' AssociateTeamMember (Maybe Bool)
- 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.
Constructors
| AssociateTeamMember' | |
Fields
| |
Instances
newAssociateTeamMember Source #
Arguments
| :: 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:
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.
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.
AssociateTeamMember, associateTeamMember_projectId - The ID of the project to which you will add the IAM user.
AssociateTeamMember, associateTeamMember_userArn - The Amazon Resource Name (ARN) for the IAM user you want to add to the
AWS CodeStar project.
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_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_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_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
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:
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.