Class: Aws::IoT::Types::SetV2LoggingOptionsRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iot/types.rb

Overview

Note:

When making an API call, you may pass SetV2LoggingOptionsRequest data as a hash:

{
  role_arn: "AwsArn",
  default_log_level: "DEBUG", # accepts DEBUG, INFO, ERROR, WARN, DISABLED
  disable_all_logs: false,
}

Instance Attribute Summary collapse

Instance Attribute Details

#default_log_levelString

The default logging level.



9318
9319
9320
9321
9322
9323
# File 'lib/aws-sdk-iot/types.rb', line 9318

class SetV2LoggingOptionsRequest < Struct.new(
  :role_arn,
  :default_log_level,
  :disable_all_logs)
  include Aws::Structure
end

#disable_all_logsBoolean

If true all logs are disabled. The default is false.



9318
9319
9320
9321
9322
9323
# File 'lib/aws-sdk-iot/types.rb', line 9318

class SetV2LoggingOptionsRequest < Struct.new(
  :role_arn,
  :default_log_level,
  :disable_all_logs)
  include Aws::Structure
end

#role_arnString

The ARN of the role that allows IoT to write to Cloudwatch logs.



9318
9319
9320
9321
9322
9323
# File 'lib/aws-sdk-iot/types.rb', line 9318

class SetV2LoggingOptionsRequest < Struct.new(
  :role_arn,
  :default_log_level,
  :disable_all_logs)
  include Aws::Structure
end