amazonka-stepfunctions-1.6.0: 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.StopExecution

Contents

Description

Stops an execution.

Synopsis

Creating a Request

stopExecution #

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 #

See: stopExecution smart constructor.

Instances
Eq StopExecution # 
Instance details

Defined in Network.AWS.StepFunctions.StopExecution

Data StopExecution # 
Instance details

Defined in Network.AWS.StepFunctions.StopExecution

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 # 
Instance details

Defined in Network.AWS.StepFunctions.StopExecution

Show StopExecution # 
Instance details

Defined in Network.AWS.StepFunctions.StopExecution

Generic StopExecution # 
Instance details

Defined in Network.AWS.StepFunctions.StopExecution

Associated Types

type Rep StopExecution :: * -> * #

Hashable StopExecution # 
Instance details

Defined in Network.AWS.StepFunctions.StopExecution

ToJSON StopExecution # 
Instance details

Defined in Network.AWS.StepFunctions.StopExecution

AWSRequest StopExecution # 
Instance details

Defined in Network.AWS.StepFunctions.StopExecution

Associated Types

type Rs StopExecution :: * #

ToHeaders StopExecution # 
Instance details

Defined in Network.AWS.StepFunctions.StopExecution

ToPath StopExecution # 
Instance details

Defined in Network.AWS.StepFunctions.StopExecution

ToQuery StopExecution # 
Instance details

Defined in Network.AWS.StepFunctions.StopExecution

NFData StopExecution # 
Instance details

Defined in Network.AWS.StepFunctions.StopExecution

Methods

rnf :: StopExecution -> () #

type Rep StopExecution # 
Instance details

Defined in Network.AWS.StepFunctions.StopExecution

type Rep StopExecution = D1 (MetaData "StopExecution" "Network.AWS.StepFunctions.StopExecution" "amazonka-stepfunctions-1.6.0-KxCz3NVPydyBSIOsnqAvPV" False) (C1 (MetaCons "StopExecution'" PrefixI True) (S1 (MetaSel (Just "_seError") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_seCause") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_seExecutionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs StopExecution # 
Instance details

Defined in Network.AWS.StepFunctions.StopExecution

Request Lenses

seError :: Lens' StopExecution (Maybe Text) #

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

seCause :: Lens' StopExecution (Maybe Text) #

A more detailed explanation of the cause of the termination.

seExecutionARN :: Lens' StopExecution Text #

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

Destructuring the Response

stopExecutionResponse #

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 #

See: stopExecutionResponse smart constructor.

Instances
Eq StopExecutionResponse # 
Instance details

Defined in Network.AWS.StepFunctions.StopExecution

Data StopExecutionResponse # 
Instance details

Defined in Network.AWS.StepFunctions.StopExecution

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 # 
Instance details

Defined in Network.AWS.StepFunctions.StopExecution

Show StopExecutionResponse # 
Instance details

Defined in Network.AWS.StepFunctions.StopExecution

Generic StopExecutionResponse # 
Instance details

Defined in Network.AWS.StepFunctions.StopExecution

Associated Types

type Rep StopExecutionResponse :: * -> * #

NFData StopExecutionResponse # 
Instance details

Defined in Network.AWS.StepFunctions.StopExecution

Methods

rnf :: StopExecutionResponse -> () #

type Rep StopExecutionResponse # 
Instance details

Defined in Network.AWS.StepFunctions.StopExecution

type Rep StopExecutionResponse = D1 (MetaData "StopExecutionResponse" "Network.AWS.StepFunctions.StopExecution" "amazonka-stepfunctions-1.6.0-KxCz3NVPydyBSIOsnqAvPV" False) (C1 (MetaCons "StopExecutionResponse'" PrefixI True) (S1 (MetaSel (Just "_sersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_sersStopDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 POSIX)))

Response Lenses

sersResponseStatus :: Lens' StopExecutionResponse Int #

  • - | The response status code.

sersStopDate :: Lens' StopExecutionResponse UTCTime #

The date the execution is stopped.