Skip to content

/AWS1/IF_AMP=>DELETEANOMALYDETECTOR()

About DeleteAnomalyDetector

Removes an anomaly detector from a workspace. This operation is idempotent.

Method Signature

METHODS /AWS1/IF_AMP~DELETEANOMALYDETECTOR
  IMPORTING
    !IV_WORKSPACEID TYPE /AWS1/AMPWORKSPACEID OPTIONAL
    !IV_ANOMALYDETECTORID TYPE /AWS1/AMPANOMALYDETECTORID OPTIONAL
    !IV_CLIENTTOKEN TYPE /AWS1/AMPIDEMPOTENCYTOKEN OPTIONAL
  RAISING
    /AWS1/CX_AMPACCESSDENIEDEX
    /AWS1/CX_AMPCONFLICTEXCEPTION
    /AWS1/CX_AMPINTERNALSERVEREX
    /AWS1/CX_AMPRESOURCENOTFOUNDEX
    /AWS1/CX_AMPTHROTTLINGEX
    /AWS1/CX_AMPVALIDATIONEX
    /AWS1/CX_AMPCLIENTEXC
    /AWS1/CX_AMPSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_workspaceid TYPE /AWS1/AMPWORKSPACEID /AWS1/AMPWORKSPACEID

The identifier of the workspace containing the anomaly detector to delete.

iv_anomalydetectorid TYPE /AWS1/AMPANOMALYDETECTORID /AWS1/AMPANOMALYDETECTORID

The identifier of the anomaly detector to delete.

Optional arguments:

iv_clienttoken TYPE /AWS1/AMPIDEMPOTENCYTOKEN /AWS1/AMPIDEMPOTENCYTOKEN

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

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->deleteanomalydetector(
  iv_anomalydetectorid = |string|
  iv_clienttoken = |string|
  iv_workspaceid = |string|
).