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