File Coverage

blib/lib/Paws/EC2/ScheduledInstanceAvailability.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::EC2::ScheduledInstanceAvailability;
2 1     1   296 use Moose;
  1         3  
  1         6  
3             has AvailabilityZone => (is => 'ro', isa => 'Str', request_name => 'availabilityZone', traits => ['NameInRequest']);
4             has AvailableInstanceCount => (is => 'ro', isa => 'Int', request_name => 'availableInstanceCount', traits => ['NameInRequest']);
5             has FirstSlotStartTime => (is => 'ro', isa => 'Str', request_name => 'firstSlotStartTime', traits => ['NameInRequest']);
6             has HourlyPrice => (is => 'ro', isa => 'Str', request_name => 'hourlyPrice', traits => ['NameInRequest']);
7             has InstanceType => (is => 'ro', isa => 'Str', request_name => 'instanceType', traits => ['NameInRequest']);
8             has MaxTermDurationInDays => (is => 'ro', isa => 'Int', request_name => 'maxTermDurationInDays', traits => ['NameInRequest']);
9             has MinTermDurationInDays => (is => 'ro', isa => 'Int', request_name => 'minTermDurationInDays', traits => ['NameInRequest']);
10             has NetworkPlatform => (is => 'ro', isa => 'Str', request_name => 'networkPlatform', traits => ['NameInRequest']);
11             has Platform => (is => 'ro', isa => 'Str', request_name => 'platform', traits => ['NameInRequest']);
12             has PurchaseToken => (is => 'ro', isa => 'Str', request_name => 'purchaseToken', traits => ['NameInRequest']);
13             has Recurrence => (is => 'ro', isa => 'Paws::EC2::ScheduledInstanceRecurrence', request_name => 'recurrence', traits => ['NameInRequest']);
14             has SlotDurationInHours => (is => 'ro', isa => 'Int', request_name => 'slotDurationInHours', traits => ['NameInRequest']);
15             has TotalScheduledInstanceHours => (is => 'ro', isa => 'Int', request_name => 'totalScheduledInstanceHours', traits => ['NameInRequest']);
16             1;
17              
18             ### main pod documentation begin ###
19              
20             =head1 NAME
21              
22             Paws::EC2::ScheduledInstanceAvailability
23              
24             =head1 USAGE
25              
26             This class represents one of two things:
27              
28             =head3 Arguments in a call to a service
29              
30             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
31             Each attribute should be used as a named argument in the calls that expect this type of object.
32              
33             As an example, if Att1 is expected to be a Paws::EC2::ScheduledInstanceAvailability object:
34              
35             $service_obj->Method(Att1 => { AvailabilityZone => $value, ..., TotalScheduledInstanceHours => $value });
36              
37             =head3 Results returned from an API call
38              
39             Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::ScheduledInstanceAvailability object:
40              
41             $result = $service_obj->Method(...);
42             $result->Att1->AvailabilityZone
43              
44             =head1 DESCRIPTION
45              
46             This class has no description
47              
48             =head1 ATTRIBUTES
49              
50              
51             =head2 AvailabilityZone => Str
52              
53             The Availability Zone.
54              
55              
56             =head2 AvailableInstanceCount => Int
57              
58             The number of available instances.
59              
60              
61             =head2 FirstSlotStartTime => Str
62              
63             The time period for the first schedule to start.
64              
65              
66             =head2 HourlyPrice => Str
67              
68             The hourly price for a single instance.
69              
70              
71             =head2 InstanceType => Str
72              
73             The instance type. You can specify one of the C3, C4, M4, or R3
74             instance types.
75              
76              
77             =head2 MaxTermDurationInDays => Int
78              
79             The maximum term. The only possible value is 365 days.
80              
81              
82             =head2 MinTermDurationInDays => Int
83              
84             The minimum term. The only possible value is 365 days.
85              
86              
87             =head2 NetworkPlatform => Str
88              
89             The network platform (C<EC2-Classic> or C<EC2-VPC>).
90              
91              
92             =head2 Platform => Str
93              
94             The platform (C<Linux/UNIX> or C<Windows>).
95              
96              
97             =head2 PurchaseToken => Str
98              
99             The purchase token. This token expires in two hours.
100              
101              
102             =head2 Recurrence => L<Paws::EC2::ScheduledInstanceRecurrence>
103              
104             The schedule recurrence.
105              
106              
107             =head2 SlotDurationInHours => Int
108              
109             The number of hours in the schedule.
110              
111              
112             =head2 TotalScheduledInstanceHours => Int
113              
114             The total number of hours for a single instance for the entire term.
115              
116              
117              
118             =head1 SEE ALSO
119              
120             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
121              
122             =head1 BUGS and CONTRIBUTIONS
123              
124             The source code is located here: https://github.com/pplu/aws-sdk-perl
125              
126             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
127              
128             =cut