libZSservicesZSamazonka-databrewZSamazonka-databrew
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.DataBrew.Types.ExcelOptions

Description

 
Synopsis

Documentation

data ExcelOptions Source #

Represents a set of options that define how DataBrew will interpret a Microsoft Excel file when creating a dataset from that file.

See: newExcelOptions smart constructor.

Constructors

ExcelOptions' 

Fields

  • sheetIndexes :: Maybe (NonEmpty Natural)

    One or more sheet numbers in the Excel file that will be included in the dataset.

  • sheetNames :: Maybe (NonEmpty Text)

    One or more named sheets in the Excel file that will be included in the dataset.

  • headerRow :: Maybe Bool

    A variable that specifies whether the first row in the file is parsed as the header. If this value is false, column names are auto-generated.

Instances

Instances details
Eq ExcelOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.ExcelOptions

Read ExcelOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.ExcelOptions

Show ExcelOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.ExcelOptions

Generic ExcelOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.ExcelOptions

Associated Types

type Rep ExcelOptions :: Type -> Type #

NFData ExcelOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.ExcelOptions

Methods

rnf :: ExcelOptions -> () #

Hashable ExcelOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.ExcelOptions

ToJSON ExcelOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.ExcelOptions

FromJSON ExcelOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.ExcelOptions

type Rep ExcelOptions Source # 
Instance details

Defined in Amazonka.DataBrew.Types.ExcelOptions

type Rep ExcelOptions = D1 ('MetaData "ExcelOptions" "Amazonka.DataBrew.Types.ExcelOptions" "libZSservicesZSamazonka-databrewZSamazonka-databrew" 'False) (C1 ('MetaCons "ExcelOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sheetIndexes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Natural))) :*: (S1 ('MetaSel ('Just "sheetNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "headerRow") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

newExcelOptions :: ExcelOptions Source #

Create a value of ExcelOptions 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:sheetIndexes:ExcelOptions', excelOptions_sheetIndexes - One or more sheet numbers in the Excel file that will be included in the dataset.

$sel:sheetNames:ExcelOptions', excelOptions_sheetNames - One or more named sheets in the Excel file that will be included in the dataset.

$sel:headerRow:ExcelOptions', excelOptions_headerRow - A variable that specifies whether the first row in the file is parsed as the header. If this value is false, column names are auto-generated.

excelOptions_sheetIndexes :: Lens' ExcelOptions (Maybe (NonEmpty Natural)) Source #

One or more sheet numbers in the Excel file that will be included in the dataset.

excelOptions_sheetNames :: Lens' ExcelOptions (Maybe (NonEmpty Text)) Source #

One or more named sheets in the Excel file that will be included in the dataset.

excelOptions_headerRow :: Lens' ExcelOptions (Maybe Bool) Source #

A variable that specifies whether the first row in the file is parsed as the header. If this value is false, column names are auto-generated.