| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.Transfer.Types.ExecutionStepResult
Description
Synopsis
- data ExecutionStepResult = ExecutionStepResult' {}
- newExecutionStepResult :: ExecutionStepResult
- executionStepResult_stepType :: Lens' ExecutionStepResult (Maybe WorkflowStepType)
- executionStepResult_error :: Lens' ExecutionStepResult (Maybe ExecutionError)
- executionStepResult_outputs :: Lens' ExecutionStepResult (Maybe Text)
Documentation
data ExecutionStepResult Source #
Specifies the following details for the step: error (if any), outputs (if any), and the step type.
See: newExecutionStepResult smart constructor.
Constructors
| ExecutionStepResult' | |
Fields
| |
Instances
newExecutionStepResult :: ExecutionStepResult Source #
Create a value of ExecutionStepResult 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:stepType:ExecutionStepResult', executionStepResult_stepType - One of the available step types.
- Copy: copy the file to another location
- Custom: custom step with a lambda target
- Delete: delete the file
- Tag: add a tag to the file
$sel:error:ExecutionStepResult', executionStepResult_error - Specifies the details for an error, if it occurred during execution of
the specified workfow step.
$sel:outputs:ExecutionStepResult', executionStepResult_outputs - The values for the key/value pair applied as a tag to the file. Only
applicable if the step type is TAG.
executionStepResult_stepType :: Lens' ExecutionStepResult (Maybe WorkflowStepType) Source #
One of the available step types.
- Copy: copy the file to another location
- Custom: custom step with a lambda target
- Delete: delete the file
- Tag: add a tag to the file
executionStepResult_error :: Lens' ExecutionStepResult (Maybe ExecutionError) Source #
Specifies the details for an error, if it occurred during execution of the specified workfow step.
executionStepResult_outputs :: Lens' ExecutionStepResult (Maybe Text) Source #
The values for the key/value pair applied as a tag to the file. Only
applicable if the step type is TAG.