line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::Glacier::UploadMultipartPart; |
3
|
1
|
|
|
1
|
|
568
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
4
|
|
|
|
|
|
|
has AccountId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'accountId' , required => 1); |
5
|
|
|
|
|
|
|
has Body => (is => 'ro', isa => 'Str'); |
6
|
|
|
|
|
|
|
has Checksum => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'checksum' ); |
7
|
|
|
|
|
|
|
has Range => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'range' ); |
8
|
|
|
|
|
|
|
has UploadId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'uploadId' , required => 1); |
9
|
|
|
|
|
|
|
has VaultName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'vaultName' , required => 1); |
10
|
|
|
|
|
|
|
|
11
|
1
|
|
|
1
|
|
6710
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
12
|
|
|
|
|
|
|
class_has _stream_param => (is => 'ro', default => 'Body'); |
13
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'UploadMultipartPart'); |
14
|
|
|
|
|
|
|
class_has _api_uri => (isa => 'Str', is => 'ro', default => '/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}'); |
15
|
|
|
|
|
|
|
class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); |
16
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Glacier::UploadMultipartPartOutput'); |
17
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro'); |
18
|
|
|
|
|
|
|
1; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
### main pod documentation begin ### |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 NAME |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Paws::Glacier::UploadMultipartPart - Arguments for method UploadMultipartPart on Paws::Glacier |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 DESCRIPTION |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
This class represents the parameters used for calling the method UploadMultipartPart on the |
29
|
|
|
|
|
|
|
Amazon Glacier service. Use the attributes of this class |
30
|
|
|
|
|
|
|
as arguments to method UploadMultipartPart. |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UploadMultipartPart. |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
As an example: |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
$service_obj->UploadMultipartPart(Att1 => $value1, Att2 => $value2, ...); |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
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. |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head2 B<REQUIRED> AccountId => Str |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
The C<AccountId> value is the AWS account ID of the account that owns |
46
|
|
|
|
|
|
|
the vault. You can either specify an AWS account ID or optionally a |
47
|
|
|
|
|
|
|
single 'C<->' (hyphen), in which case Amazon Glacier uses the AWS |
48
|
|
|
|
|
|
|
account ID associated with the credentials used to sign the request. If |
49
|
|
|
|
|
|
|
you use an account ID, do not include any hyphens ('-') in the ID. |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head2 Body => Str |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
The data to upload. |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head2 Checksum => Str |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
The SHA256 tree hash of the data being uploaded. |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=head2 Range => Str |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
Identifies the range of bytes in the assembled archive that will be |
68
|
|
|
|
|
|
|
uploaded in this part. Amazon Glacier uses this information to assemble |
69
|
|
|
|
|
|
|
the archive in the proper sequence. The format of this header follows |
70
|
|
|
|
|
|
|
RFC 2616. An example header is Content-Range:bytes 0-4194303/*. |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=head2 B<REQUIRED> UploadId => Str |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
The upload ID of the multipart upload. |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=head2 B<REQUIRED> VaultName => Str |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
The name of the vault. |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=head1 SEE ALSO |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method UploadMultipartPart in L<Paws::Glacier> |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=cut |
98
|
|
|
|
|
|
|
|