line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::Amazon::EC2::BundleInstanceResponse; |
2
|
2
|
|
|
2
|
|
1498
|
use Moose; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
16
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
=head1 NAME |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
Net::Amazon::EC2::BundleInstanceResponse |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=head1 DESCRIPTION |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
A class representing a bundled instance |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=over |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=item instance_id (required) |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
Instance associated with this bundle task. |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=item bundle_id (required) |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
Identifier for this task. |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=item state (required) |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
The state of this bundling task. |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=item start_time (required) |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
The time the bundle task started |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=item update_time (required) |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
The time of the most recent update for the bundle. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=item progress (required) |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
A percentage description of the progress of the task, such as 94%. |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=item s3_bucket (required) |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
The bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone else, Amazon EC2 returns an error. |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=item s3_prefix (required) |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Specifies the beginning of the file name of the AMI. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=item s3_aws_access_key_id (required) |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
The Access Key ID of the owner of the Amazon S3 bucket. |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=item s3_upload_policy (required) |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on the user's behalf. |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=item s3_policy_upload_signature (required) |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
The signature of the Base64 encoded JSON document. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=item bundle_error_code (optional) |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
Error code for bundle failure. |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=item bundle_error_message (optional) |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
Error message associated with bundle failure. |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=back |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=cut |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
has 'instance_id' => ( is => 'ro', isa => 'Str', required => 1 ); |
73
|
|
|
|
|
|
|
has 'bundle_id' => ( is => 'ro', isa => 'Str', required => 1 ); |
74
|
|
|
|
|
|
|
has 'state' => ( is => 'ro', isa => 'Str', required => 1 ); |
75
|
|
|
|
|
|
|
has 'start_time' => ( is => 'ro', isa => 'Str', required => 1 ); |
76
|
|
|
|
|
|
|
has 'update_time' => ( is => 'ro', isa => 'Str', required => 1 ); |
77
|
|
|
|
|
|
|
has 'progress' => ( is => 'ro', isa => 'Str', required => 1 ); |
78
|
|
|
|
|
|
|
has 's3_bucket' => ( is => 'ro', isa => 'Str', required => 1 ); |
79
|
|
|
|
|
|
|
has 's3_prefix' => ( is => 'ro', isa => 'Str', required => 1 ); |
80
|
|
|
|
|
|
|
has 's3_aws_access_key_id' => ( is => 'ro', isa => 'Str', required => 1 ); |
81
|
|
|
|
|
|
|
has 's3_upload_policy' => ( is => 'ro', isa => 'Str', required => 1 ); |
82
|
|
|
|
|
|
|
has 's3_policy_upload_signature' => ( is => 'ro', isa => 'Str', required => 1 ); |
83
|
|
|
|
|
|
|
has 'bundle_error_code' => ( is => 'ro', isa => 'Maybe[Str]', required => 0 ); |
84
|
|
|
|
|
|
|
has 'bundle_error_message' => ( is => 'ro', isa => 'Maybe[Str]', required => 0 ); |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable(); |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=head1 AUTHOR |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
Jeff Kim <cpan@chosec.com> |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=head1 COPYRIGHT |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
Copyright (c) 2006-2010 Jeff Kim. This program is free software; you can redistribute it and/or modify it |
95
|
|
|
|
|
|
|
under the same terms as Perl itself. |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=cut |
98
|
|
|
|
|
|
|
|
99
|
2
|
|
|
2
|
|
13527
|
no Moose; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
11
|
|
100
|
|
|
|
|
|
|
1; |