line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::Amazon::EC2::ReservedInstance; |
2
|
2
|
|
|
2
|
|
1051
|
use Moose; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
15
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
=head1 NAME |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
Net::Amazon::EC2::ReservedInstance |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=head1 DESCRIPTION |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
A class representing a reserved instance. |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=over |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=item reserved_instances_id (required) |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
The ID of the Reserved Instance. |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=item instance_type (required) |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
The instance type on which the Reserved Instance can be used. |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=item availability_zone (required) |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
The Availability Zone in which the Reserved Instance can be used. |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=item duration (required) |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
The duration of the Reserved Instance, in seconds. |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=item start (required) |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
The date and time the Reserved Instance started. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=item usage_price (required) |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
The usage price of the Reserved Instance, per hour. |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=item fixed_price (required) |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
The purchase price of the Reserved Instance. |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=item instance_count (required) |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
The number of Reserved Instances purchased. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=item product_description (required) |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
The Reserved Instance description. |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=item state (required) |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
The state of the Reserved Instance purchase. |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=back |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=cut |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
has 'reserved_instances_id' => ( is => 'ro', isa => 'Str', required => 1 ); |
61
|
|
|
|
|
|
|
has 'instance_type' => ( is => 'ro', isa => 'Str', required => 1 ); |
62
|
|
|
|
|
|
|
has 'availability_zone' => ( is => 'ro', isa => 'Str', required => 1 ); |
63
|
|
|
|
|
|
|
has 'duration' => ( is => 'ro', isa => 'Str', required => 1 ); |
64
|
|
|
|
|
|
|
has 'start' => ( is => 'ro', isa => 'Str', required => 1 ); |
65
|
|
|
|
|
|
|
has 'usage_price' => ( is => 'ro', isa => 'Str', required => 1 ); |
66
|
|
|
|
|
|
|
has 'fixed_price' => ( is => 'ro', isa => 'Str', required => 1 ); |
67
|
|
|
|
|
|
|
has 'instance_count' => ( is => 'ro', isa => 'Str', required => 1 ); |
68
|
|
|
|
|
|
|
has 'product_description' => ( is => 'ro', isa => 'Str', required => 1 ); |
69
|
|
|
|
|
|
|
has 'state' => ( is => 'ro', isa => 'Str', required => 1 ); |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable(); |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=head1 AUTHOR |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
Jeff Kim <cpan@chosec.com> |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head1 COPYRIGHT |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
Copyright (c) 2006-2010 Jeff Kim. This program is free software; you can redistribute it and/or modify it |
80
|
|
|
|
|
|
|
under the same terms as Perl itself. |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=cut |
83
|
|
|
|
|
|
|
|
84
|
2
|
|
|
2
|
|
9717
|
no Moose; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
10
|
|
85
|
|
|
|
|
|
|
1; |