Skip to content

/AWS1/IF_TBD=>UPDATEMONITORSETTINGS()

About UpdateMonitorSettings

Updates the settings for a Deadline Cloud monitor. Keys present in the request are upserted; keys absent are left unchanged. Send an empty string value to delete a key.

Method Signature

METHODS /AWS1/IF_TBD~UPDATEMONITORSETTINGS
  IMPORTING
    !IV_MONITORID TYPE /AWS1/TBDMONITORID OPTIONAL
    !IT_SETTINGS TYPE /AWS1/CL_TBDSETTINGSMAP_W=>TT_SETTINGSMAP OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_tbdupdatemonistgsrsp
  RAISING
    /AWS1/CX_TBDACCESSDENIEDEX
    /AWS1/CX_TBDINTERNALSERVERER00
    /AWS1/CX_TBDRESOURCENOTFOUNDEX
    /AWS1/CX_TBDTHROTTLINGEX
    /AWS1/CX_TBDVALIDATIONEX
    /AWS1/CX_TBDCLIENTEXC
    /AWS1/CX_TBDSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_monitorid TYPE /AWS1/TBDMONITORID /AWS1/TBDMONITORID

The unique identifier of the monitor to update settings for.

it_settings TYPE /AWS1/CL_TBDSETTINGSMAP_W=>TT_SETTINGSMAP TT_SETTINGSMAP

Monitor settings as key-value pairs. Keys present in the request are upserted; keys absent are left unchanged. Send an empty string value to delete a key.

RETURNING

oo_output TYPE REF TO /aws1/cl_tbdupdatemonistgsrsp /AWS1/CL_TBDUPDATEMONISTGSRSP

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->updatemonitorsettings(
  it_settings = VALUE /aws1/cl_tbdsettingsmap_w=>tt_settingsmap(
    (
      VALUE /aws1/cl_tbdsettingsmap_w=>ts_settingsmap_maprow(
        key = |string|
        value = new /aws1/cl_tbdsettingsmap_w( |string| )
      )
    )
  )
  iv_monitorid = |string|
).

This is an example of reading all possible response values

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

Update monitor settings

Update monitor settings

DATA(lo_result) = lo_client->updatemonitorsettings(
  it_settings = VALUE /aws1/cl_tbdsettingsmap_w=>tt_settingsmap(
    (
      VALUE /aws1/cl_tbdsettingsmap_w=>ts_settingsmap_maprow(
        key = |idcApplicationArn|
        value = new /aws1/cl_tbdsettingsmap_w( |arn:aws:sso::123456789012:application/ins-1234567890abcdef/apl-1234567890abcdef| )
      )
    )
  )
  iv_monitorid = |monitor-1234567890abcdef1234567890abcdef|
).