Skip to content

/AWS1/IF_UNT=>UPDATEMANAGEDNOTIFCHNLASSOC()

About UpdateManagedNotificationChannelAssociation

Updates the isSensitiveEventsSubscribed property of a particular ManagedNotification channel association.

Method Signature

METHODS /AWS1/IF_UNT~UPDATEMANAGEDNOTIFCHNLASSOC
  IMPORTING
    !IV_MANAGEDNOTIFCONFARN TYPE /AWS1/UNTMANAGEDNOTIFCONFOSARN OPTIONAL
    !IV_CHANNELIDENTIFIER TYPE /AWS1/UNTMANAGEDNOTIFCHANNELID OPTIONAL
    !IV_ISSENSITIVEEVENTSSUBD TYPE /AWS1/UNTBOOLEAN OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_untupmgdntfchnlascrsp
  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_managednotifconfarn TYPE /AWS1/UNTMANAGEDNOTIFCONFOSARN /AWS1/UNTMANAGEDNOTIFCONFOSARN

The Amazon Resource Name (ARN) of the ManagedNotificationConfiguration whose Channel association property you want to update.

iv_channelidentifier TYPE /AWS1/UNTMANAGEDNOTIFCHANNELID /AWS1/UNTMANAGEDNOTIFCHANNELID

The identifier of the channel association to update. You can specify one of the following:

  • An Account contact identifier.

  • A Channel ARN.

Optional arguments:

iv_issensitiveeventssubd TYPE /AWS1/UNTBOOLEAN /AWS1/UNTBOOLEAN

Specifies whether the association is subscribed to sensitive events. The notifications:SubscribeSensitiveEvents permission controls access to sensitive events.

RETURNING

oo_output TYPE REF TO /aws1/cl_untupmgdntfchnlascrsp /AWS1/CL_UNTUPMGDNTFCHNLASCRSP

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->updatemanagednotifchnlassoc(
  iv_channelidentifier = |string|
  iv_issensitiveeventssubd = ABAP_TRUE
  iv_managednotifconfarn = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.