Skip to content

/AWS1/CL_PZZ=>CREATESCHEMA()

About CreateSchema

Creates an Amazon Personalize schema from the specified schema string. The schema you create must be in Avro JSON format.

Amazon Personalize recognizes three schema variants. Each schema is associated with a dataset type and has a set of required field and keywords. If you are creating a schema for a dataset in a Domain dataset group, you provide the domain of the Domain dataset group. You specify a schema when you call CreateDataset.

Related APIs

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/PZZNAME /AWS1/PZZNAME

The name for the schema.

IV_SCHEMA TYPE /AWS1/PZZAVROSCHEMA /AWS1/PZZAVROSCHEMA

A schema in Avro JSON format.

Optional arguments:

IV_DOMAIN TYPE /AWS1/PZZDOMAIN /AWS1/PZZDOMAIN

The domain for the schema. If you are creating a schema for a dataset in a Domain dataset group, specify the domain you chose when you created the Domain dataset group.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_PZZCREATESCHEMARSP /AWS1/CL_PZZCREATESCHEMARSP