File Coverage

blib/lib/Paws/IAM/SigningCertificate.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Paws::IAM::SigningCertificate;
2 1     1   356 use Moose;
  1     1   3  
  1         6  
  1         318  
  1         3  
  1         4  
3             has CertificateBody => (is => 'ro', isa => 'Str', required => 1);
4             has CertificateId => (is => 'ro', isa => 'Str', required => 1);
5             has Status => (is => 'ro', isa => 'Str', required => 1);
6             has UploadDate => (is => 'ro', isa => 'Str');
7             has UserName => (is => 'ro', isa => 'Str', required => 1);
8             1;
9              
10             ### main pod documentation begin ###
11              
12             =head1 NAME
13              
14             Paws::IAM::SigningCertificate
15              
16             =head1 USAGE
17              
18             This class represents one of two things:
19              
20             =head3 Arguments in a call to a service
21              
22             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23             Each attribute should be used as a named argument in the calls that expect this type of object.
24              
25             As an example, if Att1 is expected to be a Paws::IAM::SigningCertificate object:
26              
27             $service_obj->Method(Att1 => { CertificateBody => $value, ..., UserName => $value });
28              
29             =head3 Results returned from an API call
30              
31             Use accessors for each attribute. If Att1 is expected to be an Paws::IAM::SigningCertificate object:
32              
33             $result = $service_obj->Method(...);
34             $result->Att1->CertificateBody
35              
36             =head1 DESCRIPTION
37              
38             Contains information about an X.509 signing certificate.
39              
40             This data type is used as a response element in the
41             UploadSigningCertificate and ListSigningCertificates actions.
42              
43             =head1 ATTRIBUTES
44              
45              
46             =head2 B<REQUIRED> CertificateBody => Str
47              
48             The contents of the signing certificate.
49              
50              
51             =head2 B<REQUIRED> CertificateId => Str
52              
53             The ID for the signing certificate.
54              
55              
56             =head2 B<REQUIRED> Status => Str
57              
58             The status of the signing certificate. C<Active> means the key is valid
59             for API calls, while C<Inactive> means it is not.
60              
61              
62             =head2 UploadDate => Str
63              
64             The date when the signing certificate was uploaded.
65              
66              
67             =head2 B<REQUIRED> UserName => Str
68              
69             The name of the user the signing certificate is associated with.
70              
71              
72              
73             =head1 SEE ALSO
74              
75             This class forms part of L<Paws>, describing an object used in L<Paws::IAM>
76              
77             =head1 BUGS and CONTRIBUTIONS
78              
79             The source code is located here: https://github.com/pplu/aws-sdk-perl
80              
81             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
82              
83             =cut
84