libZSservicesZSamazonka-iotthingsgraphZSamazonka-iotthingsgraph
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.IoTThingsGraph.Types.DefinitionDocument

Description

 
Synopsis

Documentation

data DefinitionDocument Source #

A document that defines an entity.

See: newDefinitionDocument smart constructor.

Constructors

DefinitionDocument' 

Fields

Instances

Instances details
Eq DefinitionDocument Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.DefinitionDocument

Read DefinitionDocument Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.DefinitionDocument

Show DefinitionDocument Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.DefinitionDocument

Generic DefinitionDocument Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.DefinitionDocument

Associated Types

type Rep DefinitionDocument :: Type -> Type #

NFData DefinitionDocument Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.DefinitionDocument

Methods

rnf :: DefinitionDocument -> () #

Hashable DefinitionDocument Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.DefinitionDocument

ToJSON DefinitionDocument Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.DefinitionDocument

FromJSON DefinitionDocument Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.DefinitionDocument

type Rep DefinitionDocument Source # 
Instance details

Defined in Amazonka.IoTThingsGraph.Types.DefinitionDocument

type Rep DefinitionDocument = D1 ('MetaData "DefinitionDocument" "Amazonka.IoTThingsGraph.Types.DefinitionDocument" "libZSservicesZSamazonka-iotthingsgraphZSamazonka-iotthingsgraph" 'False) (C1 ('MetaCons "DefinitionDocument'" 'PrefixI 'True) (S1 ('MetaSel ('Just "language") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DefinitionLanguage) :*: S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDefinitionDocument Source #

Create a value of DefinitionDocument 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:language:DefinitionDocument', definitionDocument_language - The language used to define the entity. GRAPHQL is the only valid value.

$sel:text:DefinitionDocument', definitionDocument_text - The GraphQL text that defines the entity.

definitionDocument_language :: Lens' DefinitionDocument DefinitionLanguage Source #

The language used to define the entity. GRAPHQL is the only valid value.

definitionDocument_text :: Lens' DefinitionDocument Text Source #

The GraphQL text that defines the entity.