line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::Glacier::GetJobOutputOutput; |
3
|
1
|
|
|
1
|
|
652
|
use Moose; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
9
|
|
4
|
|
|
|
|
|
|
has AcceptRanges => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'acceptRanges'); |
5
|
|
|
|
|
|
|
has ArchiveDescription => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'archiveDescription'); |
6
|
|
|
|
|
|
|
has Body => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'body'); |
7
|
|
|
|
|
|
|
has Checksum => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'checksum'); |
8
|
|
|
|
|
|
|
has ContentRange => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'contentRange'); |
9
|
|
|
|
|
|
|
has ContentType => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'contentType'); |
10
|
|
|
|
|
|
|
has Status => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'status'); |
11
|
1
|
|
|
1
|
|
7168
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
13
|
|
12
|
|
|
|
|
|
|
class_has _stream_param => (is => 'ro', default => 'Body'); |
13
|
|
|
|
|
|
|
has _request_id => (is => 'ro', isa => 'Str'); |
14
|
|
|
|
|
|
|
1; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
### main pod documentation begin ### |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 NAME |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
Paws::Glacier::GetJobOutputOutput |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head2 AcceptRanges => Str |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
Indicates the range units accepted. For more information, see RFC2616. |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head2 ArchiveDescription => Str |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
The description of an archive. |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head2 Body => Str |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
The job data, either archive data or inventory data. |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head2 Checksum => Str |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
The checksum of the data in the response. This header is returned only |
43
|
|
|
|
|
|
|
when retrieving the output for an archive retrieval job. Furthermore, |
44
|
|
|
|
|
|
|
this header appears only under the following conditions: |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=over |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=item * |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
You get the entire range of the archive. |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=item * |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
You request a range to return of the archive that starts and ends on a |
55
|
|
|
|
|
|
|
multiple of 1 MB. For example, if you have an 3.1 MB archive and you |
56
|
|
|
|
|
|
|
specify a range to return that starts at 1 MB and ends at 2 MB, then |
57
|
|
|
|
|
|
|
the x-amz-sha256-tree-hash is returned as a response header. |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=item * |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
You request a range of the archive to return that starts on a multiple |
62
|
|
|
|
|
|
|
of 1 MB and goes to the end of the archive. For example, if you have a |
63
|
|
|
|
|
|
|
3.1 MB archive and you specify a range that starts at 2 MB and ends at |
64
|
|
|
|
|
|
|
3.1 MB (the end of the archive), then the x-amz-sha256-tree-hash is |
65
|
|
|
|
|
|
|
returned as a response header. |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=back |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head2 ContentRange => Str |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
The range of bytes returned by Amazon Glacier. If only partial output |
74
|
|
|
|
|
|
|
is downloaded, the response provides the range of bytes Amazon Glacier |
75
|
|
|
|
|
|
|
returned. For example, bytes 0-1048575/8388608 returns the first 1 MB |
76
|
|
|
|
|
|
|
from 8 MB. |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=head2 ContentType => Str |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
The Content-Type depends on whether the job output is an archive or a |
82
|
|
|
|
|
|
|
vault inventory. For archive data, the Content-Type is |
83
|
|
|
|
|
|
|
application/octet-stream. For vault inventory, if you requested CSV |
84
|
|
|
|
|
|
|
format when you initiated the job, the Content-Type is text/csv. |
85
|
|
|
|
|
|
|
Otherwise, by default, vault inventory is returned as JSON, and the |
86
|
|
|
|
|
|
|
Content-Type is application/json. |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
=head2 Status => Int |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
The HTTP response code for a job output request. The value depends on |
92
|
|
|
|
|
|
|
whether a range was specified in the request. |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=head2 _request_id => Str |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=cut |
99
|
|
|
|
|
|
|
|