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.PeriodToDateComputation

Description

 
Synopsis

Documentation

data PeriodToDateComputation Source #

The period to date computation configuration.

See: newPeriodToDateComputation smart constructor.

Constructors

PeriodToDateComputation' 

Fields

Instances

Instances details
FromJSON PeriodToDateComputation Source # 
Instance details

Defined in Amazonka.QuickSight.Types.PeriodToDateComputation

ToJSON PeriodToDateComputation Source # 
Instance details

Defined in Amazonka.QuickSight.Types.PeriodToDateComputation

Generic PeriodToDateComputation Source # 
Instance details

Defined in Amazonka.QuickSight.Types.PeriodToDateComputation

Associated Types

type Rep PeriodToDateComputation :: Type -> Type #

Show PeriodToDateComputation Source # 
Instance details

Defined in Amazonka.QuickSight.Types.PeriodToDateComputation

NFData PeriodToDateComputation Source # 
Instance details

Defined in Amazonka.QuickSight.Types.PeriodToDateComputation

Methods

rnf :: PeriodToDateComputation -> () #

Eq PeriodToDateComputation Source # 
Instance details

Defined in Amazonka.QuickSight.Types.PeriodToDateComputation

Hashable PeriodToDateComputation Source # 
Instance details

Defined in Amazonka.QuickSight.Types.PeriodToDateComputation

type Rep PeriodToDateComputation Source # 
Instance details

Defined in Amazonka.QuickSight.Types.PeriodToDateComputation

type Rep PeriodToDateComputation = D1 ('MetaData "PeriodToDateComputation" "Amazonka.QuickSight.Types.PeriodToDateComputation" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "PeriodToDateComputation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "periodTimeGranularity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TimeGranularity))) :*: (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MeasureField)) :*: (S1 ('MetaSel ('Just "computationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "time") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DimensionField)))))

newPeriodToDateComputation Source #

Create a value of PeriodToDateComputation 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:name:PeriodToDateComputation', periodToDateComputation_name - The name of a computation.

$sel:periodTimeGranularity:PeriodToDateComputation', periodToDateComputation_periodTimeGranularity - The time granularity setup of period to date computation. Choose from the following options:

  • YEAR: Year to date.
  • MONTH: Month to date.

$sel:value:PeriodToDateComputation', periodToDateComputation_value - The value field that is used in a computation.

$sel:computationId:PeriodToDateComputation', periodToDateComputation_computationId - The ID for a computation.

$sel:time:PeriodToDateComputation', periodToDateComputation_time - The time field that is used in a computation.

periodToDateComputation_periodTimeGranularity :: Lens' PeriodToDateComputation (Maybe TimeGranularity) Source #

The time granularity setup of period to date computation. Choose from the following options:

  • YEAR: Year to date.
  • MONTH: Month to date.

periodToDateComputation_value :: Lens' PeriodToDateComputation (Maybe MeasureField) Source #

The value field that is used in a computation.

periodToDateComputation_time :: Lens' PeriodToDateComputation DimensionField Source #

The time field that is used in a computation.