blib/lib/Paws/IAM/ServerCertificate.pm untested

filter: Statementstmt 0.0% 0 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 8 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::IAM::ServerCertificate;
3 use Moose;
4 has CertificateBody => (is => 'ro', isa => 'Str', required => 1);
5 has CertificateChain => (is => 'ro', isa => 'Str');
6 has ServerCertificateMetadata => (is => 'ro', isa => 'Paws::IAM::ServerCertificateMetadata', required => 1);
7 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::IAM::Tag]');
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::IAM::ServerCertificate
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::ServerCertificate object:
27  
28 $service_obj->Method(Att1 => { CertificateBody => $value, ..., Tags => $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::ServerCertificate object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->CertificateBody
36  
37 =head1 DESCRIPTION
38  
39 Contains information about a server certificate.
40  
41 This data type is used as a response element in the
42 GetServerCertificate operation.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 B<REQUIRED> CertificateBody => Str
48  
49 The contents of the public key certificate.
50  
51  
52 =head2 CertificateChain => Str
53  
54 The contents of the public key certificate chain.
55  
56  
57 =head2 B<REQUIRED> ServerCertificateMetadata => L<Paws::IAM::ServerCertificateMetadata>
58  
59 The meta information of the server certificate, such as its name, path,
60 ID, and ARN.
61  
62  
63 =head2 Tags => ArrayRef[L<Paws::IAM::Tag>]
64  
65 A list of tags that are attached to the server certificate. For more
66 information about tagging, see Tagging IAM resources
67 (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) in the
68 I<IAM User Guide>.
69  
70  
71  
72 =head1 SEE ALSO
73  
74 This class forms part of L<Paws>, describing an object used in L<Paws::IAM>
75  
76 =head1 BUGS and CONTRIBUTIONS
77  
78 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
79  
80 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
81  
82 =cut
83