AWS SDK Version 3 for .NET
API Reference

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

Note:

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

Syntax

C#
public virtual CreateSchemaResponse CreateSchema(
         CreateSchemaRequest request
)

Parameters

request
Type: Amazon.Personalize.Model.CreateSchemaRequest

Container for the necessary parameters to execute the CreateSchema service method.

Return Value


The response from the CreateSchema service method, as returned by Personalize.

Exceptions

ExceptionCondition
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.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also