Class: Aws::AppSync::Types::DataSourceIntrospectionModel

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

Overview

Contains the introspected data that was retrieved from the data source.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#fieldsArray<Types::DataSourceIntrospectionModelField>

The ‘DataSourceIntrospectionModelField` object data.



1804
1805
1806
1807
1808
1809
1810
1811
1812
# File 'lib/aws-sdk-appsync/types.rb', line 1804

class DataSourceIntrospectionModel < Struct.new(
  :name,
  :fields,
  :primary_key,
  :indexes,
  :sdl)
  SENSITIVE = []
  include Aws::Structure
end

#indexesArray<Types::DataSourceIntrospectionModelIndex>

The array of ‘DataSourceIntrospectionModelIndex` objects.



1804
1805
1806
1807
1808
1809
1810
1811
1812
# File 'lib/aws-sdk-appsync/types.rb', line 1804

class DataSourceIntrospectionModel < Struct.new(
  :name,
  :fields,
  :primary_key,
  :indexes,
  :sdl)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the model. For example, this could be the name of a single table in a database.

Returns:

  • (String)


1804
1805
1806
1807
1808
1809
1810
1811
1812
# File 'lib/aws-sdk-appsync/types.rb', line 1804

class DataSourceIntrospectionModel < Struct.new(
  :name,
  :fields,
  :primary_key,
  :indexes,
  :sdl)
  SENSITIVE = []
  include Aws::Structure
end

#primary_keyTypes::DataSourceIntrospectionModelIndex

The primary key stored as a ‘DataSourceIntrospectionModelIndex` object.



1804
1805
1806
1807
1808
1809
1810
1811
1812
# File 'lib/aws-sdk-appsync/types.rb', line 1804

class DataSourceIntrospectionModel < Struct.new(
  :name,
  :fields,
  :primary_key,
  :indexes,
  :sdl)
  SENSITIVE = []
  include Aws::Structure
end

#sdlString

Contains the output of the SDL that was generated from the introspected types. This is controlled by the ‘includeModelsSDL` parameter of the `GetDataSourceIntrospection` operation.

Returns:

  • (String)


1804
1805
1806
1807
1808
1809
1810
1811
1812
# File 'lib/aws-sdk-appsync/types.rb', line 1804

class DataSourceIntrospectionModel < Struct.new(
  :name,
  :fields,
  :primary_key,
  :indexes,
  :sdl)
  SENSITIVE = []
  include Aws::Structure
end