DataSourceIntrospectionModelFieldType
Represents the type data for each field retrieved from the introspection.
Contents
- kind
-
Specifies the classification of data. For example, this could be set to values like
ScalarorNonNullto 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.
Type: String
Required: No
-
- name
-
The name of the data type that represents the field. For example,
Stringis a validnamevalue.Type: String
Required: No
- type
-
The
DataSourceIntrospectionModelFieldTypeobject data. Thetypeis only present ifDataSourceIntrospectionModelFieldType.kindis set toNonNullorList.The
typetypically contains its ownkindandnamefields to represent the actual type data. For instance,typecould contain akindvalue ofScalarwith anamevalue ofString. The valuesScalarandStringwill be collectively stored in thevaluesfield.Type: DataSourceIntrospectionModelFieldType object
Required: No
- values
-
The values of the
typefield. This field represents the AppSync data type equivalent of the introspected field.Type: Array of strings
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: