blib/lib/Paws/EC2/GetCapacityReservationUsageResult.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::EC2::GetCapacityReservationUsageResult;
3 use Moose;
4 has AvailableInstanceCount => (is => 'ro', isa => 'Int', request_name => 'availableInstanceCount', traits => ['NameInRequest',]);
5 has CapacityReservationId => (is => 'ro', isa => 'Str', request_name => 'capacityReservationId', traits => ['NameInRequest',]);
6 has InstanceType => (is => 'ro', isa => 'Str', request_name => 'instanceType', traits => ['NameInRequest',]);
7 has InstanceUsages => (is => 'ro', isa => 'ArrayRef[Paws::EC2::InstanceUsage]', request_name => 'instanceUsageSet', traits => ['NameInRequest',]);
8 has NextToken => (is => 'ro', isa => 'Str', request_name => 'nextToken', traits => ['NameInRequest',]);
9 has State => (is => 'ro', isa => 'Str', request_name => 'state', traits => ['NameInRequest',]);
10 has TotalInstanceCount => (is => 'ro', isa => 'Int', request_name => 'totalInstanceCount', traits => ['NameInRequest',]);
11  
12 has _request_id => (is => 'ro', isa => 'Str');
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::EC2::GetCapacityReservationUsageResult
20  
21 =head1 ATTRIBUTES
22  
23  
24 =head2 AvailableInstanceCount => Int
25  
26 The remaining capacity. Indicates the number of instances that can be
27 launched in the Capacity Reservation.
28  
29  
30 =head2 CapacityReservationId => Str
31  
32 The ID of the Capacity Reservation.
33  
34  
35 =head2 InstanceType => Str
36  
37 The type of instance for which the Capacity Reservation reserves
38 capacity.
39  
40  
41 =head2 InstanceUsages => ArrayRef[L<Paws::EC2::InstanceUsage>]
42  
43 Information about the Capacity Reservation usage.
44  
45  
46 =head2 NextToken => Str
47  
48 The token to use to retrieve the next page of results. This value is
49 C<null> when there are no more results to return.
50  
51  
52 =head2 State => Str
53  
54 The current state of the Capacity Reservation. A Capacity Reservation
55 can be in one of the following states:
56  
57 =over
58  
59 =item *
60  
61 C<active> - The Capacity Reservation is active and the capacity is
62 available for your use.
63  
64 =item *
65  
66 C<expired> - The Capacity Reservation expired automatically at the date
67 and time specified in your request. The reserved capacity is no longer
68 available for your use.
69  
70 =item *
71  
72 C<cancelled> - The Capacity Reservation was cancelled. The reserved
73 capacity is no longer available for your use.
74  
75 =item *
76  
77 C<pending> - The Capacity Reservation request was successful but the
78 capacity provisioning is still pending.
79  
80 =item *
81  
82 C<failed> - The Capacity Reservation request has failed. A request
83 might fail due to invalid request parameters, capacity constraints, or
84 instance limit constraints. Failed requests are retained for 60
85 minutes.
86  
87 =back
88  
89  
90 Valid values are: C<"active">, C<"expired">, C<"cancelled">, C<"pending">, C<"failed">
91 =head2 TotalInstanceCount => Int
92  
93 The number of instances for which the Capacity Reservation reserves
94 capacity.
95  
96  
97 =head2 _request_id => Str
98  
99  
100 =cut
101