Module Values.EffectiveDeploymentSource

Contains information about a deployment job that IoT Greengrass sends to a Greengrass core device.

Sourcetype nonrec t = {
  1. deploymentId : DeploymentID.t option;
    (*

    The ID of the deployment.

    *)
  2. deploymentName : DeploymentName.t option;
    (*

    The name of the deployment.

    *)
  3. iotJobId : IoTJobId.t option;
    (*

    The ID of the IoT job that applies the deployment to target devices.

    *)
  4. iotJobArn : IoTJobARN.t option;
    (*

    The ARN of the IoT job that applies the deployment to target devices.

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

    The description of the deployment job.

    *)
  6. targetArn : TargetARN.t option;
    (*

    The ARN of the target IoT thing or thing group.

    *)
  7. coreDeviceExecutionStatus : EffectiveDeploymentExecutionStatus.t option;
    (*

    The status of the deployment job on the Greengrass core device. IN_PROGRESS – The deployment job is running. QUEUED – The deployment job is in the job queue and waiting to run. FAILED – The deployment failed. For more information, see the statusDetails field. COMPLETED – The deployment to an IoT thing was completed successfully. TIMED_OUT – The deployment didn't complete in the allotted time. CANCELED – The deployment was canceled by the user. REJECTED – The deployment was rejected. For more information, see the statusDetails field. SUCCEEDED – The deployment to an IoT thing group was completed successfully.

    *)
  8. reason : Reason.t option;
    (*

    The reason code for the update, if the job was updated.

    *)
  9. creationTimestamp : Timestamp.t option;
    (*

    The time at which the deployment was created, expressed in ISO 8601 format.

    *)
  10. modifiedTimestamp : Timestamp.t option;
    (*

    The time at which the deployment job was last modified, expressed in ISO 8601 format.

    *)
  11. statusDetails : EffectiveDeploymentStatusDetails.t option;
    (*

    The status details that explain why a deployment has an error. This response will be null if the deployment is in a success state.

    *)
}
Sourceval make : ?deploymentId:??? -> ?deploymentName:??? -> ?iotJobId:??? -> ?iotJobArn:??? -> ?description:??? -> ?targetArn:??? -> ?coreDeviceExecutionStatus:??? -> ?reason:??? -> ?creationTimestamp:??? -> ?modifiedTimestamp:??? -> ?statusDetails:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of DeploymentID.t | `Structure of (string * [> `List of [> `String of EffectiveDeploymentErrorCode.t ] list ]) list | `Timestamp of Timestamp.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