/AWS1/IF_MA2=>UPDATEAUTOMATEDDISCOVERYCONF()¶
About UpdateAutomatedDiscoveryConfiguration¶
Changes the configuration settings and status of automated sensitive data discovery for an organization or standalone account.
Method Signature¶
METHODS /AWS1/IF_MA2~UPDATEAUTOMATEDDISCOVERYCONF
  IMPORTING
    !IV_AUTOENABLEORGMEMBERS TYPE /AWS1/MA2AUTOENABLEMODE OPTIONAL
    !IV_STATUS TYPE /AWS1/MA2AUTOMATEDDISCOVERYS00 OPTIONAL
  PREFERRED PARAMETER iv_status
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_ma2upautomateddisco01
  RAISING
    /AWS1/CX_MA2ACCESSDENIEDEX
    /AWS1/CX_MA2INTERNALSERVEREX
    /AWS1/CX_MA2THROTTLINGEX
    /AWS1/CX_MA2VALIDATIONEX
    /AWS1/CX_MA2CLIENTEXC
    /AWS1/CX_MA2SERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_status TYPE /AWS1/MA2AUTOMATEDDISCOVERYS00 /AWS1/MA2AUTOMATEDDISCOVERYS00¶
The new status of automated sensitive data discovery for the organization or account. Valid values are: ENABLED, start or resume all automated sensitive data discovery activities; and, DISABLED, stop performing all automated sensitive data discovery activities.
If you specify DISABLED for an administrator account, you also disable automated sensitive data discovery for all member accounts in the organization.
Optional arguments:¶
iv_autoenableorgmembers TYPE /AWS1/MA2AUTOENABLEMODE /AWS1/MA2AUTOENABLEMODE¶
Specifies whether to automatically enable automated sensitive data discovery for accounts in the organization. Valid values are: ALL (default), enable it for all existing accounts and new member accounts; NEW, enable it only for new member accounts; and, NONE, don't enable it for any accounts.
If you specify NEW or NONE, automated sensitive data discovery continues to be enabled for any existing accounts that it's currently enabled for. To enable or disable it for individual member accounts, specify NEW or NONE, and then enable or disable it for each account by using the BatchUpdateAutomatedDiscoveryAccounts operation.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_ma2upautomateddisco01 /AWS1/CL_MA2UPAUTOMATEDDISCO01¶
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->updateautomateddiscoveryconf(
  iv_autoenableorgmembers = |string|
  iv_status = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.