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 #

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 #

See: stopAutomationExecution smart constructor.

Instances

Eq StopAutomationExecution # 
Data StopAutomationExecution # 

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

Methods

rnf :: StopAutomationExecution -> () #

AWSRequest StopAutomationExecution # 
ToHeaders StopAutomationExecution # 
ToPath StopAutomationExecution # 
ToQuery StopAutomationExecution # 
type Rep StopAutomationExecution # 
type Rep StopAutomationExecution = D1 * (MetaData "StopAutomationExecution" "Network.AWS.SSM.StopAutomationExecution" "amazonka-ssm-1.6.0-3Tt35jiaR0xLZVuK0jt4Pc" 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 # 

Request Lenses

saeType :: Lens' StopAutomationExecution (Maybe StopType) #

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

saeAutomationExecutionId :: Lens' StopAutomationExecution Text #

The execution ID of the Automation to stop.

Destructuring the Response

stopAutomationExecutionResponse #

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 #

See: stopAutomationExecutionResponse smart constructor.

Instances

Eq StopAutomationExecutionResponse # 
Data StopAutomationExecutionResponse # 

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 # 
Show StopAutomationExecutionResponse # 
Generic StopAutomationExecutionResponse # 
NFData StopAutomationExecutionResponse # 
type Rep StopAutomationExecutionResponse # 
type Rep StopAutomationExecutionResponse = D1 * (MetaData "StopAutomationExecutionResponse" "Network.AWS.SSM.StopAutomationExecution" "amazonka-ssm-1.6.0-3Tt35jiaR0xLZVuK0jt4Pc" True) (C1 * (MetaCons "StopAutomationExecutionResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_saersResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses