blib/lib/Paws/ACM/CertificateDetail.pm untested

filter: Statementstmt 0.0% 0 / 29 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 30 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::ACM::CertificateDetail;
3 use Moose;
4 has CertificateArn => (is => 'ro', isa => 'Str');
5 has CertificateAuthorityArn => (is => 'ro', isa => 'Str');
6 has CreatedAt => (is => 'ro', isa => 'Str');
7 has DomainName => (is => 'ro', isa => 'Str');
8 has DomainValidationOptions => (is => 'ro', isa => 'ArrayRef[Paws::ACM::DomainValidation]');
9 has ExtendedKeyUsages => (is => 'ro', isa => 'ArrayRef[Paws::ACM::ExtendedKeyUsage]');
10 has FailureReason => (is => 'ro', isa => 'Str');
11 has ImportedAt => (is => 'ro', isa => 'Str');
12 has InUseBy => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
13 has IssuedAt => (is => 'ro', isa => 'Str');
14 has Issuer => (is => 'ro', isa => 'Str');
15 has KeyAlgorithm => (is => 'ro', isa => 'Str');
16 has KeyUsages => (is => 'ro', isa => 'ArrayRef[Paws::ACM::KeyUsage]');
17 has NotAfter => (is => 'ro', isa => 'Str');
18 has NotBefore => (is => 'ro', isa => 'Str');
19 has Options => (is => 'ro', isa => 'Paws::ACM::CertificateOptions');
20 has RenewalEligibility => (is => 'ro', isa => 'Str');
21 has RenewalSummary => (is => 'ro', isa => 'Paws::ACM::RenewalSummary');
22 has RevocationReason => (is => 'ro', isa => 'Str');
23 has RevokedAt => (is => 'ro', isa => 'Str');
24 has Serial => (is => 'ro', isa => 'Str');
25 has SignatureAlgorithm => (is => 'ro', isa => 'Str');
26 has Status => (is => 'ro', isa => 'Str');
27 has Subject => (is => 'ro', isa => 'Str');
28 has SubjectAlternativeNames => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
29 has Type => (is => 'ro', isa => 'Str');
30  
31 1;
32  
33 ### main pod documentation begin ###
34  
35 =head1 NAME
36  
37 Paws::ACM::CertificateDetail
38  
39 =head1 USAGE
40  
41 This class represents one of two things:
42  
43 =head3 Arguments in a call to a service
44  
45 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
46 Each attribute should be used as a named argument in the calls that expect this type of object.
47  
48 As an example, if Att1 is expected to be a Paws::ACM::CertificateDetail object:
49  
50 $service_obj->Method(Att1 => { CertificateArn => $value, ..., Type => $value });
51  
52 =head3 Results returned from an API call
53  
54 Use accessors for each attribute. If Att1 is expected to be an Paws::ACM::CertificateDetail object:
55  
56 $result = $service_obj->Method(...);
57 $result->Att1->CertificateArn
58  
59 =head1 DESCRIPTION
60  
61 Contains metadata about an ACM certificate. This structure is returned
62 in the response to a DescribeCertificate request.
63  
64 =head1 ATTRIBUTES
65  
66  
67 =head2 CertificateArn => Str
68  
69 The Amazon Resource Name (ARN) of the certificate. For more information
70 about ARNs, see Amazon Resource Names (ARNs)
71 (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
72 in the I<AWS General Reference>.
73  
74  
75 =head2 CertificateAuthorityArn => Str
76  
77 The Amazon Resource Name (ARN) of the ACM PCA private certificate
78 authority (CA) that issued the certificate. This has the following
79 format:
80  
81 C<arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012>
82  
83  
84 =head2 CreatedAt => Str
85  
86 The time at which the certificate was requested.
87  
88  
89 =head2 DomainName => Str
90  
91 The fully qualified domain name for the certificate, such as
92 www.example.com or example.com.
93  
94  
95 =head2 DomainValidationOptions => ArrayRef[L<Paws::ACM::DomainValidation>]
96  
97 Contains information about the initial validation of each domain name
98 that occurs as a result of the RequestCertificate request. This field
99 exists only when the certificate type is C<AMAZON_ISSUED>.
100  
101  
102 =head2 ExtendedKeyUsages => ArrayRef[L<Paws::ACM::ExtendedKeyUsage>]
103  
104 Contains a list of Extended Key Usage X.509 v3 extension objects. Each
105 object specifies a purpose for which the certificate public key can be
106 used and consists of a name and an object identifier (OID).
107  
108  
109 =head2 FailureReason => Str
110  
111 The reason the certificate request failed. This value exists only when
112 the certificate status is C<FAILED>. For more information, see
113 Certificate Request Failed
114 (https://docs.aws.amazon.com/acm/latest/userguide/troubleshooting.html#troubleshooting-failed)
115 in the I<AWS Certificate Manager User Guide>.
116  
117  
118 =head2 ImportedAt => Str
119  
120 The date and time at which the certificate was imported. This value
121 exists only when the certificate type is C<IMPORTED>.
122  
123  
124 =head2 InUseBy => ArrayRef[Str|Undef]
125  
126 A list of ARNs for the AWS resources that are using the certificate. A
127 certificate can be used by multiple AWS resources.
128  
129  
130 =head2 IssuedAt => Str
131  
132 The time at which the certificate was issued. This value exists only
133 when the certificate type is C<AMAZON_ISSUED>.
134  
135  
136 =head2 Issuer => Str
137  
138 The name of the certificate authority that issued and signed the
139 certificate.
140  
141  
142 =head2 KeyAlgorithm => Str
143  
144 The algorithm that was used to generate the public-private key pair.
145  
146  
147 =head2 KeyUsages => ArrayRef[L<Paws::ACM::KeyUsage>]
148  
149 A list of Key Usage X.509 v3 extension objects. Each object is a string
150 value that identifies the purpose of the public key contained in the
151 certificate. Possible extension values include DIGITAL_SIGNATURE,
152 KEY_ENCHIPHERMENT, NON_REPUDIATION, and more.
153  
154  
155 =head2 NotAfter => Str
156  
157 The time after which the certificate is not valid.
158  
159  
160 =head2 NotBefore => Str
161  
162 The time before which the certificate is not valid.
163  
164  
165 =head2 Options => L<Paws::ACM::CertificateOptions>
166  
167 Value that specifies whether to add the certificate to a transparency
168 log. Certificate transparency makes it possible to detect SSL
169 certificates that have been mistakenly or maliciously issued. A browser
170 might respond to certificate that has not been logged by showing an
171 error message. The logs are cryptographically secure.
172  
173  
174 =head2 RenewalEligibility => Str
175  
176 Specifies whether the certificate is eligible for renewal. At this
177 time, only exported private certificates can be renewed with the
178 RenewCertificate command.
179  
180  
181 =head2 RenewalSummary => L<Paws::ACM::RenewalSummary>
182  
183 Contains information about the status of ACM's managed renewal
184 (https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html) for
185 the certificate. This field exists only when the certificate type is
186 C<AMAZON_ISSUED>.
187  
188  
189 =head2 RevocationReason => Str
190  
191 The reason the certificate was revoked. This value exists only when the
192 certificate status is C<REVOKED>.
193  
194  
195 =head2 RevokedAt => Str
196  
197 The time at which the certificate was revoked. This value exists only
198 when the certificate status is C<REVOKED>.
199  
200  
201 =head2 Serial => Str
202  
203 The serial number of the certificate.
204  
205  
206 =head2 SignatureAlgorithm => Str
207  
208 The algorithm that was used to sign the certificate.
209  
210  
211 =head2 Status => Str
212  
213 The status of the certificate.
214  
215  
216 =head2 Subject => Str
217  
218 The name of the entity that is associated with the public key contained
219 in the certificate.
220  
221  
222 =head2 SubjectAlternativeNames => ArrayRef[Str|Undef]
223  
224 One or more domain names (subject alternative names) included in the
225 certificate. This list contains the domain names that are bound to the
226 public key that is contained in the certificate. The subject
227 alternative names include the canonical domain name (CN) of the
228 certificate and additional domain names that can be used to connect to
229 the website.
230  
231  
232 =head2 Type => Str
233  
234 The source of the certificate. For certificates provided by ACM, this
235 value is C<AMAZON_ISSUED>. For certificates that you imported with
236 ImportCertificate, this value is C<IMPORTED>. ACM does not provide
237 managed renewal
238 (https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html) for
239 imported certificates. For more information about the differences
240 between certificates that you import and those that ACM provides, see
241 Importing Certificates
242 (https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html)
243 in the I<AWS Certificate Manager User Guide>.
244  
245  
246  
247 =head1 SEE ALSO
248  
249 This class forms part of L<Paws>, describing an object used in L<Paws::ACM>
250  
251 =head1 BUGS and CONTRIBUTIONS
252  
253 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
254  
255 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
256  
257 =cut
258