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

filter: Statementstmt 0.0% 0 / 37 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 38 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 package Paws::EC2::Host;
2 use Moose;
3 has AllocationTime => (is => 'ro', isa => 'Str', request_name => 'allocationTime', traits => ['NameInRequest']);
4 has AllowsMultipleInstanceTypes => (is => 'ro', isa => 'Str', request_name => 'allowsMultipleInstanceTypes', traits => ['NameInRequest']);
5 has AutoPlacement => (is => 'ro', isa => 'Str', request_name => 'autoPlacement', traits => ['NameInRequest']);
6 has AvailabilityZone => (is => 'ro', isa => 'Str', request_name => 'availabilityZone', traits => ['NameInRequest']);
7 has AvailabilityZoneId => (is => 'ro', isa => 'Str', request_name => 'availabilityZoneId', traits => ['NameInRequest']);
8 has AvailableCapacity => (is => 'ro', isa => 'Paws::EC2::AvailableCapacity', request_name => 'availableCapacity', traits => ['NameInRequest']);
9 has ClientToken => (is => 'ro', isa => 'Str', request_name => 'clientToken', traits => ['NameInRequest']);
10 has HostId => (is => 'ro', isa => 'Str', request_name => 'hostId', traits => ['NameInRequest']);
11 has HostProperties => (is => 'ro', isa => 'Paws::EC2::HostProperties', request_name => 'hostProperties', traits => ['NameInRequest']);
12 has HostRecovery => (is => 'ro', isa => 'Str', request_name => 'hostRecovery', traits => ['NameInRequest']);
13 has HostReservationId => (is => 'ro', isa => 'Str', request_name => 'hostReservationId', traits => ['NameInRequest']);
14 has Instances => (is => 'ro', isa => 'ArrayRef[Paws::EC2::HostInstance]', request_name => 'instances', traits => ['NameInRequest']);
15 has MemberOfServiceLinkedResourceGroup => (is => 'ro', isa => 'Bool', request_name => 'memberOfServiceLinkedResourceGroup', traits => ['NameInRequest']);
16 has OwnerId => (is => 'ro', isa => 'Str', request_name => 'ownerId', traits => ['NameInRequest']);
17 has ReleaseTime => (is => 'ro', isa => 'Str', request_name => 'releaseTime', traits => ['NameInRequest']);
18 has State => (is => 'ro', isa => 'Str', request_name => 'state', traits => ['NameInRequest']);
19 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Tag]', request_name => 'tagSet', traits => ['NameInRequest']);
20 1;
21  
22 ### main pod documentation begin ###
23  
24 =head1 NAME
25  
26 Paws::EC2::Host
27  
28 =head1 USAGE
29  
30 This class represents one of two things:
31  
32 =head3 Arguments in a call to a service
33  
34 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
35 Each attribute should be used as a named argument in the calls that expect this type of object.
36  
37 As an example, if Att1 is expected to be a Paws::EC2::Host object:
38  
39 $service_obj->Method(Att1 => { AllocationTime => $value, ..., Tags => $value });
40  
41 =head3 Results returned from an API call
42  
43 Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::Host object:
44  
45 $result = $service_obj->Method(...);
46 $result->Att1->AllocationTime
47  
48 =head1 DESCRIPTION
49  
50 This class has no description
51  
52 =head1 ATTRIBUTES
53  
54  
55 =head2 AllocationTime => Str
56  
57 The time that the Dedicated Host was allocated.
58  
59  
60 =head2 AllowsMultipleInstanceTypes => Str
61  
62 Indicates whether the Dedicated Host supports multiple instance types
63 of the same instance family. If the value is C<on>, the Dedicated Host
64 supports multiple instance types in the instance family. If the value
65 is C<off>, the Dedicated Host supports a single instance type only.
66  
67  
68 =head2 AutoPlacement => Str
69  
70 Whether auto-placement is on or off.
71  
72  
73 =head2 AvailabilityZone => Str
74  
75 The Availability Zone of the Dedicated Host.
76  
77  
78 =head2 AvailabilityZoneId => Str
79  
80 The ID of the Availability Zone in which the Dedicated Host is
81 allocated.
82  
83  
84 =head2 AvailableCapacity => L<Paws::EC2::AvailableCapacity>
85  
86 Information about the instances running on the Dedicated Host.
87  
88  
89 =head2 ClientToken => Str
90  
91 Unique, case-sensitive identifier that you provide to ensure the
92 idempotency of the request. For more information, see Ensuring
93 Idempotency
94 (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html).
95  
96  
97 =head2 HostId => Str
98  
99 The ID of the Dedicated Host.
100  
101  
102 =head2 HostProperties => L<Paws::EC2::HostProperties>
103  
104 The hardware specifications of the Dedicated Host.
105  
106  
107 =head2 HostRecovery => Str
108  
109 Indicates whether host recovery is enabled or disabled for the
110 Dedicated Host.
111  
112  
113 =head2 HostReservationId => Str
114  
115 The reservation ID of the Dedicated Host. This returns a C<null>
116 response if the Dedicated Host doesn't have an associated reservation.
117  
118  
119 =head2 Instances => ArrayRef[L<Paws::EC2::HostInstance>]
120  
121 The IDs and instance type that are currently running on the Dedicated
122 Host.
123  
124  
125 =head2 MemberOfServiceLinkedResourceGroup => Bool
126  
127 Indicates whether the Dedicated Host is in a host resource group. If
128 B<memberOfServiceLinkedResourceGroup> is C<true>, the host is in a host
129 resource group; otherwise, it is not.
130  
131  
132 =head2 OwnerId => Str
133  
134 The ID of the account that owns the Dedicated Host.
135  
136  
137 =head2 ReleaseTime => Str
138  
139 The time that the Dedicated Host was released.
140  
141  
142 =head2 State => Str
143  
144 The Dedicated Host's state.
145  
146  
147 =head2 Tags => ArrayRef[L<Paws::EC2::Tag>]
148  
149 Any tags assigned to the Dedicated Host.
150  
151  
152  
153 =head1 SEE ALSO
154  
155 This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
156  
157 =head1 BUGS and CONTRIBUTIONS
158  
159 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
160  
161 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
162  
163 =cut