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.ExecutionStepResult

Description

 
Synopsis

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

  • stepType :: Maybe WorkflowStepType

    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
  • error :: Maybe ExecutionError

    Specifies the details for an error, if it occurred during execution of the specified workfow step.

  • outputs :: Maybe Text

    The values for the key/value pair applied as a tag to the file. Only applicable if the step type is TAG.

Instances

Instances details
Eq ExecutionStepResult Source # 
Instance details

Defined in Amazonka.Transfer.Types.ExecutionStepResult

Read ExecutionStepResult Source # 
Instance details

Defined in Amazonka.Transfer.Types.ExecutionStepResult

Show ExecutionStepResult Source # 
Instance details

Defined in Amazonka.Transfer.Types.ExecutionStepResult

Generic ExecutionStepResult Source # 
Instance details

Defined in Amazonka.Transfer.Types.ExecutionStepResult

Associated Types

type Rep ExecutionStepResult :: Type -> Type #

NFData ExecutionStepResult Source # 
Instance details

Defined in Amazonka.Transfer.Types.ExecutionStepResult

Methods

rnf :: ExecutionStepResult -> () #

Hashable ExecutionStepResult Source # 
Instance details

Defined in Amazonka.Transfer.Types.ExecutionStepResult

FromJSON ExecutionStepResult Source # 
Instance details

Defined in Amazonka.Transfer.Types.ExecutionStepResult

type Rep ExecutionStepResult Source # 
Instance details

Defined in Amazonka.Transfer.Types.ExecutionStepResult

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

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.