amazonka-stepfunctions-1.5.0: Amazon Step Functions SDK.

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

Network.AWS.StepFunctions.SendTaskSuccess

Contents

Description

Used by workers to report that the task identified by the taskToken completed successfully.

Synopsis

Creating a Request

sendTaskSuccess Source #

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

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

  • stsTaskToken - The token that represents this task. Task tokens are generated by the service when the tasks are assigned to a worker (see GetActivityTask::taskToken).
  • stsOutput - The JSON output of the task.

data SendTaskSuccess Source #

See: sendTaskSuccess smart constructor.

Instances

Eq SendTaskSuccess Source # 
Data SendTaskSuccess Source # 

Methods

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

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

toConstr :: SendTaskSuccess -> Constr #

dataTypeOf :: SendTaskSuccess -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SendTaskSuccess Source # 
Show SendTaskSuccess Source # 
Generic SendTaskSuccess Source # 
Hashable SendTaskSuccess Source # 
ToJSON SendTaskSuccess Source # 
NFData SendTaskSuccess Source # 

Methods

rnf :: SendTaskSuccess -> () #

AWSRequest SendTaskSuccess Source # 
ToQuery SendTaskSuccess Source # 
ToPath SendTaskSuccess Source # 
ToHeaders SendTaskSuccess Source # 
type Rep SendTaskSuccess Source # 
type Rep SendTaskSuccess = D1 (MetaData "SendTaskSuccess" "Network.AWS.StepFunctions.SendTaskSuccess" "amazonka-stepfunctions-1.5.0-72Mahrok8Tr5xIrxR72Cpm" False) (C1 (MetaCons "SendTaskSuccess'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_stsTaskToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_stsOutput") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs SendTaskSuccess Source # 

Request Lenses

stsTaskToken :: Lens' SendTaskSuccess Text Source #

The token that represents this task. Task tokens are generated by the service when the tasks are assigned to a worker (see GetActivityTask::taskToken).

stsOutput :: Lens' SendTaskSuccess Text Source #

The JSON output of the task.

Destructuring the Response

sendTaskSuccessResponse Source #

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

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

data SendTaskSuccessResponse Source #

See: sendTaskSuccessResponse smart constructor.

Instances

Eq SendTaskSuccessResponse Source # 
Data SendTaskSuccessResponse Source # 

Methods

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

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

toConstr :: SendTaskSuccessResponse -> Constr #

dataTypeOf :: SendTaskSuccessResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SendTaskSuccessResponse Source # 
Show SendTaskSuccessResponse Source # 
Generic SendTaskSuccessResponse Source # 
NFData SendTaskSuccessResponse Source # 

Methods

rnf :: SendTaskSuccessResponse -> () #

type Rep SendTaskSuccessResponse Source # 
type Rep SendTaskSuccessResponse = D1 (MetaData "SendTaskSuccessResponse" "Network.AWS.StepFunctions.SendTaskSuccess" "amazonka-stepfunctions-1.5.0-72Mahrok8Tr5xIrxR72Cpm" True) (C1 (MetaCons "SendTaskSuccessResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_stsrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses