WorkflowDetails
¶
Used by
-
AsyncTransferClient Operations -
TransferClient Operations
Source code in docs_src/capo_transfer/types/workflow_details.py
on_partial_upload
instance-attribute
¶
on_partial_upload: NotRequired[OnPartialUploadWorkflowDetails]
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.
on_upload
instance-attribute
¶
on_upload: NotRequired[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 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.