1
2package Paws::EC2::DescribeKeyPairs {
3  use Moose;
4  has DryRun => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'dryRun' );
5  has Filters => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Filter]', traits => ['NameInRequest'], request_name => 'Filter' );
6  has KeyNames => (is => 'ro', isa => 'ArrayRef[Str]', traits => ['NameInRequest'], request_name => 'KeyName' );
7
8  use MooseX::ClassAttribute;
9
10  class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeKeyPairs');
11  class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::DescribeKeyPairsResult');
12  class_has _result_key => (isa => 'Str', is => 'ro');
13}
141;
15
16### main pod documentation begin ###
17
18=head1 NAME
19
20Paws::EC2::DescribeKeyPairs - Arguments for method DescribeKeyPairs on Paws::EC2
21
22=head1 DESCRIPTION
23
24This class represents the parameters used for calling the method DescribeKeyPairs on the
25Amazon Elastic Compute Cloud service. Use the attributes of this class
26as arguments to method DescribeKeyPairs.
27
28You shouln't make instances of this class. Each attribute should be used as a named argument in the call to DescribeKeyPairs.
29
30As an example:
31
32  $service_obj->DescribeKeyPairs(Att1 => $value1, Att2 => $value2, ...);
33
34Values 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.
35
36=head1 ATTRIBUTES
37
38=head2 DryRun => Bool
39
40
41
42Checks whether you have the required permissions for the action,
43without actually making the request, and provides an error response. If
44you have the required permissions, the error response is
45C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
46
47
48
49
50
51
52
53
54
55
56=head2 Filters => ArrayRef[Paws::EC2::Filter]
57
58
59
60One or more filters.
61
62=over
63
64=item *
65
66C<fingerprint> - The fingerprint of the key pair.
67
68=item *
69
70C<key-name> - The name of the key pair.
71
72=back
73
74
75
76
77
78
79
80
81
82
83=head2 KeyNames => ArrayRef[Str]
84
85
86
87One or more key pair names.
88
89Default: Describes all your key pairs.
90
91
92
93
94
95
96
97
98
99
100
101
102=head1 SEE ALSO
103
104This class forms part of L<Paws>, documenting arguments for method DescribeKeyPairs in L<Paws::EC2>
105
106=head1 BUGS and CONTRIBUTIONS
107
108The source code is located here: https://github.com/pplu/aws-sdk-perl
109
110Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
111
112=cut
113
114