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

Description

 
Synopsis

Documentation

data CsvClassifier Source #

A classifier for custom CSV content.

See: newCsvClassifier smart constructor.

Constructors

CsvClassifier' 

Fields

Instances

Instances details
FromJSON CsvClassifier Source # 
Instance details

Defined in Amazonka.Glue.Types.CsvClassifier

Generic CsvClassifier Source # 
Instance details

Defined in Amazonka.Glue.Types.CsvClassifier

Associated Types

type Rep CsvClassifier :: Type -> Type #

Read CsvClassifier Source # 
Instance details

Defined in Amazonka.Glue.Types.CsvClassifier

Show CsvClassifier Source # 
Instance details

Defined in Amazonka.Glue.Types.CsvClassifier

NFData CsvClassifier Source # 
Instance details

Defined in Amazonka.Glue.Types.CsvClassifier

Methods

rnf :: CsvClassifier -> () #

Eq CsvClassifier Source # 
Instance details

Defined in Amazonka.Glue.Types.CsvClassifier

Hashable CsvClassifier Source # 
Instance details

Defined in Amazonka.Glue.Types.CsvClassifier

type Rep CsvClassifier Source # 
Instance details

Defined in Amazonka.Glue.Types.CsvClassifier

type Rep CsvClassifier = D1 ('MetaData "CsvClassifier" "Amazonka.Glue.Types.CsvClassifier" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "CsvClassifier'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "allowSingleColumn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "containsHeader") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CsvHeaderOption)) :*: S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "customDatatypeConfigured") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "customDatatypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "delimiter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "disableValueTrimming") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "header") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "lastUpdated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "quoteSymbol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newCsvClassifier Source #

Create a value of CsvClassifier 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:allowSingleColumn:CsvClassifier', csvClassifier_allowSingleColumn - Enables the processing of files that contain only one column.

$sel:containsHeader:CsvClassifier', csvClassifier_containsHeader - Indicates whether the CSV file contains a header.

$sel:creationTime:CsvClassifier', csvClassifier_creationTime - The time that this classifier was registered.

$sel:customDatatypeConfigured:CsvClassifier', csvClassifier_customDatatypeConfigured - Enables the custom datatype to be configured.

$sel:customDatatypes:CsvClassifier', csvClassifier_customDatatypes - A list of custom datatypes including "BINARY", "BOOLEAN", "DATE", "DECIMAL", "DOUBLE", "FLOAT", "INT", "LONG", "SHORT", "STRING", "TIMESTAMP".

$sel:delimiter:CsvClassifier', csvClassifier_delimiter - A custom symbol to denote what separates each column entry in the row.

$sel:disableValueTrimming:CsvClassifier', csvClassifier_disableValueTrimming - Specifies not to trim values before identifying the type of column values. The default value is true.

$sel:header:CsvClassifier', csvClassifier_header - A list of strings representing column names.

$sel:lastUpdated:CsvClassifier', csvClassifier_lastUpdated - The time that this classifier was last updated.

$sel:quoteSymbol:CsvClassifier', csvClassifier_quoteSymbol - A custom symbol to denote what combines content into a single column value. It must be different from the column delimiter.

$sel:version:CsvClassifier', csvClassifier_version - The version of this classifier.

$sel:name:CsvClassifier', csvClassifier_name - The name of the classifier.

csvClassifier_allowSingleColumn :: Lens' CsvClassifier (Maybe Bool) Source #

Enables the processing of files that contain only one column.

csvClassifier_containsHeader :: Lens' CsvClassifier (Maybe CsvHeaderOption) Source #

Indicates whether the CSV file contains a header.

csvClassifier_creationTime :: Lens' CsvClassifier (Maybe UTCTime) Source #

The time that this classifier was registered.

csvClassifier_customDatatypeConfigured :: Lens' CsvClassifier (Maybe Bool) Source #

Enables the custom datatype to be configured.

csvClassifier_customDatatypes :: Lens' CsvClassifier (Maybe [Text]) Source #

A list of custom datatypes including "BINARY", "BOOLEAN", "DATE", "DECIMAL", "DOUBLE", "FLOAT", "INT", "LONG", "SHORT", "STRING", "TIMESTAMP".

csvClassifier_delimiter :: Lens' CsvClassifier (Maybe Text) Source #

A custom symbol to denote what separates each column entry in the row.

csvClassifier_disableValueTrimming :: Lens' CsvClassifier (Maybe Bool) Source #

Specifies not to trim values before identifying the type of column values. The default value is true.

csvClassifier_header :: Lens' CsvClassifier (Maybe [Text]) Source #

A list of strings representing column names.

csvClassifier_lastUpdated :: Lens' CsvClassifier (Maybe UTCTime) Source #

The time that this classifier was last updated.

csvClassifier_quoteSymbol :: Lens' CsvClassifier (Maybe Text) Source #

A custom symbol to denote what combines content into a single column value. It must be different from the column delimiter.

csvClassifier_version :: Lens' CsvClassifier (Maybe Integer) Source #

The version of this classifier.

csvClassifier_name :: Lens' CsvClassifier Text Source #

The name of the classifier.