amazonka-dynamodb-2.0: Amazon DynamoDB SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DynamoDB.Types.CsvOptions

Description

 
Synopsis

Documentation

data CsvOptions Source #

Processing options for the CSV file being imported.

See: newCsvOptions smart constructor.

Constructors

CsvOptions' 

Fields

  • delimiter :: Maybe Text

    The delimiter used for separating items in the CSV file being imported.

  • headerList :: Maybe (NonEmpty Text)

    List of the headers used to specify a common header for all source CSV files being imported. If this field is specified then the first line of each CSV file is treated as data instead of the header. If this field is not specified the the first line of each CSV file is treated as the header.

Instances

Instances details
FromJSON CsvOptions Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.CsvOptions

ToJSON CsvOptions Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.CsvOptions

Generic CsvOptions Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.CsvOptions

Associated Types

type Rep CsvOptions :: Type -> Type #

Read CsvOptions Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.CsvOptions

Show CsvOptions Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.CsvOptions

NFData CsvOptions Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.CsvOptions

Methods

rnf :: CsvOptions -> () #

Eq CsvOptions Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.CsvOptions

Hashable CsvOptions Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.CsvOptions

type Rep CsvOptions Source # 
Instance details

Defined in Amazonka.DynamoDB.Types.CsvOptions

type Rep CsvOptions = D1 ('MetaData "CsvOptions" "Amazonka.DynamoDB.Types.CsvOptions" "amazonka-dynamodb-2.0-GNxlseyeFiu302JKQwQrUS" 'False) (C1 ('MetaCons "CsvOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "delimiter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "headerList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text)))))

newCsvOptions :: CsvOptions Source #

Create a value of CsvOptions 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:delimiter:CsvOptions', csvOptions_delimiter - The delimiter used for separating items in the CSV file being imported.

$sel:headerList:CsvOptions', csvOptions_headerList - List of the headers used to specify a common header for all source CSV files being imported. If this field is specified then the first line of each CSV file is treated as data instead of the header. If this field is not specified the the first line of each CSV file is treated as the header.

csvOptions_delimiter :: Lens' CsvOptions (Maybe Text) Source #

The delimiter used for separating items in the CSV file being imported.

csvOptions_headerList :: Lens' CsvOptions (Maybe (NonEmpty Text)) Source #

List of the headers used to specify a common header for all source CSV files being imported. If this field is specified then the first line of each CSV file is treated as data instead of the header. If this field is not specified the the first line of each CSV file is treated as the header.