Class: Aws::IoTThingsGraph::Types::DefinitionDocument

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iotthingsgraph/types.rb

Overview

A document that defines an entity.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#languageString

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

Returns:

  • (String)


167
168
169
170
171
172
# File 'lib/aws-sdk-iotthingsgraph/types.rb', line 167

class DefinitionDocument < Struct.new(
  :language,
  :text)
  SENSITIVE = []
  include Aws::Structure
end

#textString

The GraphQL text that defines the entity.

Returns:

  • (String)


167
168
169
170
171
172
# File 'lib/aws-sdk-iotthingsgraph/types.rb', line 167

class DefinitionDocument < Struct.new(
  :language,
  :text)
  SENSITIVE = []
  include Aws::Structure
end