UpdateAssetPropertyRequest

public struct UpdateAssetPropertyRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The ID of the asset to be updated.

    Declaration

    Swift

    public let assetId: String
  • 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.

    Declaration

    Swift

    public let clientToken: String?
  • The property alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the AWS IoT SiteWise User Guide. If you omit this parameter, the alias is removed from the property.

    Declaration

    Swift

    public let propertyAlias: String?
  • The ID of the asset property to be updated.

    Declaration

    Swift

    public let propertyId: String
  • The MQTT notification state (enabled or disabled) for this asset property. When the notification state is enabled, AWS IoT SiteWise publishes property value updates to a unique MQTT topic. For more information, see Interacting with other services in the AWS IoT SiteWise User Guide. If you omit this parameter, the notification state is set to DISABLED.

    Declaration

    Swift

    public let propertyNotificationState: PropertyNotificationState?
  • Undocumented

    Declaration

    Swift

    public init(assetId: String, clientToken: String? = UpdateAssetPropertyRequest.idempotencyToken(), propertyAlias: String? = nil, propertyId: String, propertyNotificationState: PropertyNotificationState? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws