amazonka-honeycode-2.0: Amazon Honeycode 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.HoneyCode.Types.CellInput

Description

 
Synopsis

Documentation

data CellInput Source #

CellInput object contains the data needed to create or update cells in a table.

CellInput object has only a facts field or a fact field, but not both. A 400 bad request will be thrown if both fact and facts field are present.

See: newCellInput smart constructor.

Constructors

CellInput' 

Fields

  • fact :: Maybe (Sensitive Text)

    Fact represents the data that is entered into a cell. This data can be free text or a formula. Formulas need to start with the equals (=) sign.

  • facts :: Maybe [Sensitive Text]

    A list representing the values that are entered into a ROWSET cell. Facts list can have either only values or rowIDs, and rowIDs should from the same table.

Instances

Instances details
ToJSON CellInput Source # 
Instance details

Defined in Amazonka.HoneyCode.Types.CellInput

Generic CellInput Source # 
Instance details

Defined in Amazonka.HoneyCode.Types.CellInput

Associated Types

type Rep CellInput :: Type -> Type #

Show CellInput Source # 
Instance details

Defined in Amazonka.HoneyCode.Types.CellInput

NFData CellInput Source # 
Instance details

Defined in Amazonka.HoneyCode.Types.CellInput

Methods

rnf :: CellInput -> () #

Eq CellInput Source # 
Instance details

Defined in Amazonka.HoneyCode.Types.CellInput

Hashable CellInput Source # 
Instance details

Defined in Amazonka.HoneyCode.Types.CellInput

type Rep CellInput Source # 
Instance details

Defined in Amazonka.HoneyCode.Types.CellInput

type Rep CellInput = D1 ('MetaData "CellInput" "Amazonka.HoneyCode.Types.CellInput" "amazonka-honeycode-2.0-IdtoOmZm6eT6kjUDWwPe6X" 'False) (C1 ('MetaCons "CellInput'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fact") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "facts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Sensitive Text]))))

newCellInput :: CellInput Source #

Create a value of CellInput 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:fact:CellInput', cellInput_fact - Fact represents the data that is entered into a cell. This data can be free text or a formula. Formulas need to start with the equals (=) sign.

$sel:facts:CellInput', cellInput_facts - A list representing the values that are entered into a ROWSET cell. Facts list can have either only values or rowIDs, and rowIDs should from the same table.

cellInput_fact :: Lens' CellInput (Maybe Text) Source #

Fact represents the data that is entered into a cell. This data can be free text or a formula. Formulas need to start with the equals (=) sign.

cellInput_facts :: Lens' CellInput (Maybe [Text]) Source #

A list representing the values that are entered into a ROWSET cell. Facts list can have either only values or rowIDs, and rowIDs should from the same table.