line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::S3::UploadPart; |
3
|
1
|
|
|
1
|
|
454
|
use Moose; |
|
1
|
|
|
1
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
|
1
|
|
|
|
|
543
|
|
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
9
|
|
4
|
|
|
|
|
|
|
has Body => (is => 'ro', isa => 'Str', traits => ['ParamInBody']); |
5
|
|
|
|
|
|
|
has Bucket => (is => 'ro', isa => 'Str', uri_name => 'Bucket', traits => ['ParamInURI'], required => 1); |
6
|
|
|
|
|
|
|
has ContentLength => (is => 'ro', isa => 'Int', header_name => 'Content-Length', traits => ['ParamInHeader']); |
7
|
|
|
|
|
|
|
has ContentMD5 => (is => 'ro', isa => 'Str', header_name => 'Content-MD5', auto => 'MD5', traits => ['AutoInHeader']); |
8
|
|
|
|
|
|
|
has Key => (is => 'ro', isa => 'Str', uri_name => 'Key', traits => ['ParamInURI'], required => 1); |
9
|
|
|
|
|
|
|
has PartNumber => (is => 'ro', isa => 'Int', query_name => 'partNumber', traits => ['ParamInQuery'], required => 1); |
10
|
|
|
|
|
|
|
has RequestPayer => (is => 'ro', isa => 'Str', header_name => 'x-amz-request-payer', traits => ['ParamInHeader']); |
11
|
|
|
|
|
|
|
has SSECustomerAlgorithm => (is => 'ro', isa => 'Str', header_name => 'x-amz-server-side-encryption-customer-algorithm', traits => ['ParamInHeader']); |
12
|
|
|
|
|
|
|
has SSECustomerKey => (is => 'ro', isa => 'Str', header_name => 'x-amz-server-side-encryption-customer-key', traits => ['ParamInHeader']); |
13
|
|
|
|
|
|
|
has SSECustomerKeyMD5 => (is => 'ro', isa => 'Str', header_name => 'x-amz-server-side-encryption-customer-key-MD5', traits => ['ParamInHeader']); |
14
|
|
|
|
|
|
|
has UploadId => (is => 'ro', isa => 'Str', query_name => 'uploadId', traits => ['ParamInQuery'], required => 1); |
15
|
|
|
|
|
|
|
|
16
|
1
|
|
|
1
|
|
6158
|
use MooseX::ClassAttribute; |
|
1
|
|
|
1
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
|
1
|
|
|
|
|
6808
|
|
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
10
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'UploadPart'); |
19
|
|
|
|
|
|
|
class_has _api_uri => (isa => 'Str', is => 'ro', default => '/{Bucket}/{Key+}'); |
20
|
|
|
|
|
|
|
class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); |
21
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::S3::UploadPartOutput'); |
22
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro'); |
23
|
|
|
|
|
|
|
class_has _stream_param => (is => 'ro', default => 'Body'); |
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
### main pod documentation begin ### |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 NAME |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
Paws::S3::UploadPart - Arguments for method UploadPart on Paws::S3 |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 DESCRIPTION |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
This class represents the parameters used for calling the method UploadPart on the |
35
|
|
|
|
|
|
|
Amazon Simple Storage Service service. Use the attributes of this class |
36
|
|
|
|
|
|
|
as arguments to method UploadPart. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UploadPart. |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
As an example: |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
$service_obj->UploadPart(Att1 => $value1, Att2 => $value2, ...); |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
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. |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head2 Body => Str |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
Object data. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head2 B<REQUIRED> Bucket => Str |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
Name of the bucket to which the multipart upload was initiated. |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head2 ContentLength => Int |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
Size of the body in bytes. This parameter is useful when the size of |
64
|
|
|
|
|
|
|
the body cannot be determined automatically. |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=head2 ContentMD5 => Str |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
The base64-encoded 128-bit MD5 digest of the part data. |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=head2 B<REQUIRED> Key => Str |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
Object key for which the multipart upload was initiated. |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=head2 B<REQUIRED> PartNumber => Int |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
Part number of part being uploaded. This is a positive integer between |
83
|
|
|
|
|
|
|
1 and 10,000. |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=head2 RequestPayer => Str |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
Valid values are: C<"requester"> |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=head2 SSECustomerAlgorithm => Str |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
Specifies the algorithm to use to when encrypting the object (e.g., |
96
|
|
|
|
|
|
|
AES256). |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=head2 SSECustomerKey => Str |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
Specifies the customer-provided encryption key for Amazon S3 to use in |
103
|
|
|
|
|
|
|
encrypting data. This value is used to store the object and then it is |
104
|
|
|
|
|
|
|
discarded; Amazon does not store the encryption key. The key must be |
105
|
|
|
|
|
|
|
appropriate for use with the algorithm specified in the |
106
|
|
|
|
|
|
|
x-amz-server-side-encryption-customer-algorithm header. This must be |
107
|
|
|
|
|
|
|
the same encryption key specified in the initiate multipart upload |
108
|
|
|
|
|
|
|
request. |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
=head2 SSECustomerKeyMD5 => Str |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
Specifies the 128-bit MD5 digest of the encryption key according to RFC |
115
|
|
|
|
|
|
|
1321. Amazon S3 uses this header for a message integrity check to |
116
|
|
|
|
|
|
|
ensure the encryption key was transmitted without error. |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
=head2 B<REQUIRED> UploadId => Str |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
Upload ID identifying the multipart upload whose part is being |
123
|
|
|
|
|
|
|
uploaded. |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
=head1 SEE ALSO |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method UploadPart in L<Paws::S3> |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
=cut |
139
|
|
|
|
|
|
|
|