IoT.Client.
get_v2_logging_options
()¶Gets the fine grained logging options.
Requires permission to access the GetV2LoggingOptions action.
See also: AWS API Documentation
Request Syntax
response = client.get_v2_logging_options()
{
'roleArn': 'string',
'defaultLogLevel': 'DEBUG'|'INFO'|'ERROR'|'WARN'|'DISABLED',
'disableAllLogs': True|False
}
Response Structure
The IAM role ARN IoT uses to write to your CloudWatch logs.
The default log level.
Disables all logs.
Exceptions
IoT.Client.exceptions.InternalException
IoT.Client.exceptions.NotConfiguredException
IoT.Client.exceptions.ServiceUnavailableException