Skip to content

/AWS1/CL_IOA=>PUTLOGGINGOPTIONS()

About PutLoggingOptions

Sets or updates the IoT Analytics logging options.

If you update the value of any loggingOptions field, it takes up to one minute for the change to take effect. Also, if you change the policy attached to the role you specified in the roleArn field (for example, to correct an invalid policy), it takes up to five minutes for that change to take effect.

Method Signature

IMPORTING

Required arguments:

io_loggingoptions TYPE REF TO /AWS1/CL_IOALOGGINGOPTIONS /AWS1/CL_IOALOGGINGOPTIONS

The new values of the IoT Analytics logging options.

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->/aws1/if_ioa~putloggingoptions(
  io_loggingoptions = new /aws1/cl_ioaloggingoptions(
    iv_enabled = ABAP_TRUE
    iv_level = |string|
    iv_rolearn = |string|
  )
).