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.

Deletes a schema. Before deleting a schema, you must delete all datasets referencing the schema. For more information on schemas, see CreateSchema.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to DeleteSchemaAsync.

Namespace: Amazon.Personalize
Assembly: AWSSDK.Personalize.dll
Version: 3.x.y.z

Syntax

C#
public virtual DeleteSchemaResponse DeleteSchema(
         DeleteSchemaRequest request
)

Parameters

request
Type: Amazon.Personalize.Model.DeleteSchemaRequest

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

Return Value


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

Exceptions

ExceptionCondition
InvalidInputException Provide a valid value for the field or parameter.
ResourceInUseException The specified resource is in use.
ResourceNotFoundException Could not find the specified resource.

Version Information

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

See Also