amazonka-stepfunctions-1.4.5: Amazon Step Functions 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.StepFunctions.SendTaskSuccess

Contents

Description

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

Synopsis

Creating a Request

sendTaskSuccess #

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 #

See: sendTaskSuccess smart constructor.

Instances

Eq SendTaskSuccess # 
Data SendTaskSuccess # 

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 # 
Show SendTaskSuccess # 
Generic SendTaskSuccess # 
Hashable SendTaskSuccess # 
ToJSON SendTaskSuccess # 
NFData SendTaskSuccess # 

Methods

rnf :: SendTaskSuccess -> () #

AWSRequest SendTaskSuccess # 
ToQuery SendTaskSuccess # 
ToPath SendTaskSuccess # 
ToHeaders SendTaskSuccess # 
type Rep SendTaskSuccess # 
type Rep SendTaskSuccess = D1 (MetaData "SendTaskSuccess" "Network.AWS.StepFunctions.SendTaskSuccess" "amazonka-stepfunctions-1.4.5-Jw6S5ByJLFY5UX1mivZUjA" 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 # 

Request Lenses

stsTaskToken :: Lens' SendTaskSuccess Text #

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 #

The JSON output of the task.

Destructuring the Response

sendTaskSuccessResponse #

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 #

See: sendTaskSuccessResponse smart constructor.

Instances

Eq SendTaskSuccessResponse # 
Data SendTaskSuccessResponse # 

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 # 
Show SendTaskSuccessResponse # 
Generic SendTaskSuccessResponse # 
NFData SendTaskSuccessResponse # 

Methods

rnf :: SendTaskSuccessResponse -> () #

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

Response Lenses

stsrsResponseStatus :: Lens' SendTaskSuccessResponse Int #

  • - | The response status code.