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