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

Description

 
Synopsis

Documentation

data AggregationFunction Source #

An aggregation function aggregates values from a dimension or measure.

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

See: newAggregationFunction smart constructor.

Constructors

AggregationFunction' 

Fields

Instances

Instances details
FromJSON AggregationFunction Source # 
Instance details

Defined in Amazonka.QuickSight.Types.AggregationFunction

ToJSON AggregationFunction Source # 
Instance details

Defined in Amazonka.QuickSight.Types.AggregationFunction

Generic AggregationFunction Source # 
Instance details

Defined in Amazonka.QuickSight.Types.AggregationFunction

Associated Types

type Rep AggregationFunction :: Type -> Type #

Read AggregationFunction Source # 
Instance details

Defined in Amazonka.QuickSight.Types.AggregationFunction

Show AggregationFunction Source # 
Instance details

Defined in Amazonka.QuickSight.Types.AggregationFunction

NFData AggregationFunction Source # 
Instance details

Defined in Amazonka.QuickSight.Types.AggregationFunction

Methods

rnf :: AggregationFunction -> () #

Eq AggregationFunction Source # 
Instance details

Defined in Amazonka.QuickSight.Types.AggregationFunction

Hashable AggregationFunction Source # 
Instance details

Defined in Amazonka.QuickSight.Types.AggregationFunction

type Rep AggregationFunction Source # 
Instance details

Defined in Amazonka.QuickSight.Types.AggregationFunction

type Rep AggregationFunction = D1 ('MetaData "AggregationFunction" "Amazonka.QuickSight.Types.AggregationFunction" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "AggregationFunction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "categoricalAggregationFunction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CategoricalAggregationFunction)) :*: (S1 ('MetaSel ('Just "dateAggregationFunction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DateAggregationFunction)) :*: S1 ('MetaSel ('Just "numericalAggregationFunction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NumericalAggregationFunction)))))

newAggregationFunction :: AggregationFunction Source #

Create a value of AggregationFunction 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:categoricalAggregationFunction:AggregationFunction', aggregationFunction_categoricalAggregationFunction - Aggregation for categorical values.

  • COUNT: Aggregate by the total number of values, including duplicates.
  • DISTINCT_COUNT: Aggregate by the total number of distinct values.

$sel:dateAggregationFunction:AggregationFunction', aggregationFunction_dateAggregationFunction - Aggregation for date values.

  • COUNT: Aggregate by the total number of values, including duplicates.
  • DISTINCT_COUNT: Aggregate by the total number of distinct values.
  • MIN: Select the smallest date value.
  • MAX: Select the largest date value.

$sel:numericalAggregationFunction:AggregationFunction', aggregationFunction_numericalAggregationFunction - Aggregation for numerical values.

aggregationFunction_categoricalAggregationFunction :: Lens' AggregationFunction (Maybe CategoricalAggregationFunction) Source #

Aggregation for categorical values.

  • COUNT: Aggregate by the total number of values, including duplicates.
  • DISTINCT_COUNT: Aggregate by the total number of distinct values.

aggregationFunction_dateAggregationFunction :: Lens' AggregationFunction (Maybe DateAggregationFunction) Source #

Aggregation for date values.

  • COUNT: Aggregate by the total number of values, including duplicates.
  • DISTINCT_COUNT: Aggregate by the total number of distinct values.
  • MIN: Select the smallest date value.
  • MAX: Select the largest date value.