| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DataBrew.Types.CsvOptions
Description
Synopsis
- data CsvOptions = CsvOptions' {}
- newCsvOptions :: CsvOptions
- csvOptions_delimiter :: Lens' CsvOptions (Maybe Text)
- csvOptions_headerRow :: Lens' CsvOptions (Maybe Bool)
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' | |
Instances
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:delimiter:CsvOptions', csvOptions_delimiter - A single character that specifies the delimiter being used in the CSV
file.
$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.
csvOptions_delimiter :: Lens' CsvOptions (Maybe Text) Source #
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.