/AWS1/IF_MA2=>UPDSENSITIVITYINSPECTIONTMPL()¶
About UpdateSensitivityInspectionTemplate¶
Updates the settings for the sensitivity inspection template for an account.
Method Signature¶
METHODS /AWS1/IF_MA2~UPDSENSITIVITYINSPECTIONTMPL
  IMPORTING
    !IV_DESCRIPTION TYPE /AWS1/MA2__STRING OPTIONAL
    !IO_EXCLUDES TYPE REF TO /AWS1/CL_MA2SENSITIVITYINSPE00 OPTIONAL
    !IV_ID TYPE /AWS1/MA2__STRING OPTIONAL
    !IO_INCLUDES TYPE REF TO /AWS1/CL_MA2SENSITIVITYINSPE01 OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_ma2upsensitivityins01
  RAISING
    /AWS1/CX_MA2ACCESSDENIEDEX
    /AWS1/CX_MA2INTERNALSERVEREX
    /AWS1/CX_MA2RESOURCENOTFOUNDEX
    /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_id TYPE /AWS1/MA2__STRING /AWS1/MA2__STRING¶
The unique identifier for the Amazon Macie resource that the request applies to.
Optional arguments:¶
iv_description TYPE /AWS1/MA2__STRING /AWS1/MA2__STRING¶
A custom description of the template. The description can contain as many as 200 characters.
io_excludes TYPE REF TO /AWS1/CL_MA2SENSITIVITYINSPE00 /AWS1/CL_MA2SENSITIVITYINSPE00¶
The managed data identifiers to explicitly exclude (not use) when performing automated sensitive data discovery.
To exclude an allow list or custom data identifier that's currently included by the template, update the values for the SensitivityInspectionTemplateIncludes.allowListIds and SensitivityInspectionTemplateIncludes.customDataIdentifierIds properties, respectively.
io_includes TYPE REF TO /AWS1/CL_MA2SENSITIVITYINSPE01 /AWS1/CL_MA2SENSITIVITYINSPE01¶
The allow lists, custom data identifiers, and managed data identifiers to explicitly include (use) when performing automated sensitive data discovery.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_ma2upsensitivityins01 /AWS1/CL_MA2UPSENSITIVITYINS01¶
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->updsensitivityinspectiontmpl(
  io_excludes = new /aws1/cl_ma2sensitivityinspe00(
    it_manageddataidentifierids = VALUE /aws1/cl_ma2__listof__string_w=>tt___listof__string(
      ( new /aws1/cl_ma2__listof__string_w( |string| ) )
    )
  )
  io_includes = new /aws1/cl_ma2sensitivityinspe01(
    it_allowlistids = VALUE /aws1/cl_ma2__listof__string_w=>tt___listof__string(
      ( new /aws1/cl_ma2__listof__string_w( |string| ) )
    )
    it_customdataidentifierids = VALUE /aws1/cl_ma2__listof__string_w=>tt___listof__string(
      ( new /aws1/cl_ma2__listof__string_w( |string| ) )
    )
    it_manageddataidentifierids = VALUE /aws1/cl_ma2__listof__string_w=>tt___listof__string(
      ( new /aws1/cl_ma2__listof__string_w( |string| ) )
    )
  )
  iv_description = |string|
  iv_id = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.