amazonka-rum-2.0: Amazon CloudWatch RUM SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Rum.Types.MetricDestinationSummary

Description

 
Synopsis

Documentation

data MetricDestinationSummary Source #

A structure that displays information about one destination that CloudWatch RUM sends extended metrics to.

See: newMetricDestinationSummary smart constructor.

Constructors

MetricDestinationSummary' 

Fields

  • destination :: Maybe MetricDestination

    Specifies whether the destination is CloudWatch or Evidently.

  • destinationArn :: Maybe Text

    If the destination is Evidently, this specifies the ARN of the Evidently experiment that receives the metrics.

  • iamRoleArn :: Maybe Text

    This field appears only when the destination is Evidently. It specifies the ARN of the IAM role that is used to write to the Evidently experiment that receives the metrics.

Instances

Instances details
FromJSON MetricDestinationSummary Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestinationSummary

Generic MetricDestinationSummary Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestinationSummary

Associated Types

type Rep MetricDestinationSummary :: Type -> Type #

Read MetricDestinationSummary Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestinationSummary

Show MetricDestinationSummary Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestinationSummary

NFData MetricDestinationSummary Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestinationSummary

Eq MetricDestinationSummary Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestinationSummary

Hashable MetricDestinationSummary Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestinationSummary

type Rep MetricDestinationSummary Source # 
Instance details

Defined in Amazonka.Rum.Types.MetricDestinationSummary

type Rep MetricDestinationSummary = D1 ('MetaData "MetricDestinationSummary" "Amazonka.Rum.Types.MetricDestinationSummary" "amazonka-rum-2.0-2UnkV4TSIBwJW5RXOw3bOY" 'False) (C1 ('MetaCons "MetricDestinationSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "destination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MetricDestination)) :*: (S1 ('MetaSel ('Just "destinationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "iamRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newMetricDestinationSummary :: MetricDestinationSummary Source #

Create a value of MetricDestinationSummary 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:destination:MetricDestinationSummary', metricDestinationSummary_destination - Specifies whether the destination is CloudWatch or Evidently.

$sel:destinationArn:MetricDestinationSummary', metricDestinationSummary_destinationArn - If the destination is Evidently, this specifies the ARN of the Evidently experiment that receives the metrics.

$sel:iamRoleArn:MetricDestinationSummary', metricDestinationSummary_iamRoleArn - This field appears only when the destination is Evidently. It specifies the ARN of the IAM role that is used to write to the Evidently experiment that receives the metrics.

metricDestinationSummary_destination :: Lens' MetricDestinationSummary (Maybe MetricDestination) Source #

Specifies whether the destination is CloudWatch or Evidently.

metricDestinationSummary_destinationArn :: Lens' MetricDestinationSummary (Maybe Text) Source #

If the destination is Evidently, this specifies the ARN of the Evidently experiment that receives the metrics.

metricDestinationSummary_iamRoleArn :: Lens' MetricDestinationSummary (Maybe Text) Source #

This field appears only when the destination is Evidently. It specifies the ARN of the IAM role that is used to write to the Evidently experiment that receives the metrics.