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,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#default_log_levelString

The default logging level.

Returns:

  • (String)


16203
16204
16205
16206
16207
16208
16209
# File 'lib/aws-sdk-iot/types.rb', line 16203

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

#disable_all_logsBoolean

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

Returns:

  • (Boolean)


16203
16204
16205
16206
16207
16208
16209
# File 'lib/aws-sdk-iot/types.rb', line 16203

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

#role_arnString

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

Returns:

  • (String)


16203
16204
16205
16206
16207
16208
16209
# File 'lib/aws-sdk-iot/types.rb', line 16203

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