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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing LoggingOptions as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

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:

  • (Array<Types::DetectorDebugOption>)

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

#enabledBoolean

If TRUE, logging is enabled for AWS IoT Events.

Returns:

  • (Boolean)

    If TRUE, logging is enabled for AWS IoT Events.

#levelString

The logging level.

Possible values:

  • ERROR
  • INFO
  • DEBUG

Returns:

  • (String)

    The logging level.

#role_arnString

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

Returns:

  • (String)

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