File Coverage

blib/lib/Paws/IAM/SSHPublicKey.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::IAM::SSHPublicKey;
2 1     1   616 use Moose;
  1         4  
  1         8  
3             has Fingerprint => (is => 'ro', isa => 'Str', required => 1);
4             has SSHPublicKeyBody => (is => 'ro', isa => 'Str', required => 1);
5             has SSHPublicKeyId => (is => 'ro', isa => 'Str', required => 1);
6             has Status => (is => 'ro', isa => 'Str', required => 1);
7             has UploadDate => (is => 'ro', isa => 'Str');
8             has UserName => (is => 'ro', isa => 'Str', required => 1);
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::IAM::SSHPublicKey
16              
17             =head1 USAGE
18              
19             This class represents one of two things:
20              
21             =head3 Arguments in a call to a service
22              
23             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24             Each attribute should be used as a named argument in the calls that expect this type of object.
25              
26             As an example, if Att1 is expected to be a Paws::IAM::SSHPublicKey object:
27              
28             $service_obj->Method(Att1 => { Fingerprint => $value, ..., UserName => $value });
29              
30             =head3 Results returned from an API call
31              
32             Use accessors for each attribute. If Att1 is expected to be an Paws::IAM::SSHPublicKey object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->Fingerprint
36              
37             =head1 DESCRIPTION
38              
39             Contains information about an SSH public key.
40              
41             This data type is used as a response element in the GetSSHPublicKey and
42             UploadSSHPublicKey actions.
43              
44             =head1 ATTRIBUTES
45              
46              
47             =head2 B<REQUIRED> Fingerprint => Str
48              
49             The MD5 message digest of the SSH public key.
50              
51              
52             =head2 B<REQUIRED> SSHPublicKeyBody => Str
53              
54             The SSH public key.
55              
56              
57             =head2 B<REQUIRED> SSHPublicKeyId => Str
58              
59             The unique identifier for the SSH public key.
60              
61              
62             =head2 B<REQUIRED> Status => Str
63              
64             The status of the SSH public key. C<Active> means the key can be used
65             for authentication with an AWS CodeCommit repository. C<Inactive> means
66             the key cannot be used.
67              
68              
69             =head2 UploadDate => Str
70              
71             The date and time, in ISO 8601 date-time format, when the SSH public
72             key was uploaded.
73              
74              
75             =head2 B<REQUIRED> UserName => Str
76              
77             The name of the IAM user associated with the SSH public key.
78              
79              
80              
81             =head1 SEE ALSO
82              
83             This class forms part of L<Paws>, describing an object used in L<Paws::IAM>
84              
85             =head1 BUGS and CONTRIBUTIONS
86              
87             The source code is located here: https://github.com/pplu/aws-sdk-perl
88              
89             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
90              
91             =cut
92