amazonka-transfer-2.0: Amazon Transfer Family SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

  • error :: Maybe ExecutionError

    Specifies the details for an error, if it occurred during execution of the specified workflow 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.

  • stepType :: Maybe WorkflowStepType

    One of the available step types.

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

Instances

Instances details
FromJSON 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 #

Read ExecutionStepResult Source # 
Instance details

Defined in Amazonka.Transfer.Types.ExecutionStepResult

Show ExecutionStepResult Source # 
Instance details

Defined in Amazonka.Transfer.Types.ExecutionStepResult

NFData ExecutionStepResult Source # 
Instance details

Defined in Amazonka.Transfer.Types.ExecutionStepResult

Methods

rnf :: ExecutionStepResult -> () #

Eq ExecutionStepResult Source # 
Instance details

Defined in Amazonka.Transfer.Types.ExecutionStepResult

Hashable 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" "amazonka-transfer-2.0-JiqKYJwOo427yDlzvkXGLY" 'False) (C1 ('MetaCons "ExecutionStepResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExecutionError)) :*: (S1 ('MetaSel ('Just "outputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stepType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkflowStepType)))))

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:error:ExecutionStepResult', executionStepResult_error - Specifies the details for an error, if it occurred during execution of the specified workflow 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.

$sel:stepType:ExecutionStepResult', executionStepResult_stepType - One of the available step types.

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

executionStepResult_error :: Lens' ExecutionStepResult (Maybe ExecutionError) Source #

Specifies the details for an error, if it occurred during execution of the specified workflow 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.

executionStepResult_stepType :: Lens' ExecutionStepResult (Maybe WorkflowStepType) Source #

One of the available step types.

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