blib/lib/Paws/Lightsail/HostKeyAttributes.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Lightsail::HostKeyAttributes;
3 use Moose;
4 has Algorithm => (is => 'ro', isa => 'Str', request_name => 'algorithm', traits => ['NameInRequest']);
5 has FingerprintSHA1 => (is => 'ro', isa => 'Str', request_name => 'fingerprintSHA1', traits => ['NameInRequest']);
6 has FingerprintSHA256 => (is => 'ro', isa => 'Str', request_name => 'fingerprintSHA256', traits => ['NameInRequest']);
7 has NotValidAfter => (is => 'ro', isa => 'Str', request_name => 'notValidAfter', traits => ['NameInRequest']);
8 has NotValidBefore => (is => 'ro', isa => 'Str', request_name => 'notValidBefore', traits => ['NameInRequest']);
9 has PublicKey => (is => 'ro', isa => 'Str', request_name => 'publicKey', traits => ['NameInRequest']);
10 has WitnessedAt => (is => 'ro', isa => 'Str', request_name => 'witnessedAt', traits => ['NameInRequest']);
11  
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::Lightsail::HostKeyAttributes
19  
20 =head1 USAGE
21  
22 This class represents one of two things:
23  
24 =head3 Arguments in a call to a service
25  
26 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27 Each attribute should be used as a named argument in the calls that expect this type of object.
28  
29 As an example, if Att1 is expected to be a Paws::Lightsail::HostKeyAttributes object:
30  
31 $service_obj->Method(Att1 => { Algorithm => $value, ..., WitnessedAt => $value });
32  
33 =head3 Results returned from an API call
34  
35 Use accessors for each attribute. If Att1 is expected to be an Paws::Lightsail::HostKeyAttributes object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->Algorithm
39  
40 =head1 DESCRIPTION
41  
42 Describes the public SSH host keys or the RDP certificate.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 Algorithm => Str
48  
49 The SSH host key algorithm or the RDP certificate format.
50  
51 For SSH host keys, the algorithm may be C<ssh-rsa>,
52 C<ecdsa-sha2-nistp256>, C<ssh-ed25519>, etc. For RDP certificates, the
53 algorithm is always C<x509-cert>.
54  
55  
56 =head2 FingerprintSHA1 => Str
57  
58 The SHA-1 fingerprint of the returned SSH host key or RDP certificate.
59  
60 =over
61  
62 =item *
63  
64 Example of an SHA-1 SSH fingerprint:
65  
66 C<SHA1:1CHH6FaAaXjtFOsR/t83vf91SR0>
67  
68 =item *
69  
70 Example of an SHA-1 RDP fingerprint:
71  
72 C<af:34:51:fe:09:f0:e0:da:b8:4e:56:ca:60:c2:10:ff:38:06:db:45>
73  
74 =back
75  
76  
77  
78 =head2 FingerprintSHA256 => Str
79  
80 The SHA-256 fingerprint of the returned SSH host key or RDP
81 certificate.
82  
83 =over
84  
85 =item *
86  
87 Example of an SHA-256 SSH fingerprint:
88  
89 C<SHA256:KTsMnRBh1IhD17HpdfsbzeGA4jOijm5tyXsMjKVbB8o>
90  
91 =item *
92  
93 Example of an SHA-256 RDP fingerprint:
94  
95 C<03:9b:36:9f:4b:de:4e:61:70:fc:7c:c9:78:e7:d2:1a:1c:25:a8:0c:91:f6:7c:e4:d6:a0:85:c8:b4:53:99:68>
96  
97 =back
98  
99  
100  
101 =head2 NotValidAfter => Str
102  
103 The returned RDP certificate is not valid after this point in time.
104  
105 This value is listed only for RDP certificates.
106  
107  
108 =head2 NotValidBefore => Str
109  
110 The returned RDP certificate is valid after this point in time.
111  
112 This value is listed only for RDP certificates.
113  
114  
115 =head2 PublicKey => Str
116  
117 The public SSH host key or the RDP certificate.
118  
119  
120 =head2 WitnessedAt => Str
121  
122 The time that the SSH host key or RDP certificate was recorded by
123 Lightsail.
124  
125  
126  
127 =head1 SEE ALSO
128  
129 This class forms part of L<Paws>, describing an object used in L<Paws::Lightsail>
130  
131 =head1 BUGS and CONTRIBUTIONS
132  
133 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
134  
135 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
136  
137 =cut
138