/AWS1/IF_R53=>UPDATEHOSTEDZONECOMMENT()¶
About UpdateHostedZoneComment¶
Updates the comment for a specified hosted zone.
Method Signature¶
METHODS /AWS1/IF_R53~UPDATEHOSTEDZONECOMMENT
IMPORTING
!IV_ID TYPE /AWS1/R53RESOURCEID OPTIONAL
!IV_COMMENT TYPE /AWS1/R53RESOURCEDESCRIPTION OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_r53uphostedzonecomm01
RAISING
/AWS1/CX_R53INVALIDINPUT
/AWS1/CX_R53NOSUCHHOSTEDZONE
/AWS1/CX_R53PRIORREQNOTCOMPL
/AWS1/CX_R53CLIENTEXC
/AWS1/CX_R53SERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_id TYPE /AWS1/R53RESOURCEID /AWS1/R53RESOURCEID¶
The ID for the hosted zone that you want to update the comment for.
Optional arguments:¶
iv_comment TYPE /AWS1/R53RESOURCEDESCRIPTION /AWS1/R53RESOURCEDESCRIPTION¶
The new comment for the hosted zone. If you don't specify a value for
Comment, Amazon Route 53 deletes the existing value of theCommentelement, if any.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_r53uphostedzonecomm01 /AWS1/CL_R53UPHOSTEDZONECOMM01¶
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->updatehostedzonecomment(
iv_comment = |string|
iv_id = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lo_hostedzone = lo_result->get_hostedzone( ).
IF lo_hostedzone IS NOT INITIAL.
lv_resourceid = lo_hostedzone->get_id( ).
lv_dnsname = lo_hostedzone->get_name( ).
lv_nonce = lo_hostedzone->get_callerreference( ).
lo_hostedzoneconfig = lo_hostedzone->get_config( ).
IF lo_hostedzoneconfig IS NOT INITIAL.
lv_resourcedescription = lo_hostedzoneconfig->get_comment( ).
lv_isprivatezone = lo_hostedzoneconfig->get_privatezone( ).
ENDIF.
lv_hostedzonerrsetcount = lo_hostedzone->get_resourcerecordsetcount( ).
lo_linkedservice = lo_hostedzone->get_linkedservice( ).
IF lo_linkedservice IS NOT INITIAL.
lv_serviceprincipal = lo_linkedservice->get_serviceprincipal( ).
lv_resourcedescription = lo_linkedservice->get_description( ).
ENDIF.
ENDIF.
ENDIF.