/AWS1/IF_UNT=>DEREGISTERNOTIFICATIONHUB()¶
About DeregisterNotificationHub¶
Deregisters a NotificationConfiguration in the specified Region.
You can't deregister the last NotificationHub in the account. NotificationEvents stored in the deregistered NotificationConfiguration are no longer be visible. Recreating a new NotificationConfiguration in the same Region restores access to those NotificationEvents.
Method Signature¶
METHODS /AWS1/IF_UNT~DEREGISTERNOTIFICATIONHUB
IMPORTING
!IV_NOTIFICATIONHUBREGION TYPE /AWS1/UNTREGION OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_untderegnotifhubrsp
RAISING
/AWS1/CX_UNTACCESSDENIEDEX
/AWS1/CX_UNTCONFLICTEXCEPTION
/AWS1/CX_UNTINTERNALSERVEREX
/AWS1/CX_UNTRESOURCENOTFOUNDEX
/AWS1/CX_UNTTHROTTLINGEX
/AWS1/CX_UNTVALIDATIONEX
/AWS1/CX_UNTCLIENTEXC
/AWS1/CX_UNTSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_notificationhubregion TYPE /AWS1/UNTREGION /AWS1/UNTREGION¶
The
NotificationConfigurationRegion.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_untderegnotifhubrsp /AWS1/CL_UNTDEREGNOTIFHUBRSP¶
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->deregisternotificationhub( |string| ).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_region = lo_result->get_notificationhubregion( ).
lo_notificationhubstatussu = lo_result->get_statussummary( ).
IF lo_notificationhubstatussu IS NOT INITIAL.
lv_notificationhubstatus = lo_notificationhubstatussu->get_status( ).
lv_notificationhubstatusre = lo_notificationhubstatussu->get_reason( ).
ENDIF.
ENDIF.