File Coverage

blib/lib/Paws/ElasticBeanstalk/SourceBuildInformation.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             package Paws::ElasticBeanstalk::SourceBuildInformation;
2 1     1   340 use Moose;
  1     1   2  
  1         7  
  1         441  
  1         3  
  1         7  
3             has SourceLocation => (is => 'ro', isa => 'Str', required => 1);
4             has SourceRepository => (is => 'ro', isa => 'Str', required => 1);
5             has SourceType => (is => 'ro', isa => 'Str', required => 1);
6             1;
7              
8             ### main pod documentation begin ###
9              
10             =head1 NAME
11              
12             Paws::ElasticBeanstalk::SourceBuildInformation
13              
14             =head1 USAGE
15              
16             This class represents one of two things:
17              
18             =head3 Arguments in a call to a service
19              
20             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
21             Each attribute should be used as a named argument in the calls that expect this type of object.
22              
23             As an example, if Att1 is expected to be a Paws::ElasticBeanstalk::SourceBuildInformation object:
24              
25             $service_obj->Method(Att1 => { SourceLocation => $value, ..., SourceType => $value });
26              
27             =head3 Results returned from an API call
28              
29             Use accessors for each attribute. If Att1 is expected to be an Paws::ElasticBeanstalk::SourceBuildInformation object:
30              
31             $result = $service_obj->Method(...);
32             $result->Att1->SourceLocation
33              
34             =head1 DESCRIPTION
35              
36             Location of the source code for an application version.
37              
38             =head1 ATTRIBUTES
39              
40              
41             =head2 B<REQUIRED> SourceLocation => Str
42              
43             The location of the source code, as a formatted string, depending on
44             the value of C<SourceRepository>
45              
46             =over
47              
48             =item *
49              
50             For C<CodeCommit>, the format is the repository name and commit ID,
51             separated by a forward slash. For example,
52             C<my-git-repo/265cfa0cf6af46153527f55d6503ec030551f57a>.
53              
54             =item *
55              
56             For C<S3>, the format is the S3 bucket name and object key, separated
57             by a forward slash. For example,
58             C<my-s3-bucket/Folders/my-source-file>.
59              
60             =back
61              
62              
63              
64             =head2 B<REQUIRED> SourceRepository => Str
65              
66             Location where the repository is stored.
67              
68             =over
69              
70             =item *
71              
72             C<CodeCommit>
73              
74             =item *
75              
76             C<S3>
77              
78             =back
79              
80              
81              
82             =head2 B<REQUIRED> SourceType => Str
83              
84             The type of repository.
85              
86             =over
87              
88             =item *
89              
90             C<Git>
91              
92             =item *
93              
94             C<Zip>
95              
96             =back
97              
98              
99              
100              
101             =head1 SEE ALSO
102              
103             This class forms part of L<Paws>, describing an object used in L<Paws::ElasticBeanstalk>
104              
105             =head1 BUGS and CONTRIBUTIONS
106              
107             The source code is located here: https://github.com/pplu/aws-sdk-perl
108              
109             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
110              
111             =cut
112