CreateAssetRequest

public struct CreateAssetRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The ID of the asset model from which to create the asset.

    Declaration

    Swift

    public let assetModelId: String
  • A unique, friendly name for the asset.

    Declaration

    Swift

    public let assetName: 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?
  • A list of key-value pairs that contain metadata for the asset. For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide.

    Declaration

    Swift

    public let tags: [String : String]?
  • Undocumented

    Declaration

    Swift

    public init(assetModelId: String, assetName: String, clientToken: String? = CreateAssetRequest.idempotencyToken(), tags: [String : String]? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws