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 |
Documentation
data CSVMappingParameters Source #
Provides additional mapping information when the record format uses delimiters, such as CSV. For example, the following sample records use CSV format, where the records use the '\n' as the row delimiter and a comma (",") as the column delimiter:
"name1", "address1"
"name2", "address2"
See: newCSVMappingParameters
smart constructor.
CSVMappingParameters' | |
|
Instances
newCSVMappingParameters Source #
:: Text | |
-> Text | |
-> CSVMappingParameters |
Create a value of CSVMappingParameters
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:recordRowDelimiter:CSVMappingParameters'
, cSVMappingParameters_recordRowDelimiter
- Row delimiter. For example, in a CSV format, '\n' is the typical
row delimiter.
$sel:recordColumnDelimiter:CSVMappingParameters'
, cSVMappingParameters_recordColumnDelimiter
- Column delimiter. For example, in a CSV format, a comma (",") is the
typical column delimiter.
cSVMappingParameters_recordRowDelimiter :: Lens' CSVMappingParameters Text Source #
Row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.
cSVMappingParameters_recordColumnDelimiter :: Lens' CSVMappingParameters Text Source #
Column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.