amazonka-glue-2.0: Amazon Glue 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.Glue.Types.Aggregate

Description

 
Synopsis

Documentation

data Aggregate Source #

Specifies a transform that groups rows by chosen fields and computes the aggregated value by specified function.

See: newAggregate smart constructor.

Constructors

Aggregate' 

Fields

Instances

Instances details
FromJSON Aggregate Source # 
Instance details

Defined in Amazonka.Glue.Types.Aggregate

ToJSON Aggregate Source # 
Instance details

Defined in Amazonka.Glue.Types.Aggregate

Generic Aggregate Source # 
Instance details

Defined in Amazonka.Glue.Types.Aggregate

Associated Types

type Rep Aggregate :: Type -> Type #

Read Aggregate Source # 
Instance details

Defined in Amazonka.Glue.Types.Aggregate

Show Aggregate Source # 
Instance details

Defined in Amazonka.Glue.Types.Aggregate

NFData Aggregate Source # 
Instance details

Defined in Amazonka.Glue.Types.Aggregate

Methods

rnf :: Aggregate -> () #

Eq Aggregate Source # 
Instance details

Defined in Amazonka.Glue.Types.Aggregate

Hashable Aggregate Source # 
Instance details

Defined in Amazonka.Glue.Types.Aggregate

type Rep Aggregate Source # 
Instance details

Defined in Amazonka.Glue.Types.Aggregate

type Rep Aggregate = D1 ('MetaData "Aggregate" "Amazonka.Glue.Types.Aggregate" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "Aggregate'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "inputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "groups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [[Text]]) :*: S1 ('MetaSel ('Just "aggs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty AggregateOperation)))))

newAggregate Source #

Create a value of Aggregate 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:Aggregate', aggregate_name - The name of the transform node.

$sel:inputs:Aggregate', aggregate_inputs - Specifies the fields and rows to use as inputs for the aggregate transform.

$sel:groups:Aggregate', aggregate_groups - Specifies the fields to group by.

$sel:aggs:Aggregate', aggregate_aggs - Specifies the aggregate functions to be performed on specified fields.

aggregate_name :: Lens' Aggregate Text Source #

The name of the transform node.

aggregate_inputs :: Lens' Aggregate (NonEmpty Text) Source #

Specifies the fields and rows to use as inputs for the aggregate transform.

aggregate_groups :: Lens' Aggregate [[Text]] Source #

Specifies the fields to group by.

aggregate_aggs :: Lens' Aggregate (NonEmpty AggregateOperation) Source #

Specifies the aggregate functions to be performed on specified fields.