amazonka-stepfunctions-1.6.1: Amazon Step Functions SDK.

Copyright(c) 2013-2018 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.SendTaskFailure

Contents

Description

Used by workers to report that the task identified by the taskToken failed.

Synopsis

Creating a Request

sendTaskFailure Source #

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

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

  • stfError - An arbitrary error code that identifies the cause of the failure.
  • stfCause - A more detailed explanation of the cause of the failure.
  • stfTaskToken - The token that represents this task. Task tokens are generated by the service when the tasks are assigned to a worker (see GetActivityTask::taskToken).

data SendTaskFailure Source #

See: sendTaskFailure smart constructor.

Instances
Eq SendTaskFailure Source # 
Instance details

Defined in Network.AWS.StepFunctions.SendTaskFailure

Data SendTaskFailure Source # 
Instance details

Defined in Network.AWS.StepFunctions.SendTaskFailure

Methods

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

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

toConstr :: SendTaskFailure -> Constr #

dataTypeOf :: SendTaskFailure -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SendTaskFailure Source # 
Instance details

Defined in Network.AWS.StepFunctions.SendTaskFailure

Show SendTaskFailure Source # 
Instance details

Defined in Network.AWS.StepFunctions.SendTaskFailure

Generic SendTaskFailure Source # 
Instance details

Defined in Network.AWS.StepFunctions.SendTaskFailure

Associated Types

type Rep SendTaskFailure :: Type -> Type #

Hashable SendTaskFailure Source # 
Instance details

Defined in Network.AWS.StepFunctions.SendTaskFailure

ToJSON SendTaskFailure Source # 
Instance details

Defined in Network.AWS.StepFunctions.SendTaskFailure

AWSRequest SendTaskFailure Source # 
Instance details

Defined in Network.AWS.StepFunctions.SendTaskFailure

Associated Types

type Rs SendTaskFailure :: Type #

ToHeaders SendTaskFailure Source # 
Instance details

Defined in Network.AWS.StepFunctions.SendTaskFailure

ToPath SendTaskFailure Source # 
Instance details

Defined in Network.AWS.StepFunctions.SendTaskFailure

ToQuery SendTaskFailure Source # 
Instance details

Defined in Network.AWS.StepFunctions.SendTaskFailure

NFData SendTaskFailure Source # 
Instance details

Defined in Network.AWS.StepFunctions.SendTaskFailure

Methods

rnf :: SendTaskFailure -> () #

type Rep SendTaskFailure Source # 
Instance details

Defined in Network.AWS.StepFunctions.SendTaskFailure

type Rep SendTaskFailure = D1 (MetaData "SendTaskFailure" "Network.AWS.StepFunctions.SendTaskFailure" "amazonka-stepfunctions-1.6.1-2PTLha96w99Qwy2XlD0kq" False) (C1 (MetaCons "SendTaskFailure'" PrefixI True) (S1 (MetaSel (Just "_stfError") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_stfCause") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_stfTaskToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs SendTaskFailure Source # 
Instance details

Defined in Network.AWS.StepFunctions.SendTaskFailure

Request Lenses

stfError :: Lens' SendTaskFailure (Maybe Text) Source #

An arbitrary error code that identifies the cause of the failure.

stfCause :: Lens' SendTaskFailure (Maybe Text) Source #

A more detailed explanation of the cause of the failure.

stfTaskToken :: Lens' SendTaskFailure 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).

Destructuring the Response

sendTaskFailureResponse Source #

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

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

data SendTaskFailureResponse Source #

See: sendTaskFailureResponse smart constructor.

Instances
Eq SendTaskFailureResponse Source # 
Instance details

Defined in Network.AWS.StepFunctions.SendTaskFailure

Data SendTaskFailureResponse Source # 
Instance details

Defined in Network.AWS.StepFunctions.SendTaskFailure

Methods

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

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

toConstr :: SendTaskFailureResponse -> Constr #

dataTypeOf :: SendTaskFailureResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read SendTaskFailureResponse Source # 
Instance details

Defined in Network.AWS.StepFunctions.SendTaskFailure

Show SendTaskFailureResponse Source # 
Instance details

Defined in Network.AWS.StepFunctions.SendTaskFailure

Generic SendTaskFailureResponse Source # 
Instance details

Defined in Network.AWS.StepFunctions.SendTaskFailure

Associated Types

type Rep SendTaskFailureResponse :: Type -> Type #

NFData SendTaskFailureResponse Source # 
Instance details

Defined in Network.AWS.StepFunctions.SendTaskFailure

Methods

rnf :: SendTaskFailureResponse -> () #

type Rep SendTaskFailureResponse Source # 
Instance details

Defined in Network.AWS.StepFunctions.SendTaskFailure

type Rep SendTaskFailureResponse = D1 (MetaData "SendTaskFailureResponse" "Network.AWS.StepFunctions.SendTaskFailure" "amazonka-stepfunctions-1.6.1-2PTLha96w99Qwy2XlD0kq" True) (C1 (MetaCons "SendTaskFailureResponse'" PrefixI True) (S1 (MetaSel (Just "_stfrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses