File Coverage

blib/lib/Paws/EMR/Instance.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::EMR::Instance;
2 1     1   393 use Moose;
  1         3  
  1         7  
3             has EbsVolumes => (is => 'ro', isa => 'ArrayRef[Paws::EMR::EbsVolume]');
4             has Ec2InstanceId => (is => 'ro', isa => 'Str');
5             has Id => (is => 'ro', isa => 'Str');
6             has InstanceFleetId => (is => 'ro', isa => 'Str');
7             has InstanceGroupId => (is => 'ro', isa => 'Str');
8             has InstanceType => (is => 'ro', isa => 'Str');
9             has Market => (is => 'ro', isa => 'Str');
10             has PrivateDnsName => (is => 'ro', isa => 'Str');
11             has PrivateIpAddress => (is => 'ro', isa => 'Str');
12             has PublicDnsName => (is => 'ro', isa => 'Str');
13             has PublicIpAddress => (is => 'ro', isa => 'Str');
14             has Status => (is => 'ro', isa => 'Paws::EMR::InstanceStatus');
15             1;
16              
17             ### main pod documentation begin ###
18              
19             =head1 NAME
20              
21             Paws::EMR::Instance
22              
23             =head1 USAGE
24              
25             This class represents one of two things:
26              
27             =head3 Arguments in a call to a service
28              
29             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
30             Each attribute should be used as a named argument in the calls that expect this type of object.
31              
32             As an example, if Att1 is expected to be a Paws::EMR::Instance object:
33              
34             $service_obj->Method(Att1 => { EbsVolumes => $value, ..., Status => $value });
35              
36             =head3 Results returned from an API call
37              
38             Use accessors for each attribute. If Att1 is expected to be an Paws::EMR::Instance object:
39              
40             $result = $service_obj->Method(...);
41             $result->Att1->EbsVolumes
42              
43             =head1 DESCRIPTION
44              
45             Represents an EC2 instance provisioned as part of cluster.
46              
47             =head1 ATTRIBUTES
48              
49              
50             =head2 EbsVolumes => ArrayRef[L<Paws::EMR::EbsVolume>]
51              
52             The list of EBS volumes that are attached to this instance.
53              
54              
55             =head2 Ec2InstanceId => Str
56              
57             The unique identifier of the instance in Amazon EC2.
58              
59              
60             =head2 Id => Str
61              
62             The unique identifier for the instance in Amazon EMR.
63              
64              
65             =head2 InstanceFleetId => Str
66              
67             The unique identifier of the instance fleet to which an EC2 instance
68             belongs.
69              
70              
71             =head2 InstanceGroupId => Str
72              
73             The identifier of the instance group to which this instance belongs.
74              
75              
76             =head2 InstanceType => Str
77              
78             The EC2 instance type, for example C<m3.xlarge>.
79              
80              
81             =head2 Market => Str
82              
83             The instance purchasing option. Valid values are C<ON_DEMAND> or
84             C<SPOT>.
85              
86              
87             =head2 PrivateDnsName => Str
88              
89             The private DNS name of the instance.
90              
91              
92             =head2 PrivateIpAddress => Str
93              
94             The private IP address of the instance.
95              
96              
97             =head2 PublicDnsName => Str
98              
99             The public DNS name of the instance.
100              
101              
102             =head2 PublicIpAddress => Str
103              
104             The public IP address of the instance.
105              
106              
107             =head2 Status => L<Paws::EMR::InstanceStatus>
108              
109             The current status of the instance.
110              
111              
112              
113             =head1 SEE ALSO
114              
115             This class forms part of L<Paws>, describing an object used in L<Paws::EMR>
116              
117             =head1 BUGS and CONTRIBUTIONS
118              
119             The source code is located here: https://github.com/pplu/aws-sdk-perl
120              
121             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
122              
123             =cut
124