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 |
Amazonka.IoT.Types.Field
Description
Documentation
Describes the name and data type at a field.
See: newField
smart constructor.
Constructors
Field' | |
Instances
FromJSON Field Source # | |
ToJSON Field Source # | |
Defined in Amazonka.IoT.Types.Field | |
Generic Field Source # | |
Read Field Source # | |
Show Field Source # | |
NFData Field Source # | |
Defined in Amazonka.IoT.Types.Field | |
Eq Field Source # | |
Hashable Field Source # | |
Defined in Amazonka.IoT.Types.Field | |
type Rep Field Source # | |
Defined in Amazonka.IoT.Types.Field type Rep Field = D1 ('MetaData "Field" "Amazonka.IoT.Types.Field" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "Field'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FieldType)))) |
Create a value of Field
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:name:Field'
, field_name
- The name of the field.
$sel:type':Field'
, field_type
- The data type of the field.