libZSservicesZSamazonka-transferZSamazonka-transfer
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Transfer.Types.ExecutionError

Description

 
Synopsis

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

  • type' :: ExecutionErrorType

    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.

  • message :: Text

    Specifies the descriptive message that corresponds to the ErrorType.

Instances

Instances details
Eq ExecutionError Source # 
Instance details

Defined in Amazonka.Transfer.Types.ExecutionError

Read ExecutionError Source # 
Instance details

Defined in Amazonka.Transfer.Types.ExecutionError

Show ExecutionError Source # 
Instance details

Defined in Amazonka.Transfer.Types.ExecutionError

Generic ExecutionError Source # 
Instance details

Defined in Amazonka.Transfer.Types.ExecutionError

Associated Types

type Rep ExecutionError :: Type -> Type #

NFData ExecutionError Source # 
Instance details

Defined in Amazonka.Transfer.Types.ExecutionError

Methods

rnf :: ExecutionError -> () #

Hashable ExecutionError Source # 
Instance details

Defined in Amazonka.Transfer.Types.ExecutionError

FromJSON ExecutionError Source # 
Instance details

Defined in Amazonka.Transfer.Types.ExecutionError

type Rep ExecutionError Source # 
Instance details

Defined in Amazonka.Transfer.Types.ExecutionError

type Rep ExecutionError = D1 ('MetaData "ExecutionError" "Amazonka.Transfer.Types.ExecutionError" "libZSservicesZSamazonka-transferZSamazonka-transfer" 'False) (C1 ('MetaCons "ExecutionError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ExecutionErrorType) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newExecutionError Source #

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.