| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Transfer.Types.WorkflowDetails
Description
Documentation
data WorkflowDetails Source #
Container for the WorkflowDetail data type. It is used by actions that
trigger a workflow to begin execution.
See: newWorkflowDetails smart constructor.
Constructors
| WorkflowDetails' | |
Fields
| |
Instances
newWorkflowDetails :: WorkflowDetails Source #
Create a value of WorkflowDetails with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:onPartialUpload:WorkflowDetails', workflowDetails_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.
$sel:onUpload:WorkflowDetails', workflowDetails_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
OnUpload object, as in the following example.
aws transfer update-server --server-id s-01234567890abcdef --workflow-details '{"OnUpload":[]}'workflowDetails_onPartialUpload :: Lens' WorkflowDetails (Maybe [WorkflowDetail]) Source #
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.
workflowDetails_onUpload :: Lens' WorkflowDetails (Maybe [WorkflowDetail]) Source #
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":[]}'