/AWS1/IF_R5D=>UPDATEDOMAINNAMESERVERS()¶
About UpdateDomainNameservers¶
This operation replaces the current set of name servers for the domain with the specified set of name servers. If you use Amazon Route 53 as your DNS service, specify the four name servers in the delegation set for the hosted zone for the domain.
If successful, this operation 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 will be notified by email.
Method Signature¶
METHODS /AWS1/IF_R5D~UPDATEDOMAINNAMESERVERS
IMPORTING
!IV_DOMAINNAME TYPE /AWS1/R5DDOMAINNAME OPTIONAL
!IV_FIAUTHKEY TYPE /AWS1/R5DFIAUTHKEY OPTIONAL
!IT_NAMESERVERS TYPE /AWS1/CL_R5DNAMESERVER=>TT_NAMESERVERLIST OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_r5dupdomnameservers01
RAISING
/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 name of the domain that you want to change name servers for.
it_nameservers TYPE /AWS1/CL_R5DNAMESERVER=>TT_NAMESERVERLIST TT_NAMESERVERLIST¶
A list of new name servers for the domain.
Optional arguments:¶
iv_fiauthkey TYPE /AWS1/R5DFIAUTHKEY /AWS1/R5DFIAUTHKEY¶
The authorization key for .fi domains
RETURNING¶
oo_output TYPE REF TO /aws1/cl_r5dupdomnameservers01 /AWS1/CL_R5DUPDOMNAMESERVERS01¶
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->updatedomainnameservers(
it_nameservers = VALUE /aws1/cl_r5dnameserver=>tt_nameserverlist(
(
new /aws1/cl_r5dnameserver(
it_glueips = VALUE /aws1/cl_r5dglueiplist_w=>tt_glueiplist(
( new /aws1/cl_r5dglueiplist_w( |string| ) )
)
iv_name = |string|
)
)
)
iv_domainname = |string|
iv_fiauthkey = |string|
).
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.