libZSservicesZSamazonka-iot-analyticsZSamazonka-iot-analytics
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoTAnalytics.Types.LoggingOptions

Description

 
Synopsis

Documentation

data LoggingOptions Source #

Information about logging options.

See: newLoggingOptions smart constructor.

Constructors

LoggingOptions' 

Fields

  • roleArn :: Text

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

  • level :: LoggingLevel

    The logging level. Currently, only ERROR is supported.

  • enabled :: Bool

    If true, logging is enabled for IoT Analytics.

Instances

Instances details
Eq LoggingOptions Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.LoggingOptions

Read LoggingOptions Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.LoggingOptions

Show LoggingOptions Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.LoggingOptions

Generic LoggingOptions Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.LoggingOptions

Associated Types

type Rep LoggingOptions :: Type -> Type #

NFData LoggingOptions Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.LoggingOptions

Methods

rnf :: LoggingOptions -> () #

Hashable LoggingOptions Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.LoggingOptions

ToJSON LoggingOptions Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.LoggingOptions

FromJSON LoggingOptions Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.LoggingOptions

type Rep LoggingOptions Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.LoggingOptions

type Rep LoggingOptions = D1 ('MetaData "LoggingOptions" "Amazonka.IoTAnalytics.Types.LoggingOptions" "libZSservicesZSamazonka-iot-analyticsZSamazonka-iot-analytics" 'False) (C1 ('MetaCons "LoggingOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "level") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LoggingLevel) :*: S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))))

newLoggingOptions Source #

Create a value of LoggingOptions with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:roleArn:LoggingOptions', loggingOptions_roleArn - The ARN of the role that grants permission to IoT Analytics to perform logging.

$sel:level:LoggingOptions', loggingOptions_level - The logging level. Currently, only ERROR is supported.

$sel:enabled:LoggingOptions', loggingOptions_enabled - If true, logging is enabled for IoT Analytics.

loggingOptions_roleArn :: Lens' LoggingOptions Text Source #

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

loggingOptions_level :: Lens' LoggingOptions LoggingLevel Source #

The logging level. Currently, only ERROR is supported.

loggingOptions_enabled :: Lens' LoggingOptions Bool Source #

If true, logging is enabled for IoT Analytics.