libZSservicesZSamazonka-kinesis-analyticsZSamazonka-kinesis-analytics
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.KinesisAnalytics.Types.RecordColumn

Description

 
Synopsis

Documentation

data RecordColumn Source #

Describes the mapping of each data element in the streaming source to the corresponding column in the in-application stream.

Also used to describe the format of the reference data source.

See: newRecordColumn smart constructor.

Constructors

RecordColumn' 

Fields

  • mapping :: Maybe Text

    Reference to the data element in the streaming input or the reference data source. This element is required if the RecordFormatType is JSON.

  • name :: Text

    Name of the column created in the in-application input stream or reference table.

  • sqlType :: Text

    Type of column created in the in-application input stream or reference table.

Instances

Instances details
Eq RecordColumn Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.Types.RecordColumn

Read RecordColumn Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.Types.RecordColumn

Show RecordColumn Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.Types.RecordColumn

Generic RecordColumn Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.Types.RecordColumn

Associated Types

type Rep RecordColumn :: Type -> Type #

NFData RecordColumn Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.Types.RecordColumn

Methods

rnf :: RecordColumn -> () #

Hashable RecordColumn Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.Types.RecordColumn

ToJSON RecordColumn Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.Types.RecordColumn

FromJSON RecordColumn Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.Types.RecordColumn

type Rep RecordColumn Source # 
Instance details

Defined in Amazonka.KinesisAnalytics.Types.RecordColumn

type Rep RecordColumn = D1 ('MetaData "RecordColumn" "Amazonka.KinesisAnalytics.Types.RecordColumn" "libZSservicesZSamazonka-kinesis-analyticsZSamazonka-kinesis-analytics" 'False) (C1 ('MetaCons "RecordColumn'" 'PrefixI 'True) (S1 ('MetaSel ('Just "mapping") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "sqlType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newRecordColumn Source #

Create a value of RecordColumn 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:mapping:RecordColumn', recordColumn_mapping - Reference to the data element in the streaming input or the reference data source. This element is required if the RecordFormatType is JSON.

$sel:name:RecordColumn', recordColumn_name - Name of the column created in the in-application input stream or reference table.

$sel:sqlType:RecordColumn', recordColumn_sqlType - Type of column created in the in-application input stream or reference table.

recordColumn_mapping :: Lens' RecordColumn (Maybe Text) Source #

Reference to the data element in the streaming input or the reference data source. This element is required if the RecordFormatType is JSON.

recordColumn_name :: Lens' RecordColumn Text Source #

Name of the column created in the in-application input stream or reference table.

recordColumn_sqlType :: Lens' RecordColumn Text Source #

Type of column created in the in-application input stream or reference table.