Module Values.WorkflowDetailsSource

Container for the WorkflowDetail data type. It is used by actions that trigger a workflow to begin execution.

Sourcetype nonrec t = {
  1. onUpload : OnUploadWorkflowDetails.t option;
    (*

    A trigger that starts a workflow: the workflow begins to execute after a file is uploaded. To remove an associated workflow from a server, you can provide an empty OnUpload object, as in the following example. aws transfer update-server --server-id s-01234567890abcdef --workflow-details '{"OnUpload":[]}' OnUpload can contain a maximum of one WorkflowDetail object.

    *)
  2. onPartialUpload : OnPartialUploadWorkflowDetails.t option;
    (*

    A trigger that starts a workflow if a file is only partially uploaded. You can attach a workflow to a server that executes whenever there is a partial upload. A partial upload occurs when a file is open when the session disconnects. OnPartialUpload can contain a maximum of one WorkflowDetail object.

    *)
}
Sourceval make : ?onUpload:??? -> ?onPartialUpload:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of WorkflowId.t ]) 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