| 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.WorkflowStep
Description
Synopsis
- data WorkflowStep = WorkflowStep' {}
- newWorkflowStep :: WorkflowStep
- workflowStep_copyStepDetails :: Lens' WorkflowStep (Maybe CopyStepDetails)
- workflowStep_customStepDetails :: Lens' WorkflowStep (Maybe CustomStepDetails)
- workflowStep_decryptStepDetails :: Lens' WorkflowStep (Maybe DecryptStepDetails)
- workflowStep_deleteStepDetails :: Lens' WorkflowStep (Maybe DeleteStepDetails)
- workflowStep_tagStepDetails :: Lens' WorkflowStep (Maybe TagStepDetails)
- workflowStep_type :: Lens' WorkflowStep (Maybe WorkflowStepType)
Documentation
data WorkflowStep Source #
The basic building block of a workflow.
See: newWorkflowStep smart constructor.
Constructors
| WorkflowStep' | |
Fields
| |
Instances
newWorkflowStep :: WorkflowStep Source #
Create a value of WorkflowStep 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:copyStepDetails:WorkflowStep', workflowStep_copyStepDetails - Details for a step that performs a file copy.
Consists of the following values:
- A description
- An S3 location for the destination of the file copy.
- A flag that indicates whether or not to overwrite an existing file
of the same name. The default is
FALSE.
$sel:customStepDetails:WorkflowStep', workflowStep_customStepDetails - Details for a step that invokes a lambda function.
Consists of the lambda function name, target, and timeout (in seconds).
$sel:decryptStepDetails:WorkflowStep', workflowStep_decryptStepDetails - Undocumented member.
$sel:deleteStepDetails:WorkflowStep', workflowStep_deleteStepDetails - Details for a step that deletes the file.
$sel:tagStepDetails:WorkflowStep', workflowStep_tagStepDetails - Details for a step that creates one or more tags.
You specify one or more tags: each tag contains a key/value pair.
WorkflowStep, workflowStep_type - Currently, the following step types are supported.
- COPY: Copy the file to another location.
- CUSTOM: Perform a custom step with an Lambda function target.
- DELETE: Delete the file.
- TAG: Add a tag to the file.
workflowStep_copyStepDetails :: Lens' WorkflowStep (Maybe CopyStepDetails) Source #
Details for a step that performs a file copy.
Consists of the following values:
- A description
- An S3 location for the destination of the file copy.
- A flag that indicates whether or not to overwrite an existing file
of the same name. The default is
FALSE.
workflowStep_customStepDetails :: Lens' WorkflowStep (Maybe CustomStepDetails) Source #
Details for a step that invokes a lambda function.
Consists of the lambda function name, target, and timeout (in seconds).
workflowStep_decryptStepDetails :: Lens' WorkflowStep (Maybe DecryptStepDetails) Source #
Undocumented member.
workflowStep_deleteStepDetails :: Lens' WorkflowStep (Maybe DeleteStepDetails) Source #
Details for a step that deletes the file.
workflowStep_tagStepDetails :: Lens' WorkflowStep (Maybe TagStepDetails) Source #
Details for a step that creates one or more tags.
You specify one or more tags: each tag contains a key/value pair.
workflowStep_type :: Lens' WorkflowStep (Maybe WorkflowStepType) Source #
Currently, the following step types are supported.
- COPY: Copy the file to another location.
- CUSTOM: Perform a custom step with an Lambda function target.
- DELETE: Delete the file.
- TAG: Add a tag to the file.