libZSservicesZSamazonka-iotthingsgraphZSamazonka-iotthingsgraph
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.IoTThingsGraph.Types.MetricsConfiguration

Description

 
Synopsis

Documentation

data MetricsConfiguration Source #

An object that specifies whether cloud metrics are collected in a deployment and, if so, what role is used to collect metrics.

See: newMetricsConfiguration smart constructor.

Constructors

MetricsConfiguration' 

Fields

Instances

Instances details
Eq MetricsConfiguration Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.MetricsConfiguration

Read MetricsConfiguration Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.MetricsConfiguration

Show MetricsConfiguration Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.MetricsConfiguration

Generic MetricsConfiguration Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.MetricsConfiguration

Associated Types

type Rep MetricsConfiguration :: Type -> Type #

NFData MetricsConfiguration Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.MetricsConfiguration

Methods

rnf :: MetricsConfiguration -> () #

Hashable MetricsConfiguration Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.MetricsConfiguration

ToJSON MetricsConfiguration Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.MetricsConfiguration

FromJSON MetricsConfiguration Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.MetricsConfiguration

type Rep MetricsConfiguration Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.MetricsConfiguration

type Rep MetricsConfiguration = D1 ('MetaData "MetricsConfiguration" "Amazonka.IoTThingsGraph.Types.MetricsConfiguration" "libZSservicesZSamazonka-iotthingsgraphZSamazonka-iotthingsgraph" 'False) (C1 ('MetaCons "MetricsConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cloudMetricEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "metricRuleRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newMetricsConfiguration :: MetricsConfiguration Source #

Create a value of MetricsConfiguration 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:cloudMetricEnabled:MetricsConfiguration', metricsConfiguration_cloudMetricEnabled - A Boolean that specifies whether cloud metrics are collected.

$sel:metricRuleRoleArn:MetricsConfiguration', metricsConfiguration_metricRuleRoleArn - The ARN of the role that is used to collect cloud metrics.

metricsConfiguration_cloudMetricEnabled :: Lens' MetricsConfiguration (Maybe Bool) Source #

A Boolean that specifies whether cloud metrics are collected.

metricsConfiguration_metricRuleRoleArn :: Lens' MetricsConfiguration (Maybe Text) Source #

The ARN of the role that is used to collect cloud metrics.