/AWS1/IF_PP2=>DELETENOTIFYCONFIGURATION()¶
About DeleteNotifyConfiguration¶
Deletes an existing notify configuration.
If deletion protection is enabled, an error is returned.
Method Signature¶
METHODS /AWS1/IF_PP2~DELETENOTIFYCONFIGURATION
IMPORTING
!IV_NOTIFYCONFIGURATIONID TYPE /AWS1/PP2NOTIFYCONFIDORARN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_pp2deletentfyconfrslt
RAISING
/AWS1/CX_PP2ACCESSDENIEDEX
/AWS1/CX_PP2CONFLICTEXCEPTION
/AWS1/CX_PP2INTERNALSERVEREX
/AWS1/CX_PP2RESOURCENOTFOUNDEX
/AWS1/CX_PP2THROTTLINGEX
/AWS1/CX_PP2VALIDATIONEX
/AWS1/CX_PP2CLIENTEXC
/AWS1/CX_PP2SERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_notifyconfigurationid TYPE /AWS1/PP2NOTIFYCONFIDORARN /AWS1/PP2NOTIFYCONFIDORARN¶
The identifier of the notify configuration to delete. The NotifyConfigurationId can be found using the DescribeNotifyConfigurations operation.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_pp2deletentfyconfrslt /AWS1/CL_PP2DELETENTFYCONFRSLT¶
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->deletenotifyconfiguration( |string| ).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_notifyconfigurationarn = lo_result->get_notifyconfigurationarn( ).
lv_notifyconfigurationid = lo_result->get_notifyconfigurationid( ).
lv_notifyconfigurationdisp = lo_result->get_displayname( ).
lv_notifyconfigurationusec = lo_result->get_usecase( ).
lv_notifytemplateid = lo_result->get_defaulttemplateid( ).
lv_string = lo_result->get_poolid( ).
LOOP AT lo_result->get_enabledcountries( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_isocountrycode = lo_row_1->get_value( ).
ENDIF.
ENDLOOP.
LOOP AT lo_result->get_enabledchannels( ) into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
lv_numbercapability = lo_row_3->get_value( ).
ENDIF.
ENDLOOP.
lv_notifyconfigurationtier = lo_result->get_tier( ).
lv_tierupgradestatus = lo_result->get_tierupgradestatus( ).
lv_notifyconfigurationstat = lo_result->get_status( ).
lv_string = lo_result->get_rejectionreason( ).
lv_primitiveboolean = lo_result->get_deletionprotectionenbd( ).
lv_timestamp = lo_result->get_createdtimestamp( ).
ENDIF.
DeleteNotifyConfiguration¶
Delete an existing notify configuration.
DATA(lo_result) = lo_client->deletenotifyconfiguration( |nc-1234567890abcdef0| ).