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

Description

 
Synopsis

Documentation

data WorkflowStep Source #

The basic building block of a workflow.

See: newWorkflowStep smart constructor.

Constructors

WorkflowStep' 

Fields

Instances

Instances details
FromJSON WorkflowStep Source # 
Instance details

Defined in Amazonka.Transfer.Types.WorkflowStep

ToJSON WorkflowStep Source # 
Instance details

Defined in Amazonka.Transfer.Types.WorkflowStep

Generic WorkflowStep Source # 
Instance details

Defined in Amazonka.Transfer.Types.WorkflowStep

Associated Types

type Rep WorkflowStep :: Type -> Type #

Read WorkflowStep Source # 
Instance details

Defined in Amazonka.Transfer.Types.WorkflowStep

Show WorkflowStep Source # 
Instance details

Defined in Amazonka.Transfer.Types.WorkflowStep

NFData WorkflowStep Source # 
Instance details

Defined in Amazonka.Transfer.Types.WorkflowStep

Methods

rnf :: WorkflowStep -> () #

Eq WorkflowStep Source # 
Instance details

Defined in Amazonka.Transfer.Types.WorkflowStep

Hashable WorkflowStep Source # 
Instance details

Defined in Amazonka.Transfer.Types.WorkflowStep

type Rep WorkflowStep Source # 
Instance details

Defined in Amazonka.Transfer.Types.WorkflowStep

newWorkflowStep :: WorkflowStep Source #

Create a value of WorkflowStep 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:copyStepDetails:WorkflowStep', workflowStep_copyStepDetails - Details for a step that performs a file copy.

Consists of the following values:

  • A description
  • An S3 location for the destination of the file copy.
  • A flag that indicates whether or not to overwrite an existing file of the same name. The default is FALSE.

$sel:customStepDetails:WorkflowStep', workflowStep_customStepDetails - Details for a step that invokes a lambda function.

Consists of the lambda function name, target, and timeout (in seconds).

$sel:decryptStepDetails:WorkflowStep', workflowStep_decryptStepDetails - Undocumented member.

$sel:deleteStepDetails:WorkflowStep', workflowStep_deleteStepDetails - Details for a step that deletes the file.

$sel:tagStepDetails:WorkflowStep', workflowStep_tagStepDetails - Details for a step that creates one or more tags.

You specify one or more tags: each tag contains a key/value pair.

WorkflowStep, workflowStep_type - Currently, the following step types are supported.

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

workflowStep_copyStepDetails :: Lens' WorkflowStep (Maybe CopyStepDetails) Source #

Details for a step that performs a file copy.

Consists of the following values:

  • A description
  • An S3 location for the destination of the file copy.
  • A flag that indicates whether or not to overwrite an existing file of the same name. The default is FALSE.

workflowStep_customStepDetails :: Lens' WorkflowStep (Maybe CustomStepDetails) Source #

Details for a step that invokes a lambda function.

Consists of the lambda function name, target, and timeout (in seconds).

workflowStep_deleteStepDetails :: Lens' WorkflowStep (Maybe DeleteStepDetails) Source #

Details for a step that deletes the file.

workflowStep_tagStepDetails :: Lens' WorkflowStep (Maybe TagStepDetails) Source #

Details for a step that creates one or more tags.

You specify one or more tags: each tag contains a key/value pair.

workflowStep_type :: Lens' WorkflowStep (Maybe WorkflowStepType) Source #

Currently, the following step types are supported.

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