libZSservicesZSamazonka-databrewZSamazonka-databrew
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.DataBrew.Types.CsvOptions

Description

 
Synopsis

Documentation

data CsvOptions Source #

Represents a set of options that define how DataBrew will read a comma-separated value (CSV) file when creating a dataset from that file.

See: newCsvOptions smart constructor.

Constructors

CsvOptions' 

Fields

  • headerRow :: Maybe Bool

    A variable that specifies whether the first row in the file is parsed as the header. If this value is false, column names are auto-generated.

  • delimiter :: Maybe Text

    A single character that specifies the delimiter being used in the CSV file.

Instances

Instances details
Eq CsvOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.CsvOptions

Read CsvOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.CsvOptions

Show CsvOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.CsvOptions

Generic CsvOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.CsvOptions

Associated Types

type Rep CsvOptions :: Type -> Type #

NFData CsvOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.CsvOptions

Methods

rnf :: CsvOptions -> () #

Hashable CsvOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.CsvOptions

ToJSON CsvOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.CsvOptions

FromJSON CsvOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.CsvOptions

type Rep CsvOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.CsvOptions

type Rep CsvOptions = D1 ('MetaData "CsvOptions" "Amazonka.DataBrew.Types.CsvOptions" "libZSservicesZSamazonka-databrewZSamazonka-databrew" 'False) (C1 ('MetaCons "CsvOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "headerRow") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "delimiter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newCsvOptions :: CsvOptions Source #

Create a value of CsvOptions 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:headerRow:CsvOptions', csvOptions_headerRow - A variable that specifies whether the first row in the file is parsed as the header. If this value is false, column names are auto-generated.

$sel:delimiter:CsvOptions', csvOptions_delimiter - A single character that specifies the delimiter being used in the CSV file.

csvOptions_headerRow :: Lens' CsvOptions (Maybe Bool) Source #

A variable that specifies whether the first row in the file is parsed as the header. If this value is false, column names are auto-generated.

csvOptions_delimiter :: Lens' CsvOptions (Maybe Text) Source #

A single character that specifies the delimiter being used in the CSV file.