blib/lib/Paws/CodeStar/AssociateTeamMember.pm untested

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 21 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::CodeStar::AssociateTeamMember;
3 use Moose;
4 has ClientRequestToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'clientRequestToken' );
5 has ProjectId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'projectId' , required => 1);
6 has ProjectRole => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'projectRole' , required => 1);
7 has RemoteAccessAllowed => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'remoteAccessAllowed' );
8 has UserArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'userArn' , required => 1);
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'AssociateTeamMember');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CodeStar::AssociateTeamMemberResult');
14 class_has _result_key => (isa => 'Str', is => 'ro');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::CodeStar::AssociateTeamMember - Arguments for method AssociateTeamMember on L<Paws::CodeStar>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method AssociateTeamMember on the
26 L<AWS CodeStar|Paws::CodeStar> service. Use the attributes of this class
27 as arguments to method AssociateTeamMember.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AssociateTeamMember.
30  
31 =head1 SYNOPSIS
32  
33 my $codestar = Paws->service('CodeStar');
34 my $AssociateTeamMemberResult = $codestar->AssociateTeamMember(
35 ProjectId => 'MyProjectId',
36 ProjectRole => 'MyRole',
37 UserArn => 'MyUserArn',
38 ClientRequestToken => 'MyClientRequestToken', # OPTIONAL
39 RemoteAccessAllowed => 1, # OPTIONAL
40 );
41  
42 # Results:
43 my $ClientRequestToken = $AssociateTeamMemberResult->ClientRequestToken;
44  
45 # Returns a L<Paws::CodeStar::AssociateTeamMemberResult> 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/AssociateTeamMember>
49  
50 =head1 ATTRIBUTES
51  
52  
53 =head2 ClientRequestToken => Str
54  
55 A user- or system-generated token that identifies the entity that
56 requested the team member association to the project. This token can be
57 used to repeat the request.
58  
59  
60  
61 =head2 B<REQUIRED> ProjectId => Str
62  
63 The ID of the project to which you will add the IAM user.
64  
65  
66  
67 =head2 B<REQUIRED> ProjectRole => Str
68  
69 The AWS CodeStar project role that will apply to this user. This role
70 determines what actions a user can take in an AWS CodeStar project.
71  
72  
73  
74 =head2 RemoteAccessAllowed => Bool
75  
76 Whether the team member is allowed to use an SSH public/private key
77 pair to remotely access project resources, for example Amazon EC2
78 instances.
79  
80  
81  
82 =head2 B<REQUIRED> UserArn => Str
83  
84 The Amazon Resource Name (ARN) for the IAM user you want to add to the
85 AWS CodeStar project.
86  
87  
88  
89  
90 =head1 SEE ALSO
91  
92 This class forms part of L<Paws>, documenting arguments for method AssociateTeamMember in L<Paws::CodeStar>
93  
94 =head1 BUGS and CONTRIBUTIONS
95  
96 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
97  
98 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
99  
100 =cut
101