DataSourceIntrospectionModelFieldType - Amazon AppSync
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 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 be null.

  • List: Indicates the field contains a list.

Type: String

Required: No

name

The name of the data type that represents the field. For example, String is a valid name value.

Type: String

Required: No

type

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.

Type: DataSourceIntrospectionModelFieldType object

Required: No

values

The values of the type field. 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 Amazon SDKs, see the following: