Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data CsvFormatDescriptor = CsvFormatDescriptor' {}
- newCsvFormatDescriptor :: CsvFormatDescriptor
- csvFormatDescriptor_quoteSymbol :: Lens' CsvFormatDescriptor (Maybe Text)
- csvFormatDescriptor_containsHeader :: Lens' CsvFormatDescriptor (Maybe Bool)
- csvFormatDescriptor_charset :: Lens' CsvFormatDescriptor (Maybe Text)
- csvFormatDescriptor_headerList :: Lens' CsvFormatDescriptor (Maybe [Text])
- csvFormatDescriptor_fileCompression :: Lens' CsvFormatDescriptor (Maybe CSVFileCompression)
- csvFormatDescriptor_delimiter :: Lens' CsvFormatDescriptor (Maybe Text)
Documentation
data CsvFormatDescriptor Source #
Contains information about how a source CSV data file should be analyzed.
See: newCsvFormatDescriptor
smart constructor.
CsvFormatDescriptor' | |
|
Instances
newCsvFormatDescriptor :: CsvFormatDescriptor Source #
Create a value of CsvFormatDescriptor
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:quoteSymbol:CsvFormatDescriptor'
, csvFormatDescriptor_quoteSymbol
- The character used as a quote character.
$sel:containsHeader:CsvFormatDescriptor'
, csvFormatDescriptor_containsHeader
- Whether or not the source CSV file contains a header.
$sel:charset:CsvFormatDescriptor'
, csvFormatDescriptor_charset
- The character set in which the source CSV file is written.
$sel:headerList:CsvFormatDescriptor'
, csvFormatDescriptor_headerList
- A list of the source CSV file's headers, if any.
$sel:fileCompression:CsvFormatDescriptor'
, csvFormatDescriptor_fileCompression
- The level of compression of the source CSV file.
$sel:delimiter:CsvFormatDescriptor'
, csvFormatDescriptor_delimiter
- The character used to delimit the source CSV file.
csvFormatDescriptor_quoteSymbol :: Lens' CsvFormatDescriptor (Maybe Text) Source #
The character used as a quote character.
csvFormatDescriptor_containsHeader :: Lens' CsvFormatDescriptor (Maybe Bool) Source #
Whether or not the source CSV file contains a header.
csvFormatDescriptor_charset :: Lens' CsvFormatDescriptor (Maybe Text) Source #
The character set in which the source CSV file is written.
csvFormatDescriptor_headerList :: Lens' CsvFormatDescriptor (Maybe [Text]) Source #
A list of the source CSV file's headers, if any.
csvFormatDescriptor_fileCompression :: Lens' CsvFormatDescriptor (Maybe CSVFileCompression) Source #
The level of compression of the source CSV file.
csvFormatDescriptor_delimiter :: Lens' CsvFormatDescriptor (Maybe Text) Source #
The character used to delimit the source CSV file.