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

filter: Statementstmt 0.0% 0 / 5 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 6 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 package Paws::EC2::CapacityReservationSpecification;
2 use Moose;
3 has CapacityReservationPreference => (is => 'ro', isa => 'Str');
4 has CapacityReservationTarget => (is => 'ro', isa => 'Paws::EC2::CapacityReservationTarget');
5 1;
6  
7 ### main pod documentation begin ###
8  
9 =head1 NAME
10  
11 Paws::EC2::CapacityReservationSpecification
12  
13 =head1 USAGE
14  
15 This class represents one of two things:
16  
17 =head3 Arguments in a call to a service
18  
19 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
20 Each attribute should be used as a named argument in the calls that expect this type of object.
21  
22 As an example, if Att1 is expected to be a Paws::EC2::CapacityReservationSpecification object:
23  
24 $service_obj->Method(Att1 => { CapacityReservationPreference => $value, ..., CapacityReservationTarget => $value });
25  
26 =head3 Results returned from an API call
27  
28 Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::CapacityReservationSpecification object:
29  
30 $result = $service_obj->Method(...);
31 $result->Att1->CapacityReservationPreference
32  
33 =head1 DESCRIPTION
34  
35 This class has no description
36  
37 =head1 ATTRIBUTES
38  
39  
40 =head2 CapacityReservationPreference => Str
41  
42 Indicates the instance's Capacity Reservation preferences. Possible
43 preferences include:
44  
45 =over
46  
47 =item *
48  
49 C<open> - The instance can run in any C<open> Capacity Reservation that
50 has matching attributes (instance type, platform, Availability Zone).
51  
52 =item *
53  
54 C<none> - The instance avoids running in a Capacity Reservation even if
55 one is available. The instance runs as an On-Demand Instance.
56  
57 =back
58  
59  
60  
61 =head2 CapacityReservationTarget => L<Paws::EC2::CapacityReservationTarget>
62  
63 Information about the target Capacity Reservation or Capacity
64 Reservation group.
65  
66  
67  
68 =head1 SEE ALSO
69  
70 This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
71  
72 =head1 BUGS and CONTRIBUTIONS
73  
74 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
75  
76 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
77  
78 =cut