| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::S3::UploadPartCopy; |
|
3
|
1
|
|
|
1
|
|
616
|
use Moose; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
|
|
has Bucket => (is => 'ro', isa => 'Str', uri_name => 'Bucket', traits => ['ParamInURI'], required => 1); |
|
5
|
|
|
|
|
|
|
has CopySource => (is => 'ro', isa => 'Str', header_name => 'x-amz-copy-source', traits => ['ParamInHeader'], required => 1); |
|
6
|
|
|
|
|
|
|
has CopySourceIfMatch => (is => 'ro', isa => 'Str', header_name => 'x-amz-copy-source-if-match', traits => ['ParamInHeader']); |
|
7
|
|
|
|
|
|
|
has CopySourceIfModifiedSince => (is => 'ro', isa => 'Str', header_name => 'x-amz-copy-source-if-modified-since', traits => ['ParamInHeader']); |
|
8
|
|
|
|
|
|
|
has CopySourceIfNoneMatch => (is => 'ro', isa => 'Str', header_name => 'x-amz-copy-source-if-none-match', traits => ['ParamInHeader']); |
|
9
|
|
|
|
|
|
|
has CopySourceIfUnmodifiedSince => (is => 'ro', isa => 'Str', header_name => 'x-amz-copy-source-if-unmodified-since', traits => ['ParamInHeader']); |
|
10
|
|
|
|
|
|
|
has CopySourceRange => (is => 'ro', isa => 'Str', header_name => 'x-amz-copy-source-range', traits => ['ParamInHeader']); |
|
11
|
|
|
|
|
|
|
has CopySourceSSECustomerAlgorithm => (is => 'ro', isa => 'Str', header_name => 'x-amz-copy-source-server-side-encryption-customer-algorithm', traits => ['ParamInHeader']); |
|
12
|
|
|
|
|
|
|
has CopySourceSSECustomerKey => (is => 'ro', isa => 'Str', header_name => 'x-amz-copy-source-server-side-encryption-customer-key', traits => ['ParamInHeader']); |
|
13
|
|
|
|
|
|
|
has CopySourceSSECustomerKeyMD5 => (is => 'ro', isa => 'Str', header_name => 'x-amz-copy-source-server-side-encryption-customer-key-MD5', traits => ['ParamInHeader']); |
|
14
|
|
|
|
|
|
|
has Key => (is => 'ro', isa => 'Str', uri_name => 'Key', traits => ['ParamInURI'], required => 1); |
|
15
|
|
|
|
|
|
|
has PartNumber => (is => 'ro', isa => 'Int', query_name => 'partNumber', traits => ['ParamInQuery'], required => 1); |
|
16
|
|
|
|
|
|
|
has RequestPayer => (is => 'ro', isa => 'Str', header_name => 'x-amz-request-payer', traits => ['ParamInHeader']); |
|
17
|
|
|
|
|
|
|
has SSECustomerAlgorithm => (is => 'ro', isa => 'Str', header_name => 'x-amz-server-side-encryption-customer-algorithm', traits => ['ParamInHeader']); |
|
18
|
|
|
|
|
|
|
has SSECustomerKey => (is => 'ro', isa => 'Str', header_name => 'x-amz-server-side-encryption-customer-key', traits => ['ParamInHeader']); |
|
19
|
|
|
|
|
|
|
has SSECustomerKeyMD5 => (is => 'ro', isa => 'Str', header_name => 'x-amz-server-side-encryption-customer-key-MD5', traits => ['ParamInHeader']); |
|
20
|
|
|
|
|
|
|
has UploadId => (is => 'ro', isa => 'Str', query_name => 'uploadId', traits => ['ParamInQuery'], required => 1); |
|
21
|
|
|
|
|
|
|
|
|
22
|
1
|
|
|
1
|
|
10483
|
use MooseX::ClassAttribute; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
12
|
|
|
23
|
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'UploadPartCopy'); |
|
25
|
|
|
|
|
|
|
class_has _api_uri => (isa => 'Str', is => 'ro', default => '/{Bucket}/{Key+}'); |
|
26
|
|
|
|
|
|
|
class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); |
|
27
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::S3::UploadPartCopyOutput'); |
|
28
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro'); |
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
1; |
|
31
|
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
### main pod documentation begin ### |
|
33
|
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 NAME |
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Paws::S3::UploadPartCopy - Arguments for method UploadPartCopy on Paws::S3 |
|
37
|
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
This class represents the parameters used for calling the method UploadPartCopy on the |
|
41
|
|
|
|
|
|
|
Amazon Simple Storage Service service. Use the attributes of this class |
|
42
|
|
|
|
|
|
|
as arguments to method UploadPartCopy. |
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UploadPartCopy. |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
As an example: |
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
$service_obj->UploadPartCopy(Att1 => $value1, Att2 => $value2, ...); |
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
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. |
|
51
|
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
|
53
|
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head2 B<REQUIRED> Bucket => Str |
|
56
|
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head2 B<REQUIRED> CopySource => Str |
|
62
|
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
The name of the source bucket and key name of the source object, |
|
64
|
|
|
|
|
|
|
separated by a slash (/). Must be URL-encoded. |
|
65
|
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=head2 CopySourceIfMatch => Str |
|
69
|
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
Copies the object if its entity tag (ETag) matches the specified tag. |
|
71
|
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=head2 CopySourceIfModifiedSince => Str |
|
75
|
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
Copies the object if it has been modified since the specified time. |
|
77
|
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=head2 CopySourceIfNoneMatch => Str |
|
81
|
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
Copies the object if its entity tag (ETag) is different than the |
|
83
|
|
|
|
|
|
|
specified ETag. |
|
84
|
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=head2 CopySourceIfUnmodifiedSince => Str |
|
88
|
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
Copies the object if it hasn't been modified since the specified time. |
|
90
|
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=head2 CopySourceRange => Str |
|
94
|
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
The range of bytes to copy from the source object. The range value must |
|
96
|
|
|
|
|
|
|
use the form bytes=first-last, where the first and last are the |
|
97
|
|
|
|
|
|
|
zero-based byte offsets to copy. For example, bytes=0-9 indicates that |
|
98
|
|
|
|
|
|
|
you want to copy the first ten bytes of the source. You can copy a |
|
99
|
|
|
|
|
|
|
range only if the source object is greater than 5 GB. |
|
100
|
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=head2 CopySourceSSECustomerAlgorithm => Str |
|
104
|
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
Specifies the algorithm to use when decrypting the source object (e.g., |
|
106
|
|
|
|
|
|
|
AES256). |
|
107
|
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
=head2 CopySourceSSECustomerKey => Str |
|
111
|
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
Specifies the customer-provided encryption key for Amazon S3 to use to |
|
113
|
|
|
|
|
|
|
decrypt the source object. The encryption key provided in this header |
|
114
|
|
|
|
|
|
|
must be one that was used when the source object was created. |
|
115
|
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
=head2 CopySourceSSECustomerKeyMD5 => Str |
|
119
|
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
Specifies the 128-bit MD5 digest of the encryption key according to RFC |
|
121
|
|
|
|
|
|
|
1321. Amazon S3 uses this header for a message integrity check to |
|
122
|
|
|
|
|
|
|
ensure the encryption key was transmitted without error. |
|
123
|
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
=head2 B<REQUIRED> Key => Str |
|
127
|
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
=head2 B<REQUIRED> PartNumber => Int |
|
133
|
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
Part number of part being copied. This is a positive integer between 1 |
|
135
|
|
|
|
|
|
|
and 10,000. |
|
136
|
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
=head2 RequestPayer => Str |
|
140
|
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
Valid values are: C<"requester"> |
|
144
|
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
=head2 SSECustomerAlgorithm => Str |
|
146
|
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
Specifies the algorithm to use to when encrypting the object (e.g., |
|
148
|
|
|
|
|
|
|
AES256). |
|
149
|
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
=head2 SSECustomerKey => Str |
|
153
|
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
Specifies the customer-provided encryption key for Amazon S3 to use in |
|
155
|
|
|
|
|
|
|
encrypting data. This value is used to store the object and then it is |
|
156
|
|
|
|
|
|
|
discarded; Amazon does not store the encryption key. The key must be |
|
157
|
|
|
|
|
|
|
appropriate for use with the algorithm specified in the |
|
158
|
|
|
|
|
|
|
x-amz-server-side-encryption-customer-algorithm header. This must be |
|
159
|
|
|
|
|
|
|
the same encryption key specified in the initiate multipart upload |
|
160
|
|
|
|
|
|
|
request. |
|
161
|
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
=head2 SSECustomerKeyMD5 => Str |
|
165
|
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
Specifies the 128-bit MD5 digest of the encryption key according to RFC |
|
167
|
|
|
|
|
|
|
1321. Amazon S3 uses this header for a message integrity check to |
|
168
|
|
|
|
|
|
|
ensure the encryption key was transmitted without error. |
|
169
|
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
=head2 B<REQUIRED> UploadId => Str |
|
173
|
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
Upload ID identifying the multipart upload whose part is being copied. |
|
175
|
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
=head1 SEE ALSO |
|
180
|
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method UploadPartCopy in L<Paws::S3> |
|
182
|
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
|
184
|
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
|
186
|
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
|
188
|
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
=cut |
|
190
|
|
|
|
|
|
|
|