File Coverage

blib/lib/Paws/EC2/DescribeElasticGpus.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::EC2::DescribeElasticGpus;
3 1     1   327 use Moose;
  1         3  
  1         5  
4             has DryRun => (is => 'ro', isa => 'Bool');
5             has ElasticGpuIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'ElasticGpuId' );
6             has Filters => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Filter]', traits => ['NameInRequest'], request_name => 'Filter' );
7             has MaxResults => (is => 'ro', isa => 'Int');
8             has NextToken => (is => 'ro', isa => 'Str');
9              
10 1     1   5407 use MooseX::ClassAttribute;
  1         2  
  1         9  
11              
12             class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeElasticGpus');
13             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::DescribeElasticGpusResult');
14             class_has _result_key => (isa => 'Str', is => 'ro');
15             1;
16              
17             ### main pod documentation begin ###
18              
19             =head1 NAME
20              
21             Paws::EC2::DescribeElasticGpus - Arguments for method DescribeElasticGpus on Paws::EC2
22              
23             =head1 DESCRIPTION
24              
25             This class represents the parameters used for calling the method DescribeElasticGpus on the
26             Amazon Elastic Compute Cloud service. Use the attributes of this class
27             as arguments to method DescribeElasticGpus.
28              
29             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeElasticGpus.
30              
31             As an example:
32              
33             $service_obj->DescribeElasticGpus(Att1 => $value1, Att2 => $value2, ...);
34              
35             Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
36              
37             =head1 ATTRIBUTES
38              
39              
40             =head2 DryRun => Bool
41              
42             Checks whether you have the required permissions for the action,
43             without actually making the request, and provides an error response. If
44             you have the required permissions, the error response is
45             C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
46              
47              
48              
49             =head2 ElasticGpuIds => ArrayRef[Str|Undef]
50              
51             One or more Elastic GPU IDs.
52              
53              
54              
55             =head2 Filters => ArrayRef[L<Paws::EC2::Filter>]
56              
57             One or more filters.
58              
59             =over
60              
61             =item *
62              
63             C<availability-zone> - The Availability Zone in which the Elastic GPU
64             resides.
65              
66             =item *
67              
68             C<elastic-gpu-health> - The status of the Elastic GPU (C<OK> |
69             C<IMPAIRED>).
70              
71             =item *
72              
73             C<elastic-gpu-state> - The state of the Elastic GPU (C<ATTACHED>).
74              
75             =item *
76              
77             C<elastic-gpu-type> - The type of Elastic GPU; for example,
78             C<eg1.medium>.
79              
80             =item *
81              
82             C<instance-id> - The ID of the instance to which the Elastic GPU is
83             associated.
84              
85             =back
86              
87              
88              
89              
90             =head2 MaxResults => Int
91              
92             The maximum number of results to return in a single call. To retrieve
93             the remaining results, make another call with the returned C<NextToken>
94             value. This value can be between 5 and 1000.
95              
96              
97              
98             =head2 NextToken => Str
99              
100             The token to request the next page of results.
101              
102              
103              
104              
105             =head1 SEE ALSO
106              
107             This class forms part of L<Paws>, documenting arguments for method DescribeElasticGpus in L<Paws::EC2>
108              
109             =head1 BUGS and CONTRIBUTIONS
110              
111             The source code is located here: https://github.com/pplu/aws-sdk-perl
112              
113             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
114              
115             =cut
116