blib/lib/Paws/Lightsail/CreateLoadBalancerTlsCertificate.pm untested

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 21 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Lightsail::CreateLoadBalancerTlsCertificate;
3 use Moose;
4 has CertificateAlternativeNames => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'certificateAlternativeNames' );
5 has CertificateDomainName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'certificateDomainName' , required => 1);
6 has CertificateName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'certificateName' , required => 1);
7 has LoadBalancerName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'loadBalancerName' , required => 1);
8 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::Lightsail::Tag]', traits => ['NameInRequest'], request_name => 'tags' );
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateLoadBalancerTlsCertificate');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Lightsail::CreateLoadBalancerTlsCertificateResult');
14 class_has _result_key => (isa => 'Str', is => 'ro');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::Lightsail::CreateLoadBalancerTlsCertificate - Arguments for method CreateLoadBalancerTlsCertificate on L<Paws::Lightsail>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method CreateLoadBalancerTlsCertificate on the
26 L<Amazon Lightsail|Paws::Lightsail> service. Use the attributes of this class
27 as arguments to method CreateLoadBalancerTlsCertificate.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateLoadBalancerTlsCertificate.
30  
31 =head1 SYNOPSIS
32  
33 my $lightsail = Paws->service('Lightsail');
34 my $CreateLoadBalancerTlsCertificateResult =
35 $lightsail->CreateLoadBalancerTlsCertificate(
36 CertificateDomainName => 'MyDomainName',
37 CertificateName => 'MyResourceName',
38 LoadBalancerName => 'MyResourceName',
39 CertificateAlternativeNames => [ 'MyDomainName', ... ], # OPTIONAL
40 Tags => [
41 {
42 Key => 'MyTagKey', # OPTIONAL
43 Value => 'MyTagValue', # OPTIONAL
44 },
45 ...
46 ], # OPTIONAL
47 );
48  
49 # Results:
50 my $Operations = $CreateLoadBalancerTlsCertificateResult->Operations;
51  
52 # Returns a L<Paws::Lightsail::CreateLoadBalancerTlsCertificateResult> object.
53  
54 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.
55 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/lightsail/CreateLoadBalancerTlsCertificate>
56  
57 =head1 ATTRIBUTES
58  
59  
60 =head2 CertificateAlternativeNames => ArrayRef[Str|Undef]
61  
62 An array of strings listing alternative domains and subdomains for your
63 SSL/TLS certificate. Lightsail will de-dupe the names for you. You can
64 have a maximum of 9 alternative names (in addition to the 1 primary
65 domain). We do not support wildcards (e.g., C<*.example.com>).
66  
67  
68  
69 =head2 B<REQUIRED> CertificateDomainName => Str
70  
71 The domain name (e.g., C<example.com>) for your SSL/TLS certificate.
72  
73  
74  
75 =head2 B<REQUIRED> CertificateName => Str
76  
77 The SSL/TLS certificate name.
78  
79 You can have up to 10 certificates in your account at one time. Each
80 Lightsail load balancer can have up to 2 certificates associated with
81 it at one time. There is also an overall limit to the number of
82 certificates that can be issue in a 365-day period. For more
83 information, see Limits
84 (http://docs.aws.amazon.com/acm/latest/userguide/acm-limits.html).
85  
86  
87  
88 =head2 B<REQUIRED> LoadBalancerName => Str
89  
90 The load balancer name where you want to create the SSL/TLS
91 certificate.
92  
93  
94  
95 =head2 Tags => ArrayRef[L<Paws::Lightsail::Tag>]
96  
97 The tag keys and optional values to add to the resource during create.
98  
99 Use the C<TagResource> action to tag a resource after it's created.
100  
101  
102  
103  
104 =head1 SEE ALSO
105  
106 This class forms part of L<Paws>, documenting arguments for method CreateLoadBalancerTlsCertificate in L<Paws::Lightsail>
107  
108 =head1 BUGS and CONTRIBUTIONS
109  
110 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
111  
112 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
113  
114 =cut
115