| 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.ExecutionError
Description
Documentation
data ExecutionError Source #
Specifies the error message and type, for an error that occurs during the execution of the workflow.
See: newExecutionError smart constructor.
Constructors
| ExecutionError' | |
Fields
| |
Instances
Arguments
| :: ExecutionErrorType | |
| -> Text | |
| -> ExecutionError |
Create a value of ExecutionError 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:type':ExecutionError', executionError_type - Specifies the error type: currently, the only valid value is
PERMISSION_DENIED, which occurs if your policy does not contain the
correct permissions to complete one or more of the steps in the
workflow.
$sel:message:ExecutionError', executionError_message - Specifies the descriptive message that corresponds to the ErrorType.
executionError_type :: Lens' ExecutionError ExecutionErrorType Source #
Specifies the error type: currently, the only valid value is
PERMISSION_DENIED, which occurs if your policy does not contain the
correct permissions to complete one or more of the steps in the
workflow.
executionError_message :: Lens' ExecutionError Text Source #
Specifies the descriptive message that corresponds to the ErrorType.