File Coverage

blib/lib/Paws/EC2/SpotInstanceRequest.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Paws::EC2::SpotInstanceRequest;
2 1     1   403 use Moose;
  1     1   2  
  1         7  
  1         934  
  1         6  
  1         11  
3             has ActualBlockHourlyPrice => (is => 'ro', isa => 'Str', request_name => 'actualBlockHourlyPrice', traits => ['NameInRequest']);
4             has AvailabilityZoneGroup => (is => 'ro', isa => 'Str', request_name => 'availabilityZoneGroup', traits => ['NameInRequest']);
5             has BlockDurationMinutes => (is => 'ro', isa => 'Int', request_name => 'blockDurationMinutes', traits => ['NameInRequest']);
6             has CreateTime => (is => 'ro', isa => 'Str', request_name => 'createTime', traits => ['NameInRequest']);
7             has Fault => (is => 'ro', isa => 'Paws::EC2::SpotInstanceStateFault', request_name => 'fault', traits => ['NameInRequest']);
8             has InstanceId => (is => 'ro', isa => 'Str', request_name => 'instanceId', traits => ['NameInRequest']);
9             has LaunchedAvailabilityZone => (is => 'ro', isa => 'Str', request_name => 'launchedAvailabilityZone', traits => ['NameInRequest']);
10             has LaunchGroup => (is => 'ro', isa => 'Str', request_name => 'launchGroup', traits => ['NameInRequest']);
11             has LaunchSpecification => (is => 'ro', isa => 'Paws::EC2::LaunchSpecification', request_name => 'launchSpecification', traits => ['NameInRequest']);
12             has ProductDescription => (is => 'ro', isa => 'Str', request_name => 'productDescription', traits => ['NameInRequest']);
13             has SpotInstanceRequestId => (is => 'ro', isa => 'Str', request_name => 'spotInstanceRequestId', traits => ['NameInRequest']);
14             has SpotPrice => (is => 'ro', isa => 'Str', request_name => 'spotPrice', traits => ['NameInRequest']);
15             has State => (is => 'ro', isa => 'Str', request_name => 'state', traits => ['NameInRequest']);
16             has Status => (is => 'ro', isa => 'Paws::EC2::SpotInstanceStatus', request_name => 'status', traits => ['NameInRequest']);
17             has Tags => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Tag]', request_name => 'tagSet', traits => ['NameInRequest']);
18             has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest']);
19             has ValidFrom => (is => 'ro', isa => 'Str', request_name => 'validFrom', traits => ['NameInRequest']);
20             has ValidUntil => (is => 'ro', isa => 'Str', request_name => 'validUntil', traits => ['NameInRequest']);
21             1;
22              
23             ### main pod documentation begin ###
24              
25             =head1 NAME
26              
27             Paws::EC2::SpotInstanceRequest
28              
29             =head1 USAGE
30              
31             This class represents one of two things:
32              
33             =head3 Arguments in a call to a service
34              
35             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
36             Each attribute should be used as a named argument in the calls that expect this type of object.
37              
38             As an example, if Att1 is expected to be a Paws::EC2::SpotInstanceRequest object:
39              
40             $service_obj->Method(Att1 => { ActualBlockHourlyPrice => $value, ..., ValidUntil => $value });
41              
42             =head3 Results returned from an API call
43              
44             Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::SpotInstanceRequest object:
45              
46             $result = $service_obj->Method(...);
47             $result->Att1->ActualBlockHourlyPrice
48              
49             =head1 DESCRIPTION
50              
51             This class has no description
52              
53             =head1 ATTRIBUTES
54              
55              
56             =head2 ActualBlockHourlyPrice => Str
57              
58             If you specified a duration and your Spot instance request was
59             fulfilled, this is the fixed hourly price in effect for the Spot
60             instance while it runs.
61              
62              
63             =head2 AvailabilityZoneGroup => Str
64              
65             The Availability Zone group. If you specify the same Availability Zone
66             group for all Spot instance requests, all Spot instances are launched
67             in the same Availability Zone.
68              
69              
70             =head2 BlockDurationMinutes => Int
71              
72             The duration for the Spot instance, in minutes.
73              
74              
75             =head2 CreateTime => Str
76              
77             The date and time when the Spot instance request was created, in UTC
78             format (for example, I<YYYY>-I<MM>-I<DD>TI<HH>:I<MM>:I<SS>Z).
79              
80              
81             =head2 Fault => L<Paws::EC2::SpotInstanceStateFault>
82              
83             The fault codes for the Spot instance request, if any.
84              
85              
86             =head2 InstanceId => Str
87              
88             The instance ID, if an instance has been launched to fulfill the Spot
89             instance request.
90              
91              
92             =head2 LaunchedAvailabilityZone => Str
93              
94             The Availability Zone in which the bid is launched.
95              
96              
97             =head2 LaunchGroup => Str
98              
99             The instance launch group. Launch groups are Spot instances that launch
100             together and terminate together.
101              
102              
103             =head2 LaunchSpecification => L<Paws::EC2::LaunchSpecification>
104              
105             Additional information for launching instances.
106              
107              
108             =head2 ProductDescription => Str
109              
110             The product description associated with the Spot instance.
111              
112              
113             =head2 SpotInstanceRequestId => Str
114              
115             The ID of the Spot instance request.
116              
117              
118             =head2 SpotPrice => Str
119              
120             The maximum hourly price (bid) for the Spot instance launched to
121             fulfill the request.
122              
123              
124             =head2 State => Str
125              
126             The state of the Spot instance request. Spot bid status information can
127             help you track your Spot instance requests. For more information, see
128             Spot Bid Status in the I<Amazon Elastic Compute Cloud User Guide>.
129              
130              
131             =head2 Status => L<Paws::EC2::SpotInstanceStatus>
132              
133             The status code and status message describing the Spot instance
134             request.
135              
136              
137             =head2 Tags => ArrayRef[L<Paws::EC2::Tag>]
138              
139             Any tags assigned to the resource.
140              
141              
142             =head2 Type => Str
143              
144             The Spot instance request type.
145              
146              
147             =head2 ValidFrom => Str
148              
149             The start date of the request, in UTC format (for example,
150             I<YYYY>-I<MM>-I<DD>TI<HH>:I<MM>:I<SS>Z). The request becomes active at
151             this date and time.
152              
153              
154             =head2 ValidUntil => Str
155              
156             The end date of the request, in UTC format (for example,
157             I<YYYY>-I<MM>-I<DD>TI<HH>:I<MM>:I<SS>Z). If this is a one-time request,
158             it remains active until all instances launch, the request is canceled,
159             or this date is reached. If the request is persistent, it remains
160             active until it is canceled or this date is reached.
161              
162              
163              
164             =head1 SEE ALSO
165              
166             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
167              
168             =head1 BUGS and CONTRIBUTIONS
169              
170             The source code is located here: https://github.com/pplu/aws-sdk-perl
171              
172             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
173              
174             =cut