libZSservicesZSamazonka-iotZSamazonka-iot
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.IoT.Types.Field

Description

 
Synopsis

Documentation

data Field Source #

Describes the name and data type at a field.

See: newField smart constructor.

Constructors

Field' 

Fields

Instances

Instances details
Eq Field Source # 
Instance details

Defined in Amazonka.IoT.Types.Field

Methods

(==) :: Field -> Field -> Bool #

(/=) :: Field -> Field -> Bool #

Read Field Source # 
Instance details

Defined in Amazonka.IoT.Types.Field

Show Field Source # 
Instance details

Defined in Amazonka.IoT.Types.Field

Methods

showsPrec :: Int -> Field -> ShowS #

show :: Field -> String #

showList :: [Field] -> ShowS #

Generic Field Source # 
Instance details

Defined in Amazonka.IoT.Types.Field

Associated Types

type Rep Field :: Type -> Type #

Methods

from :: Field -> Rep Field x #

to :: Rep Field x -> Field #

NFData Field Source # 
Instance details

Defined in Amazonka.IoT.Types.Field

Methods

rnf :: Field -> () #

Hashable Field Source # 
Instance details

Defined in Amazonka.IoT.Types.Field

Methods

hashWithSalt :: Int -> Field -> Int #

hash :: Field -> Int #

ToJSON Field Source # 
Instance details

Defined in Amazonka.IoT.Types.Field

FromJSON Field Source # 
Instance details

Defined in Amazonka.IoT.Types.Field

type Rep Field Source # 
Instance details

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))))

newField :: Field Source #

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.

field_name :: Lens' Field (Maybe Text) Source #

The name of the field.

field_type :: Lens' Field (Maybe FieldType) Source #

The data type of the field.