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 DeleteAssetModelCompositeModel operation. Deletes a composite model. This action can't be undone. You must delete all assets created from a composite model before you can delete the model. Also, you can't delete a composite model if a parent asset model exists that contains a property formula expression that depends on the asset model that you want to delete. For more information, see Deleting assets and models in the IoT SiteWise User Guide.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.IoTSiteWise.AmazonIoTSiteWiseRequest
      Amazon.IoTSiteWise.Model.DeleteAssetModelCompositeModelRequest

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

Syntax

C#
public class DeleteAssetModelCompositeModelRequest : AmazonIoTSiteWiseRequest
         IAmazonWebServiceRequest

The DeleteAssetModelCompositeModelRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property AssetModelCompositeModelId System.String

Gets and sets the property AssetModelCompositeModelId.

The ID of a composite model on this asset model.

Public Property AssetModelId System.String

Gets and sets the property AssetModelId.

The ID of the asset model, in UUID format.

Public Property ClientToken System.String

Gets and sets the property ClientToken.

A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.

Public Property IfMatch System.String

Gets and sets the property IfMatch.

The expected current entity tag (ETag) for the asset model’s latest or active version (specified using matchForVersionType). The delete request is rejected if the tag does not match the latest or active version's current entity tag. See Optimistic locking for asset model writes in the IoT SiteWise User Guide.

Public Property IfNoneMatch System.String

Gets and sets the property IfNoneMatch.

Accepts * to reject the delete request if an active version (specified using matchForVersionType as ACTIVE) already exists for the asset model.

Public Property MatchForVersionType Amazon.IoTSiteWise.AssetModelVersionType

Gets and sets the property MatchForVersionType.

Specifies the asset model version type (LATEST or ACTIVE) used in conjunction with If-Match or If-None-Match headers to determine the target ETag for the delete operation.

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