You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iot/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.

Returns:

  • (String)


6449
6450
6451
6452
6453
6454
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 6449

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

#disable_all_logsBoolean

Set to true to disable all logs, otherwise set to false.

Returns:

  • (Boolean)


6449
6450
6451
6452
6453
6454
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 6449

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

#role_arnString

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

Returns:

  • (String)


6449
6450
6451
6452
6453
6454
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 6449

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