File Coverage

blib/lib/Paws/EC2/ScheduledInstance.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::ScheduledInstance;
2 1     1   293 use Moose;
  1         2  
  1         5  
3             has AvailabilityZone => (is => 'ro', isa => 'Str', request_name => 'availabilityZone', traits => ['NameInRequest']);
4             has CreateDate => (is => 'ro', isa => 'Str', request_name => 'createDate', traits => ['NameInRequest']);
5             has HourlyPrice => (is => 'ro', isa => 'Str', request_name => 'hourlyPrice', traits => ['NameInRequest']);
6             has InstanceCount => (is => 'ro', isa => 'Int', request_name => 'instanceCount', traits => ['NameInRequest']);
7             has InstanceType => (is => 'ro', isa => 'Str', request_name => 'instanceType', traits => ['NameInRequest']);
8             has NetworkPlatform => (is => 'ro', isa => 'Str', request_name => 'networkPlatform', traits => ['NameInRequest']);
9             has NextSlotStartTime => (is => 'ro', isa => 'Str', request_name => 'nextSlotStartTime', traits => ['NameInRequest']);
10             has Platform => (is => 'ro', isa => 'Str', request_name => 'platform', traits => ['NameInRequest']);
11             has PreviousSlotEndTime => (is => 'ro', isa => 'Str', request_name => 'previousSlotEndTime', traits => ['NameInRequest']);
12             has Recurrence => (is => 'ro', isa => 'Paws::EC2::ScheduledInstanceRecurrence', request_name => 'recurrence', traits => ['NameInRequest']);
13             has ScheduledInstanceId => (is => 'ro', isa => 'Str', request_name => 'scheduledInstanceId', traits => ['NameInRequest']);
14             has SlotDurationInHours => (is => 'ro', isa => 'Int', request_name => 'slotDurationInHours', traits => ['NameInRequest']);
15             has TermEndDate => (is => 'ro', isa => 'Str', request_name => 'termEndDate', traits => ['NameInRequest']);
16             has TermStartDate => (is => 'ro', isa => 'Str', request_name => 'termStartDate', traits => ['NameInRequest']);
17             has TotalScheduledInstanceHours => (is => 'ro', isa => 'Int', request_name => 'totalScheduledInstanceHours', traits => ['NameInRequest']);
18             1;
19              
20             ### main pod documentation begin ###
21              
22             =head1 NAME
23              
24             Paws::EC2::ScheduledInstance
25              
26             =head1 USAGE
27              
28             This class represents one of two things:
29              
30             =head3 Arguments in a call to a service
31              
32             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
33             Each attribute should be used as a named argument in the calls that expect this type of object.
34              
35             As an example, if Att1 is expected to be a Paws::EC2::ScheduledInstance object:
36              
37             $service_obj->Method(Att1 => { AvailabilityZone => $value, ..., TotalScheduledInstanceHours => $value });
38              
39             =head3 Results returned from an API call
40              
41             Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::ScheduledInstance object:
42              
43             $result = $service_obj->Method(...);
44             $result->Att1->AvailabilityZone
45              
46             =head1 DESCRIPTION
47              
48             This class has no description
49              
50             =head1 ATTRIBUTES
51              
52              
53             =head2 AvailabilityZone => Str
54              
55             The Availability Zone.
56              
57              
58             =head2 CreateDate => Str
59              
60             The date when the Scheduled Instance was purchased.
61              
62              
63             =head2 HourlyPrice => Str
64              
65             The hourly price for a single instance.
66              
67              
68             =head2 InstanceCount => Int
69              
70             The number of instances.
71              
72              
73             =head2 InstanceType => Str
74              
75             The instance type.
76              
77              
78             =head2 NetworkPlatform => Str
79              
80             The network platform (C<EC2-Classic> or C<EC2-VPC>).
81              
82              
83             =head2 NextSlotStartTime => Str
84              
85             The time for the next schedule to start.
86              
87              
88             =head2 Platform => Str
89              
90             The platform (C<Linux/UNIX> or C<Windows>).
91              
92              
93             =head2 PreviousSlotEndTime => Str
94              
95             The time that the previous schedule ended or will end.
96              
97              
98             =head2 Recurrence => L<Paws::EC2::ScheduledInstanceRecurrence>
99              
100             The schedule recurrence.
101              
102              
103             =head2 ScheduledInstanceId => Str
104              
105             The Scheduled Instance ID.
106              
107              
108             =head2 SlotDurationInHours => Int
109              
110             The number of hours in the schedule.
111              
112              
113             =head2 TermEndDate => Str
114              
115             The end date for the Scheduled Instance.
116              
117              
118             =head2 TermStartDate => Str
119              
120             The start date for the Scheduled Instance.
121              
122              
123             =head2 TotalScheduledInstanceHours => Int
124              
125             The total number of hours for a single instance for the entire term.
126              
127              
128              
129             =head1 SEE ALSO
130              
131             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
132              
133             =head1 BUGS and CONTRIBUTIONS
134              
135             The source code is located here: https://github.com/pplu/aws-sdk-perl
136              
137             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
138              
139             =cut