File Coverage

blib/lib/Paws/Lightsail/KeyPair.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::Lightsail::KeyPair;
2 1     1   532 use Moose;
  1         3  
  1         8  
3             has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest']);
4             has CreatedAt => (is => 'ro', isa => 'Str', request_name => 'createdAt', traits => ['NameInRequest']);
5             has Fingerprint => (is => 'ro', isa => 'Str', request_name => 'fingerprint', traits => ['NameInRequest']);
6             has Location => (is => 'ro', isa => 'Paws::Lightsail::ResourceLocation', request_name => 'location', traits => ['NameInRequest']);
7             has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
8             has ResourceType => (is => 'ro', isa => 'Str', request_name => 'resourceType', traits => ['NameInRequest']);
9             has SupportCode => (is => 'ro', isa => 'Str', request_name => 'supportCode', traits => ['NameInRequest']);
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::Lightsail::KeyPair
17              
18             =head1 USAGE
19              
20             This class represents one of two things:
21              
22             =head3 Arguments in a call to a service
23              
24             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25             Each attribute should be used as a named argument in the calls that expect this type of object.
26              
27             As an example, if Att1 is expected to be a Paws::Lightsail::KeyPair object:
28              
29             $service_obj->Method(Att1 => { Arn => $value, ..., SupportCode => $value });
30              
31             =head3 Results returned from an API call
32              
33             Use accessors for each attribute. If Att1 is expected to be an Paws::Lightsail::KeyPair object:
34              
35             $result = $service_obj->Method(...);
36             $result->Att1->Arn
37              
38             =head1 DESCRIPTION
39              
40             Describes the SSH key pair.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 Arn => Str
46              
47             The Amazon Resource Name (ARN) of the key pair (e.g.,
48             C<arn:aws:lightsail:us-east-1:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE>).
49              
50              
51             =head2 CreatedAt => Str
52              
53             The timestamp when the key pair was created (e.g., C<1479816991.349>).
54              
55              
56             =head2 Fingerprint => Str
57              
58             The RSA fingerprint of the key pair.
59              
60              
61             =head2 Location => L<Paws::Lightsail::ResourceLocation>
62              
63             The region name and Availability Zone where the key pair was created.
64              
65              
66             =head2 Name => Str
67              
68             The friendly name of the SSH key pair.
69              
70              
71             =head2 ResourceType => Str
72              
73             The resource type (usually C<KeyPair>).
74              
75              
76             =head2 SupportCode => Str
77              
78             The support code. Include this code in your email to support when you
79             have questions about an instance or another resource in Lightsail. This
80             code enables our support team to look up your Lightsail information
81             more easily.
82              
83              
84              
85             =head1 SEE ALSO
86              
87             This class forms part of L<Paws>, describing an object used in L<Paws::Lightsail>
88              
89             =head1 BUGS and CONTRIBUTIONS
90              
91             The source code is located here: https://github.com/pplu/aws-sdk-perl
92              
93             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
94              
95             =cut
96