Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
Describes the name and data type at a field.
See: newField
smart constructor.
Instances
Eq Field Source # | |
Read Field Source # | |
Show Field Source # | |
Generic Field Source # | |
NFData Field Source # | |
Defined in Amazonka.IoT.Types.Field | |
Hashable Field Source # | |
Defined in Amazonka.IoT.Types.Field | |
ToJSON Field Source # | |
Defined in Amazonka.IoT.Types.Field | |
FromJSON Field Source # | |
type Rep Field Source # | |
Defined in Amazonka.IoT.Types.Field type Rep Field = D1 ('MetaData "Field" "Amazonka.IoT.Types.Field" "libZSservicesZSamazonka-iotZSamazonka-iot" '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.