blib/lib/Paws/CodeCommit/GetDifferences.pm untested

filter: Statementstmt 0.0% 0 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 23 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::CodeCommit::GetDifferences;
3 use Moose;
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 use MooseX::ClassAttribute;
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 L<Paws::CodeCommit>
24  
25 =head1 DESCRIPTION
26  
27 This class represents the parameters used for calling the method GetDifferences on the
28 L<AWS CodeCommit|Paws::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 =head1 SYNOPSIS
34  
35 my $codecommit = Paws->service('CodeCommit');
36 my $GetDifferencesOutput = $codecommit->GetDifferences(
37 AfterCommitSpecifier => 'MyCommitName',
38 RepositoryName => 'MyRepositoryName',
39 AfterPath => 'MyPath', # OPTIONAL
40 BeforeCommitSpecifier => 'MyCommitName', # OPTIONAL
41 BeforePath => 'MyPath', # OPTIONAL
42 MaxResults => 1, # OPTIONAL
43 NextToken => 'MyNextToken', # OPTIONAL
44 );
45  
46 # Results:
47 my $Differences = $GetDifferencesOutput->Differences;
48 my $NextToken = $GetDifferencesOutput->NextToken;
49  
50 # Returns a L<Paws::CodeCommit::GetDifferencesOutput> object.
51  
52 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.
53 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/codecommit/GetDifferences>
54  
55 =head1 ATTRIBUTES
56  
57  
58 =head2 B<REQUIRED> AfterCommitSpecifier => Str
59  
60 The branch, tag, HEAD, or other fully qualified reference used to
61 identify a commit.
62  
63  
64  
65 =head2 AfterPath => Str
66  
67 The file path in which to check differences. Limits the results to this
68 path. Can also be used to specify the changed name of a directory or
69 folder, if it has changed. If not specified, differences are shown for
70 all paths.
71  
72  
73  
74 =head2 BeforeCommitSpecifier => Str
75  
76 The branch, tag, HEAD, or other fully qualified reference used to
77 identify a commit (for example, the full commit ID). Optional. If not
78 specified, all changes before the C<afterCommitSpecifier> value are
79 shown. If you do not use C<beforeCommitSpecifier> in your request,
80 consider limiting the results with C<maxResults>.
81  
82  
83  
84 =head2 BeforePath => Str
85  
86 The file path in which to check for differences. Limits the results to
87 this path. Can also be used to specify the previous name of a directory
88 or folder. If C<beforePath> and C<afterPath> are not specified,
89 differences are shown for all paths.
90  
91  
92  
93 =head2 MaxResults => Int
94  
95 A non-zero, non-negative integer used to limit the number of returned
96 results.
97  
98  
99  
100 =head2 NextToken => Str
101  
102 An enumeration token that, when provided in a request, returns the next
103 batch of the results.
104  
105  
106  
107 =head2 B<REQUIRED> RepositoryName => Str
108  
109 The name of the repository where you want to get differences.
110  
111  
112  
113  
114 =head1 SEE ALSO
115  
116 This class forms part of L<Paws>, documenting arguments for method GetDifferences in L<Paws::CodeCommit>
117  
118 =head1 BUGS and CONTRIBUTIONS
119  
120 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
121  
122 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
123  
124 =cut
125