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 CSVInput = CSVInput' {}
- newCSVInput :: CSVInput
- cSVInput_quoteCharacter :: Lens' CSVInput (Maybe Text)
- cSVInput_recordDelimiter :: Lens' CSVInput (Maybe Text)
- cSVInput_fileHeaderInfo :: Lens' CSVInput (Maybe FileHeaderInfo)
- cSVInput_quoteEscapeCharacter :: Lens' CSVInput (Maybe Text)
- cSVInput_comments :: Lens' CSVInput (Maybe Text)
- cSVInput_fieldDelimiter :: Lens' CSVInput (Maybe Text)
Documentation
Contains information about the comma-separated value (CSV) file to select from.
See: newCSVInput
smart constructor.
CSVInput' | |
|
Instances
newCSVInput :: CSVInput Source #
Create a value of CSVInput
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:quoteCharacter:CSVInput'
, cSVInput_quoteCharacter
- A value used as an escape character where the field delimiter is part of
the value.
$sel:recordDelimiter:CSVInput'
, cSVInput_recordDelimiter
- A value used to separate individual records from each other.
$sel:fileHeaderInfo:CSVInput'
, cSVInput_fileHeaderInfo
- Describes the first line of input. Valid values are None
, Ignore
,
and Use
.
$sel:quoteEscapeCharacter:CSVInput'
, cSVInput_quoteEscapeCharacter
- A single character used for escaping the quotation-mark character inside
an already escaped value.
$sel:comments:CSVInput'
, cSVInput_comments
- A single character used to indicate that a row should be ignored when
the character is present at the start of that row.
$sel:fieldDelimiter:CSVInput'
, cSVInput_fieldDelimiter
- A value used to separate individual fields from each other within a
record.
cSVInput_quoteCharacter :: Lens' CSVInput (Maybe Text) Source #
A value used as an escape character where the field delimiter is part of the value.
cSVInput_recordDelimiter :: Lens' CSVInput (Maybe Text) Source #
A value used to separate individual records from each other.
cSVInput_fileHeaderInfo :: Lens' CSVInput (Maybe FileHeaderInfo) Source #
Describes the first line of input. Valid values are None
, Ignore
,
and Use
.
cSVInput_quoteEscapeCharacter :: Lens' CSVInput (Maybe Text) Source #
A single character used for escaping the quotation-mark character inside an already escaped value.