Module Values.CreateWorkflowRequestSource

Allows you to create a workflow with specified steps and step details the workflow invokes after file transfer completes. After creating a workflow, you can associate the workflow created with any transfer servers by specifying the workflow-details field in CreateServer and UpdateServer operations.

Sourcetype nonrec t = {
  1. description : WorkflowDescription.t option;
    (*

    A textual description for the workflow.

    *)
  2. steps : WorkflowSteps.t;
    (*

    Specifies the details for the steps that are in the specified workflow. The TYPE specifies which of the following actions is being taken for this step. COPY - Copy the file to another location. CUSTOM - Perform a custom step with an Lambda function target. DECRYPT - Decrypt a file that was encrypted before it was uploaded. DELETE - Delete the file. TAG - Add a tag to the file. Currently, copying and tagging are supported only on S3. For file location, you specify either the Amazon S3 bucket and key, or the Amazon EFS file system ID and path.

    *)
  3. onExceptionSteps : WorkflowSteps.t option;
    (*

    Specifies the steps (actions) to take if errors are encountered during execution of the workflow. For custom steps, the Lambda function needs to send FAILURE to the call back API to kick off the exception steps. Additionally, if the Lambda does not send SUCCESS before it times out, the exception steps are executed.

    *)
  4. tags : Tags.t option;
    (*

    Key-value pairs that can be used to group and search for workflows. Tags are metadata attached to workflows for any purpose.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?onExceptionSteps:??? -> ?tags:??? -> steps:WorkflowSteps.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `String of TagKey.t | `Structure of (string * [> `Enum of string | `Integer of CustomStepTimeoutSeconds.t | `List of [> `Structure of (string * [> `String of S3TagKey.t ]) list ] list | `String of WorkflowStepName.t | `Structure of (string * [> `Structure of (string * [> `String of S3Bucket.t ]) list ]) list ]) list ]) list ] list | `String of WorkflowDescription.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