CodegenGenericDataField - AmplifyUIBuilder

CodegenGenericDataField

Describes a field in a generic data schema.

Contents

dataType

The data type for the generic data field.

Type: String

Valid Values: ID | String | Int | Float | AWSDate | AWSTime | AWSDateTime | AWSTimestamp | AWSEmail | AWSURL | AWSIPAddress | Boolean | AWSJSON | AWSPhone | Enum | Model | NonModel

Required: Yes

dataTypeValue

The value of the data type for the generic data field.

Type: String

Required: Yes

isArray

Specifies whether the generic data field is an array.

Type: Boolean

Required: Yes

readOnly

Specifies whether the generic data field is read-only.

Type: Boolean

Required: Yes

required

Specifies whether the generic data field is required.

Type: Boolean

Required: Yes

relationship

The relationship of the generic data schema.

Type: CodegenGenericDataRelationshipType object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: