AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
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
For .NET Core this operation is only available in asynchronous form. Please refer to CreateSchemaAsync.
Namespace: Amazon.Personalize
Assembly: AWSSDK.Personalize.dll
Version: 3.x.y.z
public virtual CreateSchemaResponse CreateSchema( CreateSchemaRequest request )
Container for the necessary parameters to execute the CreateSchema service method.
Exception | Condition |
---|---|
InvalidInputException | Provide a valid value for the field or parameter. |
LimitExceededException | The limit on the number of requests per second has been exceeded. |
ResourceAlreadyExistsException | The specified resource already exists. |
.NET Framework:
Supported in: 4.5 and newer, 3.5