line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::S3::GetObject; |
3
|
1
|
|
|
1
|
|
453
|
use Moose; |
|
1
|
|
|
2
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
609
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
13
|
|
4
|
|
|
|
|
|
|
has Bucket => (is => 'ro', isa => 'Str', uri_name => 'Bucket', traits => ['ParamInURI'], required => 1); |
5
|
|
|
|
|
|
|
has IfMatch => (is => 'ro', isa => 'Str', header_name => 'If-Match', traits => ['ParamInHeader']); |
6
|
|
|
|
|
|
|
has IfModifiedSince => (is => 'ro', isa => 'Str', header_name => 'If-Modified-Since', traits => ['ParamInHeader']); |
7
|
|
|
|
|
|
|
has IfNoneMatch => (is => 'ro', isa => 'Str', header_name => 'If-None-Match', traits => ['ParamInHeader']); |
8
|
|
|
|
|
|
|
has IfUnmodifiedSince => (is => 'ro', isa => 'Str', header_name => 'If-Unmodified-Since', traits => ['ParamInHeader']); |
9
|
|
|
|
|
|
|
has Key => (is => 'ro', isa => 'Str', uri_name => 'Key', traits => ['ParamInURI'], required => 1); |
10
|
|
|
|
|
|
|
has PartNumber => (is => 'ro', isa => 'Int', query_name => 'partNumber', traits => ['ParamInQuery']); |
11
|
|
|
|
|
|
|
has Range => (is => 'ro', isa => 'Str', header_name => 'Range', traits => ['ParamInHeader']); |
12
|
|
|
|
|
|
|
has RequestPayer => (is => 'ro', isa => 'Str', header_name => 'x-amz-request-payer', traits => ['ParamInHeader']); |
13
|
|
|
|
|
|
|
has ResponseCacheControl => (is => 'ro', isa => 'Str', query_name => 'response-cache-control', traits => ['ParamInQuery']); |
14
|
|
|
|
|
|
|
has ResponseContentDisposition => (is => 'ro', isa => 'Str', query_name => 'response-content-disposition', traits => ['ParamInQuery']); |
15
|
|
|
|
|
|
|
has ResponseContentEncoding => (is => 'ro', isa => 'Str', query_name => 'response-content-encoding', traits => ['ParamInQuery']); |
16
|
|
|
|
|
|
|
has ResponseContentLanguage => (is => 'ro', isa => 'Str', query_name => 'response-content-language', traits => ['ParamInQuery']); |
17
|
|
|
|
|
|
|
has ResponseContentType => (is => 'ro', isa => 'Str', query_name => 'response-content-type', traits => ['ParamInQuery']); |
18
|
|
|
|
|
|
|
has ResponseExpires => (is => 'ro', isa => 'Str', query_name => 'response-expires', traits => ['ParamInQuery']); |
19
|
|
|
|
|
|
|
has SSECustomerAlgorithm => (is => 'ro', isa => 'Str', header_name => 'x-amz-server-side-encryption-customer-algorithm', traits => ['ParamInHeader']); |
20
|
|
|
|
|
|
|
has SSECustomerKey => (is => 'ro', isa => 'Str', header_name => 'x-amz-server-side-encryption-customer-key', traits => ['ParamInHeader']); |
21
|
|
|
|
|
|
|
has SSECustomerKeyMD5 => (is => 'ro', isa => 'Str', header_name => 'x-amz-server-side-encryption-customer-key-MD5', traits => ['ParamInHeader']); |
22
|
|
|
|
|
|
|
has VersionId => (is => 'ro', isa => 'Str', query_name => 'versionId', traits => ['ParamInQuery']); |
23
|
|
|
|
|
|
|
|
24
|
1
|
|
|
1
|
|
6111
|
use MooseX::ClassAttribute; |
|
1
|
|
|
2
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
11315
|
|
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
13
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetObject'); |
27
|
|
|
|
|
|
|
class_has _api_uri => (isa => 'Str', is => 'ro', default => '/{Bucket}/{Key+}'); |
28
|
|
|
|
|
|
|
class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET'); |
29
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::S3::GetObjectOutput'); |
30
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro'); |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1; |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
### main pod documentation begin ### |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 NAME |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
Paws::S3::GetObject - Arguments for method GetObject on Paws::S3 |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 DESCRIPTION |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
This class represents the parameters used for calling the method GetObject on the |
43
|
|
|
|
|
|
|
Amazon Simple Storage Service service. Use the attributes of this class |
44
|
|
|
|
|
|
|
as arguments to method GetObject. |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetObject. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
As an example: |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
$service_obj->GetObject(Att1 => $value1, Att2 => $value2, ...); |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head2 B<REQUIRED> Bucket => Str |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head2 IfMatch => Str |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
Return the object only if its entity tag (ETag) is the same as the one |
66
|
|
|
|
|
|
|
specified, otherwise return a 412 (precondition failed). |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=head2 IfModifiedSince => Str |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
Return the object only if it has been modified since the specified |
73
|
|
|
|
|
|
|
time, otherwise return a 304 (not modified). |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head2 IfNoneMatch => Str |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
Return the object only if its entity tag (ETag) is different from the |
80
|
|
|
|
|
|
|
one specified, otherwise return a 304 (not modified). |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=head2 IfUnmodifiedSince => Str |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
Return the object only if it has not been modified since the specified |
87
|
|
|
|
|
|
|
time, otherwise return a 412 (precondition failed). |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=head2 B<REQUIRED> Key => Str |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=head2 PartNumber => Int |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
Part number of the object being read. This is a positive integer |
100
|
|
|
|
|
|
|
between 1 and 10,000. Effectively performs a 'ranged' GET request for |
101
|
|
|
|
|
|
|
the part specified. Useful for downloading just a part of an object. |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=head2 Range => Str |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
Downloads the specified range bytes of an object. For more information |
108
|
|
|
|
|
|
|
about the HTTP Range header, go to |
109
|
|
|
|
|
|
|
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35. |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=head2 RequestPayer => Str |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
Valid values are: C<"requester"> |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
=head2 ResponseCacheControl => Str |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
Sets the Cache-Control header of the response. |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
=head2 ResponseContentDisposition => Str |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
Sets the Content-Disposition header of the response |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
=head2 ResponseContentEncoding => Str |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
Sets the Content-Encoding header of the response. |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
=head2 ResponseContentLanguage => Str |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
Sets the Content-Language header of the response. |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
=head2 ResponseContentType => Str |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
Sets the Content-Type header of the response. |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
=head2 ResponseExpires => Str |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
Sets the Expires header of the response. |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
=head2 SSECustomerAlgorithm => Str |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
Specifies the algorithm to use to when encrypting the object (e.g., |
158
|
|
|
|
|
|
|
AES256). |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
=head2 SSECustomerKey => Str |
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
Specifies the customer-provided encryption key for Amazon S3 to use in |
165
|
|
|
|
|
|
|
encrypting data. This value is used to store the object and then it is |
166
|
|
|
|
|
|
|
discarded; Amazon does not store the encryption key. The key must be |
167
|
|
|
|
|
|
|
appropriate for use with the algorithm specified in the |
168
|
|
|
|
|
|
|
x-amz-server-side-encryption-customer-algorithm header. |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
=head2 SSECustomerKeyMD5 => Str |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
Specifies the 128-bit MD5 digest of the encryption key according to RFC |
175
|
|
|
|
|
|
|
1321. Amazon S3 uses this header for a message integrity check to |
176
|
|
|
|
|
|
|
ensure the encryption key was transmitted without error. |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
=head2 VersionId => Str |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
VersionId used to reference a specific version of the object. |
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
=head1 SEE ALSO |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method GetObject in L<Paws::S3> |
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
194
|
|
|
|
|
|
|
|
195
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
196
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
=cut |
198
|
|
|
|
|
|
|
|