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

Description

 
Synopsis

Documentation

data CopyStepDetails Source #

Each step type has its own StepDetails structure.

See: newCopyStepDetails smart constructor.

Constructors

CopyStepDetails' 

Fields

  • destinationFileLocation :: Maybe InputFileLocation

    Specifies the location for the file being copied. Only applicable for Copy type workflow steps. Use ${Transfer:username} in this field to parametrize the destination prefix by username.

  • name :: Maybe Text

    The name of the step, used as an identifier.

  • overwriteExisting :: Maybe OverwriteExisting

    A flag that indicates whether or not to overwrite an existing file of the same name. The default is FALSE.

  • sourceFileLocation :: Maybe Text

    Specifies which file to use as input to the workflow step: either the output from the previous step, or the originally uploaded file for the workflow.

    • Enter ${previous.file} to use the previous file as the input. In this case, this workflow step uses the output file from the previous workflow step as input. This is the default value.
    • Enter ${original.file} to use the originally-uploaded file location as input for this step.

Instances

Instances details
FromJSON CopyStepDetails Source # 
Instance details

Defined in Amazonka.Transfer.Types.CopyStepDetails

ToJSON CopyStepDetails Source # 
Instance details

Defined in Amazonka.Transfer.Types.CopyStepDetails

Generic CopyStepDetails Source # 
Instance details

Defined in Amazonka.Transfer.Types.CopyStepDetails

Associated Types

type Rep CopyStepDetails :: Type -> Type #

Read CopyStepDetails Source # 
Instance details

Defined in Amazonka.Transfer.Types.CopyStepDetails

Show CopyStepDetails Source # 
Instance details

Defined in Amazonka.Transfer.Types.CopyStepDetails

NFData CopyStepDetails Source # 
Instance details

Defined in Amazonka.Transfer.Types.CopyStepDetails

Methods

rnf :: CopyStepDetails -> () #

Eq CopyStepDetails Source # 
Instance details

Defined in Amazonka.Transfer.Types.CopyStepDetails

Hashable CopyStepDetails Source # 
Instance details

Defined in Amazonka.Transfer.Types.CopyStepDetails

type Rep CopyStepDetails Source # 
Instance details

Defined in Amazonka.Transfer.Types.CopyStepDetails

type Rep CopyStepDetails = D1 ('MetaData "CopyStepDetails" "Amazonka.Transfer.Types.CopyStepDetails" "amazonka-transfer-2.0-JiqKYJwOo427yDlzvkXGLY" 'False) (C1 ('MetaCons "CopyStepDetails'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "destinationFileLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputFileLocation)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "overwriteExisting") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OverwriteExisting)) :*: S1 ('MetaSel ('Just "sourceFileLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newCopyStepDetails :: CopyStepDetails Source #

Create a value of CopyStepDetails 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:destinationFileLocation:CopyStepDetails', copyStepDetails_destinationFileLocation - Specifies the location for the file being copied. Only applicable for Copy type workflow steps. Use ${Transfer:username} in this field to parametrize the destination prefix by username.

$sel:name:CopyStepDetails', copyStepDetails_name - The name of the step, used as an identifier.

$sel:overwriteExisting:CopyStepDetails', copyStepDetails_overwriteExisting - A flag that indicates whether or not to overwrite an existing file of the same name. The default is FALSE.

$sel:sourceFileLocation:CopyStepDetails', copyStepDetails_sourceFileLocation - Specifies which file to use as input to the workflow step: either the output from the previous step, or the originally uploaded file for the workflow.

  • Enter ${previous.file} to use the previous file as the input. In this case, this workflow step uses the output file from the previous workflow step as input. This is the default value.
  • Enter ${original.file} to use the originally-uploaded file location as input for this step.

copyStepDetails_destinationFileLocation :: Lens' CopyStepDetails (Maybe InputFileLocation) Source #

Specifies the location for the file being copied. Only applicable for Copy type workflow steps. Use ${Transfer:username} in this field to parametrize the destination prefix by username.

copyStepDetails_name :: Lens' CopyStepDetails (Maybe Text) Source #

The name of the step, used as an identifier.

copyStepDetails_overwriteExisting :: Lens' CopyStepDetails (Maybe OverwriteExisting) Source #

A flag that indicates whether or not to overwrite an existing file of the same name. The default is FALSE.

copyStepDetails_sourceFileLocation :: Lens' CopyStepDetails (Maybe Text) Source #

Specifies which file to use as input to the workflow step: either the output from the previous step, or the originally uploaded file for the workflow.

  • Enter ${previous.file} to use the previous file as the input. In this case, this workflow step uses the output file from the previous workflow step as input. This is the default value.
  • Enter ${original.file} to use the originally-uploaded file location as input for this step.