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

Contents

Description

Stops an execution.

Synopsis

Creating a Request

stopExecution Source #

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

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

  • seError - An arbitrary error code that identifies the cause of the termination.
  • seCause - A more detailed explanation of the cause of the termination.
  • seExecutionARN - The Amazon Resource Name (ARN) of the execution to stop.

data StopExecution Source #

See: stopExecution smart constructor.

Instances

Eq StopExecution Source # 
Data StopExecution Source # 

Methods

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

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

toConstr :: StopExecution -> Constr #

dataTypeOf :: StopExecution -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StopExecution Source # 
Show StopExecution Source # 
Generic StopExecution Source # 

Associated Types

type Rep StopExecution :: * -> * #

Hashable StopExecution Source # 
ToJSON StopExecution Source # 
NFData StopExecution Source # 

Methods

rnf :: StopExecution -> () #

AWSRequest StopExecution Source # 
ToPath StopExecution Source # 
ToHeaders StopExecution Source # 
ToQuery StopExecution Source # 
type Rep StopExecution Source # 
type Rep StopExecution = D1 (MetaData "StopExecution" "Network.AWS.StepFunctions.StopExecution" "amazonka-stepfunctions-1.4.5-WXy4AxO2hM72RNEOsME5O" False) (C1 (MetaCons "StopExecution'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_seError") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_seCause") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_seExecutionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs StopExecution Source # 

Request Lenses

seError :: Lens' StopExecution (Maybe Text) Source #

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

seCause :: Lens' StopExecution (Maybe Text) Source #

A more detailed explanation of the cause of the termination.

seExecutionARN :: Lens' StopExecution Text Source #

The Amazon Resource Name (ARN) of the execution to stop.

Destructuring the Response

stopExecutionResponse Source #

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

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

data StopExecutionResponse Source #

See: stopExecutionResponse smart constructor.

Instances

Eq StopExecutionResponse Source # 
Data StopExecutionResponse Source # 

Methods

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

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

toConstr :: StopExecutionResponse -> Constr #

dataTypeOf :: StopExecutionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StopExecutionResponse Source # 
Show StopExecutionResponse Source # 
Generic StopExecutionResponse Source # 
NFData StopExecutionResponse Source # 

Methods

rnf :: StopExecutionResponse -> () #

type Rep StopExecutionResponse Source # 
type Rep StopExecutionResponse = D1 (MetaData "StopExecutionResponse" "Network.AWS.StepFunctions.StopExecution" "amazonka-stepfunctions-1.4.5-WXy4AxO2hM72RNEOsME5O" False) (C1 (MetaCons "StopExecutionResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_sersResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_sersStopDate") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 POSIX))))

Response Lenses

sersResponseStatus :: Lens' StopExecutionResponse Int Source #

  • - | The response status code.

sersStopDate :: Lens' StopExecutionResponse UTCTime Source #

The date the execution was stopped.