libZSservicesZSamazonka-kinesisanalyticsv2ZSamazonka-kinesisanalyticsv2
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.KinesisAnalyticsV2.Types.CSVMappingParameters

Description

 
Synopsis

Documentation

data CSVMappingParameters Source #

For a SQL-based Kinesis Data Analytics application, provides additional mapping information when the record format uses delimiters, such as CSV. For example, the following sample records use CSV format, where the records use the '\n' as the row delimiter and a comma (",") as the column delimiter:

"name1", "address1"
"name2", "address2"

See: newCSVMappingParameters smart constructor.

Constructors

CSVMappingParameters' 

Fields

  • recordRowDelimiter :: Text

    The row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.

  • recordColumnDelimiter :: Text

    The column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.

Instances

Instances details
Eq CSVMappingParameters Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.Types.CSVMappingParameters

Read CSVMappingParameters Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.Types.CSVMappingParameters

Show CSVMappingParameters Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.Types.CSVMappingParameters

Generic CSVMappingParameters Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.Types.CSVMappingParameters

Associated Types

type Rep CSVMappingParameters :: Type -> Type #

NFData CSVMappingParameters Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.Types.CSVMappingParameters

Methods

rnf :: CSVMappingParameters -> () #

Hashable CSVMappingParameters Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.Types.CSVMappingParameters

ToJSON CSVMappingParameters Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.Types.CSVMappingParameters

FromJSON CSVMappingParameters Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.Types.CSVMappingParameters

type Rep CSVMappingParameters Source # 
Instance details

Defined in Amazonka.KinesisAnalyticsV2.Types.CSVMappingParameters

type Rep CSVMappingParameters = D1 ('MetaData "CSVMappingParameters" "Amazonka.KinesisAnalyticsV2.Types.CSVMappingParameters" "libZSservicesZSamazonka-kinesisanalyticsv2ZSamazonka-kinesisanalyticsv2" 'False) (C1 ('MetaCons "CSVMappingParameters'" 'PrefixI 'True) (S1 ('MetaSel ('Just "recordRowDelimiter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "recordColumnDelimiter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCSVMappingParameters Source #

Create a value of CSVMappingParameters 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:recordRowDelimiter:CSVMappingParameters', cSVMappingParameters_recordRowDelimiter - The row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.

$sel:recordColumnDelimiter:CSVMappingParameters', cSVMappingParameters_recordColumnDelimiter - The column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.

cSVMappingParameters_recordRowDelimiter :: Lens' CSVMappingParameters Text Source #

The row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.

cSVMappingParameters_recordColumnDelimiter :: Lens' CSVMappingParameters Text Source #

The column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.