File Coverage

blib/lib/Paws/Route53Domains/RegisterDomain.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::Route53Domains::RegisterDomain;
3 1     1   320 use Moose;
  1         3  
  1         5  
4             has AdminContact => (is => 'ro', isa => 'Paws::Route53Domains::ContactDetail', required => 1);
5             has AutoRenew => (is => 'ro', isa => 'Bool');
6             has DomainName => (is => 'ro', isa => 'Str', required => 1);
7             has DurationInYears => (is => 'ro', isa => 'Int', required => 1);
8             has IdnLangCode => (is => 'ro', isa => 'Str');
9             has PrivacyProtectAdminContact => (is => 'ro', isa => 'Bool');
10             has PrivacyProtectRegistrantContact => (is => 'ro', isa => 'Bool');
11             has PrivacyProtectTechContact => (is => 'ro', isa => 'Bool');
12             has RegistrantContact => (is => 'ro', isa => 'Paws::Route53Domains::ContactDetail', required => 1);
13             has TechContact => (is => 'ro', isa => 'Paws::Route53Domains::ContactDetail', required => 1);
14              
15 1     1   5491 use MooseX::ClassAttribute;
  1         2  
  1         7  
16              
17             class_has _api_call => (isa => 'Str', is => 'ro', default => 'RegisterDomain');
18             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Route53Domains::RegisterDomainResponse');
19             class_has _result_key => (isa => 'Str', is => 'ro');
20             1;
21              
22             ### main pod documentation begin ###
23              
24             =head1 NAME
25              
26             Paws::Route53Domains::RegisterDomain - Arguments for method RegisterDomain on Paws::Route53Domains
27              
28             =head1 DESCRIPTION
29              
30             This class represents the parameters used for calling the method RegisterDomain on the
31             Amazon Route 53 Domains service. Use the attributes of this class
32             as arguments to method RegisterDomain.
33              
34             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to RegisterDomain.
35              
36             As an example:
37              
38             $service_obj->RegisterDomain(Att1 => $value1, Att2 => $value2, ...);
39              
40             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.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 B<REQUIRED> AdminContact => L<Paws::Route53Domains::ContactDetail>
46              
47             Provides detailed contact information.
48              
49              
50              
51             =head2 AutoRenew => Bool
52              
53             Indicates whether the domain will be automatically renewed (C<true>) or
54             not (C<false>). Autorenewal only takes effect after the account is
55             charged.
56              
57             Default: C<true>
58              
59              
60              
61             =head2 B<REQUIRED> DomainName => Str
62              
63             The domain name that you want to register.
64              
65             Constraints: The domain name can contain only the letters a through z,
66             the numbers 0 through 9, and hyphen (-). Internationalized Domain Names
67             are not supported.
68              
69              
70              
71             =head2 B<REQUIRED> DurationInYears => Int
72              
73             The number of years that you want to register the domain for. Domains
74             are registered for a minimum of one year. The maximum period depends on
75             the top-level domain. For the range of valid values for your domain,
76             see Domains that You Can Register with Amazon Route 53 in the I<Amazon
77             Route 53 Developer Guide>.
78              
79             Default: 1
80              
81              
82              
83             =head2 IdnLangCode => Str
84              
85             Reserved for future use.
86              
87              
88              
89             =head2 PrivacyProtectAdminContact => Bool
90              
91             Whether you want to conceal contact information from WHOIS queries. If
92             you specify C<true>, WHOIS ("who is") queries will return contact
93             information for our registrar partner, Gandi, instead of the contact
94             information that you enter.
95              
96             Default: C<true>
97              
98              
99              
100             =head2 PrivacyProtectRegistrantContact => Bool
101              
102             Whether you want to conceal contact information from WHOIS queries. If
103             you specify C<true>, WHOIS ("who is") queries will return contact
104             information for our registrar partner, Gandi, instead of the contact
105             information that you enter.
106              
107             Default: C<true>
108              
109              
110              
111             =head2 PrivacyProtectTechContact => Bool
112              
113             Whether you want to conceal contact information from WHOIS queries. If
114             you specify C<true>, WHOIS ("who is") queries will return contact
115             information for our registrar partner, Gandi, instead of the contact
116             information that you enter.
117              
118             Default: C<true>
119              
120              
121              
122             =head2 B<REQUIRED> RegistrantContact => L<Paws::Route53Domains::ContactDetail>
123              
124             Provides detailed contact information.
125              
126              
127              
128             =head2 B<REQUIRED> TechContact => L<Paws::Route53Domains::ContactDetail>
129              
130             Provides detailed contact information.
131              
132              
133              
134              
135             =head1 SEE ALSO
136              
137             This class forms part of L<Paws>, documenting arguments for method RegisterDomain in L<Paws::Route53Domains>
138              
139             =head1 BUGS and CONTRIBUTIONS
140              
141             The source code is located here: https://github.com/pplu/aws-sdk-perl
142              
143             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
144              
145             =cut
146