Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
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.
CellInput' | |
|
Instances
ToJSON CellInput Source # | |
Defined in Amazonka.HoneyCode.Types.CellInput | |
Generic CellInput Source # | |
Show CellInput Source # | |
NFData CellInput Source # | |
Defined in Amazonka.HoneyCode.Types.CellInput | |
Eq CellInput Source # | |
Hashable CellInput Source # | |
Defined in Amazonka.HoneyCode.Types.CellInput | |
type Rep CellInput Source # | |
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.