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 CSVOutput = CSVOutput' {}
- newCSVOutput :: CSVOutput
- cSVOutput_quoteCharacter :: Lens' CSVOutput (Maybe Text)
- cSVOutput_quoteFields :: Lens' CSVOutput (Maybe QuoteFields)
- cSVOutput_recordDelimiter :: Lens' CSVOutput (Maybe Text)
- cSVOutput_quoteEscapeCharacter :: Lens' CSVOutput (Maybe Text)
- cSVOutput_fieldDelimiter :: Lens' CSVOutput (Maybe Text)
Documentation
Describes how uncompressed comma-separated values (CSV)-formatted results are formatted.
See: newCSVOutput
smart constructor.
CSVOutput' | |
|
Instances
newCSVOutput :: CSVOutput Source #
Create a value of CSVOutput
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:CSVOutput'
, cSVOutput_quoteCharacter
- A single character used for escaping when the field delimiter is part of
the value. For example, if the value is a, b
, Amazon S3 wraps this
field value in quotation marks, as follows: " a , b "
.
$sel:quoteFields:CSVOutput'
, cSVOutput_quoteFields
- Indicates whether to use quotation marks around output fields.
ALWAYS
: Always use quotation marks for output fields.ASNEEDED
: Use quotation marks for output fields when needed.
$sel:recordDelimiter:CSVOutput'
, cSVOutput_recordDelimiter
- A single character used to separate individual records in the output.
Instead of the default value, you can specify an arbitrary delimiter.
$sel:quoteEscapeCharacter:CSVOutput'
, cSVOutput_quoteEscapeCharacter
- The single character used for escaping the quote character inside an
already escaped value.
$sel:fieldDelimiter:CSVOutput'
, cSVOutput_fieldDelimiter
- The value used to separate individual fields in a record. You can
specify an arbitrary delimiter.
cSVOutput_quoteCharacter :: Lens' CSVOutput (Maybe Text) Source #
A single character used for escaping when the field delimiter is part of
the value. For example, if the value is a, b
, Amazon S3 wraps this
field value in quotation marks, as follows: " a , b "
.
cSVOutput_quoteFields :: Lens' CSVOutput (Maybe QuoteFields) Source #
Indicates whether to use quotation marks around output fields.
ALWAYS
: Always use quotation marks for output fields.ASNEEDED
: Use quotation marks for output fields when needed.
cSVOutput_recordDelimiter :: Lens' CSVOutput (Maybe Text) Source #
A single character used to separate individual records in the output. Instead of the default value, you can specify an arbitrary delimiter.