Module Values_0.OTAUpdateFileSource

Describes a file to be associated with an OTA update.

Sourcetype nonrec t = {
  1. fileName : FileName.t option;
    (*

    The name of the file.

    *)
  2. fileType : FileType.t option;
    (*

    An integer value you can include in the job document to allow your devices to identify the type of file received from the cloud.

    *)
  3. fileVersion : OTAUpdateFileVersion.t option;
    (*

    The file version.

    *)
  4. fileLocation : FileLocation.t option;
    (*

    The location of the updated firmware.

    *)
  5. codeSigning : CodeSigning.t option;
    (*

    The code signing method of the file.

    *)
  6. attributes : AttributesMap.t option;
    (*

    A list of name-attribute pairs. They won't be sent to devices as a part of the Job document.

    *)
}
Sourceval make : ?fileName:??? -> ?fileType:??? -> ?fileVersion:??? -> ?fileLocation:??? -> ?codeSigning:??? -> ?attributes:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of FileType.t | `Map of ([> `String of AttributeKey.t ] * [> `String of Value.t ]) list | `String of FileName.t | `Structure of (string * [> `String of SigningJobId.t | `Structure of (string * [> `Integer of FileId.t | `String of StreamId.t | `Structure of (string * [> `Blob of Signature.t | `String of CertificateArn.t | `Structure of (string * [> `String of S3Bucket.t ]) list ]) list ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t