/AWS1/IF_R5D=>REGISTERDOMAIN()¶
About RegisterDomain¶
This operation registers a domain. For some top-level domains (TLDs), this operation requires extra parameters.
When you register a domain, Amazon Route 53 does the following:
-
Creates a Route 53 hosted zone that has the same name as the domain. Route 53 assigns four name servers to your hosted zone and automatically updates your domain registration with the names of these name servers.
-
Enables auto renew, so your domain registration will renew automatically each year. We'll notify you in advance of the renewal date so you can choose whether to renew the registration.
-
Optionally enables privacy protection, so WHOIS queries return contact for the registrar or the phrase "REDACTED FOR PRIVACY", or "On behalf of
owner." If you don't enable privacy protection, WHOIS queries return the information that you entered for the administrative, registrant, and technical contacts. While some domains may allow different privacy settings per contact, we recommend specifying the same privacy setting for all contacts.
-
If registration is successful, returns an operation ID that you can use to track the progress and completion of the action. If the request is not completed successfully, the domain registrant is notified by email.
-
Charges your Amazon Web Services account an amount based on the top-level domain. For more information, see Amazon Route 53 Pricing.
Method Signature¶
METHODS /AWS1/IF_R5D~REGISTERDOMAIN
IMPORTING
!IV_DOMAINNAME TYPE /AWS1/R5DDOMAINNAME OPTIONAL
!IV_IDNLANGCODE TYPE /AWS1/R5DLANGCODE OPTIONAL
!IV_DURATIONINYEARS TYPE /AWS1/R5DDURATIONINYEARS OPTIONAL
!IV_AUTORENEW TYPE /AWS1/R5DBOOLEAN OPTIONAL
!IO_ADMINCONTACT TYPE REF TO /AWS1/CL_R5DCONTACTDETAIL OPTIONAL
!IO_REGISTRANTCONTACT TYPE REF TO /AWS1/CL_R5DCONTACTDETAIL OPTIONAL
!IO_TECHCONTACT TYPE REF TO /AWS1/CL_R5DCONTACTDETAIL OPTIONAL
!IV_PRIVACYPROTECTADMINCONT00 TYPE /AWS1/R5DBOOLEAN OPTIONAL
!IV_PRIVACYPROTECTREGISTRAN00 TYPE /AWS1/R5DBOOLEAN OPTIONAL
!IV_PRIVACYPROTECTTECHCONTACT TYPE /AWS1/R5DBOOLEAN OPTIONAL
!IO_BILLINGCONTACT TYPE REF TO /AWS1/CL_R5DCONTACTDETAIL OPTIONAL
!IV_PRIVACYPROTECTBLLCONTACT TYPE /AWS1/R5DBOOLEAN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_r5dregdomainresponse
RAISING
/AWS1/CX_R5DDOMAINLIMITEXCD
/AWS1/CX_R5DDUPLICATEREQUEST
/AWS1/CX_R5DINVALIDINPUT
/AWS1/CX_R5DOPLIMITEXCEEDED
/AWS1/CX_R5DTLDRULESVIOLATION
/AWS1/CX_R5DUNSUPPORTEDTLD
/AWS1/CX_R5DCLIENTEXC
/AWS1/CX_R5DSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_domainname TYPE /AWS1/R5DDOMAINNAME /AWS1/R5DDOMAINNAME¶
The domain name that you want to register. The top-level domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.
The domain name can contain only the following characters:
Letters a through z. Domain names are not case sensitive.
Numbers 0 through 9.
Hyphen (-). You can't specify a hyphen at the beginning or end of a label.
Period (.) to separate the labels in the name, such as the
.inexample.com.Internationalized domain names are not supported for some top-level domains. To determine whether the TLD that you want to use supports internationalized domain names, see Domains that You Can Register with Amazon Route 53. For more information, see Formatting Internationalized Domain Names.
iv_durationinyears TYPE /AWS1/R5DDURATIONINYEARS /AWS1/R5DDURATIONINYEARS¶
The number of years that you want to register the domain for. Domains are registered for a minimum of one year. The maximum period depends on the top-level domain. For the range of valid values for your domain, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.
Default: 1
io_admincontact TYPE REF TO /AWS1/CL_R5DCONTACTDETAIL /AWS1/CL_R5DCONTACTDETAIL¶
Provides detailed contact information. For information about the values that you specify for each element, see ContactDetail.
io_registrantcontact TYPE REF TO /AWS1/CL_R5DCONTACTDETAIL /AWS1/CL_R5DCONTACTDETAIL¶
Provides detailed contact information. For information about the values that you specify for each element, see ContactDetail.
io_techcontact TYPE REF TO /AWS1/CL_R5DCONTACTDETAIL /AWS1/CL_R5DCONTACTDETAIL¶
Provides detailed contact information. For information about the values that you specify for each element, see ContactDetail.
Optional arguments:¶
iv_idnlangcode TYPE /AWS1/R5DLANGCODE /AWS1/R5DLANGCODE¶
Reserved for future use.
iv_autorenew TYPE /AWS1/R5DBOOLEAN /AWS1/R5DBOOLEAN¶
Indicates whether the domain will be automatically renewed (
true) or not (false). Auto renewal only takes effect after the account is charged.Default:
true
iv_privacyprotectadmincont00 TYPE /AWS1/R5DBOOLEAN /AWS1/R5DBOOLEAN¶
Whether you want to conceal contact information from WHOIS queries. If you specify
true, WHOIS ("who is") queries return contact information either for Amazon Registrar or for our registrar associate, Gandi. If you specifyfalse, WHOIS queries return the information that you entered for the admin contact.You must specify the same privacy setting for the administrative, billing, registrant, and technical contacts.
Default:
true
iv_privacyprotectregistran00 TYPE /AWS1/R5DBOOLEAN /AWS1/R5DBOOLEAN¶
Whether you want to conceal contact information from WHOIS queries. If you specify
true, WHOIS ("who is") queries return contact information either for Amazon Registrar or for our registrar associate, Gandi. If you specifyfalse, WHOIS queries return the information that you entered for the registrant contact (the domain owner).You must specify the same privacy setting for the administrative, billing, registrant, and technical contacts.
Default:
true
iv_privacyprotecttechcontact TYPE /AWS1/R5DBOOLEAN /AWS1/R5DBOOLEAN¶
Whether you want to conceal contact information from WHOIS queries. If you specify
true, WHOIS ("who is") queries return contact information either for Amazon Registrar or for our registrar associate, Gandi. If you specifyfalse, WHOIS queries return the information that you entered for the technical contact.You must specify the same privacy setting for the administrative, billing, registrant, and technical contacts.
Default:
true
io_billingcontact TYPE REF TO /AWS1/CL_R5DCONTACTDETAIL /AWS1/CL_R5DCONTACTDETAIL¶
Provides detailed contact information. For information about the values that you specify for each element, see ContactDetail.
iv_privacyprotectbllcontact TYPE /AWS1/R5DBOOLEAN /AWS1/R5DBOOLEAN¶
Whether you want to conceal contact information from WHOIS queries. If you specify
true, WHOIS ("who is") queries return contact information either for Amazon Registrar or for our registrar associate, Gandi. If you specifyfalse, WHOIS queries return the information that you entered for the billing contact.You must specify the same privacy setting for the administrative, billing, registrant, and technical contacts.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_r5dregdomainresponse /AWS1/CL_R5DREGDOMAINRESPONSE¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->registerdomain(
io_admincontact = new /aws1/cl_r5dcontactdetail(
it_extraparams = VALUE /aws1/cl_r5dextraparam=>tt_extraparamlist(
(
new /aws1/cl_r5dextraparam(
iv_name = |string|
iv_value = |string|
)
)
)
iv_addressline1 = |string|
iv_addressline2 = |string|
iv_city = |string|
iv_contacttype = |string|
iv_countrycode = |string|
iv_email = |string|
iv_fax = |string|
iv_firstname = |string|
iv_lastname = |string|
iv_organizationname = |string|
iv_phonenumber = |string|
iv_state = |string|
iv_zipcode = |string|
)
io_billingcontact = new /aws1/cl_r5dcontactdetail(
it_extraparams = VALUE /aws1/cl_r5dextraparam=>tt_extraparamlist(
(
new /aws1/cl_r5dextraparam(
iv_name = |string|
iv_value = |string|
)
)
)
iv_addressline1 = |string|
iv_addressline2 = |string|
iv_city = |string|
iv_contacttype = |string|
iv_countrycode = |string|
iv_email = |string|
iv_fax = |string|
iv_firstname = |string|
iv_lastname = |string|
iv_organizationname = |string|
iv_phonenumber = |string|
iv_state = |string|
iv_zipcode = |string|
)
io_registrantcontact = new /aws1/cl_r5dcontactdetail(
it_extraparams = VALUE /aws1/cl_r5dextraparam=>tt_extraparamlist(
(
new /aws1/cl_r5dextraparam(
iv_name = |string|
iv_value = |string|
)
)
)
iv_addressline1 = |string|
iv_addressline2 = |string|
iv_city = |string|
iv_contacttype = |string|
iv_countrycode = |string|
iv_email = |string|
iv_fax = |string|
iv_firstname = |string|
iv_lastname = |string|
iv_organizationname = |string|
iv_phonenumber = |string|
iv_state = |string|
iv_zipcode = |string|
)
io_techcontact = new /aws1/cl_r5dcontactdetail(
it_extraparams = VALUE /aws1/cl_r5dextraparam=>tt_extraparamlist(
(
new /aws1/cl_r5dextraparam(
iv_name = |string|
iv_value = |string|
)
)
)
iv_addressline1 = |string|
iv_addressline2 = |string|
iv_city = |string|
iv_contacttype = |string|
iv_countrycode = |string|
iv_email = |string|
iv_fax = |string|
iv_firstname = |string|
iv_lastname = |string|
iv_organizationname = |string|
iv_phonenumber = |string|
iv_state = |string|
iv_zipcode = |string|
)
iv_autorenew = ABAP_TRUE
iv_domainname = |string|
iv_durationinyears = 123
iv_idnlangcode = |string|
iv_privacyprotectadmincont00 = ABAP_TRUE
iv_privacyprotectbllcontact = ABAP_TRUE
iv_privacyprotectregistran00 = ABAP_TRUE
iv_privacyprotecttechcontact = ABAP_TRUE
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_operationid = lo_result->get_operationid( ).
ENDIF.