Class: Aws::AppSync::Types::DataSourceIntrospectionModelFieldType
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppSync::Types::DataSourceIntrospectionModelFieldType
- Defined in:
- gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb
Overview
Represents the type data for each field retrieved from the introspection.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#kind ⇒ String
Specifies the classification of data.
-
#name ⇒ String
The name of the data type that represents the field.
-
#type ⇒ Types::DataSourceIntrospectionModelFieldType
The
DataSourceIntrospectionModelFieldType
object data. -
#values ⇒ Array<String>
The values of the
type
field.
Instance Attribute Details
#kind ⇒ String
Specifies the classification of data. For example, this could be set
to values like Scalar
or NonNull
to indicate a fundamental
property of the field.
Valid values include:
Scalar
: Indicates the value is a primitive type (scalar).NonNull
: Indicates the field cannot benull
.List
: Indicates the field contains a list.
1892 1893 1894 1895 1896 1897 1898 1899 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1892 class DataSourceIntrospectionModelFieldType < Struct.new( :kind, :name, :type, :values) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the data type that represents the field. For example,
String
is a valid name
value.
1892 1893 1894 1895 1896 1897 1898 1899 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1892 class DataSourceIntrospectionModelFieldType < Struct.new( :kind, :name, :type, :values) SENSITIVE = [] include Aws::Structure end |
#type ⇒ Types::DataSourceIntrospectionModelFieldType
The DataSourceIntrospectionModelFieldType
object data. The type
is only present if DataSourceIntrospectionModelFieldType.kind
is
set to NonNull
or List
.
The type
typically contains its own kind
and name
fields to
represent the actual type data. For instance, type
could contain a
kind
value of Scalar
with a name
value of String
. The values
Scalar
and String
will be collectively stored in the values
field.
1892 1893 1894 1895 1896 1897 1898 1899 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1892 class DataSourceIntrospectionModelFieldType < Struct.new( :kind, :name, :type, :values) SENSITIVE = [] include Aws::Structure end |
#values ⇒ Array<String>
The values of the type
field. This field represents the AppSync
data type equivalent of the introspected field.
1892 1893 1894 1895 1896 1897 1898 1899 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1892 class DataSourceIntrospectionModelFieldType < Struct.new( :kind, :name, :type, :values) SENSITIVE = [] include Aws::Structure end |