File Coverage

blib/lib/Paws/S3/GetObjectOutput.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::S3::GetObjectOutput;
3 1     1   474 use Moose;
  1     2   4  
  1         6  
  2         792  
  2         5  
  2         11  
4             has AcceptRanges => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'accept-ranges');
5             has Body => (is => 'ro', isa => 'Str', traits => ['ParamInBody']);
6             has CacheControl => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'Cache-Control');
7             has ContentDisposition => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'Content-Disposition');
8             has ContentEncoding => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'Content-Encoding');
9             has ContentLanguage => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'Content-Language');
10             has ContentLength => (is => 'ro', isa => 'Int', traits => ['ParamInHeader'], header_name => 'Content-Length');
11             has ContentRange => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'Content-Range');
12             has ContentType => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'Content-Type');
13             has DeleteMarker => (is => 'ro', isa => 'Bool', traits => ['ParamInHeader'], header_name => 'x-amz-delete-marker');
14             has ETag => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'ETag');
15             has Expiration => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'x-amz-expiration');
16             has Expires => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'Expires');
17             has LastModified => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'Last-Modified');
18             has Metadata => (is => 'ro', isa => 'Paws::S3::Metadata', traits => ['ParamInHeaders'], header_prefix => 'x-amz-meta-');
19             has MissingMeta => (is => 'ro', isa => 'Int', traits => ['ParamInHeader'], header_name => 'x-amz-missing-meta');
20             has PartsCount => (is => 'ro', isa => 'Int', traits => ['ParamInHeader'], header_name => 'x-amz-mp-parts-count');
21             has ReplicationStatus => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'x-amz-replication-status');
22             has RequestCharged => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'x-amz-request-charged');
23             has Restore => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'x-amz-restore');
24             has ServerSideEncryption => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'x-amz-server-side-encryption');
25             has SSECustomerAlgorithm => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'x-amz-server-side-encryption-customer-algorithm');
26             has SSECustomerKeyMD5 => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'x-amz-server-side-encryption-customer-key-MD5');
27             has SSEKMSKeyId => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'x-amz-server-side-encryption-aws-kms-key-id');
28             has StorageClass => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'x-amz-storage-class');
29             has TagCount => (is => 'ro', isa => 'Int', traits => ['ParamInHeader'], header_name => 'x-amz-tagging-count');
30             has VersionId => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'x-amz-version-id');
31             has WebsiteRedirectLocation => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'x-amz-website-redirect-location');
32              
33 1     1   6340 use MooseX::ClassAttribute;
  1     2   3  
  1         9  
  2         11909  
  2         4  
  2         14  
34             class_has _stream_param => (is => 'ro', default => 'Body');
35             has _request_id => (is => 'ro', isa => 'Str');
36             1;
37              
38             ### main pod documentation begin ###
39              
40             =head1 NAME
41              
42             Paws::S3::GetObjectOutput
43              
44             =head1 ATTRIBUTES
45              
46              
47             =head2 AcceptRanges => Str
48              
49              
50              
51              
52              
53             =head2 Body => Str
54              
55             Object data.
56              
57              
58              
59             =head2 CacheControl => Str
60              
61             Specifies caching behavior along the request/reply chain.
62              
63              
64              
65             =head2 ContentDisposition => Str
66              
67             Specifies presentational information for the object.
68              
69              
70              
71             =head2 ContentEncoding => Str
72              
73             Specifies what content encodings have been applied to the object and
74             thus what decoding mechanisms must be applied to obtain the media-type
75             referenced by the Content-Type header field.
76              
77              
78              
79             =head2 ContentLanguage => Str
80              
81             The language the content is in.
82              
83              
84              
85             =head2 ContentLength => Int
86              
87             Size of the body in bytes.
88              
89              
90              
91             =head2 ContentRange => Str
92              
93             The portion of the object returned in the response.
94              
95              
96              
97             =head2 ContentType => Str
98              
99             A standard MIME type describing the format of the object data.
100              
101              
102              
103             =head2 DeleteMarker => Bool
104              
105             Specifies whether the object retrieved was (true) or was not (false) a
106             Delete Marker. If false, this response header does not appear in the
107             response.
108              
109              
110              
111             =head2 ETag => Str
112              
113             An ETag is an opaque identifier assigned by a web server to a specific
114             version of a resource found at a URL
115              
116              
117              
118             =head2 Expiration => Str
119              
120             If the object expiration is configured (see PUT Bucket lifecycle), the
121             response includes this header. It includes the expiry-date and rule-id
122             key value pairs providing object expiration information. The value of
123             the rule-id is URL encoded.
124              
125              
126              
127             =head2 Expires => Str
128              
129             The date and time at which the object is no longer cacheable.
130              
131              
132              
133             =head2 LastModified => Str
134              
135             Last modified date of the object
136              
137              
138              
139             =head2 Metadata => L<Paws::S3::Metadata>
140              
141             A map of metadata to store with the object in S3.
142              
143              
144              
145             =head2 MissingMeta => Int
146              
147             This is set to the number of metadata entries not returned in
148             x-amz-meta headers. This can happen if you create metadata using an API
149             like SOAP that supports more flexible metadata than the REST API. For
150             example, using SOAP, you can create metadata whose values are not legal
151             HTTP headers.
152              
153              
154              
155             =head2 PartsCount => Int
156              
157             The count of parts this object has.
158              
159              
160              
161             =head2 ReplicationStatus => Str
162              
163              
164              
165             Valid values are: C<"COMPLETE">, C<"PENDING">, C<"FAILED">, C<"REPLICA">
166              
167             =head2 RequestCharged => Str
168              
169              
170              
171             Valid values are: C<"requester">
172              
173             =head2 Restore => Str
174              
175             Provides information about object restoration operation and expiration
176             time of the restored object copy.
177              
178              
179              
180             =head2 ServerSideEncryption => Str
181              
182             The Server-side encryption algorithm used when storing this object in
183             S3 (e.g., AES256, aws:kms).
184              
185             Valid values are: C<"AES256">, C<"aws:kms">
186              
187             =head2 SSECustomerAlgorithm => Str
188              
189             If server-side encryption with a customer-provided encryption key was
190             requested, the response will include this header confirming the
191             encryption algorithm used.
192              
193              
194              
195             =head2 SSECustomerKeyMD5 => Str
196              
197             If server-side encryption with a customer-provided encryption key was
198             requested, the response will include this header to provide round trip
199             message integrity verification of the customer-provided encryption key.
200              
201              
202              
203             =head2 SSEKMSKeyId => Str
204              
205             If present, specifies the ID of the AWS Key Management Service (KMS)
206             master encryption key that was used for the object.
207              
208              
209              
210             =head2 StorageClass => Str
211              
212              
213              
214             Valid values are: C<"STANDARD">, C<"REDUCED_REDUNDANCY">, C<"STANDARD_IA">
215              
216             =head2 TagCount => Int
217              
218             The number of tags, if any, on the object.
219              
220              
221              
222             =head2 VersionId => Str
223              
224             Version of the object.
225              
226              
227              
228             =head2 WebsiteRedirectLocation => Str
229              
230             If the bucket is configured as a website, redirects requests for this
231             object to another object in the same bucket or to an external URL.
232             Amazon S3 stores the value of this header in the object metadata.
233              
234              
235              
236              
237             =cut
238