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

Class: Aws::IoT::Types::SetV2LoggingLevelRequest

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 SetV2LoggingLevelRequest data as a hash:

{
  log_target: { # required
    target_type: "DEFAULT", # required, accepts DEFAULT, THING_GROUP
    target_name: "LogTargetName",
  },
  log_level: "DEBUG", # required, accepts DEBUG, INFO, ERROR, WARN, DISABLED
}

Instance Attribute Summary collapse

Instance Attribute Details

#log_levelString

The log level.

Returns:

  • (String)


6744
6745
6746
6747
6748
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 6744

class SetV2LoggingLevelRequest < Struct.new(
  :log_target,
  :log_level)
  include Aws::Structure
end

#log_targetTypes::LogTarget

The log target.

Returns:



6744
6745
6746
6747
6748
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 6744

class SetV2LoggingLevelRequest < Struct.new(
  :log_target,
  :log_level)
  include Aws::Structure
end