You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoTThingsGraph::Types::DefinitionDocument
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTThingsGraph::Types::DefinitionDocument
- Defined in:
- (unknown)
Overview
Note:
When passing DefinitionDocument as input to an Aws::Client method, you can use a vanilla Hash:
{
language: "GRAPHQL", # required, accepts GRAPHQL
text: "DefinitionText", # required
}
A document that defines an entity.
Returned by:
- CreateFlowTemplateRequest#definition
- CreateSystemInstanceRequest#definition
- CreateSystemTemplateRequest#definition
- EntityDescription#definition
- FlowTemplateDescription#definition
- SystemInstanceDescription#definition
- SystemTemplateDescription#definition
- UpdateFlowTemplateRequest#definition
- UpdateSystemTemplateRequest#definition
- UploadEntityDefinitionsRequest#document
Instance Attribute Summary collapse
-
#language ⇒ String
The language used to define the entity.
-
#text ⇒ String
The GraphQL text that defines the entity.
Instance Attribute Details
#language ⇒ String
The language used to define the entity. GRAPHQL
is the only valid
value.
Possible values:
- GRAPHQL
#text ⇒ String
The GraphQL text that defines the entity.