libZSservicesZSamazonka-xrayZSamazonka-xray
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.XRay.Types.InsightsConfiguration

Description

 
Synopsis

Documentation

data InsightsConfiguration Source #

The structure containing configurations related to insights.

See: newInsightsConfiguration smart constructor.

Constructors

InsightsConfiguration' 

Fields

  • notificationsEnabled :: Maybe Bool

    Set the NotificationsEnabled value to true to enable insights notifications. Notifications can only be enabled on a group with InsightsEnabled set to true.

  • insightsEnabled :: Maybe Bool

    Set the InsightsEnabled value to true to enable insights or false to disable insights.

Instances

Instances details
Eq InsightsConfiguration Source # 
Instance details

Defined in Amazonka.XRay.Types.InsightsConfiguration

Read InsightsConfiguration Source # 
Instance details

Defined in Amazonka.XRay.Types.InsightsConfiguration

Show InsightsConfiguration Source # 
Instance details

Defined in Amazonka.XRay.Types.InsightsConfiguration

Generic InsightsConfiguration Source # 
Instance details

Defined in Amazonka.XRay.Types.InsightsConfiguration

Associated Types

type Rep InsightsConfiguration :: Type -> Type #

NFData InsightsConfiguration Source # 
Instance details

Defined in Amazonka.XRay.Types.InsightsConfiguration

Methods

rnf :: InsightsConfiguration -> () #

Hashable InsightsConfiguration Source # 
Instance details

Defined in Amazonka.XRay.Types.InsightsConfiguration

ToJSON InsightsConfiguration Source # 
Instance details

Defined in Amazonka.XRay.Types.InsightsConfiguration

FromJSON InsightsConfiguration Source # 
Instance details

Defined in Amazonka.XRay.Types.InsightsConfiguration

type Rep InsightsConfiguration Source # 
Instance details

Defined in Amazonka.XRay.Types.InsightsConfiguration

type Rep InsightsConfiguration = D1 ('MetaData "InsightsConfiguration" "Amazonka.XRay.Types.InsightsConfiguration" "libZSservicesZSamazonka-xrayZSamazonka-xray" 'False) (C1 ('MetaCons "InsightsConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "notificationsEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "insightsEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newInsightsConfiguration :: InsightsConfiguration Source #

Create a value of InsightsConfiguration 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:notificationsEnabled:InsightsConfiguration', insightsConfiguration_notificationsEnabled - Set the NotificationsEnabled value to true to enable insights notifications. Notifications can only be enabled on a group with InsightsEnabled set to true.

$sel:insightsEnabled:InsightsConfiguration', insightsConfiguration_insightsEnabled - Set the InsightsEnabled value to true to enable insights or false to disable insights.

insightsConfiguration_notificationsEnabled :: Lens' InsightsConfiguration (Maybe Bool) Source #

Set the NotificationsEnabled value to true to enable insights notifications. Notifications can only be enabled on a group with InsightsEnabled set to true.

insightsConfiguration_insightsEnabled :: Lens' InsightsConfiguration (Maybe Bool) Source #

Set the InsightsEnabled value to true to enable insights or false to disable insights.