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.
Updates a composite model and all of the assets that were created from the model.
Each asset created from the model inherits the updated asset model's property and
hierarchy definitions. For more information, see Updating
assets and models in the IoT SiteWise User Guide.
If you remove a property from a composite asset model, IoT SiteWise deletes all previous
data for that property. You can’t change the type or data type of an existing property.
To replace an existing composite asset model property with a new one with the same
Submit an
Submit a second name
, do the following:
UpdateAssetModelCompositeModel
request with the entire existing property
removed.
UpdateAssetModelCompositeModel
request that includes the new
property. The new asset property will have the same name
as the previous one
and IoT SiteWise will generate a new unique id
.
For .NET Core this operation is only available in asynchronous form. Please refer to UpdateAssetModelCompositeModelAsync.
Namespace: Amazon.IoTSiteWise
Assembly: AWSSDK.IoTSiteWise.dll
Version: 3.x.y.z
public abstract UpdateAssetModelCompositeModelResponse UpdateAssetModelCompositeModel( UpdateAssetModelCompositeModelRequest request )
Container for the necessary parameters to execute the UpdateAssetModelCompositeModel service method.
Exception | Condition |
---|---|
ConflictingOperationException | Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time. |
InternalFailureException | IoT SiteWise can't process your request right now. Try again later. |
InvalidRequestException | The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters. Check your request and try again. |
LimitExceededException | You've reached the quota for a resource. For example, this can occur if you're trying to associate more than the allowed number of child assets or attempting to create more than the allowed number of properties for an asset model. For more information, see Quotas in the IoT SiteWise User Guide. |
PreconditionFailedException | The precondition in one or more of the request-header fields evaluated to FALSE. |
ResourceAlreadyExistsException | The resource already exists. |
ResourceNotFoundException | The requested resource can't be found. |
ThrottlingException | Your request exceeded a rate limit. For example, you might have exceeded the number of IoT SiteWise assets that can be created per second, the allowed number of messages per second, and so on. For more information, see Quotas in the IoT SiteWise User Guide. |
.NET Framework:
Supported in: 4.5 and newer, 3.5