File Coverage

blib/lib/Paws/IAM/UpdateServerCertificate.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              
2             package Paws::IAM::UpdateServerCertificate;
3 1     1   453 use Moose;
  1         3  
  1         8  
4             has NewPath => (is => 'ro', isa => 'Str');
5             has NewServerCertificateName => (is => 'ro', isa => 'Str');
6             has ServerCertificateName => (is => 'ro', isa => 'Str', required => 1);
7              
8 1     1   5762 use MooseX::ClassAttribute;
  1         3  
  1         7  
9              
10             class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateServerCertificate');
11             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response');
12             class_has _result_key => (isa => 'Str', is => 'ro');
13             1;
14              
15             ### main pod documentation begin ###
16              
17             =head1 NAME
18              
19             Paws::IAM::UpdateServerCertificate - Arguments for method UpdateServerCertificate on Paws::IAM
20              
21             =head1 DESCRIPTION
22              
23             This class represents the parameters used for calling the method UpdateServerCertificate on the
24             AWS Identity and Access Management service. Use the attributes of this class
25             as arguments to method UpdateServerCertificate.
26              
27             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateServerCertificate.
28              
29             As an example:
30              
31             $service_obj->UpdateServerCertificate(Att1 => $value1, Att2 => $value2, ...);
32              
33             Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
34              
35             =head1 ATTRIBUTES
36              
37              
38             =head2 NewPath => Str
39              
40             The new path for the server certificate. Include this only if you are
41             updating the server certificate's path.
42              
43             This paramater allows (per its regex pattern) a string of characters
44             consisting of either a forward slash (/) by itself or a string that
45             must begin and end with forward slashes, containing any ASCII character
46             from the ! (\u0021) thru the DEL character (\u007F), including most
47             punctuation characters, digits, and upper and lowercased letters.
48              
49              
50              
51             =head2 NewServerCertificateName => Str
52              
53             The new name for the server certificate. Include this only if you are
54             updating the server certificate's name. The name of the certificate
55             cannot contain any spaces.
56              
57             This parameter allows (per its regex pattern) a string of characters
58             consisting of upper and lowercase alphanumeric characters with no
59             spaces. You can also include any of the following characters: =,.@-
60              
61              
62              
63             =head2 B<REQUIRED> ServerCertificateName => Str
64              
65             The name of the server certificate that you want to update.
66              
67             This parameter allows (per its regex pattern) a string of characters
68             consisting of upper and lowercase alphanumeric characters with no
69             spaces. You can also include any of the following characters: =,.@-
70              
71              
72              
73              
74             =head1 SEE ALSO
75              
76             This class forms part of L<Paws>, documenting arguments for method UpdateServerCertificate in L<Paws::IAM>
77              
78             =head1 BUGS and CONTRIBUTIONS
79              
80             The source code is located here: https://github.com/pplu/aws-sdk-perl
81              
82             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
83              
84             =cut
85