File Coverage

blib/lib/Paws/CodeStar.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::CodeStar;
2 1     1   3375 use Moose;
  1         3  
  1         7  
3             sub service { 'codestar' }
4             sub version { '2017-04-19' }
5             sub target_prefix { 'CodeStar_20170419' }
6             sub json_version { "1.1" }
7             has max_attempts => (is => 'ro', isa => 'Int', default => 5);
8             has retry => (is => 'ro', isa => 'HashRef', default => sub {
9             { base => 'rand', type => 'exponential', growth_factor => 2 }
10             });
11             has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
12             ] });
13              
14             with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::JsonCaller', 'Paws::Net::JsonResponse';
15              
16            
17             sub AssociateTeamMember {
18             my $self = shift;
19             my $call_object = $self->new_with_coercions('Paws::CodeStar::AssociateTeamMember', @_);
20             return $self->caller->do_call($self, $call_object);
21             }
22             sub CreateProject {
23             my $self = shift;
24             my $call_object = $self->new_with_coercions('Paws::CodeStar::CreateProject', @_);
25             return $self->caller->do_call($self, $call_object);
26             }
27             sub CreateUserProfile {
28             my $self = shift;
29             my $call_object = $self->new_with_coercions('Paws::CodeStar::CreateUserProfile', @_);
30             return $self->caller->do_call($self, $call_object);
31             }
32             sub DeleteProject {
33             my $self = shift;
34             my $call_object = $self->new_with_coercions('Paws::CodeStar::DeleteProject', @_);
35             return $self->caller->do_call($self, $call_object);
36             }
37             sub DeleteUserProfile {
38             my $self = shift;
39             my $call_object = $self->new_with_coercions('Paws::CodeStar::DeleteUserProfile', @_);
40             return $self->caller->do_call($self, $call_object);
41             }
42             sub DescribeProject {
43             my $self = shift;
44             my $call_object = $self->new_with_coercions('Paws::CodeStar::DescribeProject', @_);
45             return $self->caller->do_call($self, $call_object);
46             }
47             sub DescribeUserProfile {
48             my $self = shift;
49             my $call_object = $self->new_with_coercions('Paws::CodeStar::DescribeUserProfile', @_);
50             return $self->caller->do_call($self, $call_object);
51             }
52             sub DisassociateTeamMember {
53             my $self = shift;
54             my $call_object = $self->new_with_coercions('Paws::CodeStar::DisassociateTeamMember', @_);
55             return $self->caller->do_call($self, $call_object);
56             }
57             sub ListProjects {
58             my $self = shift;
59             my $call_object = $self->new_with_coercions('Paws::CodeStar::ListProjects', @_);
60             return $self->caller->do_call($self, $call_object);
61             }
62             sub ListResources {
63             my $self = shift;
64             my $call_object = $self->new_with_coercions('Paws::CodeStar::ListResources', @_);
65             return $self->caller->do_call($self, $call_object);
66             }
67             sub ListTagsForProject {
68             my $self = shift;
69             my $call_object = $self->new_with_coercions('Paws::CodeStar::ListTagsForProject', @_);
70             return $self->caller->do_call($self, $call_object);
71             }
72             sub ListTeamMembers {
73             my $self = shift;
74             my $call_object = $self->new_with_coercions('Paws::CodeStar::ListTeamMembers', @_);
75             return $self->caller->do_call($self, $call_object);
76             }
77             sub ListUserProfiles {
78             my $self = shift;
79             my $call_object = $self->new_with_coercions('Paws::CodeStar::ListUserProfiles', @_);
80             return $self->caller->do_call($self, $call_object);
81             }
82             sub TagProject {
83             my $self = shift;
84             my $call_object = $self->new_with_coercions('Paws::CodeStar::TagProject', @_);
85             return $self->caller->do_call($self, $call_object);
86             }
87             sub UntagProject {
88             my $self = shift;
89             my $call_object = $self->new_with_coercions('Paws::CodeStar::UntagProject', @_);
90             return $self->caller->do_call($self, $call_object);
91             }
92             sub UpdateProject {
93             my $self = shift;
94             my $call_object = $self->new_with_coercions('Paws::CodeStar::UpdateProject', @_);
95             return $self->caller->do_call($self, $call_object);
96             }
97             sub UpdateTeamMember {
98             my $self = shift;
99             my $call_object = $self->new_with_coercions('Paws::CodeStar::UpdateTeamMember', @_);
100             return $self->caller->do_call($self, $call_object);
101             }
102             sub UpdateUserProfile {
103             my $self = shift;
104             my $call_object = $self->new_with_coercions('Paws::CodeStar::UpdateUserProfile', @_);
105             return $self->caller->do_call($self, $call_object);
106             }
107            
108              
109              
110             sub operations { qw/AssociateTeamMember CreateProject CreateUserProfile DeleteProject DeleteUserProfile DescribeProject DescribeUserProfile DisassociateTeamMember ListProjects ListResources ListTagsForProject ListTeamMembers ListUserProfiles TagProject UntagProject UpdateProject UpdateTeamMember UpdateUserProfile / }
111              
112             1;
113              
114             ### main pod documentation begin ###
115              
116             =head1 NAME
117              
118             Paws::CodeStar - Perl Interface to AWS AWS CodeStar
119              
120             =head1 SYNOPSIS
121              
122             use Paws;
123              
124             my $obj = Paws->service('CodeStar');
125             my $res = $obj->Method(
126             Arg1 => $val1,
127             Arg2 => [ 'V1', 'V2' ],
128             # if Arg3 is an object, the HashRef will be used as arguments to the constructor
129             # of the arguments type
130             Arg3 => { Att1 => 'Val1' },
131             # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
132             # the constructor of the arguments type
133             Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
134             );
135              
136             =head1 DESCRIPTION
137              
138             AWS CodeStar
139              
140             This is the API reference for AWS CodeStar. This reference provides
141             descriptions of the operations and data types for the AWS CodeStar API
142             along with usage examples.
143              
144             You can use the AWS CodeStar API to work with:
145              
146             Projects and their resources, by calling the following:
147              
148             =over
149              
150             =item *
151              
152             C<DeleteProject>, which deletes a project.
153              
154             =item *
155              
156             C<DescribeProject>, which lists the attributes of a project.
157              
158             =item *
159              
160             C<ListProjects>, which lists all projects associated with your AWS
161             account.
162              
163             =item *
164              
165             C<ListResources>, which lists the resources associated with a project.
166              
167             =item *
168              
169             C<ListTagsForProject>, which lists the tags associated with a project.
170              
171             =item *
172              
173             C<TagProject>, which adds tags to a project.
174              
175             =item *
176              
177             C<UntagProject>, which removes tags from a project.
178              
179             =item *
180              
181             C<UpdateProject>, which updates the attributes of a project.
182              
183             =back
184              
185             Teams and team members, by calling the following:
186              
187             =over
188              
189             =item *
190              
191             C<AssociateTeamMember>, which adds an IAM user to the team for a
192             project.
193              
194             =item *
195              
196             C<DisassociateTeamMember>, which removes an IAM user from the team for
197             a project.
198              
199             =item *
200              
201             C<ListTeamMembers>, which lists all the IAM users in the team for a
202             project, including their roles and attributes.
203              
204             =item *
205              
206             C<UpdateTeamMember>, which updates a team member's attributes in a
207             project.
208              
209             =back
210              
211             Users, by calling the following:
212              
213             =over
214              
215             =item *
216              
217             C<CreateUserProfile>, which creates a user profile that contains data
218             associated with the user across all projects.
219              
220             =item *
221              
222             C<DeleteUserProfile>, which deletes all user profile information across
223             all projects.
224              
225             =item *
226              
227             C<DescribeUserProfile>, which describes the profile of a user.
228              
229             =item *
230              
231             C<ListUserProfiles>, which lists all user profiles.
232              
233             =item *
234              
235             C<UpdateUserProfile>, which updates the profile for a user.
236              
237             =back
238              
239              
240             =head1 METHODS
241              
242             =head2 AssociateTeamMember(ProjectId => Str, ProjectRole => Str, UserArn => Str, [ClientRequestToken => Str, RemoteAccessAllowed => Bool])
243              
244             Each argument is described in detail in: L<Paws::CodeStar::AssociateTeamMember>
245              
246             Returns: a L<Paws::CodeStar::AssociateTeamMemberResult> instance
247              
248             Adds an IAM user to the team for an AWS CodeStar project.
249              
250              
251             =head2 CreateProject(Id => Str, Name => Str, [ClientRequestToken => Str, Description => Str])
252              
253             Each argument is described in detail in: L<Paws::CodeStar::CreateProject>
254              
255             Returns: a L<Paws::CodeStar::CreateProjectResult> instance
256              
257             Reserved for future use. To create a project, use the AWS CodeStar
258             console.
259              
260              
261             =head2 CreateUserProfile(DisplayName => Str, EmailAddress => Str, UserArn => Str, [SshPublicKey => Str])
262              
263             Each argument is described in detail in: L<Paws::CodeStar::CreateUserProfile>
264              
265             Returns: a L<Paws::CodeStar::CreateUserProfileResult> instance
266              
267             Creates a profile for a user that includes user preferences, such as
268             the display name and email address assocciated with the user, in AWS
269             CodeStar. The user profile is not project-specific. Information in the
270             user profile is displayed wherever the user's information appears to
271             other users in AWS CodeStar.
272              
273              
274             =head2 DeleteProject(Id => Str, [ClientRequestToken => Str, DeleteStack => Bool])
275              
276             Each argument is described in detail in: L<Paws::CodeStar::DeleteProject>
277              
278             Returns: a L<Paws::CodeStar::DeleteProjectResult> instance
279              
280             Deletes a project, including project resources. Does not delete users
281             associated with the project, but does delete the IAM roles that allowed
282             access to the project.
283              
284              
285             =head2 DeleteUserProfile(UserArn => Str)
286              
287             Each argument is described in detail in: L<Paws::CodeStar::DeleteUserProfile>
288              
289             Returns: a L<Paws::CodeStar::DeleteUserProfileResult> instance
290              
291             Deletes a user profile in AWS CodeStar, including all personal
292             preference data associated with that profile, such as display name and
293             email address. It does not delete the history of that user, for example
294             the history of commits made by that user.
295              
296              
297             =head2 DescribeProject(Id => Str)
298              
299             Each argument is described in detail in: L<Paws::CodeStar::DescribeProject>
300              
301             Returns: a L<Paws::CodeStar::DescribeProjectResult> instance
302              
303             Describes a project and its resources.
304              
305              
306             =head2 DescribeUserProfile(UserArn => Str)
307              
308             Each argument is described in detail in: L<Paws::CodeStar::DescribeUserProfile>
309              
310             Returns: a L<Paws::CodeStar::DescribeUserProfileResult> instance
311              
312             Describes a user in AWS CodeStar and the user attributes across all
313             projects.
314              
315              
316             =head2 DisassociateTeamMember(ProjectId => Str, UserArn => Str)
317              
318             Each argument is described in detail in: L<Paws::CodeStar::DisassociateTeamMember>
319              
320             Returns: a L<Paws::CodeStar::DisassociateTeamMemberResult> instance
321              
322             Removes a user from a project. Removing a user from a project also
323             removes the IAM policies from that user that allowed access to the
324             project and its resources. Disassociating a team member does not remove
325             that user's profile from AWS CodeStar. It does not remove the user from
326             IAM.
327              
328              
329             =head2 ListProjects([MaxResults => Int, NextToken => Str])
330              
331             Each argument is described in detail in: L<Paws::CodeStar::ListProjects>
332              
333             Returns: a L<Paws::CodeStar::ListProjectsResult> instance
334              
335             Lists all projects in AWS CodeStar associated with your AWS account.
336              
337              
338             =head2 ListResources(ProjectId => Str, [MaxResults => Int, NextToken => Str])
339              
340             Each argument is described in detail in: L<Paws::CodeStar::ListResources>
341              
342             Returns: a L<Paws::CodeStar::ListResourcesResult> instance
343              
344             Lists resources associated with a project in AWS CodeStar.
345              
346              
347             =head2 ListTagsForProject(Id => Str, [MaxResults => Int, NextToken => Str])
348              
349             Each argument is described in detail in: L<Paws::CodeStar::ListTagsForProject>
350              
351             Returns: a L<Paws::CodeStar::ListTagsForProjectResult> instance
352              
353             Gets the tags for a project.
354              
355              
356             =head2 ListTeamMembers(ProjectId => Str, [MaxResults => Int, NextToken => Str])
357              
358             Each argument is described in detail in: L<Paws::CodeStar::ListTeamMembers>
359              
360             Returns: a L<Paws::CodeStar::ListTeamMembersResult> instance
361              
362             Lists all team members associated with a project.
363              
364              
365             =head2 ListUserProfiles([MaxResults => Int, NextToken => Str])
366              
367             Each argument is described in detail in: L<Paws::CodeStar::ListUserProfiles>
368              
369             Returns: a L<Paws::CodeStar::ListUserProfilesResult> instance
370              
371             Lists all the user profiles configured for your AWS account in AWS
372             CodeStar.
373              
374              
375             =head2 TagProject(Id => Str, Tags => L<Paws::CodeStar::Tags>)
376              
377             Each argument is described in detail in: L<Paws::CodeStar::TagProject>
378              
379             Returns: a L<Paws::CodeStar::TagProjectResult> instance
380              
381             Adds tags to a project.
382              
383              
384             =head2 UntagProject(Id => Str, Tags => ArrayRef[Str|Undef])
385              
386             Each argument is described in detail in: L<Paws::CodeStar::UntagProject>
387              
388             Returns: a L<Paws::CodeStar::UntagProjectResult> instance
389              
390             Removes tags from a project.
391              
392              
393             =head2 UpdateProject(Id => Str, [Description => Str, Name => Str])
394              
395             Each argument is described in detail in: L<Paws::CodeStar::UpdateProject>
396              
397             Returns: a L<Paws::CodeStar::UpdateProjectResult> instance
398              
399             Updates a project in AWS CodeStar.
400              
401              
402             =head2 UpdateTeamMember(ProjectId => Str, UserArn => Str, [ProjectRole => Str, RemoteAccessAllowed => Bool])
403              
404             Each argument is described in detail in: L<Paws::CodeStar::UpdateTeamMember>
405              
406             Returns: a L<Paws::CodeStar::UpdateTeamMemberResult> instance
407              
408             Updates a team member's attributes in an AWS CodeStar project. For
409             example, you can change a team member's role in the project, or change
410             whether they have remote access to project resources.
411              
412              
413             =head2 UpdateUserProfile(UserArn => Str, [DisplayName => Str, EmailAddress => Str, SshPublicKey => Str])
414              
415             Each argument is described in detail in: L<Paws::CodeStar::UpdateUserProfile>
416              
417             Returns: a L<Paws::CodeStar::UpdateUserProfileResult> instance
418              
419             Updates a user's profile in AWS CodeStar. The user profile is not
420             project-specific. Information in the user profile is displayed wherever
421             the user's information appears to other users in AWS CodeStar.
422              
423              
424              
425              
426             =head1 PAGINATORS
427              
428             Paginator methods are helpers that repetively call methods that return partial results
429              
430              
431              
432              
433             =head1 SEE ALSO
434              
435             This service class forms part of L<Paws>
436              
437             =head1 BUGS and CONTRIBUTIONS
438              
439             The source code is located here: https://github.com/pplu/aws-sdk-perl
440              
441             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
442              
443             =cut
444