Module Values_0.OTAUpdateInfoSource

Information about an OTA update.

Sourcetype nonrec t = {
  1. otaUpdateId : OTAUpdateId.t option;
    (*

    The OTA update ID.

    *)
  2. otaUpdateArn : OTAUpdateArn.t option;
    (*

    The OTA update ARN.

    *)
  3. creationDate : DateType.t option;
    (*

    The date when the OTA update was created.

    *)
  4. lastModifiedDate : DateType.t option;
    (*

    The date when the OTA update was last updated.

    *)
  5. description : OTAUpdateDescription.t option;
    (*

    A description of the OTA update.

    *)
  6. targets : Targets.t option;
    (*

    The targets of the OTA update.

    *)
  7. protocols : Protocols.t option;
    (*

    The protocol used to transfer the OTA update image. Valid values are [HTTP], [MQTT], [HTTP, MQTT]. When both HTTP and MQTT are specified, the target device can choose the protocol.

    *)
  8. awsJobExecutionsRolloutConfig : AwsJobExecutionsRolloutConfig.t option;
    (*

    Configuration for the rollout of OTA updates.

    *)
  9. awsJobPresignedUrlConfig : AwsJobPresignedUrlConfig.t option;
    (*

    Configuration information for pre-signed URLs. Valid when protocols contains HTTP.

    *)
  10. targetSelection : TargetSelection.t option;
    (*

    Specifies whether the OTA update will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the OTA update (SNAPSHOT). If continuous, the OTA update may also be run on a thing when a change is detected in a target. For example, an OTA update will run on a thing when the thing is added to a target group, even after the OTA update was completed by all things originally in the group.

    *)
  11. otaUpdateFiles : OTAUpdateFiles.t option;
    (*

    A list of files associated with the OTA update.

    *)
  12. otaUpdateStatus : OTAUpdateStatus.t option;
    (*

    The status of the OTA update.

    *)
  13. awsIotJobId : AwsIotJobId.t option;
    (*

    The IoT job ID associated with the OTA update.

    *)
  14. awsIotJobArn : AwsIotJobArn.t option;
    (*

    The IoT job ARN associated with the OTA update.

    *)
  15. errorInfo : ErrorInfo.t option;
    (*

    Error information associated with the OTA update.

    *)
  16. additionalParameters : AdditionalParameterMap.t option;
    (*

    A collection of name/value pairs

    *)
}
Sourceval make : ?otaUpdateId:??? -> ?otaUpdateArn:??? -> ?creationDate:??? -> ?lastModifiedDate:??? -> ?description:??? -> ?targets:??? -> ?protocols:??? -> ?awsJobExecutionsRolloutConfig:??? -> ?awsJobPresignedUrlConfig:??? -> ?targetSelection:??? -> ?otaUpdateFiles:??? -> ?otaUpdateStatus:??? -> ?awsIotJobId:??? -> ?awsIotJobArn:??? -> ?errorInfo:??? -> ?additionalParameters:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Enum of string | `String of Target.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 ] list | `Map of ([> `String of AttributeKey.t ] * [> `String of Value.t ]) list | `String of OTAUpdateId.t | `Structure of (string * [> `Integer of MaximumPerMinute.t | `Long of ExpiresInSeconds.t | `String of Code.t | `Structure of (string * [> `Double of AwsJobRolloutIncrementFactor.t | `Integer of AwsJobRolloutRatePerMinute.t | `Structure of (string * [> `Integer of AwsJobRateIncreaseCriteriaNumberOfThings.t ]) list ]) list ]) list | `Timestamp of DateType.t ]) 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