IoT.Client.
set_v2_logging_level
(**kwargs)¶Sets the logging level.
Requires permission to access the SetV2LoggingLevel action.
See also: AWS API Documentation
Request Syntax
response = client.set_v2_logging_level(
logTarget={
'targetType': 'DEFAULT'|'THING_GROUP'|'CLIENT_ID'|'SOURCE_IP'|'PRINCIPAL_ID',
'targetName': 'string'
},
logLevel='DEBUG'|'INFO'|'ERROR'|'WARN'|'DISABLED'
)
[REQUIRED]
The log target.
The target type.
The target name.
[REQUIRED]
The log level.
None
Exceptions
IoT.Client.exceptions.InternalException
IoT.Client.exceptions.NotConfiguredException
IoT.Client.exceptions.InvalidRequestException
IoT.Client.exceptions.ServiceUnavailableException
IoT.Client.exceptions.LimitExceededException