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

Defined in Network.AWS.SSM.StopAutomationExecution

Data StopAutomationExecution # 
Instance details

Defined in Network.AWS.SSM.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 # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

Show StopAutomationExecution # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

Generic StopAutomationExecution # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

Associated Types

type Rep StopAutomationExecution :: * -> * #

Hashable StopAutomationExecution # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

ToJSON StopAutomationExecution # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

AWSRequest StopAutomationExecution # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

Associated Types

type Rs StopAutomationExecution :: * #

ToHeaders StopAutomationExecution # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

ToPath StopAutomationExecution # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

ToQuery StopAutomationExecution # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

NFData StopAutomationExecution # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

Methods

rnf :: StopAutomationExecution -> () #

type Rep StopAutomationExecution # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

type Rep StopAutomationExecution = D1 (MetaData "StopAutomationExecution" "Network.AWS.SSM.StopAutomationExecution" "amazonka-ssm-1.6.0-6ymLhp3p3ub3EVj8bPf5ZJ" False) (C1 (MetaCons "StopAutomationExecution'" PrefixI True) (S1 (MetaSel (Just "_saeType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe StopType)) :*: S1 (MetaSel (Just "_saeAutomationExecutionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs StopAutomationExecution # 
Instance details

Defined in Network.AWS.SSM.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 # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

Data StopAutomationExecutionResponse # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

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

Defined in Network.AWS.SSM.StopAutomationExecution

Show StopAutomationExecutionResponse # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

Generic StopAutomationExecutionResponse # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

Associated Types

type Rep StopAutomationExecutionResponse :: * -> * #

NFData StopAutomationExecutionResponse # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

type Rep StopAutomationExecutionResponse # 
Instance details

Defined in Network.AWS.SSM.StopAutomationExecution

type Rep StopAutomationExecutionResponse = D1 (MetaData "StopAutomationExecutionResponse" "Network.AWS.SSM.StopAutomationExecution" "amazonka-ssm-1.6.0-6ymLhp3p3ub3EVj8bPf5ZJ" True) (C1 (MetaCons "StopAutomationExecutionResponse'" PrefixI True) (S1 (MetaSel (Just "_saersResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses