line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::ACM::ImportCertificate; |
3
|
1
|
|
|
1
|
|
478
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
7
|
|
4
|
|
|
|
|
|
|
has Certificate => (is => 'ro', isa => 'Str', required => 1); |
5
|
|
|
|
|
|
|
has CertificateArn => (is => 'ro', isa => 'Str'); |
6
|
|
|
|
|
|
|
has CertificateChain => (is => 'ro', isa => 'Str'); |
7
|
|
|
|
|
|
|
has PrivateKey => (is => 'ro', isa => 'Str', required => 1); |
8
|
|
|
|
|
|
|
|
9
|
1
|
|
|
1
|
|
6026
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'ImportCertificate'); |
12
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ACM::ImportCertificateResponse'); |
13
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro'); |
14
|
|
|
|
|
|
|
1; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
### main pod documentation begin ### |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 NAME |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
Paws::ACM::ImportCertificate - Arguments for method ImportCertificate on Paws::ACM |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
This class represents the parameters used for calling the method ImportCertificate on the |
25
|
|
|
|
|
|
|
AWS Certificate Manager service. Use the attributes of this class |
26
|
|
|
|
|
|
|
as arguments to method ImportCertificate. |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ImportCertificate. |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
As an example: |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
$service_obj->ImportCertificate(Att1 => $value1, Att2 => $value2, ...); |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
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. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head2 B<REQUIRED> Certificate => Str |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
The certificate to import. It must meet the following requirements: |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=over |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=item * |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
Must be PEM-encoded. |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=item * |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
Must contain a 1024-bit or 2048-bit RSA public key. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=item * |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
Must be valid at the time of import. You cannot import a certificate |
56
|
|
|
|
|
|
|
before its validity period begins (the certificate's C<NotBefore> date) |
57
|
|
|
|
|
|
|
or after it expires (the certificate's C<NotAfter> date). |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=back |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=head2 CertificateArn => Str |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
The Amazon Resource Name (ARN) of an imported certificate to replace. |
67
|
|
|
|
|
|
|
To import a new certificate, omit this field. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head2 CertificateChain => Str |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
The certificate chain. It must be PEM-encoded. |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head2 B<REQUIRED> PrivateKey => Str |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
The private key that matches the public key in the certificate. It must |
80
|
|
|
|
|
|
|
meet the following requirements: |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=over |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=item * |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
Must be PEM-encoded. |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=item * |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
Must be unencrypted. You cannot import a private key that is protected |
91
|
|
|
|
|
|
|
by a password or passphrase. |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=back |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=head1 SEE ALSO |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method ImportCertificate in L<Paws::ACM> |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
=cut |
110
|
|
|
|
|
|
|
|