Skip to content

/AWS1/CL_IOT=>SETV2LOGGINGOPTIONS()

About SetV2LoggingOptions

Sets the logging options for the V2 logging service.

Requires permission to access the SetV2LoggingOptions action.

Method Signature

IMPORTING

Optional arguments:

IV_ROLEARN TYPE /AWS1/IOTAWSARN /AWS1/IOTAWSARN

The ARN of the role that allows IoT to write to Cloudwatch logs.

IV_DEFAULTLOGLEVEL TYPE /AWS1/IOTLOGLEVEL /AWS1/IOTLOGLEVEL

The default logging level.

IV_DISABLEALLLOGS TYPE /AWS1/IOTDISABLEALLLOGS /AWS1/IOTDISABLEALLLOGS

If true all logs are disabled. The default is false.