libZSservicesZSamazonka-honeycodeZSamazonka-honeycode
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.HoneyCode.Types.CreateRowData

Description

 
Synopsis

Documentation

data CreateRowData Source #

Data needed to create a single row in a table as part of the BatchCreateTableRows request.

See: newCreateRowData smart constructor.

Constructors

CreateRowData' 

Fields

  • batchItemId :: Text

    An external identifier that represents the single row that is being created as part of the BatchCreateTableRows request. This can be any string that you can use to identify the row in the request. The BatchCreateTableRows API puts the batch item id in the results to allow you to link data in the request to data in the results.

  • cellsToCreate :: HashMap Text CellInput

    A map representing the cells to create in the new row. The key is the column id of the cell and the value is the CellInput object that represents the data to set in that cell.

Instances

Instances details
Eq CreateRowData Source # 
Instance details

Defined in Amazonka.HoneyCode.Types.CreateRowData

Show CreateRowData Source # 
Instance details

Defined in Amazonka.HoneyCode.Types.CreateRowData

Generic CreateRowData Source # 
Instance details

Defined in Amazonka.HoneyCode.Types.CreateRowData

Associated Types

type Rep CreateRowData :: Type -> Type #

NFData CreateRowData Source # 
Instance details

Defined in Amazonka.HoneyCode.Types.CreateRowData

Methods

rnf :: CreateRowData -> () #

Hashable CreateRowData Source # 
Instance details

Defined in Amazonka.HoneyCode.Types.CreateRowData

ToJSON CreateRowData Source # 
Instance details

Defined in Amazonka.HoneyCode.Types.CreateRowData

type Rep CreateRowData Source # 
Instance details

Defined in Amazonka.HoneyCode.Types.CreateRowData

type Rep CreateRowData = D1 ('MetaData "CreateRowData" "Amazonka.HoneyCode.Types.CreateRowData" "libZSservicesZSamazonka-honeycodeZSamazonka-honeycode" 'False) (C1 ('MetaCons "CreateRowData'" 'PrefixI 'True) (S1 ('MetaSel ('Just "batchItemId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "cellsToCreate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text CellInput))))

newCreateRowData Source #

Create a value of CreateRowData 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:batchItemId:CreateRowData', createRowData_batchItemId - An external identifier that represents the single row that is being created as part of the BatchCreateTableRows request. This can be any string that you can use to identify the row in the request. The BatchCreateTableRows API puts the batch item id in the results to allow you to link data in the request to data in the results.

$sel:cellsToCreate:CreateRowData', createRowData_cellsToCreate - A map representing the cells to create in the new row. The key is the column id of the cell and the value is the CellInput object that represents the data to set in that cell.

createRowData_batchItemId :: Lens' CreateRowData Text Source #

An external identifier that represents the single row that is being created as part of the BatchCreateTableRows request. This can be any string that you can use to identify the row in the request. The BatchCreateTableRows API puts the batch item id in the results to allow you to link data in the request to data in the results.

createRowData_cellsToCreate :: Lens' CreateRowData (HashMap Text CellInput) Source #

A map representing the cells to create in the new row. The key is the column id of the cell and the value is the CellInput object that represents the data to set in that cell.