libZSservicesZSamazonka-datapipelineZSamazonka-datapipeline
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.DataPipeline.Types.TaskObject

Description

 
Synopsis

Documentation

data TaskObject Source #

Contains information about a pipeline task that is assigned to a task runner.

See: newTaskObject smart constructor.

Constructors

TaskObject' 

Fields

  • pipelineId :: Maybe Text

    The ID of the pipeline that provided the task.

  • attemptId :: Maybe Text

    The ID of the pipeline task attempt object. AWS Data Pipeline uses this value to track how many times a task is attempted.

  • taskId :: Maybe Text

    An internal identifier for the task. This ID is passed to the SetTaskStatus and ReportTaskProgress actions.

  • objects :: Maybe (HashMap Text PipelineObject)

    Connection information for the location where the task runner will publish the output of the task.

Instances

Instances details
Eq TaskObject Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.TaskObject

Read TaskObject Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.TaskObject

Show TaskObject Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.TaskObject

Generic TaskObject Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.TaskObject

Associated Types

type Rep TaskObject :: Type -> Type #

NFData TaskObject Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.TaskObject

Methods

rnf :: TaskObject -> () #

Hashable TaskObject Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.TaskObject

FromJSON TaskObject Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.TaskObject

type Rep TaskObject Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.TaskObject

type Rep TaskObject = D1 ('MetaData "TaskObject" "Amazonka.DataPipeline.Types.TaskObject" "libZSservicesZSamazonka-datapipelineZSamazonka-datapipeline" 'False) (C1 ('MetaCons "TaskObject'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "pipelineId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "attemptId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "taskId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "objects") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text PipelineObject))))))

newTaskObject :: TaskObject Source #

Create a value of TaskObject 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:pipelineId:TaskObject', taskObject_pipelineId - The ID of the pipeline that provided the task.

$sel:attemptId:TaskObject', taskObject_attemptId - The ID of the pipeline task attempt object. AWS Data Pipeline uses this value to track how many times a task is attempted.

$sel:taskId:TaskObject', taskObject_taskId - An internal identifier for the task. This ID is passed to the SetTaskStatus and ReportTaskProgress actions.

$sel:objects:TaskObject', taskObject_objects - Connection information for the location where the task runner will publish the output of the task.

taskObject_pipelineId :: Lens' TaskObject (Maybe Text) Source #

The ID of the pipeline that provided the task.

taskObject_attemptId :: Lens' TaskObject (Maybe Text) Source #

The ID of the pipeline task attempt object. AWS Data Pipeline uses this value to track how many times a task is attempted.

taskObject_taskId :: Lens' TaskObject (Maybe Text) Source #

An internal identifier for the task. This ID is passed to the SetTaskStatus and ReportTaskProgress actions.

taskObject_objects :: Lens' TaskObject (Maybe (HashMap Text PipelineObject)) Source #

Connection information for the location where the task runner will publish the output of the task.