File Coverage

blib/lib/Paws/CodeDeploy/S3Location.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::CodeDeploy::S3Location;
2 1     1   281 use Moose;
  1         2  
  1         7  
3             has Bucket => (is => 'ro', isa => 'Str', request_name => 'bucket', traits => ['NameInRequest']);
4             has BundleType => (is => 'ro', isa => 'Str', request_name => 'bundleType', traits => ['NameInRequest']);
5             has ETag => (is => 'ro', isa => 'Str', request_name => 'eTag', traits => ['NameInRequest']);
6             has Key => (is => 'ro', isa => 'Str', request_name => 'key', traits => ['NameInRequest']);
7             has Version => (is => 'ro', isa => 'Str', request_name => 'version', traits => ['NameInRequest']);
8             1;
9              
10             ### main pod documentation begin ###
11              
12             =head1 NAME
13              
14             Paws::CodeDeploy::S3Location
15              
16             =head1 USAGE
17              
18             This class represents one of two things:
19              
20             =head3 Arguments in a call to a service
21              
22             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23             Each attribute should be used as a named argument in the calls that expect this type of object.
24              
25             As an example, if Att1 is expected to be a Paws::CodeDeploy::S3Location object:
26              
27             $service_obj->Method(Att1 => { Bucket => $value, ..., Version => $value });
28              
29             =head3 Results returned from an API call
30              
31             Use accessors for each attribute. If Att1 is expected to be an Paws::CodeDeploy::S3Location object:
32              
33             $result = $service_obj->Method(...);
34             $result->Att1->Bucket
35              
36             =head1 DESCRIPTION
37              
38             Information about the location of application artifacts stored in
39             Amazon S3.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 Bucket => Str
45              
46             The name of the Amazon S3 bucket where the application revision is
47             stored.
48              
49              
50             =head2 BundleType => Str
51              
52             The file type of the application revision. Must be one of the
53             following:
54              
55             =over
56              
57             =item *
58              
59             tar: A tar archive file.
60              
61             =item *
62              
63             tgz: A compressed tar archive file.
64              
65             =item *
66              
67             zip: A zip archive file.
68              
69             =back
70              
71              
72              
73             =head2 ETag => Str
74              
75             The ETag of the Amazon S3 object that represents the bundled artifacts
76             for the application revision.
77              
78             If the ETag is not specified as an input parameter, ETag validation of
79             the object will be skipped.
80              
81              
82             =head2 Key => Str
83              
84             The name of the Amazon S3 object that represents the bundled artifacts
85             for the application revision.
86              
87              
88             =head2 Version => Str
89              
90             A specific version of the Amazon S3 object that represents the bundled
91             artifacts for the application revision.
92              
93             If the version is not specified, the system will use the most recent
94             version by default.
95              
96              
97              
98             =head1 SEE ALSO
99              
100             This class forms part of L<Paws>, describing an object used in L<Paws::CodeDeploy>
101              
102             =head1 BUGS and CONTRIBUTIONS
103              
104             The source code is located here: https://github.com/pplu/aws-sdk-perl
105              
106             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
107              
108             =cut
109