File Coverage

blib/lib/Paws/IAM/ServerCertificateMetadata.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::ServerCertificateMetadata;
2 1     1   334 use Moose;
  1     1   3  
  1         6  
  1         607  
  1         4  
  1         9  
3             has Arn => (is => 'ro', isa => 'Str', required => 1);
4             has Expiration => (is => 'ro', isa => 'Str');
5             has Path => (is => 'ro', isa => 'Str', required => 1);
6             has ServerCertificateId => (is => 'ro', isa => 'Str', required => 1);
7             has ServerCertificateName => (is => 'ro', isa => 'Str', required => 1);
8             has UploadDate => (is => 'ro', isa => 'Str');
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::IAM::ServerCertificateMetadata
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::ServerCertificateMetadata object:
27              
28             $service_obj->Method(Att1 => { Arn => $value, ..., UploadDate => $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::ServerCertificateMetadata object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->Arn
36              
37             =head1 DESCRIPTION
38              
39             Contains information about a server certificate without its certificate
40             body, certificate chain, and private key.
41              
42             This data type is used as a response element in the
43             UploadServerCertificate and ListServerCertificates actions.
44              
45             =head1 ATTRIBUTES
46              
47              
48             =head2 B<REQUIRED> Arn => Str
49              
50             The Amazon Resource Name (ARN) specifying the server certificate. For
51             more information about ARNs and how to use them in policies, see IAM
52             Identifiers in the I<Using IAM> guide.
53              
54              
55             =head2 Expiration => Str
56              
57             The date on which the certificate is set to expire.
58              
59              
60             =head2 B<REQUIRED> Path => Str
61              
62             The path to the server certificate. For more information about paths,
63             see IAM Identifiers in the I<Using IAM> guide.
64              
65              
66             =head2 B<REQUIRED> ServerCertificateId => Str
67              
68             The stable and unique string identifying the server certificate. For
69             more information about IDs, see IAM Identifiers in the I<Using IAM>
70             guide.
71              
72              
73             =head2 B<REQUIRED> ServerCertificateName => Str
74              
75             The name that identifies the server certificate.
76              
77              
78             =head2 UploadDate => Str
79              
80             The date when the server certificate was uploaded.
81              
82              
83              
84             =head1 SEE ALSO
85              
86             This class forms part of L<Paws>, describing an object used in L<Paws::IAM>
87              
88             =head1 BUGS and CONTRIBUTIONS
89              
90             The source code is located here: https://github.com/pplu/aws-sdk-perl
91              
92             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
93              
94             =cut
95