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.



1486
1487
1488
1489
1490
1491
1492
1493
1494
# File 'lib/aws-sdk-appsync/types.rb', line 1486

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

#indexesArray<Types::DataSourceIntrospectionModelIndex>

The array of ‘DataSourceIntrospectionModelIndex` objects.



1486
1487
1488
1489
1490
1491
1492
1493
1494
# File 'lib/aws-sdk-appsync/types.rb', line 1486

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)


1486
1487
1488
1489
1490
1491
1492
1493
1494
# File 'lib/aws-sdk-appsync/types.rb', line 1486

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.



1486
1487
1488
1489
1490
1491
1492
1493
1494
# File 'lib/aws-sdk-appsync/types.rb', line 1486

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)


1486
1487
1488
1489
1490
1491
1492
1493
1494
# File 'lib/aws-sdk-appsync/types.rb', line 1486

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