IoT / Client / set_logging_options
set_logging_options#
- IoT.Client.set_logging_options(**kwargs)#
Sets the logging options.
NOTE: use of this command is not recommended. Use
SetV2LoggingOptions
instead.Requires permission to access the SetLoggingOptions action.
See also: AWS API Documentation
Request Syntax
response = client.set_logging_options( loggingOptionsPayload={ 'roleArn': 'string', 'logLevel': 'DEBUG'|'INFO'|'ERROR'|'WARN'|'DISABLED' } )
- Parameters:
loggingOptionsPayload (dict) –
[REQUIRED]
The logging options payload.
roleArn (string) – [REQUIRED]
The ARN of the IAM role that grants access.
logLevel (string) –
The log level.
- Returns:
None
Exceptions