list_v2_logging_levels
(**kwargs)¶Lists logging levels.
Requires permission to access the ListV2LoggingLevels action.
See also: AWS API Documentation
Request Syntax
response = client.list_v2_logging_levels(
targetType='DEFAULT'|'THING_GROUP'|'CLIENT_ID'|'SOURCE_IP'|'PRINCIPAL_ID',
nextToken='string',
maxResults=123
)
THING_Group
.nextToken
value from a previous response; otherwise null to receive the first set of results.dict
Response Syntax
{
'logTargetConfigurations': [
{
'logTarget': {
'targetType': 'DEFAULT'|'THING_GROUP'|'CLIENT_ID'|'SOURCE_IP'|'PRINCIPAL_ID',
'targetName': 'string'
},
'logLevel': 'DEBUG'|'INFO'|'ERROR'|'WARN'|'DISABLED'
},
],
'nextToken': 'string'
}
Response Structure
(dict) --
logTargetConfigurations (list) --
The logging configuration for a target.
(dict) --
The target configuration.
logTarget (dict) --
A log target
targetType (string) --
The target type.
targetName (string) --
The target name.
logLevel (string) --
The logging level.
nextToken (string) --
The token to use to get the next set of results, or null if there are no additional results.
Exceptions
IoT.Client.exceptions.InternalException
IoT.Client.exceptions.NotConfiguredException
IoT.Client.exceptions.InvalidRequestException
IoT.Client.exceptions.ServiceUnavailableException