blib/lib/Paws/DMS/ImportCertificate.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::DMS::ImportCertificate;
3 use Moose;
4 has CertificateIdentifier => (is => 'ro', isa => 'Str', required => 1);
5 has CertificatePem => (is => 'ro', isa => 'Str');
6 has CertificateWallet => (is => 'ro', isa => 'Str');
7 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::DMS::Tag]');
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ImportCertificate');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::DMS::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::DMS::ImportCertificate - Arguments for method ImportCertificate on L<Paws::DMS>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method ImportCertificate on the
25 L<AWS Database Migration Service|Paws::DMS> 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 =head1 SYNOPSIS
31  
32 my $dms = Paws->service('DMS');
33 # Import certificate
34 # Uploads the specified certificate.
35 my $ImportCertificateResponse = $dms->ImportCertificate(
36 'CertificateIdentifier' => '',
37 'CertificatePem' => ''
38 );
39  
40 # Results:
41 my $Certificate = $ImportCertificateResponse->Certificate;
42  
43 # Returns a L<Paws::DMS::ImportCertificateResponse> object.
44  
45 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.
46 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/dms/ImportCertificate>
47  
48 =head1 ATTRIBUTES
49  
50  
51 =head2 B<REQUIRED> CertificateIdentifier => Str
52  
53 A customer-assigned name for the certificate. Identifiers must begin
54 with a letter and must contain only ASCII letters, digits, and hyphens.
55 They can't end with a hyphen or contain two consecutive hyphens.
56  
57  
58  
59 =head2 CertificatePem => Str
60  
61 The contents of a C<.pem> file, which contains an X.509 certificate.
62  
63  
64  
65 =head2 CertificateWallet => Str
66  
67 The location of an imported Oracle Wallet certificate for use with SSL.
68  
69  
70  
71 =head2 Tags => ArrayRef[L<Paws::DMS::Tag>]
72  
73 The tags associated with the certificate.
74  
75  
76  
77  
78 =head1 SEE ALSO
79  
80 This class forms part of L<Paws>, documenting arguments for method ImportCertificate in L<Paws::DMS>
81  
82 =head1 BUGS and CONTRIBUTIONS
83  
84 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
85  
86 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
87  
88 =cut
89