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 |
Synopsis
Documentation
data DefinitionDocument Source #
A document that defines an entity.
See: newDefinitionDocument
smart constructor.
DefinitionDocument' | |
|
Instances
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.