File Coverage

blib/lib/Paws/IoT/CACertificateDescription.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::CACertificateDescription;
2 1     1   658 use Moose;
  1         3  
  1         9  
3             has AutoRegistrationStatus => (is => 'ro', isa => 'Str', request_name => 'autoRegistrationStatus', 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 OwnedBy => (is => 'ro', isa => 'Str', request_name => 'ownedBy', traits => ['NameInRequest']);
9             has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']);
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::IoT::CACertificateDescription
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::IoT::CACertificateDescription object:
28              
29             $service_obj->Method(Att1 => { AutoRegistrationStatus => $value, ..., Status => $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::IoT::CACertificateDescription object:
34              
35             $result = $service_obj->Method(...);
36             $result->Att1->AutoRegistrationStatus
37              
38             =head1 DESCRIPTION
39              
40             Describes a CA certificate.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 AutoRegistrationStatus => Str
46              
47             Whether the CA certificate configured for auto registration of device
48             certificates. Valid values are "ENABLE" and "DISABLE"
49              
50              
51             =head2 CertificateArn => Str
52              
53             The CA certificate ARN.
54              
55              
56             =head2 CertificateId => Str
57              
58             The CA certificate ID.
59              
60              
61             =head2 CertificatePem => Str
62              
63             The CA certificate data, in PEM format.
64              
65              
66             =head2 CreationDate => Str
67              
68             The date the CA certificate was created.
69              
70              
71             =head2 OwnedBy => Str
72              
73             The owner of the CA certificate.
74              
75              
76             =head2 Status => Str
77              
78             The status of a CA certificate.
79              
80              
81              
82             =head1 SEE ALSO
83              
84             This class forms part of L<Paws>, describing an object used in L<Paws::IoT>
85              
86             =head1 BUGS and CONTRIBUTIONS
87              
88             The source code is located here: https://github.com/pplu/aws-sdk-perl
89              
90             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
91              
92             =cut
93