« blib/lib/Paws/CodeStar/UpdateProjectResult.pm
↑ Summary
blib/lib/Paws/CodeStar/UpdateTeamMemberResult.pm »
| 1 | |||
| 2 | package Paws::CodeStar::UpdateTeamMember; | ||
| 3 | use Moose; | ||
| 4 | has ProjectId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'projectId' , required => 1); | ||
| 5 | has ProjectRole => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'projectRole' ); | ||
| 6 | has RemoteAccessAllowed => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'remoteAccessAllowed' ); | ||
| 7 | has UserArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'userArn' , required => 1); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateTeamMember'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CodeStar::UpdateTeamMemberResult'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::CodeStar::UpdateTeamMember - Arguments for method UpdateTeamMember on L<Paws::CodeStar> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method UpdateTeamMember on the | ||
| 25 | L<AWS CodeStar|Paws::CodeStar> service. Use the attributes of this class | ||
| 26 | as arguments to method UpdateTeamMember. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateTeamMember. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $codestar = Paws->service('CodeStar'); | ||
| 33 | my $UpdateTeamMemberResult = $codestar->UpdateTeamMember( | ||
| 34 | ProjectId => 'MyProjectId', | ||
| 35 | UserArn => 'MyUserArn', | ||
| 36 | ProjectRole => 'MyRole', # OPTIONAL | ||
| 37 | RemoteAccessAllowed => 1, # OPTIONAL | ||
| 38 | ); | ||
| 39 | |||
| 40 | # Results: | ||
| 41 | my $ProjectRole = $UpdateTeamMemberResult->ProjectRole; | ||
| 42 | my $RemoteAccessAllowed = $UpdateTeamMemberResult->RemoteAccessAllowed; | ||
| 43 | my $UserArn = $UpdateTeamMemberResult->UserArn; | ||
| 44 | |||
| 45 | # Returns a L<Paws::CodeStar::UpdateTeamMemberResult> object. | ||
| 46 | |||
| 47 | Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. | ||
| 48 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/codestar/UpdateTeamMember> | ||
| 49 | |||
| 50 | =head1 ATTRIBUTES | ||
| 51 | |||
| 52 | |||
| 53 | =head2 B<REQUIRED> ProjectId => Str | ||
| 54 | |||
| 55 | The ID of the project. | ||
| 56 | |||
| 57 | |||
| 58 | |||
| 59 | =head2 ProjectRole => Str | ||
| 60 | |||
| 61 | The role assigned to the user in the project. Project roles have | ||
| 62 | different levels of access. For more information, see Working with | ||
| 63 | Teams | ||
| 64 | (http://docs.aws.amazon.com/codestar/latest/userguide/working-with-teams.html) | ||
| 65 | in the I<AWS CodeStar User Guide>. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head2 RemoteAccessAllowed => Bool | ||
| 70 | |||
| 71 | Whether a team member is allowed to remotely access project resources | ||
| 72 | using the SSH public key associated with the user's profile. Even if | ||
| 73 | this is set to True, the user must associate a public key with their | ||
| 74 | profile before the user can access resources. | ||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | =head2 B<REQUIRED> UserArn => Str | ||
| 79 | |||
| 80 | The Amazon Resource Name (ARN) of the user for whom you want to change | ||
| 81 | team membership attributes. | ||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | =head1 SEE ALSO | ||
| 87 | |||
| 88 | This class forms part of L<Paws>, documenting arguments for method UpdateTeamMember in L<Paws::CodeStar> | ||
| 89 | |||
| 90 | =head1 BUGS and CONTRIBUTIONS | ||
| 91 | |||
| 92 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 93 | |||
| 94 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 95 | |||
| 96 | =cut | ||
| 97 |