/AWS1/IF_R5P=>DELETEPROFILE()¶
About DeleteProfile¶
Deletes the specified Route 53 Profile. Before you can delete a profile, you must first disassociate it from all VPCs.
Method Signature¶
METHODS /AWS1/IF_R5P~DELETEPROFILE
IMPORTING
!IV_PROFILEID TYPE /AWS1/R5PRESOURCEID OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_r5pdeleteprofilersp
RAISING
/AWS1/CX_R5PACCESSDENIEDEX
/AWS1/CX_R5PCONFLICTEXCEPTION
/AWS1/CX_R5PRESOURCENOTFOUNDEX
/AWS1/CX_R5PTHROTTLINGEX
/AWS1/CX_R5PVALIDATIONEX
/AWS1/CX_R5PCLIENTEXC
/AWS1/CX_R5PSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_profileid TYPE /AWS1/R5PRESOURCEID /AWS1/R5PRESOURCEID¶
The ID of the Profile that you want to delete.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_r5pdeleteprofilersp /AWS1/CL_R5PDELETEPROFILERSP¶
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->deleteprofile( |string| ).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lo_profile = lo_result->get_profile( ).
IF lo_profile IS NOT INITIAL.
lv_resourceid = lo_profile->get_id( ).
lv_arn = lo_profile->get_arn( ).
lv_name = lo_profile->get_name( ).
lv_accountid = lo_profile->get_ownerid( ).
lv_profilestatus = lo_profile->get_status( ).
lv_string = lo_profile->get_statusmessage( ).
lv_sharestatus = lo_profile->get_sharestatus( ).
lv_rfc3339timestamp = lo_profile->get_creationtime( ).
lv_rfc3339timestamp = lo_profile->get_modificationtime( ).
lv_creatorrequestid = lo_profile->get_clienttoken( ).
ENDIF.
ENDIF.