libZSservicesZSamazonka-appflowZSamazonka-appflow
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.AppFlow.Types.Task

Description

 
Synopsis

Documentation

data Task Source #

A class for modeling different type of tasks. Task implementation varies based on the TaskType.

See: newTask smart constructor.

Constructors

Task' 

Fields

Instances

Instances details
Eq Task Source # 
Instance details

Defined in Amazonka.AppFlow.Types.Task

Methods

(==) :: Task -> Task -> Bool #

(/=) :: Task -> Task -> Bool #

Read Task Source # 
Instance details

Defined in Amazonka.AppFlow.Types.Task

Show Task Source # 
Instance details

Defined in Amazonka.AppFlow.Types.Task

Methods

showsPrec :: Int -> Task -> ShowS #

show :: Task -> String #

showList :: [Task] -> ShowS #

Generic Task Source # 
Instance details

Defined in Amazonka.AppFlow.Types.Task

Associated Types

type Rep Task :: Type -> Type #

Methods

from :: Task -> Rep Task x #

to :: Rep Task x -> Task #

NFData Task Source # 
Instance details

Defined in Amazonka.AppFlow.Types.Task

Methods

rnf :: Task -> () #

Hashable Task Source # 
Instance details

Defined in Amazonka.AppFlow.Types.Task

Methods

hashWithSalt :: Int -> Task -> Int #

hash :: Task -> Int #

ToJSON Task Source # 
Instance details

Defined in Amazonka.AppFlow.Types.Task

FromJSON Task Source # 
Instance details

Defined in Amazonka.AppFlow.Types.Task

type Rep Task Source # 
Instance details

Defined in Amazonka.AppFlow.Types.Task

type Rep Task = D1 ('MetaData "Task" "Amazonka.AppFlow.Types.Task" "libZSservicesZSamazonka-appflowZSamazonka-appflow" 'False) (C1 ('MetaCons "Task'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "taskProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap OperatorPropertiesKeys Text))) :*: S1 ('MetaSel ('Just "connectorOperator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConnectorOperator))) :*: (S1 ('MetaSel ('Just "destinationField") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "sourceFields") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "taskType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TaskType)))))

newTask Source #

Create a value of Task 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:taskProperties:Task', task_taskProperties - A map used to store task-related information. The execution service looks for particular information based on the TaskType.

$sel:connectorOperator:Task', task_connectorOperator - The operation to be performed on the provided source fields.

$sel:destinationField:Task', task_destinationField - A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.

$sel:sourceFields:Task', task_sourceFields - The source fields to which a particular task is applied.

$sel:taskType:Task', task_taskType - Specifies the particular task implementation that Amazon AppFlow performs.

task_taskProperties :: Lens' Task (Maybe (HashMap OperatorPropertiesKeys Text)) Source #

A map used to store task-related information. The execution service looks for particular information based on the TaskType.

task_connectorOperator :: Lens' Task (Maybe ConnectorOperator) Source #

The operation to be performed on the provided source fields.

task_destinationField :: Lens' Task (Maybe Text) Source #

A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.

task_sourceFields :: Lens' Task [Text] Source #

The source fields to which a particular task is applied.

task_taskType :: Lens' Task TaskType Source #

Specifies the particular task implementation that Amazon AppFlow performs.