IoT / Client / get_v2_logging_options

get_v2_logging_options#

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()
Return type:

dict

Returns:

Response Syntax

{
    'roleArn': 'string',
    'defaultLogLevel': 'DEBUG'|'INFO'|'ERROR'|'WARN'|'DISABLED',
    'disableAllLogs': True|False
}

Response Structure

  • (dict) –

    • roleArn (string) –

      The IAM role ARN IoT uses to write to your CloudWatch logs.

    • defaultLogLevel (string) –

      The default log level.

    • disableAllLogs (boolean) –

      Disables all logs.

Exceptions