/AWS1/IF_INS=>UNSUBSCRIBEFROMEVENT()¶
About UnsubscribeFromEvent¶
Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.
Method Signature¶
METHODS /AWS1/IF_INS~UNSUBSCRIBEFROMEVENT
IMPORTING
!IV_RESOURCEARN TYPE /AWS1/INSARN OPTIONAL
!IV_EVENT TYPE /AWS1/INSINSPECTOREVENT OPTIONAL
!IV_TOPICARN TYPE /AWS1/INSARN OPTIONAL
RAISING
/AWS1/CX_INSACCESSDENIEDEX
/AWS1/CX_INSINTERNALEXCEPTION
/AWS1/CX_INSINVALIDINPUTEX
/AWS1/CX_INSNOSUCHENTITYEX
/AWS1/CX_INSSVCTMPYUNAVAILEX
/AWS1/CX_INSCLIENTEXC
/AWS1/CX_INSSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_resourcearn TYPE /AWS1/INSARN /AWS1/INSARN¶
The ARN of the assessment template that is used during the event for which you want to stop receiving SNS notifications.
iv_event TYPE /AWS1/INSINSPECTOREVENT /AWS1/INSINSPECTOREVENT¶
The event for which you want to stop receiving SNS notifications.
iv_topicarn TYPE /AWS1/INSARN /AWS1/INSARN¶
The ARN of the SNS topic to which SNS notifications are sent.
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.
lo_client->unsubscribefromevent(
iv_event = |string|
iv_resourcearn = |string|
iv_topicarn = |string|
).
Unsubscribe from event¶
Disables the process of sending Amazon Simple Notification Service (SNS) notifications about a specified event to a specified SNS topic.
lo_client->unsubscribefromevent(
iv_event = |ASSESSMENT_RUN_COMPLETED|
iv_resourcearn = |arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-7sbz2Kz0|
iv_topicarn = |arn:aws:sns:us-west-2:123456789012:exampletopic|
).