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

Description

 
Synopsis

Documentation

data WorkflowStep Source #

The basic building block of a workflow.

See: newWorkflowStep smart constructor.

Constructors

WorkflowStep' 

Fields

  • tagStepDetails :: Maybe TagStepDetails

    Details for a step that creates one or more tags.

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

  • deleteStepDetails :: Maybe DeleteStepDetails

    Details for a step that deletes the file.

  • copyStepDetails :: Maybe 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.
  • type' :: Maybe WorkflowStepType

    Currently, the following step types are supported.

    • 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
  • customStepDetails :: Maybe CustomStepDetails

    Details for a step that invokes a lambda function.

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

Instances

Instances details
Eq WorkflowStep Source # 
Instance details

Defined in Amazonka.Transfer.Types.WorkflowStep

Read WorkflowStep Source # 
Instance details

Defined in Amazonka.Transfer.Types.WorkflowStep

Show 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 #

NFData WorkflowStep Source # 
Instance details

Defined in Amazonka.Transfer.Types.WorkflowStep

Methods

rnf :: WorkflowStep -> () #

Hashable WorkflowStep Source # 
Instance details

Defined in Amazonka.Transfer.Types.WorkflowStep

ToJSON WorkflowStep Source # 
Instance details

Defined in Amazonka.Transfer.Types.WorkflowStep

FromJSON WorkflowStep Source # 
Instance details

Defined in Amazonka.Transfer.Types.WorkflowStep

type Rep WorkflowStep Source # 
Instance details

Defined in Amazonka.Transfer.Types.WorkflowStep

type Rep WorkflowStep = D1 ('MetaData "WorkflowStep" "Amazonka.Transfer.Types.WorkflowStep" "libZSservicesZSamazonka-transferZSamazonka-transfer" 'False) (C1 ('MetaCons "WorkflowStep'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "tagStepDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TagStepDetails)) :*: S1 ('MetaSel ('Just "deleteStepDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeleteStepDetails))) :*: (S1 ('MetaSel ('Just "copyStepDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CopyStepDetails)) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkflowStepType)) :*: S1 ('MetaSel ('Just "customStepDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CustomStepDetails))))))

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

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

$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:type':WorkflowStep', workflowStep_type - Currently, the following step types are supported.

  • 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:customStepDetails:WorkflowStep', workflowStep_customStepDetails - Details for a step that invokes a lambda function.

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

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_deleteStepDetails :: Lens' WorkflowStep (Maybe DeleteStepDetails) Source #

Details for a step that deletes 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_type :: Lens' WorkflowStep (Maybe WorkflowStepType) Source #

Currently, the following step types are supported.

  • 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

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