blib/lib/Paws/S3/GetObjectOutput.pm

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