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.

Container for the parameters to the DeleteSchema operation. Deletes a given schema. Schemas in a development and published state can only be deleted.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CloudDirectory.AmazonCloudDirectoryRequest
      Amazon.CloudDirectory.Model.DeleteSchemaRequest

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

Syntax

C#
public class DeleteSchemaRequest : AmazonCloudDirectoryRequest
         IAmazonWebServiceRequest

The DeleteSchemaRequest type exposes the following members

Constructors

NameDescription
Public Method DeleteSchemaRequest()

Properties

NameTypeDescription
Public Property SchemaArn System.String

Gets and sets the property SchemaArn.

The Amazon Resource Name (ARN) of the development schema. For more information, see arns.

Examples

To delete a schema


var client = new AmazonCloudDirectoryClient();
var response = client.DeleteSchema(new DeleteSchemaRequest 
{
    SchemaArn = "arn:aws:clouddirectory:us-west-2:45132example:schema/development/exampleorgtest"
});

string schemaArn = response.SchemaArn;

            

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

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