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 |
Synopsis
- data UploadSettings = UploadSettings' {}
- newUploadSettings :: UploadSettings
- uploadSettings_containsHeader :: Lens' UploadSettings (Maybe Bool)
- uploadSettings_delimiter :: Lens' UploadSettings (Maybe Text)
- uploadSettings_format :: Lens' UploadSettings (Maybe FileFormat)
- uploadSettings_startFromRow :: Lens' UploadSettings (Maybe Natural)
- uploadSettings_textQualifier :: Lens' UploadSettings (Maybe TextQualifier)
Documentation
data UploadSettings Source #
Information about the format for a source file or files.
See: newUploadSettings
smart constructor.
UploadSettings' | |
|
Instances
newUploadSettings :: UploadSettings Source #
Create a value of UploadSettings
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:containsHeader:UploadSettings'
, uploadSettings_containsHeader
- Whether the file has a header row, or the files each have a header row.
$sel:delimiter:UploadSettings'
, uploadSettings_delimiter
- The delimiter between values in the file.
$sel:format:UploadSettings'
, uploadSettings_format
- File format.
$sel:startFromRow:UploadSettings'
, uploadSettings_startFromRow
- A row number to start reading data from.
$sel:textQualifier:UploadSettings'
, uploadSettings_textQualifier
- Text qualifier.
uploadSettings_containsHeader :: Lens' UploadSettings (Maybe Bool) Source #
Whether the file has a header row, or the files each have a header row.
uploadSettings_delimiter :: Lens' UploadSettings (Maybe Text) Source #
The delimiter between values in the file.
uploadSettings_format :: Lens' UploadSettings (Maybe FileFormat) Source #
File format.
uploadSettings_startFromRow :: Lens' UploadSettings (Maybe Natural) Source #
A row number to start reading data from.
uploadSettings_textQualifier :: Lens' UploadSettings (Maybe TextQualifier) Source #
Text qualifier.