amazonka-datapipeline-2.0: Amazon Data Pipeline 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.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

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

  • objects :: Maybe (HashMap Text PipelineObject)

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

  • pipelineId :: Maybe Text

    The ID of the pipeline that provided the task.

  • taskId :: Maybe Text

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

Instances

Instances details
FromJSON 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 #

Read TaskObject Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.TaskObject

Show TaskObject Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.TaskObject

NFData TaskObject Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.TaskObject

Methods

rnf :: TaskObject -> () #

Eq TaskObject Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.TaskObject

Hashable 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" "amazonka-datapipeline-2.0-1cySuAk2jmdDRpZSxMUuos" 'False) (C1 ('MetaCons "TaskObject'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "attemptId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "objects") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text PipelineObject)))) :*: (S1 ('MetaSel ('Just "pipelineId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "taskId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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: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:objects:TaskObject', taskObject_objects - Connection information for the location where the task runner will publish the output of the task.

$sel:pipelineId:TaskObject', taskObject_pipelineId - The ID of the pipeline that provided the task.

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

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_objects :: Lens' TaskObject (Maybe (HashMap Text PipelineObject)) Source #

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_taskId :: Lens' TaskObject (Maybe Text) Source #

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