File Coverage

blib/lib/Paws/IoT/CertificateDescription.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::IoT::CertificateDescription;
2 1     1   319 use Moose;
  1         3  
  1         5  
3             has CaCertificateId => (is => 'ro', isa => 'Str', request_name => 'caCertificateId', traits => ['NameInRequest']);
4             has CertificateArn => (is => 'ro', isa => 'Str', request_name => 'certificateArn', traits => ['NameInRequest']);
5             has CertificateId => (is => 'ro', isa => 'Str', request_name => 'certificateId', traits => ['NameInRequest']);
6             has CertificatePem => (is => 'ro', isa => 'Str', request_name => 'certificatePem', traits => ['NameInRequest']);
7             has CreationDate => (is => 'ro', isa => 'Str', request_name => 'creationDate', traits => ['NameInRequest']);
8             has LastModifiedDate => (is => 'ro', isa => 'Str', request_name => 'lastModifiedDate', traits => ['NameInRequest']);
9             has OwnedBy => (is => 'ro', isa => 'Str', request_name => 'ownedBy', traits => ['NameInRequest']);
10             has PreviousOwnedBy => (is => 'ro', isa => 'Str', request_name => 'previousOwnedBy', traits => ['NameInRequest']);
11             has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']);
12             has TransferData => (is => 'ro', isa => 'Paws::IoT::TransferData', request_name => 'transferData', traits => ['NameInRequest']);
13             1;
14              
15             ### main pod documentation begin ###
16              
17             =head1 NAME
18              
19             Paws::IoT::CertificateDescription
20              
21             =head1 USAGE
22              
23             This class represents one of two things:
24              
25             =head3 Arguments in a call to a service
26              
27             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
28             Each attribute should be used as a named argument in the calls that expect this type of object.
29              
30             As an example, if Att1 is expected to be a Paws::IoT::CertificateDescription object:
31              
32             $service_obj->Method(Att1 => { CaCertificateId => $value, ..., TransferData => $value });
33              
34             =head3 Results returned from an API call
35              
36             Use accessors for each attribute. If Att1 is expected to be an Paws::IoT::CertificateDescription object:
37              
38             $result = $service_obj->Method(...);
39             $result->Att1->CaCertificateId
40              
41             =head1 DESCRIPTION
42              
43             Describes a certificate.
44              
45             =head1 ATTRIBUTES
46              
47              
48             =head2 CaCertificateId => Str
49              
50             The certificate ID of the CA certificate used to sign this certificate.
51              
52              
53             =head2 CertificateArn => Str
54              
55             The ARN of the certificate.
56              
57              
58             =head2 CertificateId => Str
59              
60             The ID of the certificate.
61              
62              
63             =head2 CertificatePem => Str
64              
65             The certificate data, in PEM format.
66              
67              
68             =head2 CreationDate => Str
69              
70             The date and time the certificate was created.
71              
72              
73             =head2 LastModifiedDate => Str
74              
75             The date and time the certificate was last modified.
76              
77              
78             =head2 OwnedBy => Str
79              
80             The ID of the AWS account that owns the certificate.
81              
82              
83             =head2 PreviousOwnedBy => Str
84              
85             The ID of the AWS account of the previous owner of the certificate.
86              
87              
88             =head2 Status => Str
89              
90             The status of the certificate.
91              
92              
93             =head2 TransferData => L<Paws::IoT::TransferData>
94              
95             The transfer data.
96              
97              
98              
99             =head1 SEE ALSO
100              
101             This class forms part of L<Paws>, describing an object used in L<Paws::IoT>
102              
103             =head1 BUGS and CONTRIBUTIONS
104              
105             The source code is located here: https://github.com/pplu/aws-sdk-perl
106              
107             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
108              
109             =cut
110