Create Schema
personalize_create_schema | R Documentation |
Creates an Amazon Personalize schema from the specified schema string¶
Description¶
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 create_dataset
.
Related APIs
-
list_schemas
-
describe_schema
-
delete_schema
Usage¶
Arguments¶
name
[required] The name for the schema.
schema
[required] A schema in Avro JSON format.
domain
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.
Value¶
A list with the following syntax: