amazonka-quicksight-2.0: Amazon QuickSight 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.QuickSight.Types.Computation

Description

 
Synopsis

Documentation

data Computation Source #

The computation union that is used in an insight visual.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

See: newComputation smart constructor.

Constructors

Computation' 

Fields

Instances

Instances details
FromJSON Computation Source # 
Instance details

Defined in Amazonka.QuickSight.Types.Computation

ToJSON Computation Source # 
Instance details

Defined in Amazonka.QuickSight.Types.Computation

Generic Computation Source # 
Instance details

Defined in Amazonka.QuickSight.Types.Computation

Associated Types

type Rep Computation :: Type -> Type #

Show Computation Source # 
Instance details

Defined in Amazonka.QuickSight.Types.Computation

NFData Computation Source # 
Instance details

Defined in Amazonka.QuickSight.Types.Computation

Methods

rnf :: Computation -> () #

Eq Computation Source # 
Instance details

Defined in Amazonka.QuickSight.Types.Computation

Hashable Computation Source # 
Instance details

Defined in Amazonka.QuickSight.Types.Computation

type Rep Computation Source # 
Instance details

Defined in Amazonka.QuickSight.Types.Computation

type Rep Computation = D1 ('MetaData "Computation" "Amazonka.QuickSight.Types.Computation" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "Computation'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "forecast") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ForecastComputation)) :*: S1 ('MetaSel ('Just "growthRate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GrowthRateComputation))) :*: (S1 ('MetaSel ('Just "maximumMinimum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MaximumMinimumComputation)) :*: (S1 ('MetaSel ('Just "metricComparison") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MetricComparisonComputation)) :*: S1 ('MetaSel ('Just "periodOverPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PeriodOverPeriodComputation))))) :*: ((S1 ('MetaSel ('Just "periodToDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PeriodToDateComputation)) :*: S1 ('MetaSel ('Just "topBottomMovers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TopBottomMoversComputation))) :*: (S1 ('MetaSel ('Just "topBottomRanked") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TopBottomRankedComputation)) :*: (S1 ('MetaSel ('Just "totalAggregation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TotalAggregationComputation)) :*: S1 ('MetaSel ('Just "uniqueValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UniqueValuesComputation)))))))

newComputation :: Computation Source #

Create a value of Computation 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:forecast:Computation', computation_forecast - The forecast computation configuration.

$sel:growthRate:Computation', computation_growthRate - The growth rate computation configuration.

$sel:maximumMinimum:Computation', computation_maximumMinimum - The maximum and minimum computation configuration.

$sel:metricComparison:Computation', computation_metricComparison - The metric comparison computation configuration.

$sel:periodOverPeriod:Computation', computation_periodOverPeriod - The period over period computation configuration.

$sel:periodToDate:Computation', computation_periodToDate - The period to DataSetIdentifier computation configuration.

$sel:topBottomMovers:Computation', computation_topBottomMovers - The top movers and bottom movers computation configuration.

$sel:topBottomRanked:Computation', computation_topBottomRanked - The top ranked and bottom ranked computation configuration.

$sel:totalAggregation:Computation', computation_totalAggregation - The total aggregation computation configuration.

$sel:uniqueValues:Computation', computation_uniqueValues - The unique values computation configuration.

computation_forecast :: Lens' Computation (Maybe ForecastComputation) Source #

The forecast computation configuration.

computation_growthRate :: Lens' Computation (Maybe GrowthRateComputation) Source #

The growth rate computation configuration.

computation_maximumMinimum :: Lens' Computation (Maybe MaximumMinimumComputation) Source #

The maximum and minimum computation configuration.

computation_metricComparison :: Lens' Computation (Maybe MetricComparisonComputation) Source #

The metric comparison computation configuration.

computation_periodOverPeriod :: Lens' Computation (Maybe PeriodOverPeriodComputation) Source #

The period over period computation configuration.

computation_periodToDate :: Lens' Computation (Maybe PeriodToDateComputation) Source #

The period to DataSetIdentifier computation configuration.

computation_topBottomMovers :: Lens' Computation (Maybe TopBottomMoversComputation) Source #

The top movers and bottom movers computation configuration.

computation_topBottomRanked :: Lens' Computation (Maybe TopBottomRankedComputation) Source #

The top ranked and bottom ranked computation configuration.

computation_totalAggregation :: Lens' Computation (Maybe TotalAggregationComputation) Source #

The total aggregation computation configuration.

computation_uniqueValues :: Lens' Computation (Maybe UniqueValuesComputation) Source #

The unique values computation configuration.