File Coverage

blib/lib/Paws/CodeCommit/GetDifferences.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::CodeCommit::GetDifferences;
3 1     1   609 use Moose;
  1         3  
  1         9  
4             has AfterCommitSpecifier => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'afterCommitSpecifier' , required => 1);
5             has AfterPath => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'afterPath' );
6             has BeforeCommitSpecifier => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'beforeCommitSpecifier' );
7             has BeforePath => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'beforePath' );
8             has MaxResults => (is => 'ro', isa => 'Int');
9             has NextToken => (is => 'ro', isa => 'Str');
10             has RepositoryName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'repositoryName' , required => 1);
11              
12 1     1   7183 use MooseX::ClassAttribute;
  1         3  
  1         9  
13              
14             class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetDifferences');
15             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CodeCommit::GetDifferencesOutput');
16             class_has _result_key => (isa => 'Str', is => 'ro');
17             1;
18              
19             ### main pod documentation begin ###
20              
21             =head1 NAME
22              
23             Paws::CodeCommit::GetDifferences - Arguments for method GetDifferences on Paws::CodeCommit
24              
25             =head1 DESCRIPTION
26              
27             This class represents the parameters used for calling the method GetDifferences on the
28             AWS CodeCommit service. Use the attributes of this class
29             as arguments to method GetDifferences.
30              
31             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetDifferences.
32              
33             As an example:
34              
35             $service_obj->GetDifferences(Att1 => $value1, Att2 => $value2, ...);
36              
37             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.
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 B<REQUIRED> AfterCommitSpecifier => Str
43              
44             The branch, tag, HEAD, or other fully qualified reference used to
45             identify a commit.
46              
47              
48              
49             =head2 AfterPath => Str
50              
51             The file path in which to check differences. Limits the results to this
52             path. Can also be used to specify the changed name of a directory or
53             folder, if it has changed. If not specified, differences will be shown
54             for all paths.
55              
56              
57              
58             =head2 BeforeCommitSpecifier => Str
59              
60             The branch, tag, HEAD, or other fully qualified reference used to
61             identify a commit. For example, the full commit ID. Optional. If not
62             specified, all changes prior to the C<afterCommitSpecifier> value will
63             be shown. If you do not use C<beforeCommitSpecifier> in your request,
64             consider limiting the results with C<maxResults>.
65              
66              
67              
68             =head2 BeforePath => Str
69              
70             The file path in which to check for differences. Limits the results to
71             this path. Can also be used to specify the previous name of a directory
72             or folder. If C<beforePath> and C<afterPath> are not specified,
73             differences will be shown for all paths.
74              
75              
76              
77             =head2 MaxResults => Int
78              
79             A non-negative integer used to limit the number of returned results.
80              
81              
82              
83             =head2 NextToken => Str
84              
85             An enumeration token that when provided in a request, returns the next
86             batch of the results.
87              
88              
89              
90             =head2 B<REQUIRED> RepositoryName => Str
91              
92             The name of the repository where you want to get differences.
93              
94              
95              
96              
97             =head1 SEE ALSO
98              
99             This class forms part of L<Paws>, documenting arguments for method GetDifferences in L<Paws::CodeCommit>
100              
101             =head1 BUGS and CONTRIBUTIONS
102              
103             The source code is located here: https://github.com/pplu/aws-sdk-perl
104              
105             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
106              
107             =cut
108