amazonka-ssm-1.6.0: Amazon Simple Systems Manager (SSM) 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.SSM.StopAutomationExecution

Contents

Description

Stop an Automation that is currently executing.

Synopsis

Creating a Request

stopAutomationExecution Source #

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

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

  • saeType - The stop request type. Valid types include the following: Cancel and Complete. The default type is Cancel.
  • saeAutomationExecutionId - The execution ID of the Automation to stop.

data StopAutomationExecution Source #

See: stopAutomationExecution smart constructor.

Instances

Eq StopAutomationExecution Source # 
Data StopAutomationExecution Source # 

Methods

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

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

toConstr :: StopAutomationExecution -> Constr #

dataTypeOf :: StopAutomationExecution -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: StopAutomationExecution -> () #

AWSRequest StopAutomationExecution Source # 
ToHeaders StopAutomationExecution Source # 
ToPath StopAutomationExecution Source # 
ToQuery StopAutomationExecution Source # 
type Rep StopAutomationExecution Source # 
type Rep StopAutomationExecution = D1 * (MetaData "StopAutomationExecution" "Network.AWS.SSM.StopAutomationExecution" "amazonka-ssm-1.6.0-FkXaKF9jjpY64HF15tLQlO" False) (C1 * (MetaCons "StopAutomationExecution'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_saeType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe StopType))) (S1 * (MetaSel (Just Symbol "_saeAutomationExecutionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs StopAutomationExecution Source # 

Request Lenses

saeType :: Lens' StopAutomationExecution (Maybe StopType) Source #

The stop request type. Valid types include the following: Cancel and Complete. The default type is Cancel.

saeAutomationExecutionId :: Lens' StopAutomationExecution Text Source #

The execution ID of the Automation to stop.

Destructuring the Response

stopAutomationExecutionResponse Source #

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

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

data StopAutomationExecutionResponse Source #

See: stopAutomationExecutionResponse smart constructor.

Instances

Eq StopAutomationExecutionResponse Source # 
Data StopAutomationExecutionResponse Source # 

Methods

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

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

toConstr :: StopAutomationExecutionResponse -> Constr #

dataTypeOf :: StopAutomationExecutionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StopAutomationExecutionResponse Source # 
Show StopAutomationExecutionResponse Source # 
Generic StopAutomationExecutionResponse Source # 
NFData StopAutomationExecutionResponse Source # 
type Rep StopAutomationExecutionResponse Source # 
type Rep StopAutomationExecutionResponse = D1 * (MetaData "StopAutomationExecutionResponse" "Network.AWS.SSM.StopAutomationExecution" "amazonka-ssm-1.6.0-FkXaKF9jjpY64HF15tLQlO" True) (C1 * (MetaCons "StopAutomationExecutionResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_saersResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses