amazonka-datapipeline-1.4.4: Amazon Data Pipeline SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.DataPipeline.ReportTaskProgress

Contents

Description

Task runners call ReportTaskProgress when assigned a task to acknowledge that it has the task. If the web service does not receive this acknowledgement within 2 minutes, it assigns the task in a subsequent PollForTask call. After this initial acknowledgement, the task runner only needs to report progress every 15 minutes to maintain its ownership of the task. You can change this reporting time from 15 minutes by specifying a reportProgressTimeout field in your pipeline.

If a task runner does not report its status after 5 minutes, AWS Data Pipeline assumes that the task runner is unable to process the task and reassigns the task in a subsequent response to PollForTask. Task runners should call ReportTaskProgress every 60 seconds.

Synopsis

Creating a Request

reportTaskProgress Source #

Creates a value of ReportTaskProgress with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ReportTaskProgress Source #

Contains the parameters for ReportTaskProgress.

See: reportTaskProgress smart constructor.

Instances

Eq ReportTaskProgress Source # 
Data ReportTaskProgress Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ReportTaskProgress -> c ReportTaskProgress #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ReportTaskProgress #

toConstr :: ReportTaskProgress -> Constr #

dataTypeOf :: ReportTaskProgress -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ReportTaskProgress) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ReportTaskProgress) #

gmapT :: (forall b. Data b => b -> b) -> ReportTaskProgress -> ReportTaskProgress #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ReportTaskProgress -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ReportTaskProgress -> r #

gmapQ :: (forall d. Data d => d -> u) -> ReportTaskProgress -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ReportTaskProgress -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ReportTaskProgress -> m ReportTaskProgress #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ReportTaskProgress -> m ReportTaskProgress #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ReportTaskProgress -> m ReportTaskProgress #

Read ReportTaskProgress Source # 
Show ReportTaskProgress Source # 
Generic ReportTaskProgress Source # 
Hashable ReportTaskProgress Source # 
NFData ReportTaskProgress Source # 

Methods

rnf :: ReportTaskProgress -> () #

AWSRequest ReportTaskProgress Source # 
ToPath ReportTaskProgress Source # 
ToHeaders ReportTaskProgress Source # 
ToQuery ReportTaskProgress Source # 
ToJSON ReportTaskProgress Source # 
type Rep ReportTaskProgress Source # 
type Rep ReportTaskProgress = D1 (MetaData "ReportTaskProgress" "Network.AWS.DataPipeline.ReportTaskProgress" "amazonka-datapipeline-1.4.4-9e3h85rN2zC7dIfmiWKUK4" False) (C1 (MetaCons "ReportTaskProgress'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rtpFields") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Field]))) (S1 (MetaSel (Just Symbol "_rtpTaskId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ReportTaskProgress Source # 

Request Lenses

rtpFields :: Lens' ReportTaskProgress [Field] Source #

Key-value pairs that define the properties of the ReportTaskProgressInput object.

rtpTaskId :: Lens' ReportTaskProgress Text Source #

The ID of the task assigned to the task runner. This value is provided in the response for PollForTask.

Destructuring the Response

reportTaskProgressResponse Source #

Creates a value of ReportTaskProgressResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ReportTaskProgressResponse Source #

Contains the output of ReportTaskProgress.

See: reportTaskProgressResponse smart constructor.

Instances

Eq ReportTaskProgressResponse Source # 
Data ReportTaskProgressResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ReportTaskProgressResponse -> c ReportTaskProgressResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ReportTaskProgressResponse #

toConstr :: ReportTaskProgressResponse -> Constr #

dataTypeOf :: ReportTaskProgressResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ReportTaskProgressResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ReportTaskProgressResponse) #

gmapT :: (forall b. Data b => b -> b) -> ReportTaskProgressResponse -> ReportTaskProgressResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ReportTaskProgressResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ReportTaskProgressResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ReportTaskProgressResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ReportTaskProgressResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ReportTaskProgressResponse -> m ReportTaskProgressResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ReportTaskProgressResponse -> m ReportTaskProgressResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ReportTaskProgressResponse -> m ReportTaskProgressResponse #

Read ReportTaskProgressResponse Source # 
Show ReportTaskProgressResponse Source # 
Generic ReportTaskProgressResponse Source # 
NFData ReportTaskProgressResponse Source # 
type Rep ReportTaskProgressResponse Source # 
type Rep ReportTaskProgressResponse = D1 (MetaData "ReportTaskProgressResponse" "Network.AWS.DataPipeline.ReportTaskProgress" "amazonka-datapipeline-1.4.4-9e3h85rN2zC7dIfmiWKUK4" False) (C1 (MetaCons "ReportTaskProgressResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rtprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_rtprsCanceled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool))))

Response Lenses

rtprsCanceled :: Lens' ReportTaskProgressResponse Bool Source #

If true, the calling task runner should cancel processing of the task. The task runner does not need to call SetTaskStatus for canceled tasks.