/AWS1/CL_TRNWORKFLOWDETAILS¶
Container for the WorkflowDetail data type. It is used by actions that trigger a workflow to begin execution.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
it_onupload TYPE /AWS1/CL_TRNWORKFLOWDETAIL=>TT_ONUPLOADWORKFLOWDETAILS TT_ONUPLOADWORKFLOWDETAILS¶
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
OnUploadobject, as in the following example.
aws transfer update-server --server-id s-01234567890abcdef --workflow-details '{"OnUpload":[]}'
OnUploadcan contain a maximum of oneWorkflowDetailobject.
it_onpartialupload TYPE /AWS1/CL_TRNWORKFLOWDETAIL=>TT_ONPARTIALUPLOADWORKFLOWDETS TT_ONPARTIALUPLOADWORKFLOWDETS¶
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.
OnPartialUploadcan contain a maximum of oneWorkflowDetailobject.
Queryable Attributes¶
OnUpload¶
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
OnUploadobject, as in the following example.
aws transfer update-server --server-id s-01234567890abcdef --workflow-details '{"OnUpload":[]}'
OnUploadcan contain a maximum of oneWorkflowDetailobject.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ONUPLOAD() |
Getter for ONUPLOAD, with configurable default |
ASK_ONUPLOAD() |
Getter for ONUPLOAD w/ exceptions if field has no value |
HAS_ONUPLOAD() |
Determine if ONUPLOAD has a value |
OnPartialUpload¶
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.
OnPartialUploadcan contain a maximum of oneWorkflowDetailobject.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ONPARTIALUPLOAD() |
Getter for ONPARTIALUPLOAD, with configurable default |
ASK_ONPARTIALUPLOAD() |
Getter for ONPARTIALUPLOAD w/ exceptions if field has no val |
HAS_ONPARTIALUPLOAD() |
Determine if ONPARTIALUPLOAD has a value |