v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1466276261.1 KB

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

post/#X-Amz-Target=AmazonPersonalize.CreateSchema

Headers

X-Amz-Target'AmazonPersonalize.CreateSchema' required

Request body

namestring required

The name for the schema.

schemastring required

A schema in Avro JSON format.

domain'ECOMMERCE' | 'VIDEO_ON_DEMAND'

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.

Response

Success

schemaArnstring

The Amazon Resource Name (ARN) of the created schema.