Class: Aws::IoTEvents::Types::LoggingOptions

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb

Overview

Note:

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

{
  role_arn: "AmazonResourceName", # required
  level: "ERROR", # required, accepts ERROR, INFO, DEBUG
  enabled: false, # required
  detector_debug_options: [
    {
      detector_model_name: "DetectorModelName", # required
      key_value: "KeyValue",
    },
  ],
}

The values of the AWS IoT Events logging options.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#detector_debug_optionsArray<Types::DetectorDebugOption>

Information that identifies those detector models and their detectors (instances) for which the logging level is given.

Returns:



2694
2695
2696
2697
2698
2699
2700
2701
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb', line 2694

class LoggingOptions < Struct.new(
  :role_arn,
  :level,
  :enabled,
  :detector_debug_options)
  SENSITIVE = []
  include Aws::Structure
end

#enabledBoolean

If TRUE, logging is enabled for AWS IoT Events.

Returns:

  • (Boolean)


2694
2695
2696
2697
2698
2699
2700
2701
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb', line 2694

class LoggingOptions < Struct.new(
  :role_arn,
  :level,
  :enabled,
  :detector_debug_options)
  SENSITIVE = []
  include Aws::Structure
end

#levelString

The logging level.

Returns:

  • (String)


2694
2695
2696
2697
2698
2699
2700
2701
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb', line 2694

class LoggingOptions < Struct.new(
  :role_arn,
  :level,
  :enabled,
  :detector_debug_options)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

The ARN of the role that grants permission to AWS IoT Events to perform logging.

Returns:

  • (String)


2694
2695
2696
2697
2698
2699
2700
2701
# File 'gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/types.rb', line 2694

class LoggingOptions < Struct.new(
  :role_arn,
  :level,
  :enabled,
  :detector_debug_options)
  SENSITIVE = []
  include Aws::Structure
end