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   3968 use Moose;
  1         6  
  1         13  
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 ListTeamMembers {
68             my $self = shift;
69             my $call_object = $self->new_with_coercions('Paws::CodeStar::ListTeamMembers', @_);
70             return $self->caller->do_call($self, $call_object);
71             }
72             sub ListUserProfiles {
73             my $self = shift;
74             my $call_object = $self->new_with_coercions('Paws::CodeStar::ListUserProfiles', @_);
75             return $self->caller->do_call($self, $call_object);
76             }
77             sub UpdateProject {
78             my $self = shift;
79             my $call_object = $self->new_with_coercions('Paws::CodeStar::UpdateProject', @_);
80             return $self->caller->do_call($self, $call_object);
81             }
82             sub UpdateTeamMember {
83             my $self = shift;
84             my $call_object = $self->new_with_coercions('Paws::CodeStar::UpdateTeamMember', @_);
85             return $self->caller->do_call($self, $call_object);
86             }
87             sub UpdateUserProfile {
88             my $self = shift;
89             my $call_object = $self->new_with_coercions('Paws::CodeStar::UpdateUserProfile', @_);
90             return $self->caller->do_call($self, $call_object);
91             }
92            
93              
94              
95             sub operations { qw/AssociateTeamMember CreateProject CreateUserProfile DeleteProject DeleteUserProfile DescribeProject DescribeUserProfile DisassociateTeamMember ListProjects ListResources ListTeamMembers ListUserProfiles UpdateProject UpdateTeamMember UpdateUserProfile / }
96              
97             1;
98              
99             ### main pod documentation begin ###
100              
101             =head1 NAME
102              
103             Paws::CodeStar - Perl Interface to AWS AWS CodeStar
104              
105             =head1 SYNOPSIS
106              
107             use Paws;
108              
109             my $obj = Paws->service('CodeStar');
110             my $res = $obj->Method(
111             Arg1 => $val1,
112             Arg2 => [ 'V1', 'V2' ],
113             # if Arg3 is an object, the HashRef will be used as arguments to the constructor
114             # of the arguments type
115             Arg3 => { Att1 => 'Val1' },
116             # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
117             # the constructor of the arguments type
118             Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
119             );
120              
121             =head1 DESCRIPTION
122              
123             AWS CodeStar
124              
125             This is the API reference for AWS CodeStar. This reference provides
126             descriptions of the operations and data types for the AWS CodeStar API
127             along with usage examples.
128              
129             You can use the AWS CodeStar API to work with:
130              
131             Projects and their resources, by calling the following:
132              
133             =over
134              
135             =item *
136              
137             DeleteProject, which deletes a project in AWS CodeStar.
138              
139             =item *
140              
141             DescribeProject, which lists the attributes of a project.
142              
143             =item *
144              
145             ListProjects, which lists all AWS CodeStar projects associated with
146             your AWS account.
147              
148             =item *
149              
150             ListResources, which lists the resources associated with an AWS
151             CodeStar project.
152              
153             =item *
154              
155             UpdateProject, which updates the attributes of an AWS CodeStar project.
156              
157             =back
158              
159             Teams and team members, by calling the following:
160              
161             =over
162              
163             =item *
164              
165             AssociateTeamMember, which adds an IAM user to the team for an AWS
166             CodeStar project.
167              
168             =item *
169              
170             DisassociateTeamMember, which removes an IAM user from the team for an
171             AWS CodeStar project.
172              
173             =item *
174              
175             ListTeamMembers, which lists all the IAM users in the team for an AWS
176             CodeStar project, including their roles and attributes.
177              
178             =back
179              
180             Users, by calling the following:
181              
182             =over
183              
184             =item *
185              
186             CreateUserProfile, which creates a user profile that contains data
187             associated with the user across all AWS CodeStar projects.
188              
189             =item *
190              
191             DeleteUserProfile, which deletes all user profile information across
192             all AWS CodeStar projects.
193              
194             =item *
195              
196             DescribeUserProfile, which describes the profile of a user.
197              
198             =item *
199              
200             ListUserProfiles, which lists all AWS CodeStar user profiles.
201              
202             =item *
203              
204             UpdateUserProfile, which updates the profile for an AWS CodeStar user.
205              
206             =back
207              
208              
209             =head1 METHODS
210              
211             =head2 AssociateTeamMember(ProjectId => Str, ProjectRole => Str, UserArn => Str, [ClientRequestToken => Str, RemoteAccessAllowed => Bool])
212              
213             Each argument is described in detail in: L<Paws::CodeStar::AssociateTeamMember>
214              
215             Returns: a L<Paws::CodeStar::AssociateTeamMemberResult> instance
216              
217             Adds an IAM user to the team for an AWS CodeStar project.
218              
219              
220             =head2 CreateProject(Id => Str, Name => Str, [ClientRequestToken => Str, Description => Str])
221              
222             Each argument is described in detail in: L<Paws::CodeStar::CreateProject>
223              
224             Returns: a L<Paws::CodeStar::CreateProjectResult> instance
225              
226             Reserved for future use. To create a project, use the AWS CodeStar
227             console.
228              
229              
230             =head2 CreateUserProfile(DisplayName => Str, EmailAddress => Str, UserArn => Str, [SshPublicKey => Str])
231              
232             Each argument is described in detail in: L<Paws::CodeStar::CreateUserProfile>
233              
234             Returns: a L<Paws::CodeStar::CreateUserProfileResult> instance
235              
236             Creates a profile for a user that includes user preferences, such as
237             the display name and email address assocciated with the user, in AWS
238             CodeStar. The user profile is not project-specific. Information in the
239             user profile is displayed wherever the user's information appears to
240             other users in AWS CodeStar.
241              
242              
243             =head2 DeleteProject(Id => Str, [ClientRequestToken => Str, DeleteStack => Bool])
244              
245             Each argument is described in detail in: L<Paws::CodeStar::DeleteProject>
246              
247             Returns: a L<Paws::CodeStar::DeleteProjectResult> instance
248              
249             Deletes a project, including project resources. Does not delete users
250             associated with the project, but does delete the IAM roles that allowed
251             access to the project.
252              
253              
254             =head2 DeleteUserProfile(UserArn => Str)
255              
256             Each argument is described in detail in: L<Paws::CodeStar::DeleteUserProfile>
257              
258             Returns: a L<Paws::CodeStar::DeleteUserProfileResult> instance
259              
260             Deletes a user profile in AWS CodeStar, including all personal
261             preference data associated with that profile, such as display name and
262             email address. It does not delete the history of that user, for example
263             the history of commits made by that user.
264              
265              
266             =head2 DescribeProject(Id => Str)
267              
268             Each argument is described in detail in: L<Paws::CodeStar::DescribeProject>
269              
270             Returns: a L<Paws::CodeStar::DescribeProjectResult> instance
271              
272             Describes a project and its resources.
273              
274              
275             =head2 DescribeUserProfile(UserArn => Str)
276              
277             Each argument is described in detail in: L<Paws::CodeStar::DescribeUserProfile>
278              
279             Returns: a L<Paws::CodeStar::DescribeUserProfileResult> instance
280              
281             Describes a user in AWS CodeStar and the user attributes across all
282             projects.
283              
284              
285             =head2 DisassociateTeamMember(ProjectId => Str, UserArn => Str)
286              
287             Each argument is described in detail in: L<Paws::CodeStar::DisassociateTeamMember>
288              
289             Returns: a L<Paws::CodeStar::DisassociateTeamMemberResult> instance
290              
291             Removes a user from a project. Removing a user from a project also
292             removes the IAM policies from that user that allowed access to the
293             project and its resources. Disassociating a team member does not remove
294             that user's profile from AWS CodeStar. It does not remove the user from
295             IAM.
296              
297              
298             =head2 ListProjects([MaxResults => Int, NextToken => Str])
299              
300             Each argument is described in detail in: L<Paws::CodeStar::ListProjects>
301              
302             Returns: a L<Paws::CodeStar::ListProjectsResult> instance
303              
304             Lists all projects in AWS CodeStar associated with your AWS account.
305              
306              
307             =head2 ListResources(ProjectId => Str, [MaxResults => Int, NextToken => Str])
308              
309             Each argument is described in detail in: L<Paws::CodeStar::ListResources>
310              
311             Returns: a L<Paws::CodeStar::ListResourcesResult> instance
312              
313             Lists resources associated with a project in AWS CodeStar.
314              
315              
316             =head2 ListTeamMembers(ProjectId => Str, [MaxResults => Int, NextToken => Str])
317              
318             Each argument is described in detail in: L<Paws::CodeStar::ListTeamMembers>
319              
320             Returns: a L<Paws::CodeStar::ListTeamMembersResult> instance
321              
322             Lists all team members associated with a project.
323              
324              
325             =head2 ListUserProfiles([MaxResults => Int, NextToken => Str])
326              
327             Each argument is described in detail in: L<Paws::CodeStar::ListUserProfiles>
328              
329             Returns: a L<Paws::CodeStar::ListUserProfilesResult> instance
330              
331             Lists all the user profiles configured for your AWS account in AWS
332             CodeStar.
333              
334              
335             =head2 UpdateProject(Id => Str, [Description => Str, Name => Str])
336              
337             Each argument is described in detail in: L<Paws::CodeStar::UpdateProject>
338              
339             Returns: a L<Paws::CodeStar::UpdateProjectResult> instance
340              
341             Updates a project in AWS CodeStar.
342              
343              
344             =head2 UpdateTeamMember(ProjectId => Str, UserArn => Str, [ProjectRole => Str, RemoteAccessAllowed => Bool])
345              
346             Each argument is described in detail in: L<Paws::CodeStar::UpdateTeamMember>
347              
348             Returns: a L<Paws::CodeStar::UpdateTeamMemberResult> instance
349              
350             Updates a team member's attributes in an AWS CodeStar project. For
351             example, you can change a team member's role in the project, or change
352             whether they have remote access to project resources.
353              
354              
355             =head2 UpdateUserProfile(UserArn => Str, [DisplayName => Str, EmailAddress => Str, SshPublicKey => Str])
356              
357             Each argument is described in detail in: L<Paws::CodeStar::UpdateUserProfile>
358              
359             Returns: a L<Paws::CodeStar::UpdateUserProfileResult> instance
360              
361             Updates a user's profile in AWS CodeStar. The user profile is not
362             project-specific. Information in the user profile is displayed wherever
363             the user's information appears to other users in AWS CodeStar.
364              
365              
366              
367              
368             =head1 PAGINATORS
369              
370             Paginator methods are helpers that repetively call methods that return partial results
371              
372              
373              
374              
375             =head1 SEE ALSO
376              
377             This service class forms part of L<Paws>
378              
379             =head1 BUGS and CONTRIBUTIONS
380              
381             The source code is located here: https://github.com/pplu/aws-sdk-perl
382              
383             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
384              
385             =cut
386