File Coverage

blib/lib/Paws/ApiGateway/CreateDomainName.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::ApiGateway::CreateDomainName;
3 1     1   435 use Moose;
  1         3  
  1         7  
4             has CertificateArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'certificateArn');
5             has CertificateBody => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'certificateBody');
6             has CertificateChain => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'certificateChain');
7             has CertificateName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'certificateName');
8             has CertificatePrivateKey => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'certificatePrivateKey');
9             has DomainName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'domainName', required => 1);
10              
11 1     1   5873 use MooseX::ClassAttribute;
  1         4  
  1         8  
12              
13             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateDomainName');
14             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/domainnames');
15             class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
16             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ApiGateway::DomainName');
17             class_has _result_key => (isa => 'Str', is => 'ro');
18             1;
19              
20             ### main pod documentation begin ###
21              
22             =head1 NAME
23              
24             Paws::ApiGateway::CreateDomainName - Arguments for method CreateDomainName on Paws::ApiGateway
25              
26             =head1 DESCRIPTION
27              
28             This class represents the parameters used for calling the method CreateDomainName on the
29             Amazon API Gateway service. Use the attributes of this class
30             as arguments to method CreateDomainName.
31              
32             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateDomainName.
33              
34             As an example:
35              
36             $service_obj->CreateDomainName(Att1 => $value1, Att2 => $value2, ...);
37              
38             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.
39              
40             =head1 ATTRIBUTES
41              
42              
43             =head2 CertificateArn => Str
44              
45             The reference to an AWS-managed certificate. AWS Certificate Manager is
46             the only supported source.
47              
48              
49              
50             =head2 CertificateBody => Str
51              
52             [Deprecated] The body of the server certificate provided by your
53             certificate authority.
54              
55              
56              
57             =head2 CertificateChain => Str
58              
59             [Deprecated] The intermediate certificates and optionally the root
60             certificate, one after the other without any blank lines. If you
61             include the root certificate, your certificate chain must start with
62             intermediate certificates and end with the root certificate. Use the
63             intermediate certificates that were provided by your certificate
64             authority. Do not include any intermediaries that are not in the chain
65             of trust path.
66              
67              
68              
69             =head2 CertificateName => Str
70              
71             The user-friendly name of the certificate.
72              
73              
74              
75             =head2 CertificatePrivateKey => Str
76              
77             [Deprecated] Your certificate's private key.
78              
79              
80              
81             =head2 B<REQUIRED> DomainName => Str
82              
83             (Required) The name of the DomainName resource.
84              
85              
86              
87              
88             =head1 SEE ALSO
89              
90             This class forms part of L<Paws>, documenting arguments for method CreateDomainName in L<Paws::ApiGateway>
91              
92             =head1 BUGS and CONTRIBUTIONS
93              
94             The source code is located here: https://github.com/pplu/aws-sdk-perl
95              
96             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
97              
98             =cut
99