libZSservicesZSamazonka-glacierZSamazonka-glacier
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Glacier.Types.CSVInput

Description

 
Synopsis

Documentation

data CSVInput Source #

Contains information about the comma-separated value (CSV) file to select from.

See: newCSVInput smart constructor.

Constructors

CSVInput' 

Fields

Instances

Instances details
Eq CSVInput Source # 
Instance details

Defined in Amazonka.Glacier.Types.CSVInput

Read CSVInput Source # 
Instance details

Defined in Amazonka.Glacier.Types.CSVInput

Show CSVInput Source # 
Instance details

Defined in Amazonka.Glacier.Types.CSVInput

Generic CSVInput Source # 
Instance details

Defined in Amazonka.Glacier.Types.CSVInput

Associated Types

type Rep CSVInput :: Type -> Type #

Methods

from :: CSVInput -> Rep CSVInput x #

to :: Rep CSVInput x -> CSVInput #

NFData CSVInput Source # 
Instance details

Defined in Amazonka.Glacier.Types.CSVInput

Methods

rnf :: CSVInput -> () #

Hashable CSVInput Source # 
Instance details

Defined in Amazonka.Glacier.Types.CSVInput

Methods

hashWithSalt :: Int -> CSVInput -> Int #

hash :: CSVInput -> Int #

ToJSON CSVInput Source # 
Instance details

Defined in Amazonka.Glacier.Types.CSVInput

FromJSON CSVInput Source # 
Instance details

Defined in Amazonka.Glacier.Types.CSVInput

type Rep CSVInput Source # 
Instance details

Defined in Amazonka.Glacier.Types.CSVInput

type Rep CSVInput = D1 ('MetaData "CSVInput" "Amazonka.Glacier.Types.CSVInput" "libZSservicesZSamazonka-glacierZSamazonka-glacier" 'False) (C1 ('MetaCons "CSVInput'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "quoteCharacter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "recordDelimiter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "fileHeaderInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FileHeaderInfo)))) :*: (S1 ('MetaSel ('Just "quoteEscapeCharacter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "comments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "fieldDelimiter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

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.

cSVInput_comments :: Lens' CSVInput (Maybe Text) Source #

A single character used to indicate that a row should be ignored when the character is present at the start of that row.

cSVInput_fieldDelimiter :: Lens' CSVInput (Maybe Text) Source #

A value used to separate individual fields from each other within a record.