blib/lib/Paws/Route53Domains/TransferDomain.pm untested

filter: Statementstmt 0.0% 0 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 23 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Route53Domains::TransferDomain;
3 use Moose;
4 has AdminContact => (is => 'ro', isa => 'Paws::Route53Domains::ContactDetail', required => 1);
5 has AuthCode => (is => 'ro', isa => 'Str');
6 has AutoRenew => (is => 'ro', isa => 'Bool');
7 has DomainName => (is => 'ro', isa => 'Str', required => 1);
8 has DurationInYears => (is => 'ro', isa => 'Int', required => 1);
9 has IdnLangCode => (is => 'ro', isa => 'Str');
10 has Nameservers => (is => 'ro', isa => 'ArrayRef[Paws::Route53Domains::Nameserver]');
11 has PrivacyProtectAdminContact => (is => 'ro', isa => 'Bool');
12 has PrivacyProtectRegistrantContact => (is => 'ro', isa => 'Bool');
13 has PrivacyProtectTechContact => (is => 'ro', isa => 'Bool');
14 has RegistrantContact => (is => 'ro', isa => 'Paws::Route53Domains::ContactDetail', required => 1);
15 has TechContact => (is => 'ro', isa => 'Paws::Route53Domains::ContactDetail', required => 1);
16  
17 use MooseX::ClassAttribute;
18  
19 class_has _api_call => (isa => 'Str', is => 'ro', default => 'TransferDomain');
20 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Route53Domains::TransferDomainResponse');
21 class_has _result_key => (isa => 'Str', is => 'ro');
22 1;
23  
24 ### main pod documentation begin ###
25  
26 =head1 NAME
27  
28 Paws::Route53Domains::TransferDomain - Arguments for method TransferDomain on L<Paws::Route53Domains>
29  
30 =head1 DESCRIPTION
31  
32 This class represents the parameters used for calling the method TransferDomain on the
33 L<Amazon Route 53 Domains|Paws::Route53Domains> service. Use the attributes of this class
34 as arguments to method TransferDomain.
35  
36 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to TransferDomain.
37  
38 =head1 SYNOPSIS
39  
40 my $route53domains = Paws->service('Route53Domains');
41 my $TransferDomainResponse = $route53domains->TransferDomain(
42 AdminContact => {
43 AddressLine1 => 'MyAddressLine', # max: 255; OPTIONAL
44 AddressLine2 => 'MyAddressLine', # max: 255; OPTIONAL
45 City => 'MyCity', # max: 255; OPTIONAL
46 ContactType => 'PERSON'
47 , # values: PERSON, COMPANY, ASSOCIATION, PUBLIC_BODY, RESELLER; OPTIONAL
48 CountryCode => 'AD'
49 , # values: AD, AE, AF, AG, AI, AL, AM, AN, AO, AQ, AR, AS, AT, AU, AW, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BL, BM, BN, BO, BR, BS, BT, BW, BY, BZ, CA, CC, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CX, CY, CZ, DE, DJ, DK, DM, DO, DZ, EC, EE, EG, ER, ES, ET, FI, FJ, FK, FM, FO, FR, GA, GB, GD, GE, GH, GI, GL, GM, GN, GQ, GR, GT, GU, GW, GY, HK, HN, HR, HT, HU, ID, IE, IL, IM, IN, IQ, IR, IS, IT, JM, JO, JP, KE, KG, KH, KI, KM, KN, KP, KR, KW, KY, KZ, LA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY, MA, MC, MD, ME, MF, MG, MH, MK, ML, MM, MN, MO, MP, MR, MS, MT, MU, MV, MW, MX, MY, MZ, NA, NC, NE, NG, NI, NL, NO, NP, NR, NU, NZ, OM, PA, PE, PF, PG, PH, PK, PL, PM, PN, PR, PT, PW, PY, QA, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SH, SI, SK, SL, SM, SN, SO, SR, ST, SV, SY, SZ, TC, TD, TG, TH, TJ, TK, TL, TM, TN, TO, TR, TT, TV, TW, TZ, UA, UG, US, UY, UZ, VA, VC, VE, VG, VI, VN, VU, WF, WS, YE, YT, ZA, ZM, ZW; OPTIONAL
50 Email => 'MyEmail', # max: 254; OPTIONAL
51 ExtraParams => [
52 {
53 Name => 'DUNS_NUMBER'
54 , # values: DUNS_NUMBER, BRAND_NUMBER, BIRTH_DEPARTMENT, BIRTH_DATE_IN_YYYY_MM_DD, BIRTH_COUNTRY, BIRTH_CITY, DOCUMENT_NUMBER, AU_ID_NUMBER, AU_ID_TYPE, CA_LEGAL_TYPE, CA_BUSINESS_ENTITY_TYPE, CA_LEGAL_REPRESENTATIVE, CA_LEGAL_REPRESENTATIVE_CAPACITY, ES_IDENTIFICATION, ES_IDENTIFICATION_TYPE, ES_LEGAL_FORM, FI_BUSINESS_NUMBER, FI_ID_NUMBER, FI_NATIONALITY, FI_ORGANIZATION_TYPE, IT_NATIONALITY, IT_PIN, IT_REGISTRANT_ENTITY_TYPE, RU_PASSPORT_DATA, SE_ID_NUMBER, SG_ID_NUMBER, VAT_NUMBER, UK_CONTACT_TYPE, UK_COMPANY_NUMBER
55 Value => 'MyExtraParamValue', # max: 2048
56  
57 },
58 ...
59 ], # OPTIONAL
60 Fax => 'MyContactNumber', # max: 30; OPTIONAL
61 FirstName => 'MyContactName', # max: 255; OPTIONAL
62 LastName => 'MyContactName', # max: 255; OPTIONAL
63 OrganizationName => 'MyContactName', # max: 255; OPTIONAL
64 PhoneNumber => 'MyContactNumber', # max: 30; OPTIONAL
65 State => 'MyState', # max: 255; OPTIONAL
66 ZipCode => 'MyZipCode', # max: 255; OPTIONAL
67 },
68 DomainName => 'MyDomainName',
69 DurationInYears => 1,
70 RegistrantContact => {
71 AddressLine1 => 'MyAddressLine', # max: 255; OPTIONAL
72 AddressLine2 => 'MyAddressLine', # max: 255; OPTIONAL
73 City => 'MyCity', # max: 255; OPTIONAL
74 ContactType => 'PERSON'
75 , # values: PERSON, COMPANY, ASSOCIATION, PUBLIC_BODY, RESELLER; OPTIONAL
76 CountryCode => 'AD'
77 , # values: AD, AE, AF, AG, AI, AL, AM, AN, AO, AQ, AR, AS, AT, AU, AW, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BL, BM, BN, BO, BR, BS, BT, BW, BY, BZ, CA, CC, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CX, CY, CZ, DE, DJ, DK, DM, DO, DZ, EC, EE, EG, ER, ES, ET, FI, FJ, FK, FM, FO, FR, GA, GB, GD, GE, GH, GI, GL, GM, GN, GQ, GR, GT, GU, GW, GY, HK, HN, HR, HT, HU, ID, IE, IL, IM, IN, IQ, IR, IS, IT, JM, JO, JP, KE, KG, KH, KI, KM, KN, KP, KR, KW, KY, KZ, LA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY, MA, MC, MD, ME, MF, MG, MH, MK, ML, MM, MN, MO, MP, MR, MS, MT, MU, MV, MW, MX, MY, MZ, NA, NC, NE, NG, NI, NL, NO, NP, NR, NU, NZ, OM, PA, PE, PF, PG, PH, PK, PL, PM, PN, PR, PT, PW, PY, QA, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SH, SI, SK, SL, SM, SN, SO, SR, ST, SV, SY, SZ, TC, TD, TG, TH, TJ, TK, TL, TM, TN, TO, TR, TT, TV, TW, TZ, UA, UG, US, UY, UZ, VA, VC, VE, VG, VI, VN, VU, WF, WS, YE, YT, ZA, ZM, ZW; OPTIONAL
78 Email => 'MyEmail', # max: 254; OPTIONAL
79 ExtraParams => [
80 {
81 Name => 'DUNS_NUMBER'
82 , # values: DUNS_NUMBER, BRAND_NUMBER, BIRTH_DEPARTMENT, BIRTH_DATE_IN_YYYY_MM_DD, BIRTH_COUNTRY, BIRTH_CITY, DOCUMENT_NUMBER, AU_ID_NUMBER, AU_ID_TYPE, CA_LEGAL_TYPE, CA_BUSINESS_ENTITY_TYPE, CA_LEGAL_REPRESENTATIVE, CA_LEGAL_REPRESENTATIVE_CAPACITY, ES_IDENTIFICATION, ES_IDENTIFICATION_TYPE, ES_LEGAL_FORM, FI_BUSINESS_NUMBER, FI_ID_NUMBER, FI_NATIONALITY, FI_ORGANIZATION_TYPE, IT_NATIONALITY, IT_PIN, IT_REGISTRANT_ENTITY_TYPE, RU_PASSPORT_DATA, SE_ID_NUMBER, SG_ID_NUMBER, VAT_NUMBER, UK_CONTACT_TYPE, UK_COMPANY_NUMBER
83 Value => 'MyExtraParamValue', # max: 2048
84  
85 },
86 ...
87 ], # OPTIONAL
88 Fax => 'MyContactNumber', # max: 30; OPTIONAL
89 FirstName => 'MyContactName', # max: 255; OPTIONAL
90 LastName => 'MyContactName', # max: 255; OPTIONAL
91 OrganizationName => 'MyContactName', # max: 255; OPTIONAL
92 PhoneNumber => 'MyContactNumber', # max: 30; OPTIONAL
93 State => 'MyState', # max: 255; OPTIONAL
94 ZipCode => 'MyZipCode', # max: 255; OPTIONAL
95 },
96 TechContact => {
97 AddressLine1 => 'MyAddressLine', # max: 255; OPTIONAL
98 AddressLine2 => 'MyAddressLine', # max: 255; OPTIONAL
99 City => 'MyCity', # max: 255; OPTIONAL
100 ContactType => 'PERSON'
101 , # values: PERSON, COMPANY, ASSOCIATION, PUBLIC_BODY, RESELLER; OPTIONAL
102 CountryCode => 'AD'
103 , # values: AD, AE, AF, AG, AI, AL, AM, AN, AO, AQ, AR, AS, AT, AU, AW, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BL, BM, BN, BO, BR, BS, BT, BW, BY, BZ, CA, CC, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CX, CY, CZ, DE, DJ, DK, DM, DO, DZ, EC, EE, EG, ER, ES, ET, FI, FJ, FK, FM, FO, FR, GA, GB, GD, GE, GH, GI, GL, GM, GN, GQ, GR, GT, GU, GW, GY, HK, HN, HR, HT, HU, ID, IE, IL, IM, IN, IQ, IR, IS, IT, JM, JO, JP, KE, KG, KH, KI, KM, KN, KP, KR, KW, KY, KZ, LA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY, MA, MC, MD, ME, MF, MG, MH, MK, ML, MM, MN, MO, MP, MR, MS, MT, MU, MV, MW, MX, MY, MZ, NA, NC, NE, NG, NI, NL, NO, NP, NR, NU, NZ, OM, PA, PE, PF, PG, PH, PK, PL, PM, PN, PR, PT, PW, PY, QA, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SH, SI, SK, SL, SM, SN, SO, SR, ST, SV, SY, SZ, TC, TD, TG, TH, TJ, TK, TL, TM, TN, TO, TR, TT, TV, TW, TZ, UA, UG, US, UY, UZ, VA, VC, VE, VG, VI, VN, VU, WF, WS, YE, YT, ZA, ZM, ZW; OPTIONAL
104 Email => 'MyEmail', # max: 254; OPTIONAL
105 ExtraParams => [
106 {
107 Name => 'DUNS_NUMBER'
108 , # values: DUNS_NUMBER, BRAND_NUMBER, BIRTH_DEPARTMENT, BIRTH_DATE_IN_YYYY_MM_DD, BIRTH_COUNTRY, BIRTH_CITY, DOCUMENT_NUMBER, AU_ID_NUMBER, AU_ID_TYPE, CA_LEGAL_TYPE, CA_BUSINESS_ENTITY_TYPE, CA_LEGAL_REPRESENTATIVE, CA_LEGAL_REPRESENTATIVE_CAPACITY, ES_IDENTIFICATION, ES_IDENTIFICATION_TYPE, ES_LEGAL_FORM, FI_BUSINESS_NUMBER, FI_ID_NUMBER, FI_NATIONALITY, FI_ORGANIZATION_TYPE, IT_NATIONALITY, IT_PIN, IT_REGISTRANT_ENTITY_TYPE, RU_PASSPORT_DATA, SE_ID_NUMBER, SG_ID_NUMBER, VAT_NUMBER, UK_CONTACT_TYPE, UK_COMPANY_NUMBER
109 Value => 'MyExtraParamValue', # max: 2048
110  
111 },
112 ...
113 ], # OPTIONAL
114 Fax => 'MyContactNumber', # max: 30; OPTIONAL
115 FirstName => 'MyContactName', # max: 255; OPTIONAL
116 LastName => 'MyContactName', # max: 255; OPTIONAL
117 OrganizationName => 'MyContactName', # max: 255; OPTIONAL
118 PhoneNumber => 'MyContactNumber', # max: 30; OPTIONAL
119 State => 'MyState', # max: 255; OPTIONAL
120 ZipCode => 'MyZipCode', # max: 255; OPTIONAL
121 },
122 AuthCode => 'MyDomainAuthCode', # OPTIONAL
123 AutoRenew => 1, # OPTIONAL
124 IdnLangCode => 'MyLangCode', # OPTIONAL
125 Nameservers => [
126 {
127 Name => 'MyHostName', # max: 255
128 GlueIps => [
129 'MyGlueIp', ... # max: 45
130 ], # OPTIONAL
131 },
132 ...
133 ], # OPTIONAL
134 PrivacyProtectAdminContact => 1, # OPTIONAL
135 PrivacyProtectRegistrantContact => 1, # OPTIONAL
136 PrivacyProtectTechContact => 1, # OPTIONAL
137 );
138  
139 # Results:
140 my $OperationId = $TransferDomainResponse->OperationId;
141  
142 # Returns a L<Paws::Route53Domains::TransferDomainResponse> object.
143  
144 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.
145 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/route53domains/TransferDomain>
146  
147 =head1 ATTRIBUTES
148  
149  
150 =head2 B<REQUIRED> AdminContact => L<Paws::Route53Domains::ContactDetail>
151  
152 Provides detailed contact information.
153  
154  
155  
156 =head2 AuthCode => Str
157  
158 The authorization code for the domain. You get this value from the
159 current registrar.
160  
161  
162  
163 =head2 AutoRenew => Bool
164  
165 Indicates whether the domain will be automatically renewed (true) or
166 not (false). Autorenewal only takes effect after the account is
167 charged.
168  
169 Default: true
170  
171  
172  
173 =head2 B<REQUIRED> DomainName => Str
174  
175 The name of the domain that you want to transfer to Route 53. The
176 top-level domain (TLD), such as .com, must be a TLD that Route 53
177 supports. For a list of supported TLDs, see Domains that You Can
178 Register with Amazon Route 53
179 (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html)
180 in the I<Amazon Route 53 Developer Guide>.
181  
182 The domain name can contain only the following characters:
183  
184 =over
185  
186 =item *
187  
188 Letters a through z. Domain names are not case sensitive.
189  
190 =item *
191  
192 Numbers 0 through 9.
193  
194 =item *
195  
196 Hyphen (-). You can't specify a hyphen at the beginning or end of a
197 label.
198  
199 =item *
200  
201 Period (.) to separate the labels in the name, such as the C<.> in
202 C<example.com>.
203  
204 =back
205  
206  
207  
208  
209 =head2 B<REQUIRED> DurationInYears => Int
210  
211 The number of years that you want to register the domain for. Domains
212 are registered for a minimum of one year. The maximum period depends on
213 the top-level domain.
214  
215 Default: 1
216  
217  
218  
219 =head2 IdnLangCode => Str
220  
221 Reserved for future use.
222  
223  
224  
225 =head2 Nameservers => ArrayRef[L<Paws::Route53Domains::Nameserver>]
226  
227 Contains details for the host and glue IP addresses.
228  
229  
230  
231 =head2 PrivacyProtectAdminContact => Bool
232  
233 Whether you want to conceal contact information from WHOIS queries. If
234 you specify C<true>, WHOIS ("who is") queries return contact
235 information either for Amazon Registrar (for .com, .net, and .org
236 domains) or for our registrar associate, Gandi (for all other TLDs). If
237 you specify C<false>, WHOIS queries return the information that you
238 entered for the admin contact.
239  
240 Default: C<true>
241  
242  
243  
244 =head2 PrivacyProtectRegistrantContact => Bool
245  
246 Whether you want to conceal contact information from WHOIS queries. If
247 you specify C<true>, WHOIS ("who is") queries return contact
248 information either for Amazon Registrar (for .com, .net, and .org
249 domains) or for our registrar associate, Gandi (for all other TLDs). If
250 you specify C<false>, WHOIS queries return the information that you
251 entered for the registrant contact (domain owner).
252  
253 Default: C<true>
254  
255  
256  
257 =head2 PrivacyProtectTechContact => Bool
258  
259 Whether you want to conceal contact information from WHOIS queries. If
260 you specify C<true>, WHOIS ("who is") queries return contact
261 information either for Amazon Registrar (for .com, .net, and .org
262 domains) or for our registrar associate, Gandi (for all other TLDs). If
263 you specify C<false>, WHOIS queries return the information that you
264 entered for the technical contact.
265  
266 Default: C<true>
267  
268  
269  
270 =head2 B<REQUIRED> RegistrantContact => L<Paws::Route53Domains::ContactDetail>
271  
272 Provides detailed contact information.
273  
274  
275  
276 =head2 B<REQUIRED> TechContact => L<Paws::Route53Domains::ContactDetail>
277  
278 Provides detailed contact information.
279  
280  
281  
282  
283 =head1 SEE ALSO
284  
285 This class forms part of L<Paws>, documenting arguments for method TransferDomain in L<Paws::Route53Domains>
286  
287 =head1 BUGS and CONTRIBUTIONS
288  
289 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
290  
291 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
292  
293 =cut
294