File Coverage

blib/lib/Paws/EC2/ElasticGpus.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::ElasticGpus;
2 1     1   334 use Moose;
  1         3  
  1         5  
3             has AvailabilityZone => (is => 'ro', isa => 'Str', request_name => 'availabilityZone', traits => ['NameInRequest']);
4             has ElasticGpuHealth => (is => 'ro', isa => 'Paws::EC2::ElasticGpuHealth', request_name => 'elasticGpuHealth', traits => ['NameInRequest']);
5             has ElasticGpuId => (is => 'ro', isa => 'Str', request_name => 'elasticGpuId', traits => ['NameInRequest']);
6             has ElasticGpuState => (is => 'ro', isa => 'Str', request_name => 'elasticGpuState', traits => ['NameInRequest']);
7             has ElasticGpuType => (is => 'ro', isa => 'Str', request_name => 'elasticGpuType', traits => ['NameInRequest']);
8             has InstanceId => (is => 'ro', isa => 'Str', request_name => 'instanceId', traits => ['NameInRequest']);
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::EC2::ElasticGpus
16              
17             =head1 USAGE
18              
19             This class represents one of two things:
20              
21             =head3 Arguments in a call to a service
22              
23             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24             Each attribute should be used as a named argument in the calls that expect this type of object.
25              
26             As an example, if Att1 is expected to be a Paws::EC2::ElasticGpus object:
27              
28             $service_obj->Method(Att1 => { AvailabilityZone => $value, ..., InstanceId => $value });
29              
30             =head3 Results returned from an API call
31              
32             Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::ElasticGpus object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->AvailabilityZone
36              
37             =head1 DESCRIPTION
38              
39             This class has no description
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 AvailabilityZone => Str
45              
46             The Availability Zone in the which the Elastic GPU resides.
47              
48              
49             =head2 ElasticGpuHealth => L<Paws::EC2::ElasticGpuHealth>
50              
51             The status of the Elastic GPU.
52              
53              
54             =head2 ElasticGpuId => Str
55              
56             The ID of the Elastic GPU.
57              
58              
59             =head2 ElasticGpuState => Str
60              
61             The state of the Elastic GPU.
62              
63              
64             =head2 ElasticGpuType => Str
65              
66             The type of Elastic GPU.
67              
68              
69             =head2 InstanceId => Str
70              
71             The ID of the instance to which the Elastic GPU is attached.
72              
73              
74              
75             =head1 SEE ALSO
76              
77             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
78              
79             =head1 BUGS and CONTRIBUTIONS
80              
81             The source code is located here: https://github.com/pplu/aws-sdk-perl
82              
83             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
84              
85             =cut