v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-142381,278956.3 KB

Sets the logging options for the V2 logging service.

Requires permission to access the SetV2LoggingOptions action.

post/v2LoggingOptions

Request body

roleArnstring

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

defaultLogLevel'DEBUG' | 'INFO' | 'ERROR' | 'WARN' | 'DISABLED'

The default logging level.

disableAllLogsboolean

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

Response

Success