File Coverage

blib/lib/Paws/EC2/Host.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::Host;
2 1     1   288 use Moose;
  1         2  
  1         6  
3             has AutoPlacement => (is => 'ro', isa => 'Str', request_name => 'autoPlacement', traits => ['NameInRequest']);
4             has AvailabilityZone => (is => 'ro', isa => 'Str', request_name => 'availabilityZone', traits => ['NameInRequest']);
5             has AvailableCapacity => (is => 'ro', isa => 'Paws::EC2::AvailableCapacity', request_name => 'availableCapacity', traits => ['NameInRequest']);
6             has ClientToken => (is => 'ro', isa => 'Str', request_name => 'clientToken', traits => ['NameInRequest']);
7             has HostId => (is => 'ro', isa => 'Str', request_name => 'hostId', traits => ['NameInRequest']);
8             has HostProperties => (is => 'ro', isa => 'Paws::EC2::HostProperties', request_name => 'hostProperties', traits => ['NameInRequest']);
9             has HostReservationId => (is => 'ro', isa => 'Str', request_name => 'hostReservationId', traits => ['NameInRequest']);
10             has Instances => (is => 'ro', isa => 'ArrayRef[Paws::EC2::HostInstance]', request_name => 'instances', traits => ['NameInRequest']);
11             has State => (is => 'ro', isa => 'Str', request_name => 'state', traits => ['NameInRequest']);
12             1;
13              
14             ### main pod documentation begin ###
15              
16             =head1 NAME
17              
18             Paws::EC2::Host
19              
20             =head1 USAGE
21              
22             This class represents one of two things:
23              
24             =head3 Arguments in a call to a service
25              
26             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27             Each attribute should be used as a named argument in the calls that expect this type of object.
28              
29             As an example, if Att1 is expected to be a Paws::EC2::Host object:
30              
31             $service_obj->Method(Att1 => { AutoPlacement => $value, ..., State => $value });
32              
33             =head3 Results returned from an API call
34              
35             Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::Host object:
36              
37             $result = $service_obj->Method(...);
38             $result->Att1->AutoPlacement
39              
40             =head1 DESCRIPTION
41              
42             This class has no description
43              
44             =head1 ATTRIBUTES
45              
46              
47             =head2 AutoPlacement => Str
48              
49             Whether auto-placement is on or off.
50              
51              
52             =head2 AvailabilityZone => Str
53              
54             The Availability Zone of the Dedicated Host.
55              
56              
57             =head2 AvailableCapacity => L<Paws::EC2::AvailableCapacity>
58              
59             The number of new instances that can be launched onto the Dedicated
60             Host.
61              
62              
63             =head2 ClientToken => Str
64              
65             Unique, case-sensitive identifier you provide to ensure idempotency of
66             the request. For more information, see How to Ensure Idempotency in the
67             I<Amazon Elastic Compute Cloud User Guide>.
68              
69              
70             =head2 HostId => Str
71              
72             The ID of the Dedicated Host.
73              
74              
75             =head2 HostProperties => L<Paws::EC2::HostProperties>
76              
77             The hardware specifications of the Dedicated Host.
78              
79              
80             =head2 HostReservationId => Str
81              
82             The reservation ID of the Dedicated Host. This returns a C<null>
83             response if the Dedicated Host doesn't have an associated reservation.
84              
85              
86             =head2 Instances => ArrayRef[L<Paws::EC2::HostInstance>]
87              
88             The IDs and instance type that are currently running on the Dedicated
89             Host.
90              
91              
92             =head2 State => Str
93              
94             The Dedicated Host's state.
95              
96              
97              
98             =head1 SEE ALSO
99              
100             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
101              
102             =head1 BUGS and CONTRIBUTIONS
103              
104             The source code is located here: https://github.com/pplu/aws-sdk-perl
105              
106             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
107              
108             =cut