amazonka-glue-2.0: Amazon Glue 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.Glue.Types.Datatype

Description

 
Synopsis

Documentation

data Datatype Source #

A structure representing the datatype of the value.

See: newDatatype smart constructor.

Constructors

Datatype' 

Fields

  • id :: Text

    The datatype of the value.

  • label :: Text

    A label assigned to the datatype.

Instances

Instances details
FromJSON Datatype Source # 
Instance details

Defined in Amazonka.Glue.Types.Datatype

ToJSON Datatype Source # 
Instance details

Defined in Amazonka.Glue.Types.Datatype

Generic Datatype Source # 
Instance details

Defined in Amazonka.Glue.Types.Datatype

Associated Types

type Rep Datatype :: Type -> Type #

Methods

from :: Datatype -> Rep Datatype x #

to :: Rep Datatype x -> Datatype #

Read Datatype Source # 
Instance details

Defined in Amazonka.Glue.Types.Datatype

Show Datatype Source # 
Instance details

Defined in Amazonka.Glue.Types.Datatype

NFData Datatype Source # 
Instance details

Defined in Amazonka.Glue.Types.Datatype

Methods

rnf :: Datatype -> () #

Eq Datatype Source # 
Instance details

Defined in Amazonka.Glue.Types.Datatype

Hashable Datatype Source # 
Instance details

Defined in Amazonka.Glue.Types.Datatype

Methods

hashWithSalt :: Int -> Datatype -> Int #

hash :: Datatype -> Int #

type Rep Datatype Source # 
Instance details

Defined in Amazonka.Glue.Types.Datatype

type Rep Datatype = D1 ('MetaData "Datatype" "Amazonka.Glue.Types.Datatype" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "Datatype'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDatatype Source #

Create a value of Datatype 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:id:Datatype', datatype_id - The datatype of the value.

$sel:label:Datatype', datatype_label - A label assigned to the datatype.

datatype_id :: Lens' Datatype Text Source #

The datatype of the value.

datatype_label :: Lens' Datatype Text Source #

A label assigned to the datatype.