blib/lib/Paws/EC2/KeyPairInfo.pm

filter: Statementstmt 100% 8 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 9 / 9 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/EC2/KeyPair.pm ↑ Summary blib/lib/Paws/EC2/LaunchSpecification.pm »
1 package Paws::EC2::KeyPairInfo;
2 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 has KeyFingerprint => (is => 'ro', isa => 'Str', request_name => 'keyFingerprint', traits => ['NameInRequest']);
4 1 has KeyName => (is => 'ro', isa => 'Str', request_name => 'keyName', traits => ['NameInRequest']);
5 1 has KeyPairId => (is => 'ro', isa => 'Str', request_name => 'keyPairId', traits => ['NameInRequest']);
6 1 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Tag]', request_name => 'tagSet', traits => ['NameInRequest']);
7 1 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::EC2::KeyPairInfo
14  
15 =head1 USAGE
16  
17 This class represents one of two things:
18  
19 =head3 Arguments in a call to a service
20  
21 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22 Each attribute should be used as a named argument in the calls that expect this type of object.
23  
24 As an example, if Att1 is expected to be a Paws::EC2::KeyPairInfo object:
25  
26 $service_obj->Method(Att1 => { KeyFingerprint => $value, ..., Tags => $value });
27  
28 =head3 Results returned from an API call
29  
30 Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::KeyPairInfo object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->KeyFingerprint
34  
35 =head1 DESCRIPTION
36  
37 This class has no description
38  
39 =head1 ATTRIBUTES
40  
41  
42 =head2 KeyFingerprint => Str
43  
44 If you used CreateKeyPair to create the key pair, this is the SHA-1
45 digest of the DER encoded private key. If you used ImportKeyPair to
46 provide AWS the public key, this is the MD5 public key fingerprint as
47 specified in section 4 of RFC4716.
48  
49  
50 =head2 KeyName => Str
51  
52 The name of the key pair.
53  
54  
55 =head2 KeyPairId => Str
56  
57 The ID of the key pair.
58  
59  
60 =head2 Tags => ArrayRef[L<Paws::EC2::Tag>]
61  
62 Any tags applied to the key pair.
63  
64  
65  
66 =head1 SEE ALSO
67  
68 This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
69  
70 =head1 BUGS and CONTRIBUTIONS
71  
72 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
73  
74 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
75  
76 =cut
« blib/lib/Paws/EC2/KeyPair.pm ↑ Summary blib/lib/Paws/EC2/LaunchSpecification.pm »