File Coverage

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